/* ============================================================
   Nteon - sitio principal
   Estilo de páginas de empresa como Meta y Google: fotos grandes,
   una idea por pantalla, Winteon, historia, noticias y equipo.
   Fuentes alojadas en el propio dominio (SIL Open Font License).
   ============================================================ */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/figtree-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/figtree-400-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; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/figtree-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/figtree-500-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; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/figtree-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/figtree-600-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; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/bricolage-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/bricolage-600-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; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/bricolage-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/bricolage-700-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; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/bricolage-800-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/bricolage-800-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; }
/* Como Meta y Google: blanco limpio, fotos a todo lo ancho, una idea por
   pantalla, el producto mostrado de verdad, historia, noticias y equipo. */
:root {
  --bg: #FFFFFF;
  --soft: #F4F2ED;
  --ink: #14161A;
  --muted: #5E6068;
  --line: #E7E1D6;
  --navy: #042C53;
  --electric: #378ADD;
  --link: #2A72B8;
  --coral: #FF7A59;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--electric); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* Escala de tipo: un tamaño protagonista por pantalla, el resto en segundo plano */
.t-hero { font-size: clamp(2.6rem, 6.2vw, 5.4rem); font-weight: 600; letter-spacing: -.042em; line-height: 1.02; }
.t-1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); font-weight: 600; letter-spacing: -.038em; line-height: 1.06; }
.t-2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; }
.t-lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); }
.kicker { font-size: 14px; font-weight: 600; color: var(--muted); }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--navy); color: #FFFFFF; font: 600 15px var(--sans); cursor: pointer; transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.pill:hover { background: #063A6B; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(4, 44, 83, .6); }
.pill--light { background: #FFFFFF; color: var(--navy); }
.pill--light:hover { background: #EEF3F8; }
.pill--sm { height: 38px; padding: 0 18px; font-size: 14px; }
.more { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--link); font-weight: 600; }
.more::after { content: "›"; font-size: 1.15em; transition: transform .3s var(--ease); }
.more:hover::after { transform: translateX(3px); }

/* ---------- Menú ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid rgba(20, 22, 26, .07); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.brand svg { width: 24px; height: auto; }
.brand span { font-family: "Bricolage Grotesque", var(--sans); font-weight: 800; font-size: 1.32rem; letter-spacing: -.035em; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; color: var(--muted); }
.nav__links a:not(.pill) { position: relative; transition: color .25s var(--ease); }
.nav__links a:not(.pill):hover { color: var(--ink); }

/* ---------- Portada ---------- */
.hero { position: relative; display: grid; align-items: end; min-height: min(760px, 88vh); overflow: hidden; color: #FFFFFF; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slowzoom 22s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 13, 26, .1) 30%, rgba(2, 13, 26, .72)); }
.hero__in { position: relative; z-index: 1; padding-block: 96px 72px; }
.hero h1 { max-width: 13ch; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; }
.hero__row p { max-width: 30em; color: rgba(255, 255, 255, .82); font-size: 1.1rem; }

/* ---------- Lo que creemos: se ilumina palabra por palabra ---------- */
.believe { padding-block: clamp(88px, 10vw, 140px); }
.believe .kicker { margin-bottom: 22px; }
.believe .t-1 { max-width: 22ch; }
.js .believe .w { opacity: .4; transition: opacity .35s linear; }
.js .believe .w.on { opacity: 1; }
.believe .t-lead { max-width: 34em; margin-top: 26px; }

/* ---------- La obra de la N ---------- */
.build { position: relative; display: grid; place-items: center; text-align: center; padding: clamp(80px, 9vw, 120px) 24px; overflow: hidden; background: var(--navy); color: #FFFFFF; }
.build::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(126, 182, 236, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(126, 182, 236, .07) 1px, transparent 1px); background-size: 32px 32px; }
.build > * { position: relative; }
.build .bp { width: min(230px, 52vw); cursor: pointer; }
.build h2 { margin-top: 32px; max-width: 16ch; }
.build p { margin-top: 16px; color: #C3D3E4; font-size: 1.15rem; }

/* ---------- Producto ---------- */
.product { padding-block: clamp(88px, 10vw, 140px) 0; text-align: center; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: #FFF0EB; color: #9A3A22; font-size: 14px; font-weight: 600; }
.status i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.status i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--coral); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3); opacity: 0; } }
.product h2 { margin: 22px auto 0; max-width: 18ch; }
.wbrand { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.wtile { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #14171C; box-shadow: 0 16px 32px -18px rgba(20, 23, 28, .7); }
.wtile svg { width: 42px; height: auto; }
.wname { font-family: "Bricolage Grotesque", var(--sans); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.04em; color: #14171C; }
.status { display: flex; width: fit-content; margin-inline: auto; }
.app__w { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #14171C; }
.app__w svg { width: 21px; height: auto; }
.product .t-lead { max-width: 36em; margin: 20px auto 0; }
.product__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.product__cta .pill--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px #C9D3DE; }
.product__cta .pill--ghost:hover { background: #F2F6FA; }

/* Marco de navegador con la pantalla real del producto */
.device { margin: 56px auto 0; max-width: 1080px; border-radius: 18px; background: #DCD9CE; padding: 10px; box-shadow: 0 40px 80px -40px rgba(4, 44, 83, .35); }
.device__bar { display: flex; align-items: center; gap: 6px; padding: 2px 6px 10px; }
.device__bar span { width: 10px; height: 10px; border-radius: 50%; background: #B9B5A8; }
.device__bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: #6A6E76; background: #ECEAE2; padding: 3px 14px; border-radius: 6px; }
.device__screen.is-crop { aspect-ratio: 860 / 390; }
.device__screen { position: relative; aspect-ratio: 1280 / 720; overflow: hidden; border-radius: 10px; background: #ECEAE2; }
.app { position: absolute; top: 0; left: 0; width: 1280px; height: 720px; transform-origin: 0 0; padding: 22px 28px; display: flex; flex-direction: column; gap: 16px; font-family: "Figtree", system-ui, sans-serif; color: #14171C; font-variant-numeric: tabular-nums; text-align: left; }
.app .d { font-family: "Bricolage Grotesque", "Figtree", sans-serif; }
.app__top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.app__logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.app__logo i { width: 32px; height: 32px; border-radius: 10px; background: #14171C; display: grid; place-items: center; }
.app__logo i::after { content: ""; width: 13px; height: 13px; border-radius: 50%; background: #D4F23C; }
.app__tabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: #F6F5EF; }
.app__tabs span { padding: 8px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #4B5058; }
.app__tabs span.on { background: #14171C; color: #FFFFFF; }
.app__meta { font-size: 13px; color: #4B5058; display: flex; align-items: center; gap: 12px; }
.app__meta b { padding: 8px 15px; border-radius: 999px; background: #F6F5EF; font-weight: 600; color: #14171C; }
.app__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.acard { background: #FFFFFF; border-radius: 22px; box-shadow: 0 1px 0 #E0DDD1, 0 8px 24px -12px rgba(20, 23, 28, .18); }
.alb { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6A6E76; }
.achip { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }

/* ---------- Momentos del producto ---------- */
.moments { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 72px; text-align: left; }
.mo { position: relative; overflow: hidden; border-radius: 28px; background: var(--soft); padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.mo h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.mo p { color: var(--muted); font-size: 1.02rem; max-width: 30em; }
.mo--tv { grid-column: 1 / -1; min-height: 520px; justify-content: flex-end; color: #FFFFFF; background: #0B1118; }
.mo--tv > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.mo--tv.is-in > img { transform: none; }
.mo--tv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 18, .86) 0%, rgba(8, 12, 18, .5) 50%, rgba(8, 12, 18, .1) 100%); }
.mo--tv .mo__txt { position: relative; z-index: 1; max-width: 26em; }
.mo--tv p { color: rgba(255, 255, 255, .8); }

/* El TV de la tienda con el ranking */
.tv { position: absolute; z-index: 1; right: clamp(20px, 5vw, 64px); top: 50%; width: min(440px, 46%); transform: translateY(-50%) perspective(1200px) rotateY(-10deg); border: 10px solid #111; border-radius: 14px; background: #14171C; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .7); padding: 18px 18px 16px; font-family: "Figtree", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.tv__head { display: flex; justify-content: space-between; align-items: baseline; color: #FFFFFF; }
.tv__head b { font-family: "Bricolage Grotesque", sans-serif; font-size: 18px; letter-spacing: -.02em; }
.tv__head span { font-size: 12px; color: #9CA3AE; }
.tv__goal { margin: 12px 0; padding: 12px 14px; border-radius: 12px; background: #D4F23C; color: #14171C; display: flex; justify-content: space-between; align-items: baseline; }
.tv__goal small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tv__goal b { font-family: "Bricolage Grotesque", sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.tv__row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; margin-top: 6px; border-radius: 999px; background: #1F242C; color: #FFFFFF; font-size: 13px; }
.tv__row i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 600; color: #14171C; }
.tv__row span { flex: 1; font-weight: 600; }
.tv__row em { font-style: normal; font-weight: 600; font-family: "Bricolage Grotesque", sans-serif; }
.js .mo--tv:not(.is-in) .tv__row { opacity: 0; transform: translateX(16px); }
.tv__row { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.tv__row:nth-of-type(4) { transition-delay: .15s; } .tv__row:nth-of-type(5) { transition-delay: .3s; }

/* Comisión explicada, como un recibo */
.receipt { margin-top: auto; border-radius: 18px; background: #FFFFFF; box-shadow: 0 1px 0 #E0DDD1, 0 16px 32px -20px rgba(20, 23, 28, .25); padding: 20px 22px; font-family: "Figtree", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.receipt__who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.receipt__who i { width: 30px; height: 30px; border-radius: 50%; background: #D4F23C; display: grid; place-items: center; font-style: normal; font-size: 11px; }
.receipt__who span { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: #DDF5E4; color: #17803F; font-size: 12px; }
.receipt dl { margin: 14px 0 0; font-size: 14px; }
.receipt dl div { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px dashed #E0DDD1; }
.receipt dt { color: #6A6E76; }
.receipt dd { margin: 0; font-weight: 600; }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 12px; border-top: 2px solid #14171C; }
.receipt__total code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 13px; color: #4B5058; }
.receipt__total b { font-family: "Bricolage Grotesque", sans-serif; font-size: 26px; letter-spacing: -.02em; }
.js .mo--rc:not(.is-in) .receipt dl div, .js .mo--rc:not(.is-in) .receipt__total { opacity: 0; transform: translateY(8px); }
.receipt dl div, .receipt__total { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.receipt dl div:nth-child(2) { transition-delay: .12s; } .receipt dl div:nth-child(3) { transition-delay: .24s; } .receipt__total { transition-delay: .4s; }

/* El correo de cada mañana */
.mail-card { margin-top: auto; border-radius: 18px; background: #FFFFFF; box-shadow: 0 1px 0 #E0DDD1, 0 16px 32px -20px rgba(20, 23, 28, .25); overflow: hidden; font-family: "Figtree", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.mail-card__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #F0EEE6; font-size: 13px; color: #6A6E76; }
.mail-card__head i { width: 28px; height: 28px; border-radius: 9px; background: #14171C; display: grid; place-items: center; }
.mail-card__head i::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #D4F23C; }
.mail-card__head b { color: #14171C; }
.mail-card__head span { margin-left: auto; }
.mail-card__body { padding: 16px 18px 18px; }
.mail-card__body strong { display: block; font-size: 16px; }
.mail-card__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.mail-card__grid div { padding: 10px 12px; border-radius: 12px; background: #F6F5EF; }
.mail-card__grid small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #6A6E76; }
.mail-card__grid b { font-family: "Bricolage Grotesque", sans-serif; font-size: 19px; letter-spacing: -.02em; }
.js .mo--ml:not(.is-in) .mail-card { transform: translateY(24px) rotate(-1.5deg); opacity: 0; }
.mail-card { transition: transform 1s var(--ease), opacity 1s var(--ease); }

/* ---------- Trabajo con empresas ---------- */
.work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(88px, 10vw, 140px); }
.work__img { aspect-ratio: 4 / 3.6; border-radius: 28px; overflow: hidden; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .work__img img { transform: scale(1.03); }
.work h2 { margin-top: 14px; }
.work .t-lead { margin-top: 18px; max-width: 30em; }
.work .more { margin-top: 24px; }

/* Banda de foto a todo lo ancho, para dar ritmo */
.band { height: clamp(260px, 38vw, 520px); overflow: hidden; }
.band img { width: 100%; height: 120%; object-fit: cover; }

/* ---------- Lo que nos importa ---------- */
.care { padding-block: clamp(88px, 10vw, 140px); }
.care ul { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.care li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.care h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -.028em; line-height: 1.18; }
.care p { color: var(--muted); font-size: 1.12rem; padding-top: 4px; }

/* ---------- La marca en video ---------- */
.fold { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-bottom: clamp(88px, 10vw, 140px); }
.fold__video { aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: var(--navy); }
.fold__video video { width: 100%; height: 100%; object-fit: cover; }
.fold .t-lead { margin-top: 18px; max-width: 30em; }
.fold .more { margin-top: 24px; }

/* ---------- Historia ---------- */
.history { padding-bottom: clamp(88px, 10vw, 140px); }
.history ol { position: relative; list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.history ol::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--line); }
.history ol::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--navy); transform-origin: left; transform: scaleX(1); transition: transform 1.6s var(--ease); }
.js .history:not(.is-in) ol::after { transform: scaleX(0); }
.history li { position: relative; padding: 32px 28px 0 0; }
.history li::before { content: ""; position: absolute; top: -6px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 5px #FFFFFF; }
.history li.now::before { background: var(--coral); box-shadow: 0 0 0 5px #FFFFFF, 0 0 0 9px rgba(255, 122, 89, .22); }
.history .yr { display: block; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; color: var(--navy); }
.history li.now .yr { color: #C2502F; }
.history small { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.history h3 { margin-top: 14px; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }

/* ---------- Desde El Salvador ---------- */
.place { position: relative; display: grid; align-items: end; min-height: 520px; margin-bottom: clamp(88px, 10vw, 140px); border-radius: 32px; overflow: hidden; background: var(--navy); color: #FFFFFF; }
.place { min-height: clamp(480px, 52vw, 640px); }
.place__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.place.is-in .place__photo { transform: none; }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 13, 26, .78) 0%, rgba(2, 13, 26, .35) 55%, rgba(2, 13, 26, 0) 80%), linear-gradient(0deg, rgba(2, 13, 26, .45), transparent 45%); }
.place__txt { z-index: 1; }
.place__credit { position: absolute; z-index: 1; right: 18px; bottom: 14px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.place__txt { position: relative; padding: clamp(32px, 5vw, 56px); max-width: 640px; }
.place__txt small { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: #7EB6EC; }
.place__txt h2 { margin-top: 14px; }
.place__txt p { margin-top: 16px; color: #C3D3E4; font-size: 1.1rem; }

/* ---------- Noticias ---------- */
.news { padding-bottom: clamp(88px, 10vw, 140px); }
.news__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 32px; }
.post__img { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: var(--soft); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__img--brand { display: grid; place-items: center; background: var(--navy); }
.post__img--brand svg { width: 30%; height: auto; transition: transform 1s var(--ease); }
.post:hover .post__img--brand svg { transform: scale(1.08); }
.post time { display: block; margin-top: 18px; font-size: 14px; color: var(--muted); }
.post h3 { margin-top: 6px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; transition: color .3s var(--ease); }
.post p { margin-top: 8px; color: var(--muted); font-size: .98rem; }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(88px, 10vw, 140px); border-top: 1px solid var(--line); }
.team .t-lead { margin-top: 18px; }
.person { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #FFFFFF; font-weight: 600; font-size: 1.1rem; }
.person b { display: block; font-weight: 600; }
.person span { color: var(--muted); font-size: 15px; }
.team__img { aspect-ratio: 4 / 3.4; border-radius: 28px; overflow: hidden; }
.team__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Novedades ---------- */
.subscribe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(32px, 5vw, 60px); border-radius: 32px; background: var(--soft); margin-bottom: clamp(88px, 10vw, 140px); }
.subscribe .t-lead { margin-top: 10px; }
.subscribe form { display: flex; gap: 10px; }
.subscribe label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.subscribe input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 1px solid #CFC7B8; border-radius: 999px; font: inherit; font-size: 15px; background: #FFFFFF; color: var(--ink); }
.subscribe input:focus { outline: 2px solid var(--electric); outline-offset: 1px; }
.subscribe .msg { margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* ---------- Pie ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 56px 28px; font-size: 14px; color: var(--muted); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.brand--lg svg { width: 34px; }
.brand--lg span { font-size: 1.9rem; }
.foot__mail { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; color: var(--ink); background: linear-gradient(var(--coral), var(--coral)) no-repeat 0 100% / 0 2px; transition: background-size .5s var(--ease); }
.foot__mail:hover { background-size: 100% 2px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--soft); color: var(--navy); transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.social a:hover { background: var(--navy); color: #FFFFFF; transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.foot__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
.foot__cols b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 10px; }
.foot__cols a { display: block; padding: 3px 0; }
.foot__cols a:hover { color: var(--ink); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); }


/* Botón de menú (solo en pantallas angostas) */
.nav__toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
.nav__toggle:hover { background: var(--soft); }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Movimiento ---------- */
/* Menú que se esconde al bajar y vuelve al subir */
.nav { transition: transform .45s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }

/* Portada: el título sube línea por línea al cargar */
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln span { display: block; animation: lineUp 1.1s var(--ease) both; }
.hero h1 .ln:nth-child(2) span { animation-delay: .12s; }
.hero h1 .ln:nth-child(3) span { animation-delay: .24s; }
.hero__row { animation: fadeUp 1s var(--ease) .5s both; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Entradas al hacer scroll: solo para lo que empieza fuera de pantalla */
.rv { transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--dl, 0s); }
.rv.is-wait { opacity: 0; transform: translateY(32px); }

/* El marco del producto se endereza al subir, como en las páginas de Apple */
.device-stage { perspective: 1600px; }
.device { transform-origin: 50% 0; will-change: transform; }

/* Dentro del producto: la línea se dibuja, las barras crecen, el anillo se llena */
.app .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.app.is-on .draw { transition: stroke-dashoffset 1.8s var(--ease) .2s; stroke-dashoffset: 0; }
.app .area { opacity: 0; }
.app.is-on .area { opacity: 1; transition: opacity 1s var(--ease) 1.2s; }
.app .bar { transform: scaleX(0); transform-origin: left; }
.app.is-on .bar { transform: none; transition: transform 1.2s var(--ease); }
.app.is-on .rk:nth-child(2) .bar { transition-delay: .1s; }
.app.is-on .rk:nth-child(3) .bar { transition-delay: .2s; }
.app.is-on .rk:nth-child(4) .bar { transition-delay: .3s; }
.app.is-on .rk:nth-child(5) .bar { transition-delay: .4s; }
.app.is-on .rk:nth-child(6) .bar { transition-delay: .5s; }
.app .ring { stroke-dashoffset: 264; }
.app.is-on .ring { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) .4s; }
.app .hoy { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; }
.app.is-on .hoy { opacity: 1; transform: none; transition: opacity .4s 1.8s, transform .6s var(--ease) 1.8s; }
.app .lima { transform: translateY(14px); opacity: 0; }
.app.is-on .lima { transform: none; opacity: 1; transition: transform .9s var(--ease) .5s, opacity .9s .5s; }

/* Historia: los puntos aparecen uno detrás del otro siguiendo la línea */
.js .history:not(.is-in) li::before { transform: scale(0); }
.history li::before { transition: transform .5s var(--ease); }
.history li:nth-child(2)::before { transition-delay: .4s; }
.history li:nth-child(3)::before { transition-delay: .8s; }
.history li:nth-child(4)::before { transition-delay: 1.2s; }

/* Botones con brillo que cruza al pasar el mouse */
.pill { position: relative; overflow: hidden; }
.pill::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.pill:hover::after { left: 130%; }

@media (max-width: 900px) {
  .moments { grid-template-columns: 1fr; }
  .mo--tv { min-height: 640px; justify-content: flex-end; }
  .tv { top: 32px; right: 50%; width: min(380px, 84%); transform: translateX(50%); }
  .mo--tv::after { background: linear-gradient(0deg, rgba(8, 12, 18, .9) 0%, rgba(8, 12, 18, .4) 55%, rgba(8, 12, 18, .2) 100%); }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px;
    background: #FFFFFF; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(4, 44, 83, .25);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.pill) { display: block !important; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; color: var(--ink); }
  .nav__links .pill { margin-top: 18px; height: 46px; }
  .work, .fold, .team, .subscribe, .care li { grid-template-columns: 1fr; }
  .care li { gap: 10px; }
  .history ol { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .news__grid { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .subscribe form { flex-direction: column; }
  .history ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .status i::after { display: none; }
  .js .believe .w { opacity: 1; }
  .rv.is-wait { opacity: 1; transform: none; }
  .app .draw, .app .ring { stroke-dashoffset: 0; }
  .app .area, .app .hoy, .app .lima { opacity: 1; transform: none; }
  .app .bar { transform: none; }
  .js .history:not(.is-in) li::before { transform: none; }
  .js .mo:not(.is-in) .tv__row, .js .mo:not(.is-in) .receipt dl div, .js .mo:not(.is-in) .receipt__total, .js .mo:not(.is-in) .mail-card { opacity: 1; transform: none; }
}

.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacidad { margin-top: 8px; font-size: 13px; color: var(--muted); }
.subscribe .msg--ok { color: #17803F; }
.subscribe .msg--error { color: #B3261E; }
.pill[disabled] { opacity: .65; cursor: progress; }

/* ---------- Utilidades generadas desde el mockup (antes eran estilos en línea) ---------- */
.u-1 { display:flex;align-items:center;gap:6px }
.u-2 { width:9px;height:9px;border-radius:50%;background:#1E8E4E }
.u-3 { height:300px }
.u-4 { grid-column:span 8;background:#14171C;color:#FFFFFF;padding:22px 26px;display:flex;flex-direction:column }
.u-5 { color:#9CA3AE }
.u-6 { display:flex;align-items:baseline;gap:14px;margin-top:4px }
.u-7 { font-size:54px;font-weight:600;letter-spacing:-.03em;line-height:1 }
.u-8 { background:#3A1C19;color:#FF8A7D }
.u-9 { font-size:14px;color:#C5CAD3;margin-top:6px }
.u-10 { color:#FFFFFF }
.u-11 { flex-grow:1;position:relative;margin-top:8px }
.u-12 { position:absolute;inset:0;width:100%;height:100% }
.u-13 { --len:1000 }
.u-14 { grid-column:span 4;display:flex;flex-direction:column;gap:16px }
.u-15 { flex:1;background:#D4F23C;padding:18px 22px;display:flex;flex-direction:column;justify-content:space-between }
.u-16 { color:#3D4A00 }
.u-17 { font-size:46px;font-weight:800;letter-spacing:-.03em;line-height:1 }
.u-18 { font-size:18px;font-weight:600 }
.u-19 { font-size:13px;color:#2B3300;font-weight:500 }
.u-20 { flex:1;padding:16px 22px;display:flex;align-items:center;gap:18px }
.u-21 { font-size:30px;font-weight:600;letter-spacing:-.02em }
.u-22 { font-size:12.5px;color:#6A6E76 }
.u-23 { flex-grow:1;padding:18px 24px }
.u-24 { display:flex;justify-content:space-between;align-items:baseline;padding-bottom:6px }
.u-25 { font-size:19px;font-weight:600 }
.u-26 { font-size:12px;color:#6A6E76 }
.u-27 { display:flex;align-items:center;gap:14px;padding:6px 0;border-top:1px solid #F0EEE6 }
.u-28 { width:16px;font-size:13px;font-weight:600;color:#6A6E76 }
.u-29 { width:32px;height:32px;border-radius:50%;background:#D4F23C;display:grid;place-items:center;font-size:12px;font-weight:600 }
.u-30 { width:130px }
.u-31 { font-size:14px;font-weight:600 }
.u-32 { flex-grow:1;position:relative;height:10px;border-radius:5px;background:#F0EEE6 }
.u-33 { width:89.5%;height:10px;border-radius:5px;background:#17803F }
.u-34 { position:absolute;left:68%;top:-4px;width:2px;height:18px;background:#14171C }
.u-35 { width:58px;text-align:right;font-size:17px;font-weight:600;color:#17803F }
.u-36 { width:70px;text-align:center;background:#DDF5E4;color:#17803F }
.u-37 { width:32px;height:32px;border-radius:50%;background:#F7C6D0;display:grid;place-items:center;font-size:12px;font-weight:600 }
.u-38 { width:79.9%;height:10px;border-radius:5px;background:#8A4B00 }
.u-39 { width:58px;text-align:right;font-size:17px;font-weight:600;color:#8A4B00 }
.u-40 { width:70px;text-align:center;background:#FCEBC5;color:#8A4B00 }
.u-41 { width:32px;height:32px;border-radius:50%;background:#C9DDFB;display:grid;place-items:center;font-size:12px;font-weight:600 }
.u-42 { width:70.9%;height:10px;border-radius:5px;background:#8A4B00 }
.u-43 { width:32px;height:32px;border-radius:50%;background:#FCE3A4;display:grid;place-items:center;font-size:12px;font-weight:600 }
.u-44 { width:65.8%;height:10px;border-radius:5px;background:#C42A1C }
.u-45 { width:58px;text-align:right;font-size:17px;font-weight:600;color:#C42A1C }
.u-46 { width:70px;text-align:center;background:#FDE3E0;color:#C42A1C }
.u-47 { width:32px;height:32px;border-radius:50%;background:#CFEAD6;display:grid;place-items:center;font-size:12px;font-weight:600 }
.u-48 { width:60.8%;height:10px;border-radius:5px;background:#C42A1C }
.u-49 { margin-top:14px;font-weight:500 }
.u-50 { background:#D4F23C }
.u-51 { color:#D4F23C }
.u-52 { background:#F7C6D0 }
.u-53 { background:#C9DDFB }
.u-54 { color:#FFC857 }
.u-55 { width:28px;height:28px;border-radius:9px }

/* ---------- Página 404 ---------- */
.perdido { min-height: calc(100vh - 72px); display: grid; align-content: center; justify-items: start; gap: 18px; padding-block: 80px; }
.perdido .t-lead { max-width: 30em; }
.perdido__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.perdido .pill--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px #C9D3DE; }
