/* =========================================================
   Canteras del Sur — estilos
   Paleta monocromática de la marca: negro piedra + travertino.
   ========================================================= */

:root {
  --ink: #0c0b0a;
  --ink-2: #141210;
  --ink-3: #1d1a17;
  --stone: #eeeae3;
  --stone-2: #e5dfd5;
  --white: #f7f5f1;
  --wa: #25d366;

  --fg-m: rgba(247, 245, 241, .62);
  --line: rgba(247, 245, 241, .14);

  /* Sweet Sans Pro viene de Adobe Fonts con los pesos corridos:
     400 = Extra Light, 500 = Light, 600 = Regular (solo esos tres están en el kit) */
  --display: 'sweet-sans-pro', 'Montserrat', system-ui, sans-serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ph: 100vh;
  --gutter: clamp(20px, 4.2vw, 72px);
  --nav-h: clamp(76px, 10vh, 104px);
  --ease: cubic-bezier(.22, 1, .36, 1);

}
@supports (height: 100svh) { :root { --ph: 100svh; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  scrollbar-color: #3b3732 var(--ink);
  scrollbar-width: thin;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped, html.is-locked { overflow: hidden; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* grano sutil, textura de piedra */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; font-weight: 400; } /* acento de los títulos: Extra Light itálica */
ul, ol { list-style: none; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

.ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--fill { fill: currentColor; stroke: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--fg-m);
}
.eyebrow::before {
  content: '';
  width: 34px; height: 1px;
  background: currentColor;
}

/* ---------- Botones ---------- */
.btn {
  --fg: var(--white); --bg: transparent; --bd: rgba(247, 245, 241, .5);
  --fill: var(--white); --fg-h: var(--ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 30px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--bd);
  transition: color .6s var(--ease), border-color .6s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--fill);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .6s var(--ease);
}
.btn:hover { color: var(--fg-h); border-color: var(--fill); }
.btn:hover::before { transform: scaleY(1); }
.btn .ico { transition: transform .6s var(--ease); }
.btn:hover .ico:not(.ico--fill) { transform: translateX(4px); }

.btn--solid { --fg: var(--ink); --bg: var(--white); --bd: var(--white); --fill: var(--ink-3); --fg-h: var(--white); }
.btn--dark  { --fg: var(--ink); --bd: rgba(12, 11, 10, .45); --fill: var(--ink); --fg-h: var(--white); }

/* ---------- Intro ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: var(--ink);
  clip-path: inset(0 0 0 0);
  animation: loader-failsafe 0s 7s forwards;
}
@keyframes loader-failsafe { to { visibility: hidden; } }
.loader__mark { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.loader__word { width: clamp(170px, 17vw, 250px); height: auto; }
.slabs { width: clamp(88px, 9vw, 124px); overflow: visible; stroke: var(--white); stroke-width: 1.1; stroke-linejoin: round; }
.slabs path, .bgslabs path { vector-effect: non-scaling-stroke; }
.slab__body { fill: var(--ink); }

.progress { position: fixed; inset: 0 0 auto; z-index: 55; height: 2px; mix-blend-mode: difference; pointer-events: none; }
.progress i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
  color: var(--white);
  pointer-events: none;
  transition: color .5s var(--ease);
  /* tono según la sección que tiene debajo (js: .is-light) */
  --nav-bg: rgba(12, 11, 10, .42);
  --nav-fill: var(--white);
  --nav-on-fill: var(--ink);
}
.nav.is-light { color: var(--ink); --nav-bg: rgba(238, 234, 227, .74); --nav-fill: var(--ink); --nav-on-fill: var(--white); }
/* fondo esmerilado en cuanto se scrollea */
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  opacity: 0;
  transition: opacity .5s var(--ease), background .5s var(--ease);
}
.nav.is-scrolled::before { opacity: 1; }
.nav > * { pointer-events: auto; }
.nav__logo img { height: clamp(34px, 4.4vh, 44px); width: auto; transition: filter .5s var(--ease); }
.nav.is-light .nav__logo img { filter: invert(1); }
.nav__links { display: flex; gap: clamp(22px, 2.4vw, 40px); }
.nav__links a, .nav__cta {
  position: relative;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.nav__links a { padding: 6px 0; }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .6s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 24px;
  border: 1px solid currentColor;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.nav__cta:hover { background: var(--nav-fill); border-color: var(--nav-fill); color: var(--nav-on-fill); }
.nav__cta-short { display: none; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger i { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; }
.nav__burger i:first-child { top: 18px; }
.nav__burger i:last-child { top: 26px; }

@media (max-width: 1179px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
}
@media (max-width: 520px) {
  .nav__cta { height: 40px; padding: 0 16px; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
}

/* Menú móvil */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 96px var(--gutter) 40px;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease), visibility 0s; }
.menu__close {
  position: absolute;
  top: 28px; right: var(--gutter);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
}
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(28px, 7.2vw, 44px);
  font-weight: 500;
  line-height: 1.1;
}
.menu__links small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--fg-m); }
.menu__cta { align-self: flex-start; }

/* =========================================================
   Coreografía: cada .wrap reserva el recorrido de scroll de su
   panel. El panel queda fijo (sticky) mientras se anima y la
   sección siguiente sube por encima, como placas que se apilan.
   ========================================================= */
.wrap { position: relative; height: calc(var(--len, 0px) + 2 * var(--ph)); }
.wrap + * { margin-top: calc(-1 * var(--ph)); }
.panel {
  position: sticky;
  top: 0;
  height: var(--ph);
  overflow: hidden;
  transform-origin: 50% 20%;
}
.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #000;
  opacity: var(--dim, 0);
  pointer-events: none;
}

/* ---------- 01 Portada + 02 Propuesta (escenario compartido) ---------- */
.stage { background: var(--stone); }
.layer { position: absolute; inset: 0; }
.anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

.hero { z-index: 2; color: var(--white); pointer-events: none; }
.hero__slab, .hero__copy { pointer-events: auto; }
.hero__slabs { position: absolute; inset: 0; }
/* la foto se corta en tres franjas (1px de solape para que no se vean costuras) */
.hero__slab { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
.hero__slab--1 { clip-path: inset(0 0 calc(66.667% - 1px) 0); }
.hero__slab--2 { clip-path: inset(calc(33.333% - 1px) 0 calc(33.333% - 1px) 0); }
.hero__slab--3 { clip-path: inset(calc(66.667% - 1px) 0 0 0); }
.hero__slab img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  transform-origin: 50% 55%;
}
.hero__slab::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 10, .62) 0%, rgba(12, 11, 10, 0) 26%),
    linear-gradient(0deg, rgba(12, 11, 10, .9) 0%, rgba(12, 11, 10, .5) 32%, rgba(12, 11, 10, 0) 62%);
}

.hero__copy {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(108px, 13vh, 140px);
  z-index: 3;
}
.hero__title {
  margin: 18px 0 clamp(22px, 4vh, 40px);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, min(6.8vw, 12.4vh), 128px);
  line-height: .98;
  letter-spacing: -.015em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__line > span { display: block; text-wrap: balance; }
.hero__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 245, 241, .25);
}
.hero__row p { max-width: 46ch; font-size: 14.5px; color: rgba(247, 245, 241, .82); }
.hero__row .btn { flex: none; }

.hero__scroll { position: absolute; left: 50%; bottom: 0; z-index: 3; translate: -50% 0; }
.hero__scroll span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hero__scroll i { position: relative; display: block; width: 1px; height: 56px; overflow: hidden; background: rgba(247, 245, 241, .2); }
.hero__scroll i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  animation: drip 2.4s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ---------- 02 Propuesta ---------- */
.manifesto {
  --fg-m: rgba(12, 11, 10, .58);
  --line: rgba(12, 11, 10, .16);
  display: flex;
  align-items: center;
  background: var(--stone);
  color: var(--ink);
}
.bgslabs {
  position: absolute;
  right: -8vw;
  top: 50%;
  z-index: 0;
  width: min(60vw, 100vh);
  margin-top: calc(min(60vw, 100vh) * -.38);
  overflow: visible;
  stroke: rgba(12, 11, 10, .13);
  stroke-width: 1;
  stroke-linejoin: round;
}
.bgslabs .slab__body { fill: var(--stone); }
.manifesto__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--nav-h) var(--gutter) 40px;
}
.manifesto__text {
  max-width: 15.5em;
  margin: clamp(18px, 3vh, 32px) 0 clamp(14px, 2.4vh, 24px);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(30px, min(4.3vw, 7vh), 76px);
  line-height: 1.06;
  letter-spacing: -.01em;
}
.manifesto__sub { max-width: 42ch; font-size: 15px; color: var(--fg-m); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 56px);
  max-width: 1040px;
  margin-top: clamp(28px, 6vh, 64px);
}
.pillar {
  position: relative;
  padding-top: 20px;
  font-family: var(--display);
  font-size: clamp(19px, min(1.75vw, 3.1vh), 27px);
  font-weight: 500;
  line-height: 1.15;
}
.pillar span {
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--fg-m);
}
.pillar__rule {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(12, 11, 10, .3);
  transform-origin: 0 50%;
}
.manifesto__cta { margin-top: clamp(28px, 6vh, 64px); }

/* ---------- 03 Somos ---------- */
.somos {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6.2fr);
  gap: clamp(32px, 5vw, 104px);
  align-items: center;
  padding: var(--nav-h) var(--gutter) 40px;
  background: var(--ink-2);
}
.somos__media {
  position: relative;
  height: calc(var(--ph) - var(--nav-h) - 40px);
  overflow: hidden;
}
.somos__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.somos__media figcaption {
  position: absolute;
  left: 22px; bottom: 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  line-height: 1.8;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
.somos__title {
  margin: clamp(10px, 2vh, 22px) 0 clamp(12px, 2.4vh, 26px);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, min(4.9vw, 9.2vh), 92px);
  line-height: .98;
  letter-spacing: -.015em;
}
.somos__lead {
  max-width: 30ch;
  margin-bottom: clamp(16px, 3vh, 30px);
  font-family: var(--display);
  font-size: clamp(18px, min(1.6vw, 3vh), 25px);
  font-weight: 500;
  line-height: 1.32;
}
.somos__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 40px);
  margin-bottom: clamp(20px, 4.4vh, 48px);
  font-size: clamp(13px, min(1vw, 2vh), 14.5px);
  line-height: 1.7;
  color: var(--fg-m);
}
.feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(18px, 2.4vw, 40px);
  border-top: 1px solid var(--line);
}
.feats li {
  display: flex;
  gap: 16px;
  padding: clamp(10px, 1.9vh, 18px) 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.45;
}
.feats span { font-family: var(--display); font-weight: 600; font-style: italic; color: var(--fg-m); }

/* ---------- 04 Productos y servicios ---------- */
.prod {
  --fg-m: rgba(12, 11, 10, .58);
  --line: rgba(12, 11, 10, .15);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  background: var(--stone);
  color: var(--ink);
}
.prod__head { grid-column: 1; grid-row: 1; padding: calc(var(--nav-h) + 8px) var(--gutter) 0; }
.prod__title {
  max-width: 13em;
  margin-top: clamp(12px, 2vh, 20px);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(31px, min(3.7vw, 6.6vh), 64px);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.prod__stage, .ch { display: contents; }
.ch__text {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  max-width: 560px;
  padding: 3vh var(--gutter) 64px;
}
.ch__title {
  margin-bottom: clamp(12px, 2vh, 20px);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, min(2.3vw, 4.2vh), 38px);
  line-height: 1.08;
}
.ch__title span {
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--fg-m);
}
.ch__text > p:not(.ch__label) { font-size: clamp(13.5px, min(1.05vw, 2.2vh), 15px); line-height: 1.7; color: var(--fg-m); }
.ch__label {
  margin: clamp(16px, 3vh, 28px) 0 8px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.ch__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.ch__list li {
  padding: clamp(7px, 1.3vh, 11px) 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.ch__media { grid-column: 2; grid-row: 1 / span 2; position: relative; overflow: hidden; }
.ch__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch--2 .ch__text { opacity: 0; }
.ch--2 .ch__media { clip-path: inset(100% 0 0 0); }

.prod__count {
  position: absolute;
  left: var(--gutter);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--fg-m);
}
.prod__count-win { display: block; height: 1.6em; overflow: hidden; color: var(--ink); }
.prod__count-track { display: flex; flex-direction: column; }
.prod__count-track b { height: 1.6em; line-height: 1.6em; font-weight: 500; }
.prod__count > span:nth-child(2) { line-height: 1.6em; }
.prod__progress { position: relative; display: block; width: 120px; height: 1px; margin-left: 12px; background: var(--line); }
.prod__progress i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(.5); transform-origin: 0 50%; }

/* ---------- 05 Obras ---------- */
.gal { display: flex; align-items: center; background: var(--ink); }
.gal__bgtext {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  margin-top: -.55em;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(120px, 30vh, 320px);
  line-height: 1.1;
  white-space: nowrap;
  color: rgba(247, 245, 241, .045);
  pointer-events: none;
}
.gal__track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(26px, 3.4vw, 64px);
  width: max-content;
  height: 100%;
  padding: 0 var(--gutter);
  will-change: transform;
}
.gal__intro { flex: none; width: min(500px, 84vw); padding-right: clamp(0px, 4vw, 72px); }
.gal__title {
  margin: 20px 0 22px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, min(3.85vw, 6.8vh), 50px); /* "Acompañamiento" tiene que entrar en los 428px de la columna */
  line-height: 1.02;
  letter-spacing: -.01em;
}
.gal__intro p:not(.eyebrow) { margin-bottom: 34px; font-size: 14.5px; line-height: 1.75; color: var(--fg-m); }
.gal__item {
  position: relative;
  flex: none;
  height: clamp(220px, 46vh, 540px);
  aspect-ratio: 846 / 583;
  overflow: hidden;
  cursor: zoom-in;
}
.gal__item:nth-of-type(odd) { align-self: flex-start; margin-top: max(var(--nav-h), 15vh); }
.gal__item:nth-of-type(even) { align-self: flex-end; height: clamp(190px, 36vh, 420px); margin-bottom: 15vh; }
.gal__item img {
  position: absolute;
  top: 0; left: -10%;
  width: 120%; height: 100%;
  max-width: none;
  object-fit: cover;
  filter: saturate(.82) brightness(.94);
  transition: filter .8s var(--ease);
}
.gal__item:hover img { filter: none; }
.gal__item span {
  position: absolute;
  left: 16px; bottom: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .28em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .6);
}
.gal__foot {
  position: absolute;
  left: var(--gutter);
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(360px, 60vw);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--fg-m);
}
.gal__num { color: var(--white); }
.gal__bar { position: relative; flex: 1; height: 1px; background: var(--line); }
.gal__bar i { position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- 06 Representantes ---------- */
.marcas {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--ph);
  padding: calc(var(--nav-h) + 20px) 0 80px;
  overflow: hidden;
  background: #000;
}
.marcas__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: clamp(36px, 7vh, 84px);
  padding: 0 var(--gutter);
}
.marcas__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 70px);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.marquee { overflow: hidden; border-block: 1px solid var(--line); }
.marquee + .marquee { border-top: 0; }
.marquee__inner { display: flex; width: max-content; will-change: transform; }
.marquee--logos li { flex: none; display: flex; align-items: center; padding: clamp(24px, 4.6vh, 50px) clamp(28px, 3.4vw, 60px); }
.marquee--logos img { width: auto; height: clamp(48px, 6.2vw, 88px); opacity: .55; transition: opacity .5s var(--ease); }
.marquee--logos li:hover img { opacity: 1; }
.marquee--text span {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 2.4vh 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(42px, 6.6vw, 108px);
  line-height: 1.15;
  white-space: nowrap;
  color: rgba(247, 245, 241, .2);
}
.marquee--text span::after {
  content: '';
  width: .16em; height: .16em;
  margin: 0 .55em;
  border: 1px solid rgba(247, 245, 241, .35);
  transform: rotate(45deg);
}

/* ---------- 07 Preguntas frecuentes ---------- */
.faq {
  --fg-m: rgba(12, 11, 10, .58);
  --line: rgba(12, 11, 10, .15);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
  padding: calc(var(--nav-h) + clamp(40px, 8vh, 96px)) var(--gutter) clamp(96px, 16vh, 180px);
  background: var(--stone);
  color: var(--ink);
  interpolate-size: allow-keywords;
}
.faq__head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__title {
  margin: 20px 0 22px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, min(3.85vw, 6.8vh), 62px);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.faq__lead { max-width: 34ch; margin-bottom: 34px; font-size: 14.5px; line-height: 1.75; color: var(--fg-m); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(20px, 3.2vh, 30px) 0;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(19px, 1.6vw, 27px);
  line-height: 1.2;
  letter-spacing: 0;
  transition: opacity .4s;
}
.faq__item summary:hover h3 { opacity: .6; }
/* + que gira a − al abrir */
.faq__item summary i {
  position: relative;
  flex: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
}
.faq__item summary i::before, .faq__item summary i::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1px;
  margin: -.5px 0 0 -6px;
  background: currentColor;
  transition: transform .5s var(--ease);
}
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { background: var(--ink); border-color: var(--ink); color: var(--white); }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__answer {
  max-width: 62ch;
  padding: 0 66px clamp(22px, 3.4vh, 32px) 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--fg-m);
}
.faq__answer a { color: var(--ink); border-bottom: 1px solid currentColor; transition: opacity .4s; }
.faq__answer a:hover { opacity: .6; }
/* apertura animada donde el navegador lo permite; en el resto abre al instante */
.faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .6s var(--ease), content-visibility .6s allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }

/* ---------- 08 Contacto ---------- */
.cta { display: grid; place-items: center; text-align: center; background: var(--ink); }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; }
.cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(12, 11, 10, .55) 0%, rgba(12, 11, 10, .86) 100%);
}
.cta__inner { position: relative; z-index: 2; max-width: 1180px; padding: var(--nav-h) var(--gutter) 40px; }
.cta__title {
  margin: 22px 0 26px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, min(5.6vw, 9.6vh), 98px);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.cta__line { display: block; overflow: hidden; padding-bottom: .08em; }
.cta__line > span { display: block; text-wrap: balance; }
.cta__text { max-width: 44ch; margin: 0 auto 38px; color: rgba(247, 245, 241, .78); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: var(--ph);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 26px;
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1.1fr; gap: 48px; }
.footer__brand img { width: 220px; height: auto; margin-bottom: 26px; }
.footer__brand p { max-width: 38ch; font-size: 14px; color: var(--fg-m); }
.footer__label { margin-bottom: 18px; font-size: 10.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-m); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; font-style: normal; }
.footer__col a, .footer__place { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 15px; transition: opacity .4s; }
.footer__col a:hover { opacity: .6; }
.footer__place { color: var(--fg-m); }
.footer__word { width: 100%; height: auto; max-height: 30vh; object-fit: contain; object-position: left bottom; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 96px 0 0; /* deja libre el lugar de la burbuja de WhatsApp */
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-m);
}
.footer__comnic { display: inline-flex; align-items: center; gap: 12px; transition: opacity .4s; }
.footer__comnic img { height: 24px; width: auto; }
.footer__comnic:hover { opacity: .7; }

/* ---------- Burbuja WhatsApp ---------- */
.wa {
  position: fixed;
  right: clamp(16px, 2.2vw, 32px);
  bottom: clamp(16px, 2.2vw, 32px);
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.is-ready .wa { opacity: 1; transform: none; pointer-events: auto; }
.wa__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(247, 245, 241, .24);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
  transition: transform .6s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}
.wa__btn svg { width: 27px; height: 27px; fill: var(--white); }
.wa__btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(247, 245, 241, .45);
  animation: ring 3s var(--ease) infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.wa__dot {
  position: absolute;
  top: 3px; right: 3px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--wa);
  border: 2px solid var(--ink);
}
.wa__label {
  padding: 13px 18px;
  background: var(--white);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translateX(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.wa:hover .wa__label, .wa.is-hint .wa__label { opacity: 1; transform: none; }
.wa:hover .wa__btn { transform: scale(1.06); background: var(--wa); border-color: var(--wa); }
.wa:hover .wa__dot { border-color: var(--wa); }

/* ---------- Solicitar un asesor ---------- */
.asesor {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(540px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden auto;
  background: var(--ink-2);
  color: var(--white);
}
.asesor[open] { animation: drawer .8s var(--ease); }
.asesor::backdrop { background: rgba(12, 11, 10, .62); backdrop-filter: blur(6px); }
@keyframes drawer { from { transform: translateX(100%); } }
.asesor__form { position: relative; display: flex; flex-direction: column; gap: 24px; min-height: 100%; padding: clamp(32px, 5vw, 60px); }
.asesor h2 { margin-top: -8px; font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -.01em; }
.asesor__intro { color: var(--fg-m); font-size: 15px; }
.asesor__close { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; }
.asesor__close .ico { width: 16px; height: 16px; }
.field { display: flex; flex-direction: column; gap: 10px; border: 0; }
.field > span, .field legend { font-size: 10.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--fg-m); }
.field legend { margin-bottom: 12px; }
.field small { letter-spacing: .1em; text-transform: none; }
.field input, .field textarea {
  width: 100%;
  padding: 10px 0 12px;
  font: inherit;
  font-size: 16px;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(247, 245, 241, .25);
  border-radius: 0;
  resize: vertical;
  transition: border-color .4s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--white); }
.field textarea::placeholder { color: rgba(247, 245, 241, .3); }
.field.is-error input { border-color: #e2836f; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input, .check input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(247, 245, 241, .25);
  font-size: 13px;
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.chips label:hover span { border-color: var(--white); }
.chips input:checked + span { background: var(--white); color: var(--ink); border-color: var(--white); }
.chips input:focus-visible + span, .check input:focus-visible + span::before { outline: 1px solid var(--white); outline-offset: 3px; }
.check { position: relative; display: flex; align-items: center; font-size: 14px; color: var(--fg-m); cursor: pointer; }
.check span { display: flex; align-items: center; gap: 12px; }
.check span::before {
  content: '';
  flex: none;
  width: 18px; height: 18px;
  border: 1px solid rgba(247, 245, 241, .35);
  transition: background .3s, box-shadow .3s;
}
.check input:checked + span::before { background: var(--white); box-shadow: inset 0 0 0 3px var(--ink-2); }
.asesor__submit { margin-top: auto; width: 100%; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100dvh;
  max-width: none; max-height: none;
  margin: 0;
  padding: 5vh 5vw;
  border: 0;
  background: rgba(12, 11, 10, .95);
  cursor: zoom-out;
}
.lightbox[open] { display: grid; place-items: center; animation: fade .5s var(--ease); }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--white); border: 1px solid var(--line); border-radius: 50%; }
@keyframes fade { from { opacity: 0; } }

/* =========================================================
   Modo "flujo": pantallas angostas o bajas (y movimiento
   reducido). Las secciones con mucho texto dejan de fijarse.
   ========================================================= */
@media (max-width: 899px), (max-height: 619px), (prefers-reduced-motion: reduce) {
  .wrap--desk { height: auto; }
  .wrap--desk > .panel { position: relative; height: auto; min-height: var(--ph); overflow: visible; }
  .wrap--desk + * { margin-top: 0; }

  .manifesto__inner { padding: var(--nav-h) var(--gutter) 24px; }
  .bgslabs { width: 120vw; right: -50vw; margin-top: -40vw; }

  .somos { grid-template-columns: minmax(0, 1fr); padding: calc(var(--nav-h) + 16px) var(--gutter) 96px; }
  .somos__media { height: auto; aspect-ratio: 4 / 5; max-height: 78svh; }
  .somos__content { order: -1; }

  .prod { display: block; padding-bottom: 72px; }
  .prod__head { padding: calc(var(--nav-h) + 16px) var(--gutter) 16px; }
  .ch { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px var(--gutter) 24px; }
  .ch__text, .ch__media { grid-column: auto; grid-row: auto; }
  .ch__text { padding: 0; max-width: none; }
  .ch__media { width: 100%; aspect-ratio: 4 / 5; max-height: 76svh; }
  .ch--2 .ch__text { opacity: 1; }
  .ch--2 .ch__media { clip-path: none; }
  .prod__count { display: none; }

  @media (min-width: 700px) {
    .somos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .somos__content { order: 0; }
    .ch { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
    .ch--2 .ch__media { order: -1; }
  }
}

@media (max-width: 899px) {
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pillar { padding: 18px 0; }
  .pillar span { display: inline-block; width: 46px; margin: 0; }
  .pillar br { display: none; }
  .somos__body, .feats { grid-template-columns: minmax(0, 1fr); }
  .gal__item { height: 36svh; }
  .gal__item:nth-of-type(even) { height: 28svh; }
  .gal__bgtext { font-size: 24svh; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer { padding-bottom: 100px; }
  .footer__bottom { padding-right: 0; }
  .marcas { min-height: 0; padding: calc(var(--nav-h) + 16px) 0 72px; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: calc(var(--nav-h) + 24px) var(--gutter) 88px; }
  .faq__head { position: static; }
  .faq__lead { margin-bottom: 26px; }
  .faq__answer { padding-right: 0; }
}

@media (max-height: 619px) {
  .manifesto__sub { display: none; }
  .pillars { margin-top: 14px; }
  .pillar { padding-block: 10px; }
  .manifesto__cta { margin-top: 16px; min-height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .wrap { height: auto; }
  .wrap > .panel { position: relative; height: auto; min-height: var(--ph); }
  .wrap + * { margin-top: 0; }
  .loader { display: none; }
  .stage { display: flex; flex-direction: column; }
  .stage .layer { position: relative; inset: auto; }
  .hero { order: -1; min-height: var(--ph); }
  .manifesto { min-height: var(--ph); }
  .hero__scroll { display: none; }
  .gal { overflow-x: auto; }
  .gal__track { height: var(--ph); }
  .wa { opacity: 1; transform: none; pointer-events: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
