/* =========================================================
   CGA Amoblamientos — estilos
   ========================================================= */
:root {
  --carbon: #141312;
  --carbon-2: #1c1a18;
  --carbon-3: #24211e;
  --ivory: #efe9df;
  --ivory-dim: rgba(239, 233, 223, .66);
  --beige: #b8a993;
  --beige-dim: rgba(184, 169, 147, .35);
  --line: rgba(239, 233, 223, .12);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: dark;
}

*, *::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(--carbon);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--beige); color: var(--carbon); }
:focus-visible { outline: 1px solid var(--beige); outline-offset: 4px; }

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

/* ---------- Tipografía ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0;
}
.display em { font-style: italic; color: var(--beige); }
.h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); max-width: 16ch; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin: 0 0 28px;
}
.eyebrow .num { color: var(--beige); }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.25rem); color: var(--ivory-dim); max-width: 52ch; margin: 0; }
.caption { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-dim); margin-top: 14px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 13px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn span { transition: transform .4s var(--ease); }
.btn:hover span { transform: translate(3px, -3px); }
.btn--solid { background: var(--ivory); color: var(--carbon); }
.btn--solid:hover { background: var(--beige); }
.btn--ghost { border: 1px solid rgba(239, 233, 223, .4); }
.btn--ghost:hover { border-color: var(--ivory); background: rgba(239, 233, 223, .06); }
.btn--lg { padding: 20px 34px; font-size: 14px; }

.frame { overflow: hidden; border-radius: 2px; background: var(--carbon-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Menú ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 22px var(--gutter);
  transition: background .5s var(--ease), padding .5s var(--ease), backdrop-filter .5s;
}
.nav.is-scrolled {
  background: rgba(20, 19, 18, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.nav__logo img { height: 34px; width: auto; transition: height .5s var(--ease); opacity: .92; }
.nav.is-scrolled .nav__logo img { height: 27px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim);
  position: relative; padding: 4px 0; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--beige); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__links a:hover { color: var(--ivory); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 10px 20px; font-size: 12px; }
.nav__toggle { display: none; align-items: center; gap: 12px; margin-left: auto; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.nav__toggle-bars { display: grid; gap: 6px; width: 22px; }
.nav__toggle-bars i { display: block; height: 1px; background: var(--ivory); transition: transform .4s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--carbon);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: grid; gap: 6px; }
.menu__links a {
  font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.15;
  display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu__links a small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--beige); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .05s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .15s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .2s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .25s; }
.menu.is-open .menu__links a:nth-child(7) { transition-delay: .3s; }
.menu__map span { font-family: var(--sans); font-size: .45em; color: var(--beige); vertical-align: middle; margin-left: 8px; }
.nav__links a.nav__map { display: inline-flex; align-items: center; gap: 6px; color: var(--beige); }
.nav__links a.nav__map:hover { color: var(--ivory); }
.nav__map .pin { width: 14px; height: 14px; margin-top: -2px; }
.menu__foot { margin-top: auto; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); }

/* ---------- 1. Portada ---------- */
.hero { position: relative; height: 230vh; }
.hero__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.06); will-change: transform; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,19,18,.6) 0%, rgba(20,19,18,0) 26%),
    linear-gradient(90deg, rgba(20,19,18,.72) 0%, rgba(20,19,18,.45) 40%, rgba(20,19,18,0) 75%),
    linear-gradient(0deg, rgba(20,19,18,.92) 0%, rgba(20,19,18,.55) 45%, rgba(20,19,18,.15) 75%);
}
.hero__content { position: absolute; left: 0; right: 0; bottom: clamp(56px, 11vh, 120px); }
.hero__eyebrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__eyebrow .sep { width: 36px; height: 1px; background: var(--beige); }
.hero__title { font-size: clamp(3rem, 8.4vw, 8.4rem); line-height: .98; color: #fbf8f2; text-shadow: 0 2px 30px rgba(10,9,8,.55), 0 1px 3px rgba(10,9,8,.35); }
.hero__title em { color: #dccbb0; }
.hero__eyebrow { color: rgba(251,248,242,.88); text-shadow: 0 1px 12px rgba(10,9,8,.6); }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: block; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(28px, 4vh, 44px); }
.hero__statement {
  position: absolute; inset: 0; margin: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 0 var(--gutter);
  font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 5vw, 4.4rem);
  color: var(--ivory); opacity: 0; pointer-events: none;
}
.hero__statement i { color: var(--beige); font-style: normal; padding: 0 .3em; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(56px, 11vh, 120px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ivory-dim);
  writing-mode: vertical-rl;
}
.hero__scroll-line { width: 1px; height: 64px; background: var(--beige-dim); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--ivory); animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue { to { top: 100%; } }

/* ---------- Secciones ---------- */
.section { padding: clamp(96px, 16vh, 180px) 0; position: relative; }
.section__head { margin-bottom: clamp(48px, 8vh, 88px); }
.section__head--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }

/* 2. Nosotros */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__text .h2 { margin-bottom: 36px; }
.about__more { margin-top: 40px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 56px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--beige); margin-bottom: 8px; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.about__media .frame { aspect-ratio: 4 / 5; }
.about__media img { height: 118%; margin-top: -9%; }

/* Recorrido: video que avanza con el scroll */
.journey { position: relative; height: 320vh; background: var(--carbon); }
.journey__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.journey__canvas, .journey__poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey__poster { object-fit: cover; transition: opacity .6s var(--ease); }
.journey.is-ready .journey__poster { opacity: 0; }
.journey__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,19,18,.55) 0%, rgba(20,19,18,0) 22%),
    linear-gradient(90deg, rgba(20,19,18,.7) 0%, rgba(20,19,18,.35) 42%, rgba(20,19,18,0) 70%),
    linear-gradient(0deg, rgba(20,19,18,.85) 0%, rgba(20,19,18,.2) 45%, rgba(20,19,18,0) 70%);
}
.journey__top { position: absolute; top: clamp(90px, 13vh, 120px); left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; }
.journey__top .eyebrow { margin: 0; color: rgba(251,248,242,.85); }
.journey__cue {
  margin: 0; display: flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: #dccbb0; padding: 10px 18px; border: 1px solid rgba(184,169,147,.55); border-radius: 999px;
  background: rgba(20,19,18,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.journey__cue-line { width: 56px; height: 1px; background: var(--beige); }
.journey__content { position: absolute; left: 0; right: 0; bottom: clamp(64px, 12vh, 130px); }
.journey__kicker { margin-bottom: 18px; color: rgba(251,248,242,.85); }
.journey__title { font-size: clamp(2.8rem, 7.2vw, 7rem); line-height: .98; color: #fbf8f2; text-shadow: 0 2px 30px rgba(10,9,8,.5); max-width: 12ch; }
.journey__title em { color: #dccbb0; }
.journey__text { margin: 26px 0 0; max-width: 40ch; color: rgba(251,248,242,.78); text-shadow: 0 1px 12px rgba(10,9,8,.6); }
.journey__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; height: 1px; background: rgba(239,233,223,.18); }
.journey__progress span { position: absolute; inset: 0; background: var(--beige); transform: scaleX(0); transform-origin: left; }
.journey.is-static { height: auto; }
.journey.is-static .journey__pin { position: relative; }
.journey.is-static .journey__canvas, .journey.is-static .journey__progress, .journey.is-static .journey__cue { display: none; }
@media (max-width: 760px) {
  .journey { height: 260vh; }
  .journey__cue { display: none; }
}

/* 3. Galería */
/* Grilla estable (sin columnas CSS: evitan parpadeos en Safari) */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(240px, 27vw, 430px);
  gap: clamp(12px, 1.6vw, 24px);
}
.gallery__item.is-wide { grid-column: span 2; }
.gallery__item.is-full { grid-column: 1 / -1; order: 9; }
.gallery__item {
  position: relative; display: block; width: 100%; height: 100%;
  overflow: hidden; border-radius: 2px; background: var(--carbon-2);
  isolation: isolate; -webkit-transform: translateZ(0); transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0; text-align: left;
  padding: 40px 18px 16px;
  font-size: 14px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #fbf8f2;
  background: linear-gradient(0deg, rgba(20,19,18,.85), rgba(20,19,18,0));
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
@media (hover: none) { .gallery__cap { opacity: 1; transform: none; } }
/* Antes y después (arrastrar para comparar) */
.gallery__item.is-ba { cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.is-ba .ba__before, .is-ba .ba__after { position: absolute; inset: 0; }
.is-ba .ba__img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.is-ba:hover img { transform: none; }
.is-ba > .ba__img { position: absolute; inset: 0; }
.is-ba .ba__after { clip-path: inset(0 0 0 var(--pos)); -webkit-clip-path: inset(0 0 0 var(--pos)); z-index: 1; }
.ba__placeholder {
  background-color: #1d1b18;
  background: repeating-linear-gradient(135deg, #1d1b18 0 14px, #211f1b 14px 28px);
  color: var(--ivory-dim);
}
.ba__ph { position: absolute; top: 0; bottom: 0; left: 0; width: var(--pos); overflow: hidden; white-space: nowrap; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; }
.ba__placeholder svg { width: 34px; height: 34px; fill: none; stroke: var(--beige); stroke-width: 1.3; margin-bottom: 6px; }
.ba__placeholder b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--ivory); }
.ba__placeholder small { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--beige); }
.ba__tag {
  position: absolute; top: 16px; z-index: 3; padding: 7px 13px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(20,19,18,.72); color: #dccbb0; border: 1px solid rgba(184,169,147,.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none;
}
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px;
  background: #fbf8f2; box-shadow: 0 0 14px rgba(0,0,0,.35); pointer-events: none;
}
.ba__handle i {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  display: grid; place-items: center; border-radius: 50%;
  background: #fbf8f2; color: var(--carbon); font-style: normal; font-size: 15px; letter-spacing: .1em;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; margin: 0; }
.ba__range:focus-visible ~ .ba__handle i { outline: 2px solid var(--beige); outline-offset: 3px; }
.ba__zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 4; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(20,19,18,.72); border: 1px solid rgba(184,169,147,.5);
  color: #fbf8f2; cursor: zoom-in;
}
.ba__zoom svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.is-ba .gallery__cap { z-index: 3; opacity: 1; transform: none; padding-right: 70px; }

.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }

/* 4. Servicios */
.services { background: var(--carbon-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); }
.card__img { aspect-ratio: 3 / 4; margin-bottom: 24px; }
.card__img img { transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__num { font-size: 12px; letter-spacing: .2em; color: var(--beige); }
.card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.1; margin: 6px 0 10px; }
.card p { margin: 0; color: var(--ivory-dim); font-size: 15.5px; max-width: 34ch; }

/* 5. Constructoras */
.builders {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(184,169,147,.10), transparent 70%),
    linear-gradient(180deg, #1b1916 0%, var(--carbon) 100%);
  border-top: 1px solid rgba(184,169,147,.22);
}
.builders__body { padding-top: clamp(96px, 16vh, 180px); padding-bottom: clamp(96px, 16vh, 180px); display: grid; gap: 56px; }
.builders__top { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.builders__eyebrow { color: var(--beige); }
.builders__title {
  font-size: clamp(3rem, 7.4vw, 7.2rem); line-height: .95; letter-spacing: -.01em;
  color: #fbf8f2; max-width: 11ch; margin: 18px 0 32px;
}
.builders__title em { display: block; color: var(--beige); }
.builders__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.builders__tags li {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px;
  border: 1px solid rgba(184,169,147,.35); border-radius: 999px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory);
  background: rgba(184,169,147,.06);
}
.builders__tags svg, .points__ic svg { width: 17px; height: 17px; fill: none; stroke: var(--beige); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.builders__art { margin: 0; display: grid; gap: 14px; }
.builders__svg { width: 100%; height: auto; overflow: visible; }
.builders__svg path { stroke-linecap: round; stroke-linejoin: round; }
.bh__ground { stroke: rgba(239,233,223,.35); stroke-width: 1; }
.bh__line { stroke: rgba(239,233,223,.85); stroke-width: 1.4; }
.bh__mod { stroke: var(--beige); stroke-width: 1.4; }
.builders__svg text { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; fill: var(--ivory-dim); }
.builders__art figcaption { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ivory-dim); text-align: right; }
.js .builders__svg path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .builders__svg text { opacity: 0; }
.builders__body .lead { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.3; color: var(--ivory); max-width: 34ch; }
.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.points--two { grid-template-columns: repeat(2, 1fr); }
.points li { display: flex; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); }
.points span { font-size: 12px; letter-spacing: .2em; color: var(--beige); padding-top: 6px; }
.points .points__ic { flex: none; width: 46px; height: 46px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(184,169,147,.35); border-radius: 50%; }
.points .points__ic svg { width: 20px; height: 20px; }
.points small { display: block; font-size: 11px; letter-spacing: .2em; color: var(--beige); margin-bottom: 6px; }
.points h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.15; margin: 0 0 8px; }
.points p { margin: 0; color: var(--ivory-dim); font-size: 15.5px; }
.builders__body .btn { justify-self: start; }

/* 6. Proceso */
.process { background: var(--carbon-2); }
.steps { position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--beige); transform: scaleX(0); transform-origin: left; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { position: relative; padding-top: 44px; }
.steps li::before { content: ""; position: absolute; top: 2px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--carbon-2); border: 1px solid var(--beige); }
.steps__num { font-size: 12px; letter-spacing: .2em; color: var(--beige); }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.1; margin: 8px 0 12px; }
.steps p { margin: 0; color: var(--ivory-dim); font-size: 15.5px; max-width: 30ch; }

/* Reseñas */
.reviews { border-top: 1px solid var(--line); }
.reviews__summary { justify-self: end; }
.reviews__score { display: inline-flex; align-items: center; gap: 18px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 4px; transition: border-color .3s; }
.reviews__score:hover { border-color: var(--beige); }
.reviews__avg { font-family: var(--serif); font-size: 3.4rem; line-height: 1; }
.reviews__meta { display: grid; gap: 6px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-dim); }
.stars { display: inline-flex; gap: 3px; color: var(--beige); }
.stars svg { width: 16px; height: 16px; }
.reviews__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.review {
  display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--line); border-radius: 4px; background: var(--carbon-2);
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.review:hover { border-color: var(--beige-dim); background: var(--carbon-3); transform: translateY(-4px); }
.review__text {
  margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.45; color: var(--ivory);
  display: -webkit-box; -webkit-line-clamp: 10; -webkit-box-orient: vertical; overflow: hidden;
}
.review__text i { color: var(--ivory-dim); }
.review__more { margin-top: -10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--beige); }
.review__author { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.review__author img, .review__initials { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.review__initials { display: grid; place-items: center; background: var(--carbon-3); border: 1px solid var(--beige-dim); font-size: 12px; letter-spacing: .08em; color: var(--beige); }
.review__author b { display: block; font-weight: 400; font-size: 15px; }
.review__author small { display: block; font-size: 12.5px; color: var(--ivory-dim); }
.review__go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--beige); white-space: nowrap; opacity: .75; transition: opacity .3s; }
.review__go .glogo { width: 18px; height: 18px; }
.reviews__g { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; flex-shrink: 0; }
.reviews__g .glogo { width: 28px; height: 28px; }
.reviews__meta b { font-weight: 400; color: var(--ivory); letter-spacing: .2em; }
.review:hover .review__go { opacity: 1; }
.reviews__empty { grid-column: 1 / -1; padding: clamp(28px, 4vw, 48px); border: 1px dashed var(--beige-dim); border-radius: 4px; }
.reviews__empty p { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--ivory-dim); max-width: 40ch; }
.reviews__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(32px, 5vh, 56px); }
.reviews__source { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-dim); }

/* 7. Contacto */
.contact { padding-bottom: clamp(80px, 12vh, 140px); }
.contact__title { font-size: clamp(3.2rem, 10vw, 9.6rem); line-height: .95; margin-bottom: clamp(40px, 6vh, 64px); }
.contact__row { display: flex; gap: 14px; flex-wrap: wrap; }
.contact__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: clamp(64px, 10vh, 110px) 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.contact__info dt { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--beige); margin-bottom: 8px; }
.contact__info dd { margin: 0; font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.contact__info a { border-bottom: 1px solid var(--beige-dim); transition: border-color .3s; }
.contact__info a:hover { border-color: var(--ivory); }

/* Dónde encontrarnos */
.find {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: stretch;
  margin-top: clamp(80px, 12vh, 140px); padding: clamp(28px, 4vw, 56px);
  background: var(--carbon-2); border: 1px solid var(--line); border-radius: 4px;
}
.find__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.find__title { font-size: clamp(2.2rem, 4vw, 3.6rem); margin-bottom: 24px; }
.find__addr { margin: 0 0 36px; color: var(--ivory-dim); font-size: 1.05rem; line-height: 1.7; }
.find__map {
  position: relative; display: block; min-height: 340px; border-radius: 3px; overflow: hidden;
  background: var(--carbon-3); isolation: isolate;
}
.find__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none;
  filter: grayscale(1) invert(.9) contrast(.85) brightness(.95);
  transform: scale(1.02); transition: transform 1.2s var(--ease), filter .8s var(--ease);
}
.find__map::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(184,169,147,0) 30%, rgba(20,19,18,.45) 100%);
  mix-blend-mode: multiply;
}
.find__map:hover iframe { transform: scale(1.06); }
.find__pin { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; z-index: 1; }
.find__pin i, .find__pin::before {
  position: absolute; inset: 0; border-radius: 50%; content: "";
}
.find__pin i { background: var(--beige); box-shadow: 0 0 0 4px rgba(20,19,18,.7); }
.find__pin::before { background: var(--beige); animation: pinpulse 2.4s var(--ease) infinite; }
@keyframes pinpulse { from { transform: scale(1); opacity: .6; } to { transform: scale(5); opacity: 0; } }
.find__hint {
  position: absolute; right: 16px; bottom: 16px; z-index: 1;
  padding: 9px 16px; border-radius: 999px; background: rgba(20,19,18,.8);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory);
  transition: background .3s;
}
.find__map:hover .find__hint { background: var(--ivory); color: var(--carbon); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__logo { height: 26px; width: auto; opacity: .8; }
.footer .eyebrow { margin: 0; }
.footer__copy { margin: 0 0 0 auto; font-size: 13px; color: var(--ivory-dim); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ivory); color: var(--carbon);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--beige); }
.wa-float svg { width: 26px; height: 26px; }

/* Visor */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(14, 13, 12, .96); color: var(--ivory);
}
.lightbox[open] { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; animation: lbin .45s var(--ease); }
.lightbox::backdrop { background: transparent; }
@keyframes lbin { from { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 16px; padding: 70px 0 30px; height: 100%; align-content: center; }
.lightbox img { max-height: calc(100svh - 140px); max-width: 100%; object-fit: contain; transition: opacity .4s var(--ease); }
.lightbox figcaption { display: flex; gap: 24px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ivory-dim); }
.lightbox__close { position: absolute; top: 22px; right: var(--gutter); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.lightbox__nav { font-size: 28px; height: 100%; color: var(--ivory-dim); transition: color .3s; }
.lightbox__nav:hover { color: var(--ivory); }

/* ---------- Estados iniciales (solo con JS activo) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-reveal="image"] { transform: translateY(48px); }
.js .hero__title .line > span { transform: translateY(105%); }
.js .hero__eyebrow, .js .hero__actions, .js .hero__scroll { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(200px, 44vw, 420px); }
  .gallery__item.is-mwide { grid-column: span 2; }
  .gallery__item.is-ba { grid-column: span 2; }
  .gallery__item.is-wide.is-msingle { grid-column: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: span 2; }
  .cards .card:last-child .card__img { aspect-ratio: 16 / 9; }
  .points, .points--two { grid-template-columns: 1fr; gap: 0; }
  .builders__top { grid-template-columns: 1fr; }
  .builders__art { max-width: 560px; }
  .points li { padding: 24px 0; }
  .steps ol { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps__line { display: none; }
  .reviews__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { height: 170vh; }
  .hero__scroll { display: none; }
  .hero__eyebrow { gap: 4px 10px; margin-bottom: 20px; }
  .hero__eyebrow .sep { display: none; }
  .hero__eyebrow span:first-child::after { content: " ·"; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .section__head--split { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 18px; }
  .facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .facts dd { font-size: 1.25rem; text-align: right; }
  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child { grid-column: auto; }
  .cards .card:last-child .card__img, .card__img { aspect-ratio: 4 / 3; }
  .steps ol { grid-template-columns: 1fr; row-gap: 40px; }
  .contact__info { grid-template-columns: 1fr; }
  .reviews__summary { justify-self: start; }
  .reviews__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .reviews__list::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 84%; scroll-snap-align: start; }
  .reviews__empty { flex: 1 0 100%; }
  .reviews__foot .btn { width: 100%; justify-content: center; }
  .find { grid-template-columns: 1fr; padding: 24px; }
  .find__map { min-height: 260px; }
  .find .btn { width: 100%; justify-content: center; }
  .contact__row .btn { flex: 1 1 100%; justify-content: center; }
  .footer__copy { margin: 0; }
  .lightbox[open] { grid-template-columns: 44px 1fr 44px; }
}

/* Movimiento reducido: todo visible, sin efectos */
@media (prefers-reduced-motion: reduce) {
  .js .builders__svg path { stroke-dashoffset: 0; }
  .js .builders__svg text { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero__eyebrow, .js .hero__actions, .js .hero__scroll { opacity: 1; transform: none; }
  .js .hero__title .line > span { transform: none; }
  .hero { height: auto; }
  .hero__sticky { position: relative; }
  .hero__scroll-line::after, .find__pin::before { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* =========================================================
   Formulario de consulta por pasos
   ========================================================= */
html.lf-open, html.lf-open body { overflow: hidden; }
.lf {
  width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--carbon); color: var(--ivory);
}
.lf[open] { display: block; animation: lfin .55s var(--ease); }
.lf::backdrop { background: rgba(14, 13, 12, .8); }
@keyframes lfin { from { opacity: 0; transform: translateY(24px); } }
.lf__shell { height: 100%; display: flex; flex-direction: column; max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.lf__head { display: flex; align-items: center; gap: 20px; padding: 22px 0; }
.lf__logo { height: 24px; width: auto; opacity: .9; }
.lf__count { margin: 0 0 0 auto; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); }
.lf__close { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); transition: color .3s; }
.lf__close:hover { color: var(--ivory); }
.lf__count:empty + .lf__close { margin-left: auto; }
.lf__progress { height: 1px; background: var(--line); position: relative; overflow: hidden; }
.lf__progress span { position: absolute; inset: 0; background: var(--beige); transform: scaleX(.06); transform-origin: left; transition: transform .7s var(--ease); }

.lf__form { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.lf__body { flex: 1; min-height: 0; overflow-y: auto; padding: clamp(36px, 7vh, 72px) 0 48px; transition: opacity .35s var(--ease), transform .45s var(--ease); -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.lf__body.is-out-left { opacity: 0; transform: translateX(-28px); }
.lf__body.is-out-right { opacity: 0; transform: translateX(28px); }
.lf__body.is-from-right { opacity: 0; transform: translateX(28px); transition: none; }
.lf__body.is-from-left { opacity: 0; transform: translateX(-28px); transition: none; }
.lf__body.is-in { opacity: 1; transform: none; }
.lf__eyebrow { margin-bottom: 18px; }
.lf__title { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 18ch; margin-bottom: 14px; }
.lf__hint { color: var(--ivory-dim); margin: 0 0 8px; max-width: 52ch; }
.lf__fields { display: flex; flex-wrap: wrap; gap: 26px 20px; margin-top: clamp(28px, 5vh, 48px); }
.lf__field { flex: 1 1 100%; display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.lf__field--half { flex: 1 1 calc(50% - 10px); }
.lf__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); padding: 0; }
.lf__label i { font-style: normal; color: rgba(239,233,223,.4); letter-spacing: .1em; text-transform: none; }

.lf input[type=text], .lf input[type=email], .lf input[type=tel], .lf select, .lf textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ivory);
  background: transparent; border: 0; border-bottom: 1px solid rgba(239,233,223,.25); border-radius: 0;
  padding: 10px 0 12px; transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.lf textarea { resize: vertical; min-height: 92px; border: 1px solid rgba(239,233,223,.2); padding: 14px 16px; border-radius: 3px; }
.lf select { background-image: linear-gradient(45deg, transparent 50%, var(--beige) 50%), linear-gradient(135deg, var(--beige) 50%, transparent 50%);
  background-position: calc(100% - 12px) 52%, calc(100% - 7px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.lf select option { background: var(--carbon-2); color: var(--ivory); }
.lf input::placeholder, .lf textarea::placeholder { color: rgba(239,233,223,.3); }
.lf input:focus, .lf select:focus, .lf textarea:focus { outline: none; border-color: var(--beige); }

.lf__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lf__chip {
  padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(239,233,223,.22);
  font-size: 14.5px; color: var(--ivory-dim); transition: all .3s var(--ease);
}
.lf__chip:hover { border-color: rgba(239,233,223,.55); color: var(--ivory); }
.lf__chip.is-on { background: var(--ivory); border-color: var(--ivory); color: var(--carbon); }
.lf__field--big .lf__chip { padding: 16px 24px; font-size: 16px; }

.lf__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lf__card {
  position: relative; text-align: left; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 3vw, 36px); min-height: 220px; border-radius: 4px;
  border: 1px solid var(--line); background: var(--carbon-2);
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.lf__card:hover, .lf__card.is-on { border-color: var(--beige); background: var(--carbon-3); transform: translateY(-3px); }
.lf__card-num { font-size: 12px; letter-spacing: .2em; color: var(--beige); }
.lf__card-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; margin-top: auto; }
.lf__card-desc { color: var(--ivory-dim); font-size: 15px; max-width: 30ch; }
.lf__card-arrow { position: absolute; top: clamp(24px, 3vw, 36px); right: clamp(24px, 3vw, 36px); color: var(--beige); transition: transform .4s var(--ease); }
.lf__card:hover .lf__card-arrow { transform: translateX(4px); }

.lf__error { font-size: 13px; color: #e0a58f; min-height: 0; }
.lf__error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: #e0a58f; }
.has-error .lf__chip { border-color: rgba(224,165,143,.5); }

.lf__review { width: 100%; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.lf__review > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.lf__review dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--beige); margin-bottom: 4px; }
.lf__review dd { margin: 0; color: var(--ivory); font-size: 15.5px; overflow-wrap: anywhere; }
.lf__consent {
  width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center;
  margin-top: 16px; padding: 18px 20px; min-height: 64px; cursor: pointer;
  border: 1px solid rgba(239,233,223,.22); border-radius: 4px; background: var(--carbon-2);
  color: var(--ivory-dim); font-size: 15px; transition: border-color .3s, background .3s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.lf__consent:hover { border-color: rgba(239,233,223,.45); }
.lf__consent:has(input:checked) { border-color: var(--beige); background: var(--carbon-3); color: var(--ivory); }
.lf__consent input { width: 26px; height: 26px; margin: 0; accent-color: var(--beige); cursor: pointer; flex-shrink: 0; }
.lf__consent.has-error { border-color: #e0a58f; background: rgba(224,165,143,.08); }
.lf__consent.is-nudge { animation: lfnudge .6s var(--ease) .25s; }
@keyframes lfnudge { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .lf__consent.is-nudge { animation: none; } }
.lf__consent a { color: var(--ivory); border-bottom: 1px solid var(--beige-dim); }
.lf__consent .lf__error { grid-column: 2; }
.lf__turnstile:empty, .lf__status:empty { display: none; }

.lf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lf__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 max(22px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.lf__foot[hidden] { display: none; }
.lf__back { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-dim); transition: color .3s; }
.lf__back:hover { color: var(--ivory); }
.lf__next[disabled] { opacity: .6; pointer-events: none; }

.lf__done { padding-top: clamp(20px, 8vh, 80px); }
.lf__done .lf__title { max-width: 16ch; }
.lf__done-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.lf__preview { margin: 20px 0 0; padding: 12px 16px; border: 1px dashed var(--beige-dim); border-radius: 3px; font-size: 13px; color: var(--beige); display: inline-block; }

@media (max-width: 760px) {
  .lf__head { padding: 16px 0; }
  .lf__logo { height: 20px; }
  .lf__count { font-size: 11px; letter-spacing: .14em; }
  .lf__cards { grid-template-columns: 1fr; }
  .lf__card { min-height: 160px; }
  .lf__field--half { flex-basis: 100%; }
  .lf__review { grid-template-columns: 1fr; }
  .lf__foot .lf__next { flex: 1; justify-content: center; }
  .lf__done-actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lf__body, .lf__body.is-from-right, .lf__body.is-from-left, .lf__body.is-out-left, .lf__body.is-out-right { transform: none; }
}
.footer__copy a { border-bottom: 1px solid var(--beige-dim); }
.lf__wa-note { width: 100%; margin: 4px 0 0; padding: 14px 18px; border-left: 1px solid var(--beige); background: rgba(184,169,147,.07); color: var(--ivory-dim); font-size: 14.5px; }
.lf__wa-note span { color: var(--beige); margin-right: 6px; }
.lf__wa-note b, .lf__hint b { color: var(--ivory); font-weight: 400; }

/* Opción "Prefiero no decirlo" dentro del campo */
.lf__inputwrap { position: relative; }
.lf__inputwrap input { padding-right: 150px !important; }
.lf__skip {
  position: absolute; right: 0; bottom: 9px;
  padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(239,233,223,.2);
  font-size: 11px; letter-spacing: .06em; color: var(--ivory-dim); white-space: nowrap;
  transition: border-color .3s, color .3s, background .3s;
}
.lf__skip:hover { border-color: rgba(239,233,223,.5); color: var(--ivory); }
.lf__inputwrap.is-skipped input { border-bottom-color: var(--beige-dim); }
.lf__inputwrap.is-skipped input::placeholder { color: var(--ivory); }
.lf__inputwrap.is-skipped .lf__skip { border-color: var(--beige-dim); color: var(--beige); }
