@font-face {
    font-family: "Catamaran";
    src: url("../fonts/Catamaran-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Catamaran";
    src: url("../fonts/Catamaran-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Catamaran";
    src: url("../fonts/Catamaran-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

/* =========================================================
   01 VARIABLES
========================================================= */

:root {
    --blue: #005cff;
    --blue-2: #1682ff;
    --navy: #061b58;
    --text: #142b66;
    --muted: #5c6b92;
    --line: #d5e1f3;
    --panel: #ffffff;
    --danger: #ec1c24;
    --brick-soft: #f5f8ff;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shadow-card: 0 38px 95px rgba(5, 36, 100, 0.15);
    --shadow-gift: 0 22px 30px rgba(0, 45, 120, 0.15);
    --font-main: "Catamaran", Arial, sans-serif;
}

/* =========================================================
   02 RESET / BASE
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
}

html {
    background: linear-gradient(135deg, #f8fbff 0%, #e9f4ff 48%, #d8eaff 100%);
}

body {
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font-main);
    background: var(--brick-soft);
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

main,
section,
div,
article,
header,
footer {
    min-width: 0;
}

button,
input,
a {
    font-family: var(--font-main);
}

a {
    text-decoration: none;
}

/* =========================================================
   03 HEADER
========================================================= */

.topbar {
    height: 76px;
    padding: 0 clamp(24px, 4vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    max-width: min(185px, 46vw);
    max-height: 42px;
    height: auto;
    display: block;
    object-fit: contain;
}

.help {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

    .help span {
        width: 25px;
        height: 25px;
        display: grid;
        place-items: center;
        flex: 0 0 auto;
        border: 3px solid var(--blue);
        border-radius: 50%;
        color: var(--blue);
        font-size: 14px;
        line-height: 1;
    }

/* =========================================================
   04 HERO LAYOUT
========================================================= */

main {
    width: 100%;
}

.hero-section {
    width: min(100%, 1440px);
    min-height: auto;
    margin: 0 auto;
    padding: 26px clamp(36px, 6vw, 92px) 64px;
    display: grid;
    grid-template-columns: 640px 500px;
    justify-content: center;
    align-items: start;
    column-gap: 84px;
}

.hero-copy {
    width: 640px;
    max-width: 640px;
    min-width: 0;
    justify-self: start;
    align-self: start;
    display: flex;
    flex-direction: column;
}

    .hero-copy h1 {
        margin: 0;
        color: var(--navy);
        font-size: clamp(56px, 5.2vw, 68px);
        font-weight: 800;
        line-height: .94;
        letter-spacing: -1.8px;
    }

        .hero-copy h1 span {
            color: var(--blue);
        }

.accent-line {
    width: 82px;
    height: 7px;
    margin: 22px 0 20px;
    display: block;
    background: var(--blue);
    border-radius: 999px;
}

.hero-copy > p {
    max-width: 560px;
    margin: 0;
    color: #183469;
    font-size: clamp(18px, 1.35vw, 20px);
    font-weight: 500;
    line-height: 1.4;
}

/* =========================================================
   05 REGALO HERO
========================================================= */

.gift-scene {
    width: 620px;
    max-width: 620px;
    margin: 10px 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gift-scene img {
        width: 340px;
        max-width: 100%;
        max-height: 270px;
        height: auto;
        margin-top: 0;
        display: block;
        object-fit: contain;
        object-position: center bottom;
        transform: none;
        filter: drop-shadow(var(--shadow-gift));
    }

/* =========================================================
   06 BENEFICIOS HERO
========================================================= */

.benefits {
    width: 620px;
    max-width: 620px;
    margin: 0 0 0 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: start;
}

    .benefits article {
        min-height: 72px;
        padding: 2px 14px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        border-right: 1px solid rgba(6, 27, 88, 0.17);
    }

        .benefits article:first-child {
            padding-left: 0;
        }

        .benefits article:last-child {
            border-right: 0;
        }

    .benefits img {
        width: 34px;
        height: 34px;
        max-width: 34px;
        margin-bottom: 8px;
        display: block;
        object-fit: contain;
    }

    .benefits p {
        margin: 0;
        color: var(--navy);
        font-size: 14px;
        font-weight: 700;
        line-height: 1.22;
    }

/* =========================================================
   07 VOUCHER CARD / LOGIN CARD
========================================================= */

.voucher-card {
    width: 100%;
    max-width: 460px;
    min-height: 520px;
    height: clamp(520px, calc(100svh - 150px), 560px);
    max-height: 560px;
    margin-top: 10px;
    justify-self: center;
    padding: 24px 34px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(178, 197, 228, 0.88);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 35px 80px rgba(8,35,90,.12), 0 8px 18px rgba(8,35,90,.06);
    backdrop-filter: blur(14px);
}

.voucher-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    display: block;
    object-fit: contain;
    flex: 0 0 auto;
}

.server-error {
    display: block;
    margin: 0 0 10px;
    color: var(--danger);
    text-align: center;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.25;
}

.voucher-card-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.voucher-card-view {
    display: none;
    min-height: 0;
    flex-direction: column;
}

    .voucher-card-view.activo {
        display: flex;
        flex: 1 1 auto;
    }

    .voucher-card h2,
    .voucher-card-view h2 {
        min-height: auto;
        max-width: 430px;
        margin: 0 auto 6px;
        color: var(--navy);
        text-align: center;
        font-size: clamp(21px, 1.65vw, 26px);
        font-weight: 800;
        line-height: 1.08;
        letter-spacing: -0.4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.voucher-card-subtitle {
    min-height: auto;
    margin: 0 0 18px;
    color: var(--text);
    text-align: center;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.3;
}

.voucher-card label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 800;
}

.field {
    height: 52px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #c5d4ec;
    border-radius: var(--radius-sm);
    background: #ffffff;
}

    .field i {
        color: var(--blue);
        font-size: 20px;
        flex: 0 0 auto;
    }

    .field input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        color: var(--navy);
        background: transparent;
        font-size: 18px;
        font-weight: 700;
    }

        .field input::placeholder {
            color: #a5b4d0;
            font-weight: 700;
        }

    .field:focus-within {
        border-color: var(--blue);
        box-shadow: 0 0 0 4px rgba(0, 92, 255, 0.10);
    }

.input-invalid {
    color: var(--danger) !important;
}

.input-invalid,
.field:has(.input-invalid) {
    border-color: var(--danger) !important;
}

.card-error {
    min-height: 18px;
    margin: 6px 0 4px;
    color: var(--danger);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.btn {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: var(--radius-sm);
    font-size: 19px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

    .btn.primary {
        width: 100%;
        margin-top: 10px;
        border: 0;
        color: #fff;
        min-height: 52px;
        height: 52px;
        font-size: 18px;
        font-weight: 700;
        border-radius: 16px;
        background: linear-gradient(135deg,#1682ff 0%,#0053ee 100%);
        box-shadow: 0 18px 36px rgba(0,92,255,.20);
    }

        .btn.primary:hover {
            background: linear-gradient(135deg, #0d74ef 0%, #0047cf 100%);
        }

    .btn.secondary {
        width: 100%;
        min-height: 52px;
        height: 52px;
        border: 1px solid #c5d4ec;
        color: var(--navy);
        background: rgba(255, 255, 255, 0.72);
    }

        .btn.secondary:hover {
            background: #f7faff;
        }

.divider {
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

    .divider span {
        flex: 1;
        height: 1px;
        background: #cfdcf0;
    }

    .divider small {
        width: 32px;
        height: 32px;
        display: grid;
        place-items: center;
        color: var(--navy);
        background: #eff5ff;
        border-radius: 50%;
        font-size: 14px;
        font-weight: 800;
    }

.password-field {
    padding-right: 12px;
}

.password-input {
    padding-right: 8px;
}

.password-toggle {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #6c7aa5;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

    .password-toggle:hover {
        color: var(--blue);
    }

.forgot-password {
    margin: 0 0 12px;
    text-align: right;
}

    .forgot-password a,
    .back-voucher {
        color: var(--blue);
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
    }

        .forgot-password a:hover,
        .back-voucher:hover {
            text-decoration: underline;
        }

.back-voucher {
    width: 100%;
    margin-top: 16px;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: center;
}

.brick-back-voucher {
    width: 100%;
    margin: 16px 0 0;
    border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .brick-back-voucher:hover {
        text-decoration: underline;
    }

    .brick-back-voucher i {
        font-size: 15px;
    }

.card-footer {
    margin-top: auto;
    padding-top: 8px;
}

    .card-footer .legal {
        margin: 18px 0 0;
        padding: 0;
    }

.legal {
    margin: 22px 0 8px;
    padding-top: 0;
    color: #33456f;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    flex: 0 0 auto;
}

    .legal a {
        color: var(--blue);
        font-weight: 400;
        text-decoration: none;
    }

        .legal a:hover {
            text-decoration: underline;
        }

/* =========================================================
   08 LOGIN ACCOUNT VIEW
========================================================= */

#brickLoginCuenta {
    justify-content: flex-start;
}

    #brickLoginCuenta h2 {
        width: 100%;
        max-width: 100%;
        margin: 8px auto 18px;
        text-align: center;
        justify-content: center;
        font-size: clamp(24px,2vw,28px);
        font-weight: 700;
        line-height: 1.12;
    }

    #brickLoginCuenta .voucher-card-subtitle {
        margin-bottom: 16px;
    }

    #brickLoginCuenta label {
        margin-bottom: 7px;
        font-size: 15px;
    }

    #brickLoginCuenta .field {
        height: 48px;
        min-height: 48px;
    }

        #brickLoginCuenta .field input {
            font-size: 16px;
        }

    #brickLoginCuenta .card-error {
        min-height: 13px;
        margin: 5px 0 8px;
    }

    #brickLoginCuenta .forgot-password {
        margin: 0 0 12px;
        text-align: right;
    }

    #brickLoginCuenta .btn.primary {
        min-height: 50px;
        height: 50px;
        margin-top: 0;
        margin-bottom: 12px;
        font-size: 17px;
    }

/* =========================================================
   09 SECCION BLANCA / PASOS - PREMIUM
========================================================= */

.content-section {
    background: #ffffff;
    padding-bottom: 70px;
}

.steps {
    padding: 56px clamp(24px, 5vw, 80px) 20px;
    background: transparent;
}

    .steps h2 {
        margin: 0 0 34px;
        color: var(--navy);
        text-align: center;
        font-size: clamp(30px, 3vw, 38px);
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -0.5px;
    }

        .steps h2::after {
            content: "";
            display: block;
            width: 64px;
            height: 4px;
            border-radius: 20px;
            margin: 18px auto 0;
            background: linear-gradient(90deg,#1682ff,#005cff);
        }

.steps-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: center;
    gap: 22px;
}

    .steps-grid article {
        width: 100%;
        max-width: 238px;
        margin: 0 auto;
        padding: 6px 6px 0;
        text-align: center;
    }

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 20%, #ffffff 0%, #edf4ff 38%, #dfe9f8 100%);
    border-radius: 50px;
    box-shadow: 0 18px 42px rgba(6, 27, 88, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.90);
}

.step-icon-img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 14px rgba(0, 92, 255, 0.10));
}

.steps-grid h3 {
    min-height: 46px;
    margin: 22px 0 8px;
    color: var(--navy);
    font-size: 18.5px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .steps-grid h3 b {
        width: 26px;
        height: 26px;
        min-width: 26px;
        display: inline-grid;
        place-items: center;
        color: #ffffff;
        background: linear-gradient(135deg, #1682ff, #005cff);
        border-radius: 50%;
        font-size: 13px;
        font-weight: 800;
        line-height: 1;
        box-shadow: 0 10px 18px rgba(0, 92, 255, 0.18);
    }

.steps-grid p {
    max-width: 230px;
    min-height: 66px;
    margin: 0 auto;
    color: #30436e;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.42;
}

/* =========================================================
   10 PROMO - CTA PREMIUM
========================================================= */

.promo {
    width: min(calc(100% - 48px), 1240px);
    max-width: 1240px;
    margin: 66px auto 0;
    padding: 22px 42px;
    display: grid;
    grid-template-columns: 250px 1fr 230px;
    align-items: center;
    gap: 42px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 26px;
    background: radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 34%), linear-gradient(135deg, #177cff 0%, #005cff 45%, #003fbe 100%);
    box-shadow: 0 28px 70px rgba(0, 68, 201, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

    .promo::after {
        content: "";
        position: absolute;
        inset: auto -90px -120px auto;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.10);
        filter: blur(4px);
        pointer-events: none;
    }

.promo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

    .promo-image img {
        width: min(100%, 255px);
        max-height: 190px;
        display: block;
        object-fit: contain;
        filter: drop-shadow(0 20px 28px rgba(0, 24, 90, 0.20));
        transform: translateY(-2px);
    }

.promo-copy {
    position: relative;
    z-index: 1;
}

    .promo-copy h2 {
        max-width: 650px;
        margin: 0;
        color: #ffffff;
        font-size: clamp(25px, 2.3vw, 32px);
        font-weight: 800;
        line-height: 1.12;
        letter-spacing: -0.45px;
    }

    .promo-copy p {
        max-width: 690px;
        margin: 12px 0 0;
        color: rgba(255, 255, 255, 0.92);
        font-size: 18.5px;
        font-weight: 500;
        line-height: 1.42;
    }

.btn.light {
    width: 210px;
    height: 60px;
    min-height: 58px;
    position: relative;
    z-index: 1;
    color: #005cff;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: 18px;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(0, 20, 80, 0.16);
    letter-spacing: .2px;
}

    .btn.light:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 38px rgba(0, 20, 80, 0.20);
        transition: .25s;
    }
/* =========================================================
   11 FOOTER
========================================================= */

.footer {
    padding: 28px clamp(24px, 5vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 26px;
    background: rgba(255, 255, 255, 0.72);
    border-top: 1px solid #edf2fb;
    padding: 24px 30px;
}

    .footer a,
    .footer p {
        color: var(--navy);
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
    }

    .footer nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 44px;
    }

    .footer p {
        margin: 0;
    }

/* =========================================================
   12 DESKTOP MEDIO / LAPTOP ANCHA
========================================================= */

@media (max-width: 1366px) {
    .hero-section {
        padding: 18px clamp(30px, 4vw, 54px) 72px;
        grid-template-columns: 610px 460px;
        column-gap: 68px;
    }

    .hero-copy {
        width: 610px;
        max-width: 610px;
    }

        .hero-copy h1 {
            font-size: clamp(50px, 5vw, 62px);
            line-height: .94;
            letter-spacing: -1.6px;
        }

    .accent-line {
        width: 76px;
        height: 6px;
        margin: 14px 0 14px;
    }

    .hero-copy > p {
        max-width: 525px;
        margin: 0;
        font-size: 18px;
        line-height: 1.32;
    }

    .gift-scene {
        width: 590px;
        max-width: 590px;
        margin: 8px 0 14px;
    }

        .gift-scene img {
            width: 330px;
            max-height: 238px;
            margin-top: -10px;
            filter: drop-shadow(0 18px 24px rgba(0, 45, 120, 0.14));
        }

    .benefits {
        width: 590px;
        max-width: 590px;
        margin-left: 18px;
    }

        .benefits article {
            min-height: 62px;
            padding: 0 12px;
        }

        .benefits img {
            width: 25px;
            height: 25px;
            margin-bottom: 5px;
        }

        .benefits p {
            font-size: 12.8px;
            line-height: 1.14;
        }

    .voucher-card {
        max-width: 460px;
        height: clamp(520px, calc(100svh - 140px), 550px);
        min-height: 520px;
        max-height: 550px;
        margin-top: 0;
        padding: 24px 34px;
        border-radius: 26px;
    }

    .voucher-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 12px;
    }

    .voucher-card h2,
    .voucher-card-view h2 {
        min-height: auto;
        margin-bottom: 6px;
        font-size: 22px;
        line-height: 1.08;
    }

    .voucher-card-subtitle {
        min-height: auto;
        margin-bottom: 14px;
        font-size: 14.5px;
    }

    .voucher-card label {
        margin-bottom: 6px;
        font-size: 14px;
    }

    .field {
        height: 46px;
        min-height: 46px;
        padding: 0 16px;
    }

        .field input {
            font-size: 16px;
        }

    .btn {
        font-size: 17px;
    }

        .btn.primary,
        .btn.secondary {
            height: 46px;
            min-height: 46px;
        }

        .btn.primary {
            margin-top: 6px;
        }

    .divider {
        margin: 12px 0;
    }

        .divider small {
            width: 28px;
            height: 28px;
            font-size: 12px;
        }

    .card-error {
        min-height: 12px;
        margin: 4px 0 5px;
    }

    #brickLoginCuenta .field {
        height: 42px;
        min-height: 42px;
    }

    #brickLoginCuenta .btn.primary {
        height: 44px;
        min-height: 44px;
    }

    .forgot-password {
        margin-bottom: 10px;
    }

    .brick-back-voucher {
        margin-top: 10px;
    }

    .legal {
        margin-top: 18px;
        padding-top: 0;
        font-size: 12.8px;
        line-height: 1.35;
    }
}

/* =========================================================
   13 TABLET HORIZONTAL
========================================================= */

@media (max-width: 1180px) {
    .hero-section {
        padding: 34px clamp(24px, 4vw, 48px) 44px;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
        column-gap: 34px;
    }

    .hero-copy {
        width: 100%;
        max-width: 560px;
    }

        .hero-copy h1 {
            font-size: 52px;
        }

    .gift-scene {
        width: 100%;
        max-width: 540px;
    }

        .gift-scene img {
            width: 340px;
            max-height: 260px;
            margin-top: 8px;
        }

    .benefits {
        width: 100%;
        max-width: 540px;
        margin-left: 0;
    }

    .steps-grid {
        max-width: 760px;
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .promo {
        grid-template-columns: 180px 1fr 190px;
        gap: 28px;
    }

    .voucher-card {
        height: clamp(520px, calc(100svh - 140px), 550px);
        min-height: 520px;
        max-height: 550px;
    }
}

/* =========================================================
   14 TABLET / MOBILE GRANDE
========================================================= */

@media (max-width: 900px) {
    .topbar {
        min-height: 68px;
        height: auto;
        padding: 18px 24px;
    }

    .brand-logo {
        width: 162px;
    }

    .hero-section {
        min-height: auto;
        padding: 34px 20px 36px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

        .hero-copy h1 {
            font-size: clamp(40px, 9vw, 52px);
            line-height: .95;
            letter-spacing: -1.4px;
        }

    .accent-line {
        margin: 18px auto 16px;
    }

    .hero-copy > p {
        max-width: 560px;
        margin-inline: auto;
        font-size: clamp(17px, 3.2vw, 21px);
    }

    .gift-scene {
        width: min(100%, 430px);
        margin: 14px auto 24px;
    }

        .gift-scene img {
            width: 360px;
            max-height: 255px;
            margin-top: 8px;
        }

    .benefits {
        width: min(100%, 500px);
        max-width: 500px;
        margin: 0 auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

        .benefits article {
            padding: 8px 10px 0;
        }

    .voucher-card {
        width: min(100%, 520px);
        max-width: 520px;
        height: auto;
        min-height: 0;
        max-height: none;
        margin: 0 auto;
        padding: 30px 26px 28px;
        overflow: visible;
    }

    .voucher-card-body {
        min-height: 0;
    }

    .content-section {
        padding-bottom: 42px;
    }

    .steps {
        padding: 44px 20px 24px;
    }

        .steps h2 {
            font-size: clamp(27px, 5vw, 32px);
        }

    .promo {
        width: calc(100% - 40px);
        margin: 38px auto 0;
        padding: 30px 24px;
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
        border-radius: 24px;
    }

    .promo-image img {
        width: min(100%, 155px);
        max-height: 145px;
    }

    .promo-copy h2 {
        font-size: clamp(24px, 5.6vw, 30px);
    }

    .promo-copy p {
        max-width: 560px;
        margin: 8px auto 0;
        font-size: 17px;
    }

    .btn.light {
        width: min(100%, 260px);
        margin: 2px auto 0;
    }

    .footer {
        padding: 26px 20px;
        flex-direction: column;
        text-align: center;
    }
}


/* iPad mini / tablets verticales */
@media (min-width: 561px) and (max-width: 900px) {
    .voucher-card {
        height: 540px;
        min-height: 540px;
        max-height: 540px;
        overflow: hidden;
    }

    .voucher-card-body,
    .voucher-card-view.activo {
        flex: 1 1 auto;
        min-height: 0;
    }
}


/* =========================================================
   15 MOBILE
========================================================= */

@media (max-width: 560px) {
    .topbar {
        padding: 14px 16px;
    }

    .brand-logo {
        max-width: 142px;
    }

    .help {
        font-size: 0;
    }

        .help span {
            width: 28px;
            height: 28px;
        }

    .hero-section {
        padding: 24px 16px 30px;
        gap: 24px;
    }

    .hero-copy h1 {
        font-size: clamp(36px, 11vw, 44px);
    }

    .hero-copy > p {
        font-size: 17px;
        line-height: 1.35;
    }

    .gift-scene {
        width: min(100%, 310px);
        margin: 10px auto 18px;
    }

        .gift-scene img {
            width: 300px;
            max-height: 210px;
            margin-top: 8px;
        }

    .benefits {
        width: min(100%, 340px);
        margin: 0 auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 0;
    }

        .benefits article {
            min-height: auto;
            padding: 0 12px;
        }

            .benefits article:nth-child(2n) {
                border-right: 0;
            }

        .benefits img {
            width: 30px;
            height: 30px;
            margin-bottom: 7px;
        }

        .benefits p {
            font-size: 13.5px;
            line-height: 1.15;
        }

    .voucher-card {
        height: auto;
        min-height: 0;
        max-height: none;
        padding: 26px 18px 24px;
        border-radius: 20px;
        overflow: visible;
    }

    .voucher-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 14px;
    }

    .voucher-card-body {
        min-height: 0;
    }

    .voucher-card h2,
    .voucher-card-view h2 {
        min-height: auto;
        font-size: 23px;
        line-height: 1.1;
    }

    .voucher-card-subtitle {
        margin-bottom: 18px;
        font-size: 16px;
    }

    .voucher-card label {
        font-size: 15px;
    }

    .field {
        height: 52px;
        padding: 0 14px;
        gap: 10px;
    }

        .field input {
            font-size: 16px;
        }

    .btn {
        min-height: 52px;
        font-size: 17px;
    }

    .divider {
        margin: 16px 0;
    }

    .forgot-password {
        margin-bottom: 10px;
    }

    .legal {
        margin-top: 22px;
        padding-top: 0;
        font-size: 13px;
    }

    .steps {
        padding: 38px 16px 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

        .steps-grid article {
            max-width: 320px;
        }

        .steps-grid h3 {
            margin-top: 14px;
            font-size: 17px;
        }

        .steps-grid p {
            max-width: 260px;
            font-size: 14.5px;
        }

    .step-icon {
        width: 82px;
        height: 82px;
        border-radius: 24px;
    }

    .step-icon-img {
        width: 60px;
        height: 60px;
    }

    .promo {
        width: calc(100% - 32px);
        margin-top: 30px;
        padding: 26px 18px;
        border-radius: 22px;
    }

    .promo-image img {
        width: min(100%, 132px);
        max-height: 120px;
    }

    .promo-copy h2 {
        font-size: 23px;
        line-height: 1.12;
    }

    .promo-copy p {
        font-size: 16px;
        line-height: 1.35;
    }

    .btn.light {
        height: 52px;
        min-height: 52px;
        font-size: 16px;
    }

    .footer nav {
        flex-direction: column;
        gap: 10px;
    }

    .footer a,
    .footer p {
        font-size: 13.5px;
    }
}

/* =========================================================
   16 MOBILE PEQUEÑO
========================================================= */

@media (max-width: 380px) {
    .hero-copy h1 {
        font-size: 34px;
    }

    .gift-scene {
        width: min(100%, 275px);
    }

        .gift-scene img {
            width: 270px;
            max-height: 185px;
            margin-top: 8px;
        }

    .benefits {
        width: 100%;
    }

    .voucher-card {
        padding-inline: 14px;
    }

    .voucher-card-body {
        min-height: 0;
    }
}
