/* ==========================================================
   By Jota · Agencia de marca y crecimiento
   Tokens de marca: tinta, papel y dorado. Rayo calcado del logo.
   ========================================================== */
:root {
  --ink: #0d0d0d;
  --ink-2: #141311;
  --ink-3: #1d1b17;
  --ink-4: #2a2721;
  --paper: #f4f1ea;
  --paper-2: #ebe6da;
  --sand: #dad6cc;
  --white: #fff;
  --gold: #c9a84b;
  --gold-2: #e0c682;
  --gold-3: #e8dcb0;
  --gold-d: #8a6d1f;
  --muted: #9a958a;
  --muted-2: #bdb7aa;
  --text-dark: #4a463e;
  --wa: #25d366;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 150px);
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Grano sutil */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--dark { color: var(--gold-d); }
.title {
  font-family: var(--serif); font-weight: 300; letter-spacing: -.02em; line-height: 1.02;
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.3rem);
}
.title em, .hero__title em { color: var(--gold-2); font-weight: 300; }
.section--paper .title em { color: var(--gold-d); }
.title--xl { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.6rem); }
.lead { font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); color: var(--muted-2); max-width: 36em; }
.section--paper .lead { color: var(--text-dark); }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: var(--paper); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: .96rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn--gold { --bg: var(--gold-2); --fg: var(--ink); box-shadow: 0 10px 30px -12px rgba(224, 198, 130, .6); }
.btn--gold:hover { --bg: var(--gold-3); }
.btn--ghost { --bd: rgba(244, 241, 234, .28); }
.btn--ghost:hover { --bd: var(--gold-2); --fg: var(--gold-2); }
.btn--dark { --bg: var(--ink); --fg: var(--paper); }
.btn--dark:hover { --bg: var(--ink-3); }
.btn--line { --bd: var(--ink-4); --fg: var(--paper); }
.btn--line:hover { --bd: var(--gold-2); --fg: var(--gold-2); }
.btn--wa { --bg: var(--wa); --fg: #062b14; }
.btn--wa svg { width: 20px; height: 20px; }
.btn--wa:hover svg { transform: none; }
.btn--text { --fg: var(--muted); padding-left: 4px; padding-right: 4px; }
.btn--text:hover { --fg: var(--paper); transform: none; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--lg { padding: 17px 28px; font-size: 1rem; }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.nav.is-scrolled { background: rgba(13, 13, 13, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.nav__inner { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .4s; }
.nav.is-scrolled .nav__inner { height: 68px; }
.nav__brand img { height: 50px; width: auto; transition: height .4s; }
.nav.is-scrolled .nav__brand img { height: 42px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: .93rem; color: var(--muted-2); position: relative; transition: color .3s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__links a:not(.btn):hover { color: var(--paper); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-current::after { transform: scaleX(1); }
.nav__links a.is-current { color: var(--paper); }
.nav__mobile-cta { display: none; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--ink-4); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--paper); transition: transform .35s var(--ease), top .35s; }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: 130px; display: flex; flex-direction: column; overflow: hidden; overflow: clip; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mx, 75%) var(--my, 30%), rgba(201, 168, 75, .16), transparent 60%),
    radial-gradient(900px circle at 90% -10%, rgba(201, 168, 75, .14), transparent 60%);
  transition: background .2s;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; flex: 1; }
.hero__title { font-family: var(--serif); font-weight: 300; letter-spacing: -.025em; line-height: 1; font-size: clamp(2.7rem, 1.2rem + 5.2vw, 5.9rem); }
.hero__lead { margin-top: 28px; font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); color: var(--muted-2); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; font-size: .88rem; color: var(--muted); }
.hero__proof li { display: flex; align-items: baseline; gap: 7px; }
.hero__proof b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--gold-2); }

.hero__art { position: relative; height: min(70vh, 620px); }
.hero__bolt, .hero__bolt-line { position: absolute; height: 100%; width: auto; left: 50%; top: 0; transform: translateX(-50%); }
.hero__bolt { filter: drop-shadow(0 30px 60px rgba(201, 168, 75, .25)); animation: boltIn 1.2s var(--ease) both; }
.hero__bolt-line { fill: none; stroke: var(--gold); stroke-width: 2.5; opacity: .5; transform: translate(-40%, -4%); animation: boltLine 1.6s .2s var(--ease) both; }
@keyframes boltIn { from { opacity: 0; transform: translate(-50%, 40px) scale(.96); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes boltLine { from { opacity: 0; transform: translate(-50%, 0); } to { opacity: .5; transform: translate(-40%, -4%); } }

.chip-float {
  position: absolute; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px;
  background: rgba(29, 27, 23, .78); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
  animation: float 7s ease-in-out infinite;
}
.chip-float b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: var(--gold-2); line-height: 1.1; }
.chip-float span { font-size: .78rem; color: var(--muted-2); }
.chip-float--1 { left: -4%; top: 18%; }
.chip-float--2 { right: -2%; top: 46%; animation-delay: -2.3s; }
.chip-float--3 { left: 4%; bottom: 8%; animation-delay: -4.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Marquesina de logos */
.marquee { position: relative; margin-top: 60px; padding: 26px 0 30px; background: var(--paper); color: var(--ink); overflow: hidden; overflow: clip; }
.marquee__label { text-align: center; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 16px; }
.marquee__track { overflow: hidden; overflow: clip; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__list { display: flex; gap: 64px; width: max-content; animation: marquee 50s linear infinite; }
.marquee__list li { flex: none; height: 42px; display: grid; place-items: center; }
.marquee__list img { max-height: 42px; max-width: 120px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .7; transition: filter .3s, opacity .3s; }
.marquee__list img:hover { filter: none; opacity: 1; }
.marquee:hover .marquee__list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section--paper { background: var(--paper); color: var(--ink); }
.section__head { margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }

/* Manifiesto */
.manifesto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); }
.manifesto__head { position: sticky; top: 120px; align-self: start; }
.manifesto__head .lead { margin-top: 26px; }
.signature { display: flex; align-items: center; gap: 12px; margin-top: 36px; font-family: var(--serif); font-style: italic; font-size: 1.35rem; }
.signature svg { width: 22px; height: 35px; fill: var(--gold); }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 26px 0; border-top: 1px solid var(--sand); }
.principles li:last-child { border-bottom: 1px solid var(--sand); }
.principles span { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-d); line-height: 1.2; }
.principles h3 { font-family: var(--sans); font-weight: 600; font-size: 1.08rem; line-height: 1.35; }
.principles p { color: var(--text-dark); margin-top: 6px; font-size: .96rem; }

/* Cifras */
.stats { border-top: 1px solid var(--ink-4); border-bottom: 1px solid var(--ink-4); background: radial-gradient(800px 200px at 50% 0, rgba(201, 168, 75, .08), transparent); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 48px 24px; border-left: 1px solid var(--ink-4); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 2rem + 2.6vw, 4.4rem); line-height: 1; color: var(--gold-2); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 12px; color: var(--muted); font-size: .92rem; }

/* Especialidades */
.units__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.unit {
  position: relative; padding: 36px 32px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--ink-4);
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.unit::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 2px; background: var(--gold); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.unit:hover { transform: translateY(-6px); border-color: rgba(224, 198, 130, .35); background: var(--ink-3); }
.unit:hover::before { transform: scaleX(1); }
.unit__num { font-size: .74rem; font-weight: 600; letter-spacing: .2em; color: var(--gold); }
.unit h3 { font-family: var(--serif); font-weight: 300; font-size: 2.4rem; margin-top: 10px; }
.unit__brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0; padding: 14px 16px; background: var(--paper); border-radius: 12px; }
.unit__brand img { height: 30px; width: auto; }
.unit__brand span { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dark); text-align: right; }
.unit p { color: var(--muted-2); }
.unit ul { margin-top: 18px; display: grid; gap: 8px; }
.unit li { position: relative; padding-left: 18px; font-size: .95rem; }
.unit li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.units__flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; margin-top: 46px; color: var(--muted-2); text-align: center; }
.units__flow b { color: var(--paper); font-weight: 600; }
.units__flow svg { width: 12px; height: 19px; fill: var(--gold); }

/* Servicios */
.services { background: var(--ink-2); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink-4); border-left: 1px solid var(--ink-4); }
.service {
  position: relative; text-align: left; padding: 34px 28px 70px; min-height: 250px; background: transparent; border: 0;
  border-right: 1px solid var(--ink-4); border-bottom: 1px solid var(--ink-4); cursor: pointer; overflow: hidden; overflow: clip; transition: background .4s;
}
.service::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--x, 50%) var(--y, 0%), rgba(224, 198, 130, .12), transparent 60%); opacity: 0; transition: opacity .4s; }
.service:hover::before, .service:focus-visible::before { opacity: 1; }
.service > * { position: relative; }
.service__num { font-size: .74rem; font-weight: 600; letter-spacing: .2em; color: var(--gold); }
.service h3 { font-family: var(--serif); font-weight: 300; font-size: 1.55rem; line-height: 1.1; margin: 16px 0 12px; }
.service p { color: var(--muted); font-size: .94rem; }
.service__add { position: absolute; left: 28px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--gold-2); opacity: .0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.service__add em { font-style: normal; }
.service__add svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.service:hover .service__add, .service:focus-visible .service__add, .service.is-added .service__add { opacity: 1; transform: none; }
.service.is-added { background: rgba(224, 198, 130, .06); }
.service.is-added .service__add svg { transform: rotate(45deg); }

/* Casos */
.showcase { display: grid; grid-template-columns: 260px 1fr; gap: 34px; }
.showcase__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--ink-4); }
.showcase__tabs button {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 17px 4px; background: none; border: 0;
  border-bottom: 1px solid var(--ink-4); color: var(--muted); font-size: 1rem; cursor: pointer; position: relative; transition: color .3s, padding .4s var(--ease);
}
.showcase__tabs button span { font-size: .72rem; font-weight: 600; letter-spacing: .15em; color: var(--ink-4); transition: color .3s; }
.showcase__tabs button::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold-2); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.showcase__tabs button:hover { color: var(--paper); }
.showcase__tabs button[aria-selected="true"] { color: var(--paper); padding-left: 12px; }
.showcase__tabs button[aria-selected="true"] span { color: var(--gold); }
.showcase__tabs button[aria-selected="true"]::after { transform: scaleX(1); }

.case { display: grid; grid-template-columns: 1fr 1.05fr; gap: 0; background: var(--ink-2); border: 1px solid var(--ink-4); border-radius: var(--radius-lg); overflow: hidden; overflow: clip; min-height: 560px; animation: caseIn .6s var(--ease); }
@keyframes caseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.case__img { margin: 0; position: relative; overflow: hidden; overflow: clip; clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%); }
.case__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.case:hover .case__img img { transform: scale(1.04); }
.case__img::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 100%; background: linear-gradient(180deg, transparent 60%, rgba(13, 13, 13, .55)); }
.case__body { padding: 40px 40px 36px 18px; display: flex; flex-direction: column; }
.case__tag { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.case h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.8rem); line-height: 1.05; margin-top: 10px; }
.case__sub { color: var(--gold-2); font-weight: 500; margin-top: 8px; }
.case__dl { margin: 22px 0 0; }
.case__dl div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--ink-4); }
.case__dl dt { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.case__dl dd { margin: 0; color: var(--muted-2); font-size: .95rem; line-height: 1.55; }
.case__result { margin-top: auto; padding: 18px 20px; border-radius: var(--radius); background: var(--ink-3); border: 1px solid var(--ink-4); }
.case__result > p { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.case__result ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.case__result li { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); max-width: 240px; line-height: 1.35; }
.case__result b { font-family: var(--serif); font-weight: 300; font-size: 2.1rem; color: var(--gold-2); line-height: 1.1; letter-spacing: -.02em; }
.cases__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 26px; margin-top: 54px; }
.cases__cta p { font-family: var(--serif); font-size: 1.5rem; font-weight: 300; }

/* En curso + galería */
.now__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.now { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-lg); overflow: hidden; overflow: clip; transition: transform .5s var(--ease), box-shadow .5s; }
.now:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(13, 13, 13, .35); }
.now__img { aspect-ratio: 16 / 11; overflow: hidden; overflow: clip; background: var(--paper-2); }
.now__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1s var(--ease); }
.now:hover .now__img img { transform: scale(1.05); }
.now__img--logo { background: var(--ink); display: grid; place-items: center; }
.now__img--logo img { width: 62%; height: auto; object-fit: contain; }
.now__role { padding: 20px 22px 0; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.now h3 { padding: 6px 22px 0; font-family: var(--serif); font-weight: 300; font-size: 1.5rem; }
.now > p:last-child { padding: 8px 22px 24px; color: var(--text-dark); font-size: .93rem; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 80px 0 26px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--sand); background: transparent; color: var(--text-dark); font-size: .88rem; cursor: pointer; transition: all .3s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.lead__link { display: inline-block; margin-top: 10px; color: var(--gold-2); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(224, 198, 130, .4); }
.lead__link:hover { border-color: var(--gold-2); }
.portfolio { margin-top: 90px; padding-top: 60px; border-top: 1px solid var(--sand); }
.portfolio__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.portfolio__kicker { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.portfolio__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.15; margin-top: 10px; max-width: 22em; }
.portfolio__title b { font-weight: 400; color: var(--gold-d); }
.portfolio__hint { color: var(--text-dark); font-size: .92rem; }
.filters { margin: 30px 0 26px; }
.filter em { font-style: normal; font-size: .78em; opacity: .6; margin-left: 4px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery li.is-hidden { display: none; }
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; overflow: clip; background: var(--ink); aspect-ratio: 4 / 3; cursor: pointer; text-align: left; }
.tile > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease), opacity .5s; }
.tile__logo { width: 100%; height: 100%; display: grid; place-items: center; background: var(--ink); }
.tile__logo img { width: 62%; height: auto; max-height: 50%; object-fit: contain; }
.tile__logo--light { background: var(--white); }
.tile__type { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 12px; padding: 22px; background: radial-gradient(circle at 80% 10%, rgba(201, 168, 75, .25), transparent 60%), var(--ink-2); color: var(--paper); }
.tile__type svg { width: 22px; height: 35px; fill: var(--gold); }
.tile__type span { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.tile__type em { font-style: normal; font-size: .8rem; color: var(--muted-2); }
.tile__type--big { min-height: 320px; padding: 40px; }
.tile__type--big span { font-size: 2.4rem; }
.tile__badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; background: var(--gold-2); color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .04em; }
.tile__info { position: absolute; inset: auto 0 0; padding: 44px 16px 14px; background: linear-gradient(180deg, transparent, rgba(13, 13, 13, .94)); color: var(--paper); display: flex; flex-direction: column; gap: 2px; }
.tile__info b { font-size: .95rem; font-weight: 600; }
.tile__info span { font-size: .8rem; color: var(--muted-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile:hover > img { transform: scale(1.06); opacity: .85; }
.tile::after { content: "+"; position: absolute; top: 10px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(13, 13, 13, .7); color: var(--gold-2); font-size: 1.2rem; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; transform: none; }

/* Ficha de proyecto */
.pmodal { width: min(1040px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 1px solid var(--ink-4); border-radius: 24px; background: var(--ink-2); color: var(--paper); overflow: hidden; }
.pmodal::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); }
.pmodal[open] { animation: caseIn .45s var(--ease); }
.pmodal__inner { display: grid; grid-template-columns: 1.1fr 1fr; max-height: calc(100vh - 48px); }
.pmodal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink-4); background: rgba(13, 13, 13, .8); color: var(--paper); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pmodal__close:hover { border-color: var(--gold-2); color: var(--gold-2); }
.pmodal__media { overflow-y: auto; background: var(--ink); display: grid; gap: 4px; align-content: start; max-height: calc(100vh - 48px); }
.pmodal__media img { width: 100%; height: auto; }
.pmodal__media img.is-logo { width: 60%; margin: 80px auto; }
.pmodal__media img.is-logo.is-light { background: var(--white); padding: 30px; border-radius: 12px; }
.pmodal__body { padding: 44px 40px 36px; overflow-y: auto; max-height: calc(100vh - 48px); }
.pmodal__tags { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pmodal__client { margin-top: 14px; color: var(--gold-2); font-weight: 600; }
.pmodal h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.3rem); line-height: 1.1; margin-top: 6px; }
.pmodal__desc { color: var(--muted-2); margin-top: 16px; }
.pmodal__points { display: grid; gap: 8px; margin-top: 18px; }
.pmodal__points li { position: relative; padding-left: 20px; font-size: .94rem; }
.pmodal__points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.pmodal__metrics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pmodal__metrics li { padding: 7px 14px; border-radius: 999px; background: rgba(224, 198, 130, .12); color: var(--gold-2); font-size: .85rem; font-weight: 600; }
.pmodal__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
.pmodal__links a { color: var(--paper); font-size: .9rem; text-decoration: none; border-bottom: 1px solid var(--ink-4); }
.pmodal__links a:hover { border-color: var(--gold-2); color: var(--gold-2); }
.pmodal__cta { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--ink-4); }

/* ORIGIN */
.origin { background: var(--ink); overflow: hidden; overflow: clip; }
.origin__letters { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--ink-4); }
.origin__letters button {
  background: none; border: 0; border-right: 1px solid var(--ink-4); padding: 26px 6px 22px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; transition: background .4s;
}
.origin__letters button:last-child { border-right: 0; }
.origin__letters b { font-family: var(--serif); font-weight: 300; font-size: clamp(3.6rem, 2rem + 6vw, 8rem); line-height: .9; color: var(--ink-4); transition: color .4s, transform .5s var(--ease); }
.origin__letters span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.origin__letters button:hover b { color: rgba(224, 198, 130, .5); }
.origin__letters button[aria-selected="true"] b { color: var(--gold-2); transform: translateY(-4px); }
.origin__letters button[aria-selected="true"] span { color: var(--paper); }
.origin__letters button[aria-selected="true"]::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 2px; background: var(--gold-2); }
.origin__stages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 12px 0 34px; }
.origin__stages span { grid-column: span var(--span); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); border-top: 1px solid var(--gold-d); padding-top: 8px; margin: 0 8px; text-align: center; }
.phase { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 36px; padding: 36px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--ink-4); }
.phase__num { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.phase__name { font-family: var(--serif); font-weight: 300; font-size: 2.6rem; margin-top: 6px; }
.phase__del { color: var(--gold-2); font-weight: 600; margin-top: 6px; }
.phase__desc { color: var(--muted-2); font-size: 1.05rem; }
.phase__list { display: grid; gap: 10px; }
.phase__list li { position: relative; padding-left: 20px; font-size: .95rem; }
.phase__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.phase.is-swapping > * { animation: caseIn .5s var(--ease); }
.origin__note { display: flex; align-items: center; gap: 14px; margin-top: 26px; color: var(--muted-2); font-size: .98rem; }
.origin__note svg { width: 14px; height: 22px; fill: var(--gold); }

/* Recomendador */
.finder__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.finder__intro .lead { margin-top: 24px; }
.finder__card { position: relative; background: var(--ink); color: var(--paper); border-radius: 28px; padding: clamp(28px, 4vw, 48px); min-height: 470px; box-shadow: 0 40px 80px -40px rgba(13, 13, 13, .6); overflow: hidden; overflow: clip; }
.finder__card::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 168, 75, .25), transparent 70%); pointer-events: none; }
.finder__progress { height: 3px; background: var(--ink-4); border-radius: 3px; overflow: hidden; overflow: clip; margin-bottom: 30px; }
.finder__progress span { display: block; height: 100%; width: 0; background: var(--gold-2); transition: width .5s var(--ease); }
.fq { border: 0; padding: 0; margin: 0; display: none; }
.fq.is-active { display: grid; gap: 12px; animation: caseIn .5s var(--ease); }
.fq legend { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; margin-bottom: 14px; padding: 0; }
.fq legend span { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; color: var(--gold); margin-bottom: 10px; }
.fq label { position: relative; cursor: pointer; }
.fq input { position: absolute; opacity: 0; pointer-events: none; }
.fq label span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--ink-4); background: var(--ink-2); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.fq label span::after { content: "→"; color: var(--gold-2); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease); }
.fq label:hover span { border-color: rgba(224, 198, 130, .5); transform: translateX(4px); }
.fq label:hover span::after { opacity: 1; transform: none; }
.fq input:checked + span { border-color: var(--gold-2); background: rgba(224, 198, 130, .1); }
.fq input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.finder__back { position: absolute; left: clamp(28px, 4vw, 48px); bottom: 20px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .88rem; }
.finder__back:hover { color: var(--paper); }
.finder__result { animation: caseIn .6s var(--ease); }
.finder__kicker, .finder__label { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.finder__result h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); margin: 8px 0 10px; color: var(--gold-2); }
.finder__result > p#fr-why { color: var(--muted-2); }
.finder__label { margin-top: 22px; }
#fr-steps { display: grid; gap: 8px; margin-top: 10px; }
#fr-steps li { position: relative; padding-left: 20px; }
#fr-steps li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.finder__case { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: var(--ink-3); font-size: .9rem; color: var(--muted-2); }
.finder__case b { color: var(--paper); }
.finder__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.finder__ctas .btn--dark { --bg: var(--gold-2); --fg: var(--ink); }
.finder__restart { margin-top: 16px; background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; }

/* Modelos */
.models__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.model { display: flex; flex-direction: column; padding: 32px 26px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--ink-4); position: relative; transition: transform .5s var(--ease), border-color .4s; }
.model:hover { transform: translateY(-6px); border-color: rgba(224, 198, 130, .35); }
.model--featured { background: linear-gradient(180deg, rgba(224, 198, 130, .1), var(--ink-2) 60%); border-color: rgba(224, 198, 130, .45); }
.model__lab { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.model h3 { font-family: var(--serif); font-weight: 300; font-size: 1.75rem; line-height: 1.1; margin-top: 10px; }
.model__desc { color: var(--muted-2); font-size: .93rem; margin: 12px 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--ink-4); }
.model ul { display: grid; gap: 9px; margin-bottom: 20px; }
.model li { position: relative; padding-left: 26px; font-size: .92rem; }
.model li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: rgba(224, 198, 130, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23e0c682' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.model__ideal { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ink-4); font-size: .9rem; color: var(--muted); }
.model__ideal span { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.model .btn { margin-top: 20px; width: 100%; }

/* Clientes */
.logo-wall { display: grid; grid-template-columns: repeat(8, 1fr); background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-lg); overflow: hidden; overflow: clip; }
.logo-wall li { height: 110px; display: grid; place-items: center; padding: 18px; box-shadow: 1px 0 0 #ece7dc, 0 1px 0 #ece7dc; }
.logo-wall img { max-height: 46px; max-width: 100%; width: auto; filter: grayscale(1); opacity: .7; transition: filter .35s, opacity .35s, transform .35s var(--ease); }
.logo-wall li:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.regions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-top: 34px; }
.regions__label { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); }
.regions__list { font-family: var(--serif); font-weight: 300; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); }
.regions__list span { color: var(--text-dark); font-size: .8em; }

/* Equipo */
.team__grid { display: grid; grid-template-columns: 1fr 1fr .95fr; gap: 26px; }
.person figure { margin: 0 0 22px; aspect-ratio: 4 / 4.3; border-radius: var(--radius-lg); overflow: hidden; overflow: clip; position: relative; }
.person figure::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold); }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform 1.2s var(--ease); }
.person:hover img { transform: scale(1.04); }
.person h3 { font-family: var(--serif); font-weight: 300; font-size: 1.7rem; }
.person__role { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 6px 0 14px; }
.person > p:not(.person__role) { color: var(--muted-2); font-size: .95rem; }
.person__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .88rem; color: var(--gold-2); text-decoration: none; }
.person__link svg { width: 16px; height: 16px; }
.network { align-self: start; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--ink-4); border-top: 2px solid var(--gold); }
.network__lab { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.network > p:not(.network__lab) { color: var(--muted-2); font-size: .95rem; }
.network ul { margin-top: 20px; }
.network li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ink-4); font-weight: 500; font-size: .95rem; }
.network li svg { width: 10px; height: 16px; fill: var(--gold); }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); }
.faq__grid .lead { margin: 22px 0 28px; }
.faq__list details { border-top: 1px solid var(--sand); }
.faq__list details:last-child { border-bottom: 1px solid var(--sand); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--gold-d); transition: transform .35s var(--ease); flex: none; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 40px 26px 0; color: var(--text-dark); }

/* Brief */
.brief { overflow: hidden; overflow: clip; }
.brief__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 420px at 72% 38%, rgba(201, 168, 75, .13), transparent 70%); }
.brief__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.brief__intro .lead { margin-top: 26px; }
.brief__alt { display: grid; gap: 12px; margin-top: 36px; }
.brief__alt a { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--ink-4); transition: border-color .3s, transform .35s var(--ease); width: fit-content; }
.brief__alt a:hover { border-color: var(--gold-2); transform: translateX(4px); }
.brief__alt svg { width: 26px; height: 26px; color: var(--gold-2); }
.brief__alt span { display: flex; flex-direction: column; line-height: 1.3; }
.brief__alt b { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brief__card { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(26px, 4vw, 46px); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .8); }
.steps { display: flex; gap: 8px; margin-bottom: 28px; counter-reset: s; }
.steps li { flex: 1; counter-increment: s; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 12px; border-top: 3px solid var(--sand); transition: color .3s, border-color .3s; }
.steps li::before { content: "0" counter(s) " "; color: inherit; }
.steps li.is-on { color: var(--ink); border-color: var(--gold); }
.bstep { border: 0; padding: 0; margin: 0; display: none; }
.bstep.is-active { display: block; animation: caseIn .5s var(--ease); }
.bstep legend { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 20px; padding: 0; }
.bstep legend small { display: block; font-family: var(--sans); font-size: .84rem; color: var(--muted); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 17px; border-radius: 999px; border: 1px solid var(--sand); background: var(--white); font-size: .92rem; transition: all .25s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips input:checked + span::before { content: ""; width: 7px; height: 11px; background: var(--gold-2); clip-path: polygon(31% 0, 100% 0, 72% 33%, 100% 33%, 24% 100%, 46% 54%, 0 54%); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.field { display: block; margin-bottom: 20px; }
.field__lab { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .06em; color: var(--text-dark); margin-bottom: 10px; }
.field__lab small { font-weight: 400; color: var(--muted); letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid var(--sand); border-radius: 12px; padding: 14px 16px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 168, 75, .18); }
.field input.is-invalid, .field select.is-invalid { border-color: #c0392b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.berr { color: #b3261e; font-size: .88rem; margin-top: 12px; }
.privacy { font-size: .8rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.bnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--sand); }
.bnav .btn--gold { margin-left: auto; }
.bnav .btn--text { --fg: var(--text-dark); }
.bnav .btn--text:hover { --fg: var(--ink); }
.btn.is-loading { opacity: .7; pointer-events: none; }
.brief__done { text-align: center; padding: 30px 10px; animation: caseIn .6s var(--ease); }
.brief__done-icon { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); }
.brief__done-icon svg { width: 32px; height: 32px; }
.brief__done h3 { font-family: var(--serif); font-weight: 300; font-size: 2.2rem; }
.brief__done p { color: var(--text-dark); margin: 14px auto 26px; max-width: 30em; }

/* Footer */
.footer { border-top: 1px solid var(--ink-4); padding: 80px 0 34px; background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.footer__brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); max-width: 22em; }
.footer__sign { margin-top: 12px; font-family: var(--serif); font-size: 1.2rem; color: var(--gold-2) !important; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col > p { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer__col a { color: var(--muted-2); text-decoration: none; font-size: .94rem; transition: color .3s; width: fit-content; }
.footer__col a:hover { color: var(--gold-2); }
.footer__social { display: flex; gap: 10px; margin-top: 6px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink-4); display: grid; place-items: center; }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--ink-4); font-size: .8rem; color: var(--muted); }

/* WhatsApp flotante y barra móvil */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .35s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.mbar { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__list { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 22px; }
  .services__grid, .models__grid, .now__grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .showcase__tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 8px; }
  .showcase__tabs::-webkit-scrollbar { display: none; }
  .showcase__tabs button { border: 1px solid var(--ink-4); border-radius: 12px; padding: 10px 12px; font-size: .88rem; line-height: 1.25; }
  .showcase__tabs button::after { display: none; }
  .showcase__tabs button[aria-selected="true"] { padding-left: 16px; border-color: var(--gold-2); background: rgba(224, 198, 130, .1); }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .network { grid-column: 1 / -1; }
  .network ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 26px;
    background: rgba(13, 13, 13, .97); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .4s; margin: 0;
  }
  .nav__links a { font-family: var(--serif); font-size: 1.9rem; color: var(--paper); }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__mobile-cta { display: inline-flex; font-family: var(--sans) !important; font-size: 1rem !important; color: var(--ink) !important; margin-top: 10px; }
  .nav__cta { display: none; }
  .nav__burger { display: block; z-index: 2; }
  .hero { padding-top: 110px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { height: 330px; margin-top: 10px; }
  .hero__title { font-size: clamp(2.4rem, 1.4rem + 5vw, 3.6rem); }
  .hero__lead { margin-top: 20px; }
  .hero__ctas { margin-top: 28px; }
  .hero__proof { margin-top: 28px; }
  .chip-float { padding: 10px 14px; }
  .chip-float b { font-size: 1.15rem; }
  .chip-float--1 { left: 0; top: 10%; }
  .chip-float--2 { right: 0; top: 48%; }
  .chip-float--3 { left: 2%; bottom: 4%; }
  .section__head--split, .manifesto__grid, .finder__grid, .faq__grid, .brief__grid { grid-template-columns: 1fr; }
  .manifesto__head { position: static; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 32px 18px; border-bottom: 1px solid var(--ink-4); }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .units__grid { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; min-height: 0; }
  .case__img { aspect-ratio: 16 / 10; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
  .case__body { padding: 26px 24px 28px; }
  .phase { grid-template-columns: 1fr; gap: 18px; padding: 28px 24px; }
  .origin__stages span { font-size: .56rem; letter-spacing: .1em; margin: 0 3px; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(13, 13, 13, .92); backdrop-filter: blur(12px); border-top: 1px solid var(--ink-4); transform: translateY(110%); transition: transform .45s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar .btn { flex: 1; padding: 13px 10px; font-size: .9rem; }
  .mbar .btn--gold { flex: 1.5; }
  .wa-float { display: none; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 600px) {
  .services__grid, .models__grid, .now__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile__info { padding: 30px 10px 10px; }
  .tile__info b { font-size: .82rem; }
  .tile__type { padding: 14px; gap: 8px; }
  .tile__type span { font-size: .6rem; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .logo-wall li { height: 86px; padding: 14px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(4) { border-left: 1px solid var(--ink-4); padding-left: 18px; }
  .stat:last-child { grid-column: 1 / -1; }
  .service { min-height: 0; padding: 26px 22px 60px; }
  .service__add { opacity: 1; transform: none; left: 22px; }
  .team__grid { grid-template-columns: 1fr; }
  .network ul { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .case__dl div { grid-template-columns: 1fr; gap: 4px; }
  .showcase__tabs { grid-template-columns: 1fr 1fr; }
  .showcase__tabs button { font-size: .82rem; gap: 8px; }
  .pmodal__inner { grid-template-columns: 1fr; overflow-y: auto; }
  .pmodal__media, .pmodal__body { max-height: none; overflow: visible; }
  .pmodal__media { max-height: 46vh; overflow-y: auto; }
  .pmodal__body { padding: 28px 22px 30px; }
  .tile__info span { display: none; }
  .tile__badge { font-size: .6rem; padding: 4px 8px; top: 8px; left: 8px; }
  .case__result b { font-size: 1.7rem; }
  .origin__letters span { font-size: .56rem; letter-spacing: .04em; }
  .hero__ctas .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .steps li { font-size: .62rem; }
  .bnav .btn { padding: 13px 18px; }
}
