/* =========================================================
   PÁGINA DE REGISTRO - TAMALES GOGI
   ========================================================= */

.page-registro {
    background: #f7f5f2;
    color: var(--color-negro, #111111);
}

.registro-main {
    overflow: hidden;
}

/* =========================================================
   HEADER
   ========================================================= */

.registro-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.registro-header__container {
    width: min(100% - 32px, 1120px);
    margin: 0 auto;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.registro-header__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.registro-header__logo {
    width: 124px;
    max-width: 100%;
    height: auto;
    display: block;
}

.registro-header__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--color-rojo-principal, #b32025);
    background: rgba(179, 32, 37, 0.08);
    transition: 0.25s ease;
}

.registro-header__back:hover {
    background: rgba(179, 32, 37, 0.14);
}

/* =========================================================
   HERO
   ========================================================= */

.registro-hero {
    position: relative;
    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%);
}

.registro-hero__container {
    width: min(100% - 32px, 1120px);
    margin: 0 auto;
}

.registro-hero__content {
    max-width: 720px;
}

.registro-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;
}

.registro-hero__title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 6vw, 3.7rem);
    line-height: 1.02;
    font-weight: 800;
    color: var(--color-negro, #111111);
}

.registro-hero__text {
    margin: 0;
    max-width: 640px;
    font-size: 1.04rem;
    line-height: 1.7;
    color: rgba(17, 17, 17, 0.82);
}

.registro-hero__highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 15px 18px;
    border-radius: 18px;
    background: #fff8df;
    border: 1px solid rgba(255, 209, 0, 0.42);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.registro-hero__highlight p {
    margin: 0;
    font-weight: 700;
    color: var(--color-negro, #111111);
}

.registro-hero__gift {
    font-size: 1.2rem;
    line-height: 1;
}

.registro-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.registro-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);
}

.registro-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    min-height: 56px;
    padding: 14px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    background: var(--color-rojo-principal, #b32025);
    box-shadow: 0 12px 30px rgba(179, 32, 37, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.registro-hero__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(179, 32, 37, 0.26);
}

/* =========================================================
   BENEFICIOS
   ========================================================= */

.registro-beneficios {
    padding: 6px 0 10px;
}

.registro-beneficios__container {
    width: min(100% - 32px, 1120px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.registro-card {
    padding: 22px 20px;
    border-radius: 20px;
    background: #fbfbfb;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
}

.registro-card__title {
    margin: 0 0 10px;
    font-size: 1.06rem;
    line-height: 1.3;
    font-weight: 800;
    color: var(--color-negro, #111111);
}

.registro-card__text {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.65;
    color: rgba(17, 17, 17, 0.75);
}

/* =========================================================
   FORMULARIO
   ========================================================= */

.registro-form-section {
    padding: 24px 0 24px;
}

.registro-form-section__container {
    width: min(100% - 32px, 860px);
    margin: 0 auto;
}

.registro-form-section__intro {
    text-align: center;
    margin-bottom: 18px;
}

.registro-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;
}

.registro-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);
}

.registro-form-section__text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(17, 17, 17, 0.76);
}

.registro-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);
}

.registro-form {
    display: grid;
    gap: 16px;
}

.registro-form[hidden] {
    display: none !important;
}

.registro-form__group {
    display: grid;
    gap: 8px;
}

.registro-form__label {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--color-negro, #111111);
}

.registro-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;
}

.registro-form__input::placeholder {
    color: rgba(17, 17, 17, 0.45);
}

.registro-form__input:focus {
    outline: none;
    border-color: var(--color-rojo-principal, #b32025);
    box-shadow: 0 0 0 4px rgba(179, 32, 37, 0.10);
}

.registro-form__privacy {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.03);
}

.registro-form__privacy p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.72);
}

.registro-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;
}

.registro-form__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(179, 32, 37, 0.25);
}

.registro-form__note {
    margin: 0;
    text-align: center;
    font-size: 0.94rem;
    line-height: 1.55;
    color: rgba(17, 17, 17, 0.72);
}

/* =========================================================
   BLOQUE DE ÉXITO
   ========================================================= */

.registro-form-success[hidden] {
    display: none !important;
}

.registro-form-success {
    text-align: center;
    padding: 10px 4px 4px;
}

.registro-form-success__icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.registro-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);
}

.registro-form-success__text {
    margin: 0 auto 18px;
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.72;
    color: rgba(17, 17, 17, 0.76);
}

.registro-form-success__code-box {
    max-width: 420px;
    margin: 0 auto 16px;
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 209, 0, 0.15) 0%, rgba(179, 32, 37, 0.05) 100%);
    border: 1px solid rgba(179, 32, 37, 0.10);
}

.registro-form-success__code-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(17, 17, 17, 0.66);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.registro-form-success__code {
    display: block;
    font-size: clamp(1.35rem, 4vw, 1.8rem);
    line-height: 1.1;
    font-weight: 900;
    color: var(--color-rojo-principal, #b32025);
    letter-spacing: 0.04em;
}

.registro-form-success__micro {
    margin: 0 auto 20px;
    max-width: 620px;
    font-size: 0.96rem;
    line-height: 1.7;
    color: rgba(17, 17, 17, 0.72);
}

.registro-form-success__actions {
    display: flex;
    justify-content: center;
}

.registro-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
   ========================================================= */

.registro-cierre {
    padding: 10px 0 30px;
}

.registro-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);
}

.registro-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);
}

.registro-cierre__text {
    margin: 0 auto;
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(17, 17, 17, 0.78);
}

/* =========================================================
   FOOTER DE REGISTRO
   ========================================================= */

.registro-footer {
    padding: 0 0 28px;
}

.registro-footer__container {
    width: min(100% - 32px, 820px);
    margin: 0 auto;
    padding: 18px 18px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.registro-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.registro-footer__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.registro-footer__text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.registro-footer__name {
    font-size: 0.98rem;
    line-height: 1.2;
    color: var(--color-negro, #111111);
}

.registro-footer__tagline {
    font-size: 0.88rem;
    line-height: 1.2;
    color: rgba(17, 17, 17, 0.65);
}

.registro-footer__copy {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(17, 17, 17, 0.68);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .registro-beneficios__container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .registro-header__container,
    .registro-hero__container,
    .registro-beneficios__container,
    .registro-form-section__container,
    .registro-cierre__container,
    .registro-footer__container {
        width: min(100% - 24px, 100%);
    }

    .registro-header__container {
        min-height: 68px;
    }

    .registro-header__logo {
        width: 108px;
    }

    .registro-header__back {
        padding: 9px 12px;
        font-size: 0.84rem;
    }

    .registro-hero {
        padding: 26px 0 14px;
    }

    .registro-hero__text {
        font-size: 1rem;
        line-height: 1.65;
    }

    .registro-hero__highlight {
        align-items: flex-start;
    }

    .registro-beneficios__container {
        gap: 12px;
    }

    .registro-form-section {
        padding: 20px 0 22px;
    }

    .registro-form-wrapper {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .registro-cierre {
        padding-bottom: 22px;
    }

    .registro-cierre__container {
        padding: 22px 18px;
    }

    .registro-footer__container {
        padding: 16px 4px 0;
    }
}

@media (max-width: 480px) {
    .registro-header__container {
        gap: 10px;
    }

    .registro-header__logo {
        width: 98px;
    }

    .registro-header__back {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .registro-hero__badges {
        gap: 8px;
    }

    .registro-badge {
        font-size: 0.84rem;
        min-height: 34px;
        padding: 7px 12px;
    }

    .registro-hero__cta,
    .registro-form__button {
        width: 100%;
    }

    .registro-card {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .registro-form-success__code-box {
        padding: 15px 14px;
    }
}
/* =========================================================
   FOOTER CORREGIDO (ALINEADO)
   ========================================================= */

.registro-footer {
    padding: 16px 0 28px;
}

.registro-footer__container {
    width: min(100% - 32px, 820px);
    margin: 0 auto;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 18px;
}

.registro-footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* LADOS (IMÁGENES) */

.registro-footer__side {
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.registro-footer__side img {
    width: 100%;
    height: auto;
    display: block;
}

/* CENTRO */

.registro-footer__center {
    text-align: center;
    flex: 1;
}

.registro-footer__name {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-negro, #111111);
}

.registro-footer__tagline {
    display: block;
    font-size: 0.9rem;
    margin-top: 2px;
    color: rgba(17, 17, 17, 0.65);
}

.registro-footer__copy {
    margin-top: 6px;
    font-size: 0.85rem;
    color: rgba(17, 17, 17, 0.6);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 480px) {

    .registro-footer__side {
        width: 48px;
    }

    .registro-footer__name {
        font-size: 0.95rem;
    }

    .registro-footer__copy {
        font-size: 0.8rem;
    }
}
.registro-form__error[hidden] {
    display: none !important;
}

.registro-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;
}

.registro-form__button:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.registro-form__select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
.g-recaptcha {
    display: inline-block;
    transform-origin: left top;
}

@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.92);
    }
}
.registro-form__recover {
    margin-top: 6px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.registro-form__recover-text {
    margin: 0 0 8px;
    font-size: 0.94rem;
    line-height: 1.5;
    color: rgba(17, 17, 17, 0.7);
}

.registro-form__recover-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-rojo-principal, #b32025);
    background: rgba(179, 32, 37, 0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.registro-form__recover-link:hover {
    background: rgba(179, 32, 37, 0.12);
    transform: translateY(-1px);
}