/* =========================================================
   Constructora e Inmobiliaria CG — estilos
   ========================================================= */
:root {
  --charcoal: #121315;
  --graphite: #1b1d20;
  --graphite-2: #25282c;
  --warm: #f4f0e8;
  --warm-2: #e9e3d8;
  --ink: #18191b;
  --gold: #c4a058;
  --gold-light: #e2c88f;
  --gold-deep: #94763a;
  --silver: #c8ccd0;
  --cement: #8b8e91;
  --cement-dark: #5d6064;
  --line-dark: rgba(200, 204, 208, .14);
  --line-light: rgba(24, 25, 27, .12);

  --gold-metal: linear-gradient(115deg, #94763a 0%, #c4a058 28%, #ecd6a1 48%, #c4a058 66%, #8f7034 100%);

  /* Sistema tipográfico (ver css/fonts.css para el estado de cada familia) */
  --font-display: "Akzidenz-Grotesk Pro", "Akzidenz-Grotesk", "Inter Tight", "Helvetica Neue", Arial, sans-serif;  /* títulos, modelos, proyectos */
  --font-body: "Montserrat", system-ui, -apple-system, sans-serif;                                                  /* textos, formularios, navegación */
  --font-editorial: "Times New Roman Condensed", "Cormorant Garamond", "Times New Roman", serif;                     /* frases y acentos editoriales */
  --font-ui: "Codec Pro", "Manrope", system-ui, -apple-system, sans-serif;                                          /* botones, etiquetas, teléfonos */
  --serif: var(--font-editorial);
  --sans: var(--font-body);

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

*, *::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(--charcoal);
  color: var(--warm);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--gold); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section--dark { background: var(--charcoal); color: var(--warm); }
.section--light { background: var(--warm); color: var(--ink); }

/* ---------- Tipografía compartida ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--dark { color: var(--gold-deep); }
.line { display: inline-block; width: 40px; height: 1px; background: currentColor; }
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em;
  margin-top: 22px; max-width: 16ch;
}
.section-title em, .about__title em, .hero__title em, .statement__quote em, .footer__slogan em, .intro__slogan em {
  font-style: italic;
  background: var(--gold-metal); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.section-title--dark em, .about__title em, .contact .section-title em {
  background: linear-gradient(115deg, #7d6230 0%, #a8873f 45%, #c9a862 60%, #8a6c33 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .04em;
  border: 1px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-metal); background-size: 220% 100%; background-position: 0% 0; color: #17130b; }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--gold:hover::after { transform: translateX(120%); }
.btn--gold:hover { background-position: 100% 0; }
.btn--ghost { border-color: rgba(244,240,232,.45); color: var(--warm); backdrop-filter: blur(6px); background: rgba(18,19,21,.18); }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn:active { transform: scale(.98); }
.btn__arrow { transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  color: var(--warm); pointer-events: auto;
}
.intro__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: radial-gradient(120% 90% at 50% 100%, #202327 0%, var(--charcoal) 70%); }
.intro__panel--top { top: 0; }
.intro__panel--bottom { bottom: 0; background: radial-gradient(120% 90% at 50% 0%, #202327 0%, var(--charcoal) 70%); }
.intro__plan { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__plan .plan-labels, .intro__plan .plan-dimtext, .intro__plan .plan-hatch, .intro__plan .plan-grid { opacity: 0; }

.intro__brand { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 20px; }
.intro__logo { position: relative; width: min(340px, 62vw); opacity: 0; }
.intro__logo img { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
.intro__sheen {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("../assets/img/logo-cg.webp") center / contain no-repeat;
          mask: url("../assets/img/logo-cg.webp") center / contain no-repeat;
  background: linear-gradient(105deg, transparent 35%, rgba(255,250,235,.85) 50%, transparent 65%);
  background-size: 300% 100%; background-position: 120% 0;
  mix-blend-mode: overlay;
}
.intro__name {
  margin-top: 26px; font-size: 12px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--silver);
  opacity: 0;
}
.intro__slogan {
  margin-top: 14px; font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 500; line-height: 1.1;
}
.intro__slogan > * { display: inline-block; opacity: 0; transform: translateY(24px); }
.intro__meta {
  position: absolute; left: var(--gutter); bottom: 32px; z-index: 3;
  display: flex; gap: 22px; align-items: baseline;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--cement);
}
.intro__count b { font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.intro__skip {
  position: absolute; right: var(--gutter); bottom: 24px; z-index: 3;
  min-height: 44px; padding: 0 18px; border: 1px solid var(--line-dark); border-radius: 999px;
  background: transparent; color: var(--silver); font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; transition: border-color .3s, color .3s;
}
.intro__skip:hover { border-color: var(--gold); color: var(--gold); }
.intro.is-done { display: none; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  transition: background-color .5s var(--ease), height .5s var(--ease), border-color .5s, transform .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(18,19,21,.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-dark);
}
.header.is-hidden { transform: translateY(-100%); }
.header__brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.header__brand img { width: 64px; height: auto; transition: width .5s var(--ease); filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.header.is-scrolled .header__brand img { width: 54px; }
.header__wordmark { font-size: 10.5px; line-height: 1.35; letter-spacing: .26em; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.nav { display: flex; gap: 34px; }
.nav a { position: relative; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: rgba(244,240,232,.86); padding: 6px 0; 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: right; transition: transform .5s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--gold-light); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; }
.nav__wa { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--charcoal); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform-origin: 50% 70%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 30% at 50% 28%, rgba(14,15,17,.45), transparent 75%),
    linear-gradient(180deg, rgba(18,19,21,.62) 0%, rgba(18,19,21,.16) 32%, rgba(18,19,21,.12) 48%, rgba(18,19,21,.72) 70%, rgba(18,19,21,.92) 86%, var(--charcoal) 100%);
}
.hero__content {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--header-h) + clamp(28px, 7vh, 80px)) var(--gutter) 40px;
}
.hero__eyebrow { color: var(--gold-light); text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 14px rgba(0,0,0,.5); }
.hero__title {
  margin-top: 22px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3.4rem, 10.5vw, 9.6rem); line-height: .9; letter-spacing: -.02em;
  text-shadow: 0 8px 40px rgba(0,0,0,.25);
}
.hero__title .split { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .split > span { display: inline-block; }
.hero__foot { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; align-items: center; }
.hero__lead { margin-top: 0; max-width: 54ch; font-size: clamp(15px, 1.25vw, 17px); color: rgba(244,240,232,.9); text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero__bar {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: end; gap: 24px;
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 26px var(--gutter) 34px;
  border-top: 1px solid var(--line-dark);
}
.hero__bar > div { display: flex; flex-direction: column; gap: 4px; }
.hero__bar-k { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.hero__bar-v { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }
.hero__scroll { width: 44px; height: 64px; border: 1px solid rgba(244,240,232,.35); border-radius: 999px; display: grid; justify-items: center; padding-top: 12px; }
.hero__scroll span { width: 2px; height: 14px; border-radius: 2px; background: var(--gold); animation: scrollDot 2.2s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(22px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   NOSOTROS
   ========================================================= */
.about { padding: clamp(96px, 14vw, 180px) 0 clamp(90px, 12vw, 160px); }
.about .container { display: flex; flex-direction: column; align-items: center; }
.about__title {
  margin-top: 26px; text-align: center;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.5rem, 6.4vw, 5.8rem); line-height: 1.04; letter-spacing: -.015em;
  max-width: 15ch;
}
.pill {
  display: inline-block; vertical-align: middle;
  width: 1.9em; height: .82em; margin: -.1em .08em 0; border-radius: 999px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(24,25,27,.18);
}
.pill img { width: 100%; height: 100%; object-fit: cover; }
.about__grid {
  margin-top: clamp(64px, 9vw, 120px); width: 100%;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 6vw, 96px); align-items: start;
}
.about__media { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 55%; }
.about__tag {
  position: absolute; left: 18px; bottom: 18px; padding: 10px 16px; border-radius: 999px;
  background: rgba(18,19,21,.7); backdrop-filter: blur(8px); color: var(--warm);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
}
.about__text { padding-top: clamp(0px, 4vw, 60px); color: #3a3c3f; max-width: 52ch; }
.about__lead { font-family: var(--serif); font-size: clamp(1.45rem, 2.1vw, 1.85rem); line-height: 1.35; color: var(--ink); margin-bottom: 22px; }
.pillars { margin-top: 44px; border-top: 1px solid var(--line-light); }
.pillars li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line-light); }
.pillars span { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-deep); padding-top: 2px; }
.pillars h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.pillars p { margin-top: 4px; font-size: 15px; color: #55585c; }

/* =========================================================
   SERVICIOS
   ========================================================= */
.services { padding: clamp(96px, 13vw, 170px) 0; position: relative; }
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 120px 120px; opacity: .25;
  -webkit-mask: radial-gradient(70% 60% at 80% 40%, #000, transparent 75%); mask: radial-gradient(70% 60% at 80% 40%, #000, transparent 75%);
}
.services__head { display: flex; flex-direction: column; position: relative; }
.services__wrap { position: relative; margin-top: clamp(48px, 7vw, 90px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.services__list { border-top: 1px solid var(--line-dark); }
.service {
  position: relative; display: grid; grid-template-columns: 70px 1fr 40px; gap: 16px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--line-dark); cursor: default;
}
.service::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--gold-metal); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.service__n { font-family: var(--serif); font-size: 1.15rem; color: var(--cement); padding-top: 6px; transition: color .4s; }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.1; color: rgba(244,240,232,.62); transition: color .5s var(--ease), transform .6s var(--ease); }
.service p { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; max-width: 46ch; color: #a9acb0; font-size: 15px; transition: max-height .7s var(--ease), opacity .5s, margin-top .6s var(--ease); }
.service__arrow { justify-self: end; font-size: 20px; color: var(--cement); padding-top: 8px; transition: transform .6s var(--ease), color .4s; }
.service.is-active::before { transform: scaleX(1); }
.service.is-active h3 { color: var(--warm); transform: translateX(6px); }
.service.is-active p { max-height: 120px; opacity: 1; margin-top: 12px; }
.service__media { display: none; }
.service__cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  max-height: 0; overflow: hidden; opacity: 0; margin-top: 0;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--gold-light);
  transition: max-height .7s var(--ease), opacity .5s, margin-top .6s var(--ease), color .3s;
}
.service__cta:hover { color: var(--warm); }
.service.is-active .service__cta { max-height: 60px; opacity: 1; margin-top: 6px; }
.service__cta:focus-visible { max-height: 60px; opacity: 1; }
.service.is-active .service__n, .service.is-active .service__arrow { color: var(--gold); }
.service.is-active .service__arrow { transform: rotate(45deg); }
.services__preview { position: sticky; top: 120px; margin: 0; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--graphite); }
.services__preview img { width: 100%; height: 100%; object-fit: cover; background: var(--graphite); transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
.services__preview img.is-swapping { opacity: 0; transform: scale(1.05); }
.services__preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(18,19,21,.75)); pointer-events: none; }
.services__preview figcaption {
  position: absolute; left: 20px; bottom: 20px; z-index: 1; display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(196,160,88,.2); }

/* =========================================================
   PROYECTOS (scroll horizontal)
   ========================================================= */
.projects { position: relative; overflow: hidden; }
.projects__pin { display: flex; align-items: center; gap: clamp(40px, 5vw, 80px); min-height: 100svh; padding: 120px 0 80px var(--gutter); }
.projects__intro { flex: 0 0 min(420px, 34vw); position: relative; z-index: 2; align-self: stretch; display: flex; flex-direction: column; justify-content: center; background: var(--warm); box-shadow: calc(-1 * var(--gutter)) 0 0 var(--warm); }
.projects__intro::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: clamp(40px, 5vw, 80px); background: linear-gradient(90deg, var(--warm), rgba(244,240,232,0)); pointer-events: none; }
.projects__track { position: relative; z-index: 1; }
.projects__lead { margin-top: 22px; color: #4e5155; max-width: 38ch; }
.projects__hint { margin-top: 36px; display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.projects__track { display: flex; align-items: flex-end; gap: clamp(20px, 2.4vw, 36px); padding-right: var(--gutter); will-change: transform; }
.project { flex: 0 0 auto; width: clamp(280px, 26vw, 400px); }
.project--tall { width: clamp(280px, 24vw, 360px); }
.project--tall .project__img { aspect-ratio: 3 / 4; }
.project--wide { width: clamp(320px, 38vw, 560px); }
.project__img { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--warm-2); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.project:hover .project__img img { transform: scale(1.12); }
.project__info { display: grid; grid-template-columns: 40px 1fr; column-gap: 8px; padding-top: 18px; }
.project__info span { grid-row: span 2; font-family: var(--serif); color: var(--gold-deep); font-size: 1.05rem; }
.project__info h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.project__info p { font-size: 13px; color: #6b6e72; margin-top: 4px; }

/* =========================================================
   STATEMENT
   ========================================================= */
.statement { position: relative; min-height: 92svh; display: grid; place-items: center; overflow: hidden; background: var(--charcoal); }
.statement__media { position: absolute; inset: -12% 0; }
.statement__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.statement__shade { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(18,19,21,.72), rgba(18,19,21,.88) 80%), linear-gradient(180deg, var(--charcoal), transparent 22%, transparent 78%, var(--charcoal)); }
.statement__giant {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--serif); font-weight: 600; font-size: clamp(14rem, 42vw, 40rem); line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(196,160,88,.5); user-select: none; white-space: nowrap;
}
.statement__quote { position: relative; z-index: 1; margin: 0; padding: 0 var(--gutter); max-width: 980px; text-align: center; }
.statement__quote p { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.6vw, 4rem); line-height: 1.12; letter-spacing: -.01em; }
.statement__quote cite { display: block; margin-top: 30px; font-style: normal; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.statement__quote .w { display: inline-block; opacity: .14; transition: opacity .2s; }

/* =========================================================
   PROCESO
   ========================================================= */
.process { padding: clamp(96px, 13vw, 170px) 0; }
.process__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 130px); align-items: start; }
.process__head { position: sticky; top: 130px; display: flex; flex-direction: column; align-items: flex-start; }
.process__lead { margin-top: 22px; color: #a9acb0; max-width: 42ch; margin-bottom: 34px; }
.steps { position: relative; padding-left: 64px; }
.steps__rail { position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: var(--line-dark); }
.steps__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--gold-light), var(--gold-deep)); transform: scaleY(0); transform-origin: top; }
.step { position: relative; padding: 0 0 clamp(48px, 6vw, 72px); }
.step:last-child { padding-bottom: 0; }
.step__n {
  position: absolute; left: -64px; top: 0; width: 43px; height: 43px; border-radius: 50%;
  display: grid; place-items: center; background: var(--charcoal); border: 1px solid var(--line-dark);
  font-family: var(--serif); font-size: 1rem; color: var(--cement); transition: border-color .5s, color .5s, background-color .5s;
}
.step.is-on .step__n { border-color: var(--gold); color: var(--charcoal); background: var(--gold-metal); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; padding-top: 4px; color: rgba(244,240,232,.5); transition: color .5s; }
.step.is-on h3 { color: var(--warm); }
.step p { margin-top: 10px; color: #a9acb0; max-width: 46ch; }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { padding: clamp(96px, 13vw, 170px) 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.contact__lead { margin-top: 22px; color: #4e5155; max-width: 42ch; }
.contact__data { margin: 44px 0 0; border-top: 1px solid var(--line-light); }
.contact__data div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.contact__data dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; padding-top: 3px; }
.contact__data dd { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); line-height: 1.3; word-break: break-word; }
.contact__data a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact__data a:hover { background-size: 100% 1px; }

.form { background: #fff; border: 1px solid var(--line-light); border-radius: 6px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(24,25,27,.22); }
.field { display: flex; flex-direction: column; margin: 0 0 22px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--cement); }
.field input, .field textarea {
  font: 400 16px/1.5 var(--sans); color: var(--ink);
  border: 1px solid #d8d3ca; border-radius: 4px; background: #fbfaf7; padding: 13px 14px;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(196,160,88,.16); }
.field__error { display: none; margin-top: 6px; font-size: 13px; color: #a2412f; }
.field.has-error input { border-color: #c0634f; }
.field.has-error .field__error { display: block; }
.field--chips { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.field--chips legend { width: 100%; }
.chip { position: relative; margin: 0 !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #d8d3ca; border-radius: 999px; font-size: 14px; font-weight: 500; color: #45484c; transition: all .3s var(--ease); }
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--gold-light); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__note { margin-top: 12px; font-size: 13px; color: var(--cement); text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: clamp(80px, 10vw, 130px) 0 34px; border-top: 1px solid var(--line-dark); position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; left: 50%; top: -220px; width: 900px; height: 440px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(196,160,88,.13), transparent); pointer-events: none; }
.footer__top { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: clamp(56px, 7vw, 90px); border-bottom: 1px solid var(--line-dark); }
.footer__logo { width: min(240px, 56vw); height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.footer__slogan { margin-top: 26px; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 500; line-height: 1.05; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 48px 0; border-bottom: 1px solid var(--line-dark); }
.footer__cols h4, .footer__h { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.footer__cols a { display: block; padding: 6px 0; color: #b5b8bc; font-size: 15px; transition: color .3s; word-break: break-word; }
.footer__cols a:hover { color: var(--warm); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: var(--cement); }
.footer__bottom a:hover { color: var(--gold-light); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--charcoal); color: var(--gold-light);
  border: 1px solid rgba(196,160,88,.45); box-shadow: 0 16px 36px rgba(0,0,0,.35);
  transition: transform .5s var(--ease), background-color .3s, opacity .5s;
}
.wa-float:hover { transform: translateY(-3px); background: #1f2124; }
body.is-loading .wa-float { opacity: 0; pointer-events: none; }

/* ---------- Botones adicionales ---------- */
.btn--dark { background: var(--charcoal); color: var(--warm); }
.btn--dark:hover { background: #26292d; color: var(--gold-light); }
.btn--line { border-color: rgba(24,25,27,.25); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* ---------- Nosotros: fundadores y lema ---------- */
.about__founders { margin-top: 18px; font-size: 15px; color: #55585c; }
.about__founders strong { color: var(--ink); font-weight: 600; }
.about__motto { margin-top: 34px; max-width: 24ch; font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 1.15rem + 1.6vw, 2.5rem); line-height: 1.15; letter-spacing: -.005em; text-wrap: balance; color: var(--gold-deep); }

/* =========================================================
   SERVICIOS SECUNDARIOS
   ========================================================= */
.extras { margin-top: clamp(72px, 9vw, 120px); position: relative; }
.extras__label { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--cement); margin-bottom: 26px; }
.extras__list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.extra { padding: 30px 28px 30px 0; display: flex; flex-direction: column; gap: 8px; }
.extra + .extra { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.extra svg { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.extra h3 { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.1; }
.extra p { color: #a9acb0; font-size: 15px; }
.extra a { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--gold-light); transition: color .3s; align-self: flex-start; }
.extra a:hover { color: var(--warm); }

/* =========================================================
   CATÁLOGO DE MODELOS
   ========================================================= */
.catalog { padding: clamp(96px, 13vw, 170px) 0 clamp(80px, 10vw, 130px); }
.catalog__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 90px); align-items: end; }
.catalog__lead { color: #4e5155; max-width: 44ch; }
.models { margin-top: clamp(48px, 6vw, 80px); display: flex; gap: 14px; height: clamp(520px, 74vh, 700px); }
.model { flex: 1 1 0; min-width: 0; transition: flex-grow .9s var(--ease); }
.models:hover .model { flex-grow: .85; }
.models .model:hover, .models .model:focus-within { flex-grow: 1.55; }
.model__open {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  border-radius: 4px; overflow: hidden; background: var(--graphite); color: var(--warm); text-align: left; font: inherit;
}
.model__img { position: absolute; inset: 0; }
.model__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease), filter .8s var(--ease); }
.model__open:hover .model__img img, .model__open:focus-visible .model__img img { transform: scale(1.1); }
.models:hover .model__open:not(:hover) .model__img img { filter: saturate(.75) brightness(.85); }
.model__open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,19,21,0) 35%, rgba(18,19,21,.55) 65%, rgba(18,19,21,.9) 100%); pointer-events: none; }
.model__badge {
  position: absolute; top: 18px; left: 18px; z-index: 2; padding: 8px 14px; border-radius: 999px;
  background: rgba(18,19,21,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--silver);
}
.model__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 4px; }
.model__n { font-family: var(--serif); color: var(--gold-light); font-size: 1rem; }
.model__name { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.01em; }
.model__specs { font-size: 14px; color: rgba(244,240,232,.86); margin-top: 6px; }
.model__price { font-size: 13px; color: var(--gold-light); font-weight: 600; letter-spacing: .04em; }
.model__cta {
  display: inline-flex; gap: 10px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(244,240,232,.22);
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.model__cta span { transition: transform .5s var(--ease); }
.model__open:hover .model__cta span { transform: translateX(6px); }
.model__open:focus-visible { outline-offset: 4px; }

.terms { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 28px; align-items: center; padding-top: 28px; border-top: 1px solid var(--line-light); }
.term__k { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 6px; }
.term p { font-size: 15px; color: #45484c; max-width: 32ch; }
.catalog__note { margin-top: 22px; font-size: 13px; color: var(--cement); }

/* ---------- Vista detallada ---------- */
.mview {
  position: fixed; inset: 0; z-index: 90; background: var(--warm); color: var(--ink);
  display: flex; flex-direction: column; overflow: hidden;
}
.mview[hidden] { display: none; }
.mview__bar {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 72px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line-light);
}
.mview__back {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
}
.mview__back span { transition: transform .5s var(--ease); }
.mview__back:hover span { transform: translateX(-5px); }
.mview__crumb { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cement); font-weight: 600; }
.mview__grid { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 1.3fr 1fr; }
.mview__gallery { position: relative; background: var(--charcoal); overflow: hidden; min-height: 0; }
.mview__stage { position: absolute; inset: 0; }
.mview__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.mview__slide.is-current { opacity: 1; }
.mview__slide .bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(30px) brightness(.55) saturate(1.1); }
.mview__slide .fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(1.04); transition: transform 6s var(--ease); }
.mview__slide.is-current .fg { transform: scale(1); }
.mview__badge {
  position: absolute; top: 20px; left: 20px; z-index: 2; padding: 8px 14px; border-radius: 999px;
  background: rgba(18,19,21,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--silver);
}
.mview__controls {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2;
  display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 999px;
  background: rgba(18,19,21,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--warm);
  width: max-content; max-width: calc(100% - 40px);
}
.mview__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(244,240,232,.3); background: transparent; color: var(--warm);
  font-size: 18px; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s;
}
.mview__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.mview__dots { display: flex; gap: 2px; }
.mview__dot { width: 28px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.mview__dot::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; border-radius: 2px; background: rgba(244,240,232,.3); transition: background-color .4s; }
.mview__dot[aria-current="true"]::before { background: var(--gold-light); }
.mview__count { font-size: 12px; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--silver); padding-right: 6px; min-width: 44px; text-align: center; }
.mview__content { overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 60px) 48px; }
.mview__title { margin-top: 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 5.6vw, 5rem); line-height: .95; letter-spacing: -.015em; }
.mview__lead { margin-top: 18px; color: #3e4144; font-size: 16px; max-width: 52ch; }
.mview__price { margin-top: 18px; font-family: var(--serif); font-size: 1.6rem; color: var(--gold-deep); }
.mview__price small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .06em; color: var(--cement); margin-top: 2px; }
.mview__specs { margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.mview__specs div { padding: 18px 12px 18px 0; }
.mview__specs div + div { padding-left: 14px; border-left: 1px solid var(--line-light); }
.mview__specs dt { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cement); font-weight: 700; }
.mview__specs dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.7rem; line-height: 1; color: var(--ink); }
.mview__specs dd small { font-size: .9rem; }
.mview__block { margin-top: 28px; }
.mview__block h3 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 12px; }
.mview__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mview__chips li { padding: 8px 14px; border: 1px solid #d8d3ca; border-radius: 999px; font-size: 14px; color: #45484c; }
.mview__features li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line-light); font-size: 15px; color: #3e4144; }
.mview__features li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 1px; background: var(--gold); }
.mview__option { margin-top: 24px; padding: 16px 18px; border-left: 2px solid var(--gold); background: rgba(196,160,88,.08); font-size: 15px; color: #3e4144; }
.mview__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.mview__terms { margin-top: 18px; font-size: 13px; color: var(--cement); }
.mview-open { overflow: hidden; }

/* ---------- Proyectos: botón y visor ---------- */
.project__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; }
.lightbox {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center;
  background: rgba(12,13,14,.94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 72px clamp(16px, 8vw, 120px);
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; }
.lightbox__figure img { max-width: 100%; max-height: calc(100svh - 190px); width: auto; height: auto; border-radius: 4px; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.lightbox__figure figcaption { display: flex; gap: 22px; align-items: baseline; color: var(--warm); font-family: var(--serif); font-size: 1.5rem; }
.lightbox__figure figcaption span + span { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; color: var(--cement); }
.lightbox__close, .lightbox__arrow {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(244,240,232,.3);
  background: rgba(18,19,21,.4); color: var(--warm); font-size: 18px; cursor: pointer; transition: background-color .3s, border-color .3s, color .3s;
}
.lightbox__close:hover, .lightbox__arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__arrow { top: 50%; transform: translateY(-50%); }
.lightbox__arrow--prev { left: clamp(10px, 2vw, 32px); }
.lightbox__arrow--next { right: clamp(10px, 2vw, 32px); }

/* =========================================================
   VENTAJAS
   ========================================================= */
.why { padding: clamp(96px, 13vw, 170px) 0; overflow: hidden; }
.why__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.why__media { position: relative; height: clamp(440px, 52vw, 620px); }
.why__tex { position: absolute; margin: 0; overflow: hidden; border-radius: 4px; background: var(--graphite); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.why__tex img { width: 100%; height: 100%; object-fit: cover; }
.why__tex--a { top: 0; left: 0; width: 82%; height: 34%; }
.why__tex--b { top: 24%; right: 0; width: 40%; height: 62%; }
.why__tex--c { bottom: 6%; left: 10%; width: 36%; height: 48%; }
.why__caption { position: absolute; left: 0; bottom: 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--cement); font-weight: 600; }
.why__list { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; border-top: 1px solid var(--line-dark); }
.why__list li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.why__list span { font-family: var(--serif); color: var(--gold); font-size: 1rem; padding-top: 2px; }
.why__list h3 { font-size: 16px; font-weight: 600; color: var(--warm); }
.why__list p { margin-top: 4px; font-size: 14.5px; color: #a9acb0; }
.materials { margin-top: 40px; }
.materials__k { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.materials__v { margin-top: 10px; font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.1; display: flex; flex-wrap: wrap; align-items: center; gap: .35em; }
.materials__v i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-metal); }

/* ---------- Footer: lema ---------- */
.footer__motto { margin-top: 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); }
.footer__cols { grid-template-columns: repeat(4, 1fr); }
.contact__data dd { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.contact__tel { font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.field select {
  font: 400 16px/1.5 var(--sans); color: var(--ink); appearance: none; -webkit-appearance: none;
  border: 1px solid #d8d3ca; border-radius: 4px; padding: 13px 40px 13px 14px; min-height: 50px;
  background: #fbfaf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2394763a' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.field select:focus { outline: none; border-color: var(--gold); background-color: #fff; box-shadow: 0 0 0 4px rgba(196,160,88,.16); }

/* ---------- Responsive de lo nuevo ---------- */
@media (max-width: 1080px) {
  .terms { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__media { height: 420px; max-width: 640px; }
}
@media (max-width: 900px) {
  .service__media { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; margin-top: 18px; }
  .service__media--svg { background: var(--graphite); }
  .service__cta { max-height: none; opacity: 1; margin-top: 8px; }
  .extras__list { grid-template-columns: 1fr; }
  .extra, .extra + .extra { padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .catalog__head { grid-template-columns: 1fr; }
  .models { flex-direction: column; height: auto; gap: 18px; }
  .models .model, .models:hover .model, .models .model:hover { flex-grow: 1; }
  .model__open { aspect-ratio: 4 / 5; height: auto; }
  .models:hover .model__open:not(:hover) .model__img img { filter: none; }
  .mview__grid { display: block; overflow-y: auto; overscroll-behavior: contain; }
  .mview__gallery { height: min(62svh, 520px); }
  .mview__content { overflow: visible; }
  .mview__specs { grid-template-columns: 1fr 1fr; }
  .mview__specs div:nth-child(3) { padding-left: 0; border-left: 0; }
  .mview__specs div:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .terms { grid-template-columns: 1fr; }
  .terms .btn { width: 100%; }
  .why__list { grid-template-columns: 1fr; }
  .why__media { height: 360px; }
  .mview__bar { height: 64px; }
  .mview__crumb { display: none; }
  .mview__controls { left: 12px; bottom: 12px; gap: 6px; }
  .mview__dot { width: 22px; }
  .mview__actions .btn { width: 100%; }
  .lightbox { padding: 72px 12px 96px; }
  .lightbox__arrow { top: auto; bottom: 20px; transform: none; }
  .lightbox__arrow--prev { left: calc(50% - 64px); }
  .lightbox__arrow--next { right: calc(50% - 64px); }
  .footer__cols { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .models:hover .model { flex-grow: 1; }
}

/* Estados iniciales de revelado (solo si hay JS) */
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal-img { clip-path: inset(100% 0 0 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .header__cta { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header__wordmark { display: none; }
  .header__brand { position: relative; z-index: 2; }
  .hero__eyebrow .line { display: none; }
  .hero__eyebrow { letter-spacing: .18em; font-size: 11px; }
  .burger {
    display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; margin-right: -8px;
    background: transparent; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .burger span { display: block; width: 26px; height: 1.5px; background: var(--warm); transition: transform .5s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100svh; z-index: 1; flex-direction: column; justify-content: center; gap: 6px;
    padding: 0 var(--gutter); background: var(--charcoal);
    clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav a { font-family: var(--serif); font-size: 2.6rem; letter-spacing: 0; color: var(--warm); padding: 6px 0; }
  .nav a::after { display: none; }
  .nav .nav__wa { display: inline-flex; margin-top: 28px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--gold-light); }

  .hero__bar { grid-template-columns: 1fr 1fr; }
  .hero__bar > div:nth-child(3), .hero__scroll { display: none; }

  .about__grid, .services__wrap, .process__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3; }
  .services__preview { display: none; }
  .service p { max-height: none; opacity: 1; margin-top: 10px; }
  .service h3 { color: var(--warm); }
  .process__head { position: static; }

  .projects__pin { flex-direction: column; align-items: stretch; min-height: 0; padding: clamp(96px, 13vw, 140px) 0 clamp(96px, 13vw, 140px) var(--gutter); }
  .projects__intro { flex: none; padding-right: var(--gutter); }
  .projects__intro::after { display: none; }
  .projects__hint { display: none; }
  .projects__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .projects__track::-webkit-scrollbar { display: none; }
  .project, .project--tall, .project--wide { width: min(78vw, 360px); scroll-snap-align: start; }
  .project--tall .project__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .header__brand img { width: 54px; }
  .hero__title { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero__actions .btn { width: 100%; }
  .hero__bar { padding-bottom: 26px; }
  .hero__bar-v { font-size: 1.1rem; }
  .pillars li { grid-template-columns: 40px 1fr; }
  .service { grid-template-columns: 44px 1fr 24px; padding: 24px 0; }
  .contact__data div { grid-template-columns: 1fr; gap: 2px; }
  .footer__cols { grid-template-columns: 1fr; gap: 24px; }
  .intro__meta { display: none; }
  .wa-float { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
}

/* =========================================================
   SISTEMA TIPOGRÁFICO
   Akzidenz (display) · Montserrat (texto) · Times Cond. (editorial) · Codec (interfaz)
   Solo cambia la familia; los tamaños se compensan donde la nueva
   familia ocupa más espacio que la serif original.
   ========================================================= */
.hero__title, .section-title, .about__title, .model__name, .mview__title,
.service h3, .extra h3, .project__info h3, .step h3, .pillars h3, .why__list h3,
.footer__slogan, .statement__giant, .lightbox__figure figcaption span:first-child {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.035em;
}
.pillars h3, .why__list h3 { letter-spacing: -.01em; }
.hero__title { line-height: .92; font-size: clamp(2.6rem, 6.4vw, 6.4rem); }
.section-title { font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.04; }
.about__title { font-size: clamp(2.2rem, 5.4vw, 4.9rem); line-height: 1.06; }
.service h3, .step h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.extra h3 { font-size: 1.45rem; }
.project__info h3 { font-size: 1.4rem; }
.model__name { font-size: clamp(2.1rem, 3.4vw, 3.1rem); }
.mview__title { font-size: clamp(2.6rem, 4.8vw, 4.3rem); }
.footer__slogan { font-size: clamp(1.9rem, 4.3vw, 3.4rem); }

/* Acentos en cursiva dentro de los títulos: tipografía editorial */
.hero__title em, .section-title em, .about__title em, .footer__slogan em {
  font-family: var(--font-editorial); font-weight: 500; letter-spacing: -.01em; font-size: 1.12em;
}

/* Frases editoriales */
.about__lead, .about__motto, .statement__quote p, .intro__slogan, .hero__bar-v,
.materials__v, .mview__price, .catalog__lead { font-family: var(--font-editorial); }
.catalog__lead { font-size: 1.25rem; line-height: 1.45; }

/* Interfaz: botones, etiquetas y llamadas a la acción */
.btn, .eyebrow, .intro__skip, .intro__meta, .intro__name, .hero__bar-k, .about__tag, .model__badge,
.model__cta, .model__price, .mview__badge, .mview__back, .mview__crumb, .mview__count, .mview__specs dt,
.mview__block h3, .service__cta, .extra a, .extras__label, .term__k, .materials__k, .contact__data dt,
.contact__tel, .footer__cols h4, .footer__h, .footer__motto, .why__caption, .projects__hint, .services__preview figcaption,
.statement__quote cite, .nav .nav__wa, .location__k, .phone {
  font-family: var(--font-ui);
}
/* Teléfonos: misma familia en contacto y pie de página */
.phone { font-variant-numeric: lining-nums tabular-nums; letter-spacing: .01em; }
.contact__data dd a.phone { font-size: 1.15rem; font-weight: 500; }

/* Navegación móvil: los enlaces grandes usan la familia de títulos */
@media (max-width: 900px) {
  .nav a { font-family: var(--font-display); letter-spacing: -.03em; font-size: 2.2rem; }
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.1rem, 9.6vw, 3.3rem); }
  /* Frase de la empresa: el oro va en cada palabra para que no se pierda al partir la línea */
  .statement__quote p { font-size: clamp(1.75rem, 8.4vw, 2.3rem); text-wrap: balance; }
  .statement__quote em .w {
    background: var(--gold-metal); background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .statement__quote em { white-space: nowrap; }
}

/* =========================================================
   «sueños» — oro pulido con volumen
   ========================================================= */
.hero__title .split { padding-bottom: .16em; margin-bottom: -.1em; }
.hero__title em.gold3d {
  display: inline-block;
  padding: 0 .08em .04em .02em;
  background:
    linear-gradient(100deg, transparent 38%, rgba(255,249,228,.85) 50%, transparent 62%) -160% 0 / 260% 100% no-repeat,
    linear-gradient(176deg, #fff1c9 0%, #f3d991 16%, #d9b05c 34%, #a87a2f 50%, #7d5a20 56%, #b88b3f 66%, #e8c87e 80%, #f8e6b0 90%, #b48638 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  -webkit-text-stroke: .6px rgba(255, 236, 190, .35);
  text-shadow: none;
  filter:
    drop-shadow(0 1px 0 #7a5a24)
    drop-shadow(0 1px 0 #5f4519)
    drop-shadow(0 2px 0 #4a3511)
    drop-shadow(0 12px 22px rgba(0, 0, 0, .45));
}
/* Reflejo de luz: una sola pasada al aparecer el título */
.hero__title em.gold3d.is-lit { animation: goldSheen 2.6s cubic-bezier(.22, 1, .36, 1) .2s 1 both; }
@keyframes goldSheen {
  from { background-position: -160% 0, 0 0; }
  to { background-position: 260% 0, 0 0; }
}
/* Alternativa legible sin background-clip: text */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title em.gold3d {
    background: none; color: #d6b062; -webkit-text-fill-color: #d6b062; filter: none;
    text-shadow: 0 1px 0 #8a6828, 0 2px 0 #6b4f1d, 0 10px 22px rgba(0,0,0,.45);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title em.gold3d.is-lit { animation: none; }
}

/* =========================================================
   UBICACIÓN
   ========================================================= */
.location { padding: clamp(80px, 11vw, 150px) 0; background: var(--warm-2); color: var(--ink); }
.location__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.location__lead { margin-top: 22px; color: #4e5155; max-width: 40ch; }
.location__data { margin: 34px 0 0; border-top: 1px solid var(--line-light); }
.location__data div { padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.location__k { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: 6px; }
.location__data dd { margin: 0; font-size: 16px; color: var(--ink); }
.location__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.location__map {
  position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden;
  background: var(--graphite); box-shadow: 0 40px 80px -40px rgba(24,25,27,.35); border: 1px solid var(--line-light);
}
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.04); }
.location__map figcaption {
  position: absolute; left: 14px; bottom: 14px; z-index: 1; padding: 8px 14px; border-radius: 999px;
  background: rgba(18,19,21,.72); color: var(--warm); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  font-family: var(--font-ui); pointer-events: none;
}
@media (max-width: 900px) {
  .location__grid { grid-template-columns: 1fr; }
  .location__map { aspect-ratio: 1 / 1; }
}
@media (max-width: 560px) {
  .location__actions .btn { width: 100%; }
}

/* =========================================================
   PROYECTOS — galería por modelo (Sara, Débora, Hanna)
   ========================================================= */
.projects { --ph: clamp(250px, 44vh, 440px); }
.projects__nav { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.projects__nav button {
  min-height: 44px; padding: 0 20px; border: 1px solid rgba(24,25,27,.16); border-radius: 999px; background: transparent;
  font-family: var(--font-ui); font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.projects__nav button:hover { border-color: var(--gold); color: var(--gold-deep); }
.projects__nav button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.pgroup { flex: 0 0 auto; display: flex; align-items: flex-end; gap: clamp(20px, 2.4vw, 36px); }
.pgroup + .pgroup { margin-left: clamp(40px, 5vw, 90px); padding-left: clamp(40px, 5vw, 90px); border-left: 1px solid var(--line-light); }
.pgroup__head { flex: 0 0 auto; width: clamp(220px, 19vw, 280px); align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 52px; }
.pgroup__n { font-family: var(--font-editorial); font-size: 1.15rem; color: var(--gold-deep); }
.pgroup__name { margin-top: 10px; font-family: var(--font-display); font-weight: 500; letter-spacing: -.035em; font-size: clamp(2.3rem, 3.4vw, 3.3rem); line-height: 1; color: var(--ink); }
.pgroup__name em { display: block; font-family: var(--font-editorial); font-style: italic; font-weight: 500; letter-spacing: -.01em; font-size: 1.12em; color: var(--gold-deep); }
.pgroup__meta { margin-top: 16px; font-family: var(--font-ui); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #6b6e72; }
.pgroup__link { margin-top: 22px; display: inline-flex; gap: 10px; align-items: center; width: fit-content; font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 4px; transition: color .3s var(--ease), gap .3s var(--ease); }
.pgroup__link:hover { color: var(--gold-deep); gap: 14px; }

.pgroup .project { width: calc(var(--ph) * var(--ar)); }
.pgroup .project__img { aspect-ratio: auto; height: var(--ph); }
.pgroup .project__img::after { content: ""; position: absolute; inset: 0; background: rgba(24,25,27,0); transition: background .6s var(--ease); pointer-events: none; }
.pgroup .project:hover .project__img::after { background: rgba(24,25,27,.08); }
.pgroup .project__info { grid-template-columns: 34px 1fr; align-items: baseline; padding-top: 14px; }
.pgroup .project__info span { grid-row: auto; }
.pgroup .project__info p { margin-top: 0; font-family: var(--font-ui); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #4e5155; }

@media (max-width: 900px) {
  .projects { --ph: clamp(220px, 64vw, 340px); }
  .projects__nav { margin-top: 24px; }
  .projects__track { margin-top: 36px; align-items: stretch; scroll-padding-left: 0; }
  .pgroup { align-items: flex-end; }
  .pgroup + .pgroup { margin-left: 28px; padding-left: 28px; }
  .pgroup__head { width: min(62vw, 240px); padding-bottom: 46px; scroll-snap-align: start; }
  .pgroup .project { width: min(calc(var(--ph) * var(--ar)), 84vw); scroll-snap-align: start; }
}

/* Materiales: nombre de cada textura */
.why__tex img { transition: transform 1.2s var(--ease); }
.why__tex:hover img { transform: scale(1.05); }
.why__label {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(24,25,27,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--font-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light);
}
@media (max-width: 560px) {
  .why__label { left: 8px; bottom: 8px; padding: 5px 9px; font-size: 9px; letter-spacing: .1em; white-space: nowrap; }
}

/* =========================================================
   CONSENTIMIENTO — casillas, antispam, mapa bajo demanda, enlaces legales
   ========================================================= */
.footer__h { margin: 0 0 14px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal a, .footer__legal button { color: var(--cement); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; transition: color .3s; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--gold-light); }

.field--check { margin-bottom: 14px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 0 !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1.5; color: #45484c !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: var(--gold-deep); cursor: pointer; }
.check a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.check a:hover { color: var(--ink); }
.field--check.has-error .check input { outline: 2px solid #c0634f; outline-offset: 2px; }
.form__trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 12px; font-size: 13px; text-align: center; color: #a2412f; }
.form__status:empty { display: none; }
.field--check + .btn { margin-top: 10px; }

.location__frame { position: absolute; inset: 0; }
.location__gate {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 28px; text-align: center; color: #c9ccd0;
  background: radial-gradient(closest-side, rgba(196,160,88,.12), transparent), var(--graphite);
}
.location__gate p { max-width: 32ch; margin: 0; font-size: 15px; }
.location__gate-k { font-family: var(--font-ui); font-size: 11px !important; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--gold-light); }
.location__gate a { font-family: var(--font-ui); font-size: 14px; color: var(--warm); text-decoration: underline; text-underline-offset: 3px; }
.location__gate a:hover { color: var(--gold-light); }
.location__frame.is-loaded .location__gate { display: none; }
