/* Soter Grupo Inmobiliario: hoja de estilos de sotergrupo.com */
:root {
  --ink: #0f0f0e;
  --ink-2: #161614;
  --ink-3: #201f1c;
  --paper: #f6f3ee;
  --paper-2: #ede7dd;
  --gold: #c2a265;
  --gold-l: #d9bc7e;
  --gold-d: #7d6230;
  --text: #1c1b19;
  --text-2: #4f4a42;
  --on-ink: #f1ece3;
  --on-ink-2: #aaa397;
  --line-d: rgba(241, 236, 227, .14);
  --line-l: rgba(28, 27, 25, .13);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1260px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 300 17px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.01em;
  margin: 0;
  font-variant-numeric: lining-nums;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.2vw, 5.9rem); }
h2 { font-size: clamp(2.2rem, 4.3vw, 3.9rem); }
h3 { font-size: clamp(1.55rem, 2.1vw, 1.95rem); }
em { font-style: italic; color: var(--gold-l); }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font: 500 12px/1 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: currentColor; }
.dark .eyebrow, .eyebrow.on-dark { color: var(--gold); }
.lead { font-size: clamp(1.08rem, 1.3vw, 1.22rem); color: var(--text-2); max-width: 58ch; }
.dark .lead { color: var(--on-ink-2); }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 30px;
  font: 500 12.5px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--gold-l); border-color: var(--gold-l); }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--on-ink); border-color: rgba(241, 236, 227, .42); }
.btn-ghost:hover { background: transparent; color: var(--gold-l); border-color: var(--gold-l); }
.btn-dark { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-3); border-color: var(--ink-3); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 12.5px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-d);
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
}
.dark .link-arrow { color: var(--gold); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header);
  color: var(--on-ink);
  transition: background .4s var(--ease), height .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  --header: 72px;
  background: rgba(15, 15, 14, .9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-d);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 54px; width: auto; transition: height .4s var(--ease); }
.is-solid .brand img { height: 44px; }
.nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); }
.nav a {
  position: relative;
  font: 400 12.5px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 8px 0;
  color: rgba(241, 236, 227, .86);
  transition: color .3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-l); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .nav-tel { color: var(--on-ink-2); letter-spacing: .12em; padding-left: clamp(22px, 3vw, 44px); border-left: 1px solid var(--line-d); }
.nav .nav-tel::after { display: none; }
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  color: var(--on-ink);
  cursor: pointer;
  position: relative;
}
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Portada ---------- */
.hero {
  position: relative;
  min-height: 640px;
  height: 100vh;
  height: 100svh;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 9, .86) 0%, rgba(10, 10, 9, .55) 46%, rgba(10, 10, 9, .18) 100%),
    linear-gradient(0deg, rgba(10, 10, 9, .7) 0%, rgba(10, 10, 9, 0) 45%),
    linear-gradient(180deg, rgba(10, 10, 9, .55) 0%, rgba(10, 10, 9, 0) 22%);
  pointer-events: none;
}
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .09;
  pointer-events: none;
  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-content { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(88px, 15vh, 150px); }
.hero h1 { max-width: 16ch; margin-bottom: 30px; }
.hero .lead { color: rgba(241, 236, 227, .78); margin-bottom: 44px; max-width: 54ch; }
.hero-foot {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 0;
}
.hero-foot .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  padding-bottom: 38px;
}
.hero-caption {
  font: 400 11.5px/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(241, 236, 227, .7);
  transition: opacity .6s;
}
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 44px; height: 20px;
  padding: 0; border: 0; background: none; cursor: pointer;
  position: relative;
}
.hero-dots button::before, .hero-dots button::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  height: 1px;
  width: 100%;
  background: rgba(241, 236, 227, .3);
}
.hero-dots button::after { background: var(--gold); width: 0; }
.hero-dots button.is-active::after { animation: progress 7s linear forwards; }
@keyframes progress { to { width: 100%; } }

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero {
  position: relative;
  min-height: 520px;
  height: 68vh;
  background: var(--ink);
  color: var(--on-ink);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(56px, 10vh, 96px); }
.page-hero h1 { max-width: 16ch; margin-bottom: 22px; }
.page-hero .lead { color: rgba(241, 236, 227, .78); margin: 0; }
.page-hero.short { min-height: 420px; height: 52vh; }

/* ---------- Secciones ---------- */
.section { padding: clamp(84px, 11vw, 150px) 0; }
.section.tight { padding: clamp(64px, 8vw, 110px) 0; }
.dark { background: var(--ink); color: var(--on-ink); }
.dark-2 { background: var(--ink-2); color: var(--on-ink); }
.paper-2 { background: var(--paper-2); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px 60px;
  flex-wrap: wrap;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 { max-width: 20ch; }
.section-head .lead { margin: 0; max-width: 46ch; }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 8px clamp(20px, 4vw, 56px); border-left: 1px solid var(--line-d); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  display: block;
  font: 500 clamp(3.2rem, 6vw, 5.2rem)/1 var(--serif);
  color: var(--gold-l);
  margin-bottom: 18px;
  letter-spacing: -.02em;
}
.stat span {
  display: block;
  font: 400 12px/1.6 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-ink-2);
  max-width: 30ch;
}

/* Dos columnas con foto */
.split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}
.split.reverse { grid-template-columns: 6fr 5fr; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; position: relative; z-index: 1; }
.split-media.wide img { aspect-ratio: 5 / 4; }
.split-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  opacity: .7;
}
.split.reverse .split-media::before { inset: 22px 22px -22px -22px; }
.split h2 { margin-bottom: 32px; }
.split .lead { margin-bottom: 40px; }

/* Servicios en portada */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.pillar { border-top: 1px solid var(--line-l); padding-top: 34px; transition: border-color .4s; }
.pillar:hover { border-top-color: var(--gold); }
.pillar .num { font-variant-numeric: lining-nums; font: 500 1.05rem/1 var(--serif); color: var(--gold-d); letter-spacing: .1em; display: block; margin-bottom: 26px; }
.pillar h3 { margin-bottom: 18px; }
.pillar p { color: var(--text-2); margin: 0; }

/* Proyectos destacados */
.featured {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(220px, 23vw, 330px);
  gap: clamp(12px, 1.4vw, 20px);
}
.tile { position: relative; overflow: hidden; grid-column: span 4; background: var(--ink-3); }
.tile.t-big { grid-column: span 7; grid-row: span 2; }
.tile.t-side { grid-column: span 5; }
.tile figure { margin: 0; height: 100%; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 9, .9) 0%, rgba(10, 10, 9, .45) 34%, rgba(10, 10, 9, 0) 62%);
}
.tile figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 32px); }
.tile .meta, .card .meta {
  display: block;
  font: 400 11.5px/1 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.tile h3 { color: var(--on-ink); }
.tile.t-big h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); }

/* Clientes */
.clients { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.clients li {
  border-right: 1px solid var(--line-l);
  border-bottom: 1px solid var(--line-l);
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 18px;
  font: 500 clamp(1.15rem, 1.5vw, 1.4rem)/1.2 var(--serif);
  transition: color .35s, background .35s;
}
.clients li:hover { color: var(--gold-d); background: rgba(194, 162, 101, .07); }
.dark .clients, .dark .clients li { border-color: var(--line-d); }
.dark .clients li:hover { color: var(--gold-l); }

/* Llamada final */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 9, .74); }
.cta .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.cta h2 { max-width: 18ch; margin-bottom: 26px; }
.cta .lead { margin: 0 auto 44px; text-align: center; }
.cta .btns { justify-content: center; }

/* ---------- Nosotros ---------- */
.intro-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.intro-grid .big {
  text-wrap: balance;
  font: 500 clamp(1.8rem, 2.9vw, 2.6rem)/1.25 var(--serif);
  color: var(--text);
  margin: 0;
}
.intro-grid .body p { color: var(--text-2); }

.founders { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.founder {
  border: 1px solid var(--line-d);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}
.founder::before { content: ""; position: absolute; left: -1px; top: -1px; width: 64px; height: 2px; background: var(--gold); }
.founder .role { font: 400 11.5px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.founder h3 { font-size: clamp(1.9rem, 2.6vw, 2.4rem); margin-bottom: 22px; }
.founder p { color: var(--on-ink-2); }
.founder .link-arrow { margin-top: auto; align-self: flex-start; }
.pending {
  border: 1px dashed rgba(194, 162, 101, .55);
  color: var(--gold-l) !important;
  padding: 14px 18px;
  font-size: .92rem;
}

.timeline { position: relative; max-width: 980px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 170px; width: 1px; background: var(--line-l); }
.timeline li { display: grid; grid-template-columns: 170px 1fr; position: relative; padding: 0 0 46px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: 166px; top: 13px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold-d);
}
.timeline .year { font: 500 clamp(1.5rem, 2.2vw, 1.9rem)/1.1 var(--serif); color: var(--gold-d); padding-right: 36px; }
.timeline .what { padding-left: 48px; }
.timeline .what strong { display: block; font: 500 1.4rem/1.25 var(--serif); margin-bottom: 4px; }
.timeline .what span { color: var(--text-2); font-size: .98rem; }

/* ---------- Servicios ---------- */
.service + .service { margin-top: clamp(90px, 11vw, 150px); }
.service .num { font: 500 1.05rem/1 var(--serif); letter-spacing: .1em; color: var(--gold-d); display: block; margin-bottom: 22px; }
.checklist { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.checklist li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-l);
  font-size: 1.02rem;
}
.checklist li::before { content: ""; flex: 0 0 18px; height: 1px; background: var(--gold-d); transform: translateY(-5px); }

/* ---------- Proyectos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-l); }
.filters button {
  background: none;
  border: 0;
  padding: 0 0 18px;
  margin-bottom: -1px;
  font: 400 12.5px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-2);
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.filters button sup { font-size: .75em; margin-left: 4px; color: var(--gold-d); }
.filters button:hover { color: var(--text); }
.filters button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--gold-d); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 34px); }
.card { cursor: pointer; text-align: left; background: none; border: 0; padding: 0; color: inherit; font: inherit; }
.card[hidden] { display: none; }
.card .ph { overflow: hidden; background: var(--paper-2); margin-bottom: 22px; position: relative; }
.card .ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .ph img { transform: scale(1.05); }
.card .ph .count {
  position: absolute;
  right: 14px; bottom: 14px;
  background: rgba(15, 15, 14, .78);
  color: var(--on-ink);
  font: 400 11px/1 var(--sans);
  letter-spacing: .18em;
  padding: 8px 10px;
}
.card .meta { color: var(--gold-d); }
.card h3 { font-size: clamp(1.45rem, 1.9vw, 1.75rem); }

.lightbox {
  border: 0;
  padding: 0;
  margin: auto;
  width: min(1200px, 94vw);
  max-height: 94vh;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 10, 9, .9); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.lightbox figcaption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 26px; }
.lightbox figcaption h3 { font-size: 1.6rem; }
.lightbox .meta { display: block; font: 400 11.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.lb-ctrls { display: flex; gap: 8px; }
.lb-ctrls button {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: none;
  border: 1px solid var(--line-d);
  color: var(--on-ink);
  cursor: pointer;
  transition: border-color .3s, color .3s;
}
.lb-ctrls button:hover { border-color: var(--gold); color: var(--gold-l); }
.lb-ctrls button[hidden] { display: none; }
.lb-ctrls svg { width: 16px; height: 16px; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 110px); align-items: stretch; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.contact-list > div { padding: 26px 0; border-bottom: 1px solid var(--line-l); display: grid; grid-template-columns: 150px 1fr; gap: 20px; }
.contact-list dt { font: 400 11.5px/1.9 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d); }
.contact-list dd { margin: 0; font: 500 1.35rem/1.4 var(--serif); }
.contact-list dd a { border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.contact-list dd a:hover { color: var(--gold-d); border-bottom-color: currentColor; }
.contact-list dd small { display: block; font: 300 .95rem/1.6 var(--sans); color: var(--text-2); }
.map { position: relative; min-height: 460px; background: var(--paper-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) sepia(.18); }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-2); padding: clamp(72px, 8vw, 110px) 0 0; font-size: .97rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 48px; padding-bottom: 72px; }
.foot-grid img { height: 54px; width: auto; margin-bottom: 26px; }
.foot-grid h4 { font: 500 11.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { transition: color .3s; }
.foot-grid a:hover { color: var(--gold-l); }
.foot-grid address { font-style: normal; }
.foot-bottom { border-top: 1px solid var(--line-d); }
.foot-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 30px; padding-top: 26px; padding-bottom: 30px; font-size: .84rem; letter-spacing: .04em; color: rgba(170, 163, 151, .8); }

/* ---------- Aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

/* ---------- Pantallas medianas y móviles ---------- */
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header: 74px; }
  .menu-btn { display: block; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 0 var(--gutter);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
  .menu-open body { overflow: hidden; }
  .nav a { font: 500 2.4rem/1.3 var(--serif); letter-spacing: 0; text-transform: none; }
  .nav a::after { display: none; }
  .nav .nav-tel { border: 0; padding: 26px 0 0; font: 400 1rem/1 var(--sans); letter-spacing: .14em; }
  .brand { position: relative; z-index: 2; }
  .brand img { height: 40px; }
  .split, .split.reverse, .intro-grid, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { margin-right: 22px; }
  .split.reverse .split-media { margin: 0 0 0 22px; }
  .pillars { grid-template-columns: 1fr; }
  .featured { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .tile, .tile.t-side { grid-column: span 1; }
  .tile.t-big { grid-column: span 2; grid-row: span 1; }
  .founders { grid-template-columns: 1fr; }
  .hero-caption { display: none; }
  .hero-foot .wrap { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:first-child { border-left: 0; padding: 26px 0; border-top: 1px solid var(--line-d); }
  .stat:first-child { border-top: 0; padding-top: 0; }
  .featured { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .tile.t-big { grid-column: span 1; }
  .clients { grid-template-columns: 1fr 1fr; }
  .clients li { min-height: 104px; font-size: 1.1rem; }
  .cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 34px; }
  .timeline li::before { left: 2px; }
  .timeline .what { padding-left: 0; padding-top: 6px; }
  .contact-list > div { grid-template-columns: 1fr; gap: 8px; }
  .btn { padding: 16px 22px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .lightbox figcaption { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.num, .stat strong, .timeline .year, .contact-list dd { font-variant-numeric: lining-nums; }
