/* JM × LifeSmart · Landing Construmedia 2026 · v06 (correcciones del cliente 02-11-26: slideshow, kits, calculadora por kits, pestañas, carrusel de productos, FAQ)
   Sistema: negro de marca + naranja LifeSmart como acento escaso (<5 %), Manrope + IBM Plex Mono,
   hairlines de 1 px y retícula de 12 columnas. Todo el sitio consume estos tokens. */

:root {
  /* Color */
  --bg: #09080b;                /* igual al negro de las imágenes de producto/torre: sin “caja” visible */
  --bg-alt: #121214;
  --bg-light: #f2f0ec;          /* hueso: bandas de lectura y herramienta */
  --ink: #f4f3f1;
  --ink-2: #a6a49f;
  --ink-3: #6f6d69;
  --ink-dark: #121212;
  --ink-dark-2: #5c5a56;
  --line: rgba(255, 255, 255, .1);
  --line-dark: rgba(18, 18, 18, .12);
  --accent: #f28c3c;
  --accent-grad: linear-gradient(180deg, #f59b4e, #e46f22);
  --accent-ink: #b85a17;        /* naranja para texto pequeño sobre hueso (AA) */

  /* Tipografía */
  --font: "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --fs-display: clamp(3rem, 1.6rem + 4.6vw, 5.75rem);
  --fs-h2: clamp(2.25rem, 1.5rem + 3vw, 4.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
  --fs-lead: clamp(1.125rem, 1rem + .45vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-mono: .75rem;

  /* Espacio (escala 4/8) */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem;
  --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;
  --section: clamp(5rem, 3rem + 8vw, 10rem);
  --gutter: clamp(1.25rem, .5rem + 3vw, 3rem);
  --max: 1320px;

  /* Forma y movimiento */
  --r-sm: 10px; --r-md: 16px; --r-pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: 180ms; --t: 420ms; --t-slow: 800ms;
  --header-h: 72px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-body)/1.55 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
p, dd, li { text-wrap: pretty; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: var(--s2) var(--s4); border-radius: var(--r-sm); }
.skip:focus { top: var(--s4); }
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Tipografía */
.display { font-size: var(--fs-display); font-weight: 600; line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
.sub { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); max-width: 46ch; }
.eyebrow, .label, .kicker, .row-n, .ln, .step-n, .summary-k, .lvl-d, .stage-meta, .facts dt, .footer h4 {
  font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6em; color: var(--ink-2); }
.eyebrow .dot { margin-right: .25em; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(242, 140, 60, .15); }
.label { display: flex; align-items: center; gap: var(--s3); color: var(--ink-2); }
.label span { color: var(--accent); }
.label::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .35; }

/* Botones y enlaces */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5);
  border: 0; border-radius: var(--r-pill); background: var(--accent-grad); color: #111; font-weight: 600; font-size: var(--fs-small);
  letter-spacing: -.005em; cursor: pointer; transition: transform var(--t-fast) var(--ease), filter var(--t-fast) var(--ease); }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 var(--s4); font-size: .875rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); filter: none; }
.link { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; font-weight: 500; font-size: var(--fs-small); color: var(--ink); }
.link .i { width: 1.1em; height: 1.1em; transition: transform var(--t-fast) var(--ease); }
.link:hover .i { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background var(--t) var(--ease), border-color var(--t) var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(11, 11, 12, .82); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--line); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: var(--s6); }
.lockup { display: inline-flex; align-items: center; gap: var(--s4); }
.lockup-ls { height: 17px; width: auto; filter: brightness(0) invert(1); }
.lockup-jm { height: 26px; width: auto; }
.lockup-div { width: 1px; height: 22px; background: var(--accent); }
.nav { display: flex; gap: var(--s6); margin-left: auto; }
.nav a { font-size: .875rem; color: var(--ink-2); transition: color var(--t-fast); position: relative; padding-block: var(--s2); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); }
.menu-btn { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; cursor: pointer; }
.menu-bars, .menu-bars::before { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: auto; transition: transform var(--t) var(--ease); }
.menu-bars { position: relative; transform: translateY(-3px); }
.menu-bars::before { content: ""; position: absolute; top: 6px; }
.menu-btn[aria-expanded="true"] .menu-bars { transform: translateY(0) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(-6px) rotate(-90deg); }
.menu { position: fixed; inset: var(--header-h) 0 0; background: var(--bg); border-top: 1px solid var(--line); }
.menu nav { display: grid; padding-top: var(--s6); }
.menu a { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }

/* Hero */
.hero { position: relative; padding-top: var(--header-h); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); min-height: min(calc(100svh - var(--header-h)), 900px); }
.hero-copy { grid-column: 1 / span 7; grid-row: 1; align-self: center; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s6); padding-block: var(--s8); }
.hero-copy .display { margin-bottom: calc(var(--s2) * -1); }
.hero-note { color: var(--ink-3); font-size: var(--fs-small); padding-top: var(--s5); border-top: 1px solid var(--line); max-width: 34ch; }
.hero-media { grid-column: 7 / span 6; grid-row: 1; position: relative; z-index: 1; margin-right: calc(var(--gutter) * -1); min-height: 560px; }
.hero-media img { position: absolute; inset: var(--s5) 0 0 var(--s7); width: calc(100% - var(--s7)); height: calc(100% - var(--s5)); object-fit: contain; object-position: right bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 72%, transparent 99%), linear-gradient(to right, transparent, #000 10%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 72%, transparent 99%), linear-gradient(to right, transparent, #000 10%, #000 92%, transparent);
  mask-composite: intersect; }

/* Bandas */
.band { padding-block: var(--section); position: relative; }
.band-alt { background: var(--bg-alt); }
.band-light { background: var(--bg-light); color: var(--ink-dark); }
.band-light .label { color: var(--ink-dark-2); }
.band-light .label span { color: var(--accent-ink); }
.band-light .sub { color: var(--ink-dark-2); }
.section-head { display: grid; gap: var(--s5); margin-bottom: var(--s8); max-width: 900px; }

/* 01 Valor */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s6); align-items: start; }
.split-head { grid-column: 1 / span 5; display: grid; gap: var(--s5); position: sticky; top: calc(var(--header-h) + var(--s7)); }
.rows { grid-column: 7 / span 6; border-top: 1px solid var(--line-dark); }
.row { display: grid; grid-template-columns: 56px 1fr; gap: var(--s4); padding-block: var(--s6); border-bottom: 1px solid var(--line-dark); }
.row-n { color: var(--accent-ink); padding-top: .45em; }
.row p { color: var(--ink-dark-2); margin-top: var(--s2); max-width: 44ch; }

/* 02 Sistema · capas */
.layers { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s6); align-items: start; }
.layers-list { grid-column: 1 / span 3; display: grid; border-top: 1px solid var(--line); }
.layers-list button { display: flex; align-items: center; gap: var(--s3); min-height: 56px; padding: 0; border: 0; border-bottom: 1px solid var(--line);
  background: none; color: var(--ink-3); font-size: 1.0625rem; font-weight: 500; text-align: left; cursor: pointer; transition: color var(--t-fast) var(--ease); }
.layers-list button:hover { color: var(--ink-2); }
.layers-list button[aria-selected="true"] { color: var(--ink); }
.layers-list button[aria-selected="true"] .i { color: var(--accent); }
.ln { width: 28px; color: inherit; opacity: .7; }
.layers-stage { grid-column: 4 / span 9; display: grid; gap: var(--s5); }
.stage-img { position: relative; border-radius: var(--r-md); overflow: hidden; background: #08070a; }
.stage-img img { width: 100%; }
.pin { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 6px rgba(242, 140, 60, .25), 0 0 0 1px rgba(0, 0, 0, .4); transition: left var(--t-slow) var(--ease), top var(--t-slow) var(--ease); }
.pin::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(242, 140, 60, .6); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.stage-copy { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: var(--s5); align-items: baseline; padding-top: var(--s4); }
.stage-copy p { color: var(--ink-2); }
.stage-meta { color: var(--ink-3) !important; white-space: nowrap; }

/* 03 Niveles */
.matrix-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; min-width: 760px; border-collapse: collapse; }
.matrix th, .matrix td { padding: var(--s4) var(--s3); border-bottom: 1px solid var(--line); text-align: center; font-weight: 500; }
.matrix thead th { vertical-align: bottom; padding-bottom: var(--s5); }
.matrix th:first-child { text-align: left; width: 26%; }
.lvl { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
.lvl-d { display: block; margin-top: var(--s1); color: var(--ink-3); }
.matrix tbody th { font-weight: 500; color: var(--ink); }
.matrix tbody th .th-in { display: inline-flex; align-items: center; gap: var(--s3); }
.matrix tbody th .i { color: var(--ink-3); }
.mk { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; }
.mk-on { background: var(--accent); }
.mk-off { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.matrix tfoot th, .matrix tfoot td { border-bottom: 0; padding-top: var(--s5); color: var(--ink-2); font-size: var(--fs-small); }
.matrix tfoot th { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; }
.matrix small { color: var(--ink-3); margin-left: 2px; }
sup { font-size: .6em; vertical-align: super; line-height: 0; }

/* 04 Productos */
.product { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s6); align-items: center; padding-block: var(--s7); border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; padding-top: 0; }
.product-img { grid-column: 1 / span 6; border-radius: var(--r-md); overflow: hidden; background: #0d0d0e; aspect-ratio: 4 / 5; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-copy { grid-column: 8 / span 5; display: grid; gap: var(--s4); }
.product-rev .product-img { grid-column: 7 / span 6; order: 2; }
.product-rev .product-copy { grid-column: 1 / span 5; }
.kicker { color: var(--accent); }
.product-name { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
.product-line { color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.4; max-width: 30ch; }
.spec { margin-top: var(--s4); border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 11rem 1fr; gap: var(--s4); padding-block: var(--s4); border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 600; }
.spec dd { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.5; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.chips span { font-size: .8125rem; color: var(--ink-2); padding: .35rem .8rem; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); }

/* 05 Calculadora */
.calc { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s6); align-items: start; }
.calc-form { grid-column: 1 / span 7; display: grid; gap: var(--s7); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s4); }
.step legend { display: flex; align-items: center; gap: var(--s3); font-weight: 600; font-size: 1.125rem; margin-bottom: var(--s4); padding: 0; }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-dark); color: var(--ink-dark-2); letter-spacing: 0; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.seg label, .levels label { position: relative; cursor: pointer; }
.seg input, .levels input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 52px; padding: var(--s2) var(--s3); text-align: center; border-radius: var(--r-sm);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); font-weight: 500; font-size: var(--fs-small); line-height: 1.25; transition: box-shadow var(--t-fast), background var(--t-fast); }
.seg input:checked + span { box-shadow: inset 0 0 0 2px var(--ink-dark); }
.seg input:focus-visible + span, .levels input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.range-field { display: grid; grid-template-columns: 1fr auto; gap: var(--s3) var(--s4); align-items: baseline; }
.range-field label { color: var(--ink-dark-2); font-size: var(--fs-small); }
.range-field output { font-weight: 600; font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.range-field input { grid-column: 1 / -1; width: 100%; accent-color: var(--ink-dark); height: 28px; }
.range-field + .range-field { margin-top: var(--s5); }
.levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s2); }
.levels span { display: grid; gap: 2px; min-height: 76px; align-content: center; padding: var(--s3); border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); transition: box-shadow var(--t-fast); }
.levels b { font-weight: 600; font-size: var(--fs-small); }
.levels i { font-style: normal; font-size: .75rem; color: var(--ink-dark-2); line-height: 1.3; }
.levels input:checked + span { box-shadow: inset 0 0 0 2px var(--ink-dark); }
.levels label.is-reco span::before { content: "Sugerido"; position: absolute; top: -9px; left: var(--s3); font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ink-dark); color: #fff; padding: 2px 6px; border-radius: 4px; }
.hint { font-size: var(--fs-small); color: var(--ink-dark-2); }

.summary { grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + var(--s5)); background: var(--bg); color: var(--ink);
  border-radius: var(--r-md); padding: var(--s6); display: grid; gap: var(--s3); }
.summary-k { color: var(--ink-2); }
.summary-v { font-size: clamp(1.75rem, 1.3rem + 1vw, 2.125rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary-u, .summary-t { color: var(--ink-2); font-size: var(--fs-small); }
.summary-t { color: var(--ink); }
.summary-layers { display: grid; gap: var(--s2); padding-block: var(--s4); margin-block: var(--s2); border-block: 1px solid var(--line); }
.summary-layers li { display: flex; align-items: center; gap: var(--s3); font-size: var(--fs-small); color: var(--ink-2); }
.summary-layers li .i { color: var(--accent); width: 1.1em; height: 1.1em; }
.summary-f { color: var(--ink-3); font-size: .8125rem; text-align: center; }

.leadform { margin-top: var(--s8); padding-top: var(--s7); border-top: 1px solid var(--line-dark); display: grid; gap: var(--s6); }
.lead-head { display: grid; gap: var(--s2); }
.lead-head p { color: var(--ink-dark-2); }
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.f { display: grid; gap: var(--s2); font-size: var(--fs-small); color: var(--ink-dark-2); }
.f input, .f select { min-height: 52px; padding: 0 var(--s4); border: 0; border-radius: var(--r-sm); background: #fff; color: var(--ink-dark);
  box-shadow: inset 0 0 0 1px var(--line-dark); font-size: 1rem; appearance: none; }
.f select { background-image: linear-gradient(45deg, transparent 50%, #5c5a56 50%), linear-gradient(135deg, #5c5a56 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.f input:focus, .f select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink-dark); }
.f.is-error input, .f.is-error select { box-shadow: inset 0 0 0 2px #c2410c; }
.check { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--fs-small); color: var(--ink-dark-2); max-width: 60ch; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink-dark); flex: none; }
.check.is-error { color: #c2410c; }
.lead-actions { display: flex; align-items: center; gap: var(--s5); }
.lead-err { color: #c2410c; font-size: var(--fs-small); }
.lead-ok { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s5); border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); }
.lead-ok .i { color: var(--accent-ink); margin-top: 2px; }

/* 06 Stand */
.stand { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s6); align-items: center; }
.stand-img { grid-column: 1 / span 7; border-radius: var(--r-md); overflow: hidden; }
.stand-copy { grid-column: 9 / span 4; display: grid; gap: var(--s5); }
.facts { border-top: 1px solid var(--line); margin-block: var(--s2); }
.facts div { display: grid; gap: var(--s1); padding-block: var(--s4); border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-3); }
.facts dd { color: var(--ink); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: var(--s8) var(--s6); color: var(--ink-2); font-size: var(--fs-small); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s5); padding-bottom: var(--s7); }
.footer-claim { color: var(--ink); font-weight: 500; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); padding-block: var(--s6); border-block: 1px solid var(--line); }
.footer-cols > * { display: grid; gap: var(--s2); align-content: start; }
.footer h4 { color: var(--ink-3); margin-bottom: var(--s2); }
.footer a:hover { color: var(--ink); }
.notes { list-style: decimal; padding: var(--s6) 0 0 1.2em; display: grid; gap: var(--s2); color: var(--ink-3); font-size: .8125rem; max-width: 90ch; }
.legal { color: var(--ink-3); font-size: .8125rem; padding-top: var(--s5); }

/* Motion */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pin::after { animation: none; }
  * { transition-duration: 0ms !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-row .btn-sm { margin-left: auto; }
  .menu-btn { display: block; margin-left: 0; }
  .layers-list { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); border-top: 0; gap: 0 var(--s4); }
  .layers-stage { grid-column: 1 / -1; }
  .summary { grid-column: 1 / -1; position: static; }
  .calc-form { grid-column: 1 / -1; }
  .stand-copy { grid-column: 8 / span 5; }
}
@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .header-row .btn-sm { display: none; }
  .menu-btn { margin-left: auto; }
  .lockup-ls { height: 14px; }
  .lockup-jm { height: 26px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .lockup-jm { height: 22px; }
  .hero-copy { grid-column: 1; grid-row: 1; padding-block: var(--s7) 0; }
  .hero-media { grid-column: 1; grid-row: 2; margin: calc(var(--s5) * -1) calc(var(--gutter) * -1) 0; min-height: 0; aspect-ratio: 4 / 4.6; }
  .split, .layers, .calc, .stand, .product { grid-template-columns: 1fr; }
  .split-head, .rows, .product-img, .product-copy, .product-rev .product-img, .product-rev .product-copy, .stand-img, .stand-copy { grid-column: 1; order: 0; }
  .split-head { position: static; }
  .layers > *, .calc > *, .product > *, .split > *, .stand > * { min-width: 0; }
  .layers-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s3); }
  .layers-list button { font-size: .9375rem; gap: var(--s2); }
  .ln { width: 22px; }
  .stage-copy { grid-template-columns: 1fr; gap: var(--s2); }
  .spec div { grid-template-columns: 1fr; gap: var(--s1); }
  .seg { grid-template-columns: repeat(2, 1fr); }
  .levels { grid-template-columns: 1fr; }
  .levels span { min-height: 56px; grid-template-columns: 7rem 1fr; align-items: center; }
  .fields { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .product { gap: var(--s5); }
}

/* Tabla de niveles en móvil: la columna de capas queda fija al deslizar */
@media (max-width: 900px) {
  .matrix th:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg-alt); width: 9.5rem; }
  .matrix-scroll::after { content: "Desliza para comparar →"; display: block; padding-top: var(--s4); font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); position: sticky; left: 0; }
}

/* =========================================================
   v02 · 02 SISTEMA — scroll-motion sobre el esqueleto isométrico
   ========================================================= */
.scrolly-band { padding-bottom: 0; }
.scrolly-band .section-head { margin-bottom: var(--s6); }
.scrolly { position: relative; height: calc(var(--steps) * 72vh + 100svh); }
.scrolly-pin { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); display: flex; align-items: center; overflow: hidden; }
.scrolly-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s6); align-items: center; }
.scrolly-text { grid-column: 1 / span 4; display: grid; gap: var(--s6); align-content: center; }
.scrolly-visual { grid-column: 5 / span 8; position: relative; margin: 0; }

.scrolly-count { display: flex; align-items: baseline; gap: var(--s3); font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.scrolly-of { font-family: var(--mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: .1em; color: var(--ink-3); }
.scrolly-steps { display: grid; min-height: 15.5rem; }
.step-card { grid-area: 1 / 1; display: grid; align-content: start; gap: var(--s4); opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity 160ms var(--ease), transform 160ms var(--ease); }
.step-card.is-active { opacity: 1; transform: none; pointer-events: auto;
  transition: opacity var(--t) var(--ease) 170ms, transform var(--t) var(--ease) 170ms; }
.iso .lbl line { stroke: rgba(255, 255, 255, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.iso .lbl text { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; fill: var(--ink);
  paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; }
.iso .lbl { opacity: clamp(0, calc(var(--t) * 2 - 1), 1); transition: opacity var(--t) var(--ease); }
.iso-layer.is-past .lbl, .scrolly.is-complete .iso-layer:not(:last-child) .lbl { opacity: 0; }
.step-card .h3 { display: flex; align-items: center; gap: var(--s3); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.step-card .h3 .i { color: var(--accent); width: 1em; height: 1em; }
.step-card > p:not(.step-meta) { color: var(--ink-2); max-width: 36ch; }
.devices { display: flex; flex-wrap: wrap; gap: var(--s2); }
.devices li { font-size: .8125rem; color: var(--ink-2); padding: .3rem .75rem; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); }
.step-meta { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.scrolly-rail { display: flex; gap: 6px; }
.scrolly-rail button { flex: 1; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.scrolly-rail span { display: block; width: 100%; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); transition: background var(--t) var(--ease); }
.scrolly-rail .is-done span { background: rgba(242, 140, 60, .45); }
.scrolly-rail .is-active span { background: var(--accent); }
.scrolly-rail button:hover span { background: rgba(255, 255, 255, .4); }
.scrolly-hint { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: var(--s2); font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); transition: opacity var(--t); }
.scrolly-hint .i { transform: rotate(90deg); width: 1.1em; height: 1.1em; }
.scrolly.is-complete .scrolly-hint { opacity: 0; }

/* Dibujo */
.iso { display: block; width: 100%; height: auto; max-height: calc(100svh - var(--header-h) - 3rem); overflow: visible; }
.iso polyline, .iso polygon { vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.iso .floor { fill: rgba(255, 255, 255, .022); stroke: rgba(255, 255, 255, .26); stroke-width: 1; }
.iso .slab { fill: rgba(255, 255, 255, .045); stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.iso .grid { fill: none; stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
.iso .wall { fill: rgba(255, 255, 255, .028); stroke: rgba(255, 255, 255, .3); stroke-width: 1; }
.iso .wall.cut { fill: rgba(255, 255, 255, .07); }
.iso .door { fill: var(--bg); stroke: rgba(255, 255, 255, .3); stroke-width: 1; }
.iso .ceil { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1; stroke-dasharray: .006 .012; }
.iso .furn { fill: rgba(255, 255, 255, .02); stroke: rgba(255, 255, 255, .17); stroke-width: 1; }
.iso .furn.box-top { fill: rgba(255, 255, 255, .045); }
.iso .rail { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; }

.iso-layer { opacity: 0; transition: opacity var(--t) var(--ease); --t: 0; }
.iso-layer.is-on { opacity: 1; }
.iso-layer.is-past { opacity: .42; }
.scrolly.is-complete .iso-layer { opacity: 1; }
.iso .wire, .iso .track, .iso .air, .iso .path, .iso .fold {
  fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--t)); }
.iso .wire.net { stroke-width: 1.1; }
.iso .air { stroke-width: 1.1; opacity: .75; }
.iso .fold { stroke-width: 1; opacity: .5; }
.iso .track { stroke-width: 2.4; }
.iso .wave { fill: none; stroke: var(--accent); stroke-width: 1; opacity: calc(var(--t) * .55); }
.iso .wave.w2 { opacity: calc(var(--t) * .32); }
.iso .wave.w3 { opacity: calc(var(--t) * .18); }
.iso .pool { fill: rgba(242, 140, 60, .1); stroke: rgba(242, 140, 60, .3); stroke-width: .8; opacity: var(--t); }
.iso .panel, .iso .door-on { fill: rgba(242, 140, 60, .2); stroke: var(--accent); stroke-width: 1.4; opacity: var(--t); }
.iso .cone { fill: rgba(242, 140, 60, .09); stroke: rgba(242, 140, 60, .45); stroke-width: .8; opacity: var(--t); }
.iso .unit { fill: rgba(242, 140, 60, .14); stroke: var(--accent); stroke-width: 1.2; opacity: var(--t); }
.iso .dev { opacity: clamp(0, calc(var(--t) * 3 - 1.4), 1); transform: scale(calc(.5 + var(--t) * .5)); }
.iso .dev-core { fill: var(--accent); }
.iso .dev-halo { fill: rgba(242, 140, 60, .2); }
.iso-layer.is-on:not(.is-past) .dev-halo { animation: halo 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { 0%, 100% { opacity: .9; transform: scale(.8); } 50% { opacity: .35; transform: scale(1.35); } }

/* Sin JS: lista estática de capas */
.no-js .scrolly { height: auto; }
.no-js .scrolly-pin { position: static; height: auto; }
.no-js .scrolly-steps { gap: var(--s6); }
.no-js .step-card { grid-area: auto; opacity: 1; transform: none; }
.no-js .scrolly-visual, .no-js .scrolly-count, .no-js .scrolly-rail { display: none; }

@media (max-width: 1080px) {
  .scrolly-text { grid-column: 1 / span 5; }
  .scrolly-visual { grid-column: 6 / span 7; }
}
@media (max-width: 760px) {
  .scrolly { height: calc(var(--steps) * 80svh + 100svh); }
  .scrolly-pin { align-items: stretch; }
  .scrolly-grid { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: var(--s4); align-content: start; padding-top: var(--s4); }
  .scrolly-visual, .scrolly-text { grid-column: 1; }
  .scrolly-visual { order: -1; }
  .scrolly-visual { margin-inline: calc(var(--gutter) * -1); }
  .iso { width: 106%; max-width: none; margin-left: -1%; max-height: 46svh; }
  .iso .lbl text { font-size: 20px; stroke-width: 8px; }
  .scrolly-text { gap: var(--s4); align-content: start; }
  .scrolly-count { font-size: 2.25rem; }
  .scrolly-steps { min-height: 13rem; }
  .step-card { gap: var(--s3); }
  .step-card .h3 { font-size: 1.375rem; }
  .step-card > p:not(.step-meta) { font-size: var(--fs-small); }
  .scrolly-hint { display: none; }
}

/* =========================================================
   v02 · 05 Cotización preliminar
   ========================================================= */
.f span em { font-style: normal; opacity: .6; }
.lead-head .label { color: var(--ink-dark-2); }
.quote { margin-top: var(--s8); max-width: 880px; background: var(--bg); color: var(--ink); border-radius: var(--r-md);
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); display: grid; gap: var(--s5); }
.quote-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.quote-brand { display: flex; align-items: center; gap: var(--s4); }
.q-ls { height: 15px; width: auto; filter: brightness(0) invert(1); }
.q-jm { height: 22px; width: auto; }
.quote-folio { display: grid; justify-items: end; gap: 2px; }
.quote-folio span { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.quote-folio b { font-family: var(--mono); font-weight: 500; color: var(--accent); letter-spacing: .04em; }
.quote .h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -.03em; }
.quote-for { color: var(--ink-2); margin-top: calc(var(--s4) * -1); }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4) var(--s6); }
.quote-grid div { border-top: 1px solid var(--line); padding-top: var(--s3); display: grid; gap: var(--s1); }
.quote-grid dt { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.quote-total { padding: var(--s5); border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: var(--s2); }
.quote-total .summary-k { color: var(--ink-2); }
.quote-v { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.quote-u { color: var(--ink-2); font-size: var(--fs-small); }
.quote-next { color: var(--ink-2); max-width: 60ch; }
.quote-next b { color: var(--ink); font-weight: 600; }
.quote-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }
.btn-ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1px var(--ink); filter: none; }
.link-dark { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-2); }
.link-dark:hover { color: var(--ink); }
.quote-legal { color: var(--ink-3); font-size: .8125rem; }
@media (max-width: 760px) { .quote-grid { grid-template-columns: 1fr; } .quote-head { align-items: flex-start; flex-direction: column; } .quote-folio { justify-items: start; } }

/* Impresión / PDF de la cotización */
@media print {
  @page { size: A4; margin: 14mm; }
  body.print-quote { background: #fff; }
  body.print-quote * { visibility: hidden !important; }
  body.print-quote .quote, body.print-quote .quote * { visibility: visible !important; }
  body.print-quote .site-header { display: none; }
  body.print-quote .quote { position: absolute; left: 0; top: 0; width: 100%; max-width: none; margin: 0; background: #fff; color: #111;
    -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.print-quote .quote .q-ls { filter: none; }
  body.print-quote .quote .q-jm { filter: invert(1); }
  body.print-quote .quote-for, body.print-quote .quote-u, body.print-quote .quote-next, body.print-quote .quote-total .summary-k { color: #444; }
  body.print-quote .quote-grid div, body.print-quote .quote-head { border-color: #ddd; }
  body.print-quote .quote-total { box-shadow: inset 0 0 0 1px #ddd; }
  body.print-quote .no-print { display: none !important; }
}

/* v03 · Panel Nature + Nature X en una misma ficha */
.product-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); background: none; }
.product-duo img { height: 100%; object-fit: cover; border-radius: var(--r-md); }

/* =========================================================
   v04 · 02 Sistema — casa de dos plantas (despiece)
   ========================================================= */
.iso .void { fill: var(--bg); stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.iso .guide { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 1; stroke-dasharray: .03 .03; }
.iso .flr { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; fill: var(--ink-3); }
@media (max-width: 760px) { .iso .flr { font-size: 18px; } }

/* =========================================================
   v04 · 04 Soluciones — equipos bajo cada solución
   ========================================================= */
.matrix tbody th .th-in > span { display: grid; gap: 2px; }
.th-dev { font-size: .75rem; font-weight: 400; color: var(--ink-3); line-height: 1.35; }

/* =========================================================
   v04 · 05 Calculadora — Hogar / Negocio, barras, burbujas y prototipo isométrico
   ========================================================= */
.calc-form { grid-column: 1 / span 6; }
.proto { grid-column: 8 / span 5; position: sticky; top: calc(var(--header-h) + var(--s5)); background: var(--bg); color: var(--ink);
  border-radius: var(--r-md); padding: var(--s5); display: grid; gap: var(--s4); }
.proto-head { display: grid; gap: var(--s1); }
.proto-desc { font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.proto-stage { margin-inline: calc(var(--s5) * -1); border-block: 1px solid var(--line); }
.proto-iso { display: block; width: 100%; height: clamp(200px, 30vh, 270px); overflow: visible; }
.proto-legend { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s4); }
.proto-legend li { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: var(--s2); font-size: .875rem; line-height: 1.3; color: var(--ink); }
.proto-legend li .i { color: var(--accent); width: 1.05em; height: 1.05em; margin-top: 1px; }
.proto-legend em { display: block; font-style: normal; color: var(--ink-3); font-size: .75rem; font-variant-numeric: tabular-nums; }
.proto-legend .is-empty { display: block; grid-column: 1 / -1; color: var(--ink-3); }
.proto-budget { display: grid; gap: var(--s1); padding-top: var(--s4); border-top: 1px solid var(--line); }
.proto .btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }

/* Paso 1: segmento A/B + tipo de inmueble */
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.seg2 label, .types label { position: relative; cursor: pointer; }
.seg2 input, .types input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg2 span { display: grid; grid-template-columns: auto 1fr; gap: 2px var(--s3); align-items: center; min-height: 84px; padding: var(--s4) var(--s5);
  border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); transition: box-shadow var(--t-fast), background var(--t-fast); }
.seg2 .i { grid-row: span 2; width: 1.6rem; height: 1.6rem; color: var(--ink-dark-2); }
.seg2 b { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; }
.seg2 b em { font-style: normal; font-family: var(--mono); font-size: .8125rem; color: var(--accent-ink); margin-right: .2em; }
.seg2 i { font-style: normal; font-size: .8125rem; color: var(--ink-dark-2); line-height: 1.35; }
.seg2 input:checked + span { box-shadow: inset 0 0 0 2px var(--ink-dark); }
.seg2 input:checked + span .i { color: var(--accent-ink); }
.types { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s2); }
.types span { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; padding: 0 var(--s4); border-radius: var(--r-pill);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); font-size: var(--fs-small); font-weight: 500; transition: box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast); }
.types small { color: var(--ink-dark-2); font-weight: 400; }
.types input:checked + span { background: var(--ink-dark); color: #fff; box-shadow: none; }
.types input:checked + span small { color: rgba(255, 255, 255, .65); }
.seg2 input:focus-visible + span, .types input:focus-visible + span, .bubble:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.types-note { font-size: var(--fs-small); color: var(--ink-dark-2); padding-left: var(--s3); border-left: 2px solid var(--accent); }

/* Paso 2: barras */
.range-field input:disabled { opacity: .4; }
.range-ends { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: -6px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; color: var(--ink-dark-2); }

/* Paso 3: burbujas */
.step legend { width: 100%; }
.step legend .link-reco { margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer; font-size: .8125rem; font-weight: 500;
  color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.bubbles { display: flex; flex-wrap: wrap; gap: var(--s2); }
.bubble { position: relative; display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s5) 0 var(--s4);
  border: 0; border-radius: var(--r-pill); background: #fff; color: var(--ink-dark); box-shadow: inset 0 0 0 1px var(--line-dark);
  font-size: var(--fs-small); font-weight: 500; cursor: pointer; transition: background var(--t-fast) var(--ease), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) var(--ease); }
.bubble .i { color: var(--ink-dark-2); width: 1.15em; height: 1.15em; }
.bubble:hover { box-shadow: inset 0 0 0 1px var(--ink-dark); }
.bubble:active { transform: scale(.97); }
.bubble[aria-pressed="true"] { background: var(--ink-dark); color: #fff; box-shadow: none; }
.bubble[aria-pressed="true"] .i { color: var(--accent); }
.bubble-reco { position: absolute; top: 7px; right: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0; transition: opacity var(--t-fast); }
.bubble.is-reco .bubble-reco { opacity: 1; }
.hint { display: flex; align-items: baseline; gap: var(--s2); }
.reco-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }

/* Prototipo isométrico (SVG en metros; trazos de grosor fijo) */
.proto-iso polygon, .proto-iso polyline, .proto-iso circle { vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.proto-iso .p-shadow { fill: rgba(255, 255, 255, .025); stroke: rgba(255, 255, 255, .12); stroke-width: 1; stroke-dasharray: 3 4; }
.proto-iso .p-lot { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .25); stroke-width: 1; stroke-dasharray: 5 5; }
.proto-iso .p-tree { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.proto-iso .p-tree-c { fill: rgba(255, 255, 255, .3); }
.proto-iso .p-plate { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .34); stroke-width: 1; }
.proto-iso .p-face { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.proto-iso .p-face-r { fill: rgba(255, 255, 255, .05); }
.proto-iso .p-band { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.proto-iso .p-edge { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1; }
.proto-iso .p-top { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .45); stroke-width: 1; }
.proto-iso .p-dot { fill: var(--accent); }
.proto-iso .p-ring { fill: none; stroke: var(--accent); stroke-width: 1; }
.proto-iso .p-siren { fill: rgba(242, 140, 60, .35); stroke: var(--accent); stroke-width: 1.2; }
.proto-iso .p-unit { fill: rgba(242, 140, 60, .2); stroke: var(--accent); stroke-width: 1.2; }
.proto-iso .p-air, .proto-iso .p-fold { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .6; }
.proto-iso .p-track { fill: none; stroke: var(--accent); stroke-width: 2.2; }
.proto-iso .p-wave { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .55; }
.proto-iso .p-door { fill: rgba(242, 140, 60, .28); stroke: var(--accent); stroke-width: 1.4; }
.proto-iso .p-cone { fill: rgba(242, 140, 60, .1); stroke: rgba(242, 140, 60, .5); stroke-width: 1; }
.proto-iso .p-riser { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 4 3; }
.proto-iso .p-solar { fill: rgba(242, 140, 60, .16); stroke: var(--accent); stroke-width: 1; }
.proto-iso .p-floor.is-new { animation: floorIn 520ms var(--ease) both; animation-delay: var(--d); }
.proto-iso .p-sol.is-new { animation: solIn 600ms var(--ease) both; }
@keyframes floorIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes solIn { 0% { opacity: 0; } 40% { opacity: 1; filter: drop-shadow(0 0 6px rgba(242, 140, 60, .9)); } 100% { opacity: 1; filter: none; } }

/* =========================================================
   v04 · 06 Stand — mapa del Salón Regency
   ========================================================= */
.feria { grid-column: 1 / span 7; margin: 0; display: grid; gap: var(--s3); }
.feria-map { display: block; width: 100%; height: auto; border-radius: var(--r-md); background: var(--bg-alt); }
.feria figcaption { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fm-hall { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; }
.fm-stands rect { fill: rgba(255, 255, 255, .03); stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.fm-stands text { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; fill: var(--ink-3); text-anchor: middle; }
.fm-hall-name { font-family: var(--mono); font-size: 13px; letter-spacing: .3em; fill: var(--ink-2); text-anchor: middle; }
.fm-here rect { fill: rgba(242, 140, 60, .22); stroke: var(--accent); stroke-width: 2; }
.fm-here text { font-family: var(--font); font-weight: 700; font-size: 26px; fill: var(--accent); text-anchor: middle; letter-spacing: -.02em; }
.fm-pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: fmPulse 2.4s var(--ease) infinite; }
@keyframes fmPulse { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.fm-tag line { stroke: var(--accent); stroke-width: 1.5; }
.fm-tag rect { fill: var(--accent); }
.fm-tag text { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; fill: #111; text-anchor: middle; }

@media (max-width: 1080px) {
  .calc-form, .proto { grid-column: 1 / -1; }
  .proto { position: static; }
}
@media (max-width: 760px) {
  .seg2 { grid-template-columns: 1fr; }
  .seg2 span { min-height: 68px; }
  .feria { grid-column: 1; }
  .proto-iso { height: 240px; }
  .fm-stands text { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .fm-pulse, .proto-iso .is-new { animation: none; } }


/* =========================================================
   v05 · Solicitud enviada: gracias + atajo a WhatsApp
   ========================================================= */
.thanks { margin-top: var(--s8); max-width: 640px; background: var(--bg); color: var(--ink); border-radius: var(--r-md);
  padding: clamp(1.5rem, 1rem + 3vw, 3rem); display: grid; gap: var(--s4); outline: none; }
.thanks-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(242, 140, 60, .14); color: var(--accent); }
.thanks-mark .i { width: 22px; height: 22px; stroke-width: 2; }
.thanks .h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.thanks > p { color: var(--ink-2); }
.thanks-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s2); }
.btn-wa .i { width: 1.15em; height: 1.15em; stroke-width: 2; }
.thanks-folio { font-family: var(--mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: var(--s4); border-top: 1px solid var(--line); }
.thanks-folio b { color: var(--accent); font-weight: 500; }
.facts dd a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
.facts dd a:hover { text-decoration-color: var(--accent); }

@media (max-width: 760px) {
  .hero-copy, .hero-media { grid-column: 1; }
  .hero-media { margin: 0 calc(var(--gutter) * -1); aspect-ratio: 1 / 1; }
  .hero-media img { inset: 0; height: 100%; }
}

/* =========================================================
   v06 · Correcciones del cliente (02-11-26)
   ========================================================= */
:root { --rib-h: 34px; --wa: #25d366; }

/* Cintillo del evento + header (logos más grandes, WhatsApp junto al CTA) */
.ribbon { position: fixed; inset: 0 0 auto; z-index: 61; height: var(--rib-h); margin: 0; display: flex; align-items: center; justify-content: center; gap: .55em;
  background: #141316; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.ribbon a { color: var(--accent); }
.ribbon a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ribbon-sep { color: var(--ink-3); }
.site-header { top: var(--rib-h); }
html { scroll-padding-top: calc(var(--header-h) + var(--rib-h)); }
.lockup-ls { height: 22px; }
.lockup-jm { height: 36px; }
.lockup-div { height: 28px; }
.header-cta { display: flex; align-items: center; gap: var(--s2); margin-left: var(--s4); }
.btn-sm { min-height: 44px; }
.calc-short { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06);
  color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) var(--ease); }
.icon-btn:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.icon-btn:active { transform: scale(.95); }
.icon-btn .i { width: 20px; height: 20px; }
.wa-btn { color: var(--wa); }
.menu-btn { margin-left: 0; }

/* Menú móvil sólido (vive fuera del header) */
.menu { position: fixed; inset: calc(var(--rib-h) + var(--header-h)) 0 0; z-index: 59; background: var(--bg); border-top: 1px solid var(--line);
  overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: var(--s6); }
.menu a:not(.btn) { display: block; font-size: 1.75rem; font-weight: 600; letter-spacing: -.03em; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.menu a:not(.btn):hover { color: var(--accent); }
.menu-foot { padding-top: var(--s6); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: var(--line); }

/* WhatsApp siempre visible */
.btn .i { width: 1.15em; height: 1.15em; }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-wa-ghost { background: rgba(9, 8, 11, .35); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-wa-ghost .i { color: var(--wa); }
.btn-wa-ghost:hover { box-shadow: inset 0 0 0 1px #fff; filter: none; background: rgba(9, 8, 11, .55); }
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 55; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast); }
.wa-float:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.wa-float .i { width: 28px; height: 28px; }
.mbar { display: none; }

/* 1 · Hero en slideshow */
.hero { position: relative; padding-top: 0; height: min(100svh, 920px); min-height: 600px; overflow: hidden; background: #000; color: var(--ink); border: 0; }
.hero-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 900ms var(--ease), visibility 0s linear 900ms; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 900ms var(--ease); }
.slide-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 8, 11, .75) 0%, rgba(9, 8, 11, 0) 24%), linear-gradient(90deg, rgba(9, 8, 11, .82) 0%, rgba(9, 8, 11, .45) 42%, rgba(9, 8, 11, 0) 70%), linear-gradient(0deg, rgba(9, 8, 11, .85) 0%, rgba(9, 8, 11, 0) 38%); }
.slide-copy { position: absolute; left: 0; right: 0; bottom: calc(var(--s10) + 40px); z-index: 2; display: grid; gap: var(--s4); }
.slide-copy .display { max-width: 12ch; }
.slide-copy .lead { color: rgba(244, 243, 241, .82); max-width: 34ch; }
.slide.is-active .slide-copy > * { animation: rise 900ms var(--ease) both; }
.slide.is-active .slide-copy > .lead { animation-delay: 120ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-ui { position: absolute; left: 0; right: 0; bottom: var(--s7); z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); }
.hero-nav { display: flex; align-items: center; gap: var(--s4); }
.hero-dots { display: flex; gap: var(--s3); }
.hero-dots button { display: grid; gap: 6px; width: 72px; min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; text-align: left; }
.hero-dots button:hover { color: var(--ink); }
.dot-n { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; }
.dot-bar { display: block; height: 2px; background: rgba(255, 255, 255, .25); border-radius: 2px; overflow: hidden; }
.dot-bar i { display: block; height: 100%; width: 0; background: var(--accent); }
.hero-dots [aria-selected="true"] { color: var(--ink); }
.hero-dots [aria-selected="true"] .dot-bar i { width: 100%; }
.hero-dots .is-run .dot-bar i { width: 0; animation: bar 8s linear forwards; }
@keyframes bar { to { width: 100%; } }
.hero-pause { background: rgba(9, 8, 11, .35); }

/* 2 · Para tu proyecto: 4 tarjetas */
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.vcard { display: grid; align-content: start; gap: var(--s3); padding: var(--s6) var(--s5); background: #fff; border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line-dark); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.vcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(18, 18, 18, .22), 0 14px 30px rgba(18, 18, 18, .08); }
.vcard-i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(242, 140, 60, .12); color: var(--accent-ink); margin-bottom: var(--s2); }
.vcard-i .i { width: 26px; height: 26px; }
.vcard p { color: var(--ink-dark-2); }

/* Carrusel genérico para celular */
.snap { scrollbar-width: none; }
.snap::-webkit-scrollbar { display: none; }

/* 3 · Kits */
.kits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s3); align-items: stretch; }
.kit { display: grid; grid-template-rows: auto 1fr; background: #111013; border-radius: var(--r-md); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.kit:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 18px 40px rgba(0, 0, 0, .35); }
.kit.is-featured { box-shadow: inset 0 0 0 1px rgba(242, 140, 60, .55); }
.kit-img { margin: 0; aspect-ratio: 16 / 10; display: grid; place-items: end center; padding: var(--s4) var(--s3) var(--s2);
  background: radial-gradient(120% 90% at 50% 100%, #2a2522 0%, #141216 60%); }
.kit-img { position: relative; }
.kit-img img { position: absolute; inset: var(--s4) var(--s3) var(--s2); width: calc(100% - 2 * var(--s3)); height: calc(100% - var(--s4) - var(--s2)); object-fit: contain; object-position: center bottom; }
.kit-body { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5) var(--s4) var(--s4); }
.kit-name { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; }
.kit-price { font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.kit-price small { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.kit-tipo { color: var(--ink-2); font-size: var(--fs-small); }
.kit-inc { display: grid; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid var(--line); }
.kit-inc li { display: grid; grid-template-columns: auto 1fr; gap: var(--s2); font-size: .875rem; color: var(--ink); line-height: 1.35; }
.kit-inc .i { color: var(--accent); width: 1em; height: 1em; margin-top: 2px; }
.kit-plus { font-size: .8125rem; color: var(--ink-2); padding-top: var(--s3); border-top: 1px solid var(--line); margin-top: auto; }
.kit-plus b { color: var(--ink); font-weight: 600; }
.kit .btn { margin-top: var(--s2); }
.compare { margin-top: var(--s6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare > summary { display: flex; align-items: center; justify-content: space-between; min-height: 64px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; }
.compare > summary::-webkit-details-marker, .faq summary::-webkit-details-marker, .kit-list summary::-webkit-details-marker { display: none; }
.compare > summary:hover { color: var(--accent); }
.compare summary .i, .faq summary .i, .kit-list summary .i { transition: transform var(--t) var(--ease); }
.compare[open] > summary .i, .faq details[open] summary .i, .kit-list[open] summary .i { transform: rotate(45deg); }
.compare-body { padding-bottom: var(--s6); display: grid; gap: var(--s6); }
.compare .matrix td, .compare .matrix th { font-size: .9375rem; }
.compare .matrix tbody th { font-weight: 500; }
.mk-txt { font-size: .8125rem; color: var(--ink-3); }
.kit-lists { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s3); align-items: start; }
.kit-list { border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line); }
.kit-list summary { display: flex; flex-wrap: wrap; align-items: center; gap: 2px var(--s2); padding: var(--s3) var(--s4); min-height: 44px; cursor: pointer; list-style: none; font-size: .875rem; font-weight: 600; }
.kit-list summary span { font-weight: 400; color: var(--ink-3); flex: 1; }
.kit-list summary:hover { color: var(--accent); }
.kit-list ul { display: grid; gap: 6px; padding: 0 var(--s4) var(--s4); }
.kit-list li { font-size: .8125rem; color: var(--ink-2); line-height: 1.35; }
.kit-list li b { color: var(--ink); font-weight: 600; }
.kit-list code { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.fine { margin-top: var(--s5); font-size: .8125rem; color: var(--ink-3); max-width: 90ch; }

/* 4 · Calculadora */
.types4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.types4 label { position: relative; cursor: pointer; }
.types4 input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.types4 span { display: grid; justify-items: center; gap: var(--s2); min-height: 92px; align-content: center; padding: var(--s3); border-radius: var(--r-sm);
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark); font-weight: 600; font-size: var(--fs-small); transition: box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast); }
.types4 span .i { width: 26px; height: 26px; color: var(--ink-dark-2); }
.types4 label:hover span { box-shadow: inset 0 0 0 1px var(--ink-dark); }
.types4 input:checked + span { background: var(--ink-dark); color: #fff; box-shadow: none; }
.types4 input:checked + span .i { color: var(--accent); }
.types4 input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.proto { gap: var(--s3); }
.proto-price { display: grid; gap: var(--s1); }
.proto-kit { font-size: .875rem; color: var(--ink-2); }
.proto-kit b { color: var(--accent); font-weight: 600; }
.proto-iso { height: clamp(180px, 24vh, 240px); }
.calc-pin { display: none; }
.leadform .btn .i { color: var(--wa); }
.thanks .btn .i { color: inherit; }
.is-pulse { animation: wapulse 1.6s var(--ease) infinite; }
@keyframes wapulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 140, 60, .6); } 50% { box-shadow: 0 0 0 10px rgba(242, 140, 60, 0); } }

/* 5 · Soluciones: pestañas 01–07 */
.sol { display: grid; gap: var(--s6); }
.sol-tabs { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sol-tabs::-webkit-scrollbar { display: none; }
.sol-tabs button { flex: 1 0 auto; display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s4); border: 0; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .04); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; cursor: pointer; transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); white-space: nowrap; }
.sol-tabs button:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.sol-tabs button[aria-selected="true"] { background: var(--ink); color: var(--ink-dark); box-shadow: none; }
.sol-tabs button[aria-selected="true"] .i { color: var(--accent-ink); }
.tab-n { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; opacity: .7; }
.sol-tabs .i { width: 1.1em; height: 1.1em; }
.sol-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6); align-items: center; }
.sol-visual { grid-column: 1 / span 7; margin: 0; }
.sol-visual .iso { max-height: 560px; }
.sol-cards { grid-column: 8 / span 5; display: grid; }
.sol-card { grid-area: 1 / 1; display: grid; align-content: start; gap: var(--s4); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
.sol-card.is-active { opacity: 1; transform: none; pointer-events: auto; transition: opacity var(--t) var(--ease) 120ms, transform var(--t) var(--ease) 120ms; }
.sol-card .h3 { display: flex; align-items: center; gap: var(--s3); font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); letter-spacing: -.025em; }
.sol-card .h3 .i { color: var(--accent); width: 1em; height: 1em; }
.sol-card > p:not(.step-meta):not(.sol-n) { color: var(--ink-2); font-size: var(--fs-lead); line-height: 1.45; max-width: 36ch; }
.sol-n { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--accent); }
.sol-n span { color: var(--ink-3); }
.sol .iso-layer.is-past { opacity: .14; }
.sol .iso-layer.is-past .lbl { opacity: 0; }
.sol .iso-layer.is-focus { opacity: 1; }

/* 6 · Productos: carrusel automático */
.head-row { display: flex; align-items: end; justify-content: space-between; gap: var(--s5); max-width: none; }
.car-ctrl { display: flex; gap: var(--s2); }
.car-track { display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px 2px var(--s2); }
.car-track::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 calc((100% - 2 * var(--s4)) / 3); scroll-snap-align: start; display: grid; align-content: start; gap: var(--s2); padding: var(--s4); border-radius: var(--r-md);
  background: #0d0c0f; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.pcard:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); transform: translateY(-3px); }
.pcard-img { position: relative; margin: 0 0 var(--s3); aspect-ratio: 4 / 3; border-radius: var(--r-sm); display: grid; place-items: center;
  background: radial-gradient(90% 90% at 50% 60%, #2b2726 0%, #151317 70%); }
.pcard-img img { position: absolute; inset: 12% 18%; width: 64%; height: 76%; object-fit: contain; transition: transform var(--t-slow) var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.tag-live { position: absolute; top: var(--s3); left: var(--s3); display: inline-flex; align-items: center; gap: .5em; padding: .3rem .65rem; border-radius: var(--r-pill);
  background: rgba(9, 8, 11, .72); backdrop-filter: blur(6px); font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.tag-live .dot { width: 6px; height: 6px; box-shadow: 0 0 0 3px rgba(242, 140, 60, .25); }
.pcard-name { font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; }
.pcard-line { color: var(--ink-2); font-size: var(--fs-small); min-height: 2.9em; }
.pcard-more { justify-self: start; padding: 0; border: 0; background: none; cursor: pointer; color: var(--accent); }
.pcard-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Ficha técnica */
.ficha { width: min(760px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: var(--r-md); background: #121114; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.ficha::backdrop { background: rgba(5, 5, 7, .7); backdrop-filter: blur(4px); }
.ficha-in { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s6); padding: var(--s6); }
.ficha-img { width: 100%; height: 340px; max-height: 340px; object-fit: contain; border-radius: var(--r-sm); background: radial-gradient(90% 90% at 50% 60%, #2b2726 0%, #151317 70%); padding: var(--s5); }
.ficha-copy { display: grid; align-content: start; gap: var(--s3); }
.ficha-copy .h3 { font-size: 1.75rem; letter-spacing: -.025em; }
.ficha-line { color: var(--ink-2); }
.ficha .spec { margin: var(--s2) 0 var(--s3); }
.ficha .spec div { grid-template-columns: 7.5rem 1fr; }
.ficha .btn .i { color: var(--wa); }
.ficha-x { position: absolute; top: var(--s3); right: var(--s3); z-index: 1; }

/* 7 · Stand: el 68 late */
.fm-beat { transform-box: fill-box; transform-origin: center; animation: beat 1.6s var(--ease) infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 14% { transform: scale(1.06); } 28% { transform: scale(1); } 42% { transform: scale(1.04); } 70% { transform: scale(1); } }
.fm-pulse-2 { animation-delay: 1.2s; }
.stand .actions { gap: var(--s3) var(--s4); }
.stand .btn .i { color: #111; }

/* 8 · FAQ */
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s6); align-items: start; }
.faq-grid .section-head { grid-column: 1 / span 4; margin: 0; }
.faq { grid-column: 6 / span 7; border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 72px; padding: var(--s4) 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.125rem; letter-spacing: -.01em; }
.faq summary:hover { color: var(--accent-ink); }
.faq summary .i { flex: none; }
.faq details p { color: var(--ink-dark-2); padding: 0 var(--s6) var(--s5) 0; max-width: 60ch; }

/* Footer: datos reales, redes, notas legibles */
.lockup-lg .lockup-ls { height: 26px; }
.lockup-lg .lockup-jm { height: 44px; }
.footer-cols a, .footer-cols p { display: inline-flex; align-items: center; gap: var(--s2); min-height: 32px; }
.footer-cols .i { width: 1.05em; height: 1.05em; color: var(--ink-3); }
.footer-cols a:hover .i { color: var(--accent); }
.footer a { transition: color var(--t-fast); }
.notes, .legal { font-size: .8125rem; }

/* Responsive */
@media (max-width: 1180px) {
  .kits { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s3); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .kit { flex: 0 0 300px; scroll-snap-align: start; }
  .kit-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .header-cta { margin-left: auto; }
  .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard { flex-basis: calc((100% - var(--s4)) / 2); }
  .sol-visual { grid-column: 1 / span 6; }
  .sol-cards { grid-column: 7 / span 6; }
}
@media (max-width: 760px) {
  :root { --rib-h: 32px; --fs-mono: .875rem; }
  body { font-size: 1rem; padding-bottom: 76px; }
  .ribbon { font-size: .75rem; letter-spacing: .08em; }
  .lockup-ls { height: 17px; }
  .lockup-jm { height: 28px; }
  .lockup-div { height: 22px; }
  .calc-long { display: none; }
  .calc-short { display: inline; }
  .header-row .btn-sm { display: inline-flex; margin-left: 0; padding: 0 var(--s4); }
  .header-cta .wa-btn { display: none; }
  .wa-float { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 56; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2);
    padding: var(--s2) var(--gutter) calc(var(--s2) + env(safe-area-inset-bottom)); background: rgba(9, 8, 11, .92); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transition: transform var(--t) var(--ease); }
  .mbar .btn { min-height: 52px; font-size: 1rem; }
  body.typing .mbar, body.menu-open .mbar { transform: translateY(110%); }
  .hero { height: calc(100svh - 76px); min-height: 560px; }
  .slide::after { background: linear-gradient(0deg, rgba(9, 8, 11, .92) 0%, rgba(9, 8, 11, .55) 45%, rgba(9, 8, 11, .15) 75%); }
  .slide-copy { bottom: 190px; }
  .slide-copy .display { font-size: clamp(2.5rem, 11vw, 3.25rem); }
  .hero-ui { bottom: var(--s5); flex-direction: column; align-items: stretch; gap: var(--s4); }
  .hero-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s2); }
  .hero-nav { justify-content: space-between; }
  .hero-dots { gap: var(--s2); }
  .hero-dots button { width: 56px; }
  /* Carruseles: 1 tarjeta y un pedazo de la siguiente */
  .cards4, .kits { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s3); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .vcard { flex: 0 0 82%; scroll-snap-align: start; }
  .kit { flex: 0 0 84%; }
  .kit-lists { grid-template-columns: 1fr; }
  .pcard { flex-basis: 84%; }
  .types4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-pin { position: sticky; top: calc(var(--rib-h) + var(--header-h) + 8px); z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
    padding: var(--s3) var(--s4); border-radius: var(--r-pill); background: var(--ink-dark); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
  .calc-pin span { font-family: var(--mono); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
  .calc-pin b { font-size: 1.125rem; font-variant-numeric: tabular-nums; }
  .sol-tabs { display: none; }
  .sol-body { grid-template-columns: 1fr; gap: var(--s4); }
  .sol-visual, .sol-cards { grid-column: 1; }
  .sol-visual { margin-inline: calc(var(--gutter) * -1); }
  .sol-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s3); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .sol-cards::-webkit-scrollbar { display: none; }
  .sol-card { grid-area: auto; flex: 0 0 86%; scroll-snap-align: center; opacity: .45; transform: none; pointer-events: auto; padding: var(--s5); border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line); }
  .sol-card.is-active { opacity: 1; box-shadow: inset 0 0 0 1px rgba(242, 140, 60, .5); }
  .head-row { align-items: start; }
  .car-ctrl { display: none; }
  .ficha-in { grid-template-columns: 1fr; padding: var(--s5); }
  .ficha-img { max-height: 220px; }
  .faq-grid .section-head, .faq { grid-column: 1 / -1; }
  /* Celular: textos de 16 px como mínimo (las notas legales quedan en 13 px) */
  .lead, .sub, .vcard p, .kit-tipo, .kit-inc li, .kit-plus, .pcard-line, .proto-kit, .summary-u, .hint, .types-note, .devices li, .chips span, .facts dd,
  .proto-legend li, .proto-legend em, .kit-list summary, .kit-list li, .faq details p, .footer, .range-field label, .f, .check, .step-meta, .sol-n,
  .label, .eyebrow, .kicker, .tag-live, .dot-n, .lvl-d, .summary-k, .summary-f, .compare .matrix td, .compare .matrix th, .mk-txt, .types4 span, .bubble, .thanks-folio, .feria figcaption { font-size: 1rem; }
  .notes, .legal, .fine { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fm-beat, .is-pulse, .slide.is-active .slide-copy > * { animation: none; }
  .hero-dots .is-run .dot-bar i { animation: none; width: 100%; }
}

.range-field[hidden] + .range-field { margin-top: 0; }

.stand-copy { grid-column: 8 / span 5; }
.stand-copy .h2 { font-size: clamp(2.25rem, 1.5rem + 2.2vw, 3.5rem); }
@media (max-width: 760px) { .stand-copy { grid-column: 1; } }
@media (max-width: 760px) { .tag-live { font-size: .8125rem; white-space: nowrap; letter-spacing: .06em; } }
.menu .btn { font-size: 1rem; letter-spacing: 0; padding: 0 var(--s5); border-bottom: 0; min-height: 52px; }
.menu .btn .i { color: var(--wa); }
@media (max-width: 760px) {
  .header-row { gap: var(--s3); }
  .lockup { gap: var(--s3); }
  .lockup-ls { height: 15px; }
  .lockup-jm { height: 25px; }
  .header-cta { gap: 4px; }
  .header-row .btn-sm { padding: 0 var(--s3); font-size: .9375rem; }
  .sol-visual { overflow: hidden; }
  .sol .iso { width: 100%; max-width: 100%; margin: 0; max-height: 44svh; }
}
@media (max-width: 760px) {
  .btn, .header-row .btn-sm { font-size: 1rem; }
  .kit-price small { font-size: .875rem; letter-spacing: .04em; }
  .site-header .lockup { min-height: 44px; }
}
@media (max-width: 760px) { .hero-actions { grid-template-columns: 1fr auto; } .hero-actions .btn { white-space: nowrap; padding: 0 var(--s4); } }

/* ===== v07 · Correcciones del cliente 03-11 ===== */

/* Encabezados de sección: misma separación etiqueta → título → bajada en todas */
.section-head, .head-row > div:first-child, .stand-copy { row-gap: var(--s5); }
.head-row > div:first-child { display: grid; }

/* Botones naranjas: el icono toma el color del texto (sin verde WhatsApp sobre naranja) */
.btn:not(.btn-wa):not(.btn-wa-ghost) .i,
.leadform .btn .i, .ficha .btn .i, .stand .btn .i, .menu .btn .i { color: currentColor; }
.btn { white-space: nowrap; }
.btn .i { margin-left: -.15em; }
.lead-actions .btn { padding-inline: var(--s6); }

/* Productos: tarjeta seleccionada con trazo naranja */
.pcard { box-shadow: inset 0 0 0 1px var(--line); }
.pcard:hover, .pcard:focus-within, .pcard.is-active { box-shadow: inset 0 0 0 1.5px var(--accent); }
.pcard:hover { transform: translateY(-3px); }

/* «En vivo»: cápsula translúcida flotante, esquina inferior derecha de la imagen, equidistante */
.tag-live { top: auto; left: auto; right: var(--s3); bottom: var(--s3); padding: .35rem .7rem;
  background: rgba(20, 18, 22, .42); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 6px 18px rgba(0, 0, 0, .35); }
.pcard-img img { inset: 7% 18% 25%; height: 68%; }

@media (max-width: 760px) {
  /* Carrusel a sangre: la tarjeta queda centrada y se asoman las vecinas a ambos lados */
  .car-track { --card: 80vw; margin-inline: calc(var(--gutter) * -1); padding: 4px calc((100vw - var(--card)) / 2) var(--s2);
    scroll-padding-inline: calc((100vw - var(--card)) / 2); gap: var(--s3); }
  .pcard { flex: 0 0 var(--card); scroll-snap-align: center; opacity: .55; transition: opacity var(--t) var(--ease), box-shadow var(--t) var(--ease); }
  .pcard.is-active { opacity: 1; }
  .pcard:hover { transform: none; }
  .pcard:hover:not(.is-active) { box-shadow: inset 0 0 0 1px var(--line); }
  .tag-live { right: var(--s3); bottom: var(--s3); font-size: .75rem; padding: .3rem .6rem; }
  /* Formulario: botón a todo el ancho, una sola línea */
  .lead-actions { flex-direction: column; align-items: stretch; gap: var(--s3); }
  .lead-actions .btn { width: 100%; padding-inline: var(--s4); }
  .thanks-actions .btn, .stand .actions .btn { white-space: nowrap; }
}

/* Formulario: los 4 campos en una sola fila en escritorio, 2 × 2 en tableta */
@media (min-width: 1081px) { .fields { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 761px) and (max-width: 1080px) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Celular: misma distancia título → contenido en todas las secciones (FAQ incluida) */
@media (max-width: 760px) {
  .section-head { margin-bottom: var(--s7); }
  .faq-grid { row-gap: var(--s7); }
}

/* ===== v08 · Acciones sin duplicar: mientras se ven los botones del hero, la barra inferior
   (celular) y el WhatsApp flotante (escritorio) esperan; al bajar, entran y siguen al usuario ===== */
.wa-float { transition: transform var(--t) var(--ease), opacity var(--t) var(--ease), visibility 0s, box-shadow var(--t-fast); }
body.hero-cta .wa-float { transform: translateY(24px) scale(.9); opacity: 0; visibility: hidden; transition: transform var(--t) var(--ease), opacity var(--t) var(--ease), visibility 0s var(--t); }
@media (max-width: 760px) {
  body.hero-cta .mbar { transform: translateY(110%); }
  .hero { height: 100svh; }
}


/* ===== v09 · Kits desplegables: lo esencial a la vista, el detalle en «Qué incluye» ===== */
.kits { align-items: start; }
.kit-toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); width: 100%; min-height: 44px; padding: var(--s2) 0; margin: 0; border: 0; border-top: 1px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: .9375rem; font-weight: 600; text-align: left; cursor: pointer; transition: color 180ms var(--ease); }
.kit-toggle .i { width: 1.15em; height: 1.15em; flex: none; transition: transform 250ms var(--ease); }
.kit:hover .kit-toggle, .kit-toggle:hover, .kit-toggle:focus-visible { color: var(--accent); }
.kit-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.kit.is-open .kit-toggle { color: var(--accent); }
.kit.is-open .kit-toggle .i { transform: rotate(45deg); }
.kit-more { display: grid; grid-template-rows: 0fr; margin-top: calc(var(--s3) * -1); transition: grid-template-rows 250ms var(--ease), margin-top 250ms var(--ease); }
.kit-more-in { min-height: 0; overflow: hidden; display: grid; gap: var(--s3); }
.kit.is-open .kit-more { grid-template-rows: 1fr; margin-top: 0; }
.kit-more .kit-inc { border-top: 0; padding-top: 0; }
.kit-more .kit-plus { margin-top: 0; }

/* ===== v09 · Enlace a la web de JM ===== */
.sol-more { margin-top: var(--s6); display: flex; justify-content: center; }
.sol-more .link { color: var(--ink-2); transition: color 180ms var(--ease); }
.sol-more .link:hover, .sol-more .link:focus-visible { color: var(--accent); }
.menu a.menu-web { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; margin-top: var(--s4); padding: 0; border: 0; font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.menu a.menu-web .i { width: 1.1em; height: 1.1em; }
.menu a.menu-web:hover { color: var(--accent); }
