/* ==========================================================
   Inside Projects — estilos
   Paleta: Coliflor 002-01 · Hoja Seca 228-06 · Ferrocarril 292-06
           Fabián 192-07 · Coimbra N4-14
   ========================================================== */
:root {
  --off: #fcfcf7;        /* Coliflor */
  --off-2: #f1f1ea;
  --hoja: #78805f;       /* Hoja Seca */
  --hoja-lt: #a4ad86;
  --accent: #2f5bff;     /* azul eléctrico */
  --accent-lt: #4d7cff;
  --ferro: #4f5a57;      /* Ferrocarril */
  --fabian: #354b53;     /* Fabián */
  --coimbra: #3a4e4f;    /* Coimbra */
  --paper: #f7f6ef;
  --ink: #141d20;        /* fondo profundo derivado de Fabián */
  --ink-2: #1b272b;
  --line-dk: rgba(252, 252, 247, .14);
  --line-lt: rgba(20, 29, 32, .14);

  --serif: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--off);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--off); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- tipografía ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-lt); margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--accent); }

.display {
  font-family: var(--serif); font-weight: 400; font-synthesis: style;
  font-size: clamp(42px, 6.6vw, 104px); line-height: 1; letter-spacing: -.045em;
}
.display em, .manifesto__text em, .contact__big em { font-style: italic; color: var(--accent-lt); }
[data-theme="light"] .display em { color: var(--accent); }
.display--md { font-size: clamp(34px, 4.4vw, 68px); line-height: 1.04; letter-spacing: -.04em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(252,252,247,.72); max-width: 34em; }
.muted { color: rgba(20,29,32,.62); }

.chev { display: inline-block; transition: transform .4s var(--ease); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  border: 1px solid transparent;
}
.btn:hover .chev { transform: translateX(5px); }
.btn--accent { background: var(--accent); color: var(--off); }
.btn--accent:hover { background: var(--accent-lt); color: #fff; }
.btn--light { background: var(--off); color: var(--ink); }
.btn--light:hover { background: var(--accent-lt); }
.btn--dark { background: var(--ink); color: var(--off); }
.btn--dark:hover { background: var(--fabian); }
.btn--line { border-color: rgba(20,29,32,.3); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: rgba(20,29,32,.04); }
.btn--ghost { border-color: rgba(252,252,247,.35); color: var(--off); }
.btn--ghost:hover { border-color: var(--off); background: rgba(252,252,247,.06); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 40px;
  height: 84px; padding: 0 var(--gutter);
  transition: background .5s var(--ease), height .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { height: 70px; background: rgba(20,29,32,.72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line-dk); }
.nav.is-light { color: var(--ink); }
.nav.is-light.is-scrolled { background: rgba(252,252,247,.78); border-color: var(--line-lt); }
.nav__logo { position: relative; height: 34px; flex: none; }
.nav__logo img { height: 100%; width: auto; transition: opacity .4s; }
.nav__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav.is-light .logo-dark { opacity: 1; }
.nav.is-light .logo-light { opacity: 0; }
.nav__links { display: flex; gap: 34px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav__links a { position: relative; opacity: .82; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { height: 44px; padding: 0 22px; font-size: 14px; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 0 var(--gutter);
  opacity: 0; pointer-events: none; transition: opacity .45s var(--ease);
}
.menu a:not(.btn) { font-family: var(--serif); font-size: 48px; line-height: 1.1; }
.menu .btn { align-self: flex-start; margin-top: 20px; }
.menu-open .menu { opacity: 1; pointer-events: auto; }
.menu-open .nav { background: transparent; border-color: transparent; color: var(--off); }
.menu-open .nav .logo-light { opacity: 1; }
.menu-open .nav .logo-dark { opacity: 0; }

/* ---------- hero (foto hecha de flechas) ---------- */
.hero { position: relative; height: 1050vh; background: var(--ink); }
.hero__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 35%, #1c2a2f 0%, var(--ink) 55%, #0c1214 100%);
}
.hero__sticky::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(252,252,247,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(252,252,247,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__sticky::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: overlay; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__ghost { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%;
  opacity: 0; filter: grayscale(1) contrast(1.1) brightness(.8); transition: opacity 2.5s ease; will-change: transform, opacity; }
.hero__ghost.on { opacity: .2; }
.hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,18,20,.7), transparent 16%), linear-gradient(0deg, rgba(12,18,20,.85) 0%, rgba(12,18,20,.4) 32%, transparent 55%); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: grayscale(.35) contrast(1.05); opacity: 0; transition: opacity 2s ease; }
.hero__video.on { opacity: 1; }
.hero__veil { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(110% 90% at 60% 45%, rgba(12,18,20,.62), rgba(12,18,20,.86) 70%, rgba(12,18,20,.94)); }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

.hero__reveal { position: absolute; inset: 0; z-index: 2; opacity: 0; visibility: hidden;
  -webkit-mask-image: url("assets/mask-chevrons.svg"); mask-image: url("assets/mask-chevrons.svg");
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.hero__slides { position: absolute; inset: 0; will-change: transform; }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slides img.on { opacity: 1; animation: kb 7s ease-out both; }
@keyframes kb { from { transform: scale(1.12) translate3d(-1.5%, 1%, 0); } to { transform: scale(1) translate3d(0, 0, 0); } }
.hero__reveal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,20,22,.35), transparent 30%, transparent 45%, rgba(13,20,22,.75)); }

.hero__a, .hero__b, .hero__x, .hero__c { position: absolute; z-index: 3; will-change: opacity, transform; }
.hero { color: var(--off); }
.hero__a { left: var(--gutter); bottom: 11vh; max-width: 900px; pointer-events: none; }
.hero__a .display { font-size: clamp(48px, 7vw, 116px); text-shadow: 0 4px 40px rgba(0,0,0,.5); }

.hero__x { left: var(--gutter); top: 50%; transform: translateY(-50%); opacity: 0; visibility: hidden; pointer-events: none; }
.hero__x::before, .hero__b::before { content: ""; position: absolute; inset: -120px -160px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(12,18,20,.88), rgba(12,18,20,.55) 60%, transparent); }
.sectors li {
  font-family: var(--serif); font-size: clamp(40px, 5.2vw, 84px); line-height: 1.02; letter-spacing: -.02em;
  color: rgba(252,252,247,.18); transition: color .6s var(--ease), transform .6s var(--ease); transform-origin: left center;
}
.sectors li em { font-style: italic; }
.sectors li.on { color: var(--off); transform: translateX(14px); }
.sectors li.on em { color: var(--accent-lt); }

.hero__b {
  right: var(--gutter); top: 50%; width: min(44vw, 600px);
  transform: translateY(-50%); opacity: 0; visibility: hidden;
}
.hero__b .display { margin-bottom: 26px; }
.hero__b .lead, .hero__a .lead { color: rgba(252,252,247,.72); }
.hero .display em { color: var(--accent-lt); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__c { inset: 0; padding: 120px var(--gutter) 48px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; opacity: 0; visibility: hidden; color: var(--off); }
.hero__c .display { text-shadow: 0 4px 40px rgba(0,0,0,.45); }
.hero__c .display em { color: var(--accent-lt); }

/* vidrio esmerilado + pastillas (guiño a Daylight) */
.glass {
  flex: none; display: grid; gap: 4px; min-width: 300px; padding: 22px 24px;
  border-radius: 18px; color: var(--off);
  background: rgba(252,252,247,.12); border: 1px solid rgba(252,252,247,.28);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 60px rgba(0,0,0,.25); transition: background .4s, transform .5s var(--ease);
}
.glass:hover { background: rgba(252,252,247,.2); transform: translateY(-4px); }
.glass b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; margin-top: 10px; }
.glass__sub { font-size: 14px; opacity: .75; }
.glass__go { margin-top: 14px; font-size: 14px; font-weight: 600; }
.glass:hover .chev { transform: translateX(5px); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(252,252,247,.16); border: 1px solid rgba(252,252,247,.3);
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: #9fd18a; box-shadow: 0 0 0 3px rgba(159,209,138,.25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(159,209,138,0); } }
.pill--stamp {
  position: absolute; z-index: 3; right: var(--gutter); top: 104px; color: var(--off);
  background: rgba(20,29,32,.45); border-color: rgba(252,252,247,.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pill--stamp i { background: #9fd18a; }
@keyframes pulse2 { 50% { box-shadow: 0 0 0 6px rgba(212,166,74,0); } }

.hero__hint {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 34px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(252,252,247,.55);
}
.hero__hint i { width: 1px; height: 46px; background: linear-gradient(var(--off), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- manifiesto ---------- */
.manifesto { padding: clamp(100px, 16vh, 180px) 0 clamp(90px, 14vh, 160px); background: var(--ink); }
.rule { display: flex; align-items: center; gap: 14px; margin-bottom: 56px; color: var(--accent-lt); }
.rule__line { flex: 1; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.rule__dash { width: 26px; height: 1px; background: currentColor; opacity: 0; transition: opacity .5s; }
.rule__chev { font-weight: 800; font-size: 20px; line-height: 1; opacity: 0; transform: translateX(-12px); transition: opacity .6s 1.3s, transform .6s 1.3s var(--ease); }
.rule.in .rule__line { transform: scaleX(1); }
.rule.in .rule__dash { opacity: 1; }
.rule.in .rule__dash:nth-child(2) { transition-delay: 1s; }
.rule.in .rule__dash:nth-child(3) { transition-delay: 1.1s; }
.rule.in .rule__dash:nth-child(4) { transition-delay: 1.2s; }
.rule.in .rule__chev { opacity: 1; transform: none; }

.manifesto__text {
  font-family: var(--serif); font-size: clamp(34px, 4.6vw, 72px); line-height: 1.12; letter-spacing: -.015em; max-width: 19em;
}
.manifesto__text .w { opacity: .14; transition: opacity .25s linear; }
.manifesto__text .w.on { opacity: 1; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 12vh, 140px); border-top: 1px solid var(--line-dk); }
.stat { padding: 32px 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line-dk); }
.stat__num { font-family: var(--serif); font-size: clamp(56px, 6vw, 96px); line-height: 1; }
.stat__label { font-size: 14px; color: rgba(252,252,247,.6); max-width: 16em; }

/* ---------- servicios ---------- */
[data-theme="light"] { background: var(--off); color: var(--ink); }
.services { padding: clamp(100px, 16vh, 180px) 0; }
.section-head { max-width: 900px; margin-bottom: 72px; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; }

.flow { position: relative; height: 1px; background: var(--line-lt); margin-bottom: 0; overflow: hidden; }
.flow span { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--accent) 0 18px, transparent 18px 30px); animation: flow 2.4s linear infinite; }
@keyframes flow { to { transform: translateX(30px); } }

.cards { display: grid; grid-template-columns: repeat(5, 1fr); }
.card {
  position: relative; padding: 34px 26px 40px; border-left: 1px solid var(--line-lt);
  display: flex; flex-direction: column; min-height: 420px;
  transition: background .5s var(--ease);
}
.card:last-child { border-right: 1px solid var(--line-lt); }
.card:hover { background: var(--off-2); }
.card__n { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--accent); }
.icon { width: 76px; height: 76px; margin: 44px 0 auto; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon * { stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 1.8s var(--ease); }
.card.in .icon * { stroke-dashoffset: 0; }
.card:hover .icon { stroke: var(--accent); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; margin: 48px 0 14px; }
.card p { font-size: 15px; line-height: 1.55; color: rgba(20,29,32,.66); }

/* ---------- recorrido en video ---------- */
.film { position: relative; height: 210vh; background: var(--ink); }
.film__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film__frame { position: absolute; inset: 14vh 9vw; border-radius: 28px; overflow: hidden; background: #0c1214; will-change: inset, border-radius; }
.film__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(12,18,20,.75), transparent 45%), linear-gradient(180deg, rgba(12,18,20,.35), transparent 25%); }
.film__copy { position: absolute; left: clamp(20px, 4vw, 56px); bottom: clamp(24px, 6vh, 64px); max-width: 720px; opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.film__copy.on { opacity: 1; transform: none; }
.film__tag { position: absolute; top: 24px; left: 24px; color: var(--off); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.film__sound { position: absolute; right: 24px; bottom: 24px; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; color: var(--off);
  background: rgba(252,252,247,.14); border: 1px solid rgba(252,252,247,.3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .3s; }
.film__sound:hover { background: rgba(252,252,247,.28); }
.film__sound svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.film__sound .on { display: none; }
.film__sound[aria-pressed="true"] .on { display: inline; }
.film__sound[aria-pressed="true"] .off { display: none; }

/* ---------- chips de sectores ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; list-style: none; padding: 0; }
.chips li { height: 36px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 14px; font-weight: 500; border: 1px solid var(--line-lt); background: rgba(252,252,247,.6); }

/* ---------- proyectos: vitrina con pestañas (guiño a Daylight) ---------- */
.work { padding: clamp(100px, 15vh, 170px) 0 clamp(60px, 8vh, 100px); }
.work__stage { position: relative; border-radius: 28px; overflow: hidden; height: min(52vw, 72vh); background: var(--ink-2); box-shadow: 0 40px 90px -40px rgba(20,29,32,.45); }
.work__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.07); transition: opacity 1.1s var(--ease), transform 7s cubic-bezier(.2,.6,.2,1); }
.work__frame img.on { opacity: 1; transform: scale(1); }
.work__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(13,20,22,.55)); }
.work__caption { position: absolute; left: 24px; bottom: 24px; z-index: 2; min-width: 260px; }
.work__caption b { font-size: 30px; }
.work__nav { position: absolute; right: 24px; bottom: 24px; z-index: 2; display: flex; gap: 8px; }
.work__arrow { width: 48px; height: 48px; border-radius: 50%; cursor: pointer; color: var(--off); font-size: 26px; line-height: 1;
  background: rgba(252,252,247,.14); border: 1px solid rgba(252,252,247,.3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .3s; }
.work__arrow:hover { background: rgba(252,252,247,.3); }
.work__tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px 20px; margin-top: 26px; }
.work__tab { text-align: left; cursor: pointer; background: none; border: 0; padding: 16px 0 6px; color: rgba(20,29,32,.45); font: inherit; position: relative; transition: color .4s; }
.work__tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-lt); border-radius: 2px; }
.work__tab i { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--accent); border-radius: 2px; }
.work__tab b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -.03em; line-height: 1.15; }
.work__tab span { font-size: 13px; }
.work__tab.on, .work__tab:hover { color: var(--ink); }

/* ---------- vidrio sobre foto ---------- */
.glass--dark { color: var(--off); }
.glass__bar { display: block; height: 2px; margin-top: 14px; background: rgba(252,252,247,.25); border-radius: 2px; overflow: hidden; }
.glass__bar i { display: block; height: 100%; width: 100%; background: var(--off); transform-origin: left; transform: scaleX(0); }
.glass__bar i.run { animation: bar 5s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.pill--light { color: var(--off); }

/* ---------- recorrido 360 ---------- */
.tour360 { padding: clamp(60px, 8vh, 100px) 0 clamp(90px, 13vh, 150px); }
.tour360__frame { position: relative; border-radius: 28px; overflow: hidden; height: min(52vw, 76vh); background: var(--ink); }
.tour360__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour360__cover {
  position: absolute; inset: 0; z-index: 2; cursor: pointer; border: 0; color: var(--off); font: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background:
    linear-gradient(rgba(252,252,247,.05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(252,252,247,.05) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(80% 80% at 50% 50%, var(--fabian), var(--ink));
  transition: opacity .6s var(--ease);
}
.tour360__cover.gone { opacity: 0; pointer-events: none; }
.tour360__deg { font-family: var(--serif); font-size: clamp(90px, 14vw, 200px); line-height: .9; letter-spacing: -.05em; }
.tour360__cover .pill { align-self: center; }
.tour360__cover:hover .pill { background: rgba(252,252,247,.26); }

/* ---------- clientes: logos fijos a color ---------- */
.clients { padding: clamp(90px, 13vh, 150px) 0; }
.logos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--line-lt); }
.logos li { flex: 0 0 20%; height: 130px; display: flex; align-items: center; justify-content: center; padding: 20px; border-bottom: 1px solid var(--line-lt); box-shadow: inset -1px 0 var(--line-lt), inset 1px 0 var(--line-lt); background: #fff; }
.logos li.pending span { font-weight: 600; font-size: 15px; color: rgba(20,29,32,.3); letter-spacing: .02em; }
.logos img { max-width: 150px; max-height: 70px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.logos li:hover img { transform: scale(1.06); }
.logos li:nth-child(5n+2) { transition-delay: .05s; } .logos li:nth-child(5n+3) { transition-delay: .1s; }
.logos li:nth-child(5n+4) { transition-delay: .15s; } .logos li:nth-child(5n+5) { transition-delay: .2s; }

/* ---------- fundador ---------- */
.founder { position: relative; height: 230vh; background: #0b0c0c; }
.founder__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; }
.founder__photo { order: 2; }
.founder__photo { position: relative; overflow: hidden; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 30%; transform: scale(-1.15, 1.15); will-change: transform; }
.founder__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, transparent 60%, #0b0c0c); }
.founder__copy { align-self: center; justify-self: end; padding: 100px clamp(20px, 3vw, 50px) 60px var(--gutter); max-width: 680px; }
.founder__name { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 8vw, 132px); line-height: .95; letter-spacing: -.05em; margin-bottom: 30px; }
.founder__lead { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 30px); line-height: 1.3; letter-spacing: -.02em; color: rgba(252,252,247,.86); }
.founder__lead em { font-style: italic; color: var(--accent-lt); }
.founder__facts { list-style: none; padding: 0; margin: 36px 0 30px; border-top: 1px solid var(--line-dk); }
.founder__facts li { display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line-dk); font-size: 16px; color: rgba(252,252,247,.72);
  opacity: .15; transform: translateX(-10px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.founder__facts li.on { opacity: 1; transform: none; }
.founder__facts span { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--accent-lt); padding-top: 3px; }
.founder__facts b { color: var(--off); font-weight: 600; }
.founder__close { font-size: 17px; color: var(--off); opacity: .15; transition: opacity .8s var(--ease); }
.founder__close.on { opacity: 1; }

/* ---------- nosotros ---------- */
.about { padding: clamp(60px, 8vh, 100px) 0 clamp(110px, 16vh, 190px); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; }
.about__media > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__copy .display { margin-bottom: 34px; }
.about__copy p:not(.eyebrow) { color: rgba(20,29,32,.72); margin-bottom: 20px; max-width: 34em; }
.signature { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-lt); display: flex; flex-direction: column; }
.signature__name { font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.signature__role { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* ---------- cotizador ---------- */
.quote { padding: clamp(110px, 16vh, 180px) 0; background: linear-gradient(180deg, var(--fabian), var(--coimbra) 60%, var(--ink)); }
.quote__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 90px; }
.quote .lead { margin-top: 26px; }
.steps { display: flex; flex-direction: column; }
.steps li { display: flex; gap: 28px; padding: 28px 0; border-top: 1px solid var(--line-dk); }
.steps li:last-child { border-bottom: 1px solid var(--line-dk); }
.steps span { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--accent-lt); padding-top: 8px; }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin-bottom: 8px; }
.steps p { color: rgba(252,252,247,.65); font-size: 15px; }
.quote__box { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px; padding: 30px 34px; border: 1px dashed rgba(252,252,247,.3); border-radius: 6px; }
.quote__soon { font-size: 15px; color: rgba(252,252,247,.7); }

/* ---------- contacto ---------- */
.contact { padding: clamp(110px, 16vh, 180px) 0 0; background: var(--ink); }
.contact__big { font-family: var(--serif); font-weight: 400; font-size: clamp(90px, 17vw, 280px); line-height: .9; letter-spacing: -.03em; margin-bottom: 70px; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px clamp(40px, 7vw, 120px); padding-top: 40px; border-top: 1px solid var(--line-dk); }
.contact__lead { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 34px; color: rgba(252,252,247,.86); }
.contact__mail { display: flex; flex-direction: column; gap: 8px; font-size: 20px; transition: color .3s; }
.contact__mail:hover { color: var(--accent-lt); }
.contact__mail span, .field > span { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(252,252,247,.45); }
.form { display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form__hp { position: absolute; left: -9999px; }
.field { display: flex; flex-direction: column; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field i { font-style: normal; letter-spacing: 0; text-transform: none; opacity: .7; }
.field input, .field textarea {
  font: inherit; font-size: 17px; color: var(--off); background: transparent; border: 0; border-bottom: 1px solid rgba(252,252,247,.25);
  padding: 8px 0 12px; border-radius: 0; outline: none; transition: border-color .3s; resize: vertical;
}
.field textarea::placeholder { color: rgba(252,252,247,.3); }
.field input:focus, .field textarea:focus { border-color: var(--accent-lt); }
.field.invalid input, .field.invalid textarea { border-color: #d07a66; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer;
  border: 1px solid rgba(252,252,247,.22); transition: background .3s, border-color .3s, color .3s; }
.choice input:checked + b { background: var(--off); color: var(--ink); border-color: var(--off); }
.choice input:focus-visible + b { outline: 2px solid var(--accent-lt); outline-offset: 2px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form__foot .btn { border: 0; cursor: pointer; font-family: inherit; }
.form__foot .btn[disabled] { opacity: .6; cursor: progress; }
.form__status { font-size: 15px; color: rgba(252,252,247,.75); }
.form__status.ok { color: #9fd18a; }
.form__status.err { color: #e59a88; }
.outro { overflow: hidden; margin-top: clamp(80px, 12vh, 140px); border-top: 1px solid var(--line-dk); border-bottom: 1px solid var(--line-dk); }
@keyframes marquee { to { transform: translateX(-50%); } }
.outro__row { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.outro__row span { font-family: var(--serif); font-size: clamp(56px, 9vw, 140px); line-height: 1.3; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(252,252,247,.28); }
.legal { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 34px; font-size: 13px; color: rgba(252,252,247,.45); }
.legal a:hover { color: var(--off); }

/* ---------- luz de ventana (guiño a Daylight) ---------- */
.sunlit { position: relative; isolation: isolate; overflow: hidden; }
.sunlit::before {
  content: ""; position: absolute; inset: -20% -30%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 70% 20%, rgba(255, 226, 170, .38), transparent 70%),
    repeating-linear-gradient(115deg, transparent 0 150px, rgba(53, 75, 83, .07) 150px 168px, transparent 168px 330px);
  filter: blur(14px);
  animation: sun 38s ease-in-out infinite alternate;
}
.sunlit::after {                   /* sombra de manguetería */
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 260px, rgba(53, 75, 83, .05) 260px 274px);
  transform: skewX(-24deg); filter: blur(10px);
  animation: sun2 44s ease-in-out infinite alternate;
}
@keyframes sun { from { transform: translate3d(-4%, -2%, 0); } to { transform: translate3d(5%, 3%, 0); } }
@keyframes sun2 { from { transform: skewX(-24deg) translate3d(-3%, 0, 0); } to { transform: skewX(-18deg) translate3d(4%, -2%, 0); } }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.rule[data-reveal] { transform: none; }
.cards .card:nth-child(2) { transition-delay: .08s; }
.cards .card:nth-child(3) { transition-delay: .16s; }
.cards .card:nth-child(4) { transition-delay: .24s; }
.cards .card:nth-child(5) { transition-delay: .32s; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 22px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 0; border-top: 1px solid var(--line-lt); }
  .card:last-child { border-right: 0; }
  .card:nth-child(even) { border-right: 1px solid var(--line-lt); }
  .icon { margin: 30px 0 0; }
  .card h3 { margin-top: 30px; }
  .flow { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { height: 68px; gap: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__logo { height: 28px; }

  .hero { height: 980vh; }
  .hero__a { bottom: 8vh; right: var(--gutter); }
  .hero__x { top: auto; bottom: 7vh; transform: none; }
  .sectors li { font-size: 36px; }
  .hero__b { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 48px; transform: none; }
  .hero__b .display { font-size: clamp(34px, 9vw, 52px); margin-bottom: 16px; }
  .hero__b .lead { font-size: 15px; }
  .hero__ctas { margin-top: 22px; }
  .hero__c { padding-top: 100px; flex-direction: column; align-items: stretch; justify-content: flex-end; }
  .glass { min-width: 0; width: 100%; }
  .hero__hint { display: none; }
  .film { height: auto; padding: 70px 0; }
  .film__sticky { position: relative; height: auto; padding: 0 var(--gutter); }
  .film__frame { position: relative; inset: auto; height: 120vw; max-height: 78vh; border-radius: 20px; }
  .film__copy { opacity: 1; transform: none; right: 20px; }
  .film__copy .display { font-size: 34px; }
  .work__stage, .tour360__frame { height: 118vw; max-height: 72vh; border-radius: 20px; }
  .work__caption { left: 14px; right: 14px; bottom: 76px; min-width: 0; }
  .work__nav { right: 14px; bottom: 14px; }
  .work__tabs { display: flex; overflow-x: auto; gap: 18px; scrollbar-width: none; }
  .work__tabs::-webkit-scrollbar { display: none; }
  .work__tab { flex: none; min-width: 150px; }
  .logos li { flex-basis: 33.333%; }
  .logos li { height: 96px; padding: 14px; }
  .logos img { max-width: 90px; max-height: 44px; }
  .founder { height: auto; }
  .founder__sticky { position: relative; height: auto; grid-template-columns: 1fr; }
  .founder__photo { height: 62vh; order: 0; }
  .founder__photo::after { background: linear-gradient(180deg, transparent 55%, #0b0c0c); }
  .founder__copy { padding: 0 var(--gutter) 90px; margin-top: -60px; position: relative; justify-self: stretch; }
  .founder__facts li, .founder__close { opacity: 1; transform: none; }
  .pill--stamp { top: 84px; font-size: 10px; letter-spacing: .1em; }
  .hero__ctas .btn { height: 46px; padding: 0 20px; font-size: 14px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px 28px 0; border-bottom: 1px solid var(--line-dk); }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-dk); }

  .section-head--split { grid-template-columns: 1fr; gap: 20px; }
  .cards { grid-template-columns: 1fr; }
  .card, .card:nth-child(even) { border-left: 0; border-right: 0; padding-left: 0; padding-right: 0; }
  .card:hover { background: none; }

  /* galería: swipe nativo */

  .about__grid, .quote__grid { grid-template-columns: 1fr; }
  .about__copy { margin-top: 30px; }
  .contact__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
.logos img.logo-bright { filter: brightness(1.035) contrast(1.02); }
.logos img.logo-sm { max-width: 96px; max-height: 44px; }

/* ==========================================================
   Estilo "Nueva 1": Inter Tight Bold + azul eléctrico
   ========================================================== */
.display, .card h3, .steps h3, .work__tab b, .founder__name, .contact__big, .glass b,
.tour360__deg, .stat__num, .sectors li, .proj__meta h3, .signature__name {
  font-weight: 700; letter-spacing: -.05em;
}
.display { line-height: .98; }
.display em, .sectors li em, .contact__big em, .manifesto__text em, .founder__lead em { font-style: normal; }
.manifesto__text, .founder__lead, .contact__lead { font-weight: 500; letter-spacing: -.035em; }
.card h3, .steps h3, .work__tab b { letter-spacing: -.04em; }
.btn--accent { box-shadow: 0 10px 30px -10px rgba(47,91,255,.75); }
.pill i { background: var(--accent-lt); box-shadow: 0 0 0 3px rgba(77,124,255,.3); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(77,124,255,0); } }
.glass { border-color: rgba(77,124,255,.45); }
