/* ==========================================================================
   FACHADAS KARMO — sistema visual
   Negro de obra + amarillo Karmo (el del casco y la lona) + cal / piedra.
   Tipografías: Archivo (variable: condensada para titulares, expandida para
   rótulos), Bodoni Moda cursiva para el acento emocional, JetBrains Mono para
   rotulación técnica (cotas, fases, porcentajes).
   ========================================================================== */

:root {
  --bar: 0px;
  --ink: #0f0f0f;
  --coal: #161616;
  --graph: #1f1f1f;
  --graph-2: #2a2a2a;
  --yellow: #ffd21f;
  --yellow-2: #f5b800;
  --cal: #efe9df;
  --cal-2: #e4dccd;
  --stone: #c9bfae;
  --muted: #8c867c;
  --white: #ffffff;
  --line-d: rgba(255, 255, 255, .14);
  --line-l: rgba(15, 15, 15, .14);

  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Bodoni Moda", "Didot", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --hdr-h: 96px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --vh: 1vh;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.js body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipografía ---------- */
.label {
  font-family: var(--f-sans);
  font-variation-settings: "wdth" 125;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1.4;
}
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}
.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.01em;
  font-variation-settings: normal;
}
.h-xl {
  font-variation-settings: "wdth" 72;
  font-weight: 750;
  text-transform: uppercase;
  font-size: clamp(44px, 7.2vw, 128px);
  line-height: .9;
  letter-spacing: -.01em;
}
.h-xl .serif, .h-giant .serif { font-size: 1.04em; line-height: .8; letter-spacing: -.02em; }
.h-giant {
  font-variation-settings: "wdth" 66;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(58px, 11.5vw, 210px);
  line-height: .86;
  letter-spacing: -.012em;
}

/* SplitText: líneas con máscara */
.split-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js [data-reveal] { opacity: 0; transform: translateY(32px); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-variation-settings: "wdth" 112; font-weight: 650; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--white); }
.btn--line { border: 1px solid currentColor; }
.btn--line:hover { background: var(--ink); color: var(--cal); border-color: var(--ink); }
.btn--big { height: 62px; padding: 0 34px; font-size: 13px; }

/* Letras que giran al pasar el ratón */
.roll { display: inline-flex; overflow: hidden; line-height: 1.15; vertical-align: top; }
.roll .ch { display: inline-block; position: relative; white-space: pre; transition: transform .55s var(--ease); transition-delay: calc(var(--i) * 16ms); }
.roll .ch::after { content: attr(data-c); position: absolute; left: 0; top: 100%; }
a:hover .roll .ch, button:hover .roll .ch, .roll:hover .ch { transform: translateY(-100%); }

/* ==========================================================================
   PRELOADER — una persiana que se recoge
   ========================================================================== */
.loader { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: none; }
.js .loader { display: block; }
.loader__slats { position: absolute; inset: 0; display: flex; flex-direction: column; }
.loader__slats span { flex: 1; background: var(--ink); transform-origin: top; border-bottom: 1px solid #1b1b1b; }
.loader__center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; }
.loader__mark { width: 96px; height: 96px; fill: var(--yellow); clip-path: inset(100% 0 0 0); }
.loader__meta { display: flex; gap: 18px; align-items: baseline; color: rgba(255,255,255,.6); }
.loader__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.loader__count { font-family: var(--f-mono); font-size: 11px; color: var(--yellow); }
.loader__level { width: 240px; height: 3px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; border-radius: 3px; }
.loader__level span { position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   CABECERA
   ========================================================================== */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--hdr-h); padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--white); pointer-events: none;
  transition: color .5s var(--ease);
}
.hdr > * { pointer-events: auto; }
.hdr[data-tone="light"], .hdr[data-tone="yellow"] { color: var(--ink); }
.hdr__seal { position: relative; width: 52px; height: 52px; display: block; }
.hdr__seal-mono { display: block; width: 100%; height: 100%; fill: var(--yellow); transition: fill .5s, transform .5s var(--ease); }
.hdr__seal:hover .hdr__seal-mono { transform: rotate(-6deg) scale(1.06); }
.hdr[data-tone="light"] .hdr__seal-mono, .hdr[data-tone="yellow"] .hdr__seal-mono { fill: var(--ink); }
.hdr__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.hdr.has-logo .hdr__logo { opacity: 1; visibility: visible; }
.hdr__logo svg { width: 100%; height: auto; display: block; fill: var(--yellow); overflow: visible; }
.hdr__logo .c-fach { fill: currentColor; }
.hdr[data-tone="light"] .hdr__logo svg { fill: var(--ink); }
.hdr[data-tone="yellow"] .hdr__logo svg { fill: var(--ink); }
.hdr__right { display: flex; align-items: center; gap: 22px; }
.hdr__tel { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; }
.hdr__cta { height: 42px; padding: 0 18px; font-size: 11px; }
.hdr[data-tone="yellow"] .hdr__cta { background: var(--ink); color: var(--yellow); }
.hdr__menu { display: flex; align-items: center; gap: 14px; height: 42px; font-variation-settings: "wdth" 125; font-weight: 650; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.hdr__menu-dots { display: grid; gap: 4px; }
.hdr__menu-dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; transition: transform .45s var(--ease); }
.hdr__menu:hover .hdr__menu-dots i:nth-child(1) { transform: translateY(-2px); }
.hdr__menu:hover .hdr__menu-dots i:nth-child(3) { transform: translateY(2px); }
.hdr__progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.hdr__progress span { position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.hdr[data-tone="yellow"] .hdr__progress span { background: var(--ink); }
body.menu-open .hdr { color: var(--ink); }
body.menu-open .hdr__seal-mono, body.menu-open .hdr__logo svg { fill: var(--ink); }
body.menu-open .hdr__cta, body.menu-open .hdr__tel { opacity: 0; pointer-events: none; }

/* ==========================================================================
   MENÚ
   ========================================================================== */
.menu { position: fixed; inset: 0; z-index: 55; visibility: hidden; color: var(--ink); }
.menu__bg { position: absolute; inset: 0; background: var(--yellow); clip-path: circle(0% at calc(100% - 70px) 48px); }
.menu__inner { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 4vw; padding: calc(var(--hdr-h) + 4vh) var(--gutter) 6vh; align-items: center; }
.menu__nav { display: grid; gap: .2vh; }
.menu__nav a { display: flex; align-items: baseline; gap: 18px; font-variation-settings: "wdth" 70; font-weight: 780; text-transform: uppercase; font-size: clamp(34px, 6.2vh, 82px); line-height: 1.02; opacity: 0; transform: translateY(40px); }
.menu__nav small { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; opacity: .55; }
.menu__side { align-self: end; display: grid; gap: 10px; justify-items: start; opacity: 0; }
.menu__casco { width: min(280px, 60%); transform: rotate(-12deg); margin-bottom: 18px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.25)); }
.menu__tel { font-variation-settings: "wdth" 66; font-weight: 800; font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.menu__mail { font-family: var(--f-mono); font-size: 13px; border-bottom: 1px solid; }

/* ==========================================================================
   CURSOR
   ========================================================================== */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor__dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--yellow); transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), opacity .3s; mix-blend-mode: normal; }
.cursor__txt { position: absolute; transform: translate(-50%, -50%) scale(.6); font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s, transform .45s var(--ease); white-space: nowrap; }
.cursor.is-label .cursor__dot { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
.cursor.is-label .cursor__txt { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-hidden .cursor__dot { opacity: 0; }

/* ==========================================================================
   00 · HERO
   ========================================================================== */
.hero { position: relative; background: var(--ink); }
.hero__pin { position: relative; height: 100vh; height: 100lvh; overflow: hidden; }
.hero__canvas, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback { object-fit: cover; }
.hero.is-static .hero__fallback { opacity: 1; transition: opacity .8s var(--ease); }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.28) 26%, rgba(10,10,10,0) 46%, rgba(10,10,10,0) 62%, rgba(10,10,10,.62) 100%),
    radial-gradient(ellipse at 50% 46%, rgba(10,10,10,.42), rgba(10,10,10,0) 62%);
}
.hero__title { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); width: min(1040px, 86vw); text-align: center; color: var(--white); }
.hero__kicker { display: inline-flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 3vh, 34px); color: rgba(255,255,255,.88); }
.hero__kicker i { width: 36px; height: 1px; background: var(--yellow); }
.hero__logo { line-height: 0; }
.hero__logo svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 48px rgba(0,0,0,.45)); }
.hero__logo .lg-fach { fill: var(--white); }
.hero__logo .lg-k, .hero__logo .lg-armo, .hero__logo .lg-bar { fill: var(--yellow); }
.hero__claim { margin-top: clamp(20px, 3.6vh, 40px); display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  font-variation-settings: "wdth" 125; font-weight: 650; font-size: clamp(11px, 1.05vw, 15px); letter-spacing: .26em; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.hero__claim-c { font-size: clamp(26px, 3.2vw, 48px); letter-spacing: 0; color: var(--yellow); line-height: 1; }
.hero__claim-l, .hero__claim-r { flex: 1; }
.hero__claim-l { text-align: left; }
.hero__claim-r { text-align: right; }

.hero__phase { position: absolute; left: var(--gutter); bottom: calc(var(--bar) + clamp(20px, 4.4vh, 44px)); width: min(380px, calc(100vw - 2 * var(--gutter)));
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 16px 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(14,14,14,.5); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.hero__phase-num { color: var(--yellow); padding-top: 3px; white-space: nowrap; }
.hero__phase-title { font-variation-settings: "wdth" 110; font-weight: 650; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.hero__phase-text { font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.45; margin-top: 4px; }
.hero__phase-note { grid-column: 1 / -1; color: rgba(255,255,255,.4); font-size: 9.5px; margin-top: -4px; }

.hero__gauge { position: absolute; right: calc(var(--gutter) + 8px); top: 50%; transform: translateY(-50%); display: grid; justify-items: center; gap: 14px; color: rgba(255,255,255,.8); }
.hero__gauge-label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; }
.hero__gauge-track { width: 2px; height: 30vh; background: rgba(255,255,255,.2); position: relative; overflow: hidden; border-radius: 2px; }
.hero__gauge-track span { position: absolute; inset: 0; background: var(--yellow); transform: scaleY(0); transform-origin: bottom; }
.hero__gauge-pct { color: var(--yellow); font-size: 11px; min-width: 4ch; text-align: center; }

.hero__toggle { position: absolute; left: 50%; bottom: calc(var(--bar) + clamp(24px, 5vh, 50px)); transform: translateX(-50%); display: flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6);
  padding: 10px 16px; border-radius: 999px; background: rgba(14,14,14,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); }
.hero__toggle button { transition: color .35s; }
.hero__toggle button.is-active { color: var(--white); }
.hero__toggle-sw { width: 42px; height: 20px; border-radius: 20px; border: 1px solid rgba(255,255,255,.5); position: relative; }
.hero__toggle-sw i { position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); transition: transform .5s var(--ease); }
.hero__toggle.is-after .hero__toggle-sw i { transform: translateX(22px); }

.hero__spots { position: absolute; inset: 0; pointer-events: none; }
.spot { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.4); opacity: 0; visibility: hidden; pointer-events: auto; width: 34px; height: 34px; display: grid; place-items: center; }
.spot i { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,210,31,.28); position: relative; }
.spot i::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--yellow); animation: pulse 2.2s var(--ease) infinite; }
.spot span { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 6px); white-space: nowrap; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: var(--white); font-size: 12.5px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .35s, transform .45s var(--ease); }
.spot:hover span, .spot:focus-visible span, .spot.is-open span { opacity: 1; transform: translate(-50%, 0); }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.hero__scroll { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(26px, 5vh, 54px); color: rgba(255,255,255,.8); font-size: 10px; white-space: nowrap; }
.hero__scroll-line { width: 64px; height: 1px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.hero__scroll-line i { position: absolute; inset: 0; background: var(--yellow); animation: scrollline 2.2s var(--ease-io) infinite; }
@keyframes scrollline { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

.cta-circle { position: absolute; right: var(--gutter); bottom: calc(var(--bar) + clamp(20px, 4.4vh, 44px)); width: 136px; height: 136px; display: grid; place-items: center; color: var(--white); }
.cta-circle::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(14,14,14,.42); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); transition: background .5s var(--ease), border-color .5s var(--ease); }
.cta-circle__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: currentColor; animation: spin 16s linear infinite; }
.cta-circle__ring text { font-family: var(--f-sans); font-variation-settings: "wdth" 120; font-weight: 650; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.cta-circle__core { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .6s var(--ease), background .4s; }
.cta-circle__core svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.cta-circle:hover::before { background: rgba(14,14,14,.68); border-color: rgba(255,210,31,.6); }
.cta-circle:hover .cta-circle__core { transform: scale(1.18); }
.cta-circle:hover .cta-circle__core svg { transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   01 · TRES RAZONES — el arco
   ========================================================================== */
.reasons { position: relative; background: var(--cal); color: var(--ink); }
.reasons__pin { position: relative; height: 100vh; height: 100lvh; overflow: hidden; }
.reasons__bg { position: absolute; inset: 0; }
.reasons__bg picture { display: block; width: 100%; height: 100%; }
.reasons__bg img { width: 100%; height: 100%; object-fit: cover; }
.arch { position: absolute; left: 50%; bottom: 0; width: min(74vw, 1180px); height: 150vh; transform: translate(-50%, 100%); background: var(--cal); border-radius: 9999px 9999px 0 0; z-index: 2; will-change: transform, width; }
.arch__text { position: absolute; left: 0; top: 0; width: 100%; height: auto; overflow: visible; }
.arch__text text { font-family: var(--f-sans); font-variation-settings: "wdth" 72; font-weight: 780; font-size: 52px; letter-spacing: .06em; fill: var(--ink); }
.reasons__content { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: .9fr 1.1fr; gap: 4vw; align-items: center; padding: calc(var(--hdr-h) + 2vh) var(--gutter) 6vh; max-width: 1560px; margin: 0 auto; }
.js .reasons__content { opacity: 0; visibility: hidden; }
.reasons__head .label { margin-bottom: 26px; color: var(--muted); }
.slider { overflow: hidden; }
.slider__track { display: flex; transition: transform 1s var(--ease); will-change: transform; }
.slide { flex: 0 0 100%; display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 48px); align-items: end; padding-right: 2px; }
.slide__img { aspect-ratio: 3 / 4; height: min(54vh, 560px); width: auto; max-width: 42vw; }
.arch-img { border-radius: 9999px 9999px 0 0; overflow: hidden; background: var(--cal-2); }
.arch-img img { width: 100%; height: 100%; object-fit: cover; }
.slide__n { display: block; font-size: clamp(64px, 7vw, 120px); line-height: .8; color: var(--yellow-2); margin-bottom: 18px; }
.slide__txt h3 { font-variation-settings: "wdth" 80; font-weight: 720; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 40px); line-height: 1; margin-bottom: 14px; }
.slide__txt p { color: #4a463f; max-width: 42ch; }
.slider__nav { display: flex; align-items: center; gap: 16px; margin-top: clamp(22px, 4vh, 44px); }
.slider__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-l); font-size: 18px; transition: background .3s, color .3s; }
.slider__arrow:hover { background: var(--ink); color: var(--cal); }
.slider__bar { flex: 0 1 220px; height: 1px; background: var(--line-l); position: relative; }
.slider__bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 33.333%; background: var(--ink); transition: transform 1s var(--ease); }

/* ==========================================================================
   02 · MANIFIESTO
   ========================================================================== */
.intro { position: relative; background: var(--cal); color: var(--ink); padding: clamp(80px, 14vh, 180px) 0 clamp(90px, 16vh, 200px); overflow: hidden; }
.intro .label { color: var(--muted); margin-bottom: clamp(26px, 5vh, 54px); }
.intro__big { font-variation-settings: "wdth" 88; font-weight: 560; font-size: clamp(30px, 4.3vw, 72px); line-height: 1.06; letter-spacing: -.02em; max-width: 19ch; }
.intro__big .serif { letter-spacing: -.02em; }
.intro__big .w { color: var(--stone); transition: none; }
.intro__cols { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: clamp(40px, 7vh, 80px); }
.intro__p { max-width: 52ch; font-size: clamp(16px, 1.2vw, 19px); color: #3e3a34; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 11vh, 130px); border-top: 1px solid var(--line-l); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line-l); display: grid; gap: 10px; }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__n { font-variation-settings: "wdth" 66; font-weight: 800; font-size: clamp(64px, 8vw, 136px); line-height: .85; letter-spacing: -.02em; }
.stat__n small { font-size: .38em; margin-left: 4px; letter-spacing: 0; color: var(--yellow-2); }
.stat__l { font-size: 14px; color: #5a554c; max-width: 22ch; }
.deco { position: absolute; pointer-events: none; z-index: 1; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); will-change: transform; }
.deco--llana { right: -2vw; top: 6vh; width: clamp(150px, 21vw, 360px); }
.deco--nivel { right: 8vw; bottom: 34vh; width: clamp(200px, 24vw, 420px); }

/* ==========================================================================
   03 · SERVICIOS
   ========================================================================== */
.services { position: relative; background: var(--ink); }
.services__head { position: relative; height: 100vh; height: 100lvh; display: flex; align-items: center; overflow: hidden; }
.paint { position: absolute; left: 0; right: 0; top: 50%; height: clamp(280px, 46vh, 480px); transform: translateY(-46%); z-index: 3; }
.paint__label { position: absolute; left: 0; right: 0; bottom: calc(100% + 26px); max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter); color: rgba(255,255,255,.6); }
.paint__ghost { position: absolute; inset: 0; display: flex; align-items: center; }
.paint .h-giant { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 var(--gutter); font-size: clamp(46px, 8.4vw, 156px); line-height: .9; }
.paint__ghost .h-giant { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); }
.paint__ghost .h-giant .serif { -webkit-text-stroke: 1px rgba(255,210,31,.45); }
.paint__band { position: absolute; inset: 0; clip-path: inset(0 100% 0 0);
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #ffd83b, var(--yellow) 40%, #f7c800);
  display: flex; align-items: center; pointer-events: none; }
.paint__band .h-giant { color: var(--ink); }
.paint__roller { position: absolute; top: 50%; left: 0; height: 150%; pointer-events: none; width: auto; transform: translate(-50%, -50%) rotate(90deg); filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.services__pin { position: relative; overflow: hidden; }
.panel { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .js .services__pin { height: 100vh; height: 100lvh; }
  .js .panel { position: absolute; inset: 0; min-height: 0; will-change: transform, clip-path; }
}
.panel:nth-of-type(even) { background: var(--coal); }
.panel__txt { position: relative; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr-h) + 2vh) clamp(24px, 5vw, 90px) 8vh var(--gutter); overflow: hidden; }
.panel__letter { position: absolute; right: -2vw; bottom: -6vh; font-variation-settings: "wdth" 62; font-weight: 900; font-size: clamp(260px, 42vw, 720px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,210,31,.28); pointer-events: none; }
.panel__title { position: relative; font-variation-settings: "wdth" 70; font-weight: 780; text-transform: uppercase; font-size: clamp(38px, 4.8vw, 84px); line-height: .92; margin-bottom: 26px; max-width: 12ch; }
.panel__txt p { position: relative; color: rgba(255,255,255,.72); max-width: 46ch; font-size: clamp(15px, 1.1vw, 18px); }
.panel__list { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.panel__list li { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line-d); border-radius: 999px; color: rgba(255,255,255,.85); }
.panel__img { position: relative; overflow: hidden; }
.panel__img img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.services__index { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 5; display: grid; gap: 10px; color: rgba(255,255,255,.45); font-size: 12px; }
.services__index li { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid transparent; transition: color .4s, border-color .4s, background .4s; background: rgba(15,15,15,.4); }
.services__index li.is-active { color: var(--ink); background: var(--yellow); }
.deco--abrazadera { left: -3vw; bottom: -12vh; width: clamp(140px, 16vw, 280px); z-index: 6; }

/* ==========================================================================
   04 · ANTES / DESPUÉS
   ========================================================================== */
.ba { position: relative; background: var(--ink); padding: clamp(90px, 16vh, 200px) 0 clamp(90px, 14vh, 180px); }
.ba__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; margin-bottom: clamp(40px, 7vh, 90px); }
.ba__head .label { grid-column: 1 / -1; color: rgba(255,255,255,.55); }
.ba__title { font-variation-settings: "wdth" 62; font-weight: 820; text-transform: uppercase; font-size: clamp(76px, 15vw, 270px); line-height: .82; letter-spacing: -.015em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .12em; }
.ba__slash { color: var(--yellow); font-weight: 300; }
.ba__w2 { font-size: .86em; color: var(--yellow); }
.ba__lead { max-width: 30ch; color: rgba(255,255,255,.65); padding-bottom: 1.4vw; }
.ba__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: start; }
.compare { position: relative; overflow: hidden; border-radius: 18px; background: var(--graph); --pos: 50%; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.compare--tall { grid-row: span 2; }
.compare__media { position: relative; }
.compare__media > img, .compare__before img { width: 100%; height: auto; display: block; pointer-events: none; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__before img { height: 100%; object-fit: cover; }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--yellow); pointer-events: none; }
.compare__handle i { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--yellow); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.compare__handle i::before, .compare__handle i::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.compare__handle i::before { left: 13px; border-right-color: var(--ink); }
.compare__handle i::after { right: 13px; border-left-color: var(--ink); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.compare__tag { position: absolute; top: 16px; padding: 7px 11px; border-radius: 999px; background: rgba(15,15,15,.7); color: var(--white); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 10px; pointer-events: none; }
.compare__tag--a { left: 16px; }
.compare__tag--d { right: 16px; background: var(--yellow); color: var(--ink); }
.compare figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; background: rgba(15,15,15,.62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); pointer-events: none; max-width: 380px; }
.compare figcaption strong { font-variation-settings: "wdth" 100; font-weight: 650; font-size: 15px; }
.compare figcaption span { font-size: 13px; color: rgba(255,255,255,.7); }
.ba__pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.ba__pair figure { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.ba__pair img { width: 100%; height: 100%; object-fit: cover; }
.ba__pair .compare__tag { left: 12px; top: 12px; }
.ba__pair .compare__tag--d { left: auto; right: 12px; }
.ba__arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-size: 18px; }
.ba__pair-cap { grid-column: 1 / -1; font-size: 14px; color: rgba(255,255,255,.65); }
.ba__pair-cap strong { color: var(--white); font-weight: 600; }

/* ==========================================================================
   05 · PROCESO
   ========================================================================== */
.process { position: relative; background: var(--cal); color: var(--ink); padding: clamp(90px, 16vh, 200px) 0 clamp(60px, 10vh, 140px); }
.process__head { margin-bottom: clamp(40px, 8vh, 100px); }
.process__head .label { color: var(--muted); margin-bottom: 26px; }
.process__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 110px); }
.process__sticky { position: relative; }
.building { position: sticky; top: calc(var(--hdr-h) + 2vh); height: calc(100vh - var(--hdr-h) - 8vh); display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; }
.building svg { width: 100%; height: 100%; min-height: 0; overflow: visible; }
.building__meta { display: flex; gap: 8px; align-items: baseline; font-size: 12px; color: var(--muted); }
.building__meta strong { font-family: var(--f-sans); font-variation-settings: "wdth" 66; font-weight: 800; font-size: 56px; line-height: .8; color: var(--ink); letter-spacing: -.02em; }
.b-wall { fill: #e2d9c9; stroke: var(--ink); stroke-width: 1.4; }
.b-floor { fill: #d3c6ae; transition: fill .9s var(--ease); }
.b-floor.is-done { fill: #f6f1e7; }
.b-line { stroke: var(--ink); stroke-width: 1.2; fill: none; }
.b-glass { fill: #3a3935; stroke: var(--ink); stroke-width: 1.2; }
.b-door { fill: #4a4844; stroke: var(--ink); stroke-width: 1.2; }
.b-shut { fill: #a99c84; stroke: var(--ink); stroke-width: 1; transition: fill .9s var(--ease); }
.b-win.is-done .b-shut { fill: #2f5d4a; }
.b-rail { fill: none; stroke: #6d4a35; stroke-width: 1.2; transition: stroke .9s var(--ease); }
.b-bar { stroke: #6d4a35; stroke-width: 1; transition: stroke .9s var(--ease); }
.b-win.is-done .b-rail, .b-win.is-done .b-bar { stroke: var(--ink); }
.b-slab { fill: #bdb19c; stroke: var(--ink); stroke-width: 1; }
.b-mould { fill: #cbbfa9; stroke: var(--ink); stroke-width: 1; }
.b-dent { fill: var(--ink); opacity: .55; }
.b-crack { fill: none; stroke: #5b4636; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: opacity .8s var(--ease); }
.b-patch { fill: #a8826a; opacity: .55; transition: opacity .8s var(--ease); }
.b-crack.is-done, .b-patch.is-done { opacity: 0; }
.b-scaf { stroke: var(--yellow-2); stroke-width: 2.2; fill: none; stroke-linecap: square; }
.b-scaf-thin { stroke: var(--yellow-2); stroke-width: 1.2; fill: none; opacity: .8; }
.b-plat { fill: var(--yellow); stroke: var(--ink); stroke-width: 1.2; }
.b-worker { fill: var(--ink); }
.b-helmet { fill: var(--yellow); stroke: var(--ink); stroke-width: 1; }
.b-ground { stroke: var(--ink); stroke-width: 2; }
.b-cota { stroke: var(--muted); stroke-width: 1; fill: none; }
.b-cota-t { fill: var(--muted); font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; }
.process__steps { counter-reset: step; }
.step { display: grid; grid-template-columns: clamp(130px, 13vw, 210px) 1fr; gap: clamp(20px, 3vw, 44px); align-items: end; padding: clamp(36px, 7vh, 80px) 0; border-top: 1px solid var(--line-l); opacity: .35; transition: opacity .6s var(--ease); }
.step:last-child { border-bottom: 1px solid var(--line-l); }
.step.is-active { opacity: 1; }
.step__img { aspect-ratio: 3 / 4; }
.step__img img { transform: scale(1.12); transition: transform 1.2s var(--ease); }
.step.is-active .step__img img { transform: scale(1); }
.step__n { color: var(--yellow-2); display: block; margin-bottom: 10px; font-size: 12px; }
.step h3 { font-variation-settings: "wdth" 76; font-weight: 750; text-transform: uppercase; font-size: clamp(26px, 2.6vw, 44px); line-height: .95; margin-bottom: 14px; }
.step p { color: #4a463f; max-width: 44ch; }
.deco--level-wrap { display: none; }

/* ==========================================================================
   06 · OBRAS
   ========================================================================== */
.works { position: relative; background: var(--ink); padding: clamp(90px, 15vh, 190px) 0 0; overflow: hidden; }
.works__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(36px, 6vh, 70px); }
.works__head .label { color: rgba(255,255,255,.55); margin-bottom: 26px; }
.works__drag { color: var(--yellow); white-space: nowrap; }
.works__viewport { overflow: hidden; cursor: grab; touch-action: pan-y; padding-bottom: 10px; }
.works__viewport.is-dragging { cursor: grabbing; }
.works__viewport { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.works__viewport::-webkit-scrollbar { display: none; }
.works__track { display: flex; align-items: flex-end; gap: clamp(14px, 1.6vw, 26px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.card { width: clamp(240px, 24vw, 400px); flex: none; user-select: none; -webkit-user-select: none; }
.card figure { aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--graph); }
.card--wide { width: clamp(330px, 38vw, 620px); }
.card--wide figure { aspect-ratio: 4 / 3; }
.card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.1s var(--ease); pointer-events: none; }
.card:hover img { transform: scale(1.0); }
.card__tag { color: var(--yellow); margin: 16px 0 6px; }
.card h3 { font-variation-settings: "wdth" 100; font-weight: 600; font-size: clamp(17px, 1.3vw, 21px); }
.marquee { margin-top: clamp(70px, 12vh, 150px); padding: clamp(18px, 3vh, 32px) 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); overflow: hidden; }
.marquee__row { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee__row span { font-variation-settings: "wdth" 62; font-weight: 820; text-transform: uppercase; font-size: clamp(54px, 8.4vw, 150px); line-height: 1; padding: 0 .28em; white-space: nowrap; }
.marquee__row span.serif { text-transform: none; font-weight: 400; color: var(--yellow); font-size: clamp(50px, 7.6vw, 136px); }
.marquee__row i { width: clamp(14px, 1.4vw, 22px); height: clamp(14px, 1.4vw, 22px); background: var(--yellow); transform: rotate(45deg); flex: none; }

/* ==========================================================================
   07 · COMUNIDADES + FAQ
   ========================================================================== */
.clients { position: relative; background: var(--cal); color: var(--ink); padding: clamp(100px, 16vh, 200px) 0 clamp(90px, 14vh, 180px); }
.clients__head { margin-bottom: clamp(44px, 8vh, 100px); }
.clients__head .label { color: var(--muted); margin-bottom: 26px; }
.clients__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.who { padding: clamp(26px, 3vw, 44px); border-radius: 20px; background: #f7f3ec; border: 1px solid var(--line-l); display: grid; gap: 14px; align-content: start; transition: transform .6s var(--ease), background .4s; }
.who:hover { transform: translateY(-6px); background: var(--white); }
.who svg { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.who h3 { font-variation-settings: "wdth" 80; font-weight: 720; text-transform: uppercase; font-size: clamp(20px, 1.7vw, 27px); line-height: 1.05; }
.who p { color: #4f4a42; font-size: 15px; }
.faq { margin-top: clamp(70px, 12vh, 140px); max-width: 1060px; }
.faq__title { color: var(--muted); margin-bottom: 18px; }
.faq__item { border-top: 1px solid var(--line-l); }
.faq__item:last-child { border-bottom: 1px solid var(--line-l); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(20px, 3vh, 30px) 0; font-variation-settings: "wdth" 92; font-weight: 600; font-size: clamp(18px, 1.7vw, 26px); letter-spacing: -.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-l); position: relative; transition: background .35s, transform .5s var(--ease); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq__item[open] summary i { background: var(--yellow); border-color: var(--yellow); }
.faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 0 28px; max-width: 70ch; color: #4f4a42; font-size: 16px; }
.deco--casco { right: 5vw; top: -9vh; width: clamp(150px, 17vw, 300px); z-index: 4; }

/* ==========================================================================
   08 · CONTACTO
   ========================================================================== */
.contact { position: relative; background: var(--ink); }
.contact__frame { position: relative; height: 100vh; height: 100lvh; overflow: hidden; }
.contact__pic { position: absolute; inset: 0; display: block; }
.contact__pic img { width: 100%; height: 100%; object-fit: cover; }
.contact__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,14,.55), rgba(10,10,14,.25) 40%, rgba(10,10,14,.7)); pointer-events: none; }
.contact__over { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 var(--gutter); gap: clamp(10px, 2vh, 20px); }
.contact__over .label { color: rgba(255,255,255,.75); }
.contact__h { font-variation-settings: "wdth" 72; font-weight: 750; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 76px); line-height: .95; }
.contact__h .serif { color: var(--yellow); }
.contact__tel { font-variation-settings: "wdth" 62; font-weight: 300; word-spacing: .18em; font-size: clamp(64px, 14.5vw, 270px); line-height: .9; letter-spacing: -.01em; color: var(--white); transition: color .4s; white-space: nowrap; }
.contact__tel:hover { color: var(--yellow); }
.contact__mail { font-family: var(--f-mono); font-size: clamp(12px, 1.1vw, 15px); letter-spacing: .06em; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 4px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 110px); padding-top: clamp(80px, 14vh, 170px); padding-bottom: clamp(80px, 14vh, 170px); }
.contact__info { position: relative; }
.contact__lead { font-variation-settings: "wdth" 80; font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 58px); line-height: .98; max-width: 14ch; }
.contact__lead .serif { color: var(--yellow); }
.contact__list { margin-top: 40px; display: grid; gap: 0; }
.contact__list li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-d); font-size: 16px; }
.contact__list li:last-child { border-bottom: 1px solid var(--line-d); }
.contact__list .mono { color: rgba(255,255,255,.5); padding-top: 3px; }
.contact__list a:hover { color: var(--yellow); }
.contact__list a, .contact__list span, .menu__mail, .contact__mail { overflow-wrap: anywhere; }
.contact__roller { width: clamp(140px, 13vw, 220px); margin-top: 50px; transform: rotate(-24deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.form { display: grid; gap: 22px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; }
.field > span, .chips legend { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); color: var(--white); font: inherit; font-size: 17px; padding: 12px 0; border-radius: 0; outline: none; transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 90px; }
.field select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%), linear-gradient(135deg, var(--yellow) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); }
.field.is-error input { border-color: #ff6b4a; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 10px; padding: 0; width: 100%; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: 14px; transition: background .3s, color .3s, border-color .3s; }
.chips input:checked + span { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,.7); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--yellow); margin-top: 2px; flex: none; }
.check a { text-decoration: underline; }
.check.is-error { color: #ff8a6f; }
.form .btn { justify-self: start; margin-top: 6px; }
.form__note { color: rgba(255,255,255,.45); font-size: 10.5px; }

/* ==========================================================================
   PIE
   ========================================================================== */
.ftr { position: relative; background: var(--yellow); color: var(--ink); padding-top: clamp(70px, 12vh, 150px); overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.ftr__claim { font-variation-settings: "wdth" 72; font-weight: 780; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 80px); line-height: .92; max-width: 13ch; }
.ftr__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ftr__cols div { display: grid; gap: 8px; align-content: start; font-size: 15px; }
.ftr__cols .mono { opacity: .6; margin-bottom: 6px; }
.ftr__cols a { word-break: break-word; }
.ftr__cols a:hover { text-decoration: underline; }
.ftr__word { padding: clamp(50px, 10vh, 120px) var(--gutter) 0; }
.ftr__word svg { width: 100%; height: auto; display: block; fill: var(--ink); overflow: visible; }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; padding-bottom: 28px; margin-top: clamp(24px, 4vh, 40px); border-top: 1px solid rgba(15,15,15,.2); font-size: 11px; }
.ftr__legal { display: flex; gap: 22px; }
.ftr__legal a:hover, .ftr__up:hover { text-decoration: underline; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@supports (height: 100lvh) { :root { --bar: calc(100lvh - 100svh); } }

@media (max-width: 1100px) {
  .hdr__tel { display: none; }
  .reasons__content { grid-template-columns: 1fr; align-content: center; align-items: start; gap: 4vh; }
  .reasons__head .h-xl { font-size: clamp(36px, 6.4vw, 72px); }
  .slide__img { height: min(36vh, 380px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-l); margin-top: 28px; }
  .ftr__top { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --hdr-h: 76px; }
  .hdr__seal { width: 42px; height: 42px; }
  .hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease), background-color .45s var(--ease); background: rgba(15,15,15,.78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid rgba(255,255,255,.06); }
  .hdr.is-solid::before { opacity: 1; }
  .hdr[data-tone="light"]::before { background: rgba(239,233,223,.86); border-bottom-color: rgba(15,15,15,.06); }
  .hdr[data-tone="yellow"]::before { background: rgba(255,210,31,.9); border-bottom-color: rgba(15,15,15,.08); }
  body.menu-open .hdr::before { opacity: 0; }
  .hdr__cta { display: none; }
  .hdr__logo { width: 112px; }
  .menu__inner { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 4vh; padding-top: calc(var(--hdr-h) + 2vh); }
  .menu__nav a { font-size: clamp(28px, 9vw, 52px); gap: 12px; }
  .menu__side .label { font-size: 10px; letter-spacing: .14em; }
  .menu__side { align-self: start; }
  .menu__casco { display: none; }

  .hero__gauge { display: none; }
  .hero__title { top: 42%; width: calc(100vw - 2 * var(--gutter)); }
  .hero__kicker { gap: 10px; font-size: 9px; letter-spacing: .14em; white-space: nowrap; }
  .hero__kicker i { width: 18px; }
  .hero__claim { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .hero__claim-l, .hero__claim-r { text-align: center; }
  .hero__phase { bottom: calc(var(--bar) + 124px); padding: 12px 14px; gap: 12px; }
  .hero__phase-title { font-size: 13px; }
  .hero__phase-text { font-size: 12.5px; }
  .hero__toggle { bottom: calc(var(--bar) + 26px); left: var(--gutter); transform: none; }
  .hero__scroll { display: none; }
  .cta-circle { width: 104px; height: 104px; bottom: calc(var(--bar) + 14px); }
  .cta-circle__core { width: 44px; height: 44px; }
  .cta-circle__core svg { width: 18px; height: 18px; }
  .spot span { white-space: normal; width: 200px; text-align: center; }

  .arch { width: 94vw; }
  .arch__text text { font-size: 64px; }
  .reasons__content { padding-top: calc(var(--hdr-h) + 1vh); }
  .reasons__head .h-xl { font-size: clamp(34px, 9.6vw, 60px); }
  .slide__img { height: min(30vh, 300px); }
  .slide__n { font-size: 54px; margin-bottom: 10px; }
  .slide__txt p { font-size: 14.5px; }

  .intro__cols { flex-direction: column; align-items: flex-start; }
  .deco--llana { width: 130px; top: 2vh; right: -6vw; }
  .deco--nivel { width: 200px; right: -4vw; bottom: 42vh; }

  .panel { grid-template-columns: 1fr; min-height: 0; }
  .panel__img { aspect-ratio: 4 / 3; order: -1; }
  .panel__txt { padding: 40px var(--gutter) 64px; }
  .panel__letter { font-size: 60vw; bottom: -4vh; }
  .services__index { display: none; }
  .deco--abrazadera { display: none; }
  .paint__roller { height: 120%; }

  .ba__head { grid-template-columns: 1fr; }
  .ba__grid { grid-template-columns: minmax(0, 1fr); }
  .compare--tall { grid-row: auto; }
  .compare figcaption { position: static; max-width: none; border-radius: 0; background: var(--graph); -webkit-backdrop-filter: none; backdrop-filter: none; padding: 14px 16px 16px; }

  .process__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process__sticky { position: sticky; top: var(--hdr-h); z-index: 3; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter) 12px; background: var(--cal); border-bottom: 1px solid var(--line-l); }
  .building { position: relative; top: auto; height: min(30vh, 260px); grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr); align-items: end; gap: 12px; }
  .building__meta { flex-direction: column; align-items: flex-end; gap: 2px; }
  .building__meta strong { font-size: 44px; }
  .step { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; opacity: .4; padding: 30px 0; }
  .step h3 { font-size: 22px; }
  .step p { font-size: 14.5px; }

  .works__head { flex-direction: column; align-items: flex-start; }
  .clients__cards { grid-template-columns: 1fr; }
  .deco--casco { width: 120px; top: -6vh; }

  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .contact__roller { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .ftr__cols { grid-template-columns: 1fr; }
  .ftr__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .slide { grid-template-columns: 1fr; gap: 14px; }
  .slide__img { width: 100%; max-width: none; height: min(31vh, 300px); aspect-ratio: auto; }
  .slide__n { position: absolute; top: 0; left: 12px; margin: 0; transform: translateY(-96%); font-size: 64px; color: var(--yellow); text-shadow: 0 2px 24px rgba(0,0,0,.45); }
  .slide__txt { position: relative; padding-top: 6px; }
  .deco--llana { display: none; }
  .deco--nivel { width: 170px; right: -12vw; bottom: 1.5vh; }
  .stat__n { font-size: 60px; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 12px; }
  .stat:nth-child(3) { padding-left: 0; }
  .ba__pair { grid-template-columns: 1fr 1fr; }
  .ba__arrow { display: none; }
  .contact__tel { font-size: 17vw; }
}

/* Móviles bajos (iPhone SE, Android pequeños) */
@media (max-width: 900px) and (max-height: 720px) {
  .reasons__content { gap: 2.4vh; padding-top: calc(var(--hdr-h) + 0px); }
  .reasons__head .label { margin-bottom: 12px; }
  .reasons__head .h-xl { font-size: clamp(30px, 8.4vw, 44px); }
  .slide__img { height: min(24vh, 220px); }
  .slide__txt p { font-size: 14px; }
  .slider__nav { margin-top: 14px; }
  .hero__phase-note { display: none; }
}

/* Movimiento reducido: se mantiene todo visible y quieto */
@media (prefers-reduced-motion: reduce) {
  .spot i::after, .hero__scroll-line i, .cta-circle__ring { animation: none; }
  .slider__track, .roll .ch { transition: none; }
}
