/* ========================================
   1. CONFIGURACIÓN GENERAL
======================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: dark;

    --bg: #090b16;
    --panel: #111426;
    --text: #f7f6fb;
    --muted: #9da1b5;
    --purple: #8b5cf6;
    --purple-dark: #6638e8;
    --line: rgba(255, 255, 255, 0.1);
    --shell: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.shell {
    width: min(var(--shell), calc(100% - 64px));
    margin-inline: auto;
}


/* ========================================
   2. ENCABEZADO Y NAVEGACIÓN
======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: 78px;
    background: rgba(9, 11, 22, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #ac7bff, #5729d5);
    box-shadow: 0 6px 22px #703ee84a;
    font: 800 23px Manrope, sans-serif;
    transform: rotate(-7deg);
}

.brand-name {
    font: 800 17px Manrope, sans-serif;
    letter-spacing: -0.6px;
}

.brand-name small {
    display: block;
    margin-top: 1px;
    color: #b7a2ff;
    font: 500 10px 'DM Sans', sans-serif;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    color: #c1c2cf;
    font-size: 13px;
}

.site-nav > a:not(.button):hover {
    color: #ffffff;
}


/* ========================================
   3. BOTONES
======================================== */

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 0 21px;
    border-radius: 13px;
    background: linear-gradient(120deg, #8455f5, #6136dd);
    box-shadow: 0 9px 26px #6032d43a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.button:hover {
    box-shadow: 0 13px 28px #4603f155;
    transform: translateY(-2px);
}

.button-small {
    min-height: 38px;
    padding-inline: 18px;
    border-radius: 10px;
}

.button-quiet {
    border: 1px solid var(--line);
    background: linear-gradient(120deg, #8455f5, #6136dd);;
    box-shadow: none;
    color: #e2e0ea;
}

.button-quiet:hover {
    background: #8455f5;
    box-shadow: none;
}

.menu-button {
    display: none;
}


/* ========================================
   4. PORTADA
======================================== */

.hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 75% 38%, #1a1633 0, transparent 36%),
        linear-gradient(115deg, #0b0d18, #0a0c17 60%, #101025);
}

.hero::after {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, transparent 46%, #a291ff 46.1%, transparent 46.3%),
        radial-gradient(ellipse at 79% 76%, #4f348e, transparent 38%);
    content: "";
    opacity: 0.12;
    pointer-events: none;
    mask-image: linear-gradient(90deg, transparent 28%, #000000);
}

.hero-glow {
    position: absolute;
    top: 12%;
    right: 16%;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: #7043ec23;
    filter: blur(75px);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 620px;
    align-items: center;
    grid-template-columns: 1fr 0.9fr;
    gap: 38px;
}

.hero-copy {
    max-width: 560px;
    padding: 45px 0 64px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #b49cff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #aa85ff;
    box-shadow: 0 0 12px #a16cff;
}

.hero h1,
.section-heading h2,
.join h2 {
    margin: 23px 0 18px;
    font: 700 clamp(42px, 5.2vw, 66px) / 1.1 Manrope, sans-serif;
    letter-spacing: -3px;
}

.hero h1 em,
.section-heading h2 em,
.join h2 em {
    color: #a989ff;
    font-style: normal;
}

.hero-copy > p {
    max-width: 440px;
    margin: 0 0 29px;
    color: #a9aabc;
    font-size: 16px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 35px;
    color: #9295a8;
    font-size: 11px;
}

.avatars {
    display: flex;
    padding-left: 5px;
}

.avatars b {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    margin-left: -5px;
    border: 2px solid var(--bg);
    border-radius: 50%;
    background: #c19747;
    color: #ffffff;
    font-size: 7px;
}

.avatars b:nth-child(2) {
    background: #eaa7c6;
}

.avatars b:nth-child(3) {
    background: #d8594f;
}


/* ========================================
   5. VISTA DEL TELÉFONO
======================================== */

.visual {
    position: relative;
    display: grid;
    height: 550px;
    place-items: center;
}

.visual-orbit {
    position: absolute;
    width: 470px;
    height: 470px;
    border: 1px solid #b39cff14;
    border-radius: 50%;
}

.orbit-two {
    width: 555px;
    height: 555px;
    border-color: #b39cff0d;
}

.phone {
    position: relative;
    z-index: 2;
    width: 276px;
    height: 522px;
    padding: 16px 17px 13px;
    border: 1px solid #525266;
    border-radius: 37px;
    background: linear-gradient(145deg, #17192b, #0c0e1a 70%);
    box-shadow: 0 30px 90px #0008, inset 0 0 0 5px #ffffff05;
    transform: rotate(2deg);
}

.phone::before {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 58px;
    height: 5px;
    border-radius: 8px;
    background: #3b3c4b;
    content: "";
    transform: translateX(-50%);
}

.phone-top {
    display: flex;
    justify-content: space-between;
    padding: 0 2px 22px;
    color: #dedce9;
    font-size: 8px;
}

.phone-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.phone-heading small,
.balance-row small {
    display: block;
    margin-bottom: 4px;
    color: #8f91a5;
    font-size: 8px;
    letter-spacing: 0.7px;
}

.phone-heading strong {
    font: 700 19px Manrope, sans-serif;
}

.phone-heading strong span {
    color: #a582ff;
}

.bell {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 10px;
    background: #ffffff0b;
}

.wallet-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 600;
}

.wallet-label a {
    color: #ae91ff;
    font-size: 9px;
}


/* ========================================
   6. TARJETAS DE FIDELIZACIÓN
======================================== */

.loyalty-card {
    position: relative;
    overflow: hidden;
    border-radius: 17px;
    cursor: pointer;
}

.loyalty-card:focus-visible {
    outline: 2px solid #c2aaff;
    outline-offset: 3px;
}

.featured-card {
    height: 147px;
    padding: 15px 16px;
    border: 1px solid #a9844354;
    background: linear-gradient(122deg, #18130d, #211b13 57%, #40311c);
    box-shadow: 0 12px 24px #0005;
    color: #ffffff;
}

.featured-card::after {
    position: absolute;
    top: -60px;
    right: -30px;
    width: 180px;
    height: 180px;
    border: 1px solid #e3c16d22;
    border-radius: 50%;
    box-shadow: 0 0 0 15px #e3c16d08, 0 0 0 34px #e3c16d06;
    content: "";
}

.card-shine {
    position: absolute;
    top: 0;
    right: -70px;
    width: 160px;
    height: 100%;
    background: linear-gradient(90deg, transparent, #ffffff11, transparent);
    transform: skew(-25deg);
}

.card-top,
.card-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.merchant-emblem {
    display: grid;
    width: 35px;
    height: 35px;
    flex: none;
    place-items: center;
    border-radius: 50%;
    font: bold 12px Manrope, sans-serif;
}

.gold {
    border: 1px solid #ddba5380;
    background: #28200f;
    color: #edcf76;
}

.card-dots {
    color: #b9b3a7;
    font-size: 10px;
    letter-spacing: 3px;
}

.card-bottom {
    align-items: flex-end;
    margin-top: 38px;
}

.card-bottom strong,
.mini-card strong {
    display: block;
    font: 700 14px Manrope, sans-serif;
}

.card-bottom small,
.mini-card small {
    display: block;
    margin-top: 3px;
    color: #b7b2a5;
    font-size: 9px;
}

.card-chip {
    color: #ddbc67;
    font-size: 19px;
}


/* ========================================
   7. PUNTOS, SELLOS Y PROGRESO
======================================== */

.balance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 17px 1px 9px;
}

.balance-row strong {
    font: 700 25px Manrope, sans-serif;
}

.balance-row strong span {
    color: #a6a5b5;
    font-size: 10px;
}

.progress-ring {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 2px solid #7549d5;
    border-right-color: #ffffff20;
    border-radius: 50%;
    color: #ccbaff;
    font-size: 8px;
}

.progress {
    height: 6px;
    overflow: hidden;
    border-radius: 9px;
    background: #ffffff12;
}

.progress > span {
    display: block;
    height: 100%;
    border-radius: 9px;
    background: linear-gradient(90deg, #8151ed, #c096ff);
}

.mini-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.mini-card {
    display: flex;
    height: 78px;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid #ef9abc30;
    background: linear-gradient(120deg, #351b2c, #251821);
}

.mini-card strong {
    font-size: 9px;
}

.mini-card small {
    color: #c1aab4;
    font-size: 8px;
}

.mini-card .merchant-emblem {
    width: 28px;
    height: 28px;
    font-size: 10px;
}

.rose {
    background: #3d2332;
    color: #ffabd0;
}

.blue-card {
    border-color: #79a9ff30;
    background: linear-gradient(120deg, #142538, #141d29);
}

.blue {
    background: #192c40;
    color: #92bdff;
}

.phone-nav {
    position: absolute;
    right: 19px;
    bottom: 10px;
    left: 19px;
    display: flex;
    justify-content: space-around;
    padding-top: 9px;
    border-top: 1px solid #ffffff12;
    color: #7f8195;
}

.phone-nav span {
    text-align: center;
    font-size: 16px;
}

.phone-nav small {
    display: block;
    margin-top: 2px;
    font-size: 7px;
}

.phone-nav .active {
    color: #b694ff;
}


/* ========================================
   8. ETIQUETAS FLOTANTES
======================================== */

.float-tag {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid #ffffff13;
    border-radius: 13px;
    background: #17192adf;
    box-shadow: 0 14px 35px #0005;
    backdrop-filter: blur(10px);
}

.float-tag > span {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border-radius: 9px;
    background: #784de52c;
    color: #bc9dff;
}

.float-tag strong,
.float-tag small {
    display: block;
}

.float-tag strong {
    font-size: 10px;
}

.float-tag small {
    margin-top: 3px;
    color: #a3a4b3;
    font-size: 8px;
}

.tag-left {
    top: 125px;
    left: -6px;
}

.tag-right {
    right: -1px;
    bottom: 120px;
}

.float-tag .check {
    background: #2e5d4a;
    color: #77e8ac;
}


/* ========================================
   9. FRANJA DE VENTAJAS
======================================== */

.benefits {
    border-block: 1px solid #ffffff0b;
    background: #101220;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 24px 0;
}

.benefit-grid article {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-right: 1px solid var(--line);
}

.benefit-grid article:last-child {
    border: 0;
}

.benefit-icon {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 12px;
    background: #845cf51a;
    color: #b49aff;
    font-size: 20px;
}

.benefit-grid strong,
.benefit-grid small {
    display: block;
}

.benefit-grid strong {
    font-size: 12px;
}

.benefit-grid small {
    margin-top: 4px;
    color: #989bad;
    font-size: 10px;
}


/* ========================================
   10. SECCIONES Y COMERCIOS
======================================== */

.section {
    padding-block: 92px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 31px;
}

.section-heading .eyebrow {
    font-size: 9px;
}

.section-heading h2 {
    margin: 10px 0 0;
    font-size: 36px;
    letter-spacing: -1.5px;
}

.text-link {
    padding-bottom: 7px;
    color: #c6b4ff;
    font-size: 11px;
}

.text-link span {
    margin-left: 5px;
}

.merchant-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.merchant-tile {
    padding: 8px 8px 15px;
    border: 1px solid #ffffff0e;
    border-radius: 17px;
    background: #111321;
    transition: transform 0.2s, border-color 0.2s;
}

.merchant-tile:hover {
    border-color: #a27dff54;
    transform: translateY(-4px);
}

.tile-cover {
    position: relative;
    display: grid;
    height: 138px;
    place-items: center;
    overflow: hidden;
    border-radius: 11px;
}

.tile-cover::before,
.tile-cover::after {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid #ffffff24;
    border-radius: 50%;
    content: "";
}

.tile-cover::after {
    width: 120px;
    height: 120px;
}

.cover-gold {
    background: radial-gradient(circle at 48% 52%, #624b23, #19150e 70%);
}

.cover-pink {
    background: radial-gradient(circle at 48% 52%, #ad557b, #42233c 75%);
}

.cover-red {
    background: radial-gradient(circle at 48% 52%, #a93c36, #391719 75%);
}

.cover-blue {
    background: radial-gradient(circle at 48% 52%, #35669d, #172338 75%);
}

.tile-logo {
    position: relative;
    z-index: 1;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid #ffffff8c;
    border-radius: 50%;
    color: #ffffff;
    font: 700 14px Manrope, sans-serif;
    letter-spacing: -1px;
}

.cover-gold .tile-logo {
    border-color: #dfbd64;
    color: #f4d26b;
}

.tile-category {
    position: absolute;
    bottom: 11px;
    color: #ffffffb8;
    font-size: 7px;
    letter-spacing: 1.5px;
}

.tile-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px 0;
}

.tile-info h3 {
    margin: 0 0 4px;
    font: 700 13px Manrope, sans-serif;
}

.tile-info p {
    margin: 0;
    color: #989aab;
    font-size: 9px;
}

.tile-arrow {
    color: #aaa0c5;
    font-size: 15px;
}


/* ========================================
   11. CÓMO FUNCIONA
======================================== */

.how {
    border-block: 1px solid #ffffff08;
    background: #0e101e;
}

.centered {
    justify-content: center;
    text-align: center;
}

.section-heading.centered {
    margin-bottom: 39px;
}

.centered h2 {
    margin-inline: auto;
}

.centered p {
    margin: 11px 0;
    color: #a0a2b2;
    font-size: 12px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.steps article {
    position: relative;
    min-height: 190px;
    padding: 24px;
    border: 1px solid #ffffff0e;
    border-radius: 16px;
    background: linear-gradient(140deg, #151729, #101220);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #7563a9;
    font: 700 11px Manrope, sans-serif;
}

.step-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: #774ae21e;
    color: #b69bff;
    font-size: 20px;
}

.steps h3 {
    margin: 19px 0 7px;
    font: 700 14px Manrope, sans-serif;
}

.steps p {
    max-width: 245px;
    margin: 0;
    color: #a2a3b2;
    font-size: 11px;
    line-height: 1.65;
}


/* ========================================
   12. LLAMADO A LA ACCIÓN
======================================== */

.join {
    padding-block: 78px;
}

.join-panel {
    position: relative;
    min-height: 275px;
    overflow: hidden;
    padding: 45px 52px;
    border: 1px solid #b59bff25;
    border-radius: 23px;
    background:
        radial-gradient(ellipse at 80% 60%, #7045db57, transparent 42%),
        linear-gradient(115deg, #211641, #13152a 68%, #22163e);
}

.join-copy {
    position: relative;
    z-index: 2;
}

.join .eyebrow {
    font-size: 9px;
}

.join h2 {
    margin: 13px 0 10px;
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -1.4px;
}

.join-copy > p {
    margin: 0 0 18px;
    color: #aaa9bd;
    font-size: 11px;
}

.join .button {
    min-height: 40px;
    font-size: 11px;
}

.join-decoration {
    position: absolute;
    top: 50%;
    right: 7%;
    width: 210px;
    height: 165px;
    perspective: 600px;
    transform: translateY(-50%);
}

.deco-card {
    position: absolute;
    width: 195px;
    height: 123px;
    border: 1px solid #ffffff4a;
    border-radius: 16px;
    box-shadow: 0 20px 38px #0005;
    transform: rotate(-13deg);
}

.deco-back {
    top: 0;
    right: -8px;
    background: linear-gradient(120deg, #f0b558, #9d54de);
}

.deco-front {
    top: 36px;
    right: 28px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 16px;
    background: linear-gradient(125deg, #191524, #383047);
    font: 700 12px Manrope, sans-serif;
    transform: rotate(9deg);
}

.deco-front .brand-mark {
    width: 27px;
    height: 27px;
    border-radius: 9px;
    font-size: 17px;
}

.deco-front small {
    color: #b69aff;
    font-size: 8px;
    font-weight: 500;
}

.deco-front b {
    position: absolute;
    right: 16px;
    bottom: 13px;
    color: #d2b76b;
}


/* ========================================
   13. PIE DE PÁGINA
======================================== */

.footer {
    border-top: 1px solid #ffffff0c;
    background: #080a13;
}

.footer-inner {
    display: flex;
    height: 86px;
    align-items: center;
    justify-content: space-between;
}

.footer .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 20px;
}

.footer .brand-name {
    font-size: 14px;
}

.footer p,
.copyright {
    color: #9294a5;
    font-size: 10px;
}


/* ========================================
   14. VENTANA DE DETALLE DE TARJETA
======================================== */

.card-dialog {
    width: min(420px, calc(100% - 32px));
    padding: 29px;
    border: 1px solid #ffffff20;
    border-radius: 22px;
    background: #151728;
    box-shadow: 0 25px 100px #000b;
    color: var(--text);
}

.card-dialog::backdrop {
    background: #04050bc9;
    backdrop-filter: blur(5px);
}

.dialog-close {
    position: absolute;
    top: 13px;
    right: 16px;
    border: 0;
    background: none;
    color: #c5c4d0;
    font-size: 26px;
    cursor: pointer;
}

.card-dialog h2 {
    margin: 13px 0 4px;
    font: 700 25px Manrope, sans-serif;
}

.card-dialog > p {
    color: #a5a6b5;
    font-size: 11px;
}

.dialog-balance {
    display: flex;
    justify-content: space-between;
    margin-top: 26px;
    color: #a8a7b7;
    font-size: 11px;
}

.dialog-balance strong {
    color: #ffffff;
}

.dialog-progress {
    height: 8px;
    margin-top: 10px;
}

.dialog-reward {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 13px;
    border: 1px solid #ffffff10;
    border-radius: 13px;
    background: #ffffff08;
}

.dialog-reward > span {
    color: #dcbd69;
    font-size: 22px;
}

.dialog-reward small,
.dialog-reward strong {
    display: block;
}

.dialog-reward small {
    color: #a7a5b6;
    font-size: 8px;
    letter-spacing: 1px;
}

.dialog-reward strong {
    margin-top: 4px;
    font-size: 12px;
}

.card-dialog .dialog-note {
    margin-top: 18px;
    font-size: 10px;
    line-height: 1.6;
}


/* ========================================
   15. ADAPTACIÓN PARA TABLETS
======================================== */

@media (max-width: 900px) {
    .shell {
        width: min(100% - 44px, var(--shell));
    }

    .hero-grid {
        grid-template-columns: 1fr 0.8fr;
        gap: 5px;
    }

    .hero h1 {
        font-size: 51px;
    }

    .visual {
        transform: scale(0.88);
        transform-origin: center;
    }

    .tag-left {
        left: -27px;
    }

    .tag-right {
        right: -20px;
    }

    .merchant-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tile-cover {
        height: 155px;
    }
}


/* ========================================
   16. ADAPTACIÓN PARA CELULARES
======================================== */

@media (max-width: 650px) {
    .shell {
        width: calc(100% - 36px);
    }

    .site-header {
        height: 67px;
    }

    .menu-button {
        display: grid;
        width: 39px;
        height: 39px;
        place-content: center;
        gap: 5px;
        border: 1px solid var(--line);
        border-radius: 11px;
        background: #ffffff08;
    }

    .menu-button span {
        width: 16px;
        height: 1.5px;
        background: #ffffff;
        transition: transform 0.2s;
    }

    .menu-button[aria-expanded="true"] span:first-child {
        transform: translateY(3.2px) rotate(45deg);
    }

    .menu-button[aria-expanded="true"] span:last-child {
        transform: translateY(-3.2px) rotate(-45deg);
    }

    .site-nav {
        position: absolute;
        top: 66px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 14px 18px 20px;
        border-bottom: 1px solid var(--line);
        background: #0c0e1a;
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav > a:not(.button) {
        padding: 12px 8px;
    }

    .site-nav .button {
        margin-top: 7px;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-top: 22px;
    }

    .hero-copy {
        padding: 30px 0 8px;
        text-align: center;
    }

    .hero-copy .eyebrow {
        justify-content: center;
        font-size: 8px;
    }

    .hero h1 {
        max-width: 480px;
        margin: 17px auto 12px;
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .hero-copy > p {
        max-width: 390px;
        margin: 0 auto 19px;
        font-size: 13px;
        line-height: 1.65;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-actions .button {
        min-height: 43px;
        padding-inline: 15px;
        font-size: 11px;
    }

    .hero-note {
        justify-content: center;
        margin-top: 18px;
    }

    .visual {
        width: 100%;
        height: 465px;
        margin-top: 0;
        transform: none;
    }

    .phone {
        transform: scale(0.82) rotate(2deg);
        transform-origin: center;
    }

    .visual-orbit {
        width: 360px;
        height: 360px;
    }

    .orbit-two {
        width: 430px;
        height: 430px;
    }

    .tag-left {
        top: 73px;
        left: calc(50% - 182px);
    }

    .tag-right {
        right: calc(50% - 182px);
        bottom: 45px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 17px 0;
    }

    .benefit-grid article {
        justify-content: flex-start;
        padding-left: calc(50% - 100px);
        border: 0;
    }

    .benefit-icon {
        width: 33px;
        height: 33px;
    }

    .benefit-grid strong {
        font-size: 11px;
    }

    .benefit-grid small {
        font-size: 9px;
    }

    .section {
        padding-block: 65px;
    }

    .section-heading {
        align-items: flex-end;
    }

    .section-heading h2 {
        font-size: 29px;
        letter-spacing: -1px;
    }

    .section-heading .eyebrow {
        font-size: 8px;
    }

    .text-link {
        font-size: 10px;
        white-space: nowrap;
    }

    .merchant-grid {
        gap: 10px;
    }

    .tile-cover {
        height: 118px;
    }

    .merchant-tile {
        padding: 6px 6px 12px;
        border-radius: 14px;
    }

    .tile-info {
        padding: 10px 3px 0;
    }

    .tile-info h3 {
        font-size: 11px;
    }

    .tile-info p {
        font-size: 8px;
    }

    .tile-logo {
        width: 44px;
        height: 44px;
    }

    .tile-category {
        font-size: 6px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .steps article {
        min-height: 145px;
        padding: 19px;
    }

    .steps h3 {
        margin-top: 13px;
    }

    .steps p {
        max-width: 320px;
    }

    .section-heading.centered h2 {
        font-size: 31px;
    }

    .join {
        padding-block: 48px;
    }

    .join-panel {
        min-height: 260px;
        padding: 32px 25px;
    }

    .join h2 {
        font-size: 29px;
    }

    .join-copy > p {
        max-width: 240px;
        line-height: 1.55;
    }

    .join-decoration {
        top: 61%;
        right: -57px;
        opacity: 0.62;
        transform: translateY(-50%) scale(0.68);
    }

    .footer-inner {
        display: grid;
        min-height: 105px;
        height: auto;
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding-block: 18px;
    }

    .footer p {
        grid-row: 2;
        grid-column: 1 / -1;
        margin: 0;
    }

    .copyright {
        grid-row: 1;
        grid-column: 2;
    }

    .footer .brand-name {
        font-size: 12px;
    }
}


/* ========================================
   17. CELULARES PEQUEÑOS
======================================== */

@media (max-width: 370px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .visual {
        height: 435px;
    }

    .phone {
        transform: scale(0.75) rotate(2deg);
    }

    .tag-left {
        left: calc(50% - 158px);
    }

    .tag-right {
        right: calc(50% - 158px);
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .tile-cover {
        height: 100px;
    }
}


/* ========================================
   18. ACCESIBILIDAD: MENOS ANIMACIONES
======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

 /* Estructura general del pie */
.footer-inner {
  height: 200px;
  min-height: 10;
  padding: 20px 0 12px;
  display: flex ;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* Fila de Instagram, Gmail y WhatsApp */
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: #b6a0ff;
  font-size: 21px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: #ffffff;
}

.footer-contact-icon {
  width: 26px;
  height: 56px;
  flex: 0 0 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-icon .icon-dot {
  fill: currentColor;
  stroke: none;
}

.footer-contact-icon.whatsapp-icon path:last-child {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 0.4;
}

/* Fila de información */
.footer-information {
  width: 200%;
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 84px;
  border-top: 2px solid #ffffff0c;
  border-bottom: 2px solid #ffffff0c;
}

.footer-info-item {
  position: relative;
  color: #aeb0c0;
  font-size: 20px;
}

.footer-info-item summary {
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-info-item summary::-webkit-details-marker {
  display: none;
}

.footer-info-item summary::after {
  content: "⌄";
  padding-left: 20px;
  color: #9c79ff;
}

.footer-info-item[open] summary {
  color: #ffffff;
}

/* Panel que se despliega al tocar un título */
.footer-info-content {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 20px);
  width: min(400px, 100vw);
  max-height: 100vh;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border: 3px solid #ffffff20;
  border-radius: 12px;
  background: #151728;
  color: #d1d1dc;
  font-size: 50px;
  line-height: 1.6;
  box-shadow: 0 12px 36px #0008;
  transform: translateX(-50%);
}

.footer-info-content p {
  margin: 0 0 12px;
}

.footer-info-content p:last-child {
  margin-bottom: 0;
}

.footer-info-content strong {
  color: #ffffff;
}

.footer-info-content a {
  color: #c4a9ff;
  text-decoration: underline;
}

.footer-policy {
  width: min(560px, 90vw);
  max-height: 70vh;
}

/* Copyright debajo de la información */
.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: center;
}

.copyright {
  color: #777b90;
  font-size: 20px;
}

/* Acomodo para celular */
@media (max-width: 650px) {
  .footer-inner {
    gap: 12px;
    padding: 18px 0 12px;
  }

  .footer-contact {
    gap: 18px;
  }

  .footer-information {
    gap: 12px 18px;
    flex-wrap: wrap;
    padding: 11px 0;
  }

  .footer-info-item {
    font-size: 11px;
  }

  .footer-info-content {
    position: fixed;
    left: 50%;
    bottom: 70px;
    width: min(360px, calc(100vw - 36px));
    transform: translateX(-50%);
  }

  .footer-policy {
    width: min(560px, calc(100vw - 36px));
  }
}

/* Lectura más cómoda al abrir la información del pie */
.footer-info-content {
  width: min(440px, 90vw);
  padding: 18px;
  font-size: 25px;
  line-height: 1.75;
}

.footer-info-content p {
  font-size: inherit;
  line-height: inherit;
}

.footer-policy {
  width: min(650px, 92vw);
}

@media (max-width: 650px) {
  .footer-info-content {
    width: min(440px, calc(100vw - 28px));
    max-height: 75vh;
    padding: 17px;
    font-size: 15px;
  }

  .footer-policy {
    width: min(650px, calc(100vw - 28px));
  }
}

.footer-information-link {
  color: #b6a0ff;
  font-size: 20px;
  text-decoration: none;
}

.footer-information-link:hover {
  color: #ffffff;
  text-decoration: underline;
}
/* Ajustes finales del pie para pantallas pequeñas */
.footer-contact { flex-wrap: wrap; }
.footer-bottom { flex-direction: column; align-items: center; gap: 5px; }
.footer-credit { color: #aeb0c0; font-size: 13px; }
.footer-credit strong { color: #ffffff; }
@media (max-width: 650px) {
  .footer-contact { gap: 12px 20px; }
  .footer-contact-link { gap: 8px; font-size: 14px; }
  .footer-contact-icon { width: 22px; height: 24px; flex-basis: 22px; }
  .copyright { font-size: 13px; }
}