/* Meulify 2.0 — estilo común de toda la web.
   Noche, papel y el verde del logo. El color lo ponen las portadas y la app,
   nunca el fondo. De las capturas de tienda vienen la tipografía, las
   pegatinas (una por titular), la trama de puntos y los móviles; de la app,
   el cristal. Sombras suaves; la dura solo en las pegatinas sobre claro. */
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url(/assets/fonts/bricolage-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Bricolage Grotesque';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url(/assets/fonts/bricolage-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink:    #0b0b0b;
    --ink-2:  #141414;
    --ink-3:  #1e1e1e;
    --line:   rgba(255,255,255,.09);
    --white:  #ffffff;
    --green:  #1fd862;
    --muted:  rgba(255,255,255,.64);
    /* la parte clara: papel, grafito y sus grises */
    --paper:  #f5f5f7;
    --graphite: #1d1d1f;
    --muted-ink: #424245;
    --gray:   #6e6e73;
    --rule:   #d2d2d7;
    --dots-dark:  radial-gradient(rgba(255,255,255,.075) 1.1px, transparent 1.5px) 0 0 / 22px 22px;
    --ease-out: cubic-bezier(.2,.8,.2,1);
    --spring: cubic-bezier(.3,1.45,.5,1);
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --side-x: clamp(250px, 23vw, 320px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); }
body {
    font-family: 'Bricolage Grotesque', ui-sans-serif, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.45;
    color: var(--white);
    background: var(--dots-dark), var(--ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: url('/assets/raton.png') 0 0, default;
}
a, button, [role="button"], .clickable { cursor: url('/assets/raton_dedo.png') 4 0, pointer; }
a { color: inherit; }
img, svg, video { display: block; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 10px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico-fill { fill: currentColor; stroke: none; }

/* ─── Pegatina de los titulares (la parte [entre corchetes] de las capturas) ─── */
.sticker {
    display: inline-block;
    padding: 0 .16em .05em;
    border-radius: .2em;
    background: var(--white);
    color: var(--ink);
    transform: rotate(-2.2deg);
    white-space: nowrap;
}
.sticker.green { background: var(--green); }
/* Sobre claro, como en las capturas: borde y sombra dura de grafito */
.on-light .sticker { border: max(2.5px, .045em) solid var(--graphite); box-shadow: .08em .08em 0 var(--graphite); }

/* ─── Cristal (Liquid Glass) ─── */
.glass {
    position: relative;
    background: rgba(28,28,28,.56);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    backdrop-filter: blur(20px) saturate(1.8);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 14px 40px -12px rgba(0,0,0,.6);
}
.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(255,255,255,.38), rgba(255,255,255,.06) 30%, rgba(255,255,255,0) 55%, rgba(255,255,255,.18));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.glass-soft {
    background: rgba(255,255,255,.14);
    -webkit-backdrop-filter: blur(12px) saturate(1.6);
    backdrop-filter: blur(12px) saturate(1.6);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 1px rgba(255,255,255,.08);
}

/* ─── Botones ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s var(--ease-out), background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: scale(1.03); }
.btn:active { transform: scale(.97); transition-duration: .06s; }
.btn .ico { font-size: 20px; }
.btn-green { background: var(--green); color: var(--ink); }
.btn-dark { background: var(--graphite); color: var(--white); }
.btn-ghost { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--graphite); color: var(--graphite); }
.btn-ghost:hover { background: var(--graphite); color: var(--white); }
.btn-line { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.38); color: var(--white); }
.btn-line:hover { background: rgba(255,255,255,.08); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* ─── Navegación ─── */
.nav { position: fixed; inset: 12px 0 auto; z-index: 100; padding-inline: var(--gutter); pointer-events: none; }
.nav-pill {
    pointer-events: auto;
    max-width: var(--wrap);
    margin: 0 auto;
    height: 60px;
    padding: 0 10px 0 12px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -.035em;
    text-decoration: none;
    margin-right: auto;
    padding: 4px 8px 4px 2px;
}
.brand img { width: 34px; height: 34px; border-radius: 50%; transform: rotate(-8deg); transition: transform .4s var(--spring); }
.brand:hover img { transform: rotate(8deg) scale(1.06); }
.nav-links { display: flex; list-style: none; gap: 2px; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 15.5px; font-weight: 600; color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
/* Sobre las partes claras la barra pasa a cristal claro */
.nav-pill, .brand, .nav-links a, .lang-btn { transition: background-color .35s, color .35s, box-shadow .35s; }
.nav.light .nav-pill { background: rgba(250,250,252,.66); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 14px 40px -18px rgba(0,0,0,.28); }
.nav.light .nav-pill::before { background: linear-gradient(140deg, rgba(255,255,255,.95), rgba(0,0,0,.07) 40%, rgba(0,0,0,.04) 60%, rgba(255,255,255,.7)); }
.nav.light .brand, .nav.light .lang-btn { color: var(--graphite); }
.nav.light .nav-links a { color: rgba(29,29,31,.72); }
.nav.light .nav-links a:hover, .nav.light .lang-btn:hover, .nav.light .lang-switcher.open .lang-btn { color: var(--graphite); background: rgba(0,0,0,.05); }
.nav.light .mobile-menu-btn span { background: var(--graphite); }

.lang-switcher { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: rgba(255,255,255,.78); transition: background-color .2s, color .2s; }
.lang-btn:hover, .lang-switcher.open .lang-btn { background: rgba(255,255,255,.08); color: var(--white); }
.lang-btn .ico { font-size: 17px; }
.lang-btn .chev { font-size: 13px; transition: transform .25s var(--ease-out); }
.lang-switcher.open .chev { transform: rotate(180deg); }
.lang-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 176px;
    padding: 6px;
    list-style: none;
    border-radius: 20px;
    background: rgba(30,30,30,.82);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(.98);
    transform-origin: top right;
    transition: opacity .18s, transform .22s var(--ease-out), visibility .18s;
}
.lang-switcher.open .lang-dropdown { opacity: 1; visibility: visible; transform: none; }
.lang-dropdown li { padding: 10px 14px; border-radius: 14px; font-size: 15px; font-weight: 600; cursor: url('/assets/raton_dedo.png') 4 0, pointer; transition: background-color .15s; }
.lang-dropdown li:hover { background: rgba(255,255,255,.08); }
.lang-dropdown li.active { color: var(--green); }

.mobile-menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.mobile-menu-btn span { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--white); transition: transform .3s var(--ease-out), top .3s var(--ease-out); }
.mobile-menu-btn span:first-child { top: 17px; }
.mobile-menu-btn span:last-child { top: 25px; }
.mobile-menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu-overlay {
    position: fixed;
    z-index: 99;
    top: 84px;
    left: var(--gutter);
    right: var(--gutter);
    padding: 10px;
    border-radius: 28px;
    background: rgba(24,24,24,.92);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.98);
    transform-origin: top center;
    transition: opacity .2s, transform .25s var(--ease-out), visibility .2s;
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu-overlay > a:not(.btn) { padding: 14px 16px; border-radius: 16px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.mobile-menu-overlay > a:not(.btn):active { background: rgba(255,255,255,.06); }
.mobile-menu-overlay .btn { margin: 10px 6px 6px; }
.mobile-lang-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px 14px; }
.lang-pill { padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); font-size: 13px; font-weight: 700; cursor: url('/assets/raton_dedo.png') 4 0, pointer; }
.lang-pill.active { background: var(--green); color: var(--ink); box-shadow: none; }

.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; scroll-margin-top: 130px; }
.store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding: 0 24px 0 18px;
    border-radius: 18px;
    background: var(--ink-3);
    color: var(--white);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    text-decoration: none;
    transition: transform .18s var(--ease-out), background-color .2s, box-shadow .2s;
}
.store:hover { transform: translateY(-2px); background: #262626; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.store:active { transform: scale(.97); transition-duration: .06s; }
.store svg, .store img { width: 27px; height: 27px; }
.store .apple { fill: currentColor; }
.store span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store small { font-size: 12px; font-weight: 600; opacity: .66; }
.store b { font-size: 20px; font-weight: 800; letter-spacing: -.025em; white-space: nowrap; }
.store.primary { background: var(--white); color: var(--ink); box-shadow: none; }

.proof { display: flex; align-items: center; gap: 14px; margin-top: 22px; font-size: 16px; color: var(--muted); }
.proof-covers { display: flex; }
.proof-covers img { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--ink); margin-left: -11px; object-fit: cover; }
.proof-covers img:first-child { margin-left: 0; }
.proof b { color: var(--white); font-weight: 800; letter-spacing: -.02em; }
.proof p { text-align: left; }

/* ─── Móvil dibujado ─── */
.phone { position: relative; container-type: inline-size; aspect-ratio: 100 / 207.2; }
.phone-frame { position: absolute; inset: 0; border-radius: 15.8cqw; background: #111; box-shadow: inset 0 0 0 max(1.5px, .45cqw) #2e2e2e, 0 4cqw 10cqw -2cqw rgba(0,0,0,.6); }
.phone-frame::after { content: ''; position: absolute; inset: 1.4cqw; border-radius: 14.4cqw; border: .5cqw solid #262626; }
.phone-key { position: absolute; width: 1.4cqw; min-width: 3px; background: #2a2a2a; border-radius: 1cqw; }
.phone-key.l { left: -.9cqw; } .phone-key.r { right: -.9cqw; }
.phone-key.k1 { top: 16.5%; height: 4%; } .phone-key.k2 { top: 23.5%; height: 6.8%; }
.phone-key.k3 { top: 31.8%; height: 6.8%; } .phone-key.k4 { top: 26%; height: 10%; }
.screen {
    --u: calc(100cqw * .002326); /* 1 punto de iPhone (393 pt de ancho) */
    position: absolute;
    left: 4.3cqw;
    top: 4.3cqw;
    width: 91.4cqw;
    height: 198.6cqw;
    border-radius: 12.2cqw;
    overflow: hidden;
    background: #000;
    color: #fff;
    isolation: isolate;
}
.screen > img.shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.island { position: absolute; z-index: 5; left: 50%; top: calc(11 * var(--u)); width: calc(124 * var(--u)); height: calc(36 * var(--u)); transform: translateX(-50%); background: #000; border-radius: 999px; }
/* barra de estado, tirador e indicador de inicio de la pantalla */
.statusbar { position: relative; height: calc(54 * var(--u)); padding: calc(19 * var(--u)) calc(34 * var(--u)) 0 calc(48 * var(--u)); display: flex; justify-content: space-between; font-size: calc(16.5 * var(--u)); font-weight: 700; letter-spacing: -.01em; font-family: ui-sans-serif, -apple-system, 'Bricolage Grotesque', sans-serif; }
.statusbar svg { height: calc(12 * var(--u)); width: auto; }
.sb-icons { display: flex; gap: calc(6 * var(--u)); align-items: center; height: calc(20 * var(--u)); }
.grabber { width: calc(36 * var(--u)); height: calc(5 * var(--u)); margin: calc(6 * var(--u)) auto 0; border-radius: 9px; background: rgba(255,255,255,.35); }
.home-ind { position: absolute; left: 50%; bottom: calc(9 * var(--u)); width: calc(136 * var(--u)); height: calc(5 * var(--u)); border-radius: 9px; background: rgba(255,255,255,.85); transform: translateX(-50%); }

/* ─── Secciones ─── */
section { position: relative; }
.sec-title { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.sec-title .sticker { margin-top: .1em; }
.sec-sub { margin-top: 22px; font-size: clamp(18px, 1.5vw, 21px); max-width: 44ch; color: var(--muted); }
.on-light { color: var(--graphite); }
.on-light .sec-sub { color: var(--muted-ink); }

/* ─── Tarjetas: superficie de noche con filo fino; el color, de la captura o portada que llevan ─── */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 470px;
    padding: 34px 34px 0;
    border-radius: 32px;
    background: var(--ink-2);
    box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,.06);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: box-shadow .3s;
}
a.card:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.1); }
.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; }
.tall { min-height: 560px; }
.card-glow { position: absolute; z-index: -1; right: -22%; bottom: -34%; width: 100%; aspect-ratio: 1; object-fit: cover; opacity: .5; filter: blur(64px) saturate(1.6); -webkit-mask: radial-gradient(closest-side, #000 30%, transparent); mask: radial-gradient(closest-side, #000 30%, transparent); pointer-events: none; }
.card-title { max-width: 13ch; font-size: clamp(32px, 3.1vw, 46px); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; }
.card-desc { margin-top: 14px; max-width: 30ch; font-size: 17px; line-height: 1.4; color: var(--muted); }
.card-go { position: absolute; z-index: 3; top: 26px; right: 26px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--ink); font-size: 21px; transition: transform .35s var(--spring); }
a.card .card-title { margin-right: 56px; }
a.card:hover .card-go { transform: rotate(45deg) scale(1.06); }
.card-visual { position: relative; flex: 1; margin-top: 28px; }
/* los móviles salen de abajo, algo girados, como los del hero */
.card .phone { position: absolute; top: 0; right: 8%; width: min(270px, 52%); transform: rotate(var(--tilt, 5deg)); transition: transform .5s var(--spring); }
a.card:hover .phone { transform: rotate(calc(var(--tilt, 5deg) * .5)) translateY(-14px); }
.tilt-l { --tilt: -5deg; }

/* ─── Cierre: titular grande, invitación y enlaces ─── */
.closing-title { font-size: clamp(46px, 7vw, 104px); font-weight: 800; line-height: .98; letter-spacing: -.05em; }
.closing-title .sticker { margin-top: .08em; }
.closing-sub { margin-top: 26px; max-width: 40ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; color: var(--muted-ink); text-wrap: pretty; }
.closing-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }
.closing-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin-top: 26px; font-size: 17px; }
.closing-links a { color: var(--graphite); font-weight: 600; text-decoration: none; }
.closing-links a:hover { text-decoration: underline; }
.closing-links small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 500; color: var(--gray); }

/* Pie: claro, siguiendo al cierre */
footer { background: var(--paper); color: var(--graphite); padding: 0 0 44px; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-top: 44px; border-top: 1px solid var(--rule); }
.foot-brand .brand { margin: 0 0 16px; }
.foot-brand p { color: var(--gray); font-size: 14.5px; max-width: 34ch; }
/* las redes: fichas redondas como las tarjetas de «Más de Meulify», con el logo de un color */
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--graphite); background: var(--white); box-shadow: inset 0 0 0 1px var(--rule); transition: color .2s, box-shadow .2s, transform .2s; }
.foot-social a:hover { color: #000; box-shadow: inset 0 0 0 1px #b8b8be; transform: translateY(-1px); }
.foot-social .ico { font-size: 18px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(128px, auto)); gap: 44px; }
.foot-cols h5 { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--graphite); margin-bottom: 14px; }
.foot-cols ul { list-style: none; display: grid; gap: 9px; }
.foot-cols a { color: var(--muted-ink); text-decoration: none; font-size: 15px; }
.foot-cols a:hover { color: #000; text-decoration: underline; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--gray); }

/* Miniplayer de Meulify: aparece al dejar atrás el hero */
.miniplayer {
    position: fixed;
    z-index: 90;
    left: 50%;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: min(440px, calc(100% - 24px));
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 24px;
    color: var(--white);
    text-decoration: none;
    transform: translate(-50%, 140%);
    transition: transform .5s var(--spring);
    overflow: hidden;
}
.miniplayer.show { transform: translate(-50%, 0); }
.mp-logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #1a1a1a; flex-shrink: 0; }
.mp-logo img { width: 34px; height: 34px; border-radius: 50%; }
.mp-meta { flex: 1; min-width: 0; line-height: 1.2; }
.mp-meta b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.mp-meta small { display: block; font-size: 13.5px; color: rgba(255,255,255,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-cta { flex-shrink: 0; padding: 12px 18px; border-radius: 999px; background: var(--green); color: var(--ink); font-weight: 800; font-size: 15px; letter-spacing: -.01em; }

/* Contacto */
.popup-overlay { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.popup { display: none; position: fixed; z-index: 1000; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 36px 44px; border-radius: 28px; background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line), 0 30px 80px rgba(0,0,0,.6); text-align: center; }
.popup p { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: var(--muted); }
.popup a { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--green); }
.popup-close { position: absolute; top: 10px; right: 14px; font-size: 26px; line-height: 1; padding: 4px; cursor: url('/assets/raton_dedo.png') 4 0, pointer; }

/* Entradas: todo está pintado desde el primer fotograma; solo se coloca */
.settle { transition: transform .8s var(--spring); }
.settle:not(.in) { transform: translateY(26px); }
.settle.in .sticker { animation: slap .6s var(--spring) .1s both; }

@keyframes slap { 0% { transform: rotate(-6deg) scale(1.07); } 100% { transform: rotate(-2.2deg) scale(1); } }

/* ─── Páginas: arriba la noche con la app a la vista; abajo una hoja de papel que sube, como las de la app ─── */
.page-hero { position: relative; padding: 150px 0 120px; overflow: hidden; isolation: isolate; }
.page-glow { position: absolute; z-index: -1; right: -12%; top: -10%; width: min(980px, 120vw); aspect-ratio: 1; object-fit: cover; opacity: .5; filter: blur(80px) saturate(1.5); -webkit-mask: radial-gradient(closest-side, #000 30%, transparent); mask: radial-gradient(closest-side, #000 30%, transparent); pointer-events: none; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.page-title { font-size: clamp(46px, 6.2vw, 92px); font-weight: 800; line-height: .98; letter-spacing: -.048em; text-wrap: balance; }
.page-title .sticker { margin-top: .08em; }
.page-sub { margin-top: 24px; max-width: 34ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; letter-spacing: -.01em; color: var(--muted); text-wrap: pretty; }
.page-sub b { color: var(--white); font-weight: 700; }
.page-hero .stores { justify-content: flex-start; margin-top: 34px; }
.page-art { display: grid; place-items: center; }
.page-art .phone { width: clamp(250px, 23vw, 320px); transform: rotate(4deg); }
/* sin móvil (preguntas, hoja de ruta, textos legales): el titular centrado */
.page-hero.solo { padding-bottom: 110px; text-align: center; }
.page-hero.solo .page-hero-grid { grid-template-columns: 1fr; justify-items: center; }
.page-hero.solo .page-sub { max-width: 42ch; }

/* lo que puedes hacer: tarjetas de noche numeradas, como los pasos de Mods */
.points { padding: 10px 0 150px; }
.points-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.points-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.page-hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.tile { padding: 30px 30px 34px; border-radius: 28px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line), inset 0 1px 0 rgba(255,255,255,.06); }
.tile .num { display: block; margin-bottom: 22px; color: var(--green); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tile h3 { font-size: 23px; font-weight: 800; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.tile p { margin-top: 10px; color: var(--muted); font-size: 16.5px; line-height: 1.45; }

/* sobre papel, las tarjetas son blancas con filo gris, y el verde del número se oscurece para leerse */
.on-light .tile { background: var(--white); box-shadow: inset 0 0 0 1px var(--rule); }
.on-light .tile p { color: var(--muted-ink); }
.on-light .tile .num { color: #0e9f4b; }

/* la hoja de papel: sube sobre la noche con las esquinas redondas */
.paper { position: relative; z-index: 1; margin-top: -44px; padding: 120px 0 130px; border-radius: 44px 44px 0 0; background: var(--paper); color: var(--graphite); }
.paper .sec-sub { color: var(--muted-ink); }
.paper + .paper { margin-top: 0; padding-top: 0; border-radius: 0; }

/* preguntas: un acordeón limpio, la respuesta en gris */
.faq { margin-top: 44px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; list-style: none; font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; cursor: url('/assets/raton_dedo.png') 4 0, pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--graphite) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='white' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { max-width: 66ch; padding: 0 0 30px; color: var(--muted-ink); font-size: 17.5px; line-height: 1.55; }
.faq .answer p + p { margin-top: 12px; }
.faq .answer a { color: var(--graphite); font-weight: 600; }

/* sobre claro, la tienda del móvil va en grafito y las demás en blanco */
.on-light .store { background: var(--white); color: var(--graphite); box-shadow: inset 0 0 0 1px var(--rule); }
.on-light .store:hover { background: var(--white); box-shadow: inset 0 0 0 1px #b8b8be; }
.on-light .store.primary { background: var(--graphite); color: var(--white); box-shadow: none; }

/* cierre de cada página: la invitación y el resto de Meulify */
.page-end { padding: 40px 0 120px; text-align: center; }
.page-end .closing-title { font-size: clamp(42px, 6vw, 88px); }
.page-end .closing-sub { margin-inline: auto; }
.page-end .stores { margin-top: 34px; }
.more { margin-top: 90px; text-align: left; }
.more h2 { font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--gray); }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 16px; }
.more-grid a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--rule); color: var(--graphite); font-size: 17px; font-weight: 700; letter-spacing: -.015em; text-decoration: none; transition: transform .25s var(--spring), box-shadow .2s; }
.more-grid a:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #b8b8be, 0 14px 30px -18px rgba(0,0,0,.3); }
.more-grid .ico { font-size: 18px; color: var(--gray); }

/* textos legales: lectura cómoda sobre papel */
.prose { max-width: 74ch; margin: 0 auto; font-size: 17.5px; line-height: 1.65; color: var(--muted-ink); }
.prose h2 { margin: 52px 0 14px; color: var(--graphite); font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.prose h3 { margin: 30px 0 10px; color: var(--graphite); font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.prose > :first-child { margin-top: 0; }
.prose p + p, .prose ul, .prose ol, .prose table { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose strong, .prose b { color: var(--graphite); }
.prose a { color: var(--graphite); font-weight: 600; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.prose th { color: var(--graphite); }

/* ─── Responsive ─── */
@media (max-width: 1080px) {
    .nav-links { display: none; }
    .bento > .card { grid-column: span 6; }
    .bento > .card:first-child, .bento > .md-full { grid-column: span 12; }
}
@media (max-width: 900px) {
    .page-hero-grid { grid-template-columns: 1fr; gap: 64px; }
    .page-art .phone { width: min(64vw, 290px); }
    .points-grid, .points-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .page-hero { padding: 124px 0 96px; }
    .page-title { font-size: 12vw; }
    .points { padding-bottom: 110px; }
    .points-grid, .points-grid.four { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
    .tile { padding: 26px 24px 28px; border-radius: 24px; }
    .paper { margin-top: -32px; padding: 88px 0 100px; border-radius: 32px 32px 0 0; }
    .faq summary { padding: 22px 0; }
    .more { margin-top: 64px; }
    /* minmax(0, …): una palabra larga («colaborativas») no ensancha su columna y empuja la otra fuera */
    .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .more-grid a { padding: 16px; font-size: 15.5px; border-radius: 18px; }
    .more-grid a span { min-width: 0; -webkit-hyphens: auto; hyphens: auto; }
    body { font-size: 17px; }
    .nav-actions .btn-sm, .lang-switcher { display: none; }
    .mobile-menu-btn { display: block; }
    .nav-pill { height: 58px; }
    .stores { width: 100%; }
    .store { flex: 1 1 100%; justify-content: center; }
    .store:not(.primary) { flex-basis: calc(50% - 6px); padding: 0 10px; gap: 8px; }
    .store:not(.primary) b { font-size: 16px; }
    .store:not(.primary) svg, .store:not(.primary) img { width: 23px; height: 23px; }
    .bento { gap: 16px; margin-top: 40px; }
    .bento > .card { grid-column: span 12; }
    .card { min-height: 440px; padding: 26px 24px 0; border-radius: 26px; }
    .tall { min-height: 500px; }
    .card-go { top: 20px; right: 20px; width: 42px; height: 42px; }
    .card .phone { width: min(230px, 58%); right: 10%; }
    .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .mp-cta { padding: 10px 13px; font-size: 13.5px; }
    .mp-meta small { font-size: 12.5px; }
}

@media (max-width: 359px) {
    .more-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
    .settle:not(.in) { transform: none; }
}
