.landing-newsletter {
    min-height: 100vh;
}

.newsletter {
    position: relative;
    padding: 48px 32px 96px;
    overflow: hidden;
}

.newsletter::before {
    content: "";
    position: absolute;
    top: 72px;
    left: 50%;
    width: min(720px, 82vw);
    height: 320px;
    border-radius: 9999px;
    background: rgba(0, 107, 44, 0.08);
    filter: blur(56px);
    transform: translateX(-50%);
    pointer-events: none;
}

.newsletter_shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 28px;
    border: 1px solid rgba(0, 107, 44, 0.12);
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 243, 242, 0.94) 100%);
    box-shadow: 0 32px 72px -40px rgba(28, 27, 27, 0.28);
}

.newsletter_kicker {
    display: inline-flex;
    margin: 0 0 16px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 107, 44, 0.16);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.newsletter h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
    transition: transform 250ms ease, color 250ms ease;
}

.newsletter h1:hover {
    transform: translateY(-2px);
    color: #236b53;
}

.newsletter_intro {
    max-width: none;
    margin: 18px 0 0;
    padding: 18px 22px;
    border-left: 4px solid var(--primary);
    border-radius: 18px;
    background: rgba(0, 107, 44, 0.06);
    color: var(--on-surface);
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 650;
    line-height: 1.55;
    transition: transform 250ms ease, background 250ms ease, box-shadow 250ms ease, color 250ms ease;
}

.newsletter_intro:hover {
    transform: translateY(-2px);
    background: rgba(0, 107, 44, 0.1);
    box-shadow: 0 18px 40px -30px rgba(28, 27, 27, 0.22);
    color: var(--on-surface);
}

.newsletter_meeting {
    width: 100%;
    max-width: 920px;
    margin: 24px auto 0;
    padding: 18px 20px;
    border: 1px solid rgba(0, 107, 44, 0.12);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(0, 107, 44, 0.05));
    box-shadow: 0 18px 44px -34px rgba(28, 27, 27, 0.22);
    transform-origin: center center;
    transition: transform 280ms ease, border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

.newsletter_meeting:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 107, 44, 0.24);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(0, 107, 44, 0.1));
    box-shadow: 0 24px 52px -34px rgba(0, 107, 44, 0.28);
}

.newsletter_meeting-title {
    margin: 0 0 14px;
    color: var(--on-surface);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    transition: transform 250ms ease, color 250ms ease;
}

.newsletter_meeting:hover .newsletter_meeting-title {
    transform: translateY(-1px);
    color: #236b53;
}

.newsletter_meeting-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: meeting-step;
}

.newsletter_meeting-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    color: rgba(28, 27, 27, 0.78);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
    counter-increment: meeting-step;
    transition: transform 250ms ease, color 250ms ease;
}

.newsletter_meeting:hover .newsletter_meeting-list li {
    color: rgba(28, 27, 27, 0.86);
    transform: translateX(4px);
}

.newsletter_meeting-list li::before {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 107, 44, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary);
    content: counter(meeting-step);
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    transition: transform 250ms ease, border-color 250ms ease, background 250ms ease, color 250ms ease, box-shadow 250ms ease;
}

.newsletter_meeting:hover .newsletter_meeting-list li::before {
    border-color: rgba(0, 107, 44, 0.32);
    background: rgba(0, 107, 44, 0.12);
    color: #236b53;
    box-shadow: 0 12px 24px -18px rgba(0, 107, 44, 0.42);
}

.newsletter_meeting:hover .newsletter_meeting-list li:nth-child(1)::before {
    transform: scale(1.04);
}

.newsletter_meeting:hover .newsletter_meeting-list li:nth-child(2)::before {
    transform: scale(1.08);
}

.newsletter_meeting:hover .newsletter_meeting-list li:nth-child(3)::before {
    transform: scale(1.12);
}

.newsletter_fit-note {
    width: 100%;
    max-width: 920px;
    margin: 18px auto 0;
    padding: 16px 18px;
    border: 1px solid rgba(28, 27, 27, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #236b53;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.55;
    text-align: center;
    transition: transform 250ms ease, border-color 250ms ease, background 250ms ease, box-shadow 250ms ease, color 250ms ease;
}

.newsletter_fit-note:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 107, 44, 0.2);
    background: rgba(0, 107, 44, 0.08);
    box-shadow: 0 18px 40px -30px rgba(28, 27, 27, 0.22);
    color: var(--on-surface);
}

.newsletter_choice {
    width: 100%;
    max-width: 980px;
    margin: 30px auto 0;
    padding: 24px;
    border: 1px solid rgba(0, 107, 44, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(0, 107, 44, 0.04));
    box-shadow: 0 18px 44px -34px rgba(28, 27, 27, 0.18);
    transform-origin: center center;
    transition: transform 300ms ease, border-color 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.newsletter_choice:hover {
    transform: translateY(-3px) scale(1.015);
    border-color: rgba(0, 107, 44, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(0, 107, 44, 0.09));
    box-shadow: 0 26px 56px -34px rgba(0, 107, 44, 0.26);
}

.newsletter_choice:has(.newsletter_quick-option:hover),
.newsletter_choice:has(.newsletter_form:hover) {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
}

.newsletter_choice h2 {
    max-width: 720px;
    margin: 0 auto 18px;
    color: var(--on-surface);
    font-size: clamp(23px, 2.4vw, 32px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    text-align: center;
    transition: transform 260ms ease, color 260ms ease;
}

.newsletter_choice:hover h2 {
    transform: translateY(-2px);
    color: #236b53;
}

.newsletter_quick-option {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 16px 18px;
    border: 1px solid rgba(35, 107, 83, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    transition: transform 280ms ease, border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

.newsletter_quick-option:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 107, 44, 0.24);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(0, 107, 44, 0.1));
    box-shadow: 0 22px 48px -34px rgba(0, 107, 44, 0.28);
}

.newsletter_quick-option p {
    margin: 0;
}

.newsletter_quick-option .boton {
    display: inline-flex;
    width: auto;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 18px 28px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--editorial-shadow);
    transition: transform 300ms ease, opacity 300ms ease;
}

.newsletter_quick-option .boton:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.newsletter_quick-option .boton:active {
    transform: scale(0.985);
}

.newsletter_quick-option p:not(.boton) {
    color: rgba(28, 27, 27, 0.72);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.5;
    text-align: center;
}

.newsletter_choice .newsletter_form {
    margin-top: 22px;
}

.newsletter_choice .newsletter_form h3 {
    margin: 0;
    color: #236b53;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    text-align: center;
}

.newsletter_form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    max-width: 920px;
    margin-top: 28px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 22px;
    border: 1px solid rgba(0, 107, 44, 0.12);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 24px 56px -34px rgba(28, 27, 27, 0.24);
    transition: transform 280ms ease, border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

.newsletter_form:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 107, 44, 0.24);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(0, 107, 44, 0.08));
    box-shadow: 0 28px 60px -36px rgba(0, 107, 44, 0.3);
}

.newsletter_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field label {
    color: var(--on-surface);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.field input {
    width: 100%;
    min-height: 58px;
    padding: 16px 18px;
    border: 1px solid rgba(0, 107, 44, 0.14);
    border-radius: 18px;
    background: var(--surface-container-lowest);
    color: var(--on-surface);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.field input::placeholder {
    color: rgba(28, 27, 27, 0.42);
}

.field input:focus {
    outline: none;
    border-color: rgba(0, 107, 44, 0.42);
    box-shadow: 0 0 0 4px rgba(0, 107, 44, 0.08);
    background: #ffffff;
}

.newsletter_check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(28, 27, 27, 0.82);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.newsletter_check input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--primary);
    flex: 0 0 auto;
}

.newsletter_check a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(0, 107, 44, 0.32);
    text-underline-offset: 3px;
}

.newsletter_btn {
    width: auto;
    align-self: center;
    margin-top: 8px;
    padding: 18px 28px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    box-shadow: var(--editorial-shadow);
    transition: transform 300ms ease, opacity 300ms ease;
}

.newsletter_btn:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.newsletter_btn:active {
    transform: scale(0.985);
}

.newsletter_btn:disabled {
    cursor: wait;
    opacity: 0.68;
    transform: none;
}

.contact-modal-open {
    overflow: hidden;
}

.contact-form-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.contact-form-modal--visible {
    display: flex;
}

.contact-form-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 27, 27, 0.58);
    backdrop-filter: blur(4px);
}

.contact-form-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 30px 28px 28px;
    border: 1px solid rgba(0, 107, 44, 0.18);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 34px 90px -42px rgba(28, 27, 27, 0.58);
    text-align: center;
}

.contact-form-modal__dialog:focus {
    outline: 3px solid rgba(0, 107, 44, 0.18);
    outline-offset: 4px;
}

.contact-form-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(28, 27, 27, 0.12);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--on-surface);
    font-size: 26px;
    line-height: 1;
}

.contact-form-modal__close:hover,
.contact-form-modal__button:hover {
    transform: translateY(-1px);
}

.contact-form-modal__kicker {
    margin: 0 0 10px;
    color: #236b53;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-form-modal__title {
    margin: 0;
    color: var(--on-surface);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.1;
}

.contact-form-modal__message {
    margin: 16px 0 0;
    color: rgba(28, 27, 27, 0.78);
    font-size: 17px;
    font-weight: 650;
    line-height: 1.55;
}

.contact-form-modal__button {
    margin-top: 24px;
    padding: 14px 22px;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 800;
    box-shadow: var(--editorial-shadow);
    transition: transform 250ms ease, opacity 250ms ease;
}

.contact-form-modal--error .contact-form-modal__dialog {
    border-color: rgba(163, 46, 46, 0.24);
}

.contact-form-modal--error .contact-form-modal__kicker {
    color: #8c2f2f;
}

.contact-form-modal--error .contact-form-modal__button {
    background: #8c2f2f;
}

.newsletter_footnote {
    margin: -4px 0 0;
    color: rgba(28, 27, 27, 0.62);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}

.newsletter-baja .aviso {
    max-width: 760px;
    margin: 40px auto 48px;
    padding: 56px 32px;
    border: 1px solid rgba(0, 107, 44, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 36px -30px rgba(28, 27, 27, 0.18);
}

.newsletter-baja .aviso h2,
.newsletter-baja .aviso p {
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-baja .aviso h2 {
    margin-top: 0;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 107, 44, 0.14);
    color: var(--on-surface);
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.newsletter-baja .aviso p {
    margin-top: 0;
    margin-bottom: 14px;
    color: rgba(28, 27, 27, 0.76);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}

.newsletter-baja .aviso .btn {
    display: block;
    width: fit-content;
    margin: 28px auto 24px;
}

@media (max-width: 1023px) {
    .newsletter {
        padding-top: 40px;
        padding-bottom: 80px;
    }

    .newsletter_shell {
        padding: 22px 24px;
    }

    .newsletter_form {
        padding: 18px 20px;
    }
}

@media (max-width: 767px) {
    .newsletter {
        padding: 28px 24px 64px;
    }

    .newsletter_shell {
        padding: 18px 16px;
        border-radius: 28px;
    }

    .newsletter_intro {
        margin-top: 16px;
        padding: 16px 18px;
    }

    .newsletter_meeting {
        margin-top: 20px;
        padding: 16px 14px;
    }

    .newsletter_meeting-list li {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 10px;
    }

    .newsletter_meeting-list li::before {
        width: 30px;
        height: 30px;
    }

    .newsletter_fit-note {
        margin-top: 16px;
        padding: 14px;
        text-align: left;
    }

    .newsletter_choice {
        margin-top: 24px;
        padding: 18px 14px;
    }

    .newsletter_choice h2 {
        margin-bottom: 16px;
        text-align: left;
    }

    .newsletter_quick-option {
        gap: 12px;
        padding: 14px;
    }

    .newsletter_quick-option .boton {
        width: 100%;
    }

    .newsletter_choice .newsletter_form {
        margin-top: 18px;
    }

    .newsletter_choice .newsletter_form h3 {
        text-align: left;
    }

    .newsletter_form {
        gap: 18px;
        margin-top: 24px;
        padding: 16px 14px;
        border-radius: 22px;
    }

    .newsletter_grid {
        grid-template-columns: 1fr;
    }

    .field input {
        min-height: 54px;
        padding: 14px 16px;
    }

    .newsletter_btn {
        padding: 16px 24px;
        font-size: 17px;
    }

    .newsletter-baja .aviso {
        margin: 24px auto 32px;
        padding: 32px 20px;
        border-radius: 18px;
    }

    .newsletter-baja .aviso h2 {
        margin-bottom: 16px;
        font-size: 26px;
    }

    .newsletter-baja .aviso .btn {
        margin-top: 24px;
        margin-bottom: 20px;
    }
}
