/* =========================================================
   BLANCO CAPITAL · Laundry & Linen Service
   Hoja de estilos principal
   Paleta (manual de marca): #0B1F4D · #8FB7E8 · #DCEBFA · #FFFFFF · #D4B26A
   Tipografías: Playfair Display (títulos) · Montserrat (texto)
   ========================================================= */

:root {
  --navy: #0B1F4D;
  --navy-deep: #06143a;
  --navy-soft: #13306d;
  --blue: #8FB7E8;
  --pale: #DCEBFA;
  --white: #FFFFFF;
  --gold: #D4B26A;
  --ink: #0B1F4D;
  --ink-soft: rgba(11, 31, 77, .68);
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(11, 31, 77, .12);

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --nav-h: 84px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 14px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  font-size: clamp(15px, 1.05vw, 18px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, .serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em; line-height: 1.08; }
::selection { background: var(--blue); color: var(--navy); }

.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-wide { width: min(1560px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Utilidades de aparición ---------- */
.reveal, .reveal-line { opacity: 0; transform: translateY(24px); will-change: transform, opacity; }
.split .word-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split .word { display: inline-block; transform: translateY(110%); will-change: transform; }
.is-ready .reveal, .is-ready .reveal-line { /* GSAP toma el control */ }

/* ---------- Grano ---------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; align-content: center; gap: 18px;
  background: var(--navy);
  clip-path: inset(0 0 0 0);
}
.preloader__mark { position: relative; }
.preloader__letters { font-family: var(--font-serif); font-size: clamp(64px, 10vw, 120px); line-height: 1; letter-spacing: -.06em; display: inline-flex; }
.preloader__letters b { color: var(--white); font-weight: 600; }
.preloader__letters i { color: var(--blue); font-style: normal; font-weight: 400; margin-left: -.14em; }
.preloader__wave {
  position: absolute; left: -10%; right: -10%; bottom: .06em; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--pale), transparent);
  transform: scaleX(0); transform-origin: left;
}
.preloader__caption { letter-spacing: .32em; text-transform: uppercase; font-size: 11px; color: var(--blue); opacity: 0; }

/* ---------- Progreso ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--pale)); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: background .5s var(--ease-out), border-color .5s, color .5s, height .4s var(--ease-out), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
  color: var(--white);
}
.nav.is-scrolled { height: 68px; background: rgba(11, 31, 77, .6); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line-dark); }
.nav[data-theme="light"].is-scrolled { background: rgba(255, 255, 255, .72); color: var(--navy); border-color: var(--line-light); }
.nav[data-theme="light"] { color: var(--navy); }
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform .5s var(--ease-out), background .5s var(--ease-out), border-color .5s, color .5s, height .4s var(--ease-out); }

.nav__logo { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.nav__logo-main { font-family: var(--font-serif); font-size: 22px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.nav__logo-sub { font-size: 9.5px; letter-spacing: .48em; text-transform: uppercase; color: var(--blue); padding-left: .1em; }
.nav[data-theme="light"] .nav__logo-sub { color: var(--navy-soft); }

.nav__links { display: flex; gap: clamp(18px, 2.6vw, 40px); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; }
.nav__links a { position: relative; padding: 6px 0; opacity: .78; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 105; background: var(--navy); display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 var(--gutter); clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu a { font-family: var(--font-serif); font-size: clamp(34px, 9vw, 56px); line-height: 1.2; opacity: 0; transform: translateY(20px); transition: opacity .6s .2s, transform .6s .2s var(--ease-out); }
.mobile-menu.is-open a { opacity: 1; transform: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  position: relative; overflow: hidden; isolation: isolate; transition: color .4s, border-color .4s, transform .4s var(--ease-out);
  white-space: nowrap;
}
.btn--primary { background: var(--white); color: var(--navy); }
.btn--primary::before { content: ""; position: absolute; inset: 0; background: var(--blue); z-index: -1; transform: translateY(101%); transition: transform .5s var(--ease-out); border-radius: inherit; }
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { border: 1px solid currentColor; opacity: .85; }
.btn--ghost:hover { opacity: 1; background: rgba(255,255,255,.08); }
.nav[data-theme="light"] .btn--ghost:hover { background: rgba(11,31,77,.06); }
.btn--link { padding: 16px 4px; }
.btn--link .arrow { transition: transform .4s var(--ease-out); }
.btn--link:hover .arrow { transform: translateX(6px); }
.btn--full { width: 100%; }

/* ---------- Cabeceras de sección ---------- */
.section-head { position: relative; max-width: 900px; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__index { position: absolute; left: 0; top: -1.2em; font-family: var(--font-serif); font-size: clamp(64px, 9vw, 140px); line-height: 1; opacity: .06; pointer-events: none; user-select: none; }
.section-head--center .section-head__index { left: 50%; transform: translateX(-50%); }
.section-head__label { font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; color: var(--blue); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.section-head__label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head--center .section-head__label { justify-content: center; }
.section-head__title { font-size: clamp(34px, 4.6vw, 68px); }
.section-head__lead { margin-top: 28px; font-size: clamp(16px, 1.25vw, 20px); max-width: 720px; opacity: .8; line-height: 1.7; }
[data-theme="light"] .section-head__label { color: var(--navy-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: grid; align-items: end; }
.hero__media { position: absolute; inset: 0; z-index: 0; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); }
.hero__veil { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11,31,77,.55) 0%, rgba(11,31,77,.35) 40%, rgba(11,31,77,.85) 100%),
  radial-gradient(120% 80% at 80% 20%, rgba(143,183,232,.18), transparent 60%);
}
.hero__content { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(120px, 16vh, 180px); max-width: 1120px; will-change: transform, opacity; }
.hero__eyebrow { font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; color: var(--pale); display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(143,183,232,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(143,183,232,.2);} 50% { box-shadow: 0 0 0 10px rgba(143,183,232,0);} }
.hero__title { font-size: clamp(42px, 6.6vw, 104px); line-height: .98; letter-spacing: -.02em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.06em; }
.hero__title .word { display: inline-block; transform: translateY(115%); }
.hero__title .em { font-style: italic; color: var(--blue); font-weight: 400; }
.hero__lead { margin-top: 30px; max-width: 560px; font-size: clamp(15px, 1.2vw, 19px); color: rgba(255,255,255,.82); }
.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

.hero__meta {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 36px;
  display: flex; justify-content: space-between; align-items: end; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.hero__coords small { font-size: 10px; letter-spacing: .12em; text-transform: none; opacity: .7; }
.hero__scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll-track { width: 1px; height: 54px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; display: block; }
.hero__scroll-track span { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--blue); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%);} 60%,100% { transform: translateY(260%);} }
.hero__scroll-track--h { width: 54px; height: 1px; display: inline-block; vertical-align: middle; }
.hero__scroll-track--h span { width: 40%; height: 100%; animation: scrollLineH 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLineH { 0% { transform: translateX(-100%);} 60%,100% { transform: translateX(260%);} }

/* ---------- Manifiesto ---------- */
.manifesto { position: relative; min-height: 100vh; display: grid; place-items: center; padding: clamp(120px, 18vh, 220px) var(--gutter); background: var(--navy); overflow: hidden; z-index: 2; }
.manifesto__bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; will-change: transform; }
.orb--1 { width: 46vw; height: 46vw; left: -12vw; top: -8vw; background: radial-gradient(circle, rgba(143,183,232,.45), transparent 65%); }
.orb--2 { width: 40vw; height: 40vw; right: -10vw; bottom: -10vw; background: radial-gradient(circle, rgba(212,178,106,.28), transparent 65%); }
.manifesto__inner { position: relative; max-width: 1080px; }
.manifesto__text { font-family: var(--font-serif); font-size: clamp(28px, 4.2vw, 62px); line-height: 1.22; text-align: center; letter-spacing: -.01em; }
.manifesto__text .w { display: inline-block; color: rgba(255,255,255,.14); transition: none; will-change: color; }
.manifesto__text .w.on { color: var(--white); }

/* ---------- Diferencial (tarjetas apiladas) ---------- */
.diff { position: relative; background: var(--pale); color: var(--ink); padding: clamp(100px, 14vh, 180px) 0 clamp(80px, 10vh, 140px); border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: calc(-1 * var(--radius-xl)); z-index: 3; }
.diff::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(60% 40% at 90% 0%, rgba(143,183,232,.35), transparent 70%); pointer-events: none; }
.stack { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.stack__card {
  position: sticky; top: calc(var(--nav-h) + 12px + var(--i) * 22px);
  display: grid; grid-template-columns: 96px 1fr 40%; gap: clamp(20px, 3vw, 48px); align-items: center;
  min-height: 420px; margin-bottom: clamp(28px, 5vh, 60px);
  padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius-lg);
  background: var(--white); box-shadow: 0 30px 80px -30px rgba(11,31,77,.35), 0 1px 0 rgba(11,31,77,.06);
  will-change: transform; transform-origin: top center;
}
.stack__card:last-child { margin-bottom: 0; }
.stack__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--pale); color: var(--navy); }
.stack__icon svg { width: 54px; height: 54px; }
.stack__num { font-size: 11px; letter-spacing: .32em; color: var(--navy-soft); opacity: .7; }
.stack__body h3 { font-size: clamp(28px, 3vw, 44px); margin: 10px 0 12px; }
.stack__kicker { font-weight: 500; color: var(--navy); margin-bottom: 14px; font-size: 1.05em; }
.stack__body p:not(.stack__kicker) { color: var(--ink-soft); max-width: 46ch; }
.stack__visual { align-self: stretch; min-height: 300px; border-radius: var(--radius-md); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.stack__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,31,77,.35)); }

/* ---------- Servicios (recorrido horizontal) ---------- */
.services { position: relative; background: var(--navy); color: var(--white); z-index: 2; }
.services__pin { position: relative; height: 100vh; min-height: 680px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); }
.services__pin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 10% 100%, rgba(143,183,232,.2), transparent 65%); pointer-events: none; }
.services__head { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: clamp(30px, 4vh, 54px); flex-wrap: wrap; }
.services__head > div { position: relative; }
.services__head .section-head__label { margin-bottom: 14px; }
.services__head .section-head__title { font-size: clamp(32px, 3.8vw, 54px); }
.services__head .section-head__index { top: -1em; }
.services__hint { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .6; display: inline-flex; align-items: center; gap: 12px; padding-bottom: 8px; }
.services__track { display: flex; gap: clamp(18px, 2vw, 32px); padding-left: max(var(--gutter), calc((100% - 1240px) / 2)); padding-right: var(--gutter); will-change: transform; width: max-content; }
.svc {
  flex: 0 0 auto; width: clamp(300px, 26vw, 420px); height: clamp(430px, 58vh, 560px);
  border-radius: var(--radius-lg); overflow: hidden; position: relative; background: var(--navy-soft);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.7); isolation: isolate;
}
.svc__media { position: absolute; inset: 0; z-index: 0; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.svc__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(11,31,77,0); transition: background .6s; }
.svc:hover .svc__media::before { background: rgba(143,183,232,.12); }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,77,.15) 0%, rgba(11,31,77,.25) 45%, rgba(11,31,77,.92) 100%); }
.svc__body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 28px; }
.svc__icon { width: 46px; height: 46px; color: var(--blue); margin-bottom: 18px; }
.svc__num { font-size: 11px; letter-spacing: .3em; opacity: .7; display: block; margin-bottom: 8px; }
.svc h3 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 10px; }
.svc p { font-size: 14.5px; color: rgba(255,255,255,.78); }
.svc--cta { background: linear-gradient(160deg, var(--blue), var(--pale)); color: var(--navy); display: grid; align-items: end; }
.svc--cta .svc__body { position: static; }
.svc--cta p { color: var(--navy); opacity: .8; margin-bottom: 22px; }
.svc--cta .svc__num { opacity: .6; }
.svc--cta .btn--primary { background: var(--navy); color: var(--white); }
.svc--cta .btn--primary::before { background: var(--navy-deep); }

/* ---------- Sectores ---------- */
.sectors { position: relative; background: var(--white); color: var(--ink); padding: clamp(100px, 14vh, 180px) 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: calc(-1 * var(--radius-xl)); z-index: 3; }
.sectors .container { position: relative; }
.sectors__list { border-top: 1px solid var(--line-light); }
.sector {
  position: relative; display: grid; grid-template-columns: 80px 1fr 1fr 60px; align-items: center; gap: 24px;
  padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line-light); cursor: default;
  transition: padding-left .5s var(--ease-out);
}
.sector::before { content: ""; position: absolute; inset: 0 -20px; background: var(--pale); border-radius: var(--radius-md); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.sector:hover::before { transform: scaleY(1); transform-origin: top; }
.sector:hover { padding-left: 12px; }
.sector__num { font-size: 12px; letter-spacing: .3em; color: var(--navy-soft); opacity: .7; }
.sector h3 { font-size: clamp(26px, 3.4vw, 48px); }
.sector p { color: var(--ink-soft); max-width: 40ch; }
.sector__arrow { font-size: 28px; justify-self: end; transition: transform .5s var(--ease-out); color: var(--navy-soft); }
.sector:hover .sector__arrow { transform: translateX(8px) rotate(-45deg); }
.sectors__preview {
  position: fixed; z-index: 50; width: 260px; aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; pointer-events: none;
  top: 0; left: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0; box-shadow: 0 40px 90px -30px rgba(11,31,77,.6);
  transition: opacity .35s, transform .5s var(--ease-out);
}
.sectors__preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.sectors__preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sobre nosotros ---------- */
.about { position: relative; background: var(--navy-deep); color: var(--white); z-index: 2; padding-bottom: 0; }
.about__hero { position: relative; height: 92vh; min-height: 560px; overflow: hidden; display: grid; align-items: end; }
.about__hero-img { position: absolute; inset: -12% 0; will-change: transform; }
.about__hero-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(.8); }
.about__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,20,58,.2), rgba(6,20,58,.15) 40%, var(--navy-deep) 100%); }
.about__hero-text { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(60px, 9vh, 110px); width: min(1240px, 100%); margin-inline: auto; }
.about__hero-text .section-head__index { top: -1.1em; left: var(--gutter); opacity: .12; }
.about__title { font-size: clamp(38px, 5.6vw, 84px); }

.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 110px); padding: clamp(60px, 10vh, 130px) 0 clamp(80px, 12vh, 160px); align-items: start; }
.about__lead { font-family: var(--font-serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.35; color: var(--pale); margin-bottom: 30px; }
.about__col--text > p:not(.about__lead) { color: rgba(255,255,255,.76); margin-bottom: 22px; max-width: 58ch; }
.about__block { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.about__block h3 { font-size: clamp(22px, 1.8vw, 28px); color: var(--blue); margin-bottom: 12px; }
.about__block p { color: rgba(255,255,255,.76); max-width: 58ch; }

.about__col--media { position: relative; min-height: 720px; }
.about__photo { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); will-change: transform; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--a { width: 74%; aspect-ratio: 4/5; left: 0; top: 0; }
.about__photo--b { width: 56%; aspect-ratio: 4/3; right: 0; top: 52%; border: 8px solid var(--navy-deep); }
.about__badge { position: absolute; left: 6%; bottom: 4%; background: var(--gold); color: var(--navy); padding: 20px 26px; border-radius: var(--radius-md); display: flex; flex-direction: column; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); will-change: transform; }
.about__badge-big { font-family: var(--font-serif); font-size: 34px; line-height: 1; }
.about__badge-small { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; margin-top: 6px; font-weight: 500; }

.marquee { overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 52px); white-space: nowrap; color: var(--pale); }
.marquee__track i { color: var(--gold); font-style: normal; font-size: 18px; }

/* ---------- Tecnología ---------- */
.tech { position: relative; background: var(--navy); color: var(--white); padding: clamp(110px, 15vh, 190px) 0 clamp(90px, 12vh, 160px); z-index: 2; overflow: clip; }
.tech__bg { position: absolute; inset: -10% 0; z-index: 0; background: url("../assets/img/tech-bg.jpg") center / cover no-repeat; opacity: .28; will-change: transform; }
.tech::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--navy) 0%, rgba(11,31,77,.7) 30%, rgba(11,31,77,.85) 70%, var(--navy) 100%); }
.tech .container { position: relative; z-index: 2; }
.tech__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; margin-top: clamp(30px, 5vh, 60px); }
.tech__sticky { position: sticky; top: calc(var(--nav-h) + 20px); }
.tech__frame { position: relative; aspect-ratio: 4/5; max-height: calc(100vh - var(--nav-h) - 60px); border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-deep); box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
.tech__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease-out), transform 1.4s var(--ease-out); }
.tech__frame img.is-active { opacity: 1; transform: scale(1); }
.tech__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,20,58,.85)); pointer-events: none; }
.tech__frame-label { position: absolute; left: 28px; bottom: 26px; z-index: 2; font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--pale); display: flex; align-items: center; gap: 12px; }
.tech__frame-label::before { content: ""; width: 24px; height: 1px; background: var(--blue); }

.tech__steps { display: flex; flex-direction: column; gap: clamp(60px, 14vh, 140px); padding: 10vh 0 20vh; }
.tstep { position: relative; padding-left: 92px; opacity: .3; transition: opacity .6s; }
.tstep.is-active { opacity: 1; }
.tstep__icon { position: absolute; left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); background: rgba(255,255,255,.03); color: var(--blue); transition: background .5s, color .5s, border-color .5s; }
.tstep.is-active .tstep__icon { background: var(--blue); color: var(--navy); border-color: var(--blue); }
.tstep__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tstep__num { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 12px; }
.tstep h3 { font-size: clamp(24px, 2.2vw, 34px); margin-bottom: 14px; }
.tstep p { color: rgba(255,255,255,.78); max-width: 52ch; }

.tech__claim { margin-top: clamp(20px, 4vh, 40px); padding-top: clamp(40px, 6vh, 70px); border-top: 1px solid var(--line-dark); font-family: var(--font-serif); font-size: clamp(26px, 3.6vw, 56px); line-height: 1.2; display: flex; flex-wrap: wrap; gap: 0 .35em; }
.tech__claim span { opacity: .18; transition: opacity .5s; }
.tech__claim span.on { opacity: 1; }
.tech__claim .gold { color: var(--gold); font-style: italic; font-weight: 400; }

/* ---------- Galería ---------- */
.gallery { position: relative; background: var(--pale); color: var(--ink); padding: clamp(100px, 14vh, 180px) 0 clamp(120px, 16vh, 220px); border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: calc(-1 * var(--radius-xl)); z-index: 3; overflow: clip; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.gallery__col { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 28px); will-change: transform; }
.gallery__col:nth-child(2) { margin-top: clamp(40px, 8vh, 120px); }
.gimg { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 30px 70px -40px rgba(11,31,77,.5); }
.gimg--tall { aspect-ratio: 3/4; }
.gimg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease-out); }
.gimg.is-in img { transform: scale(1); }
.gimg:hover img { transform: scale(1.05); }
.gimg figcaption { position: absolute; left: 18px; bottom: 16px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--white); padding: 8px 14px; border-radius: 999px; background: rgba(11,31,77,.55); backdrop-filter: blur(8px); }

/* ---------- Contacto + Footer ---------- */
.contact { position: relative; background: var(--navy); color: var(--white); padding-top: clamp(110px, 15vh, 190px); overflow: clip; z-index: 2; }
.contact__bg { position: absolute; inset: 0; z-index: 0; }
.contact__bg img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; opacity: .35; will-change: transform; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--navy) 0%, rgba(11,31,77,.55) 40%, var(--navy-deep) 100%); }
.contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: start; padding-bottom: clamp(90px, 12vh, 160px); }
.contact__title { font-size: clamp(34px, 4.4vw, 66px); margin-bottom: clamp(36px, 5vh, 60px); }
.contact__list { display: flex; flex-direction: column; gap: 26px; }
.contact__list li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: start; }
.contact__list svg { width: 44px; height: 44px; color: var(--blue); }
.contact__list strong { display: block; font-weight: 500; font-size: 1.05em; margin-bottom: 4px; }
.contact__list strong a:hover { color: var(--blue); }
.contact__list span { color: rgba(255,255,255,.66); font-size: .95em; }

.contact__form { background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 18px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.22); color: var(--white);
  padding: 22px 0 10px; font: inherit; font-weight: 400; outline: none; transition: border-color .4s; border-radius: 0; resize: vertical;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select option { color: var(--navy); }
.field label { position: absolute; left: 0; top: 22px; font-size: 14px; color: rgba(255,255,255,.55); pointer-events: none; transition: transform .35s var(--ease-out), font-size .35s, color .35s; transform-origin: left top; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label,
.field select:focus ~ label, .field select:valid ~ label { transform: translateY(-20px); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.field.is-invalid input, .field.is-invalid select { border-color: #e88f8f; }
.contact__form .btn { margin-top: 10px; }
.contact__ok { color: var(--pale); font-size: 14px; text-align: center; }

.footer { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); padding: 44px 0 40px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 26px 30px; align-items: center; }
.footer__brand { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.footer__brand small { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; opacity: .55; margin-top: 8px; }
.footer__links { display: flex; justify-content: flex-end; gap: 26px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; flex-wrap: wrap; }
.footer__links a { opacity: .7; transition: opacity .3s; }
.footer__links a:hover { opacity: 1; }
.footer__legal { grid-column: 1 / -1; font-size: 11.5px; opacity: .55; padding-top: 22px; border-top: 1px solid var(--line-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .stack__card { grid-template-columns: 72px 1fr; }
  .stack__visual { grid-column: 1 / -1; min-height: 220px; }
  .stack__card { min-height: auto; }
  .about__grid { grid-template-columns: 1fr; }
  .about__col--media { min-height: 620px; }
  .tech__layout { grid-template-columns: 1fr; }
  .tech__sticky { position: relative; top: auto; }
  .tech__frame { aspect-ratio: 16/10; max-height: 60vh; }
  .tech__steps { padding: 40px 0 0; gap: 60px; }
  .tstep { opacity: 1; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hero__meta { font-size: 10px; }
  .hero__coords { display: none; }
  .hero__content { padding-bottom: 120px; }
  .services__pin { height: auto; min-height: 0; padding: 100px 0 90px; overflow: visible; }
  .services__head { display: block; }
  .services__hint { display: none; }
  .services__track { flex-direction: column; width: auto; padding: 0 var(--gutter); gap: 18px; }
  .svc { width: 100%; height: 440px; }
  .sector { grid-template-columns: 48px 1fr 40px; }
  .sector p { grid-column: 2; }
  .sector__arrow { grid-row: 1; grid-column: 3; }
  .sectors__preview { display: none; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__col:nth-child(3) { display: none; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand { align-items: center; }
  .footer__links { justify-content: center; }
  .footer__legal { text-align: center; }
}
@media (max-width: 600px) {
  .hero { min-height: 560px; }
  .hero__title { font-size: clamp(38px, 11vw, 60px); }
  .stack__card { top: calc(var(--nav-h) + 8px + var(--i) * 12px); padding: 24px; grid-template-columns: 1fr; gap: 18px; }
  .stack__icon { width: 60px; height: 60px; }
  .stack__visual { min-height: 180px; }
  .stack__icon svg { width: 40px; height: 40px; }
  .about__col--media { min-height: 520px; }
  .about__photo--b { top: 58%; }
  .tstep { padding-left: 0; }
  .tstep__icon { position: static; margin-bottom: 18px; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__col:nth-child(2) { margin-top: 0; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-line, .split .word, .hero__title .word { opacity: 1 !important; transform: none !important; }
  .manifesto__text .w { color: var(--white) !important; }
  .tech__claim span { opacity: 1 !important; }
  .dot, .hero__scroll-track span { animation: none; }
  .preloader { display: none; }
  .gimg img { transform: none; }
}
