/* =====================================================================
   COMANDA · styles.css
   Editorial oscuro: azul mar nocturno, espuma y celeste del logo.
   ===================================================================== */

/* =============================================================
   1. Tokens (paleta del logo)
   ============================================================= */
:root {
  --bg:     #0C1524;
  --bg-2:   #101B2D;
  --bg-3:   #15233A;
  --ink:    #F4F0E6;   /* crema del logo */
  --ink-2:  #C6CDD3;
  --ink-3:  #8592A4;
  --teal:   #1F7A99;   /* azul petróleo del logo */
  --sky:    #62BEDB;   /* celeste del logo · CTAs */
  --sky-hot:#A6E2F2;
  --navy:   #101A2C;
  --line:   rgba(244, 240, 230, .11);
  --line-2: rgba(244, 240, 230, .22);

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --sans:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4.2vw, 64px);
  --nav-h:  68px;
  --maxw:   1360px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --glow: 0 0 18px rgba(98, 190, 219, .45);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); color: var(--ink); overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; min-height: 100vh; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-weight: 800; text-wrap: balance; line-height: .95; }
::selection { background: var(--sky); color: var(--navy); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 3px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 10001; padding: .6rem 1rem; background: var(--ink); color: var(--bg); border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* Logo (symbol): colores por variables */
.lg-body { fill: var(--lg-body, #F4F0E6); }
.lg-line { fill: none; stroke: var(--lg-line, #101A2C); stroke-width: 17; stroke-linecap: round; }
.lg-acc  { fill: none; stroke: var(--lg-acc, #62BEDB); stroke-width: 17; stroke-linecap: round; }

/* =============================================================
   3. Tipografía y componentes
   ============================================================= */
.label {
  display: inline-flex; align-items: center; gap: .9em; margin-bottom: 1.4rem;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
}
.label span { color: var(--sky); }
.label::after { content: ""; width: 42px; height: 1px; background: var(--line-2); }

.h-display {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .92; letter-spacing: .005em;
}
.h-display em { font-style: normal; color: var(--sky); }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.28rem); line-height: 1.6; max-width: 54ch; color: var(--ink); }
.h-display + .lead { margin-top: clamp(1.2rem, 2.4vw, 1.8rem); }

.btn {
  --h: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  height: var(--h); padding: 0 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .5s var(--ease-out), background-color .3s, color .3s, box-shadow .4s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .5s var(--ease-out); }
.btn .ico-wa { fill: currentColor; stroke: none; width: 21px; height: 21px; }
.btn:hover svg:not(.ico-wa) { transform: translateX(4px); }
.btn-primary { background: var(--sky); color: var(--navy); box-shadow: 0 12px 40px -12px rgba(98,190,219,.8); }
.btn-primary:hover { background: var(--sky-hot); transform: translateY(-2px); box-shadow: 0 0 26px rgba(98,190,219,.55), 0 18px 46px -14px rgba(98,190,219,.9); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(12,21,36,.35); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(244,240,230,.06); }

/* =============================================================
   4. Ambiente: aurora, grano, cursor, marca lateral
   ============================================================= */
.aurora { position: fixed; inset: -15%; z-index: -1; pointer-events: none; overflow: hidden; }
.au { position: absolute; border-radius: 50%; filter: blur(90px); transform: translate3d(calc(var(--mx, 0) * 40px), calc(var(--my, 0) * 30px), 0); transition: transform 1.6s var(--ease-soft); }
.au::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: auDrift 48s ease-in-out infinite alternate; }
.au-1 { width: 60vmax; height: 50vmax; left: -12%; top: -6%; background: radial-gradient(closest-side, rgba(31,122,153,.32), transparent); }
.au-2 { width: 48vmax; height: 44vmax; right: -14%; top: 28%; background: radial-gradient(closest-side, rgba(98,190,219,.14), transparent); }
.au-3 { width: 40vmax; height: 36vmax; left: 25%; bottom: -12%; background: radial-gradient(closest-side, rgba(244,240,230,.06), transparent); }
.au-2::before { animation-duration: 60s; animation-direction: alternate-reverse; }
.au-3::before { animation-duration: 66s; }
@keyframes auDrift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(8vw,6vh,0) scale(1.15); } 100% { transform: translate3d(-6vw,10vh,0) scale(.92); } }
.grain {
  position: fixed; inset: -50%; z-index: 9990; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-4%,-2%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

.cursor { position: fixed; top: 0; left: 0; z-index: 9995; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease-out); }
.cursor.is-ready { opacity: 1; }
.cursor-ring, .cursor-dot { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(244,240,230,.5); display: grid; place-items: center; transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .3s, border-color .3s; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--sky); }
.cursor-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease-out); }
.cursor.is-hover .cursor-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--sky); border-color: var(--sky); box-shadow: var(--glow); }
.cursor.is-hover .cursor-label { opacity: 1; transform: none; }
.cursor.is-hover .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none !important; } }
html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }
html.has-cursor input { cursor: text; }

.sidemark {
  position: fixed; right: 0; top: 50%; z-index: 900; transform: translateY(-50%); writing-mode: vertical-rl;
  display: none; align-items: center; gap: 12px; padding: 18px 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
  border-left: 1px solid var(--line); background: rgba(12,21,36,.6);
}
.sidemark-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--sky); box-shadow: 0 0 10px var(--sky); animation: pulse 2.2s ease-in-out infinite; display: inline-block; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }

/* =============================================================
   5. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: grid; place-content: center; justify-items: center; gap: 20px;
  transition: opacity .7s var(--ease-out), visibility .7s, clip-path .9s var(--ease-out);
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 4.5s forwards; /* red de seguridad sin JS */
}
.splash.is-out { opacity: 0; visibility: hidden; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-logo { width: 46px; height: 72px; animation: splashLogo .9s var(--ease-out) both; }
@keyframes splashLogo { from { opacity: 0; transform: translateY(18px) rotate(-6deg); } }
.splash-word { display: flex; gap: .04em; font-family: var(--display); font-weight: 900; font-size: clamp(3.2rem, 14vw, 8rem); line-height: .9; letter-spacing: .04em; }
.splash-word span { display: inline-block; opacity: 0; transform: translateY(60%); animation: splashIn .7s var(--ease-out) forwards; }
.splash-word span:nth-child(1){animation-delay:.08s} .splash-word span:nth-child(2){animation-delay:.14s} .splash-word span:nth-child(3){animation-delay:.2s}
.splash-word span:nth-child(4){animation-delay:.26s} .splash-word span:nth-child(5){animation-delay:.32s} .splash-word span:nth-child(6){animation-delay:.38s}
.splash-word span:nth-child(7){animation-delay:.44s; color: var(--sky);}
@keyframes splashIn { to { opacity: 1; transform: none; } }
.splash-bar { width: min(220px, 50vw); height: 1px; background: var(--line); overflow: hidden; }
.splash-bar span { display: block; height: 100%; background: var(--sky); transform-origin: left; transform: scaleX(0); animation: splashBar 1.3s .2s var(--ease-soft) forwards; }
@keyframes splashBar { to { transform: scaleX(1); } }

/* =============================================================
   6. Nav + menú
   ============================================================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 950; height: var(--nav-h); display: flex; align-items: center; gap: 1rem; padding-inline: var(--gutter); border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s; }
.nav.is-scrolled { background: rgba(12,21,36,.94); border-bottom-color: var(--line); }
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .nav.is-scrolled { background: rgba(12,21,36,.68); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.nav-logo { display: flex; align-items: center; gap: 10px; margin-right: auto; flex-shrink: 0; }
.nav-icon { width: 20px; height: 31px; }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: none; gap: clamp(.9rem, 1.8vw, 2rem); margin-right: .8rem; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: var(--ink-2); position: relative; transition: color .3s; white-space: nowrap; }
/* Anchos medianos: el menú completo no entra en una línea → hamburguesa, como en tablet */
@media (min-width: 960px) and (max-width: 1119px) {
  .nav .nav-links { display: none; }
  .nav .nav-burger { display: grid; }
  .menu { display: flex !important; }
}
.nav-links a i, .menu-links a i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--sky); margin-right: .45em; letter-spacing: .06em; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--sky); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: inline-flex; align-items: center; gap: .5em; height: 42px; padding: 0 1.05rem; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 700; font-size: 14px; transition: transform .4s var(--ease-out), box-shadow .4s, background-color .3s; }
.nav-cta svg { width: 18px; height: 18px; fill: currentColor; }
.nav-cta:hover { background: var(--sky-hot); box-shadow: var(--glow); transform: translateY(-1px); }
.nav-burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; margin-right: -8px; }
.nav-burger span { display: block; width: 24px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease-out), width .4s; }
.nav-burger span:last-child { width: 15px; justify-self: end; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { width: 24px; transform: translateY(-4.25px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 940; background: radial-gradient(120% 80% at 100% 0%, rgba(31,122,153,.35), transparent 60%), var(--bg-2); display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--nav-h) + 4vh) var(--gutter) 6vh; clip-path: circle(0% at calc(100% - 40px) 34px); visibility: hidden; transition: clip-path .8s var(--ease-out), visibility 0s .8s; }
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; transition: clip-path .9s var(--ease-out), visibility 0s; }
.menu-links { display: flex; flex-direction: column; gap: .2rem; }
.menu-links a { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.08; display: flex; align-items: baseline; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--ease-out); }
.menu-links a i { min-width: 2.6em; font-family: var(--sans); }
.menu.is-open .menu-links a { opacity: 1; transform: none; }
.menu.is-open .menu-links a:nth-child(2){transition-delay:.05s} .menu.is-open .menu-links a:nth-child(3){transition-delay:.1s}
.menu.is-open .menu-links a:nth-child(4){transition-delay:.15s} .menu.is-open .menu-links a:nth-child(5){transition-delay:.2s} .menu.is-open .menu-links a:nth-child(6){transition-delay:.25s}
.menu-links .menu-cta { color: var(--sky); }
.menu-foot { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); line-height: 2; }

/* =============================================================
   7. Hero
   ============================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 28px) var(--gutter) 60px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -6% 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .55; filter: saturate(1.1) contrast(1.05); transform: scale(1.08); animation: heroZoom 24s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,21,36,.96) 0%, rgba(12,21,36,.72) 50%, rgba(12,21,36,.5) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(12,21,36,0) 40%), linear-gradient(180deg, rgba(12,21,36,.8), rgba(12,21,36,0) 30%); }
.hero-inner { width: 100%; max-width: var(--maxw); margin-inline: auto; display: grid; gap: 2.4rem; }
.hero-kicker { display: inline-flex; align-items: center; gap: .8rem; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1.4rem; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); flex: none; animation: pulse 2.2s ease-in-out infinite; }
.hero-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 12.5vw, 7.6rem); line-height: .88; letter-spacing: .002em; }
.hl { display: block; overflow: hidden; padding-bottom: .04em; }
.hl-i { display: inline-block; }
.hl-acc { color: var(--sky); }
.hero-sub { margin-top: 1.5rem; max-width: 52ch; color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-stage { position: relative; height: min(64vh, 520px); min-height: 380px; }
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s var(--ease-out); }
.has-webgl .stage-canvas { opacity: 1; }
.has-webgl .phone-css { display: none; }
.stage-tag { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }

/* Celular en CSS (respaldo sin WebGL) */
.phone-css { position: absolute; left: 50%; top: 50%; width: min(250px, 60vw); aspect-ratio: 9 / 18.6; transform: translate(-50%, -50%) rotate(-5deg); border-radius: 36px; padding: 10px; background: linear-gradient(145deg, #23344f, #0f192b); box-shadow: 0 0 0 1px rgba(166,226,242,.25), 0 40px 80px -20px rgba(0,0,0,.8), 0 0 60px rgba(98,190,219,.18); }
.phone-css-screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #0b0908; position: relative; }
.phone-css-screen img, .phone-css-screen canvas { width: 100%; height: auto; display: block; animation: screenScroll 22s ease-in-out infinite alternate; }
@keyframes screenScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(calc(-100% + 480px)); } }
.mock { padding: 14px 14px 20px; font-size: 11px; color: #f1e7d3; font-family: var(--sans); }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mock-top b { font-family: var(--display); font-size: 18px; color: #ffc447; letter-spacing: .06em; }
.mock-top i { width: 18px; height: 8px; border-block: 2px solid #f1e7d3; }
.mock-hero { border-radius: 12px; padding: 60px 12px 14px; background: radial-gradient(80% 70% at 70% 20%, rgba(255,196,71,.55), transparent 60%), linear-gradient(160deg, #3a2414, #120d0a); }
.mock-hero p { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 26px; line-height: .9; }
.mock-hero span { display: inline-block; margin-top: 10px; padding: 6px 12px; border-radius: 99px; background: #ffc447; color: #1a1205; font-weight: 700; font-size: 10px; }
.mock-open { margin: 12px 0; color: #5fe0cf; font-size: 10px; }
.mock-h { font-family: var(--display); font-size: 18px; text-transform: uppercase; font-weight: 800; margin-bottom: 6px; }
.mock ul li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(241,231,211,.12); }
.mock em { font-style: normal; color: #ffc447; }
.mock-wa { display: block; margin-top: 16px; text-align: center; padding: 9px; border-radius: 99px; background: #25d366; color: #062b14; font-weight: 700; }

.hero-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 24px; height: 44px; display: none; }
.hero-scroll i { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: linear-gradient(var(--sky), transparent); animation: scrollLine 2.4s var(--ease-soft) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =============================================================
   8. Marquee
   ============================================================= */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding-block: 1.05rem; background: linear-gradient(90deg, var(--bg), rgba(21,35,58,.85), var(--bg)); }
.marquee-track { display: inline-flex; align-items: center; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3.6vw, 2.8rem); letter-spacing: .02em; }
.marquee-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--sky); }
.marquee-track i { width: 22px; height: 22px; margin: 0 1.6rem; flex: none; background: var(--sky); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0 L14.5 9.5 L24 12 L14.5 14.5 L12 24 L9.5 14.5 L0 12 L9.5 9.5 Z'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 0 L14.5 9.5 L24 12 L14.5 14.5 L12 24 L9.5 14.5 L0 12 L9.5 9.5 Z'/></svg>") center / contain no-repeat; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* =============================================================
   9. Secciones (compartido)
   ============================================================= */
.section { position: relative; padding-block: clamp(96px, 13vw, 190px); }
.section > .container { position: relative; z-index: 1; }
.watermark { position: absolute; top: clamp(30px, 5vw, 70px); right: var(--gutter); font-family: var(--display); font-weight: 900; font-size: clamp(10rem, 32vw, 28rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(244,240,230,.07); pointer-events: none; user-select: none; }

/* ---------- 01 Qué incluye ---------- */
.inc-grid { display: grid; gap: 1px; margin-top: clamp(2.6rem, 5vw, 4rem); background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.inc-grid:empty { display: none; }
.inc { position: relative; background: var(--bg); padding: clamp(1.6rem, 3vw, 2.4rem); display: grid; gap: .7rem; align-content: start; transition: background-color .5s; overflow: hidden; }
.inc::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(98,190,219,.18), transparent); opacity: 0; transition: opacity .6s; }
.inc:hover { background: var(--bg-2); }
.inc:hover::before { opacity: 1; }
.inc-ico { width: 52px; height: 52px; fill: none; stroke: var(--sky); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .6rem; }
.inc h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1; }
.inc p { color: var(--ink-2); max-width: 36ch; }
/* Si el último ítem queda solo en su fila, ocupa todo el ancho en formato horizontal */
@media (min-width: 540px) and (max-width: 959px) {
  .inc:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 720px) and (max-width: 959px) {
  .inc:last-child:nth-child(odd) { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.6fr); align-items: center; column-gap: 2rem; }
  .inc:last-child:nth-child(odd) .inc-ico { margin-bottom: 0; }
}
@media (min-width: 960px) {
  .inc:last-child:nth-child(3n+1) { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.6fr); align-items: center; column-gap: 2rem; }
  .inc:last-child:nth-child(3n+1) .inc-ico { margin-bottom: 0; }
  .inc:last-child:nth-child(3n+1) p { max-width: 60ch; }
}
.inc-n { position: absolute; top: 1.2rem; right: 1.4rem; font-size: 12px; font-weight: 700; color: var(--ink-3); letter-spacing: .1em; }
/* icono que se traza (solo con JS activo) */
.js-draw .inc-ico, .js-draw .pf-ico, .js-draw .report-spark path { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-soft); }
.js-draw .is-drawn .inc-ico, .js-draw .is-drawn .pf-ico, .js-draw .is-drawn .report-spark path, .js-draw .is-drawn.report-spark path { stroke-dashoffset: 0; }

/* ---------- 02 Portafolio (horizontal) ---------- */
.work { position: relative; background: linear-gradient(180deg, transparent, rgba(16,27,45,.75) 12%, rgba(16,27,45,.75) 88%, transparent); }
.work-pin { position: relative; display: flex; flex-direction: column; padding-top: clamp(80px, 10vw, 120px); padding-bottom: 3rem; }
.work-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.4rem 2rem; padding-inline: var(--gutter); max-width: var(--maxw); width: 100%; margin-inline: auto; position: relative; z-index: 2; }
.work-head .h-display { font-size: clamp(2.6rem, 6vw, 5rem); }
.work-sub { margin-top: .9rem; color: var(--ink-2); font-size: 1.1rem; }
.progress { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .4rem 1rem; min-width: 220px; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--ink-3); }
.pg-count b { font-family: var(--display); font-size: 2em; color: var(--sky); font-weight: 800; }
.pg-bar { height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.pg-bar i { position: absolute; inset: 0; background: var(--sky); transform-origin: left; transform: scaleX(.1); transition: transform .3s var(--ease-out); }
.pg-hint { grid-column: 1 / -1; font-size: 11px; text-transform: uppercase; }

.work-track { display: flex; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; padding: 1.8rem 0 1rem; scroll-padding-inline: var(--gutter); }
.work-track::-webkit-scrollbar { display: none; }
.work-track:empty { display: none; }
.pf {
  --accent: var(--sky);
  flex: 0 0 86vw; margin-left: var(--gutter); scroll-snap-align: start;
  position: relative; display: grid; gap: 1.4rem; align-content: start;
  padding: 1.6rem 1.4rem 1.8rem; border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(180deg, rgba(21,35,58,.9), rgba(12,21,36,.95)); overflow: hidden;
}
.pf:last-child { margin-right: var(--gutter); }
.pf-num { position: absolute; top: -.08em; right: .08em; font-family: var(--display); font-weight: 900; font-size: clamp(8rem, 30vw, 22rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(244,240,230,.07); pointer-events: none; }
.pf-phone { position: relative; justify-self: center; width: min(180px, 46vw); aspect-ratio: 9 / 18.6; border-radius: 34px; padding: 9px; background: linear-gradient(145deg, #23344f, #0f192b); box-shadow: 0 0 0 1px rgba(166,226,242,.22), 0 30px 70px -24px rgba(0,0,0,.85); }
.pf-phone::before { content: ""; position: absolute; inset: 14% -30% 14% -30%; z-index: -1; background: radial-gradient(closest-side, var(--accent), transparent); opacity: .22; filter: blur(30px); }
.pf-screen { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: radial-gradient(90% 60% at 50% 30%, color-mix(in srgb, var(--accent) 30%, #0b0d14), #0b0d14 70%); display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 1.2rem; }
.pf-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pf-screen::after { content: ""; position: absolute; top: 9px; left: 50%; width: 32%; height: 16px; transform: translateX(-50%); border-radius: 99px; background: #05070c; }
.pf-ico { width: 64px; height: 64px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px var(--accent)); }
.pf-cover-name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; color: var(--ink); }
.pf-cover-sub { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.pf-info { position: relative; z-index: 1; }
.pf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: .9rem; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.pf-tag { padding: .32rem .75rem; border: 1px solid currentColor; border-radius: 999px; color: var(--accent); }
.pf-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 10vw, 5.2rem); line-height: .9; }
.pf-text { margin-top: 1rem; color: var(--ink-2); max-width: 42ch; font-size: 1.05rem; }
.pf-end { display: grid; place-content: center; text-align: center; gap: 1.4rem; justify-items: center; min-height: 420px; background: radial-gradient(70% 60% at 50% 40%, rgba(31,122,153,.35), transparent 70%), var(--bg-2); }
.pf-end .h-display { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.pf-end p { color: var(--ink-2); max-width: 34ch; }
.pf-end .btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.work-fallback { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2rem; }
.work-fallback article { background: var(--bg-2); padding: 1.4rem; }
.work-fallback h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.8rem; }
.work-fallback p { color: var(--ink-2); }

/* ---------- 03 Cómo trabajo ---------- */
.process-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.steps { position: relative; display: grid; gap: 0; padding-left: 0; }
.steps-line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: var(--line-2); }
.steps-line i { position: absolute; inset: 0; background: var(--sky); transform-origin: top; transform: scaleY(0); box-shadow: var(--glow); }
.no-js-line .steps-line i { transform: scaleY(1); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.4rem; padding: 1.4rem 0; align-items: start; }
.step-n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--ink); transition: border-color .5s, background-color .5s, color .5s, box-shadow .5s; }
.step.is-on .step-n { border-color: var(--sky); background: var(--sky); color: var(--navy); box-shadow: var(--glow); }
.step h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1; margin-top: .3rem; }
.step p { color: var(--ink-2); margin-top: .5rem; max-width: 44ch; font-size: 1.05rem; }

/* ---------- 04 Precios ---------- */
.price-grid { display: grid; gap: 1.4rem; margin-top: clamp(2.6rem, 5vw, 4rem); align-items: stretch; }
.price-main {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.8rem, 4vw, 3.4rem); border-radius: 10px;
  background: radial-gradient(90% 80% at 100% 0%, rgba(98,190,219,.28), transparent 60%), linear-gradient(160deg, #17304a, #0f1c30 70%);
  border: 1px solid rgba(98,190,219,.35);
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.2);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease-out);
}
.price-main::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(166,226,242,.14), transparent 60%); opacity: 0; transition: opacity .5s; }
.price-main:hover::after { opacity: 1; }
.price-side { padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 10px; border: 1px solid var(--line-2); background: rgba(16,27,45,.55); align-self: end; }
.price-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); }
.price-amount { display: flex; align-items: flex-start; gap: .5rem; margin-top: .8rem; }
/* El precio se ajusta al ancho de su tarjeta: nunca se sale del cuadro */
.price-main, .price-side { container-type: inline-size; }
.price-amount b { font-family: var(--display); font-weight: 900; font-size: clamp(3.4rem, 16vw, 9rem); font-size: min(9rem, 19cqi); line-height: .85; letter-spacing: -.01em; white-space: nowrap; }
.price-amount .cur { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--ink-3); margin-top: .7rem; }
.price-offer { display: inline-block; margin-top: .9rem; padding: .35rem .8rem; border-radius: 999px; background: var(--sky); color: var(--navy); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; box-shadow: var(--glow); }
.price-offer-note { margin-top: .5rem; font-size: .98rem; color: var(--ink-2); }
.price-amount.sm b { font-size: clamp(3rem, 7vw, 4.6rem); font-size: min(4.6rem, 13.5cqi); }
.price-amount .per { align-self: flex-end; font-size: 1.1rem; color: var(--ink-2); margin-bottom: .4rem; }
.price-period { margin-top: .5rem; font-size: 1.05rem; color: var(--ink-2); }
.price-list { display: grid; gap: .65rem; margin: 1.6rem 0 2rem; }
.price-side .price-list { margin-bottom: 0; }
.price-list li { display: grid; grid-template-columns: 18px 1fr; gap: .7rem; align-items: baseline; color: var(--ink); }
.price-list li::before { content: ""; width: 12px; height: 7px; border-left: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(-45deg) translateY(-3px); }
.price-legal { margin-top: 1.6rem; color: var(--ink-3); font-size: .95rem; max-width: 60ch; }

/* ---------- 05 Resultados ---------- */
.results-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
.report { position: relative; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 12px; background: linear-gradient(180deg, #F4F0E6, #E9E4D7); color: var(--navy); box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.2); transform: rotate(-1.2deg); }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(16,26,44,.14); }
.report-brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 14px; }
.report-brand svg { width: 14px; height: 22px; --lg-body: #101A2C; --lg-line: #F4F0E6; --lg-acc: #1F7A99; }
.report-badge { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 99px; background: #101A2C; color: #F4F0E6; }
.report-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.4rem 0 1rem; }
.report-stats b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; color: var(--teal); }
.report-stats div:first-child b { color: var(--navy); }
.report-stats span { font-size: 12.5px; color: #4a5568; line-height: 1.3; display: block; margin-top: .3rem; }
.report-spark { width: 100%; height: 60px; overflow: visible; }
.report-spark path { fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.report-sub { margin: 1.2rem 0 .6rem; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #4a5568; }
.report-bars { display: grid; gap: .55rem; }
.report-bars li { display: grid; grid-template-columns: 84px 1fr 44px; gap: .8rem; align-items: center; font-size: 14px; }
.report-bars i { height: 10px; border-radius: 99px; background: rgba(16,26,44,.08); position: relative; overflow: hidden; }
.report-bars i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--sky)); transform-origin: left; transform: scaleX(calc(var(--v) / 100)); transition: transform 1.6s var(--ease-out); }
.js-bars .report-bars i::after { transform: scaleX(0); }
.js-bars .is-drawn .report-bars i::after { transform: scaleX(calc(var(--v) / 100)); }
.report-bars b { font-weight: 700; text-align: right; }

/* ---------- Quién soy ---------- */
.about-grid { display: grid; gap: clamp(2.6rem, 6vw, 5rem); align-items: center; }
.about-art {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 4.4; max-width: 460px; width: 100%; justify-self: center;
  border-radius: 10px; border: 1px solid var(--line);
  background: radial-gradient(70% 55% at 62% 30%, rgba(98,190,219,.2), transparent 70%), linear-gradient(180deg, #13223a, #0c1524 75%);
  display: grid; place-items: center;
}
.faro { width: 62%; height: auto; aspect-ratio: 200 / 260; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 6%; }
.faro .faro-beam { stroke: var(--sky); filter: drop-shadow(0 0 6px var(--sky)); }
.faro .faro-sea { stroke: var(--teal); }
.about-mdq { position: absolute; left: 1.2rem; top: .6rem; z-index: -1; font-family: var(--display); font-weight: 900; font-size: clamp(5rem, 12vw, 8rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(244,240,230,.12); }
.about-coords { position: absolute; left: 1.4rem; bottom: 1.1rem; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--ink-3); }
.js-draw .faro { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease-soft); }
.js-draw .about-art.is-revealed .faro { stroke-dashoffset: 0; }
.about-text { margin-top: clamp(1.2rem, 2.4vw, 1.8rem); display: grid; gap: 1rem; max-width: 58ch; }
.about-text p:not(.lead) { color: var(--ink-2); }
.about-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.about-facts li { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .5rem .9rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); }
.about-facts li:first-child { border-color: var(--sky); color: var(--sky); }

/* ---------- Preguntas frecuentes ---------- */
.faq-grid { display: grid; gap: clamp(2.4rem, 5vw, 4rem); align-items: start; }
.faq-intro .btn { margin-top: 1.8rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list:empty { display: none; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.4rem 3.2rem 1.4rem 0;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.05; letter-spacing: .005em;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: .6rem; top: 50%; width: 18px; height: 2px; background: var(--sky);
  transition: transform .45s var(--ease-out);
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa summary:hover, .qa[open] summary { color: var(--sky-hot); }
.qa p { padding: 0 2.6rem 1.6rem 0; color: var(--ink-2); max-width: 62ch; font-size: 1.05rem; }
.qa[open] p { animation: qaIn .5s var(--ease-out); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- 06 Hablemos ---------- */
.talk { overflow: hidden; isolation: isolate; }
.talk-bg { position: absolute; inset: 0; z-index: -1; }
.talk-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.talk-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(12,21,36,.75) 30%, rgba(12,21,36,.85) 70%, var(--bg) 100%); }
.talk-title { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(5rem, 22vw, 20rem); line-height: .8; letter-spacing: -.005em; }
.talk-title { background: linear-gradient(180deg, var(--ink) 30%, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.talk-lead { margin-top: 1.4rem; }
.talk-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); margin-top: clamp(2.4rem, 5vw, 4rem); align-items: start; }
.form { display: grid; gap: 1.8rem; max-width: 680px; }
.field { border: 0; display: grid; gap: .6rem; min-width: 0; }
.field > label, .field legend { display: flex; align-items: center; gap: .8em; padding: 0; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.field legend { margin-bottom: .7rem; }
.field i { font-style: normal; color: var(--sky); }
.field small { font-size: 1em; text-transform: none; letter-spacing: .02em; }
.form input[type="text"] { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: .6rem 0 .8rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.form input::placeholder { color: rgba(244,240,230,.24); text-transform: none; font-family: var(--sans); font-weight: 400; font-size: 1.15rem; }
.form input:focus { outline: none; border-bottom-color: var(--sky); box-shadow: 0 1px 0 0 var(--sky); }
.field.is-invalid input { border-bottom-color: #ff8a7a; }
.err { font-size: 12.5px; color: #ff8a7a; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; height: 46px; padding: 0 1.4rem; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; transition: background-color .3s, color .3s, border-color .3s; cursor: pointer; }
.chip input:checked + span { background: var(--ink); color: var(--navy); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 3px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: .4rem; }
.form-alt { color: var(--ink-2); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.form-alt:hover { color: var(--sky-hot); border-color: var(--sky); }
.form-note { color: var(--sky); font-size: 14px; min-height: 1em; }
.talk-side { padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: 10px; border: 1px solid var(--line); background: rgba(16,27,45,.75); }
.talk-side dl > div { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.talk-side dl > div:first-child { padding-top: 0; }
.talk-side dt { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); padding-top: .3rem; }
.talk-side dd { font-family: var(--display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; text-transform: uppercase; }
.talk-side dd a:hover { color: var(--sky-hot); }
.side-agenda { display: flex; align-items: center; gap: .7rem; margin-top: 1.4rem; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(30px, 5vw, 60px); background: linear-gradient(180deg, transparent, rgba(16,27,45,.9) 40%); }
.footer-display { overflow: hidden; white-space: nowrap; }
.footer-track { display: inline-flex; align-items: center; width: max-content; animation: marquee 56s linear infinite; }
.footer-track span { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(5rem, 18vw, 16rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(98,190,219,.55); transition: color .6s; }
.footer-track span:hover { color: var(--sky); }
.footer-track i { width: 18px; height: 18px; margin: 0 3rem; background: var(--sky); transform: rotate(45deg); flex: none; }
.footer-row { display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; padding-block: 2rem 2.6rem; border-top: 1px solid var(--line); margin-top: 1.5rem; font-size: 13.5px; color: var(--ink-3); }
.footer-line { color: var(--ink); font-weight: 600; }
.footer-row a { border-bottom: 1px solid var(--line-2); }
.footer-row a:hover { color: var(--sky-hot); }

/* ---------- WhatsApp fijo (móvil) ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 930;
  display: inline-flex; align-items: center; gap: .55rem; height: 54px; padding: 0 1.2rem 0 1rem; border-radius: 999px;
  background: var(--sky); color: var(--navy); font-weight: 700; box-shadow: 0 14px 40px -10px rgba(0,0,0,.7), 0 0 24px rgba(98,190,219,.4);
  transform: translateY(140%); opacity: 0; transition: transform .6s var(--ease-out), opacity .4s; pointer-events: none;
}
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }
.wa-float.is-on { transform: none; opacity: 1; pointer-events: auto; }

/* Créditos */
.page-credits { padding: 60px var(--gutter) 80px; max-width: 960px; margin-inline: auto; }
.page-credits h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(3rem, 9vw, 5.6rem); margin: 1rem 0; }
.page-credits h1 em { font-style: normal; color: var(--sky); }
.page-credits > p { color: var(--ink-2); max-width: 60ch; }
.page-credits a { color: var(--sky-hot); border-bottom: 1px solid rgba(98,190,219,.4); }
.credits-list { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.credits-list li { display: grid; grid-template-columns: 90px 1fr; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: center; color: var(--ink-2); }
.credits-list img { width: 90px; height: 64px; object-fit: cover; border-radius: 3px; }
.credits-list strong { color: var(--ink); }
.back { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* =============================================================
   10. Reveal system
   ============================================================= */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.js-reveal [data-reveal].is-revealed { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(30px); }
/* Defensivo (gotcha A.4.5): un título partido nunca queda invisible */
.reveal[data-split] { opacity: 1; transform: none; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.sw-i { display: inline-block; will-change: transform; }
.report.is-revealed { transform: rotate(-1.2deg); }

/* =============================================================
   11. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .pf { flex-basis: 72vw; }
  .inc-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  :root { --nav-h: 76px; }
  .sidemark { display: flex; }
  .hero-scroll { display: block; }
  .pf { flex-basis: 64vw; grid-template-columns: auto 1fr; align-items: center; }
  .price-grid { grid-template-columns: 1.6fr 1fr; }
  .talk-side dl > div { grid-template-columns: 120px 1fr; }
  .wa-float { display: none; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .menu { display: none; }
  .hero-inner { grid-template-columns: 1.12fr .88fr; align-items: center; gap: 1.5rem; }
  .hero-title { font-size: clamp(3.2rem, 5.2vw, 6.6rem); }
  .hero-stage { height: min(78vh, 720px); }
  .inc-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .process-grid { align-items: center; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: .85fr 1.15fr; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; }
  .faq-intro { position: sticky; top: calc(var(--nav-h) + 40px); }
  .talk-grid { grid-template-columns: 1.4fr .8fr; }

  /* Portafolio con pin */
  .work.is-pinned .work-pin { height: 100vh; height: 100svh; overflow: hidden; padding: calc(var(--nav-h) + 18px) 0 0; }
  .work.is-pinned .work-head { position: absolute; top: calc(var(--nav-h) + 18px); left: 0; right: 0; }
  .work.is-pinned .pg-hint { visibility: hidden; }
  .work.is-pinned .work-track { overflow: visible; scroll-snap-type: none; padding: 0; height: 100%; will-change: transform; }
  .work.is-pinned .pf { flex: 0 0 100vw; margin: 0; height: 100%; border: 0; border-radius: 0; background: none; grid-template-columns: 1fr 1fr; gap: 3rem; align-content: center; padding: 170px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 40px; }
  .work.is-pinned .pf-phone { width: auto; height: min(58vh, 560px); justify-self: end; margin-right: 2rem; }
  .work.is-pinned .pf-num { top: 50%; left: 50%; right: auto; transform: translate(-50%, -40%); font-size: clamp(14rem, 30vw, 30rem); }
  .work.is-pinned .pf-title { font-size: clamp(3.6rem, 6.4vw, 6.6rem); }
  .work.is-pinned .pf-end { grid-template-columns: 1fr; min-height: 0; background: radial-gradient(50% 50% at 50% 50%, rgba(31,122,153,.35), transparent 70%); }
}

/* =============================================================
   12. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
}
