/* ==========================================================================
   Atención Hogar — sistema de diseño
   Tipografía: Archivo (variable, ancho + peso) · Instrument Serif · JetBrains Mono
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --ink: #0d1310;
  --ink-2: #131b16;
  --ink-3: #1b251f;
  --paper: #f4f3ee;
  --paper-2: #eae9e1;
  --paper-3: #dcdbd1;
  --graphite: #4d4d4f;

  --text: #121815;
  --text-2: rgba(18, 24, 21, 0.7);
  --text-3: rgba(18, 24, 21, 0.5);
  --on-dark: #eeeee8;
  --on-dark-2: rgba(238, 238, 232, 0.68);
  --on-dark-3: rgba(238, 238, 232, 0.44);

  --green: #3baa34;
  --green-hi: #5fd052;
  --green-deep: #1f6f1b;
  --green-wash: rgba(59, 170, 52, 0.12);
  --flame: #3b7bff;
  --flame-hi: #8fd3ff;
  --alert: #ff8a1f;
  --alert-deep: #b55200;

  --line: rgba(18, 24, 21, 0.12);
  --line-2: rgba(18, 24, 21, 0.2);
  --line-dark: rgba(238, 238, 232, 0.12);
  --line-dark-2: rgba(238, 238, 232, 0.22);

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-io: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  --gutter: clamp(20px, 4.2vw, 64px);
  --maxw: 1440px;
  --header-h: 76px;
  --radius: 20px;
  --radius-sm: 12px;
  --section-y: clamp(88px, 11vw, 168px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: clamp(16px, 0.35vw + 15px, 18px);
  line-height: 1.6;
  font-stretch: 100%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--green); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--green); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .3s var(--ease-out); }
.skip:focus { top: 12px; }
.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; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: cubic-bezier(.16,1,.3,1); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--paper2 { background: var(--paper-2); }
.section--flush-top { padding-top: 0; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

/* ---------- Tipografía ---------- */
.display-xl, .display-l, .display-m, .h3 { font-family: var(--f-sans); font-weight: 680; font-stretch: 116%; letter-spacing: -0.035em; text-wrap: balance; }
.display-xl { font-size: clamp(3.1rem, 7.6vw, 8.6rem); line-height: 0.9; letter-spacing: -0.045em; }
.display-l { font-size: clamp(2.4rem, 5.4vw, 5.8rem); line-height: 0.95; letter-spacing: -0.04em; }
.display-m { font-size: clamp(1.9rem, 3.4vw, 3.6rem); line-height: 1; }
.h3 { font-size: clamp(1.3rem, 1.6vw, 1.75rem); line-height: 1.12; letter-spacing: -0.02em; font-stretch: 108%; }
.display-xl em, .display-l em, .display-m em, .h3 em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%;
  letter-spacing: -0.01em; color: var(--green-deep); padding-right: .04em;
}
.section--dark .display-xl em, .section--dark .display-l em, .section--dark .display-m em, .section--dark .h3 em,
.hero em, .cta-final em, .is-dark em, .page-hero--dark em, .notfound em, .route em { color: var(--green-hi); }
.lead { font-size: clamp(1.08rem, 0.6vw + 0.95rem, 1.35rem); line-height: 1.5; color: var(--text-2); max-width: 38ch; text-wrap: pretty; }
.section--dark .lead, .page-hero--dark .lead, .is-dark .lead { color: var(--on-dark-2); }
.prose { color: var(--text-2); max-width: 62ch; text-wrap: pretty; }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--text); font-weight: 600; }
.section--dark .prose { color: var(--on-dark-2); }
.section--dark .prose strong { color: var(--on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; line-height: 1.2;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow--dark, .section--dark .eyebrow { color: var(--on-dark-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-wash); flex: none; }
.dot--alert { background: var(--alert); box-shadow: 0 0 0 4px rgba(255, 138, 31, .18); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--text-3); }
.section--dark .num { color: var(--on-dark-3); }

/* ---------- Iconos ---------- */
.i { width: 1.15em; height: 1.15em; flex: none; }
.i--chev { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }

/* ---------- Botones ---------- */
.btn {
  --bh: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em; font-stretch: 104%; white-space: nowrap;
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out), border-color .5s var(--ease-out), transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  isolation: isolate; overflow: hidden;
}
.btn .i { width: 19px; height: 19px; }
.btn .i--arrow { transition: transform .6s var(--ease-out); }
.btn:hover .i--arrow { transform: translateX(4px); }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { --bh: 62px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(59, 170, 52, .55); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120% 140% at var(--mx, 50%) var(--my, 120%), #8be37f 0%, rgba(139, 227, 127, 0) 60%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(59, 170, 52, .7); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(18, 24, 21, .04); }
.btn--ghost-dark { border: 1px solid var(--line-dark-2); color: var(--on-dark); }
.btn--ghost-dark:hover { border-color: var(--on-dark); background: rgba(238, 238, 232, .06); }
.btn--alert { background: rgba(255, 138, 31, .12); color: #ffb26b; border: 1px solid rgba(255, 138, 31, .35); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-stretch: 104%; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease-out); }
.link-arrow:hover { background-size: 0% 1px; background-position: 100% 100%; }
.link-arrow .i { transition: transform .6s var(--ease-out); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--text); --logo-green: var(--green);
  transition: color .5s var(--ease-out), transform .6s var(--ease-out);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(244, 243, 238, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .5s var(--ease-out), background-color .5s var(--ease-out);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header[data-theme="dark"] { color: var(--on-dark); --logo-green: var(--green-hi); }
.site-header[data-theme="dark"]::before { background: rgba(13, 19, 16, .72); border-bottom-color: var(--line-dark); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; width: min(100% - 2 * var(--gutter), 1600px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: block; flex: none; }
.logo-svg { height: 40px; width: auto; }
.logo-svg .logo-mark path:first-child { stroke-dasharray: 1600; stroke-dashoffset: 0; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; font-stretch: 104%; letter-spacing: -0.005em;
  transition: background-color .4s var(--ease-out), opacity .4s;
}
.nav__link:hover { background: rgba(127, 127, 127, .12); }
.nav__link[aria-current="page"] { box-shadow: inset 0 0 0 1px currentColor; }
.nav__item--menu.is-open .i--chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(760px, 90vw);
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s .5s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__item--menu.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.mega__inner {
  display: grid; grid-template-columns: 1fr 230px; gap: 8px; padding: 8px;
  background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 30px 80px -30px rgba(13, 19, 16, .45), 0 2px 0 rgba(255,255,255,.6) inset;
}
.mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__link { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; transition: background-color .35s var(--ease-out); }
.mega__link:hover { background: var(--paper-2); }
.mega__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--green-hi); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease-out); }
.mega__link:hover .mega__ico { transform: rotate(-6deg) scale(1.05); }
.mega__ico svg { width: 26px; height: 26px; }
.mega__link b { display: block; font-weight: 600; font-size: 15px; font-stretch: 106%; letter-spacing: -0.01em; line-height: 1.2; }
.mega__link small { display: block; color: var(--text-3); font-size: 13px; line-height: 1.3; margin-top: 2px; }
.mega__feature { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 16px; background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; }
.mega__feature .eyebrow { color: var(--on-dark-3); }
.mega__feature::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(59,170,52,.45), transparent 65%); transition: transform .8s var(--ease-out); }
.mega__feature:hover::after { transform: scale(1.25); }
.mega__feature-title { font-size: 22px; line-height: 1.05; font-weight: 650; font-stretch: 112%; letter-spacing: -0.03em; }
.mega__feature-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--green-hi); font-weight: 600; font-size: 14.5px; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.pill-alert {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(255, 138, 31, .45); font-size: 14px; font-weight: 600; font-stretch: 104%;
  transition: background-color .4s var(--ease-out), border-color .4s;
}
.pill-alert:hover { background: rgba(255, 138, 31, .12); border-color: var(--alert); }
.pill-alert__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--alert); position: relative; }
.pill-alert__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--alert); animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.header-cta .i { width: 18px; height: 18px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--on-dark);
  padding: calc(var(--header-h) + 12px) var(--gutter) 28px; overflow-y: auto;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
.menu-open .site-header { color: var(--on-dark); --logo-green: var(--green-hi); }
.menu-open .site-header::before { opacity: 0; }
.mobile-menu__inner { display: flex; flex-direction: column; gap: 18px; min-height: 100%; }
.mobile-menu__services { display: grid; gap: 2px; }
.mobile-menu__services a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 21px; font-weight: 600; font-stretch: 110%; letter-spacing: -0.02em; }
.mobile-menu__services svg { width: 30px; height: 30px; color: var(--green-hi); }
.mobile-menu__main { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.mobile-menu__main a { display: inline-flex; padding: 10px 16px; border: 1px solid var(--line-dark-2); border-radius: 999px; font-size: 15px; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 10px; padding-top: 12px; }
.mobile-menu li { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .7s var(--ease-out); }
.menu-open .mobile-menu li { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(1) { transition-delay: .18s; } .menu-open .mobile-menu li:nth-child(2) { transition-delay: .22s; }
.menu-open .mobile-menu li:nth-child(3) { transition-delay: .26s; } .menu-open .mobile-menu li:nth-child(4) { transition-delay: .3s; }
.menu-open .mobile-menu li:nth-child(5) { transition-delay: .34s; }

/* ---------- Hero (inicio) ---------- */
.hero {
  position: relative; min-height: 100svh; background: var(--ink); color: var(--on-dark);
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(24px, 4vw, 56px));
}
.hero::before { /* retícula de plano técnico */
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .55;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(120% 90% at 70% 40%, #000 10%, transparent 70%);
}
.hero__glow { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -18vmax; top: 2vmax; border-radius: 50%; background: radial-gradient(circle, rgba(59, 123, 255, .22), rgba(59, 123, 255, .06) 40%, transparent 65%); pointer-events: none; }
.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.hero__title { margin-top: 26px; }
.hero__title .line { display: block; }
.hero__lead { margin-top: clamp(22px, 2.4vw, 34px); font-size: clamp(1.05rem, .55vw + .95rem, 1.3rem); line-height: 1.5; color: var(--on-dark-2); max-width: 44ch; text-wrap: pretty; }
.hero__lead strong { color: var(--on-dark); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 40px); }
.hero__visual { position: relative; justify-self: center; width: min(100%, 520px); }
.hero__house { position: relative; aspect-ratio: 540 / 480; }
.hero__house svg.house-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.house-line path { fill: none; stroke: var(--green); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1700; stroke-dashoffset: 1700; filter: drop-shadow(0 0 18px rgba(59,170,52,.35)); }
.house-line rect { fill: var(--graphite); transform-origin: 50% 50%; transform: scaleX(0); transform-box: fill-box; }
.is-loaded .house-line path { animation: draw 2.2s var(--ease-io) .25s forwards; }
.is-loaded .house-line rect { animation: grow 1.2s var(--ease-out) 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { to { transform: scaleX(1); } }
.hero__flame { position: absolute; left: 6%; right: 6%; bottom: 4%; height: 64%; width: 88%; }
.hero__flame canvas { width: 100%; height: 100%; }
.flame-fallback { position: absolute; inset: 0; display: none; }
.no-webgl .flame-fallback { display: block; }
.hero__coords { position: absolute; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--on-dark-3); text-transform: uppercase; white-space: nowrap; }
.hero__coords--a { top: -6px; left: 0; }
.hero__coords--b { bottom: -28px; right: 0; }

.knob-wrap { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.knob {
  --rot: 45deg; position: relative; width: 64px; height: 64px; border-radius: 50%; flex: none; touch-action: none; cursor: grab;
  background: radial-gradient(circle at 35% 30%, #3a453e, #161e19 70%); box-shadow: 0 10px 24px -8px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 1px var(--line-dark-2);
}
.knob:active { cursor: grabbing; }
.knob__cap { position: absolute; inset: 9px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #2b342f, #111713); transform: rotate(var(--rot)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.knob__cap::before { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 13px; margin-left: -1.5px; border-radius: 2px; background: var(--green-hi); box-shadow: 0 0 10px var(--green-hi); }
.knob__ticks { position: absolute; inset: -10px; pointer-events: none; }
.knob-label { display: grid; gap: 2px; }
.knob-label b { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 500; }
.knob-label span { font-size: 14px; color: var(--on-dark-2); }
.knob-label output { color: var(--flame-hi); font-weight: 600; }

.hero__facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); margin-top: clamp(40px, 5vw, 72px); }
.hero__facts li { padding: 22px 20px 26px 0; display: grid; gap: 4px; }
.hero__facts li + li { padding-left: 22px; border-left: 1px solid var(--line-dark); }
.hero__facts b { font-size: clamp(1.05rem, 1.2vw, 1.3rem); font-weight: 650; font-stretch: 112%; letter-spacing: -0.02em; }
.hero__facts span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-3); }

/* ---------- Split / reveal ---------- */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0ms)); }
.js [data-split].is-in .w > span { transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
/* El recorte va en el hijo: IntersectionObserver no detecta objetivos recortados por su propio clip-path */
.js [data-reveal="clip"] { opacity: 1; transform: none; background: transparent !important; }
.js [data-reveal="clip"] > img, .js [data-reveal="clip"] > video { clip-path: inset(100% 0 0 0); transform: scale(1.15); transition: clip-path 1.4s var(--ease-io), transform 1.8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal="clip"].is-in > img, .js [data-reveal="clip"].is-in > video { clip-path: inset(0 0 0 0); transform: none; }
.js [data-reveal="clip"] > :not(img):not(video) { opacity: 0; transition: opacity .8s var(--ease-out) .9s; }
.js [data-reveal="clip"].is-in > :not(img):not(video) { opacity: 1; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; background: var(--paper); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee__item { font-size: clamp(1.4rem, 2.2vw, 2.2rem); font-weight: 650; font-stretch: 118%; letter-spacing: -0.03em; color: var(--text); white-space: nowrap; }
.marquee__item--soft { color: var(--text-3); font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -0.01em; }
.marquee__sep { width: 10px; height: 10px; border: 1.6px solid var(--green); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Encabezado de sección ---------- */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 24px; align-items: end; margin-bottom: clamp(44px, 6vw, 88px); }
.sec-head__title { grid-column: 1 / span 8; }
.sec-head__title .eyebrow { margin-bottom: 22px; }
.sec-head__aside { grid-column: 9 / -1; color: var(--text-2); max-width: 40ch; text-wrap: pretty; }
.section--dark .sec-head__aside { color: var(--on-dark-2); }
.sec-head__aside .link-arrow { margin-top: 18px; color: var(--text); }
.section--dark .sec-head__aside .link-arrow { color: var(--on-dark); }

/* ---------- Bento de servicios ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.svc-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); min-height: 420px; color: var(--on-dark); background: var(--ink-2);
  padding: clamp(22px, 2.4vw, 34px);
}
.svc-card--a { grid-column: span 7; min-height: 560px; }
.svc-card--b { grid-column: span 5; min-height: 560px; }
.svc-card--c, .svc-card--d, .svc-card--e { grid-column: span 4; min-height: 460px; }
.svc-card__media { position: absolute; inset: 0; z-index: -2; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter 1s var(--ease-out); filter: saturate(.85) contrast(1.05); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,19,16,.28) 0%, rgba(13,19,16,.08) 22%, rgba(13,19,16,.2) 42%, rgba(13,19,16,.78) 70%, rgba(13,19,16,.94) 100%); transition: opacity .8s var(--ease-out); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); filter: saturate(1) contrast(1.05); }
.svc-card__top { position: absolute; top: clamp(20px, 2.2vw, 30px); left: clamp(22px, 2.4vw, 34px); right: clamp(22px, 2.4vw, 34px); display: flex; justify-content: space-between; align-items: center; }
.svc-card__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(13, 19, 16, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-dark-2); color: var(--green-hi); }
.svc-card__ico svg { width: 30px; height: 30px; }
.svc-card .num { color: var(--on-dark-2); }
.svc-card__title { font-size: clamp(1.7rem, 2.6vw, 2.7rem); line-height: .98; font-weight: 680; font-stretch: 116%; letter-spacing: -0.04em; text-wrap: balance; }
.svc-card__txt { margin-top: 12px; color: var(--on-dark-2); max-width: 40ch; font-size: 15.5px; line-height: 1.5; }
.svc-card__go { position: absolute; right: clamp(22px, 2.4vw, 34px); bottom: clamp(22px, 2.4vw, 34px); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: transform .7s var(--ease-out), background-color .5s; }
.svc-card__go .i { width: 22px; height: 22px; transition: transform .7s var(--ease-out); }
.svc-card:hover .svc-card__go { background: var(--green); transform: scale(1.08); }
.svc-card:hover .svc-card__go .i { transform: rotate(45deg); }
.svc-card__body { padding-right: 70px; }

/* ---------- Recorrido del gas (pin) ---------- */
.route { position: relative; background: var(--ink); color: var(--on-dark); }
.route__track { height: 420vh; position: relative; }
.route__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.route__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(28px, 4vw, 72px); align-items: center; width: 100%; }
.route__head { position: absolute; top: calc(var(--header-h) + 20px); left: 0; right: 0; }
.route__head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.route__progress { display: flex; gap: 6px; }
.route__progress i { width: 34px; height: 3px; border-radius: 3px; background: var(--line-dark-2); position: relative; overflow: hidden; }
.route__progress i::after { content: ""; position: absolute; inset: 0; background: var(--flame-hi); transform: scaleX(var(--p, 0)); transform-origin: left; }
.route__diagram { width: 100%; }
.route__diagram svg { width: 100%; height: auto; overflow: visible; }
.rd-line { fill: none; stroke: var(--line-dark-2); stroke-width: 1.4; }
.rd-thin { fill: none; stroke: rgba(238,238,232,.16); stroke-width: 1; stroke-dasharray: 3 5; }
.rd-house { fill: none; stroke: rgba(59, 170, 52, .55); stroke-width: 2.2; stroke-linejoin: round; }
.rd-label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; fill: var(--on-dark-3); text-transform: uppercase; }
.rd-pipe-bg { fill: none; stroke: #26322b; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.rd-pipe { fill: none; stroke: url(#flowGrad); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: url(#glow); }
.rd-flow { fill: none; stroke: rgba(220, 240, 255, .85); stroke-width: 1.6; stroke-dasharray: 2 16; stroke-linecap: round; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.rd-node circle.ring { fill: var(--ink); stroke: var(--line-dark-2); stroke-width: 1.5; transition: stroke .6s var(--ease-out), fill .6s; }
.rd-node text { font-family: var(--f-mono); font-size: 12px; font-weight: 600; fill: var(--on-dark-3); text-anchor: middle; dominant-baseline: central; transition: fill .6s; }
.rd-leader { fill: none; stroke: var(--line-dark-2); stroke-width: 1.2; stroke-dasharray: 2 3; transition: stroke .6s var(--ease-out); }
.rd-node.is-on .rd-leader { stroke: var(--flame-hi); }
.rd-node.is-on circle.ring { stroke: var(--flame-hi); fill: #0f1d33; }
.rd-node.is-on text { fill: #fff; }
.rd-node .halo { fill: none; stroke: var(--flame-hi); stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.rd-node.is-active .halo { animation: halo 1.8s var(--ease-out) infinite; }
@keyframes halo { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.2); } }
.rd-appliance { fill: none; stroke: rgba(238,238,232,.45); stroke-width: 1.5; stroke-linejoin: round; }
.rd-flame { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(.2); transition: opacity .6s var(--ease-out), transform .9s var(--ease-out); }
.route.is-lit .rd-flame { opacity: 1; transform: scaleY(1); }
.route.is-lit .rd-flame path { animation: flick 1.6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes flick { 0% { transform: scaleY(1) skewX(0deg); } 50% { transform: scaleY(1.08) skewX(-2deg); } 100% { transform: scaleY(.94) skewX(2deg); } }

.route__title { margin-bottom: clamp(24px, 3vw, 40px); }
.route__steps { position: relative; min-height: 380px; }
.route__step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); pointer-events: none; }
.route__step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.route__step .num { color: var(--flame-hi); }
.route__step h3 { margin-top: 14px; font-size: clamp(2rem, 3.2vw, 3.3rem); line-height: .98; font-weight: 680; font-stretch: 116%; letter-spacing: -0.04em; }
.route__step p { margin-top: 18px; color: var(--on-dark-2); max-width: 40ch; }
.route__step ul { margin-top: 18px; display: grid; gap: 8px; }
.route__step li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark); font-size: 15.5px; }
.route__step li .i { color: var(--green-hi); margin-top: 3px; width: 18px; height: 18px; }
.route__step .link-arrow { margin-top: 24px; color: var(--on-dark); }

/* ---------- Segmentado residencial / comercial ---------- */
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); position: relative; }
.seg__btn { position: relative; z-index: 1; height: 48px; padding: 0 22px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-stretch: 106%; color: var(--text-2); transition: color .5s var(--ease-out); }
.seg__btn svg { width: 22px; height: 22px; }
.seg__btn[aria-selected="true"] { color: var(--on-dark); }
.seg__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--ink); transition: transform .7s var(--ease-out), width .7s var(--ease-out); }
.audience { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: center; margin-top: clamp(36px, 4vw, 56px); }
[hidden] { display: none !important; }
.audience__panel[hidden] { display: none; }
.audience__panel { animation: panelIn .9s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.audience__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-3); }
.audience__media img, .audience__media video { width: 100%; height: 100%; object-fit: cover; }
.audience__tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(13,19,16,.7); color: var(--on-dark); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.checks { display: grid; gap: 14px; margin-top: 28px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.checks li .i { width: 22px; height: 22px; color: var(--green-deep); margin-top: 2px; }
.section--dark .checks li { border-color: var(--line-dark); }
.section--dark .checks li .i { color: var(--green-hi); }
.checks b { font-weight: 600; display: block; }
.checks span { color: var(--text-2); font-size: 15.5px; }
.section--dark .checks span { color: var(--on-dark-2); }

/* ---------- Calculadora revisión ---------- */
.calc { background: var(--ink); color: var(--on-dark); border-radius: calc(var(--radius) + 8px); padding: clamp(24px, 3.4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); position: relative; overflow: hidden; isolation: isolate; }
.calc::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(59,170,52,.28), transparent 65%); }
.calc__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.field { display: grid; gap: 8px; }
.field label, .field .field__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.field select, .field input, .field textarea {
  appearance: none; -webkit-appearance: none; width: 100%; height: 56px; padding: 0 44px 0 18px; border-radius: 14px;
  background: var(--ink-3); border: 1px solid var(--line-dark-2); color: var(--on-dark); font-size: 16.5px; font-weight: 500;
  transition: border-color .4s var(--ease-out), background-color .4s;
}
.field textarea { height: auto; min-height: 110px; padding: 16px 18px; resize: vertical; line-height: 1.5; }
.field input { padding-right: 18px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 9.5 5.5 5.5 5.5-5.5' fill='none' stroke='%23eeeee8' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
.field select:hover, .field input:hover, .field textarea:hover { border-color: rgba(238,238,232,.4); }
.field select:focus-visible, .field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--green-hi); box-shadow: 0 0 0 4px rgba(95, 208, 82, .18); }
.field option { background: var(--ink-2); color: var(--on-dark); }
.calc__result { border-radius: var(--radius); background: rgba(238,238,232,.04); border: 1px solid var(--line-dark); padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.calc__status { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 7px 14px; border-radius: 999px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; background: rgba(238,238,232,.08); color: var(--on-dark-2); }
.calc__status[data-s="ok"] { background: rgba(95, 208, 82, .14); color: var(--green-hi); }
.calc__status[data-s="soon"] { background: rgba(255, 138, 31, .16); color: #ffb26b; }
.calc__status[data-s="late"] { background: rgba(255, 90, 70, .16); color: #ff8f80; }
.calc__date { font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: .95; font-weight: 680; font-stretch: 116%; letter-spacing: -0.04em; }
.calc__date small { display: block; font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--on-dark-3); font-stretch: 100%; margin-bottom: 8px; }
.calc__bar { height: 6px; border-radius: 6px; background: rgba(238,238,232,.1); overflow: hidden; }
.calc__bar i { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--green-hi)); transition: width 1.2s var(--ease-out), background .6s; }
.calc__result[data-s="soon"] .calc__bar i { background: linear-gradient(90deg, #f59e2a, #ffb26b); }
.calc__result[data-s="late"] .calc__bar i { background: linear-gradient(90deg, #f25b4a, #ff8f80); }
.calc__msg { color: var(--on-dark-2); font-size: 15.5px; }
.calc__result .btn { align-self: flex-start; margin-top: auto; }
.calc__note { margin-top: 18px; font-size: 13.5px; color: var(--on-dark-3); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.step { padding: 28px clamp(16px, 2vw, 32px) 8px 0; position: relative; }
.step + .step { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.step__n { font-size: clamp(3.6rem, 6vw, 6.2rem); line-height: .85; font-weight: 700; font-stretch: 125%; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.3px var(--text-3); transition: color .7s var(--ease-out), -webkit-text-stroke-color .7s; }
.step:hover .step__n { color: var(--green); -webkit-text-stroke-color: var(--green); }
.step h3 { margin-top: 26px; font-size: 1.3rem; font-weight: 650; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.15; }
.step p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
.section--dark .steps, .section--dark .step + .step { border-color: var(--line-dark); }
.section--dark .step p { color: var(--on-dark-2); }
.section--dark .step__n { -webkit-text-stroke-color: var(--on-dark-3); }

/* ---------- Carrusel de trabajos ---------- */
.strip { display: flex; gap: clamp(12px, 1.4vw, 20px); overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2)); padding-bottom: 8px; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip.is-drag a { pointer-events: none; }
.shot { flex: none; width: clamp(240px, 26vw, 380px); scroll-snap-align: start; }
.shot--wide { width: clamp(300px, 44vw, 640px); }
.shot__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-3); }
.shot--wide .shot__img { aspect-ratio: 16 / 10.6; }
.shot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.shot:hover .shot__img img { transform: scale(1.04); }
.shot figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 15px; }
.shot figcaption b { font-weight: 600; }
.shot figcaption span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; white-space: nowrap; }
.strip-nav { display: flex; gap: 8px; }
.strip-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color .4s var(--ease-out), color .4s, border-color .4s; }
.strip-nav button:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.strip-nav button:first-child .i { transform: rotate(180deg); }

/* ---------- Almacén ---------- */
.store { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(12px, 1.4vw, 20px); }
.store__card { background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.store__addr { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; font-weight: 680; font-stretch: 116%; letter-spacing: -0.04em; }
.store__addr span { display: block; color: var(--green-hi); font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -0.01em; }
.store__list { display: flex; flex-wrap: wrap; gap: 8px; }
.store__list li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-dark-2); font-size: 14px; color: var(--on-dark-2); }
.store__card .btn-row { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px; background: #e3e2d9; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map__facade { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background-color: #e7e6de;
  background-image: linear-gradient(rgba(18,24,21,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(18,24,21,.07) 1px, transparent 1px);
  background-size: 40px 40px; }
.map__facade svg.streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: relative; display: grid; justify-items: center; gap: 14px; }
.map__pin-dot { width: 66px; height: 66px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ink); display: grid; place-items: center; box-shadow: 0 18px 40px -12px rgba(13,19,16,.6); }
.map__pin-dot svg { transform: rotate(45deg); width: 34px; height: 34px; color: var(--green-hi); }
.map__pin .btn { margin-top: 6px; }

/* ---------- Banda emergencia ---------- */
.alert-band { background: var(--alert); color: #1d1206; }
.alert-band__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 40px); align-items: center; padding-block: clamp(28px, 3vw, 40px); }
.alert-band__ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #1d1206; color: var(--alert); }
.alert-band__ico svg { width: 30px; height: 30px; }
.alert-band h2 { font-size: clamp(1.4rem, 2.4vw, 2.3rem); line-height: 1.02; font-weight: 700; font-stretch: 116%; letter-spacing: -0.035em; }
.alert-band p { margin-top: 6px; font-size: 15.5px; color: rgba(29,18,6,.78); max-width: 70ch; }
.alert-band .btn { background: #1d1206; color: #fff3e6; }
.alert-band .btn:hover { background: #000; }

/* ---------- CTA final ---------- */
.cta-final { position: relative; background: var(--ink); color: var(--on-dark); padding-block: clamp(100px, 14vw, 220px); overflow: hidden; isolation: isolate; text-align: left; }
.cta-final__glow { position: absolute; z-index: -1; width: 90vmax; height: 90vmax; left: 50%; top: 100%; transform: translate(-50%, -40%); border-radius: 50%; background: radial-gradient(circle, rgba(59,170,52,.32), rgba(59,123,255,.1) 40%, transparent 65%); }
.cta-final__title { margin-top: 26px; max-width: 14ch; font-size: clamp(2.8rem, 7.4vw, 8.2rem); }
.cta-final__row { margin-top: clamp(34px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-dark); padding-top: clamp(56px, 6vw, 96px); overflow: hidden; }
.site-footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); }
.site-footer__brand img { width: 150px; height: auto; }
.site-footer__brand p { margin-top: 20px; color: var(--on-dark-2); max-width: 30ch; font-size: 15.5px; }
.site-footer__col .eyebrow { margin-bottom: 18px; }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a { color: var(--on-dark-2); transition: color .3s; font-size: 15.5px; }
.site-footer__col a:hover { color: var(--green-hi); }
.site-footer__contact a { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.site-footer__contact .i { margin-top: 3px; color: var(--green-hi); }
.site-footer__safety { margin-top: clamp(40px, 5vw, 72px); display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; border: 1px solid rgba(255,138,31,.3); background: rgba(255,138,31,.06); color: var(--on-dark-2); font-size: 14.5px; }
.site-footer__safety .i { color: var(--alert); margin-top: 3px; }
.site-footer__safety strong { color: var(--on-dark); font-weight: 600; }
.site-footer__safety a { color: #ffb26b; font-weight: 600; white-space: nowrap; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: var(--on-dark-3); }
.site-footer__bottom a { color: var(--on-dark-2); }
.site-footer__bottom a:hover { color: var(--green-hi); }
.site-footer__giant { font-size: clamp(4rem, 15.5vw, 17rem); line-height: .78; font-weight: 750; font-stretch: 125%; letter-spacing: -0.06em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(238,238,232,.16); text-align: center; margin-top: 18px; margin-bottom: -.1em; user-select: none; }
.site-footer__giant span { -webkit-text-stroke-color: rgba(95,208,82,.35); margin-left: .18em; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; gap: 10px; transform: translateY(140%); transition: transform .8s var(--ease-out); }
.wa-float.is-in { transform: none; }
.wa-float__btn { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 36px -10px rgba(37, 211, 102, .7); position: relative; transition: transform .6s var(--ease-out); }
.wa-float__btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.8s var(--ease-out) infinite; }
.wa-float__btn svg { width: 30px; height: 30px; }
.wa-float:hover .wa-float__btn { transform: scale(1.07) rotate(-6deg); }
.wa-float__label { padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); opacity: 0; transform: translateX(10px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); pointer-events: none; }
.wa-float:hover .wa-float__label, .wa-float.show-label .wa-float__label { opacity: 1; transform: none; }

/* ---------- Diálogo emergencia ---------- */
.emergency { width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 26px; background: #14100b; color: #f6efe6; box-shadow: 0 40px 120px -20px rgba(0,0,0,.7); overflow: auto; }
.emergency::backdrop { background: rgba(8, 10, 9, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.emergency[open] { animation: dlgIn .6s var(--ease-out); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.emergency__inner { padding: clamp(26px, 4vw, 44px); position: relative; }
.emergency__close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(246,239,230,.2); }
.emergency__close svg { width: 22px; height: 22px; }
.emergency__close:hover { background: rgba(246,239,230,.08); }
.emergency__eyebrow { color: #ffb26b; }
.emergency__title { margin-top: 16px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1; font-weight: 700; font-stretch: 114%; letter-spacing: -0.035em; padding-right: 40px; }
.emergency__steps { margin-top: 26px; display: grid; gap: 4px; counter-reset: st; }
.emergency__steps li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid rgba(246,239,230,.1); }
.emergency__steps svg { width: 26px; height: 26px; color: var(--alert); flex: none; margin-top: 2px; }
.emergency__steps b { display: block; font-weight: 600; font-size: 16.5px; }
.emergency__steps span { color: rgba(246,239,230,.66); font-size: 15px; }
.emergency__calls { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.emergency__call { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(246,239,230,.16); transition: background-color .3s; }
.emergency__call:hover { background: rgba(246,239,230,.06); }
.emergency__call small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(246,239,230,.55); }
.emergency__call b { font-size: 24px; font-weight: 700; font-stretch: 112%; letter-spacing: -0.02em; }
.emergency__call--main { background: var(--alert); color: #1d1206; border-color: var(--alert); }
.emergency__call--main small { color: rgba(29,18,6,.7); }
.emergency__call--main:hover { background: #ff9d45; }
.emergency__after { margin-top: 18px; font-size: 14.5px; color: rgba(246,239,230,.7); }
.emergency__after a { color: #8be37f; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Páginas internas
   ========================================================================== */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 7vw, 110px)); padding-bottom: clamp(56px, 7vw, 100px); overflow: hidden; }
.page-hero--dark { background: var(--ink); color: var(--on-dark); }
.page-hero--dark::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(90% 80% at 80% 20%, #000 0%, transparent 70%); mask-image: radial-gradient(90% 80% at 80% 20%, #000 0%, transparent 70%); }
.page-hero > .wrap { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.page-hero--dark .crumbs { color: var(--on-dark-3); }
.crumbs a:hover { color: var(--green); }
.crumbs i { width: 18px; height: 1px; background: currentColor; display: inline-block; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 96px); align-items: end; margin-top: clamp(28px, 4vw, 56px); }
.page-hero__title { font-size: clamp(2.9rem, 7vw, 7.6rem); }
.page-hero__aside { display: grid; gap: 24px; }
.page-hero__aside .lead { max-width: 40ch; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.page-hero__media { margin-top: clamp(44px, 6vw, 88px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.page-hero__media figure { border-radius: var(--radius); overflow: hidden; background: var(--paper-3); position: relative; }
.page-hero--dark .page-hero__media figure { background: var(--ink-3); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media .m1 { grid-column: span 7; aspect-ratio: 16 / 11; }
.page-hero__media .m2 { grid-column: span 5; aspect-ratio: auto; }
.page-hero__media .p3 { grid-column: span 4; aspect-ratio: 4 / 5; }
.page-hero__media .p3:nth-child(2) { transform: translateY(clamp(16px, 3vw, 48px)); }
.page-hero__media figcaption, .fig-tag { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(13,19,16,.68); color: var(--on-dark); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.kpis li { padding: 26px clamp(14px, 2vw, 28px); display: grid; gap: 6px; }
.kpis li + li { border-left: 1px solid var(--line); }
.kpis b { font-size: clamp(1.25rem, 1.8vw, 1.7rem); font-weight: 680; font-stretch: 114%; letter-spacing: -0.03em; line-height: 1.05; }
.kpis span { color: var(--text-2); font-size: 14.5px; line-height: 1.45; }
.section--dark .kpis, .section--dark .kpis li + li, .page-hero--dark .kpis, .page-hero--dark .kpis li + li { border-color: var(--line-dark); }
.section--dark .kpis span, .page-hero--dark .kpis span { color: var(--on-dark-2); }

/* Tarjetas de capacidad */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; transition: transform .8s var(--ease-out), border-color .5s, box-shadow .8s var(--ease-out); }
.section--paper2 .card { background: var(--paper); }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 60px -30px rgba(13,19,16,.35); }
.card__ico { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--green-hi); display: grid; place-items: center; }
.card__ico svg { width: 32px; height: 32px; }
.card h3 { font-size: clamp(1.25rem, 1.6vw, 1.55rem); font-weight: 650; font-stretch: 110%; letter-spacing: -0.025em; line-height: 1.12; margin-top: 8px; }
.card p { color: var(--text-2); font-size: 15.5px; }
.card ul { display: grid; gap: 8px; margin-top: 4px; }
.card li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.card li .i { color: var(--green-deep); width: 18px; height: 18px; margin-top: 3px; }
.card .num { position: absolute; top: clamp(24px, 2.6vw, 36px); right: clamp(24px, 2.6vw, 36px); }
.section--dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.section--dark .card p { color: var(--on-dark-2); }
.section--dark .card li { color: var(--on-dark); }
.section--dark .card li .i { color: var(--green-hi); }
.section--dark .card__ico { background: var(--ink-3); }
.section--dark .card:hover { border-color: var(--line-dark-2); box-shadow: 0 24px 60px -30px rgba(0,0,0,.8); }

/* Síntomas */
.symptoms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.symptom { padding: 26px clamp(14px, 2vw, 28px) 30px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.symptom:not(:nth-child(3n + 1)) { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.symptom .num { padding-top: 6px; }
.symptom h3 { font-size: 1.15rem; font-weight: 650; font-stretch: 108%; letter-spacing: -0.015em; line-height: 1.2; }
.symptom p { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.section--dark .symptoms, .section--dark .symptom, .section--dark .symptom:not(:nth-child(3n + 1)) { border-color: var(--line-dark); }
.section--dark .symptom p { color: var(--on-dark-2); }

/* Split imagen + texto */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media .frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-3); }
.split__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split__media .frame--small { position: absolute; width: 42%; aspect-ratio: 3 / 4; right: -6%; bottom: -10%; border: 6px solid var(--paper); border-radius: calc(var(--radius) + 4px); box-shadow: 0 30px 60px -30px rgba(13,19,16,.5); }
.section--paper2 .split__media .frame--small { border-color: var(--paper-2); }
.section--dark .split__media .frame--small { border-color: var(--ink); }
.split__text .display-m { margin-top: 20px; }
.split__text .prose { margin-top: 22px; }
.split__text .btn, .split__text .link-arrow { margin-top: 28px; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro .display-m { margin-top: 20px; }
.faq__intro p:not(.eyebrow) { margin-top: 18px; color: var(--text-2); max-width: 36ch; }
.faq__intro .btn { margin-top: 26px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(1.05rem, 1.2vw, 1.25rem); font-weight: 600; font-stretch: 106%; letter-spacing: -0.015em; line-height: 1.3; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 12px no-repeat;
  transition: transform .6s var(--ease-out), background-color .4s; }
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--green); border-color: var(--green); }
.faq__a { padding: 0 56px 26px 0; color: var(--text-2); max-width: 64ch; }
.faq__a p + p { margin-top: .8em; }
.section--dark .faq__list, .section--dark .faq__item { border-color: var(--line-dark); }
.section--dark .faq__a, .section--dark .faq__intro p:not(.eyebrow) { color: var(--on-dark-2); }
.section--dark .faq__item summary::after { border-color: var(--line-dark-2); }

/* Galería servicio */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.gallery figure { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-3); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .g-a { grid-column: span 5; grid-row: span 2; }
.gallery .g-b { grid-column: span 4; aspect-ratio: 4 / 3; }
.gallery .g-c { grid-column: span 3; aspect-ratio: 3 / 4; }
.gallery .g-d { grid-column: span 3; aspect-ratio: 3 / 4; }
.gallery .g-e { grid-column: span 4; aspect-ratio: 4 / 3; }

/* Normativa / chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; }
.section--dark .chips li { border-color: var(--line-dark-2); color: var(--on-dark-2); }

/* Selector calentador */
.sizer { background: var(--ink); color: var(--on-dark); border-radius: calc(var(--radius) + 8px); padding: clamp(24px, 3.4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
.sizer__q { margin-top: 26px; display: grid; gap: 22px; }
.opt-group { display: grid; gap: 10px; }
.opt-group > span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label { display: inline-flex; align-items: center; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-dark-2); cursor: pointer; font-weight: 500; font-size: 15px; transition: background-color .4s var(--ease-out), color .4s, border-color .4s; }
.opt label:hover { border-color: rgba(238,238,232,.45); }
.opt input:checked + label { background: var(--green); color: var(--ink); border-color: var(--green); font-weight: 600; }
.opt input:focus-visible + label { outline: 2px solid var(--green-hi); outline-offset: 3px; }
.sizer__out { border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(238,238,232,.04); padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.sizer__out .sizer__big { font-size: clamp(3.4rem, 7vw, 6.4rem); line-height: .85; font-weight: 700; font-stretch: 125%; letter-spacing: -0.05em; }
.sizer__out .sizer__big small { font-size: .3em; letter-spacing: -0.01em; font-weight: 500; color: var(--on-dark-2); font-stretch: 100%; margin-left: 6px; }
.sizer__out .sizer__type { color: var(--on-dark); font-weight: 600; font-size: 1.15rem; font-stretch: 108%; }
.sizer__out p { color: var(--on-dark-2); font-size: 15px; }
.sizer__out .btn { align-self: flex-start; margin-top: auto; }
.sizer__out .sizer__note { font-size: 13px; color: var(--on-dark-3); }

/* Pasos verticales emergencia (página fugas) */
.sos { background: #14100b; color: #f6efe6; border-radius: calc(var(--radius) + 8px); padding: clamp(26px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(26px, 4vw, 72px); position: relative; overflow: hidden; }
.sos::before { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(255,138,31,.3), transparent 65%); }
.sos > * { position: relative; }
.sos .eyebrow { color: #ffb26b; }
.sos h2 { margin-top: 18px; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: .98; font-weight: 700; font-stretch: 116%; letter-spacing: -0.04em; }
.sos__calls { display: grid; gap: 10px; margin-top: 28px; }
.sos .emergency__steps { margin-top: 0; }

/* Trabajos: filtros + masonry */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 3vw, 44px); }
.filter { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: background-color .4s var(--ease-out), color .4s, border-color .4s; }
.filter:hover { border-color: var(--text); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.filter sup { font-family: var(--f-mono); font-size: 10px; opacity: .6; top: 0; }
.masonry { columns: 4 260px; column-gap: clamp(10px, 1.2vw, 18px); }
.tile { break-inside: avoid; margin-bottom: clamp(10px, 1.2vw, 18px); position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-3); display: block; width: 100%; text-align: left; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.tile img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out); }
.tile:hover img { transform: scale(1.04); }
.tile__cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(13,19,16,.85)); color: var(--on-dark); font-size: 14.5px; font-weight: 600; display: flex; justify-content: space-between; align-items: end; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.tile__cap span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 400; }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile.is-hidden { display: none; }
.tile--video video { width: 100%; height: auto; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,11,9,.94); color: var(--on-dark); }
.lightbox::backdrop { background: rgba(8,11,9,.94); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fadeIn .4s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); }
.lightbox__count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--on-dark-3); }
.lightbox__stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage img { max-height: calc(100dvh - 170px); width: auto; max-width: 100%; border-radius: 12px; object-fit: contain; }
.lightbox__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px var(--gutter) 22px; }
.lightbox__cap { font-weight: 600; }
.lb-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-dark-2); display: grid; place-items: center; transition: background-color .3s; }
.lb-btn:hover { background: rgba(238,238,232,.08); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev svg { transform: rotate(180deg); }
.lb-nav { display: flex; gap: 8px; }

/* Contacto: asistente */
.wizard { background: var(--ink); color: var(--on-dark); border-radius: calc(var(--radius) + 8px); padding: clamp(24px, 3.6vw, 52px); position: relative; overflow: hidden; }
.wizard__steps { display: flex; gap: 6px; margin-bottom: 30px; }
.wizard__steps i { flex: 1; height: 3px; border-radius: 3px; background: var(--line-dark-2); position: relative; overflow: hidden; }
.wizard__steps i::after { content: ""; position: absolute; inset: 0; background: var(--green-hi); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.wizard__steps i.is-done::after { transform: scaleX(1); }
.wizard__panel[hidden] { display: none; }
.wizard__panel { animation: panelIn .7s var(--ease-out); }
.wizard__q { font-size: clamp(1.6rem, 2.8vw, 2.6rem); line-height: 1; font-weight: 680; font-stretch: 114%; letter-spacing: -0.035em; }
.wizard__q small { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); font-weight: 500; margin-bottom: 14px; font-stretch: 100%; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 18px; border-radius: 16px; border: 1px solid var(--line-dark-2); cursor: pointer; transition: border-color .4s var(--ease-out), background-color .4s; }
.choice label svg { width: 34px; height: 34px; color: var(--green-hi); }
.choice label b { font-weight: 600; font-size: 15.5px; line-height: 1.25; }
.choice label:hover { border-color: rgba(238,238,232,.45); background: rgba(238,238,232,.03); }
.choice input:checked + label { border-color: var(--green-hi); background: rgba(95,208,82,.1); box-shadow: inset 0 0 0 1px var(--green-hi); }
.choice input:focus-visible + label { outline: 2px solid var(--green-hi); outline-offset: 3px; }
.wizard__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.wizard__fields .field--full { grid-column: 1 / -1; }
.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; }
.wizard__back { color: var(--on-dark-2); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.wizard__back .i { transform: rotate(180deg); }
.wizard__back[disabled] { visibility: hidden; }
.preview { margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: #0b2a17; border: 1px solid rgba(95,208,82,.25); font-size: 15px; line-height: 1.55; color: #d8f5d3; white-space: pre-line; position: relative; }
.preview::before { content: "Vista previa del mensaje"; display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(216,245,211,.55); margin-bottom: 10px; }

.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); transition: border-color .4s, transform .7s var(--ease-out); }
.contact-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.contact-card__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--green-hi); flex: none; }
.contact-card__ico svg { width: 26px; height: 26px; }
.contact-card small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.contact-card b { display: block; font-size: 1.25rem; font-weight: 650; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.2; margin-top: 3px; }
.contact-card .i--arrow { margin-left: auto; width: 22px; height: 22px; color: var(--text-3); transition: transform .6s var(--ease-out), color .4s; }
.contact-card:hover .i--arrow { transform: translateX(4px); color: var(--green-deep); }

/* Valores (nosotros) */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.value { padding: clamp(26px, 3vw, 44px) clamp(18px, 3vw, 44px) clamp(26px, 3vw, 44px) 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: auto 1fr; gap: 20px; }
.value:nth-child(even) { padding-left: clamp(18px, 3vw, 44px); border-left: 1px solid var(--line-dark); }
.value h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 650; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1.05; }
.value p { margin-top: 10px; color: var(--on-dark-2); }
.value .num { padding-top: 8px; color: var(--green-hi); }

.quote { font-size: clamp(1.8rem, 3.6vw, 3.6rem); line-height: 1.06; font-weight: 600; font-stretch: 112%; letter-spacing: -0.035em; max-width: 22ch; text-wrap: balance; }
.quote em { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-stretch: 100%; color: var(--green-deep); letter-spacing: -0.01em; }

/* Repuestos: catálogo */
.catalog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.cat { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; display: flex; flex-direction: column; gap: 10px; min-height: 190px; background: var(--paper); transition: border-color .4s, transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.cat:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 20px 50px -30px rgba(13,19,16,.35); }
.cat .num { margin-bottom: auto; }
.cat h3 { font-size: 1.12rem; font-weight: 650; font-stretch: 108%; letter-spacing: -0.015em; line-height: 1.2; }
.cat p { font-size: 14.5px; color: var(--text-2); }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--ink); color: var(--on-dark); padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.nw { white-space: nowrap; }
.notfound p { margin: 22px auto 0; color: var(--on-dark-2); max-width: 40ch; }
.notfound .notfound__big { margin: 0; max-width: none; font-size: clamp(7rem, 26vw, 22rem); line-height: .8; font-weight: 750; font-stretch: 125%; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--green-hi); background: radial-gradient(60% 70% at 50% 70%, rgba(59,123,255,.22), transparent 70%); -webkit-background-clip: text; background-clip: text; }
.notfound .btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

@media (max-width: 1024px) { [data-contact-grid] { grid-template-columns: 1fr !important; } }

/* Utilidades */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: clamp(40px, 5vw, 72px); }
.center { text-align: center; }
.row-between { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.note { font-size: 13.5px; color: var(--text-3); }
.section--dark .note { color: var(--on-dark-3); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; width: min(72vw, 380px); }
  .hero__coords { display: none; }
  .knob-wrap { margin-top: 22px; }
  .route__track { height: auto; }
  .route__sticky { position: relative; height: auto; padding-block: var(--section-y); }
  .route__head { position: static; margin-bottom: 36px; }
  .route__head .wrap { width: 100%; }
  .route__progress { display: none; }
  .route__grid { grid-template-columns: 1fr; }
  .route__diagram { display: none; }
  .route__steps { min-height: 0; display: grid; gap: 0; border-left: 2px solid var(--line-dark-2); margin-left: 8px; }
  .route__step { position: relative; opacity: 1; transform: none; pointer-events: auto; padding: 0 0 40px 28px; }
  .route__step::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--flame-hi); box-shadow: 0 0 14px rgba(143,211,255,.5); }
  .route__step h3 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .bento .svc-card--a, .bento .svc-card--b { grid-column: span 12; min-height: 460px; }
  .bento .svc-card--c, .bento .svc-card--d, .bento .svc-card--e { grid-column: span 6; }
  .bento .svc-card--e { grid-column: span 12; }
  .audience, .split, .faq, .calc, .sizer, .store, .sos { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .faq__intro { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards, .cards--4 { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .symptoms { grid-template-columns: 1fr 1fr; }
  .symptom:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .symptom:nth-child(even) { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
  .section--dark .symptom:nth-child(even) { border-color: var(--line-dark); }
  .page-hero__grid { grid-template-columns: 1fr; align-items: start; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis li:nth-child(3) { border-left: 0; }
  .kpis li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .page-hero--dark .kpis li:nth-child(n+3), .section--dark .kpis li:nth-child(n+3) { border-top-color: var(--line-dark); }
  .sec-head__title, .sec-head__aside { grid-column: 1 / -1; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .gallery .g-a { grid-column: span 12; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery .g-b, .gallery .g-e { grid-column: span 6; }
  .gallery .g-c, .gallery .g-d { grid-column: span 6; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .logo-svg { height: 34px; }
  .pill-alert__txt { display: none; }
  .pill-alert { width: 42px; padding: 0; justify-content: center; }
  .header-cta span { display: none; }
  .header-cta { width: 42px; padding: 0; }
  .hero { padding-top: calc(var(--header-h) + 8px); }
  .hero__visual { width: min(64vw, 300px); }
  .hero__title { margin-top: 18px; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts li { padding: 16px 12px 18px 0; }
  .hero__facts li + li { padding-left: 12px; }
  .hero__facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__facts li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .hero__ctas .btn { flex: 1 1 auto; }
  .bento .svc-card--c, .bento .svc-card--d { grid-column: span 12; }
  .svc-card, .svc-card--a, .svc-card--b { min-height: 420px; }
  .steps, .cards, .cards--2, .cards--4, .symptoms, .values { grid-template-columns: 1fr; }
  .step + .step, .step:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .section--dark .step + .step { border-top-color: var(--line-dark); }
  .symptom:nth-child(even) { padding-left: 0; border-left: 0; }
  .value:nth-child(even) { padding-left: 0; border-left: 0; }
  .calc__fields, .wizard__fields { grid-template-columns: 1fr; }
  .alert-band__inner { grid-template-columns: 1fr; }
  .alert-band__ico { width: 52px; height: 52px; }
  .emergency__calls { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .site-footer__top > :first-child, .site-footer__top > :last-child { grid-column: 1 / -1; }
  .page-hero__media .m1, .page-hero__media .m2 { grid-column: span 12; }
  .page-hero__media .p3 { grid-column: span 6; }
  .page-hero__media .p3:nth-child(3) { display: none; }
  .page-hero__media .m2 { aspect-ratio: 4 / 3; }
  .split__media .frame--small { width: 40%; right: 4%; bottom: -8%; }
  .catalog { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2 140px; }
  .wa-float__btn { width: 56px; height: 56px; }
  .seg__btn { padding: 0 16px; }
  .seg__btn svg { display: none; }
  .gallery .g-b, .gallery .g-c, .gallery .g-d, .gallery .g-e { grid-column: span 12; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .house-line path { stroke-dashoffset: 0; }
  .house-line rect { transform: none; }
  .marquee__track { animation: none; }
}
