.page-recuperar {
    background: #f7f5f2;
    color: var(--color-negro, #111111);
}

.recuperar-main {
    overflow: hidden;
}

/* =========================================================
   HERO
   ========================================================= */

.recuperar-hero {
    padding: 32px 0 18px;
    background:
        linear-gradient(180deg, rgba(255, 209, 0, 0.10) 0%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(135deg, rgba(179, 32, 37, 0.04) 0%, rgba(255, 209, 0, 0.08) 100%);
}

.recuperar-hero__container {
    width: min(100% - 32px, 1120px);
    margin: 0 auto;
}

.recuperar-hero__content {
    max-width: 720px;
}

.recuperar-hero__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(179, 32, 37, 0.08);
    color: var(--color-rojo-principal, #b32025);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.recuperar-hero__title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 6vw, 3.4rem);
    line-height: 1.02;
    font-weight: 800;
    color: var(--color-negro, #111111);
}

.recuperar-hero__text {
    margin: 0;
    max-width: 640px;
    font-size: 1.04rem;
    line-height: 1.7;
    color: rgba(17, 17, 17, 0.82);
}

.recuperar-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.recuperar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(17, 17, 17, 0.85);
}

/* =========================================================
   FORMULARIO
   ========================================================= */

.recuperar-form-section {
    padding: 24px 0 24px;
}

.recuperar-form-section__container {
    width: min(100% - 32px, 860px);
    margin: 0 auto;
}

.recuperar-form-section__intro {
    text-align: center;
    margin-bottom: 18px;
}

.recuperar-form-section__tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 209, 0, 0.18);
    color: #7a5600;
    font-size: 0.9rem;
    font-weight: 700;
}

.recuperar-form-section__title {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.08;
    font-weight: 800;
    color: var(--color-negro, #111111);
}

.recuperar-form-section__text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(17, 17, 17, 0.76);
}

.recuperar-form-wrapper {
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.05);
}

.recuperar-form {
    display: grid;
    gap: 16px;
}

.recuperar-form[hidden] {
    display: none !important;
}

.recuperar-form__group {
    display: grid;
    gap: 8px;
}

.recuperar-form__label {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--color-negro, #111111);
}

.recuperar-form__input {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    background: #ffffff;
    color: var(--color-negro, #111111);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.recuperar-form__input::placeholder {
    color: rgba(17, 17, 17, 0.45);
}

.recuperar-form__input:focus {
    outline: none;
    border-color: var(--color-rojo-principal, #b32025);
    box-shadow: 0 0 0 4px rgba(179, 32, 37, 0.10);
}

.recuperar-form__privacy {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.03);
}

.recuperar-form__privacy p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.72);
}

.recuperar-form__button {
    width: 100%;
    min-height: 58px;
    border: none;
    border-radius: 18px;
    padding: 14px 18px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    background: var(--color-rojo-principal, #b32025);
    box-shadow: 0 14px 30px rgba(179, 32, 37, 0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recuperar-form__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(179, 32, 37, 0.25);
}

.recuperar-form__button:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.recuperar-form__note {
    margin: 0;
    text-align: center;
    font-size: 0.94rem;
    line-height: 1.55;
    color: rgba(17, 17, 17, 0.72);
}

.recuperar-form__error[hidden] {
    display: none !important;
}

.recuperar-form__error {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(179, 32, 37, 0.08);
    border: 1px solid rgba(179, 32, 37, 0.18);
    color: var(--color-rojo-principal, #b32025);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 600;
}

/* =========================================================
   ÉXITO
   ========================================================= */

.recuperar-form-success[hidden] {
    display: none !important;
}

.recuperar-form-success {
    text-align: center;
    padding: 10px 4px 4px;
}

.recuperar-form-success__icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.recuperar-form-success__title {
    margin: 0 0 12px;
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--color-negro, #111111);
}

.recuperar-form-success__text {
    margin: 0 auto 20px;
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.72;
    color: rgba(17, 17, 17, 0.76);
}

.recuperar-form-success__actions {
    display: flex;
    justify-content: center;
}

.recuperar-form-success__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    color: var(--color-rojo-principal, #b32025);
    background: rgba(179, 32, 37, 0.08);
}

/* =========================================================
   CIERRE
   ========================================================= */

.recuperar-cierre {
    padding: 10px 0 30px;
}

.recuperar-cierre__container {
    width: min(100% - 32px, 820px);
    margin: 0 auto;
    padding: 24px 22px;
    text-align: center;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 209, 0, 0.08) 0%, rgba(179, 32, 37, 0.04) 100%);
    border: 1px solid rgba(255, 209, 0, 0.22);
}

.recuperar-cierre__title {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    line-height: 1.12;
    font-weight: 800;
    color: var(--color-negro, #111111);
}

.recuperar-cierre__text {
    margin: 0 auto;
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(17, 17, 17, 0.78);
}

.g-recaptcha {
    display: inline-block;
    transform-origin: left top;
}

@media (max-width: 768px) {
    .recuperar-hero__container,
    .recuperar-form-section__container,
    .recuperar-cierre__container {
        width: min(100% - 24px, 100%);
    }

    .recuperar-hero {
        padding: 26px 0 14px;
    }

    .recuperar-form-wrapper {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .recuperar-cierre__container {
        padding: 22px 18px;
    }
}

@media (max-width: 480px) {
    .recuperar-badge {
        font-size: 0.84rem;
        min-height: 34px;
        padding: 7px 12px;
    }

    .g-recaptcha {
        transform: scale(0.92);
    }
}