/* =========================================================
   GLOBACONS — Acabados para la construcción
   Línea gráfica: Brutalismo de obra (A) + Sistema de rombos (B)
   ========================================================= */

:root {
  --bg: #e9e6e0;          /* cemento claro */
  --bg-2: #dedad2;        /* cemento medio */
  --paper: #f6f4f0;       /* estuco blanco */
  --ink: #11151d;
  --ink-2: #2b3140;
  --mute: #5c616b;
  --blue: #3b67ae;        /* azul logo */
  --blue-d: #1d3b73;
  --orange: #f39100;      /* naranja logo */
  --orange-d: #8f5200;    /* naranja para texto sobre claro */
  --line: rgba(17, 21, 29, .16);
  --line-2: rgba(17, 21, 29, .08);
  --line-inv: rgba(255, 255, 255, .16);

  --display: "Archivo", "Arial Narrow", Impact, system-ui, sans-serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1320px;
  --pad: clamp(18px, 4vw, 48px);
  --r: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hdr-h: 112px;

  --rombos: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16' viewBox='0 0 32 16'%3E%3Cpath fill='%233b67ae' d='M0 8 8 0l8 8-8 8z'/%3E%3Cpath fill='%23f39100' d='M16 8l8-8 8 8-8 8z'/%3E%3C/svg%3E");
  --rombos-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16' viewBox='0 0 32 16'%3E%3Cpath fill='%2311151d' d='M0 8 8 0l8 8-8 8z'/%3E%3Cpath fill='%23f39100' d='M16 8l8-8 8 8-8 8z'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* grano de cemento sobre toda la página */
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: var(--grain);
  opacity: .09;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 100;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 200; }
.skip:focus { top: 12px; }

/* ---------- tipografía display ---------- */
.h-display, .h-sec {
  font-family: var(--display);
  font-stretch: 72%; font-variation-settings: "wdth" 72;
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: -.012em;
  line-height: .9;
  margin: 0;
}
.h-sec { font-size: clamp(40px, 6.4vw, 92px); }
.h-sec em, .h-display em { font-style: normal; color: var(--orange); }
.lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); max-width: 54ch; }

/* ---------- franja de rombos ---------- */
.rombos { height: 16px; background: var(--rombos) repeat-x 0 0 / 32px 16px; }
.rombos--ink { background-image: var(--rombos-ink); }
.rombos--move { animation: rombosMove 6s linear infinite; }
@keyframes rombosMove { to { background-position: 32px 0; } }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 0 24px;
  border: 0; border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s, box-shadow .35s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa { background: var(--orange); color: var(--ink); box-shadow: 0 0 0 0 rgba(243, 145, 0, 0); }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(243, 145, 0, .9); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue-d); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; gap: 8px; }
.btn--sm svg { width: 17px; height: 17px; }
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; text-decoration: none;
}
.arrow-link .dot {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  transition: transform .4s var(--ease), background-color .25s;
}
.arrow-link:hover .dot { transform: rotate(-45deg); background: var(--blue); }
.arrow-link .dot svg { width: 16px; height: 16px; }

/* =========================================================
   HEADER
   ========================================================= */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(233, 230, 224, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 12px 30px -24px rgba(17, 21, 29, .45); }
.util { background: var(--ink); color: #d7d9de; }
.util-in { display: flex; align-items: center; gap: 22px; height: 38px; font-size: 13.5px; }
.util a { text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.util-in > * { white-space: nowrap; }
@media (max-width: 1240px) { .util .u-mail { display: none; } }
.util a:hover { color: var(--orange); }
.util svg { width: 15px; height: 15px; }
.util .sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .2); }
.util .push { margin-left: auto; }
.util .mono { font-size: 11.5px; color: #9aa0ab; }

.bar { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo svg { width: 38px; height: 48px; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word b {
  font-family: var(--display); font-stretch: 100%; font-variation-settings: "wdth" 100; font-weight: 820;
  font-size: 25px; letter-spacing: .01em; color: var(--blue-d);
}
.logo-word small {
  margin-top: 5px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mute);
  border-top: 2px solid var(--orange); padding-top: 4px;
}
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 12px; text-decoration: none;
  font-weight: 600; font-size: 15.5px; color: var(--ink-2);
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.menu-btn {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--ink); color: #fff; cursor: pointer; place-items: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
  transition: transform .35s var(--ease), background-color .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.hdr[data-open] .menu-btn span { background: transparent; }
.hdr[data-open] .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.hdr[data-open] .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; }
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 4vw, 64px);
  min-height: calc(100svh - var(--hdr-h));
  min-height: max(640px, calc(100svh - var(--hdr-h)));
}
.hero-copy { align-self: center; padding-block: clamp(40px, 7vh, 90px); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--mute); margin: 0 0 26px; }
.eyebrow::before { content: ""; width: 14px; height: 14px; background: var(--orange); transform: rotate(45deg); flex: none; }
.hero h1 { font-size: clamp(52px, 6.4vw, 100px); }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hero h1 .ln > span { display: block; }
.hero .lead { margin: 30px 0 34px; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0;
  margin: 46px 0 0; padding: 0; border-top: 1px solid var(--line);
}
.hero-facts div { padding: 16px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; }
.hero-facts dt { color: var(--mute); }
.hero-facts dd { margin: 4px 0 0; font-family: var(--display); font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 800; font-size: 30px; letter-spacing: 0; text-transform: uppercase; color: var(--ink); }

/* mosaico */
.mosaic {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  height: 100%; min-height: 560px;
  margin-right: calc(var(--pad) * -1);
  padding-right: var(--pad);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.mcol { position: relative; overflow: hidden; }
.mtrack { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; animation: mUp 56s linear infinite; will-change: transform; }
.mcol:nth-child(2) .mtrack { animation-name: mDown; animation-duration: 64s; }
.mcol:nth-child(3) .mtrack { animation-duration: 60s; }
.mcol:nth-child(2) { margin-top: -70px; }
@keyframes mUp { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -50%, 0); } }
@keyframes mDown { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(0, 0, 0); } }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r);
  aspect-ratio: 4 / 5; background: var(--bg-2); flex: none;
}
.tile.sq { aspect-ratio: 1; }
.tile.tall { aspect-ratio: 3 / 4.4; }
.tile > img.ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.bw > img.ph { filter: grayscale(1) contrast(1.08); }
.tile.duo > img.ph { filter: grayscale(1) contrast(1.05); mix-blend-mode: multiply; }
.tile.duo { background: var(--blue); }
.tile.bag { display: grid; place-items: center; }
.tile.bag img { width: 74%; height: 84%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .28)); }
.tile.t-blue { background: var(--blue); }
.tile.t-orange { background: var(--orange); }
.tile.t-ink { background: var(--ink); color: #fff; }
.tile.t-paper { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.tile.t-cement { background: #cfcac0; }
.tile.t-rombos { background: var(--rombos) 0 0 / 40px 20px, var(--paper); }
.tile.t-rombos.alt { background: var(--rombos-ink) 0 0 / 40px 20px, var(--orange); }
.tile::after {
  content: ""; position: absolute; inset: 0; background-image: var(--grain);
  opacity: .16; mix-blend-mode: multiply; pointer-events: none;
}
.tile.t-ink::after { mix-blend-mode: screen; opacity: .06; }
.tile .stat { position: absolute; inset: auto 14px 14px 14px; }
.tile .stat b { display: block; font-family: var(--display); font-stretch: 72%; font-variation-settings: "wdth" 72; font-weight: 860; font-size: clamp(30px, 3vw, 46px); line-height: .9; text-transform: uppercase; }
.tile .stat span { display: block; margin-top: 8px; }
.tile .tag { position: absolute; top: 12px; left: 12px; }
.tile .mark { position: absolute; inset: 0; margin: auto; width: 46%; height: auto; }

/* ticker */
.ticker { background: var(--orange); color: var(--ink); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 42s linear infinite; }
.ticker-track p {
  margin: 0; padding: 16px 0; white-space: nowrap;
  font-family: var(--display); font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 820; font-size: clamp(20px, 2vw, 28px);
  text-transform: uppercase; letter-spacing: .01em;
}
.ticker-track i { display: inline-block; width: 12px; height: 12px; margin: 0 26px; background: var(--ink); transform: rotate(45deg) translateY(-2px); }
@keyframes tick { to { transform: translateX(-50%); } }

/* =========================================================
   SECCIONES — estructura común
   ========================================================= */
.sec { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); color: var(--mute); }
.sec-head .rule { flex: 1; height: 1px; background: currentColor; opacity: .35; }
.sec-head .gem { width: 10px; height: 10px; background: var(--orange); transform: rotate(45deg); }
.sec-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-intro p { margin: 0; color: var(--ink-2); }

.dark { background: var(--ink); color: #eef0f3; }
.dark .sec-head { color: #9aa0ab; }
.dark .lead, .dark .sec-intro p { color: #c3c7cf; }
.dark::after {
  content: ""; position: absolute; inset: 0; background-image: var(--grain);
  opacity: .05; mix-blend-mode: screen; pointer-events: none;
}
.paper { background: var(--paper); }

/* ---------- dolor ---------- */
.pains { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-inv); counter-reset: p; }
.pain {
  display: grid; grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px; align-items: center; padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line-inv);
}
.pain .n { color: #7c838f; }
.pain h3 {
  position: relative; display: inline; margin: 0;
  font-family: var(--display); font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 820; text-transform: uppercase;
  font-size: clamp(28px, 3.6vw, 52px); line-height: .98; letter-spacing: -.005em; color: #fff;
}
.pain h3 .strike {
  display: inline;
  background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 54% / 0% .11em;
  transition: background-size 1.1s var(--ease) .2s;
}
.pain.in h3 .strike { background-size: 100% .11em; }
.pain.in h3 { color: #8d939e; transition: color .8s .5s; }
.pain .fix { display: flex; gap: 16px; align-items: flex-start; opacity: 0; transform: translateX(18px); transition: opacity .8s .7s, transform .9s var(--ease) .7s; }
.pain.in .fix { opacity: 1; transform: none; }
.pain .fix .gem { width: 12px; height: 12px; margin-top: 8px; background: var(--orange); transform: rotate(45deg); flex: none; }
.pain .fix p { margin: 0; color: #dfe2e7; font-size: 17.5px; }
.pain .fix b { color: #fff; }

/* ---------- productos ---------- */
.tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--bg-2); margin-bottom: 34px; flex-wrap: wrap; }
.tab {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  padding: 12px 20px; font-weight: 700; font-size: 15px; color: var(--ink-2);
  transition: background-color .25s, color .25s;
}
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab .count { font-family: var(--mono); font-size: 11.5px; margin-left: 6px; opacity: .7; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.pgrid[hidden] { display: none; }
.pcard {
  display: flex; flex-direction: column; background: var(--paper);
  border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line-2);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 26px 40px -30px rgba(17, 21, 29, .6); }
.pvis { position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden; }
.pvis::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .16; mix-blend-mode: multiply; pointer-events: none; }
.pvis.t-blue { background: var(--blue); } .pvis.t-orange { background: var(--orange); }
.pvis.t-ink { background: var(--ink); } .pvis.t-paper { background: #ebe7df; } .pvis.t-cement { background: #cfcac0; }
.pvis img { width: auto; height: 74%; max-width: 70%; margin-bottom: 36px; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .3)); transition: transform .7s var(--ease); }
.pcard:hover .pvis img { transform: translateY(-6px) rotate(-3deg) scale(1.03); }
.pvis .code { position: absolute; top: 14px; left: 14px; padding: 5px 9px; border-radius: 3px; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 11px; }
.pvis .hl {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1;
  padding: 8px 12px; border-radius: 3px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600;
  display: flex; gap: 10px; align-items: center;
}
.pvis .hl::before { content: ""; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); flex: none; }
.pbody { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 22px; flex: 1; }
.pbody h3 { margin: 0; font-family: var(--display); font-stretch: 78%; font-variation-settings: "wdth" 78; font-weight: 820; font-size: 28px; line-height: 1; text-transform: uppercase; }
.pbody > p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.specs { margin: 0; display: grid; border-top: 1px dashed var(--line); }
.specs div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.specs dt { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding-top: 2px; }
.specs dd { margin: 0; font-weight: 600; }
.pacts { display: flex; gap: 10px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.also { margin-top: 26px; color: var(--mute); }

/* ---------- calculadora ---------- */
.calc { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.calc-copy .h-sec { font-size: clamp(40px, 5.4vw, 80px); }
.calc-copy p { color: var(--ink-2); }
.calc-card { background: var(--ink); color: #fff; border-radius: var(--r); padding: clamp(22px, 3vw, 38px); position: relative; overflow: hidden; }
.calc-card .rombos { position: absolute; left: 0; right: 0; top: 0; }
.field { margin-top: 24px; }
.field > label, .field > .lbl { display: block; margin-bottom: 10px; color: #9aa0ab; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; cursor: pointer;
  padding: 10px 15px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.seg button:hover { border-color: #fff; }
.seg button[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.select {
  width: 100%; appearance: none; -webkit-appearance: none;
  background: #1c2230 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); padding: 14px 44px 14px 16px; color: #fff;
}
.area { display: grid; grid-template-columns: 1fr 130px; gap: 16px; align-items: center; }
.area input[type="number"] {
  width: 100%; background: #1c2230; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r);
  padding: 12px 14px; color: #fff; font-family: var(--mono); font-size: 18px; text-align: right;
}
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--orange) var(--fill, 20%), rgba(255, 255, 255, .2) var(--fill, 20%)); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 4px; background: rgba(255, 255, 255, .2); border-radius: 2px; }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--orange); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; background: #fff; border: 0; transform: rotate(45deg); border-radius: 3px; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; background: #fff; border: 0; transform: rotate(45deg); border-radius: 3px; }
.result { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; gap: 6px; }
.result .big { font-family: var(--display); font-stretch: 72%; font-variation-settings: "wdth" 72; font-weight: 860; font-size: clamp(56px, 7vw, 96px); line-height: .88; text-transform: uppercase; color: var(--orange); }
.result .unit { font-size: 20px; font-weight: 700; }
.result .detail { color: #9aa0ab; margin-top: 6px; }
.result .note { color: #8a909b; font-size: 13.5px; margin: 8px 0 0; }
.calc-card .btn { margin-top: 22px; }
.tip { display: flex; gap: 14px; align-items: center; margin-top: 24px; padding: 12px 14px 12px 12px; background: #1c2230; border-radius: var(--r); }
.tip img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; background: #fff; flex: none; }
.tip p { margin: 0; font-size: 14.5px; color: #dfe2e7; }
.tip p span { display: block; color: #9aa0ab; margin-bottom: 2px; }

/* ---------- sistema (capas) ---------- */
.system { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.stack { position: relative; height: clamp(380px, 46vw, 600px); perspective: 1600px; --p: 0; }
.stack-in { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(57deg) rotateZ(-40deg); }
.slab {
  position: absolute; width: clamp(220px, 26vw, 340px); aspect-ratio: 1;
  left: 0; top: 0; translate: -50% -50%;
  transform: translateZ(calc((var(--i) - 1.5) * (14px + var(--p) * 78px)));
  border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), -24px 28px 40px -20px rgba(17, 21, 29, .35);
  transition: filter .4s;
}
.slab::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .35; mix-blend-mode: multiply; border-radius: inherit; }
.slab.s0 { --i: 0; background: repeating-linear-gradient(0deg, #b4573a 0 22px, #d9d3c6 22px 25px), #b4573a; }
.slab.s0::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 46px, #d9d3c6 46px 49px); -webkit-mask: repeating-linear-gradient(0deg, #000 0 25px, transparent 25px 50px); mask: repeating-linear-gradient(0deg, #000 0 25px, transparent 25px 50px); }
.slab.s1 { --i: 1; background: #9b9a95; }
.slab.s2 { --i: 2; background: #f3f1ec; }
.slab.s3 { --i: 3; background: linear-gradient(135deg, #d9e6f6, #b8cfee); }
.stack.is-focus .slab { filter: saturate(.4) brightness(.92); }
.stack.is-focus .slab.on { filter: none; }
.layers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.layer { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); cursor: default; transition: background-color .3s; }
.layer .sw { width: 42px; height: 42px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--line); }
.layer h3 { margin: 0 0 4px; font-family: var(--display); font-stretch: 78%; font-variation-settings: "wdth" 78; font-weight: 820; font-size: 26px; text-transform: uppercase; line-height: 1; }
.layer p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.layer .mono { color: var(--orange-d); display: block; margin-bottom: 6px; }
.layer:hover, .layer.on { background: linear-gradient(90deg, rgba(243, 145, 0, .12), transparent 70%); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 7vw, 96px); border-top: 2px solid var(--ink); }
.step { padding: 22px 22px 0 0; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
.step b { display: block; font-family: var(--display); font-stretch: 72%; font-variation-settings: "wdth" 72; font-weight: 860; font-size: 54px; line-height: 1; color: var(--blue); }
.step h4 { margin: 10px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- obra documentada (scroll story) ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); }
.stage { position: sticky; top: calc(var(--hdr-h) + 20px); height: calc(100svh - var(--hdr-h) - 40px); max-height: 760px; border-radius: var(--r); overflow: hidden; background: #000; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 2.2s var(--ease); }
.stage img.on { opacity: 1; transform: scale(1); }
.stage .cap { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; z-index: 2; pointer-events: none; }
.stage .cap span { background: rgba(17, 21, 29, .82); color: #fff; padding: 8px 12px; border-radius: 3px; }
.stage .prog { position: absolute; left: 0; top: 0; height: 16px; width: calc(var(--sp, 0) * 100%); background: var(--rombos) repeat-x 0 0 / 32px 16px; z-index: 2; transition: width .6s var(--ease); }
.ssteps { list-style: none; margin: 0; padding: 0; }
.sstep { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; opacity: .3; transition: opacity .6s; }
.sstep.on { opacity: 1; }
.sstep .mono { color: var(--orange-d); }
.sstep h3 { margin: 10px 0 12px; font-family: var(--display); font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 840; font-size: clamp(34px, 3.6vw, 52px); line-height: .95; text-transform: uppercase; }
.sstep p { margin: 0; color: var(--ink-2); }
.sstep .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; padding: 6px 11px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; }
.sstep img.inline { display: none; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 6vw, 80px); }
.gallery figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(17, 21, 29, .82); color: #fff; padding: 5px 9px; border-radius: 3px; }

/* ---------- caso de éxito: hospital ---------- */
.case-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.case-kicker { color: var(--orange); margin: 0 0 18px; }
.case .lead { margin: 26px 0 0; }
.case-meta { margin: 0; border-top: 2px solid var(--orange); }
.case-meta div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-inv); }
.case-meta dt { color: #9aa0ab; font-size: 11.5px; padding-top: 3px; }
.case-meta dd { margin: 0; font-weight: 700; color: #fff; }
.case a.prow-link { color: inherit; }

.scrub { position: relative; z-index: 1; }
.scrub-stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; }
.scrub-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease), transform 2s var(--ease); }
.scrub-stage img.on { opacity: 1; transform: none; }
.scrub-stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, rgba(10, 13, 19, .85), transparent); pointer-events: none; }
.scrub-cap { position: absolute; left: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 28px); z-index: 2; display: flex; gap: 18px; align-items: baseline; }
.scrub-cap .mono { color: var(--orange); flex: none; }
.scrub-cap p { margin: 0; color: #fff; font-size: clamp(16px, 1.6vw, 21px); font-weight: 600; max-width: 60ch; }
.scrub-ctrl { margin-top: 22px; }
.scrub-ctrl input[type="range"] { display: block; }
.scrub-ctrl input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--orange) var(--fill, 0%), rgba(255, 255, 255, .2) var(--fill, 0%)); }
.scrub-ticks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.scrub-ticks li { text-align: center; }
.scrub-ticks li:first-child { text-align: left; }
.scrub-ticks li:last-child { text-align: right; }
.scrub-ticks button {
  border: 0; background: none; color: #8a909b; cursor: pointer; padding: 6px 2px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  transition: color .25s;
}
.scrub-ticks button:hover { color: #fff; }
.scrub-ticks button[aria-pressed="true"] { color: var(--orange); }

.case-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(48px, 6vw, 80px); }
.case-grid figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; background: #1c2230; }
.case-grid figure.cg-video { grid-row: span 2; aspect-ratio: auto; }
.case-grid img, .case-grid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case-grid figure:hover img { transform: scale(1.05); }
.case-grid figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: calc(100% - 20px); background: rgba(17, 21, 29, .85); color: #fff; padding: 6px 10px; border-radius: 3px; }
.cg-video figcaption { background: var(--orange); color: var(--ink); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #d42c1f; box-shadow: 0 0 0 0 rgba(212, 44, 31, .6); animation: live 1.8s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(212, 44, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 44, 31, 0); } }

.case-cta { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line-inv); }
.case-cta p { margin: 0; color: #dfe2e7; font-size: 18px; max-width: 56ch; }

/* ---------- obras + antes/después ---------- */
.works { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ba { position: relative; aspect-ratio: 1200 / 932; border-radius: var(--r); overflow: hidden; --x: 50%; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); } /* recorta las esquinas redondeadas del catálogo */
.ba .after { clip-path: inset(0 0 0 var(--x)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: var(--orange); pointer-events: none; }
.ba .handle::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; translate: -50% -50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12'%3E%3Cpath d='M6 1 1 6l5 5M16 1l5 5-5 5' stroke='%2311151d' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat center;
  border-radius: 4px; rotate: 45deg; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .6);
}
.ba .handle::after { background-size: 22px 12px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .lab { position: absolute; top: 14px; padding: 6px 10px; border-radius: 3px; background: rgba(17, 21, 29, .85); color: #fff; pointer-events: none; }
.ba .lab.l { left: 14px; } .ba .lab.r { right: 14px; background: var(--orange); color: var(--ink); }
.ba-cap { margin-top: 14px; color: var(--mute); }
.ptable { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.prow {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1.3fr) minmax(0, 1fr) 28px;
  gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .45s var(--ease), background-color .3s;
}
.prow .n { color: var(--mute); }
.prow h3 { margin: 0; font-size: 19px; line-height: 1.2; }
.prow h3 a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prow .who { color: var(--ink-2); font-size: 15px; }
.prow .ic { width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); justify-self: end; opacity: .25; transition: opacity .3s, background-color .3s; }
.prow[data-img] .ic { opacity: .9; background: var(--orange); }
.prow:hover { padding-left: 12px; background: linear-gradient(90deg, rgba(243, 145, 0, .14), transparent 80%); }
.prow .thumb { display: none; }
.peek {
  position: fixed; left: 0; top: 0; z-index: 60; width: 280px; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden;
  pointer-events: none; opacity: 0; scale: .9; transition: opacity .25s, scale .35s var(--ease);
  box-shadow: 0 30px 50px -24px rgba(17, 21, 29, .7);
}
.peek.on { opacity: 1; scale: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }

/* ---------- calidad / confianza ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tcard { position: relative; min-height: 330px; padding: 26px; border-radius: var(--r); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow: hidden; }
.tcard::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .14; mix-blend-mode: multiply; pointer-events: none; }
.tcard:nth-child(1) { background: var(--blue); color: #fff; }
.tcard:nth-child(2) { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.tcard:nth-child(3) { background: var(--orange); }
.tcard:nth-child(4) { background: #1c2230; color: #fff; }
.tcard:nth-child(1)::after, .tcard:nth-child(4)::after { mix-blend-mode: screen; opacity: .06; }
.tcard .big { font-family: var(--display); font-stretch: 72%; font-variation-settings: "wdth" 72; font-weight: 860; font-size: clamp(44px, 4.6vw, 70px); line-height: .88; text-transform: uppercase; }
.tcard h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.2; }
.tcard p { margin: 0; font-size: 15px; opacity: .88; }
.tcard .gem { width: 18px; height: 18px; background: currentColor; transform: rotate(45deg); opacity: .9; }

/* ---------- historia ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 64px; height: 16px; background: var(--rombos) repeat-x 0 0 / 32px 16px; opacity: .9; }
.tl { position: relative; padding-right: 18px; }
.tl .yr { display: block; font-family: var(--display); font-stretch: 72%; font-variation-settings: "wdth" 72; font-weight: 860; font-size: clamp(36px, 3.4vw, 50px); line-height: 1; margin-bottom: 64px; color: var(--blue-d); }
.tl::before { content: ""; position: absolute; left: 0; top: 84px; width: 2px; height: 18px; background: var(--ink); }
.tl h3 { margin: 30px 0 6px; font-size: 18px; line-height: 1.25; }
.tl p { margin: 0; color: var(--ink-2); font-size: 15px; }
.about-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: clamp(56px, 7vw, 96px); padding-top: 34px; border-top: 1px solid var(--line); align-items: start; }
.values { display: flex; flex-wrap: wrap; gap: 10px; }
.values span { padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 700; }
.quote { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.quote img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 8%; background: #fff; box-shadow: 0 0 0 2px var(--orange); flex: none; }
.quote p { margin: 0; font-size: 17px; font-style: italic; color: var(--ink-2); }
.quote cite { display: block; margin-top: 8px; font-style: normal; }

/* ---------- cobertura ---------- */
.cover { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.map { position: relative; border-radius: var(--r); overflow: hidden; background: #161b25; }
.map svg { display: block; width: 100%; height: auto; }
.map .city text { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; fill: #dfe2e7; text-transform: uppercase; }
.map .route { stroke: rgba(243, 145, 0, .7); stroke-width: 1.5; stroke-dasharray: 5 6; fill: none; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.map .pulse { transform-box: view-box; transform-origin: 0 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { opacity: .7; scale: .6; } 100% { opacity: 0; scale: 2.4; } }
.cities { list-style: none; margin: 26px 0 0; padding: 0; columns: 2; column-gap: 24px; }
.cities li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-weight: 600; }
.cities li::before { content: ""; width: 9px; height: 9px; background: var(--blue); transform: rotate(45deg); }
.cities li.hq::before { background: var(--orange); }
.hq-card { margin-top: 28px; padding: 20px 22px; border-radius: var(--r); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; gap: 4px; }
.hq-card b { font-size: 18px; }

/* ---------- kit / formulario ---------- */
.kit { position: relative; overflow: hidden; }
.kit-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.kit .h-sec { color: #fff; }
.kit-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.kit-list li { display: flex; gap: 12px; color: #dfe2e7; }
.kit-list li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; background: var(--orange); transform: rotate(45deg); flex: none; }
.form { background: var(--paper); color: var(--ink); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: 14.5px; }
.form input[type="text"], .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 13px 14px; font-size: 16px;
}
.form select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2311151d' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; font-weight: 600; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span { padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; background: #fff; transition: background-color .2s, color .2s, box-shadow .2s; font-size: 14.5px; }
.checks input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.checks input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form .fine { margin: 0; font-size: 13px; color: var(--mute); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13.5px; color: var(--ink-2); }
.form .consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.form .consent a { color: var(--blue-d); }
.form .err { color: #b3261e; font-size: 14px; margin: 0; min-height: 1em; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 14px; height: 14px; flex: none; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #c3c7cf; position: relative; overflow: hidden; }
.ftr-big {
  font-family: var(--display); font-stretch: 72%; font-variation-settings: "wdth" 72; font-weight: 900; text-transform: uppercase;
  font-size: min(15vw, 222px); line-height: .8; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22);
  margin: 0; padding-top: clamp(40px, 6vw, 80px); white-space: nowrap; user-select: none;
}
.ftr-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-inv); margin-top: clamp(28px, 4vw, 56px); }
.ftr h4 { margin: 0 0 14px; color: #fff; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: var(--orange); }
.ftr .logo-word b { color: #fff; }
.ftr .logo-word small { color: #9aa0ab; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 20px 0 30px; border-top: 1px solid var(--line-inv); font-size: 13.5px; color: #8a909b; }

/* WhatsApp flotante */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5);
  transition: transform .4s var(--ease); text-decoration: none;
}
.fab:hover { transform: scale(1.07) rotate(-6deg); }
.fab svg { width: 30px; height: 30px; }

/* =========================================================
   ANIMACIONES DE ENTRADA Y REVEAL
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

.js.intro .hero h1 .ln > span { transform: translateY(108%); }
.js.intro .hero .eyebrow, .js.intro .hero .lead, .js.intro .hero .acts, .js.intro .hero-facts { opacity: 0; transform: translateY(16px); }
.js.intro .mosaic { opacity: 0; transform: translateY(40px); }
.js.intro .hdr .bar > * { opacity: 0; transform: translateY(-10px); }
.hero h1 .ln > span { transition: transform 1.15s var(--ease); }
.hero h1 .ln:nth-child(1) > span { transition-delay: .15s; }
.hero h1 .ln:nth-child(2) > span { transition-delay: .24s; }
.hero h1 .ln:nth-child(3) > span { transition-delay: .33s; }
.hero .eyebrow { transition: opacity .8s, transform 1s var(--ease); transition-delay: .05s; }
.hero .lead { transition: opacity .9s, transform 1s var(--ease); transition-delay: .55s; }
.hero .acts { transition: opacity .9s, transform 1s var(--ease); transition-delay: .68s; }
.hero-facts { transition: opacity .9s, transform 1s var(--ease); transition-delay: .8s; }
.mosaic { transition: opacity 1.4s, transform 1.6s var(--ease); transition-delay: .25s; }
.hdr .bar > * { transition: opacity .7s, transform .8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .pain .fix { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav a { padding: 10px 8px; font-size: 15px; }
  .bar > .btn { display: none; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tcard { min-height: 260px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  :root { --hdr-h: 74px; }
  .util { display: none; }
  .nav, .bar > .btn { display: none; }
  .menu-btn { display: grid; }
  .mnav {
    display: grid; gap: 4px; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); color: #fff; padding: 14px var(--pad) 26px;
    clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease); visibility: hidden;
  }
  .hdr[data-open] .mnav { clip-path: inset(0 0 0 0); visibility: visible; }
  .mnav a { text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line-inv); font-family: var(--display); font-stretch: 75%; font-variation-settings: "wdth" 75; font-weight: 820; font-size: 30px; text-transform: uppercase; }
  .mnav .btn { margin-top: 18px; justify-content: center; font-family: var(--sans); font-stretch: 100%; font-variation-settings: normal; font-weight: 700; font-size: 16px; text-transform: none; border: 0; }
  .mnav .contact { margin-top: 14px; color: #9aa0ab; font-size: 14px; }

  .hero-in { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero h1 { font-size: clamp(52px, 10vw, 100px); }
  .hero-copy { padding-bottom: 20px; }
  .mosaic { height: 440px; min-height: 0; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .mcol:nth-child(2) { margin-top: -40px; }

  .sec-intro, .calc, .system, .story, .works, .cover, .kit-in, .faq, .about-foot, .case-intro { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scrub-stage { aspect-ratio: 4 / 3; }
  .pain { grid-template-columns: 44px 1fr; }
  .pain .fix { grid-column: 2; }

  .stage { display: none; }
  .sstep { min-height: 0; opacity: 1; padding: 26px 0; border-bottom: 1px solid var(--line); }
  .sstep img.inline { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); margin-bottom: 18px; }

  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 16px; height: auto; background: var(--rombos) repeat-y 0 0 / 16px 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='32' viewBox='0 0 16 32'%3E%3Cpath fill='%233b67ae' d='M8 0l8 8-8 8-8-8z'/%3E%3Cpath fill='%23f39100' d='M8 16l8 8-8 8-8-8z'/%3E%3C/svg%3E"); }
  .tl { padding: 0 0 30px 48px; }
  .tl::before { display: none; }
  .tl .yr { margin-bottom: 0; }
  .tl h3 { margin-top: 8px; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step { padding-bottom: 22px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .peek { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(46px, 14.6vw, 76px); }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-facts div { padding-right: 10px; margin-right: 10px; }
  .hero-facts dd { font-size: 20px; white-space: nowrap; }
  .acts .btn { width: 100%; justify-content: center; }
  .mosaic { height: 380px; gap: 8px; }
  .mtrack { gap: 8px; padding-bottom: 8px; }
  .pgrid, .trust, .gallery { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .case-grid figure.cg-video { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 9 / 13; }
  .scrub-ticks button { font-size: 10px; letter-spacing: .02em; padding: 6px 0; }
  .scrub-cap { flex-direction: column; gap: 6px; }
  .case-meta div { grid-template-columns: 110px 1fr; }
  .tcard { min-height: 220px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .area { grid-template-columns: 1fr 110px; }
  .prow { grid-template-columns: 34px minmax(0, 1fr) 20px; }
  .prow .who { grid-column: 2; grid-row: 2; margin-top: -8px; }
  .prow .ic { grid-row: 1 / span 2; grid-column: 3; }
  .form .row { grid-template-columns: 1fr; }
  .cities { columns: 1; }
  .ftr-grid { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 100px 1fr; }
  .fab { width: 56px; height: 56px; right: 14px; bottom: 14px; }
}
