/* =========================================================
   Geyer Rivadeneira — Landing
   ========================================================= */
:root {
  --bg: #11100d;
  --panel: #181713;
  --panel-2: #22201b;
  --cream: #d0c5ab;
  --cream-hi: #e6dcc4;
  --muted: rgba(208, 197, 171, .72);
  --soft: rgba(208, 197, 171, .5);
  --dim: rgba(208, 197, 171, .16);
  --line: rgba(208, 197, 171, .13);
  --line-2: rgba(208, 197, 171, .24);
  --ink: #11100d;
  --ok: #9cc5a0;
  --err: #e79a86;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1440px;
  --gutter: clamp(18px, 7.8vw, 112px);
  --radius: 6px;
  --ease: cubic-bezier(.22, .8, .16, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--cream); color: var(--ink); }
:focus-visible { outline: 1px solid var(--cream); outline-offset: 4px; }

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

/* ---------- Type ---------- */
.label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.statement {
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 600;
  text-wrap: balance;
}
.statement--xl { font-size: clamp(38px, 6.2vw, 96px); margin-top: 28px; max-width: 15ch; }
/* Relleno letra por letra */
[data-fill] .w { display: inline-block; white-space: nowrap; }
[data-fill] .c { opacity: .16; transition: opacity .25s linear; }
.micro { font-size: 13px; color: var(--soft); margin-top: 18px; line-height: 1.55; }
.link { border-bottom: 1px solid currentColor; }

/* Máscara para títulos gigantes */
[data-mask] { overflow: hidden; }
[data-mask] > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
[data-mask].is-in > span { transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 4px;
  background: var(--cream); color: var(--ink);
  border: 1px solid var(--cream);
  font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase;
  cursor: pointer; text-align: center;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, transform .4s var(--ease);
}
.btn:hover { background: var(--cream-hi); transform: translateY(-2px); }
.btn--avatar { padding-left: 8px; }
.btn--avatar img { width: 34px; height: 34px; border-radius: 3px; object-fit: cover; }
.btn--line { background: rgba(24, 23, 19, .6); color: var(--cream); border-color: var(--line); }
.btn--line:hover { background: var(--panel-2); }
.btn .arr { font-size: 20px; font-weight: 400; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 12px; }
.btn--full { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.actions--center { justify-content: center; }
.center { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 72px; }

/* ---------- Top bar ---------- */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 30px var(--gutter);
}
.logo { display: flex; flex-direction: column; font-size: 15px; font-weight: 700; letter-spacing: .3em; line-height: 1.05; color: var(--cream-hi); }
.topbar__mail { font-size: 14px; color: var(--cream); transition: opacity .3s; }
.topbar__mail:hover { opacity: .7; }

/* ---------- Pill nav ---------- */
.pill {
  position: fixed; left: 50%; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 22px;
  width: max-content; white-space: nowrap;
  padding: 6px 6px 6px 24px;
  background: rgba(24, 23, 19, .82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transform: translate(-50%, 160%);
  transition: transform 1.1s var(--ease) .9s;
}
body.is-loaded .pill { transform: translate(-50%, 0); }
.pill__links { display: flex; gap: 30px; }
.pill__links a, .pill__menu { font-size: 12px; font-weight: 600; text-transform: uppercase; color: rgba(208,197,171,.8); transition: color .3s; }
.pill__links a:hover, .pill__links a.is-active { color: var(--cream-hi); }
.pill__menu { display: none; background: none; border: 0; padding: 0 4px; cursor: pointer; }
.pill__cta {
  display: flex; align-items: center; gap: 10px;
  background: var(--cream); color: var(--ink);
  padding: 8px 20px 8px 8px; border-radius: 4px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em;
  transition: background .3s;
}
.pill__cta:hover { background: var(--cream-hi); }
.pill__cta img { width: 32px; height: 32px; border-radius: 3px; object-fit: cover; }

.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--gutter) 120px;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .8s var(--ease);
}
.menu a { font-size: clamp(36px, 10vw, 60px); font-weight: 600; letter-spacing: -.04em; line-height: 1.15; text-transform: uppercase; }
body.menu-open .menu { clip-path: inset(0 0 0 0); }
body.menu-open { overflow: hidden; }

/* ---------- Hero (fijo, el contenido lo cubre) ---------- */
.hero {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden;
  --hp: 0;
}
.hero__photo { position: absolute; inset: 0; }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  filter: grayscale(.15) sepia(.1) brightness(.86) contrast(1.04);
  transform: scale(calc(1.05 - var(--load, 0) * .05 + var(--hp) * .04));
  transition: transform 2.2s var(--ease);
}
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 70% at 50% 30%, transparent 30%, rgba(17,16,13,.75) 100%),
    linear-gradient(0deg, rgba(17,16,13,.85), transparent 30%);
}
.hero__stage {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 calc(var(--gutter) * .55);
  transform: translateY(calc(var(--hp) * -12vh));
  opacity: calc(1 - var(--hp) * 1.1);
}
.hero__display {
  font-size: min(8.6vw, 168px);
  font-weight: 600; letter-spacing: -.035em; line-height: 1.02;
  color: var(--cream);
  display: flex; flex-direction: column;
}
.hero__display .line { display: flex; align-items: center; gap: .14em; overflow: hidden; padding: .02em 0; }
.hero__display .line > * { transform: translateY(110%); transition: transform 1.25s var(--ease); }
.hero__display .l1 { padding-left: 2vw; }
.hero__display .l2 { justify-content: flex-end; }
.hero__display .l3 { justify-content: center; }
.hero__display .l1 > * { transition-delay: .15s; }
.hero__display .l2 > * { transition-delay: .3s; }
.hero__display .l3 > * { transition-delay: .45s; }
body.is-loaded .hero__display .line > * { transform: none; }
.hero__box {
  width: .62em; height: .62em; flex: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: linear-gradient(165deg, rgba(60,56,47,.75), rgba(17,16,13,.85) 70%);
  backdrop-filter: blur(6px);
  display: flex; padding: 12px;
}
.hero__box b { font-size: 12px; line-height: 1.25; font-weight: 700; letter-spacing: 0; text-transform: uppercase; color: rgba(208,197,171,.85); }
.hero__arrow { font-weight: 300; }
.hero__intro {
  position: absolute; left: calc(var(--gutter) + 6vw); top: 50%;
  width: min(290px, 24vw); transform: translateY(-50%);
  font-size: 15px; line-height: 1.5; color: var(--muted);
  opacity: 0; transition: opacity 1.2s ease .9s;
}
body.is-loaded .hero__intro { opacity: 1; }
.hero__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px;
  display: flex; justify-content: space-between; font-size: 14px; color: var(--muted);
}

/* ---------- Contenido que cubre al hero ---------- */
.content { position: relative; z-index: 2; background: var(--bg); }
.section { padding: clamp(110px, 14vw, 200px) 0; }
.section--flush { padding-bottom: 0; }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 24px; align-items: start; }
.split-head .label { padding-top: 1.1em; }
.lead-right { margin: 40px 0 0 calc((100% - 24px) / 3.6 + 24px); max-width: 54ch; font-size: 18px; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 48px 0 0 calc((100% - 24px) / 3.6 + 24px); color: var(--muted); }
.num { font-size: clamp(48px, 5vw, 72px); font-weight: 500; line-height: 1; color: var(--cream); letter-spacing: -.03em; }

/* Giant section words */
.giant-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 72px; }
.giant { font-size: clamp(48px, 10.6vw, 172px); font-weight: 600; letter-spacing: -.045em; line-height: .86; padding: .16em .02em .04em 0; white-space: nowrap; }
.giant-row .label { padding-bottom: 1.4em; }

/* ---------- Propuesta (pin + capturas) ---------- */
.pin { height: 280vh; position: relative; }
.pin__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.pin__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 24px; position: relative; z-index: 1; }
.pin__grid .label { padding-top: 1.2em; white-space: normal; max-width: 22ch; }
.pin__lead { margin-top: 30px; max-width: 58ch; font-size: 18px; color: var(--muted); }
.pin__floats { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.float {
  position: absolute; top: 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  will-change: transform;
}
.float img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Placeholder de captura (mientras no haya imagen) */
.mock {
  width: 100%; height: 100%;
  background: var(--tint, #2b2a24);
  padding: 7% 8%;
  display: flex; flex-direction: column; gap: 6%;
}
.mock__bar { height: 6%; min-height: 8px; display: flex; gap: 4%; align-items: center; }
.mock__bar i { width: 5%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.18); }
.mock__h { height: 12%; width: 70%; border-radius: 3px; background: rgba(255,255,255,.22); }
.mock__h--s { height: 7%; width: 46%; background: rgba(255,255,255,.12); }
.mock__img { flex: 1; border-radius: 4px; background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); }
.mock__t { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); }

/* ---------- Problema ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 96px; }
.tile {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 36px; min-height: 360px;
  display: flex; flex-direction: column;
  transition: border-color .5s, background .5s;
}
.tile:hover { border-color: var(--line-2); background: var(--panel-2); }
.tile h3 { margin-top: auto; padding-top: 40px; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.tile p { margin-top: 14px; color: var(--muted); font-size: 15.5px; }

.quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 24px; margin-top: 140px; }
.quote__text { grid-column: 2; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.025em; font-weight: 600; }
.quote .btn { grid-column: 2; justify-self: start; margin-top: 12px; }

/* ---------- Sobre mí ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.4fr); gap: 32px; margin-top: 110px; align-items: start; }
.about__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.6s var(--ease); }
.about__photo:hover img { transform: scale(1.03); }
.about__text p { color: var(--muted); font-size: 16.5px; }
.about__text p + p { margin-top: 16px; }
.manifesto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 110px; }
.manifesto__box {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 18px;
  min-height: 260px; padding: 28px 28px 30px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background:
    radial-gradient(80% 70% at 100% 0%, rgba(208,197,171,.10), transparent 60%),
    linear-gradient(165deg, var(--panel-2), var(--bg) 80%);
  transition: border-color .5s, transform .6s var(--ease);
}
.manifesto__box:hover { border-color: var(--line-2); transform: translateY(-4px); }
.manifesto__n { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.manifesto__icon {
  position: absolute; top: 22px; right: 24px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 4px; font-size: 18px; color: var(--cream);
}
.manifesto__box p { margin-top: auto; font-size: clamp(22px, 2vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; color: var(--cream); }
.manifesto__box em { font-style: normal; color: var(--cream-hi); }

/* ---------- Enfoque ---------- */
.list { margin-top: 110px; border-top: 1px solid var(--line); }
.list__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.5fr); gap: 24px; align-items: baseline;
  padding: 40px 0; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease);
}
.list__row:hover { padding-left: 16px; }
.list__row h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.list__row p { color: var(--muted); font-size: 16px; }

/* ---------- Servicios ---------- */
.services { margin-top: 100px; border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr) 48px; gap: 24px; align-items: center;
  padding: 34px 0;
}
.service summary::-webkit-details-marker { display: none; }
.service summary .num { font-size: clamp(40px, 4vw, 60px); color: var(--soft); transition: color .4s; }
.service[open] summary .num, .service summary:hover .num { color: var(--cream); }
.service__name { font-size: clamp(26px, 3.6vw, 54px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; transition: transform .6s var(--ease); }
.service summary:hover .service__name { transform: translateX(12px); }
.service__icon { width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 4px; position: relative; transition: background .4s; }
.service__icon::before, .service__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--cream); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background .4s; }
.service__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.service[open] .service__icon { background: var(--cream); }
.service[open] .service__icon::before, .service[open] .service__icon::after { background: var(--ink); }
.service[open] .service__icon::after { transform: translate(-50%, -50%) rotate(0); }
.service__body {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px;
  margin-left: calc((100% - 48px - 48px) / 3.6 + 24px);
  padding: 0 0 56px;
  animation: open .7s var(--ease);
}
.service__body h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 18px; }
.service__body p { color: var(--muted); margin-bottom: 12px; font-size: 16px; }
.service__body .btn { margin-top: 16px; }
.service__inc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; align-self: start; }
.service__inc .label { white-space: normal; margin-bottom: 18px; }
.service__inc ul, .checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.service__inc li, .checks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--cream); }
.service__inc li::before, .checks li::before { content: "→"; position: absolute; left: 0; color: var(--soft); }
@keyframes open { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.band {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  margin-top: 96px; padding: 36px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.band p { font-size: clamp(18px, 1.6vw, 22px); max-width: 52ch; }

/* ---------- Método ---------- */
.steps { list-style: none; padding: 0; margin: 110px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { border-top: 1px solid var(--line); padding-top: 28px; position: relative; }
.step::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--cream); transition: width 1.4s var(--ease) .2s; }
.step.is-in::before { width: 100%; }
.step__num { display: block; font-size: clamp(64px, 7.5vw, 120px); font-weight: 600; letter-spacing: -.05em; line-height: .9; color: var(--dim); margin-bottom: 36px; transition: color 1s ease .3s; }
.step.is-in .step__num { color: var(--cream); }
.step h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* ---------- Diferencial: texto gigante fijo + tarjetas ---------- */
.stackwall { position: relative; margin-top: 120px; }
.stackwall__bg {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: clamp(72px, 15vw, 250px); font-weight: 600; letter-spacing: -.045em; line-height: .84;
  text-transform: uppercase; color: var(--cream); text-align: center;
  overflow: hidden;
}
.stackwall__bg .label { position: absolute; top: 48px; }
.stackwall__cards { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; padding: 22vh 0 30vh; }
.glass {
  position: sticky; top: calc(14vh + var(--i, 0) * 62px);
  width: min(480px, calc(100% - 36px)); margin: 0 auto 34vh;
  min-height: 400px; padding: 30px 32px 34px;
  display: flex; flex-direction: column;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background:
    radial-gradient(90% 60% at 50% 110%, rgba(208,197,171,.14), transparent 70%),
    linear-gradient(180deg, rgba(26,25,21,.86), rgba(17,16,13,.92));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 -20px 60px -30px rgba(0,0,0,.8);
}
.glass:last-child { margin-bottom: 0; }
.glass__num { font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.glass h3 { margin-top: auto; padding-top: 50px; font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.glass p { margin-top: 14px; color: var(--muted); font-size: 16px; }
#diferencial .quote { margin-top: 0; padding: 160px 0 clamp(110px, 14vw, 200px); }

/* ---------- Portafolio: tarjetas apiladas ---------- */
.cases { margin-top: 110px; }
.case {
  position: sticky; top: calc(9vh + var(--i, 0) * 26px);
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px;
  background: var(--bg);
  padding: 26px 0 30px;
  margin-bottom: 14vh;
  transform-origin: 50% 0;
  transform: scale(var(--s, 1));
  filter: brightness(var(--b, 1));
}
.case:last-child { margin-bottom: 0; }
.case__media { position: relative; aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.case__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.4s var(--ease); }
.case__media:hover img { transform: scale(1.04); }
.case__media .mock { position: absolute; inset: 0; padding: 9% 10%; }
/* Recorrido de la página completa al pasar el mouse */
.case__scroll {
  position: absolute; inset: 0;
  background-size: 100% auto; background-repeat: no-repeat; background-position: 50% 0;
  opacity: 0; transition: opacity .5s ease, background-position var(--dur, 8s) linear;
}
.case__media:hover .case__scroll.is-ready { opacity: 1; background-position: 50% 100%; transition: opacity .5s ease, background-position var(--dur, 8s) linear .2s; }
.case__media:hover img { transform: none; }
.case__hint {
  position: absolute; left: 14px; bottom: 14px;
  padding: 7px 12px; border-radius: 4px;
  background: rgba(17,16,13,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--cream);
  transition: opacity .4s;
}
.case__media:hover .case__hint { opacity: 0; }
@media (hover: none) { .case__hint { display: none; } }
.case__info { display: flex; flex-direction: column; }
.case__title { margin-top: 32px; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; font-weight: 400; letter-spacing: -.01em; max-width: 18ch; }
.case__desc { margin-top: 16px; color: var(--muted); max-width: 42ch; font-size: 16px; }
.case__foot { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.case__tags { font-size: 18px; color: var(--muted); line-height: 1.3; max-width: 26ch; }
.case__link { font-size: 14px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; transition: color .3s; white-space: nowrap; }
.case__link:hover { color: var(--cream-hi); }
.case.is-hidden { display: none; }

/* ---------- Oferta ---------- */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.35fr); gap: 24px; margin-top: 80px; align-items: start; }
.offer__text { grid-column: 2; color: var(--muted); }
.offer__text p + p { margin-top: 16px; }
.offer__card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 40px); }
.offer__card .label { white-space: normal; margin-bottom: 22px; }
.offer__card .checks { margin-bottom: 32px; }
.offer__card h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; padding-top: 26px; margin-bottom: 22px; border-top: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { margin-left: calc((100% - 24px) / 3.6 + 24px); border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 26px 56px 26px 0;
  font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.015em;
  transition: opacity .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { opacity: .75; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 300; transition: transform .5s var(--ease); }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { color: var(--muted); padding: 0 56px 28px 0; animation: open .5s var(--ease); max-width: 70ch; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.35fr); gap: 24px; margin-top: 80px; align-items: start; }
.contact__intro { grid-column: 2; color: var(--muted); }
.contact__intro p + p { margin-top: 16px; }
.contact__direct { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line); }
.contact__direct li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__direct span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.contact__direct a { color: var(--cream); transition: opacity .3s; }
.contact__direct a:hover { opacity: .7; }

.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.opt { color: var(--soft); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--cream);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 4px;
  padding: 14px 16px; transition: border-color .3s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--soft) 50%), linear-gradient(135deg, var(--soft) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px;
}
.field select option { background: var(--panel); }
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder { color: rgba(208,197,171,.32); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cream); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.form__msg { border-radius: 4px; padding: 18px 20px; font-size: 15px; }
.form__msg--ok { background: rgba(156,197,160,.08); border: 1px solid rgba(156,197,160,.35); }
.form__msg--ok strong { display: block; color: var(--ok); margin-bottom: 4px; }
.form__msg--ok p { color: var(--muted); }
.form__msg--err { background: rgba(231,154,134,.08); border: 1px solid rgba(231,154,134,.35); color: var(--err); }

/* ---------- CTA final: capturas dispersas ---------- */
.final { position: relative; min-height: 150vh; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 20vh 0; }
.final__scatter { position: absolute; inset: 0; }
.scat { position: absolute; border-radius: 4px; overflow: hidden; will-change: transform; opacity: .55; }
.scat img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.final::after { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 40% at 50% 50%, rgba(17,16,13,.92), rgba(17,16,13,.35) 70%, transparent); pointer-events: none; }
.final__inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 0 var(--gutter); max-width: 1100px; }
.final__title { margin-top: 26px; font-size: clamp(34px, 4.8vw, 72px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.final__text { margin-top: 24px; max-width: 56ch; color: var(--muted); font-size: 17px; }
.final .actions { margin-top: 40px; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; background: var(--bg); padding: 120px 0 110px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__logo { display: flex; flex-direction: column; font-size: clamp(34px, 5.6vw, 92px); font-weight: 500; letter-spacing: .18em; line-height: 1; color: var(--cream-hi); }
.footer__ready { display: flex; flex-direction: column; gap: 10px; }
.footer__q { font-size: clamp(32px, 3.6vw, 54px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 8px; }
.footer__ready a { font-size: clamp(18px, 1.8vw, 26px); color: var(--muted); transition: color .3s; }
.footer__ready a:hover { color: var(--cream-hi); }
.footer__about { margin-top: 56px; max-width: 52ch; color: var(--muted); font-size: 15px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 32px; margin-top: 72px; }
.footer__col { display: flex; flex-direction: column; gap: 6px; }
.footer__col .label { color: var(--soft); margin-bottom: 12px; }
.footer__col a { font-size: 18px; letter-spacing: -.01em; transition: opacity .3s; overflow-wrap: anywhere; }
.footer__col a:hover { opacity: .65; }
.footer__boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-self: end; }
.footer__box {
  aspect-ratio: 1; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-2), var(--bg) 80%);
  font-size: 12px; font-weight: 700; text-transform: uppercase; line-height: 1.3; color: rgba(208,197,171,.85);
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.footer__bottom a:hover { color: var(--cream-hi); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .about { grid-template-columns: 1fr 1fr; }
  .about > .label { grid-column: 1 / -1; }
  .offer, .contact { grid-template-columns: 1fr 1fr; }
  .offer__text, .contact__intro { grid-column: 1; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__boxes { grid-column: 1 / -1; max-width: 360px; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .pill { gap: 12px; padding-left: 18px; }
  .pill__links { display: none; }
  .pill__menu { display: block; }
  .topbar { padding-top: 22px; }
  .topbar__mail { display: none; }
  .logo { font-size: 13px; }

  .hero__photo img { object-position: 50% 10%; }
  .hero__stage { justify-content: flex-end; padding: 0 var(--gutter) 150px; }
  .hero__display { font-size: 11.4vw; }
  .hero__display .line { white-space: nowrap; }
  .hero__display .l1 { padding-left: 0; }
  .hero__box, .hero__arrow { display: none; }
  .hero__display .l2, .hero__display .l3 { justify-content: flex-start; }
  .hero__intro { position: static; transform: none; width: auto; max-width: 36ch; margin-top: 22px; font-size: 14.5px; }
  .hero__foot { bottom: 92px; font-size: 12px; }

  .split-head, .pin__grid, .quote { grid-template-columns: 1fr; gap: 18px; }
  .split-head .label, .pin__grid .label { padding-top: 0; }
  .quote__text, .quote .btn { grid-column: 1; }
  .lead-right, .two-col, .faq { margin-left: 0; }
  .two-col { grid-template-columns: 1fr; gap: 16px; }
  .giant-row { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 48px; }
  .giant-row .label { padding-bottom: 0; }
  .pin { height: 220vh; }
  .pin__lead { font-size: 16px; }

  .tiles { grid-template-columns: 1fr; margin-top: 64px; }
  .tile { min-height: 0; }
  .about, .offer, .contact { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto__box { min-height: 200px; }
  .list__row { grid-template-columns: 1fr; gap: 10px; }
  .service summary { grid-template-columns: 52px 1fr 40px; gap: 14px; padding: 26px 0; }
  .service__icon { width: 40px; height: 40px; }
  .service__body { grid-template-columns: 1fr; margin-left: 0; gap: 28px; }
  .band { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .stackwall__bg { font-size: 19vw; }
  .glass { min-height: 360px; top: calc(12vh + var(--i, 0) * 48px); }
  .case { grid-template-columns: 1fr; gap: 20px; top: calc(7vh + var(--i, 0) * 18px); }
  .case__title { margin-top: 16px; }
  .footer__top { flex-direction: column; }
  .footer__logo { font-size: 10vw; letter-spacing: .14em; }
}

@media (max-width: 520px) {
  .footer__cols { grid-template-columns: 1fr; }
  .actions .btn, .center .btn, .band .btn, .quote .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, [data-mask] > span, .hero__display .line > * { opacity: 1; transform: none !important; }
  [data-fill] .c { opacity: 1 !important; }
  .pin { height: auto; }
  .pin__sticky { position: relative; height: auto; padding: 120px 0; }
  .pin__floats { display: none; }
}
