/* ─────────────────────────────────────────────
   P&P Pinturas — hoja de estilos
   ───────────────────────────────────────────── */
:root {
  --paper: #F6F3EC;
  --paper-2: #EDE8DD;
  --stone: #D9D1C2;
  --ink: #0B1633;
  --ink-2: #16224A;
  --muted: #5B6172;
  --blue: #1846A3;
  --blue-bright: #2F6BE0;
  --blue-deep: #0E2B66;
  --green: #7CB342;
  --green-deep: #4E8A1E;
  --line: rgba(11, 22, 51, 0.09);
  --line-light: rgba(255, 255, 255, 0.12);

  --f-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --f-serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --f-body: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --r-xl: 2rem;
  --r-lg: 1.5rem;
  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(96px, 13vw, 180px);
  --shadow-soft: 0 1px 1px rgba(11, 22, 51, 0.03), 0 12px 24px -8px rgba(11, 22, 51, 0.08), 0 40px 80px -24px rgba(11, 22, 51, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Eyebrow ───────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0 0 1.6rem; padding: 0.42rem 0.9rem;
  border-radius: 999px; background: rgba(11, 22, 51, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--f-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow--light { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-light); color: rgba(255, 255, 255, 0.78); }

.h2 {
  font-family: var(--f-display); font-weight: 600; font-variation-settings: 'opsz' 96;
  font-size: clamp(2.4rem, 5.4vw, 5rem); line-height: 0.96; letter-spacing: -0.035em;
  margin: 0; max-width: 16ch; text-wrap: balance;
}
.h2 em { color: var(--blue); font-size: 1.06em; }

.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head__lead { max-width: 46ch; color: var(--muted); font-size: 1.08rem; margin: 1.6rem 0 0; text-wrap: pretty; }
.section-head--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: end; }
.section-head--split .section-head__lead { margin: 0; justify-self: end; }

/* ── Buttons ───────────────────────────── */
.btn {
  --bg: var(--ink); --fg: #fff; --ic: rgba(255, 255, 255, 0.14);
  position: relative; display: inline-flex; align-items: center; gap: 0.9rem;
  padding: 0.5rem 0.5rem 0.5rem 1.4rem; min-height: 3.4rem;
  border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 0.98rem; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer;
  transition: transform 0.6s var(--ease), background-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 30px -12px rgba(11, 22, 51, 0.45);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn__icon {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--ic); flex: none;
  transition: transform 0.6s var(--ease);
}
.btn__icon svg { width: 1.05rem; height: 1.05rem; }
.btn:hover .btn__icon { transform: translate(3px, -2px) scale(1.06); }
.btn--sm { min-height: 2.8rem; padding: 0.3rem 0.3rem 0.3rem 1.1rem; font-size: 0.9rem; }
.btn--sm .btn__icon { width: 2.1rem; height: 2.1rem; }
.btn--lg { min-height: 4.2rem; padding-left: 1.9rem; font-size: 1.12rem; }
.btn--lg .btn__icon { width: 3.1rem; height: 3.1rem; }
.btn--blue { --bg: var(--blue); }
.btn--blue:hover { --bg: #1B50BA; }
.btn--ink:hover { --bg: var(--ink-2); }
.btn--green { --bg: var(--green); --fg: var(--ink); --ic: rgba(11, 22, 51, 0.1); }
.btn--green:hover { --bg: #8BC34A; }
.btn--light { --bg: #fff; --fg: var(--ink); --ic: rgba(11, 22, 51, 0.07); }
.btn--ghost { --bg: transparent; --fg: var(--ink); padding: 0.5rem 1.4rem; box-shadow: inset 0 0 0 1px rgba(11, 22, 51, 0.16); }
.btn--ghost:hover { --bg: rgba(11, 22, 51, 0.05); }
.btn--outline-light { --bg: transparent; padding: 0.5rem 1.4rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.btn--outline-light:hover { --bg: rgba(255, 255, 255, 0.08); }

.link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; color: var(--blue); cursor: pointer; }
.link svg { width: 1rem; height: 1rem; transition: transform 0.5s var(--ease); }
.link:hover svg { transform: translate(3px, -3px); }

/* ── Loader ────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff;
  display: grid; place-items: center;
}
.loader__inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.loader__logo { width: 160px; height: auto; }
.loader__count { display: flex; align-items: baseline; gap: 0.8rem; font-family: var(--f-display); }
.loader__count span { font-size: 4.5rem; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.loader__count small { font-family: var(--f-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.6; }
.loader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.08); }
.loader__bar span { display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(0); }

/* ── Nav ───────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; justify-content: center; padding: 18px var(--gutter) 0; pointer-events: none; }
.nav__pill {
  pointer-events: auto; display: flex; align-items: center; gap: 1.6rem;
  padding: 0.4rem 0.4rem 0.4rem 1rem; border-radius: 999px;
  background: rgba(246, 243, 236, 0.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(11, 22, 51, 0.07), 0 10px 40px -16px rgba(11, 22, 51, 0.25);
  transition: transform 0.7s var(--ease);
}
.nav.is-hidden .nav__pill { transform: translateY(-180%); }
.nav__brand img { width: 66px; height: auto; }
.nav__links { display: flex; gap: 0.2rem; }
.nav__links a { position: relative; padding: 0.5rem 0.75rem; font-size: 0.9rem; color: var(--ink-2); border-radius: 999px; transition: background-color 0.4s var(--ease); }
.nav__links a:hover { background: rgba(11, 22, 51, 0.06); }
.burger { display: none; position: relative; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--ink); }
.burger span { position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin-left: -8px; background: #fff; transition: transform 0.6s var(--ease); }
.burger span:nth-child(1) { transform: translateY(-3.5px); }
.burger span:nth-child(2) { transform: translateY(3.5px); }
.menu-open .burger span:nth-child(1) { transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px; background: rgba(11, 22, 51, 0.94);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0s 0.6s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 0.6s var(--ease); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line-light);
  font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1;
  transform: translateY(40px); opacity: 0; transition: transform 0.8s var(--ease), opacity 0.8s var(--ease);
}
.menu__links small { font-family: var(--f-mono); font-size: 0.7rem; opacity: 0.5; }
.menu-open .menu__links a { transform: none; opacity: 1; }
.menu-open .menu__links a:nth-child(2) { transition-delay: 0.05s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: 0.1s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: 0.15s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: 0.2s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: 0.25s; }
.menu__foot { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.55; }

/* ── Hero ──────────────────────────────── */
.hero {
  position: relative; min-height: 100dvh;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center;
  padding: 130px var(--gutter) 70px; max-width: 1480px; margin-inline: auto;
}
.hero__title {
  margin: 0; font-family: var(--f-display); font-weight: 600; font-variation-settings: 'opsz' 96;
  font-size: clamp(3.1rem, 7vw, 7.2rem); line-height: 0.9; letter-spacing: -0.045em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { color: var(--blue); font-size: 1.08em; letter-spacing: -0.02em; }
.hero__lead { max-width: 44ch; margin: 2rem 0 0; font-size: clamp(1.02rem, 1.25vw, 1.16rem); color: var(--muted); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.4rem; }
.hero__facts { list-style: none; padding: 0; margin: 3.4rem 0 0; display: flex; gap: clamp(1.4rem, 3vw, 3rem); }
.hero__facts li { display: flex; align-items: center; gap: 0.8rem; }
.hero__facts b { font-family: var(--f-display); font-size: 2.1rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.hero__facts b small { font-size: 0.5em; margin-left: 2px; }
.hero__facts span { font-size: 0.76rem; line-height: 1.3; color: var(--muted); }

.hero__stage { position: relative; height: min(78vh, 760px); perspective: 1400px; }
.slab { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.slab__shell {
  position: relative; height: 100%; padding: 8px; border-radius: calc(var(--r-xl) + 8px);
  background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 1px rgba(11, 22, 51, 0.06), var(--shadow-soft);
}
.slab__core { position: relative; height: 100%; overflow: hidden; border-radius: var(--r-xl); background: var(--stone); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4); }
.slab__core canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.slab__fallback { position: absolute; inset: 0; display: none; background: radial-gradient(120% 90% at 20% 10%, #efe4cf, #cdb896); }
.no-webgl .slab__fallback { display: block; }
.slab__tag {
  position: absolute; left: 18px; bottom: 18px; display: grid; gap: 2px;
  padding: 14px 18px; border-radius: 18px; min-width: 220px;
  background: rgba(246, 243, 236, 0.86); box-shadow: 0 10px 30px -12px rgba(11, 22, 51, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.slab__no { font-family: var(--f-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.slab__name { font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.slab__tex { font-size: 0.82rem; color: var(--muted); }
.slab__hint {
  position: absolute; right: 18px; top: 18px; display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; background: rgba(11, 22, 51, 0.55); color: #fff;
  font-size: 0.72rem; letter-spacing: 0.01em;
}
.slab__hint i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(11, 22, 51, 0.25); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ── Marquee ───────────────────────────── */
.marquee { overflow: hidden; background: var(--blue); color: #fff; padding: 1.2rem 0; }
.marquee__track { display: flex; width: max-content; align-items: center; gap: 2.2rem; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--green); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Manifesto ─────────────────────────── */
.manifesto { background: var(--ink); color: #fff; padding: var(--section) 0; }
.manifesto__text {
  margin: 0; max-width: 22ch; font-family: var(--f-display); font-weight: 500; font-variation-settings: 'opsz' 72;
  font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em;
}
.manifesto__text em { color: var(--green); }
.manifesto__text .w { opacity: 0.16; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 10vw, 140px);
  border-top: 1px solid var(--line-light);
}
.stat { padding: 2rem 1.4rem 0 0; }
.stat + .stat { padding-left: 1.4rem; border-left: 1px solid var(--line-light); }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(3rem, 6vw, 5.6rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 0.8rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }

/* ── Price ─────────────────────────────── */
.price { background: var(--paper-2); }
.price__pin {
  min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 80px); align-items: center;
  max-width: 1400px; margin-inline: auto; padding: 110px var(--gutter) 60px;
}
.price__visual { position: relative; height: min(76vh, 720px); }
.price__visual canvas { width: 100%; height: 100%; }
.price__badge {
  position: absolute; right: 6%; top: 12%; display: grid; padding: 14px 18px; border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-soft);
}
.price__badge b { font-family: var(--f-display); font-size: 1.8rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--blue); }
.price__badge span { font-size: 0.78rem; color: var(--muted); max-width: 16ch; margin-top: 4px; }
.price__steps { position: relative; margin: 1.8rem 0 2.2rem; min-height: 5.4em; font-size: 1.12rem; max-width: 42ch; }
.price__step { position: absolute; inset: 0 0 auto; margin: 0; color: var(--muted); opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.price__step.is-active { opacity: 1; transform: none; }

.chain { padding: 22px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(11, 22, 51, 0.04); }
.chain__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-weight: 600; }
.chain__head .mono { color: var(--muted); font-weight: 400; font-size: 0.64rem; }
.chain__nodes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.chain__nodes::before { content: ''; position: absolute; left: 10%; right: 10%; top: 9px; height: 2px; background: var(--stone); }
.node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.8rem; text-align: center; color: var(--ink-2); }
.node i { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--ink-2); }
.node--keep i { background: var(--blue); box-shadow: 0 0 0 4px rgba(24, 70, 163, 0.14); }
.node--you i { background: var(--green); box-shadow: 0 0 0 4px rgba(124, 179, 66, 0.2); }
.node span { position: relative; }
.node s { position: absolute; left: -3px; right: -3px; top: 52%; height: 1.5px; background: #C4432B; transform: scaleX(0); transform-origin: left; }
.chain__bar { display: flex; height: 54px; margin-top: 26px; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.seg { width: var(--w); display: flex; align-items: center; padding: 0 12px; font-size: 0.72rem; font-weight: 500; white-space: nowrap; overflow: hidden; color: #fff; }
.seg--make { background: var(--blue); }
.seg--cut:nth-child(2) { background: #6E7892; }
.seg--cut:nth-child(3) { background: #8A93AA; }
.seg--cut:nth-child(4) { background: #A6ADBF; }
.chain__save { margin-top: 12px; height: 26px; position: relative; }
.chain__save span {
  position: absolute; left: 40%; right: 0; top: 0; display: flex; justify-content: center; align-items: center;
  border-top: 2px dashed var(--green); padding-top: 6px; font-size: 0.78rem; font-weight: 600; color: var(--green-deep);
  opacity: 0;
}

/* ── Double-bezel cards ─────────────────── */
.card__shell, .calc__shell {
  height: 100%; padding: 7px; border-radius: calc(var(--r-xl) + 7px);
  background: rgba(11, 22, 51, 0.035); box-shadow: inset 0 0 0 1px rgba(11, 22, 51, 0.05);
}
.card__core {
  position: relative; height: 100%; overflow: hidden; border-radius: var(--r-xl); background: #fff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), 0 20px 50px -30px rgba(11, 22, 51, 0.3);
  display: flex; flex-direction: column;
}

/* ── Products ──────────────────────────── */
.products { padding: var(--section) 0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(0, auto); gap: 18px; }
.card { grid-column: span 4; }
.card--xl { grid-column: span 12; }
.card--xl .card__core { flex-direction: row; }
.card--xl .card__media { flex: 1 1 50%; min-height: 480px; }
.card--xl .card__body { flex: 1 1 50%; padding: clamp(24px, 3vw, 48px); }
.card--sm { grid-column: span 3; }
.card--sm h3 { font-size: clamp(1.2rem, 1.45vw, 1.45rem); hyphens: auto; overflow-wrap: anywhere; }
.card--sm p { font-size: 0.92rem; }
.card__media.card__media--int { background-image: url(../img/productos/latex-interior.jpg); }
.card__media.card__media--ext { background-image: url(../img/productos/latex-exterior.jpg); }
.card__media.card__media--imp { background-image: url(../img/productos/latex-impermeabilizante.jpg); }
.card__media.card__media--mem { background-image: url(../img/productos/membrana-liquida.jpg); }
.finishes { display: flex; gap: 6px; }
.finishes span { padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 500; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.card__media { position: relative; background: var(--stone) center/cover no-repeat; transition: transform 1.2s var(--ease); }
.card__media--short { height: 190px; flex: none; }
.card__core:hover .card__media { transform: scale(1.04); }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; flex: 1; background: #fff; position: relative; }
.card h3 { margin: 0; font-family: var(--f-display); font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; text-wrap: pretty; }
.card .link { margin-top: auto; padding-top: 0.6rem; }
.card--xl .btn { margin-top: auto; }
.tag { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); padding: 5px 10px; border-radius: 999px; background: rgba(24, 70, 163, 0.07); }
.texchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0.4rem 0; }
.texchip {
  display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.86rem; font-weight: 500;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.texchip span { width: 30px; height: 30px; border-radius: 50%; background: var(--stone) center/cover; }
.texchip:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(24, 70, 163, 0.4); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0.6rem 0 1.2rem; width: 100%; border-top: 1px solid var(--line); }
.specs div { padding: 12px 10px 0 0; }
.specs div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.specs dt { font-family: var(--f-mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-weight: 600; font-size: 0.92rem; }
.card--cta { grid-column: span 12; }
.card--cta .card__core { background: var(--blue); color: #fff; padding: clamp(28px, 3.4vw, 48px); flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.card--cta .card__core > div { display: grid; gap: 0.8rem; }
.card--cta h3 { font-size: clamp(1.5rem, 2.6vw, 2.5rem); max-width: 26ch; }
.card--cta .card__kicker { font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #B9E27F; margin: 0; }
.card--cta .btn { flex: none; }

/* ── Visualizer ────────────────────────── */
.viz { background: var(--paper-2); padding: var(--section) 0; }
.viz__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.viz__stage { position: sticky; top: 96px; }
.viz__core { aspect-ratio: 4 / 3; height: auto; background: #cfd8e3; }
.viz__core canvas#houseCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.viz__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.houses { position: absolute; left: 16px; top: 16px; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(246, 243, 236, 0.88); box-shadow: 0 10px 30px -12px rgba(11, 22, 51, 0.35); }
.houses button { padding: 8px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 500; color: var(--ink-2); transition: background-color 0.5s var(--ease), color 0.5s var(--ease); }
.houses button.is-on { background: var(--ink); color: #fff; }
.closeup { position: absolute; right: 16px; bottom: 16px; margin: 0; padding: 6px 6px 8px; border-radius: 22px; background: rgba(246, 243, 236, 0.92); box-shadow: 0 16px 40px -14px rgba(11, 22, 51, 0.45); }
.closeup__frame { position: relative; width: clamp(96px, 10.5vw, 145px); aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--stone); }
.closeup__frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.closeup figcaption { margin-top: 6px; text-align: center; font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.replica {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(40px, 5vw, 72px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl);
  background: #fff; box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(11, 22, 51, 0.04);
}
.replica__chips { display: flex; }
.replica__chips span { width: 56px; height: 76px; border-radius: 12px; background: var(--c); box-shadow: 0 8px 20px -10px rgba(11, 22, 51, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.06); transform: rotate(-8deg); }
.replica__chips span + span { margin-left: -22px; }
.replica__chips span:nth-child(2) { transform: rotate(-2deg) translateY(-4px); }
.replica__chips span:nth-child(3) { transform: rotate(5deg); }
.replica__chips span:nth-child(4) { transform: rotate(11deg) translateY(4px); }
.replica h3 { margin: 0 0 0.5rem; font-family: var(--f-display); font-size: clamp(1.4rem, 2.3vw, 2.1rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
.replica h3 em { color: var(--blue); }
.replica p { margin: 0; color: var(--muted); max-width: 60ch; }
.viz__readout {
  position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(246, 243, 236, 0.9);
  box-shadow: 0 10px 30px -12px rgba(11, 22, 51, 0.3);
}
.viz__sw { width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); transition: background-color 0.6s var(--ease); }
.viz__readout b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; line-height: 1.1; }
.viz__readout small { font-size: 0.78rem; color: var(--muted); }
.viz__panel { display: flex; flex-direction: column; gap: 2rem; padding: 6px 0; }
.field__label { margin: 0 0 0.8rem; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.field__row .field__label { margin: 0; }
.field__label small { font-size: inherit; letter-spacing: inherit; opacity: 0.75; text-transform: none; font-family: var(--f-body); }
.seg-ctrl { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(11, 22, 51, 0.05); box-shadow: inset 0 0 0 1px var(--line); width: fit-content; }
.seg-ctrl button { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.seg-ctrl button:hover { background: rgba(255, 255, 255, 0.6); }
.seg-ctrl button.is-on { background: #fff; box-shadow: 0 4px 14px -6px rgba(11, 22, 51, 0.3); }
.seg-ctrl button i { width: 20px; height: 20px; border-radius: 50%; background: var(--stone) center/cover; margin-left: -6px; }
.families { display: flex; gap: 4px; flex-wrap: wrap; }
.families button { padding: 5px 10px; border-radius: 999px; font-size: 0.78rem; color: var(--muted); transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.families button.is-on { background: var(--ink); color: #fff; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 24px 10px; padding-bottom: 8px; }
.sw {
  position: relative; aspect-ratio: 1; border-radius: 16px; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), 0 6px 16px -10px rgba(11, 22, 51, 0.4);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.4s var(--ease);
}
.sw:hover { transform: translateY(-3px) scale(1.04); }
.sw.is-on { box-shadow: 0 0 0 2px var(--paper-2), 0 0 0 4px var(--ink), 0 10px 20px -10px rgba(11, 22, 51, 0.5); }
.sw span { position: absolute; left: 0; right: 0; bottom: -1.5em; font-size: 0.64rem; text-align: center; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity 0.3s; }
.sw:hover span, .sw.is-on span { opacity: 1; }
.sw.is-hidden { display: none; }
.note { font-size: 0.8rem; color: var(--muted); margin: 2rem 0 0; }
.viz__panel .btn { align-self: flex-start; margin-top: auto; }

/* ── Calculator ────────────────────────── */
.calc { background: var(--ink); color: #fff; padding: var(--section) 0; }
.calc .h2 em { color: var(--green); }
.calc__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: start; }
.calc__form { display: flex; flex-direction: column; gap: 2.2rem; }
.calc .field__label { color: rgba(255, 255, 255, 0.55); }
.seg-ctrl--dark { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-light); }
.seg-ctrl--dark button { color: rgba(255, 255, 255, 0.75); }
.seg-ctrl--dark button:hover { background: rgba(255, 255, 255, 0.08); }
.seg-ctrl--dark button.is-on { background: #fff; color: var(--ink); }
.toggle { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.toggle button { padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); transition: background-color 0.4s var(--ease), color 0.4s var(--ease); }
.toggle button.is-on { background: rgba(255, 255, 255, 0.14); color: #fff; }
.calc__walls, .calc__m2 { display: flex; flex-direction: column; gap: 1.4rem; }
.range { display: grid; grid-template-columns: 1fr auto; row-gap: 0.7rem; align-items: baseline; }
.range span { font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); }
.range output { font-family: var(--f-mono); font-size: 0.95rem; color: #fff; }
.range input { grid-column: 1 / -1; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--green) var(--p), rgba(255, 255, 255, 0.14) var(--p)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--green); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(124, 179, 66, 0.25), 0 4px 10px rgba(0, 0, 0, 0.3); transition: transform 0.4s var(--ease); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(124, 179, 66, 0.25); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.check { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.82); cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check span { width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3); display: grid; place-items: center; transition: background-color 0.4s var(--ease); }
.check input:checked + span { background: var(--green); box-shadow: none; }
.check input:checked + span::after { content: ''; width: 10px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-1px) rotate(-45deg); }
.check input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }

.calc__result { position: sticky; top: 110px; }
.calc__shell { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line-light); }
.calc__core { border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); background: linear-gradient(160deg, #182a5c, #0f1d42); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12); }
.calc__k { margin: 0; color: rgba(255, 255, 255, 0.5); }
.calc__area { margin: 0.4rem 0 0; font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); }
.calc__area b { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; color: #fff; }
.calc__big { display: flex; align-items: baseline; gap: 0.6rem; margin-top: 1.6rem; }
.calc__big b { font-family: var(--f-display); font-weight: 600; font-size: clamp(4rem, 9vw, 7.6rem); line-height: 0.9; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.calc__big span { font-family: var(--f-display); font-size: 2rem; font-weight: 500; color: var(--green); }
.calc__desc { margin: 0.6rem 0 1.6rem; color: rgba(255, 255, 255, 0.7); }
.calc__packs { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.pack { display: flex; align-items: center; gap: 14px; }
.pack__q { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; min-width: 2.4ch; letter-spacing: -0.03em; }
.pack__ico { width: 34px; height: 38px; flex: none; }
.pack__t { font-size: 0.95rem; }
.pack__t small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 0.78rem; }
.note--light { color: rgba(255, 255, 255, 0.5); margin: 1.2rem 0 1.6rem; }

/* ── Who ───────────────────────────────── */
.who { background: var(--paper-2); padding: var(--section) 0; position: relative; }
.who__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.who__list li {
  position: relative; display: grid; grid-template-columns: 80px 1.1fr 1fr 40px; align-items: center; gap: 2rem;
  padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); cursor: default;
}
.who__n { font-family: var(--f-mono); font-size: 0.75rem; color: var(--muted); }
.who__list h3 { margin: 0; font-family: var(--f-display); font-size: clamp(1.8rem, 3.6vw, 3.4rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; transition: transform 0.7s var(--ease), color 0.5s var(--ease); }
.who__list p { margin: 0; color: var(--muted); max-width: 38ch; }
.who__list svg { width: 28px; height: 28px; color: var(--blue); transition: transform 0.7s var(--ease); }
.who__list li:hover h3 { transform: translateX(14px); color: var(--blue); }
.who__list li:hover svg { transform: rotate(45deg); }
.who__float {
  position: fixed; left: 0; top: 0; width: 260px; height: 320px; border-radius: 24px; pointer-events: none; z-index: 40;
  background: var(--stone) center/cover; box-shadow: var(--shadow-soft); opacity: 0; transform: translate(-50%, -50%) scale(0.6);
}

/* ── Where ─────────────────────────────── */
.where { background: var(--blue-deep); color: #fff; padding: var(--section) 0; overflow: hidden; }
.where .h2 em { color: #9CC3F5; }
.where .section-head__lead { color: rgba(255, 255, 255, 0.7); }
.where__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.where__info { display: grid; gap: 0; margin: 2.4rem 0 0; border-top: 1px solid var(--line-light); }
.where__info div { display: grid; grid-template-columns: 110px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.where__info dt { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); padding-top: 3px; }
.where__info dd { margin: 0; }
.where__map { position: relative; aspect-ratio: 1; max-width: 620px; justify-self: center; width: 100%; }
.where__map svg { width: 100%; height: 100%; overflow: visible; }
.where__coords { position: absolute; left: 0; bottom: 0; color: rgba(255, 255, 255, 0.5); margin: 0; }
.map-ring { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-dasharray: 2 6; }
.map-ring-label { fill: rgba(255, 255, 255, 0.4); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; }
.map-dot { fill: rgba(255, 255, 255, 0.1); }
.map-town circle { fill: #fff; }
.map-town text { fill: rgba(255, 255, 255, 0.78); font-family: var(--f-body); font-size: 13px; }
.map-line { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; fill: none; }
.map-home text { fill: #fff; font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.map-pulse { fill: var(--green); transform-box: fill-box; transform-origin: center; animation: mapPulse 2.6s var(--ease-out) infinite; }
@keyframes mapPulse { from { transform: scale(1); opacity: 0.55; } to { transform: scale(5); opacity: 0; } }

/* ── FAQ ───────────────────────────────── */
.faq { padding: var(--section) 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer;
  padding: 1.6rem 0; font-family: var(--f-display); font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 500; letter-spacing: -0.02em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(11, 22, 51, 0.05); transition: background-color 0.5s var(--ease), transform 0.6s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: var(--ink); transition: transform 0.6s var(--ease), background-color 0.4s; }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--blue); transform: rotate(180deg); }
.qa[open] summary i::before, .qa[open] summary i::after { background: #fff; }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.qa > div > p { overflow: hidden; margin: 0; color: var(--muted); max-width: 56ch; }
.qa.is-open > div { grid-template-rows: 1fr; }
.qa.is-open > div > p { padding-bottom: 1.6rem; }

/* ── Final CTA ─────────────────────────── */
.final { position: relative; overflow: hidden; padding: clamp(120px, 16vw, 220px) 0; text-align: center; background: #d7c09b; }
.final__bg { position: absolute; inset: -10%; background: center/cover; will-change: transform; }
.final::after { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, rgba(246, 243, 236, 0.75), rgba(246, 243, 236, 0.2)); }
.final__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.final__title {
  margin: 0 0 2.6rem; max-width: 14ch; font-family: var(--f-display); font-weight: 600; font-variation-settings: 'opsz' 96;
  font-size: clamp(2.8rem, 7vw, 7rem); line-height: 0.92; letter-spacing: -0.045em; text-wrap: balance;
}
.final__title em { color: var(--blue); }

/* ── Footer ────────────────────────────── */
.footer { background: var(--ink); color: #fff; padding: 90px 0 30px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer__logo { width: 130px; height: auto; }
.footer__top p { margin: 0; color: rgba(255, 255, 255, 0.6); max-width: 34ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.footer__cols div { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__cols h4 { margin: 0 0 0.4rem; font-family: var(--f-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.footer__cols a, .footer__cols span { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; cursor: pointer; transition: color 0.3s; }
.footer__cols a:hover { color: var(--green); }
.footer__word {
  margin: 70px 0 20px; font-family: var(--f-display); font-weight: 700; font-size: clamp(4rem, 17vw, 17rem);
  line-height: 0.8; letter-spacing: -0.06em; white-space: nowrap; color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
}
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); }

/* ── WhatsApp flotante ─────────────────── */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: scale(0); transition: transform 0.6s var(--ease);
}
.wa-float.is-on { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ── Reveal base (JS toma el control) ──── */
.js:not(.is-ready) .hero__copy, .js:not(.is-ready) .hero__stage, .js:not(.is-ready) .nav__pill { visibility: hidden; }
.js [data-reveal] { opacity: 0; transform: translateY(48px); }

/* ── Responsive ────────────────────────── */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__pill { gap: 0.6rem; }
  .card--sm { grid-column: span 6; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 40px; }
  .hero__stage { height: 62vh; min-height: 420px; }
  .scroll-cue { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); margin-top: 2rem; }
  .price__pin { grid-template-columns: 1fr; padding-top: var(--section); padding-bottom: var(--section); }
  .price__visual { height: 58vh; min-height: 380px; order: 2; }
  .section-head--split { grid-template-columns: 1fr; gap: 1.4rem; }
  .section-head--split .section-head__lead { justify-self: start; }
  .viz__grid, .calc__grid, .where__grid, .faq__grid { grid-template-columns: 1fr; }
  .viz__stage { position: relative; top: 0; }
  .replica { grid-template-columns: 1fr; }
  .calc__result { position: static; }
  .who__list li { grid-template-columns: 1fr 28px; gap: 0.8rem 1rem; }
  .who__n { grid-column: 1 / -1; }
  .who__list p { grid-column: 1; }
  .who__list svg { grid-row: 2; grid-column: 2; }
  .who__float { display: none; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .eyebrow { font-size: 0.6rem; letter-spacing: 0.1em; }
  .viz__readout { display: none; }
  .closeup { right: 10px; bottom: 10px; padding: 4px 4px 6px; border-radius: 16px; }
  .closeup__frame { width: 78px; border-radius: 12px; }
  .closeup figcaption { font-size: 0.5rem; }
  .houses { left: 10px; top: 10px; }
  .houses button { padding: 6px 12px; font-size: 0.8rem; }
  .card, .card--xl, .card--sm, .card--cta { grid-column: span 12; }
  .card--xl .card__core { flex-direction: column; }
  .card--xl .card__media { min-height: 260px; }
  .specs { grid-template-columns: 1fr 1fr 1fr; }
  .hero__facts { gap: 1.2rem; }
  .hero__facts b { font-size: 1.6rem; }
  .hero__facts li { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .slab__hint { display: none; }
  .slab__tag { min-width: 0; left: 12px; bottom: 12px; }
  .chain { padding: 16px; }
  .node { font-size: 0.66rem; }
  .seg { font-size: 0; padding: 0; }
  .footer__cols { grid-template-columns: 1fr; }
  .btn--lg { font-size: 1rem; }
  .swatches { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
