/* Nervalia Labs — nervalialabs.com
   Mundo visual: plano de fabricación. Hoja blanca, tinta, verde de máscara de soldadura y cobre.
   Reglas: líneas a 0/45/90°, nada de esquinas redondeadas ni sombras de adorno, se separa con líneas. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/martian-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/martian-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  /* Hoja */
  --paper: #ffffff;
  --paper-2: #f3f6f4;          /* papel de retícula, secciones alternas */
  --grid: #e4eae6;             /* líneas de retícula */
  --ink: #0f1713;              /* tinta: texto y líneas principales */
  --ink-2: #47534d;            /* texto secundario (7:1 sobre blanco) */
  --rule: #0f1713;             /* línea fuerte, 1px */
  --rule-soft: #cfd8d3;        /* línea fina de tabla */
  /* Máscara de soldadura: el campo de color comprometido */
  --mask: #14553d;
  --mask-2: #0f4431;
  --on-mask: #ffffff;
  --on-mask-2: #c3dccd;
  --on-mask-rule: rgba(255, 255, 255, .28);
  /* Cobre: solo globos, pistas y puntos de señal */
  --copper: #c27236;
  --copper-ink: #9a521f;       /* cobre para texto pequeño (5:1) */
  --error: #b3261e;
  --focus: var(--mask);
  --link: var(--mask);

  /* Alias que siguen usando los scripts y piezas antiguas */
  --surface: var(--paper); --surface-raised: var(--paper); --ink-muted: var(--ink-2); --line: var(--rule-soft);
  --nervio: var(--mask); --tint: #e6f0ea; --soft: var(--paper-2);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-display: clamp(2.375rem, 1.25rem + 2.75vw, 3.875rem);
  --fs-page: clamp(2.25rem, 1.4rem + 2.9vw, 3.9rem);
  --fs-section: clamp(1.875rem, 1.35rem + 1.8vw, 3rem);
  --fs-card: clamp(1.375rem, 1.2rem + .5vw, 1.75rem);
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px;
  --section: clamp(64px, 3rem + 3.6vw, 112px);
  --gutter: clamp(16px, 4vw, 40px);
  --wrap: 1280px;
  --zone: 24px;                /* margen de la hoja donde viven las zonas */
  --radius: 2px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
}

/* Modo oscuro: solo con el interruptor. Hoja de tinta, líneas claras. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0e1613;
  --paper-2: #131d19;
  --grid: #1c2924;
  --ink: #e8eee9;
  --ink-2: #a7b4ad;
  --rule: #d3ddd7;
  --rule-soft: #2c3a34;
  --mask: #1b6a4c;
  --mask-2: #155a40;
  --on-mask-2: #cfe6d8;
  --copper: #e08b4c;
  --copper-ink: #e9a06b;
  --error: #ff8a80;
  --tint: #18302a;
  --focus: #7fd1a8;
  --link: #8fd8b2;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  caret-color: var(--mask); accent-color: var(--mask);
  scrollbar-color: var(--ink-2) var(--paper);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font); font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--mask); color: var(--on-mask); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
strong { font-weight: 650; }
.data, .ref { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.ref { font-size: max(.8125em, 11px); font-weight: 500; letter-spacing: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.center { text-align: center; margin-inline: auto; }
.i { width: 24px; height: 24px; flex: none; }
.i-sm { width: 18px; height: 18px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 860px; }
/* Las secciones estrechas mantienen el borde izquierdo de la retícula */
.wrap.narrow { max-width: none; }
.wrap.narrow > * { max-width: 860px; }
.wrap.narrow.center > * { margin-inline: auto; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }

/* ---------- tipografía ---------- */
.h-display { font-size: var(--fs-display); line-height: 1; font-weight: 780; font-stretch: 108%; letter-spacing: -.03em; }
.h-page { font-size: var(--fs-page); line-height: 1.02; font-weight: 760; font-stretch: 108%; letter-spacing: -.028em; }
.h-section { font-size: var(--fs-section); line-height: 1.06; font-weight: 740; font-stretch: 106%; letter-spacing: -.024em; }
.h-card { font-size: var(--fs-card); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
.h-statement { font-size: clamp(2.125rem, 1.3rem + 2.9vw, 4rem); line-height: 1.02; font-weight: 780; font-stretch: 108%; letter-spacing: -.03em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.hero-lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.note { font-size: .9375rem; color: var(--ink-2); margin-top: var(--space-4); }
.prose p + p { margin-top: 1em; }
.prose p { font-size: 1.125rem; line-height: 1.7; max-width: 66ch; }
.prose .h-section { margin-bottom: var(--space-6); }

/* ---------- botones ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: var(--radius); border: 1px solid transparent;
  font: 650 1rem/1.1 var(--font); letter-spacing: 0; text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn .i-sm { transition: transform .25s var(--ease); }
.btn:hover .i-sm { transform: translateX(3px); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: .9375rem; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--mask); color: var(--on-mask); border-color: var(--mask); }
.btn-primary:hover { background: var(--mask-2); border-color: var(--mask-2); }
.btn-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
/* Sobre un campo verde */
.btn-invert { background: var(--paper); color: var(--link); border-color: var(--paper); }
:root[data-theme="dark"] .btn-invert { background: #ffffff; color: #14553d; }
.btn-invert:hover { background: #e6f0ea; border-color: #e6f0ea; }
.btn-ghost { border-color: var(--on-mask-rule); color: var(--on-mask); background: transparent; }
.btn-ghost:hover { border-color: var(--on-mask); }
.btn-text { background: none; border: 0; padding: 10px 4px; color: inherit; font: 500 .9375rem var(--font); text-decoration: underline; text-underline-offset: .25em; cursor: pointer; opacity: .85; }
.btn-text:hover { opacity: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; }
.link-arrow .i-sm { transition: transform .25s var(--ease); }
.link-arrow:hover .i-sm { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.actions.center { justify-content: center; }

/* ---------- cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: var(--space-6); }
.brand { display: block; flex: none; padding: 6px 0; }
.brand img { width: 148px; height: auto; }
.nav { flex: 1; display: flex; align-items: center; }
.nav-list { display: flex; gap: var(--space-2); margin-inline: auto; }
.nav-list a { position: relative; display: block; white-space: nowrap; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 560; font-size: 1rem; }
.nav-list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--mask); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: none; }
.nav-list a[aria-current="page"] { color: var(--link); }
:root[data-theme="dark"] .nav-list a[aria-current="page"] { color: var(--link); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }
.header-cta { --h: 40px; }
.site-header .btn-primary.header-cta { background: transparent; color: var(--ink); border-color: var(--ink); }
.site-header .btn-primary.header-cta:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--rule-soft); border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle:hover { border-color: var(--ink); }
.menu-close { display: none; }

.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; cursor: pointer; font: 600 .875rem var(--font); color: var(--ink-2); border: 1px solid transparent; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: var(--rule-soft); color: var(--ink); }
.lang summary .i { width: 20px; height: 20px; }
.lang[open] summary .i-sm { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); min-width: 180px; background: var(--paper); border: 1px solid var(--rule); box-shadow: 0 14px 30px -12px rgba(15, 23, 19, .3); }
.lang ul li + li { border-top: 1px solid var(--rule-soft); }
.lang ul a { display: block; padding: 11px 14px; color: var(--ink); text-decoration: none; }
.lang ul a:hover { background: var(--paper-2); }
.lang ul a[aria-current] { color: var(--link); font-weight: 650; }
.lang-mobile { display: none; }
/* Interruptor claro / oscuro */
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid transparent; background: transparent; color: var(--ink-2); cursor: pointer; }
.theme-toggle:hover { border-color: var(--rule-soft); color: var(--ink); }
.theme-toggle .i { width: 20px; height: 20px; }
.theme-toggle .i-sun, :root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.logo-dark, :root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .lang-desktop { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper);
    flex-direction: column; align-items: stretch; padding: var(--space-6) var(--gutter) var(--space-10);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .site-header.is-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .site-header.is-open .menu-open { display: none; }
  .site-header.is-open .menu-close { display: block; }
  .nav-list { flex-direction: column; margin: 0; gap: 0; border-top: 1px solid var(--rule); }
  .nav-list a { font: 740 1.875rem/1.2 var(--font); font-stretch: 106%; letter-spacing: -.02em; padding: 18px 0; border-bottom: 1px solid var(--rule-soft); }
  .nav-list a::after { display: none; }
  .nav-extra { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-8); }
  .nav-extra .btn { --h: 56px; }
  .lang-mobile { display: block; }
  .lang-mobile ul { position: static; box-shadow: none; margin-top: 6px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) { .header-cta { display: none; } .brand img { width: 130px; } }

/* ---------- la hoja: marco doble con zonas ---------- */
.sheet { position: relative; border: 1px solid var(--rule); padding: var(--zone); background: var(--paper); }
.sheet-inner { position: relative; border: 1px solid var(--rule); padding: clamp(24px, 3vw, 48px); background: var(--paper); }
.zones { position: absolute; inset: 0; pointer-events: none; font: 500 .625rem/1 var(--font-mono); color: var(--ink-2); }
.zones-x { position: absolute; left: var(--zone); right: var(--zone); height: var(--zone); display: grid; grid-template-columns: repeat(6, 1fr); }
.zones-top { top: 0; }
.zones-bottom { bottom: 0; }
.zones-y { position: absolute; top: var(--zone); bottom: var(--zone); width: var(--zone); display: grid; grid-template-rows: repeat(4, 1fr); }
.zones-left { left: 0; }
.zones-right { right: 0; }
.zones li { display: grid; place-items: center; }
.zones-x li + li { border-left: 1px solid var(--rule); }
.zones-y li + li { border-top: 1px solid var(--rule); }
.sheet-text .h-page { max-width: 16em; }
.sheet-text .hero-lead { margin-top: var(--space-5); }
@media (max-width: 640px) {
  .sheet { --zone: 8px; }
  .zones { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--paper); color: var(--ink); padding: clamp(16px, 2vw, 28px) 0 clamp(48px, 6vw, 88px); }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy .h-display { max-width: 12em; }
.hero-copy .hero-lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); }
.hero-copy .hero-lead { margin-top: var(--space-6); }
.hero-product { margin-top: var(--space-10); font-size: 1.125rem; line-height: 1.4; max-width: 30em; }
.hero-product a { color: var(--ink); font-weight: 720; text-decoration: none; border-bottom: 2px solid var(--mask); }
.hero-product a:hover { color: var(--link); }
.hero-alt { margin-top: var(--space-6); }
/* Etiqueta que presenta el cajetín como prueba, no como el tema de la portada */
.hero-proof { margin-top: var(--space-8); font-size: .9375rem; font-weight: 600; color: var(--ink-2); }
.hero-proof + .tb { margin-top: var(--space-3); }
.hero-art { min-width: 0; display: flex; justify-content: center; }
.hero-art .mark { width: min(100%, 420px); height: auto; overflow: visible; }
.project-tagline { font: 650 clamp(1.25rem, 1.05rem + .8vw, 1.75rem)/1.25 var(--font); letter-spacing: -.012em; margin-top: var(--space-5); max-width: 24em; }
.project-summary { margin-top: var(--space-4); color: var(--ink-2); max-width: 36em; font-size: 1.0625rem; }
.project-goal { margin-top: var(--space-5); color: var(--ink-2); font-size: .9375rem; }
@media (max-width: 960px) {
  /* Móvil: titular, cajetín con la acción y en seguida el plano; el texto largo después */
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 4; }
  .hero-copy > .project-kicker, .hero-copy > h1, .hero-copy > .project-tagline { order: 1; }
  .hero-copy > .hero-cta, .hero-copy > .hero-proof, .hero-copy > .tb, .hero-copy > [data-hero-actions] { order: 2; }
  .hero-art { order: 3; margin-top: var(--space-8); }
  .hero-copy > .hero-lead, .hero-copy > .project-summary { margin-top: var(--space-8); }
}
@media (max-width: 480px) { .hero-copy .h-display { font-size: clamp(2.125rem, 1.2rem + 4.5vw, 2.5rem); } .tb-tagline { font-size: .9375rem; } }

/* ---------- el plano: placa real, llamadas y cota ---------- */
.drawing { margin: 0; width: 100%; min-width: 0; }
.drawing-area { position: relative; width: 100%; max-width: 760px; margin-inline: auto; --lines: var(--ink); }
.drawing-canvas { position: relative; aspect-ratio: 1; }
.drawing-board { position: absolute; height: auto; filter: drop-shadow(0 18px 22px rgba(15, 23, 19, .18)); }
.drawing-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.leader path { fill: none; stroke: var(--lines); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; animation: draw .9s var(--ease) calc(.25s + var(--i) * .14s) backwards; transition: stroke .2s; }
.leader-dot { fill: var(--copper); stroke: var(--paper); stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: pop .45s var(--ease) calc(.8s + var(--i) * .14s) backwards; transition: transform .2s var(--ease); }
.dim path { fill: none; stroke: var(--ink-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dim-label { position: absolute; right: 0; transform: translate(35%, -50%) rotate(-90deg); background: var(--paper); padding: 2px 6px; font: 500 .6875rem/1 var(--font-mono); color: var(--ink-2); white-space: nowrap; }
.balloon {
  position: absolute; z-index: 2; width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center;
  border-radius: 50%; background: var(--paper); border: 1.5px solid var(--copper); color: var(--copper-ink);
  font: 600 .8125rem/1 var(--font-mono); transition: background-color .2s, color .2s;
  animation: pop .45s var(--ease) calc(.15s + var(--n, 0) * .1s) backwards;
}
.callouts { position: absolute; inset: 0; pointer-events: none; }
.callout { position: absolute; top: var(--y); width: 30%; transform: translateY(-50%); pointer-events: auto; font-size: .9375rem; line-height: 1.35; color: var(--ink-2); }
.callout strong { display: block; color: var(--ink); font-weight: 720; font-size: 1rem; }
.callout-l { left: 0; width: auto; right: calc(100% - var(--x) + 24px); text-align: right; }
.callout-r { left: calc(var(--x) + 24px); right: 7%; width: auto; }
.drawing-inset { position: absolute; left: 0; top: 58%; width: 27%; margin: 0; z-index: 1; }
.drawing-inset img { width: 100%; height: auto; object-fit: contain; }
.drawing-inset { width: 24%; top: 54%; }
.drawing-inset figcaption { margin-top: 6px; font-size: .8125rem; line-height: 1.3; color: var(--ink-2); }
.drawing-caption { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--rule-soft); font-size: .8125rem; color: var(--ink-2); }
/* Pasar por una llamada resalta su línea y su globo */
.drawing-area:has(.callout[data-n="1"]:hover) [data-leader="1"] path, .drawing-area:has(.callout[data-n="2"]:hover) [data-leader="2"] path,
.drawing-area:has(.callout[data-n="3"]:hover) [data-leader="3"] path, .drawing-area:has(.callout[data-n="4"]:hover) [data-leader="4"] path,
.drawing-area:has(.callout[data-n="5"]:hover) [data-leader="5"] path, .drawing-area:has(.callout[data-n="6"]:hover) [data-leader="6"] path { stroke: var(--copper); stroke-width: 2.4; }
.drawing-area:has(.callout[data-n="1"]:hover) [data-balloon="1"], .drawing-area:has(.callout[data-n="2"]:hover) [data-balloon="2"],
.drawing-area:has(.callout[data-n="3"]:hover) [data-balloon="3"], .drawing-area:has(.callout[data-n="4"]:hover) [data-balloon="4"],
.drawing-area:has(.callout[data-n="5"]:hover) [data-balloon="5"], .drawing-area:has(.callout[data-n="6"]:hover) [data-balloon="6"] { background: var(--copper); color: #0f1713; }
.drawing-area:has(.callout[data-n="1"]:hover) [data-leader="1"] .leader-dot, .drawing-area:has(.callout[data-n="2"]:hover) [data-leader="2"] .leader-dot,
.drawing-area:has(.callout[data-n="3"]:hover) [data-leader="3"] .leader-dot, .drawing-area:has(.callout[data-n="4"]:hover) [data-leader="4"] .leader-dot { transform: scale(1.6); }
.callout:hover strong { color: var(--copper-ink); }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.3); } }

/* En pantallas estrechas las llamadas pasan a una lista numerada bajo el dibujo */
@media (max-width: 1180px) and (min-width: 961px), (max-width: 720px) {
  .callouts { position: static; display: grid; gap: var(--space-3); margin-top: var(--space-6); counter-reset: c; }
  .callout { position: static; width: auto; transform: none; text-align: left; display: grid; grid-template-columns: 30px 1fr; column-gap: var(--space-3); counter-increment: c; }
  .callout::before { content: counter(c); grid-row: span 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--copper); color: var(--copper-ink); font: 600 .8125rem/1 var(--font-mono); }
  .drawing-inset { top: 52%; width: 24%; }
  .drawing-inset figcaption { font-size: .75rem; }
  .balloon { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: .6875rem; }
}

/* Dibujo de concepto */
.drawing-concept .drawing-area { aspect-ratio: 6 / 5; background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; border: 1px solid var(--rule-soft); display: grid; place-items: center; }
.drawing-concept .visual { width: 100%; height: 100%; display: grid; place-items: center; }
.drawing-concept .visual-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- dibujos a línea (concepto) ---------- */
.art { width: 100%; height: auto; color: var(--ink); }
.art-line, .art-body, .art-hatched, .art-axis, .art-signal { stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.art-line { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.art-thin { stroke-width: 1; stroke: var(--ink-2); }
.art-body { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.art-hatched { stroke: var(--ink); stroke-width: 1.6; }
.art-hatch-line { stroke: var(--ink-2); stroke-width: .9; }
.art-axis { fill: none; stroke: var(--ink-2); stroke-width: .8; stroke-dasharray: 14 4 2 4; opacity: .7; }
.art-signal { fill: none; stroke: var(--copper); stroke-width: 1.8; }
.art-copper-dot { fill: var(--copper); }
.art-view circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.art-view text { font: 600 13px var(--font-mono); fill: var(--ink); text-anchor: middle; }

/* ---------- cajetín ---------- */
.tb { margin-top: var(--space-6); border: 1px solid var(--rule); background: var(--paper); overflow: hidden; }
.tb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); margin: -1px 0 0 -1px; }
.tb-cell { padding: 10px 14px 12px; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); min-width: 0; }
.tb-cell dt { font-size: .75rem; font-weight: 560; color: var(--ink-2); line-height: 1.2; }
.tb-cell dd { margin: 4px 0 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.25; }
.tb-name { grid-column: 1 / -1; }
@media (max-width: 480px) { .tb-cell { padding: 8px 10px 10px; } .tb-cell dd { font-size: .9375rem; } .tb-price dd { font-size: 1.0625rem; } .hero-home .tb-actions .link-arrow { display: none; } }
@media (max-width: 359px) { .tb-grid { grid-template-columns: 1fr 1fr; } .tb-price { grid-column: 1 / -1; } }
.tb-name dd { font-size: 1.375rem; font-stretch: 106%; letter-spacing: -.015em; }
.tb-tagline { display: block; margin-top: 2px; font-size: 1rem; font-weight: 450; font-stretch: 100%; letter-spacing: 0; color: inherit; opacity: .86; }
.tb-name a { color: inherit; text-decoration: none; }
.tb-name a:hover { text-decoration: underline; }
.tb-sale .tb-price dd { white-space: nowrap; }
.tb-price dd { font-size: 1.5rem; font-weight: 780; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tb-idea .tb-price dd, .tb-prototype .tb-price dd { font-size: 1.125rem; font-weight: 720; }
.tb-actions { border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); padding: var(--space-5) 14px; }
.tb-note { padding: 0 14px 14px; margin-top: -6px; font-size: .875rem; color: var(--ink-2); }
.tb-grid + .tb-note { margin-top: 0; padding-top: 12px; }
/* A la venta: el cajetín se llena de verde de placa */
.tb-sale { background: var(--mask); color: var(--on-mask); border-color: var(--mask); --focus: #ffffff; }
.tb-sale .tb-cell, .tb-sale .tb-actions { border-color: var(--on-mask-rule); }
.tb-sale .tb-cell dt, .tb-sale .tb-note { color: var(--on-mask-2); }
.tb-sale .btn-primary { background: #ffffff; color: #14553d; border-color: #ffffff; }
.tb-sale .btn-primary:hover { background: #e6f0ea; border-color: #e6f0ea; }
.tb-sale .btn-secondary { border-color: var(--on-mask-rule); color: var(--on-mask); }
.tb-sale .btn-secondary:hover { background: transparent; border-color: #ffffff; }
.tb-sale .link-arrow, :root[data-theme="dark"] .tb-sale .link-arrow { color: var(--on-mask); }

/* ---------- etapas (etiqueta) ---------- */
.stage { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid var(--rule); font: 600 .75rem/1 var(--font); white-space: nowrap; color: var(--ink); }
.stage-dot { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--copper); }
.stage-prototype .stage-dot { background: var(--copper); }
.stage-sale { background: var(--mask); border-color: var(--mask); color: var(--on-mask); }
.stage-sale .stage-dot { background: #ffffff; border-color: #ffffff; }

/* ---------- historial de etapas (tabla de revisiones) ---------- */
.revs-wrap { margin-top: var(--space-8); overflow-x: auto; }
.revs { width: 100%; border-collapse: collapse; border: 1px solid var(--rule); font-size: .9375rem; min-width: 560px; }
.revs caption { text-align: left; font-weight: 700; padding-bottom: var(--space-3); }
.revs th, .revs td { padding: 12px 16px; text-align: left; border: 1px solid var(--rule); vertical-align: top; }
.revs thead th { font-size: .75rem; font-weight: 600; color: var(--ink-2); padding-block: 8px; }
.revs td.ref { width: 64px; font-size: .875rem; }
.revs tbody th { width: 160px; font-weight: 700; }
.revs .is-next { color: var(--ink-2); }
.revs .is-next th, .revs .is-next td { border-style: dashed; border-color: var(--rule-soft); }
.revs .is-now { background: var(--tint); }
.revs .is-now th::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-radius: 50%; background: var(--copper); vertical-align: middle; }
.revs .is-now.rev-sale { background: var(--mask); color: var(--on-mask); }
@keyframes beat { 0%, 100% { box-shadow: 0 0 0 0 rgba(194, 114, 54, .5); } 60% { box-shadow: 0 0 0 8px rgba(194, 114, 54, 0); } }

/* ---------- secciones ---------- */
.section { position: relative; padding: var(--section) 0; }
.section-tight { padding: var(--space-8) 0; }
.section-flush { padding-top: 0; }
.section-soft, .section-raised { background-color: var(--paper-2); border-block: 1px solid var(--rule); }
.section-soft + .section-soft, .section-raised + .section-soft, .section-soft + .section-raised { border-top: 0; }
.section-head { margin-bottom: clamp(36px, 4.5vw, 64px); max-width: 780px; padding-top: var(--space-5); border-top: 2px solid var(--ink); }
.section-head .lead { margin-top: var(--space-4); }
.section-head.center { border-top: 0; }
.section-foot { margin-top: var(--space-10); }

/* Campo verde: el color a escala de página */
.section-deep { background: var(--mask); color: var(--on-mask); overflow: hidden; --focus: #ffffff; }
.section-deep .lead, .section-deep p { color: var(--on-mask-2); }
.section-deep .h-section, .section-deep h2, .section-deep h3 { color: var(--on-mask); }
.section-deep a:not(.btn) { color: var(--on-mask); }
.section-deep .wrap { position: relative; }

/* ---------- productos (hojas pequeñas) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.pgrid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--rule); background: var(--paper); transition: box-shadow .2s var(--ease); }
.pcard:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pcard-media { display: block; border-bottom: 1px solid var(--rule); background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.pcard-view { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; container-type: inline-size; }
.pcard-view .visual { width: 82%; }
.pcard-view-board img { width: auto; height: 86cqw; max-width: none; rotate: -90deg; filter: drop-shadow(0 12px 14px rgba(15, 23, 19, .2)); }
.pcard-view .visual-image { width: 100%; height: 100%; }
/* Sensor con carcasa + la app midiendo (tarjeta de JPAB Garden) */
.pcard-view-duo { display: flex; align-items: center; justify-content: center; gap: 6cqw; }
.duo-sensor { height: 54cqw; width: auto; max-width: none; rotate: 14deg; filter: drop-shadow(0 12px 14px rgba(15, 23, 19, .22)); }
/* Marco de iPhone actual: bisel fino, canto de titanio y Dynamic Island */
.duo-phone { position: relative; display: block; height: 56cqw; aspect-ratio: 1 / 2.05; padding: .8cqw; border-radius: 5cqw; background: #0b0b0c; box-shadow: 0 0 0 .3cqw #a3a6aa, 0 0 0 .5cqw #5d6064, 0 18px 32px -14px rgba(15, 23, 19, .5); }
.duo-phone::after { content: ""; position: absolute; top: 2cqw; left: 50%; width: 8.5cqw; height: 2.5cqw; transform: translateX(-50%); border-radius: 999px; background: #000; }
.duo-phone img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 4.3cqw; }
.pcard-view .visual-image img { width: 100%; height: 100%; object-fit: cover; }
.pcard-concept { position: absolute; left: 10px; top: 8px; font-size: .75rem; line-height: 1.2; color: var(--ink-2); }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2vw, 28px); }
.pcard-title { font-size: var(--fs-card); font-weight: 760; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.1; }
.pcard-title a { color: var(--ink); text-decoration: none; }
.pcard-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.pcard-tagline { margin-top: var(--space-2); color: var(--ink-2); }
.pcard .tb { margin-top: var(--space-5); }
.pcard .tb-cell { padding: 8px 10px 10px; }
.pcard .tb-cell dd { font-size: .9375rem; }
.pcard .tb-price dd { font-size: 1.0625rem; font-weight: 720; }
.pcard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: auto; padding-top: var(--space-6); }
.pcard .tb { margin-bottom: 0; }
.pcard-body > .tb { margin-top: auto; }
.pcard-tagline { min-height: 3.2em; margin-bottom: var(--space-5); }
.pcard-actions .btn { --h: 44px; padding: 0 16px; font-size: .9375rem; }
.pcard-actions .link-arrow { white-space: nowrap; }
.pcard-actions .link-arrow { color: var(--ink); }
.pcard-sale { border-color: var(--mask); box-shadow: inset 0 0 0 1px var(--mask); }
.pcard-sale:hover { box-shadow: inset 0 0 0 2px var(--mask); }
@media (max-width: 1020px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pgrid .pcard-featured { grid-column: 1 / -1; } }
@media (max-width: 640px) { .pgrid, .pgrid-2 { grid-template-columns: 1fr; } }

.stage-legend { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); }
.stage-legend li { padding: var(--space-5); display: grid; gap: var(--space-3); align-content: start; }
.stage-legend li + li { border-left: 1px solid var(--rule); }
.stage-legend .stage { justify-self: start; }
.stage-legend p { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 720px) { .stage-legend { grid-template-columns: 1fr; } .stage-legend li + li { border-left: 0; border-top: 1px solid var(--rule); } }

/* ---------- historial (cómo se hizo) ---------- */
.revlist { border-top: 1px solid var(--rule); }
.revlist li { display: grid; grid-template-columns: 56px minmax(0, 180px) minmax(0, 1fr); gap: var(--space-5); padding: var(--space-5) 0; border-bottom: 1px solid var(--rule-soft); align-items: baseline; }
.revlist-rev { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--copper); border-radius: 50%; color: var(--copper-ink); font-size: .8125rem; }
.revlist-label { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.revlist-body h3 { font-size: 1.25rem; font-weight: 720; letter-spacing: -.01em; line-height: 1.25; }
.revlist-body p { margin-top: var(--space-2); color: var(--ink-2); max-width: 60ch; }
.revlist li:last-child .revlist-rev { background: var(--mask); border-color: var(--mask); color: var(--on-mask); }
.revlist-compact li { grid-template-columns: 48px minmax(0, 150px) minmax(0, 1fr); padding: var(--space-4) 0; }
.revlist-compact .revlist-body h3 { font-size: 1.0625rem; }
@media (max-width: 640px) {
  .revlist li, .revlist-compact li { grid-template-columns: 44px minmax(0, 1fr); row-gap: 4px; }
  .revlist-label { grid-column: 2; }
  .revlist-body { grid-column: 2; }
}
.proof { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.proof-copy { position: sticky; top: calc(var(--header-h) + 32px); padding-top: var(--space-5); border-top: 2px solid var(--ink); }
.proof-copy .lead { margin: var(--space-4) 0 var(--space-8); }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr; } .proof-copy { position: static; } }

/* ---------- dos formas de trabajar ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); }
.door { padding: clamp(28px, 3.5vw, 52px); display: flex; flex-direction: column; gap: var(--space-4); background: var(--paper); }
.door + .door { border-left: 1px solid var(--rule); }
.door > p { color: var(--ink-2); max-width: 46ch; font-size: 1.0625rem; }
.door .btn { align-self: flex-start; margin-top: auto; }
p.door-for { font-weight: 650; font-size: 1rem; color: var(--ink); }
.door-list { margin: var(--space-2) 0 var(--space-6); border-top: 1px solid var(--rule); }
.door-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 14px 0; border-bottom: 1px solid var(--rule-soft); color: var(--ink); text-decoration: none; font-weight: 600; }
.door-list a:hover .door-name { color: var(--link); text-decoration: underline; text-underline-offset: .2em; }
.checks { display: grid; gap: var(--space-3); margin: var(--space-2) 0 var(--space-6); }
.checks li { display: flex; gap: var(--space-3); align-items: flex-start; }
.checks .i { color: var(--link); width: 22px; height: 22px; margin-top: 1px; }
.section-deep .checks .i { color: #ffffff; }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } .door + .door { border-left: 0; border-top: 1px solid var(--rule); } }

/* ---------- cómo trabajamos: pasos unidos por una pista ---------- */
.path { --p: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.path::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px; background: var(--rule-soft); }
.path::after { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px; background: var(--copper); transform: scaleX(var(--p)); transform-origin: left; transition: transform 1.4s var(--ease); }
.path-step { position: relative; z-index: 1; }
.path-via { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--paper); font: 700 .875rem/1 var(--font); color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.path-step.is-lit .path-via { border-color: var(--copper); background: var(--copper); color: #0f1713; }
.path-step.is-on .path-via { background: var(--mask); border-color: var(--mask); color: var(--on-mask); }
.path-title { margin-top: var(--space-5); font-size: 1.25rem; font-weight: 720; letter-spacing: -.01em; }
.path-step > p { margin-top: var(--space-2); color: var(--ink-2); font-size: 1rem; }
.path-get { margin-top: var(--space-4) !important; padding-top: var(--space-3); border-top: 1px solid var(--rule-soft); }
.path-get span { display: block; font-size: .75rem; font-weight: 650; color: var(--ink); }
@media (max-width: 900px) {
  .path { grid-template-columns: 1fr; gap: var(--space-8); padding-left: 0; }
  .path::before, .path::after { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; }
  .path::after { transform: scaleY(var(--p)); transform-origin: top; }
  .path-step { display: grid; grid-template-columns: 40px 1fr; column-gap: var(--space-5); }
  .path-step > :not(.path-via) { grid-column: 2; }
  .path-title { margin-top: 6px; }
}

/* ---------- ideas ---------- */
.ideas { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); }
.idea { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5) var(--space-2); border-bottom: 1px solid var(--rule-soft); color: var(--ink); text-decoration: none; height: 100%; transition: background-color .15s; }
.ideas li:nth-child(odd) .idea { border-right: 1px solid var(--rule-soft); padding-right: var(--space-5); }
.ideas li:nth-child(even) .idea { padding-left: var(--space-5); }
.idea:hover { background: var(--paper-2); }
.idea > .i { color: var(--link); }
.idea-text { display: grid; gap: 2px; flex: 1; }
.idea-text strong { font-weight: 700; font-size: 1.0625rem; }
.idea-text span { color: var(--ink-2); font-size: 1rem; }
.idea-arrow { color: var(--ink-2); transition: transform .2s var(--ease); }
.idea:hover .idea-arrow { transform: translateX(4px); color: var(--link); }
@media (max-width: 760px) { .ideas { grid-template-columns: 1fr; } .ideas li .idea { border-right: 0 !important; padding-inline: var(--space-2) !important; } }

/* ---------- por qué (campo verde) ---------- */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--on-mask-rule); }
.why-list li { padding: var(--space-6) var(--space-6) var(--space-6) 0; border-bottom: 1px solid var(--on-mask-rule); }
.why-list li:nth-child(even) { padding-left: var(--space-6); border-left: 1px solid var(--on-mask-rule); }
.why-list h3 { font-size: 1.25rem; font-weight: 720; }
.why-list p { margin-top: var(--space-2); }
.why-list-light { border-top-color: var(--rule); }
.why-list-light li { border-color: var(--rule-soft) !important; }
.why-list-light p { color: var(--ink-2); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .why-list { grid-template-columns: 1fr; } .why-list li:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ---------- ideas reales + reserva de llamada (Home) ---------- */
/* ---------- Inicio: entrada, franja de servicios y producto destacado ---------- */
.hero-kicker { font: 600 .8125rem/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--copper-ink); margin-bottom: var(--space-4); }
.hero-cta { margin-top: var(--space-8); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.hero-free { display: flex; align-items: center; gap: 8px; margin-top: var(--space-4); font-size: .9375rem; color: var(--ink-2); }
.hero-free .i { width: 18px; height: 18px; color: var(--link); }
.hero-free + .hero-proof { margin-top: var(--space-10); }
.hero-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: var(--space-6); border-block: 1px solid var(--rule); }
.hero-strip li { display: flex; align-items: baseline; gap: 10px; padding: 14px var(--space-4); font-weight: 620; font-size: .9375rem; line-height: 1.3; }
.hero-strip li + li { border-left: 1px solid var(--rule-soft); }
.hero-strip .ref { font-size: .6875rem; color: var(--copper-ink); }
@media (max-width: 960px) {
  .hero-home .hero-copy > .hero-kicker, .hero-home .hero-copy > .hero-lead { order: 1; }
  .hero-home .hero-copy > .hero-free { order: 2; }
  .hero-home .hero-copy > .hero-lead { margin-top: var(--space-5); }
  .hero-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-strip li { border-left: 0 !important; border-top: 1px solid var(--rule-soft); }
  .hero-strip li:nth-child(-n+2) { border-top: 0; }
  .hero-strip li:nth-child(even) { border-left: 1px solid var(--rule-soft) !important; }
  .hero-strip li:last-child { grid-column: 1 / -1; border-left: 0 !important; }
}
@media (max-width: 480px) { .hero-cta .btn { flex: 1 1 100%; } }

.sub-head { margin: clamp(48px, 5vw, 72px) 0 var(--space-6); font-size: 1.25rem; font-weight: 720; letter-spacing: -.01em; }
.feat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border: 1px solid var(--mask); box-shadow: inset 0 0 0 1px var(--mask); background: var(--paper); }
.feat + .feat { margin-top: var(--space-8); }
.feat-media { display: block; border-right: 1px solid var(--mask); background-color: var(--paper); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.feat-view { height: 100%; min-height: 380px; display: flex; align-items: center; justify-content: center; gap: 7cqw; container-type: inline-size; padding: var(--space-8); }
.feat-view .duo-sensor { height: 62cqw; max-height: 460px; width: auto; rotate: 14deg; filter: drop-shadow(0 16px 18px rgba(15, 23, 19, .22)); }
.feat-view .duo-phone { height: 64cqw; max-height: 470px; }
.feat-body { display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 48px); }
.feat-stage { display: flex; align-items: center; gap: var(--space-4); font-size: .875rem; }
.feat-stage .ref { color: var(--ink-2); }
.feat-title { margin-top: var(--space-4); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 780; font-stretch: 106%; letter-spacing: -.03em; line-height: 1; }
.feat-title a { color: var(--ink); text-decoration: none; }
.feat-title a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.feat-tagline { margin-top: var(--space-3); font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); font-weight: 650; line-height: 1.3; }
.feat-summary { margin-top: var(--space-3); color: var(--ink-2); max-width: 34em; }
.feat-buy { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: auto; padding-top: var(--space-8); }
.feat-price { display: grid; gap: 2px; }
.feat-price .data { font: 700 clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem)/1 var(--font-mono); letter-spacing: -.02em; }
.feat-price small { font-size: .8125rem; color: var(--ink-2); }
.feat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }
.feat-actions .link-arrow { color: var(--ink); }
.feat .trust { margin-top: var(--space-6); }
@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; }
  .feat-media { border-right: 0; border-bottom: 1px solid var(--mask); }
  .feat-view { min-height: 0; aspect-ratio: 16 / 11; padding: var(--space-5); }
  .feat-view .duo-sensor { height: 46cqw; }
  .feat-view .duo-phone { height: 50cqw; }
}

/* ---------- ideas que podemos construir ---------- */
.section-ideas .idea-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.section-ideas .idea-grid li { border-bottom: 1px solid var(--rule-soft); border-right: 1px solid var(--rule-soft); }
.section-ideas .idea-grid li:nth-child(3n) { border-right: 0; }
.idea-grid { display: grid; }
.idea-card { display: flex; flex-direction: column; gap: var(--space-2); height: 100%; padding: var(--space-6) var(--space-5); color: var(--ink); text-decoration: none; transition: background-color .15s; }
.idea-card:hover { background: var(--paper); }
.idea-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-2); }
.idea-top .i { width: 26px; height: 26px; color: var(--copper-ink); }
.idea-tag { font: 600 .6875rem/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.idea-card strong { font-size: 1.125rem; line-height: 1.25; font-weight: 720; letter-spacing: -.005em; }
.idea-p { color: var(--ink-2); font-size: .9375rem; line-height: 1.45; }
.idea-go { margin-top: auto; padding-top: var(--space-3); display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 650; color: var(--link); }
.idea-go .i { transition: transform .2s var(--ease); }
.idea-card:hover .idea-go .i { transform: translateX(3px); }
.section-ideas .section-foot { font-size: 1.0625rem; }
.section-ideas .section-foot a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; text-decoration-color: var(--mask); text-decoration-thickness: 2px; }
@media (max-width: 960px) { .section-ideas .idea-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .section-ideas .idea-grid li:nth-child(3n) { border-right: 1px solid var(--rule-soft); } .section-ideas .idea-grid li:nth-child(2n) { border-right: 0; } }
@media (max-width: 620px) {
  /* En el móvil las ideas se deslizan de lado */
  .section-ideas .idea-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); border-top: 0; gap: var(--space-3); }
  .section-ideas .idea-grid::-webkit-scrollbar { display: none; }
  .section-ideas .idea-grid li, .section-ideas .idea-grid li:nth-child(n) { scroll-snap-align: start; border: 1px solid var(--rule-soft); background: var(--paper); }
  .idea-card { padding: var(--space-5); }
}

/* ---------- «Hablamos»: qué pasa después y tres formas de contarlo ---------- */
.section-talk { background: var(--paper-2); border-block: 1px solid var(--rule); }
.talk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.talk-intro { min-width: 0; padding-top: var(--space-5); border-top: 2px solid var(--ink); }
.talk-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: var(--space-4); font: 600 .75rem/1.2 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--copper-ink); }
.talk-intro .lead { margin-top: var(--space-4); }
.talk-next { margin-top: var(--space-10); font: 600 .75rem/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.talk-steps { position: relative; margin-top: var(--space-5); display: grid; gap: 0; }
.talk-steps li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-4); padding-bottom: var(--space-6); }
.talk-steps li:not(:last-child)::before { content: ""; position: absolute; left: 23.5px; top: 48px; bottom: 0; border-left: 1px dashed var(--copper); }
.talk-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--copper); background: var(--paper); color: var(--copper-ink); }
.talk-n .i { width: 22px; height: 22px; }
.talk-steps h4 { font-size: 1.1875rem; font-weight: 720; letter-spacing: -.01em; line-height: 1.25; padding-top: 2px; }
.talk-steps h4 .ref { font-size: .75rem; color: var(--copper-ink); margin-right: 4px; }
.talk-steps p { margin-top: 4px; color: var(--ink-2); font-size: .9875rem; line-height: 1.5; max-width: 34em; }
.talk-points { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-2); padding-top: var(--space-5); border-top: 1px solid var(--rule-soft); font-size: .875rem; color: var(--ink-2); }
.talk-points li { display: inline-flex; align-items: center; gap: 6px; }
.talk-points .i { color: var(--link); width: 16px; height: 16px; }

.talk { min-width: 0; padding: clamp(20px, 2.6vw, 36px); border-top: 4px solid var(--mask); box-shadow: 0 24px 48px -32px rgba(15, 23, 19, .35); scroll-margin-top: calc(var(--header-h) + 16px); }
.talk-ask { font-size: 1.125rem; font-weight: 720; letter-spacing: -.01em; }
.talk-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: var(--space-4); }
.talk-tab { display: grid; justify-items: center; align-content: start; gap: 4px; min-height: 96px; padding: 14px 8px 12px; border: 1px solid var(--rule-soft); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; text-align: center; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.talk-tab .i { width: 26px; height: 26px; color: var(--ink-2); margin-bottom: 2px; }
.talk-tab-l { font-weight: 720; font-size: .9375rem; line-height: 1.2; }
.talk-tab-b { font: 600 .625rem/1.2 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.talk-tab:hover { border-color: var(--ink); }
.talk-tab[aria-selected="true"] { border-color: var(--mask); background: var(--tint); box-shadow: inset 0 0 0 1px var(--mask); }
.talk-tab[aria-selected="true"] .i, .talk-tab[aria-selected="true"] .talk-tab-b { color: var(--link); }
.talk-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.talk-panel { margin-top: var(--space-5); }
.talk-desc { color: var(--ink-2); }
.talk-form { display: grid; gap: var(--space-5); margin-top: var(--space-5); }
.talk-form .choices { gap: 6px; }
.talk-form .choice span { min-height: 40px; padding: 6px 14px; font-size: .9375rem; }
.talk-form .btn .i { margin-right: 4px; }
.talk-tip { font-size: .875rem; color: var(--ink-2); }
.talk-alt { text-align: center; font-size: .9375rem; }
.talk-alt a { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 650; }

/* Grabadora */
.rec { display: grid; justify-items: center; gap: var(--space-3); padding: var(--space-6) var(--space-4); border: 1px dashed var(--rule-soft); background: var(--paper-2); text-align: center; }
.rec-btn { display: grid; justify-items: center; gap: var(--space-3); background: none; border: 0; padding: 0; color: var(--ink); font: 650 1rem/1.2 var(--font); cursor: pointer; }
.rec-ic { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--mask); color: var(--on-mask); box-shadow: 0 10px 24px -10px rgba(20, 85, 61, .6); transition: transform .15s var(--ease), background-color .15s; }
.rec-ic .i { width: 34px; height: 34px; }
.rec-stop { display: none; }
.rec-btn:hover .rec-ic { transform: scale(1.04); }
.rec-btn:focus-visible .rec-ic { outline: 3px solid var(--focus); outline-offset: 4px; }
.rec-btn:disabled { cursor: not-allowed; opacity: .5; }
.is-recording .rec-ic { background: var(--error); box-shadow: 0 0 0 0 rgba(179, 38, 30, .45); animation: rec-pulse 1.6s var(--ease) infinite; }
.is-recording .rec-mic { display: none; }
.is-recording .rec-stop { display: block; }
@keyframes rec-pulse { 0% { box-shadow: 0 0 0 0 rgba(179, 38, 30, .45); } 100% { box-shadow: 0 0 0 18px rgba(179, 38, 30, 0); } }
.rec-time { font: 600 .875rem/1 var(--font-mono); color: var(--ink-2); }
.is-recording .rec-time { color: var(--error); }
.rec-bars { display: flex; align-items: center; gap: 3px; height: 28px; }
.rec-bars i { display: block; width: 3px; height: 100%; background: var(--rule-soft); transform: scaleY(.12); transform-origin: center; transition: transform .08s linear; }
.is-recording .rec-bars i { background: var(--mask); }
.has-audio .rec-bars, .has-audio .rec-time { display: none; }
.rec-done[hidden], .rec-btn[hidden], .rec-msg[hidden] { display: none; }
.rec-done { display: grid; justify-items: center; gap: var(--space-2); width: 100%; }
.rec-done audio { width: 100%; max-width: 360px; }
.rec-done .btn-text { display: inline-flex; align-items: center; gap: 6px; }
.rec-msg { font-size: .875rem; color: var(--ink-2); max-width: 32em; }
.is-unsupported .rec-bars, .is-unsupported .rec-time { display: none; }
@media (prefers-reduced-motion: reduce) { .is-recording .rec-ic { animation: none; } }

@media (max-width: 1020px) { .talk-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .talk-tab { min-height: 84px; padding: 12px 4px 10px; }
  .talk-tab-l { font-size: .875rem; }
  .talk-tab-b { display: none; }
}

/* Contacto: correos directos en fila */
#proximamente .stage-legend { margin-top: clamp(32px, 4vw, 48px); }
.channels-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 var(--space-8); }
.section-why { border-block: 1px solid var(--rule); }
.section-why .h-statement { color: var(--ink); }
.section-why .why-list { border-top-color: var(--rule); }
.section-why .why-list li { border-color: var(--rule-soft); }
.section-why .why-list p { color: var(--ink-2); font-size: 1.0625rem; }

/* ---------- el paso a «A la venta»: banda verde a todo el ancho ---------- */
.sale-band { background: var(--mask); color: var(--on-mask); padding: clamp(48px, 6vw, 88px) 0; --focus: #ffffff; }
.sale-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 64px); align-items: center; }
.sale-rev { display: grid; place-items: center; width: clamp(72px, 8vw, 112px); aspect-ratio: 1; border-radius: 50%; border: 2px solid #ffffff; font: 600 clamp(1.75rem, 1rem + 2vw, 2.75rem)/1 var(--font-mono); color: #ffffff; }
.sale-meta { font-weight: 600; color: var(--on-mask-2); }
.sale-meta .ref { color: var(--on-mask); }
.sale-band .h-section { margin-top: var(--space-2); color: var(--on-mask); }
.sale-band .lead { margin-top: var(--space-3); color: var(--on-mask-2); }
.sale-buy { display: grid; gap: var(--space-4); justify-items: end; padding-left: clamp(24px, 4vw, 56px); border-left: 1px solid var(--on-mask-rule); }
.sale-price { font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3.5rem); font-weight: 780; font-stretch: 106%; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
@media (max-width: 860px) { .sale-inner { grid-template-columns: auto 1fr; } .sale-buy { grid-column: 1 / -1; justify-items: start; padding-left: 0; padding-top: var(--space-6); border-left: 0; border-top: 1px solid var(--on-mask-rule); } }

/* ---------- lista de piezas (Crea tu producto) ---------- */
.bom { width: 100%; border-collapse: collapse; min-width: 720px; }
.bom th, .bom td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule-soft); }
.bom tbody tr:last-child > * { border-bottom: 0; }
.bom thead th { font-size: .8125rem; font-weight: 600; color: var(--ink-2); border-bottom-color: var(--rule); padding-block: 10px; }
.bom td.ref { width: 76px; color: var(--copper-ink); }
.bom tbody th { width: 24%; font-weight: 720; font-size: 1.0625rem; }
.bom td { color: var(--ink-2); }
.bom td:last-child { width: 24%; color: var(--ink); font-weight: 560; font-size: .9375rem; }
.bom tbody tr:hover { background: var(--paper-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule-soft); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 22px 0; cursor: pointer; font-weight: 680; font-size: 1.125rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--link); }
.faq-icon { color: var(--copper); transition: transform .25s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 0 24px; color: var(--ink-2); max-width: 66ch; }

/* ---------- banda final: campo verde ---------- */
.cta-band { background: var(--mask); color: var(--on-mask); padding: clamp(64px, 8vw, 120px) 0; --focus: #ffffff; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: var(--space-10); align-items: end; }
.cta-band .h-section { color: var(--on-mask); max-width: 16em; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem); }
.cta-band .lead { color: var(--on-mask-2); margin-top: var(--space-4); }
.cta-band a:not(.btn) { color: var(--on-mask); }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; align-items: start; } }

/* ---------- cabeceras de página ---------- */
.crumbs { margin-bottom: var(--space-5); font-size: .875rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; color: var(--rule-soft); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- página de producto ---------- */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--space-5); border-top: 1px solid var(--rule-soft); }
.trust li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); font-size: .9375rem; font-weight: 560; }
.trust .i { width: 20px; height: 20px; color: var(--link); }
.progress { margin-top: var(--space-6); }
.progress-bar { height: 8px; border: 1px solid var(--rule); overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: var(--copper); }
.progress p { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); }
.progress strong { color: var(--ink); font-family: var(--font-mono); font-weight: 500; }

/* Barra de compra fija: aparece al bajar más allá del cajetín */
.buybar { position: fixed; inset: auto 0 0 0; z-index: 40; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .35s var(--ease); }
.buybar.is-on { transform: none; }
.buybar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.buybar-info { display: grid; min-width: 0; line-height: 1.3; }
.buybar-info strong { font-weight: 740; font-size: 1.0625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-info > span { font-size: .875rem; color: var(--ink-2); }
.buybar-info .data { color: var(--ink); font-weight: 600; font-size: 1rem; }
.buybar .btn { flex: none; }

/* ---------- bloques de producto ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-8) var(--space-6); counter-reset: s; }
.steps li { border-top: 1px solid var(--rule); padding-top: var(--space-5); }
.steps-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--copper); color: var(--copper-ink); font: 700 .875rem/1 var(--font); margin-bottom: var(--space-4); }
.steps h3 { font-size: 1.25rem; font-weight: 720; line-height: 1.3; }
.steps p { margin-top: var(--space-2); color: var(--ink-2); }

.features { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.features-head { position: sticky; top: calc(var(--header-h) + 32px); }
.feature-list { border-top: 1px solid var(--rule); }
.feature-list li { display: flex; gap: var(--space-5); padding: var(--space-6) 0; border-bottom: 1px solid var(--rule-soft); }
.feature-list .i { color: var(--link); width: 28px; height: 28px; }
.feature-list h3 { font-size: 1.1875rem; font-weight: 720; line-height: 1.3; }
.feature-list p { margin-top: var(--space-2); color: var(--ink-2); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } .features-head { position: static; } }

/* Ficha técnica: tabla de plano */
.specs { margin: 0; border: 1px solid var(--rule); background: var(--paper); }
.specs > div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); }
.specs > div + div { border-top: 1px solid var(--rule-soft); }
.specs dt { padding: 14px 18px; font-weight: 650; font-size: .9375rem; border-right: 1px solid var(--rule-soft); }
.specs dd { margin: 0; padding: 14px 18px; color: var(--ink-2); }
@media (max-width: 560px) { .specs > div { grid-template-columns: 1fr; } .specs dt { border-right: 0; padding-bottom: 0; } .specs dd { padding-top: 4px; } }

.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-8); }
.audience li { border-top: 2px solid var(--mask); padding-top: var(--space-5); }
.audience h3 { font-size: 1.1875rem; font-weight: 720; }
.audience p { margin-top: var(--space-2); color: var(--ink-2); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--rule); }
.quotes li { padding: var(--space-8) var(--space-6) var(--space-8) 0; }
.quotes li + li { padding-left: var(--space-6); border-left: 1px solid var(--rule-soft); }
.quotes blockquote { margin: 0; }
.quotes blockquote p { font-weight: 600; font-size: 1.25rem; line-height: 1.4; letter-spacing: -.01em; }
.quotes blockquote p::before { content: "“"; color: var(--copper); }
.quotes blockquote p::after { content: "”"; color: var(--copper); }
.quote-by { margin-top: var(--space-4); color: var(--ink-2); font-size: .875rem; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } .quotes li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-soft); } .quotes li { padding-right: 0; } }

.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: var(--space-10); align-items: center; }
.split .lead { margin-top: var(--space-4); }
.split .checks { margin-top: var(--space-6); }
.split-cta { display: flex; justify-content: flex-end; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-cta { justify-content: flex-start; } }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-6); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 1px solid var(--rule); }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: var(--space-3); font-size: .875rem; color: var(--ink-2); }

/* ---------- demo pádel ---------- */
.demo { display: grid; grid-template-columns: 1.35fr .65fr; gap: var(--space-6); align-items: stretch; }
.demo-screen { background: #0f1713; color: #e8eee9; border: 1px solid var(--rule); padding: clamp(16px, 2.5vw, 28px); display: flex; flex-direction: column; gap: var(--space-4); --focus: #ffffff; }
.demo-live { display: flex; align-items: center; gap: 10px; font: 500 .75rem var(--font-mono); }
.demo-clock { margin-left: auto; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); flex: none; animation: beat 2.4s var(--ease) infinite; }
.demo-court { width: 100%; height: auto; }
.court-line { fill: none; stroke: rgba(232, 238, 233, .45); stroke-width: 1.2; }
.court-a { fill: #8fd8b2; }
.court-b { fill: #e08b4c; }
.court-ball { fill: #fff; }
.demo-timeline { position: relative; height: 12px; background: rgba(232, 238, 233, .12); overflow: hidden; }
.demo-buffer { position: absolute; inset: 0 auto 0 0; width: 100%; background: repeating-linear-gradient(90deg, rgba(143, 216, 178, .32) 0 2px, transparent 2px 8px); }
.demo-window { position: absolute; top: 0; bottom: 0; right: 10%; width: 30%; background: #8fd8b2; transform-origin: right; animation: grow .6s var(--ease); }
@keyframes grow { from { transform: scaleX(0); } }
.demo-legend { display: flex; justify-content: space-between; font-size: .8125rem; color: #a7b4ad; }
.demo-side { display: flex; flex-direction: column; gap: var(--space-4); }
.demo-band { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); padding: var(--space-8) var(--space-4); border: 1px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; font: 650 1rem var(--font); overflow: hidden; }
.demo-band-strap { position: absolute; top: 0; bottom: 0; left: 50%; width: 56px; transform: translateX(-50%); background: var(--mask); }
.demo-band-pod { position: relative; width: 116px; height: 116px; border-radius: 34px; background: #f3f6f4; border: 1.5px solid #0f1713; display: grid; place-items: center; }
.demo-band-btn { width: 64px; height: 64px; border-radius: 50%; background: var(--copper); box-shadow: inset 0 -4px 0 rgba(15, 23, 19, .2); transition: transform .12s var(--ease), box-shadow .12s; }
.demo-band:hover .demo-band-btn { transform: scale(1.04); }
.demo-band:active .demo-band-btn, .demo-band.is-pressed .demo-band-btn { transform: scale(.92); box-shadow: inset 0 2px 0 rgba(15, 23, 19, .2); }
.demo-band.is-pressed .demo-band-pod { animation: buzz .3s linear; }
@keyframes buzz { 25% { transform: translateX(-2px); } 50% { transform: translateX(2px); } 75% { transform: translateX(-1px); } }
.demo-band-label { position: relative; background: var(--paper); padding: 6px 12px; border: 1px solid var(--rule); }
.demo-clips { flex: 1; border: 1px solid var(--rule); padding: var(--space-5); background: var(--paper); }
.demo-clips-h { font-size: 1rem; display: flex; justify-content: space-between; }
.demo-empty { margin-top: var(--space-3); color: var(--ink-2); font-size: .9375rem; }
.demo-list { display: grid; gap: var(--space-2); margin-top: var(--space-3); max-height: 260px; overflow: auto; }
.demo-list li { display: flex; align-items: center; gap: var(--space-3); padding: 10px 12px; border: 1px solid var(--rule-soft); background: var(--paper-2); animation: slidein .45s var(--ease); font-size: .9375rem; }
.demo-list li .i { color: var(--link); width: 20px; height: 20px; }
.demo-list .demo-share { margin-left: auto; font-size: .8125rem; color: var(--link); font-weight: 650; }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } .demo-band { padding: var(--space-6); } }

/* ---------- Crea tu producto ---------- */
.hero-build-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: var(--space-12); align-items: end; }
.hero-build .hero-lead { margin-top: var(--space-6); }
.hero-points { display: grid; border: 1px solid var(--rule); }
.hero-points li { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4) var(--space-5); font-weight: 560; }
.hero-points li + li { border-top: 1px solid var(--rule-soft); }
.hero-points .i { color: var(--link); }
@media (max-width: 860px) { .hero-build-grid { grid-template-columns: 1fr; gap: var(--space-8); } }

.builder-examples { margin-bottom: var(--space-8); }
.builder-ex-label { font-weight: 650; margin-bottom: var(--space-3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 12px; border: 1px solid var(--rule-soft); background: var(--paper); color: var(--ink); font: 560 .9375rem var(--font); cursor: pointer; transition: border-color .15s, background-color .15s; }
.chip .i { width: 20px; height: 20px; color: var(--link); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--mask); background: var(--tint); box-shadow: inset 0 0 0 1px var(--mask); }

.builder-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.builder-steps { display: grid; gap: var(--space-8); }
.bstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.bstep legend { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font: 720 1.25rem/1.3 var(--font); padding: 0; margin-bottom: var(--space-4); }
.bstep-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--copper); color: var(--copper-ink); font: 700 .8125rem var(--font); }
.bstep.is-done .bstep-n { background: var(--copper); color: #0f1713; }
.opt { font: 400 .875rem var(--font); color: var(--ink-2); }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-2); }
.opt-card { position: relative; cursor: pointer; }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card > span { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 56px; padding: 12px 14px; border: 1px solid var(--rule-soft); background: var(--paper); font-weight: 560; font-size: .9375rem; line-height: 1.3; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.opt-card .i { color: var(--ink-2); transition: color .15s; }
.opt-card:hover > span { border-color: var(--ink); }
.opt-card input:checked + span { border-color: var(--mask); background: var(--tint); box-shadow: inset 0 0 0 1px var(--mask); }
.opt-card input:checked + span .i { color: var(--link); }
.opt-card input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* El resultado del configurador: un cajetín verde */
.builder-out { position: sticky; top: calc(var(--header-h) + 24px); }
.device { background: var(--mask); color: var(--on-mask); border: 0; padding: clamp(22px, 2.5vw, 32px); --focus: #ffffff; }
.device-label { font-size: .8125rem; font-weight: 600; color: var(--on-mask-2); }
.device-sentence { font: 720 clamp(1.25rem, 1.1rem + .6vw, 1.5rem)/1.3 var(--font); letter-spacing: -.012em; margin-top: var(--space-3); min-height: 2.6em; }
.device-sentence.is-empty { color: var(--on-mask-2); font: 400 1rem/1.5 var(--font); }
.chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: var(--space-6) 0; position: relative; }
.chain::before { content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 1px; background: var(--on-mask-rule); }
.chain.is-live::after { content: ""; position: absolute; top: 19px; left: 12%; width: 7px; height: 7px; border-radius: 50%; background: #e08b4c; animation: flow 2.4s var(--ease) infinite; }
@keyframes flow { from { left: 12%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } to { left: 86%; opacity: 0; } }
.chain-node { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.chain-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--mask-2); border: 1px solid var(--on-mask-rule); color: var(--on-mask-2); transition: background-color .3s var(--ease), color .3s, border-color .3s; }
.chain-icon .i { width: 22px; height: 22px; }
.chain-node.is-on .chain-icon { background: #ffffff; color: #14553d; border-color: #ffffff; }
.chain-name { font-size: .6875rem; font-weight: 600; color: var(--on-mask-2); }
.chain-val { font-size: .8125rem; line-height: 1.3; font-weight: 600; }
.device-h { font-size: .8125rem; font-weight: 600; color: var(--on-mask-2); margin-bottom: var(--space-3); }
.device-parts, .device-path { padding-top: var(--space-5); border-top: 1px solid var(--on-mask-rule); margin-top: var(--space-5); }
.device-parts ul { display: grid; gap: 10px; }
.device-parts li { display: flex; gap: 10px; font-size: .9375rem; line-height: 1.45; animation: slidein .35s var(--ease); }
.device-parts li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .55em; border-radius: 50%; background: #e08b4c; }
.mini-path { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-path li { padding: 5px 10px; border: 1px solid var(--on-mask-rule); font-size: .8125rem; color: var(--on-mask-2); transition: background-color .3s, color .3s; }
.mini-path li.is-on { background: #ffffff; color: #14553d; border-color: #ffffff; font-weight: 650; }
.device-path-note { margin-top: var(--space-3); font-size: .875rem; color: var(--on-mask-2); }
.device-actions { margin-top: var(--space-6); display: grid; gap: var(--space-2); justify-items: center; }
.device-actions .btn-primary { background: #ffffff; color: #14553d; border-color: #ffffff; }
.device-actions .btn-primary:hover { background: #e6f0ea; border-color: #e6f0ea; }
.device-actions .btn-primary[aria-disabled="true"] { opacity: .55; pointer-events: none; }
@media (max-width: 960px) { .builder-grid { grid-template-columns: 1fr; } .builder-out { position: static; } }

.caps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.caps li { display: flex; gap: var(--space-4); padding: var(--space-8) var(--space-6) var(--space-8) 0; border-bottom: 1px solid var(--rule-soft); }
.caps li:not(:nth-child(3n + 1)) { padding-left: var(--space-6); border-left: 1px solid var(--rule-soft); }
.caps .i { color: var(--link); width: 28px; height: 28px; }
.caps h3 { font-size: 1.1875rem; font-weight: 720; line-height: 1.3; }
.caps p { margin-top: var(--space-2); color: var(--ink-2); }
.caps .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-3); }
.tag { font: 500 .75rem var(--font); padding: 4px 7px; border: 1px solid var(--rule-soft); color: var(--ink); }
@media (max-width: 960px) { .caps { grid-template-columns: repeat(2, 1fr); } .caps li { padding: var(--space-6) var(--space-5) var(--space-6) 0 !important; border-left: 0 !important; } .caps li:nth-child(even) { padding-left: var(--space-5) !important; border-left: 1px solid var(--rule-soft) !important; } }
@media (max-width: 620px) { .caps { grid-template-columns: 1fr; } .caps li:nth-child(even) { padding-left: 0 !important; border-left: 0 !important; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--rule-soft); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 650 .9375rem/1.3 var(--font); vertical-align: bottom; border-bottom-color: var(--rule); }
.compare th[scope="row"] { text-align: left; font-weight: 560; }
.compare .is-us { background: var(--tint); }
.compare thead .is-us { background: var(--mask); color: var(--on-mask); font-size: 1.0625rem; }
.compare .yes { color: var(--link); margin: auto; }
.compare .no { color: var(--rule-soft); margin: auto; }
.compare .partial { font-size: .875rem; color: var(--ink-2); }

/* ---------- formularios ---------- */
.section-join { background: var(--paper-2); border-block: 1px solid var(--rule); }
.join { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.join-copy { padding-top: var(--space-5); border-top: 2px solid var(--ink); }
.join-copy .lead { margin: var(--space-4) 0 var(--space-6); }
.join-mail { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.join-mail .i { color: var(--link); }
@media (max-width: 860px) { .join { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--rule); }
.device.card { background: var(--mask); border-color: var(--mask); }
.form { padding: clamp(22px, 3vw, 36px); display: grid; gap: var(--space-5); }
.form .h-card { margin-bottom: var(--space-1); }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 650; font-size: .9375rem; padding: 0; }
.field legend { margin-bottom: 8px; }
.hint { font-size: .875rem; color: var(--ink-2); margin-top: -2px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--ink-2); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--font); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mask); box-shadow: 0 0 0 1px var(--mask); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field-err { color: var(--error); font-size: .875rem; font-weight: 560; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.summary-field textarea { background: var(--paper-2); font: 400 .8125rem/1.6 var(--font-mono); min-height: 120px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border: 1px solid var(--rule-soft); font-size: .9375rem; transition: border-color .15s, background-color .15s; }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--mask); background: var(--tint); box-shadow: inset 0 0 0 1px var(--mask); font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.check-line { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; cursor: pointer; }
.check-line input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; }
.form-note { font-size: .8125rem; color: var(--ink-2); text-align: center; }
.hp { position: absolute; left: -9999px; }
.form-status p { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; font-weight: 560; border: 1px solid currentColor; }
.form-ok { background: var(--tint); color: var(--ink); border-color: var(--mask) !important; }
.form-ok .i { color: var(--link); }
.form-err { background: color-mix(in oklab, var(--error) 8%, var(--paper)); color: var(--error); }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* ---------- nosotros ---------- */
.about-story { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-mark { margin: 0; display: flex; justify-content: center; }
.about-mark .mark { width: min(100%, 320px); }
@media (max-width: 860px) { .about-story { grid-template-columns: 1fr; } .about-mark { order: -1; justify-content: flex-start; } .about-mark .mark { width: 120px; } }
.mark-trace { fill: none; stroke: var(--copper); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; animation: draw 1s var(--ease) var(--d) backwards; }
.mark-leaf { fill: var(--mask); }
.mark-stem { fill: none; stroke: var(--mask); stroke-width: 3; stroke-linecap: round; }
.mark-via { fill: var(--copper); }
.mark-ring { fill: none; stroke: var(--copper); stroke-width: .8; opacity: 0; }
.mark-pulse { fill: #ffffff; stroke: var(--mask); stroke-width: .6; }
.mark-via-g { transform-box: fill-box; transform-origin: center; animation: pop .5s var(--ease) var(--d) both; }
.manifesto { border-block: 1px solid var(--rule); }
.manifesto p { font: 600 clamp(1.25rem, 1.05rem + .9vw, 1.75rem)/1.4 var(--font); letter-spacing: -.012em; color: var(--ink-2); }
.manifesto p + p { margin-top: var(--space-6); }
.manifesto .manifesto-first { color: var(--ink); font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3.25rem); font-weight: 780; font-stretch: 108%; line-height: 1.08; letter-spacing: -.028em; }
.manifesto .manifesto-sign { color: var(--ink); margin-top: var(--space-10); font-size: 1.125rem; }

/* ---------- contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.channels { border-top: 1px solid var(--rule); }
.channel { display: flex; gap: var(--space-4); padding: var(--space-5) var(--space-2); border-bottom: 1px solid var(--rule-soft); color: var(--ink); text-decoration: none; transition: background-color .15s; }
.channel:hover { background: var(--paper-2); }
.channel .i { color: var(--link); margin-top: 2px; }
.channel > span { display: grid; gap: 2px; }
.channel strong { font-size: 1.125rem; font-weight: 720; }
.channel span span { color: var(--ink-2); font-size: .9375rem; }
.channel .channel-mail { color: var(--link); font-weight: 600; margin-top: 4px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.hero-404 { padding: clamp(64px, 10vw, 140px) 0; }
.big-404 { font-size: clamp(4rem, 2rem + 8vw, 8rem); line-height: 1; color: var(--copper); margin-bottom: var(--space-4); }
.hero-404 .hero-lead { margin: var(--space-5) auto 0; }

/* ---------- pie: cajetín ---------- */
.site-footer { padding: clamp(48px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); background: var(--paper); }
.footer-block { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; border: 1px solid var(--rule); }
.footer-cell { padding: clamp(20px, 2.4vw, 32px); border-right: 1px solid var(--rule); min-width: 0; }
.footer-cell:nth-child(4) { border-right: 0; }
.footer-brand img { width: 176px; }
.footer-slogan { margin-top: var(--space-5); font-weight: 720; font-size: 1.25rem; font-stretch: 106%; letter-spacing: -.015em; }
.footer-sub { margin-top: var(--space-2); color: var(--ink-2); font-size: .9375rem; max-width: 30ch; }
.footer-h { font-size: .8125rem; font-weight: 650; color: var(--ink-2); margin-bottom: var(--space-4); }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--link); text-decoration: underline; }
.footer-sub-link a { display: inline-flex; gap: 8px; align-items: baseline; color: var(--ink-2); }
.footer-sub-link .ref { color: var(--copper-ink); flex: none; }
.footer-mails li { display: grid; gap: 0; }
.footer-mails span { font-size: .8125rem; color: var(--ink-2); }
.footer-mails a { overflow-wrap: anywhere; }
.footer-social a { display: inline-flex; align-items: center; gap: 10px; }
.footer-social .i { width: 20px; height: 20px; }
.footer-handle { margin-top: var(--space-4); font-size: .875rem; color: var(--ink-2); }
.footer-bottom { grid-column: 1 / -1; border-right: 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-block: 14px; font-size: .875rem; color: var(--ink-2); }
.footer-langs { display: flex !important; gap: var(--space-4) !important; }
.footer-langs a[aria-current] { color: var(--link); font-weight: 650; }
@media (max-width: 960px) { .footer-block { grid-template-columns: 1fr 1fr; } .footer-cell:nth-child(2) { border-right: 0; } .footer-cell:nth-child(-n + 2) { border-bottom: 1px solid var(--rule); } .footer-cell:nth-child(4) { border-right: 0; } }
@media (max-width: 600px) { .footer-block { grid-template-columns: 1fr; } .footer-cell { border-right: 0; border-bottom: 1px solid var(--rule); } .footer-bottom { border-bottom: 0; } }

/* ---------- visuales (piezas antiguas) ---------- */
.visual { position: relative; }
.visual-image img { display: block; width: 100%; height: auto; }

/* ---------- movimiento reducido ---------- */
/* ---------- puesta en marcha: escenas de la app sobre una lámina ----------
   Todo se mide en unidades de lámina (--u = 1/480 del ancho), como un plano a escala.
   El estilo base es el fotograma final; las animaciones solo existen con .is-anim. */
.setup { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.setup-figure { margin: 0; }
.setup-stage {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; container-type: inline-size; --u: calc(100cqw / 480);
  border: 1px solid var(--rule); background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px;
}
.setup-scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s; }
.setup-scene.is-on { opacity: 1; visibility: visible; }
.setup-caption { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-3); font-size: .875rem; color: var(--ink-2); }
.setup-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--rule-soft); background: var(--paper); color: var(--ink); font: 600 .875rem/1 var(--font); cursor: pointer; }
.setup-toggle:hover { border-color: var(--ink); }
.setup-toggle[aria-pressed="false"] .i-play, .setup-toggle[aria-pressed="true"] .i-pause { display: none; }
.setup-toggle[hidden] { display: none; }

.setup-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); counter-reset: none; }
.setup-steps li { border-bottom: 1px solid var(--rule-soft); }
.setup-step {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; width: 100%; padding: 20px 0 22px;
  background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.setup-n {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--copper);
  color: var(--copper-ink); background: var(--paper); font: 600 .8125rem/1 var(--font-mono); transition: background-color .2s, color .2s;
}
.setup-h { display: block; font-weight: 720; font-size: 1.125rem; line-height: 1.3; color: var(--ink-2); transition: color .2s; }
.setup-p { display: block; margin-top: 6px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.setup-step:hover .setup-h, .setup-step[aria-current] .setup-h { color: var(--ink); }
.setup-step[aria-current] .setup-n { background: var(--copper); color: #0f1713; }
.setup-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--link); transform: scaleX(0); transform-origin: left; }
.setup-step[aria-current] .setup-bar { transform: scaleX(1); }
.setup.is-anim .setup-step[aria-current] .setup-bar { transform: scaleX(0); }
.setup.is-anim .setup-bar.is-run { animation: setup-bar var(--dur, 6s) linear forwards; }
.setup.is-paused .setup-bar, .setup.is-paused .setup-scene, .setup.is-paused .setup-scene * { animation-play-state: paused !important; }
@keyframes setup-bar { to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .setup { grid-template-columns: 1fr; gap: var(--space-6); }
  .setup-step { padding: 16px 0 18px; }
}


/* Teléfono con la app JPAB Garden: mismos colores, radios y tipos que la app.
   --pt es un punto de la app (pantalla de 360 pt de ancho); todo dentro se mide en pt. */
.sc-probe { position: absolute; left: calc(var(--u) * 116); top: calc(var(--u) * 66); height: calc(var(--u) * 250); width: auto; }
.sc-waves { position: absolute; left: calc(var(--u) * 168); top: calc(var(--u) * 80); width: calc(var(--u) * 36); fill: none; stroke: var(--copper); stroke-width: 3.5; stroke-linecap: round; }
.ap-phone {
  --pt: calc(var(--u) * .54);
  position: absolute; top: calc(var(--u) * 18); left: calc(var(--u) * 240 - var(--pt) * 192);
  width: calc(var(--pt) * 384); height: calc(var(--pt) * 800); box-sizing: border-box; padding: calc(var(--pt) * 11);
  border-radius: calc(var(--pt) * 58); background: #121214; box-shadow: inset 0 0 0 calc(var(--pt) * 2) #2c2c30;
}
.ap-phone.ap-side { left: calc(var(--u) * 248); }
.ap-screen {
  position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pt) * 47);
  background: #F2F2F7; color: #1C1C1E; text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: calc(var(--pt) * 15); line-height: 1.3; letter-spacing: -.01em; -webkit-font-smoothing: antialiased;
}
.ap-screen p { margin: 0; }
.ap-screen .ai { display: block; width: 1em; height: 1em; }
.ap-status { display: flex; align-items: center; justify-content: space-between; height: calc(var(--pt) * 50); padding: 0 calc(var(--pt) * 28) 0 calc(var(--pt) * 36); font-weight: 600; font-size: calc(var(--pt) * 16); }
.ap-island { position: absolute; left: 50%; top: calc(var(--pt) * 11); width: calc(var(--pt) * 112); height: calc(var(--pt) * 32); border-radius: 99px; background: #000; transform: translateX(-50%); }
.ap-sys { display: flex; align-items: center; gap: calc(var(--pt) * 5); }
.ap-sys svg { height: calc(var(--pt) * 12); width: auto; fill: currentColor; }
.ap-wiz { display: flex; align-items: center; gap: calc(var(--pt) * 14); padding: calc(var(--pt) * 4) calc(var(--pt) * 20) calc(var(--pt) * 8); }
.ap-close, .ap-spacer { flex: none; width: calc(var(--pt) * 36); height: calc(var(--pt) * 36); }
.ap-close { display: grid; place-items: center; border-radius: 50%; background: rgba(120, 120, 128, .12); }
.ap-close .ai { width: 50%; height: 50%; }
.ap-prog { flex: 1; display: flex; gap: calc(var(--pt) * 6); }
.ap-prog i { flex: 1; height: calc(var(--pt) * 4); border-radius: 2px; background: rgba(120, 120, 128, .12); }
.ap-prog i.on { background: #38A169; }
.ap-body { display: flex; flex-direction: column; align-items: center; gap: calc(var(--pt) * 12); padding: calc(var(--pt) * 6) calc(var(--pt) * 20) 0; }
.ap-t1 { font-size: calc(var(--pt) * 28); line-height: 1.21; font-weight: 700; letter-spacing: .01em; }
.ap-t2 { font-size: calc(var(--pt) * 22); line-height: 1.27; font-weight: 700; }
.ap-sub { font-size: calc(var(--pt) * 16); line-height: 1.31; color: #6E6E73; }
.ap-card { width: 100%; box-sizing: border-box; background: #fff; border-radius: calc(var(--pt) * 20); }
.ap-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: calc(var(--pt) * 50); border-radius: calc(var(--pt) * 14); background: #38A169; color: #fff; font-weight: 600; font-size: calc(var(--pt) * 17); }
.ap-textbtn { color: #2F855A; font-weight: 600; font-size: calc(var(--pt) * 16); }
.ap-swap { display: grid; width: 100%; }
.ap-swap > div { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; gap: calc(var(--pt) * 12); }
.ap-a { opacity: 0; visibility: hidden; }
.c-water { color: #2F8FE0; } .c-warn { color: #E8A33D; } .c-ok { color: #34A853; }
.sc-tap { position: absolute; left: 50%; top: 50%; width: calc(var(--pt) * 46); height: calc(var(--pt) * 46); margin: calc(var(--pt) * -23) 0 0 calc(var(--pt) * -23); border-radius: 50%; background: rgba(28, 28, 30, .22); opacity: 0; pointer-events: none; }

/* Buscar: aros que se abren alrededor de la sonda y, al encontrarla, insignia verde */
.ap-hero { position: relative; flex: none; display: grid; place-items: center; width: calc(var(--pt) * 150); height: calc(var(--pt) * 150); }
.ap-circle { display: grid; place-items: center; width: calc(var(--pt) * 108); height: calc(var(--pt) * 108); box-sizing: border-box; border-radius: 50%; background: #fff; border: 2px solid #34A853; }
.ap-probe-ic { height: calc(var(--pt) * 74); width: auto; }
.ap-ring { position: absolute; left: 50%; top: 50%; width: calc(var(--pt) * 108); height: calc(var(--pt) * 108); margin: calc(var(--pt) * -54) 0 0 calc(var(--pt) * -54); box-sizing: border-box; border-radius: 50%; border: 2px solid #38A169; opacity: 0; }
.ap-badge { position: absolute; right: calc(var(--pt) * 21); bottom: calc(var(--pt) * 21); display: grid; place-items: center; width: calc(var(--pt) * 36); height: calc(var(--pt) * 36); box-sizing: border-box; border-radius: 50%; background: #34A853; border: calc(var(--pt) * 3) solid #F2F2F7; color: #fff; }
.ap-badge .ai { width: 62%; height: 62%; }
.ap-pill { display: inline-flex; align-items: center; gap: calc(var(--pt) * 10); padding: calc(var(--pt) * 10) calc(var(--pt) * 18); border-radius: 99px; background: rgba(120, 120, 128, .12); font-weight: 600; text-align: left; }
.ap-spinner { flex: none; width: calc(var(--pt) * 17); height: calc(var(--pt) * 17); box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(56, 161, 105, .25); border-top-color: #38A169; }
.ap-chip { display: inline-flex; align-items: center; gap: calc(var(--pt) * 5); padding: calc(var(--pt) * 5) calc(var(--pt) * 11); border-radius: 99px; background: rgba(56, 161, 105, .14); color: #2F855A; font-weight: 600; font-size: calc(var(--pt) * 13); }
.ap-chip .ai { width: calc(var(--pt) * 13); height: calc(var(--pt) * 13); }
.ap-metrics { display: flex; padding: calc(var(--pt) * 14) calc(var(--pt) * 4); }
.ap-metrics > span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: calc(var(--pt) * 3); }
.ap-metrics > span + span { border-left: 1px solid rgba(60, 60, 67, .16); }
.ap-metrics .ai { width: calc(var(--pt) * 20); height: calc(var(--pt) * 20); }
.ap-metrics b { font-size: calc(var(--pt) * 20); font-weight: 700; }
.ap-metrics small { font-size: calc(var(--pt) * 13); color: #6E6E73; }

/* Añadir y conexión */
.ap-steps { list-style: none; margin: 0; padding: calc(var(--pt) * 16); display: grid; gap: calc(var(--pt) * 14); text-align: left; }
.ap-steps li { display: flex; align-items: center; gap: calc(var(--pt) * 12); }
.ap-si { position: relative; flex: none; width: calc(var(--pt) * 24); height: calc(var(--pt) * 24); }
.ap-si .ai { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-pend { color: #AEAEB2; opacity: 0; } .s-spin { color: #38A169; opacity: 0; } .s-done { color: #34A853; }
.ap-illu { flex: none; display: grid; place-items: center; width: calc(var(--pt) * 104); height: calc(var(--pt) * 104); border-radius: 50%; background: rgba(56, 161, 105, .14); color: #38A169; }
.ap-illu .ai { width: calc(var(--pt) * 46); height: calc(var(--pt) * 46); }
.ap-notice, .ap-frow { display: flex; align-items: flex-start; gap: calc(var(--pt) * 12); text-align: left; }
.ap-notice { padding: calc(var(--pt) * 14); }
.ap-notice b, .ap-frow b { display: block; font-weight: 600; }
.ap-notice small, .ap-frow small { display: block; margin-top: calc(var(--pt) * 2); font-size: calc(var(--pt) * 13); line-height: 1.38; color: #6E6E73; }
.ap-tile { position: relative; flex: none; display: grid; place-items: center; width: calc(var(--pt) * 38); height: calc(var(--pt) * 38); border-radius: calc(var(--pt) * 10.6); background: color-mix(in srgb, currentColor 14%, transparent); }
.ap-tile .ai { width: calc(var(--pt) * 20); height: calc(var(--pt) * 20); }
.ap-tile em { position: absolute; right: calc(var(--pt) * -5); bottom: calc(var(--pt) * -5); display: grid; place-items: center; width: calc(var(--pt) * 18); height: calc(var(--pt) * 18); border-radius: 50%; border: calc(var(--pt) * 2) solid #fff; color: #fff; font: 700 calc(var(--pt) * 10.5)/1 -apple-system, "Segoe UI", Roboto, sans-serif; font-style: normal; }
.ap-tile.c-ok em { background: #34A853; } .ap-tile.c-water em { background: #2F8FE0; }

/* Elegir planta: buscador, Garden Book y vincular */
.ap-searchrow { display: flex; gap: calc(var(--pt) * 10); width: 100%; }
.ap-field { flex: 1; display: flex; align-items: center; gap: calc(var(--pt) * 8); height: calc(var(--pt) * 50); padding: 0 calc(var(--pt) * 14); border-radius: calc(var(--pt) * 14); background: #fff; font-size: calc(var(--pt) * 17); }
.ap-field .ai { flex: none; width: calc(var(--pt) * 18); height: calc(var(--pt) * 18); color: #8E8E93; }
.ap-type { white-space: nowrap; clip-path: inset(0); }
.ap-caret { width: 2px; height: calc(var(--pt) * 22); margin-left: calc(var(--pt) * -6); background: #38A169; opacity: 0; }
.ap-cam { flex: none; display: grid; place-items: center; width: calc(var(--pt) * 50); height: calc(var(--pt) * 50); border-radius: calc(var(--pt) * 14); background: #fff; color: #2F855A; }
.ap-cam .ai { width: calc(var(--pt) * 22); height: calc(var(--pt) * 22); }
.ap-over { align-self: flex-start; margin-top: calc(var(--pt) * 4) !important; padding-left: calc(var(--pt) * 16); font-size: calc(var(--pt) * 13); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #6E6E73; text-align: left; }
.ap-list { list-style: none; margin: 0; padding: 0 0 0 calc(var(--pt) * 14); text-align: left; }
.ap-row { position: relative; display: flex; align-items: center; gap: calc(var(--pt) * 12); padding: calc(var(--pt) * 10) calc(var(--pt) * 16) calc(var(--pt) * 10) 0; }
.ap-row + .ap-row { border-top: 1px solid rgba(60, 60, 67, .16); }
.ap-row img, .ap-thumb { flex: none; width: calc(var(--pt) * 44); height: calc(var(--pt) * 44); border-radius: calc(var(--pt) * 10); object-fit: cover; }
.ap-thumb { display: grid; place-items: center; background: rgba(56, 161, 105, .14); color: #38A169; }
.ap-thumb .ai { width: calc(var(--pt) * 18); height: calc(var(--pt) * 18); }
.ap-row b { flex: 1; font-weight: 400; font-size: calc(var(--pt) * 17); }
.ap-pick { color: #2F855A; font-weight: 600; }
.ap-picked { position: absolute; right: calc(var(--pt) * 16); top: 50%; display: grid; place-items: center; width: calc(var(--pt) * 26); height: calc(var(--pt) * 26); margin-top: calc(var(--pt) * -13); border-radius: 50%; background: #38A169; color: #fff; }
.ap-picked .ai { width: 62%; height: 62%; }
.ap-row.is-sel .ap-pick { opacity: 0; }
.ap-row .sc-tap { left: auto; right: calc(var(--pt) * -8); }

/* Todo listo + último paso: la animación de la app, hasta dónde clavarla */
.ap-done { display: flex; align-items: center; justify-content: center; gap: calc(var(--pt) * 10); }
.ap-donebadge { flex: none; display: grid; place-items: center; width: calc(var(--pt) * 34); height: calc(var(--pt) * 34); border-radius: 50%; background: #34A853; color: #fff; }
.ap-donebadge .ai { width: 60%; height: 60%; }
.ap-flush { overflow: hidden; text-align: left; }
.ap-guide { position: relative; height: calc(var(--pt) * 184); overflow: hidden; background: rgba(47, 143, 224, .08); }
.ap-gprobe { position: absolute; left: calc(var(--pt) * 158); top: calc(var(--pt) * 4.3); width: calc(var(--pt) * 32); height: calc(var(--pt) * 190); }
.ap-soil { position: absolute; left: 0; top: 0; width: calc(var(--pt) * 320); height: calc(var(--pt) * 184); }
.ap-marker { position: absolute; left: calc(var(--pt) * 192); right: calc(var(--pt) * 10); top: calc(var(--pt) * 101); height: calc(var(--pt) * 22); display: flex; align-items: center; }
.ap-marker i { flex: none; width: calc(var(--pt) * 12); height: 2px; margin-right: calc(var(--pt) * 4); border-radius: 1px; background: #fff; }
.ap-marker > span { display: inline-flex; align-items: center; gap: calc(var(--pt) * 3); height: 100%; padding: 0 calc(var(--pt) * 8); border-radius: 99px; background: #34A853; color: #fff; font-weight: 700; font-size: calc(var(--pt) * 12); white-space: nowrap; }
.ap-marker .ai { width: calc(var(--pt) * 13); height: calc(var(--pt) * 13); }
.ap-frow { padding: calc(var(--pt) * 14) calc(var(--pt) * 16); font-size: calc(var(--pt) * 16); }
.ap-frow + .ap-frow { border-top: 1px solid rgba(60, 60, 67, .16); }

/* Línea de tiempo (solo con movimiento) */
.is-anim .is-on .sc-waves { animation: sc-wave 1.3s ease-in-out infinite; }
.is-anim .is-on .ap-spinner { animation: ap-rot .8s linear infinite; }
.is-anim .is-on.sc-find .ap-ring { animation: ap-ring 2.2s ease-out infinite, ap-vhide .01s linear 2.8s both; }
.is-anim .is-on.sc-find .ap-ring + .ap-ring { animation-delay: 1.1s, 2.8s; }
.is-anim .is-on.sc-find .ap-circle { animation: ap-found .3s linear 2.8s both; }
.is-anim .is-on.sc-find .ap-badge { animation: ap-pop .5s cubic-bezier(.3, 1.5, .5, 1) 3.05s both; }
.is-anim .is-on.sc-find .ap-a { animation: ap-out .25s linear 2.8s both; }
.is-anim .is-on.sc-find .ap-b { animation: ap-in .35s var(--ease) 2.95s both; }
.is-anim .is-on.sc-find .ap-btn .sc-tap { animation: sc-tap .7s ease-out 4.9s both; }

.is-anim .is-on.sc-pair .ap-a { animation: ap-out .25s linear 3.5s both; }
.is-anim .is-on.sc-pair .ap-b { animation: ap-in .35s var(--ease) 3.65s both; }
.is-anim .is-on.sc-pair .ap-prog i:nth-child(2), .is-anim .is-on.sc-pair .ap-prog i:nth-child(3) { animation: ap-seg .3s linear 3.6s both; }
.is-anim .is-on.sc-pair .s-spin { animation: ap-show .01s linear 0s both, ap-vhide .01s linear .9s both, ap-rot .8s linear infinite; }
.is-anim .is-on.sc-pair .s-done { animation: ap-show .25s linear .9s both; }
.is-anim .is-on.sc-pair li:nth-child(2) .s-pend { animation: ap-hide .01s linear .9s both; }
.is-anim .is-on.sc-pair li:nth-child(2) .s-spin { animation-delay: .9s, 1.8s, 0s; }
.is-anim .is-on.sc-pair li:nth-child(2) .s-done { animation-delay: 1.8s; }
.is-anim .is-on.sc-pair li:nth-child(3) .s-pend { animation: ap-hide .01s linear 1.8s both; }
.is-anim .is-on.sc-pair li:nth-child(3) .s-spin { animation-delay: 1.8s, 2.7s, 0s; }
.is-anim .is-on.sc-pair li:nth-child(3) .s-done { animation-delay: 2.7s; }

.is-anim .is-on.sc-plant .ap-type { animation: ap-type 1.1s steps(8, end) .5s both; }
.is-anim .is-on.sc-plant .ap-caret { animation: ap-blink 1s steps(1) 0s 3 both; }
.is-anim .is-on.sc-plant .ap-over, .is-anim .is-on.sc-plant .ap-list { animation: ap-in .35s var(--ease) 1.8s both; }
.is-anim .is-on.sc-plant .ap-row .sc-tap { animation: sc-tap .7s ease-out 3.3s both; }
.is-anim .is-on.sc-plant .is-sel .ap-pick { animation: ap-hide .2s linear 3.55s both; }
.is-anim .is-on.sc-plant .ap-picked { animation: ap-pop .45s cubic-bezier(.3, 1.5, .5, 1) 3.6s both; }
.is-anim .is-on.sc-plant .ap-link { animation: ap-in .35s var(--ease) 3.95s both; }

.is-anim .is-on.sc-insert .ap-donebadge { animation: ap-pop .5s cubic-bezier(.3, 1.5, .5, 1) .2s both; }
.is-anim .is-on.sc-insert .ap-gprobe { animation: ap-dig 1.5s cubic-bezier(.65, 0, .35, 1) .9s both; }
.is-anim .is-on.sc-insert .ap-marker { animation: ap-show .22s linear 2.45s both; }

@keyframes ap-rot { to { transform: rotate(360deg); } }
@keyframes ap-ring { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes ap-vhide { from { visibility: visible; } to { visibility: hidden; } }
@keyframes ap-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes ap-hide { from { opacity: 1; } to { opacity: 0; } }
@keyframes ap-found { from { border-color: transparent; } to { border-color: #34A853; } }
@keyframes ap-pop { 0% { opacity: 0; transform: scale(.3); } 100% { opacity: 1; transform: scale(1); } }
@keyframes ap-out { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }
@keyframes ap-in { from { opacity: 0; transform: translateY(calc(var(--pt) * 10)); } to { opacity: 1; transform: none; } }
@keyframes ap-seg { from { background: rgba(120, 120, 128, .12); } to { background: #38A169; } }
@keyframes ap-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes ap-blink { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 0; } }
@keyframes ap-dig { from { transform: translateY(calc(var(--pt) * -86.3)); } to { transform: none; } }
@keyframes sc-tap { 0% { opacity: 0; transform: scale(.5); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes sc-wave { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* Móvil: lámina más alta y el teléfono más grande y centrado; la sonda lateral sobra */
@media (max-width: 560px) {
  .setup-stage { aspect-ratio: 4 / 5; --u: calc(100cqw / 400); }
  .setup-scene { inset: auto; left: calc(var(--u) * -40); top: 0; width: calc(var(--u) * 480); height: calc(var(--u) * 500); }
  .setup-stage .ap-phone { --pt: calc(var(--u) * .8); left: calc(var(--u) * 240 - var(--pt) * 192); top: calc(var(--u) * 16); }
  .setup-stage .sc-probe, .setup-stage .sc-waves { display: none; }
}

/* ---------- producto a la venta: foto real + app + colores ---------- */
.shot { margin: 0; width: 100%; max-width: 640px; }
.shot-stage { position: relative; aspect-ratio: 1; container-type: inline-size; border: 1px solid var(--rule-soft); background: radial-gradient(ellipse 70% 55% at 38% 62%, var(--tint), transparent 70%), var(--paper); overflow: hidden; }
.shot-plant { position: absolute; left: 4%; bottom: 3%; height: 92%; width: auto; max-width: none; opacity: 0; transition: opacity .45s var(--ease); filter: drop-shadow(0 24px 28px rgba(15, 23, 19, .18)); }
.shot-plant.is-on { opacity: 1; }
.shot-phone.duo-phone { position: absolute; right: 7%; bottom: 7%; height: 66cqw; }
.shot-caption { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--rule-soft); font-size: .875rem; color: var(--ink-2); }
.shot-colors { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.shot-colors > span { margin-right: var(--space-2); }
.swatch { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 12px 4px 6px; border: 1px solid var(--rule-soft); background: var(--paper); color: var(--ink); font: 560 .875rem var(--font); cursor: pointer; border-radius: 999px; transition: border-color .15s; }
.swatch:hover { border-color: var(--ink); }
.swatch[aria-pressed="true"] { border-color: var(--mask); box-shadow: inset 0 0 0 1px var(--mask); font-weight: 650; }
.swatch-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.kit { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.kit-photo { margin: 0; }
.kit-photo img { width: 100%; height: auto; border: 1px solid var(--rule-soft); }
.kit-copy .section-head { margin-bottom: var(--space-6); }
.inside-figure { max-width: 760px; margin-inline: auto; }
@media (max-width: 900px) { .kit { grid-template-columns: 1fr; } }

/* ---------- vídeos de recreación (pádel) ----------
   Vídeo real en silencio + capas HTML que cuentan lo que haría el producto.
   Las capas aparecen con .is-hit (film.js) en el segundo justo del clip. */
.project-kicker { font: 600 .8125rem/1.2 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--copper-ink); margin-bottom: var(--space-3); }
.film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #0f1713; }
.film-rec { position: absolute; z-index: 2; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 9px; border-radius: 999px; background: rgba(15, 23, 19, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 600 .75rem/1 var(--font); letter-spacing: .01em; }
.film-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff453a; animation: film-blink 1.6s steps(1) infinite; }
.film-toggle { position: absolute; z-index: 4; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(15, 23, 19, .55); color: #fff; cursor: pointer; opacity: .75; transition: opacity .2s; }
.film-toggle:hover, .film-toggle:focus-visible { opacity: 1; }
.film-toggle .i { width: 16px; height: 16px; }
.film-toggle .i-play, .is-paused .film-toggle .i-pause { display: none; }
.is-paused .film-toggle .i-play { display: block; }
.is-still .film-toggle { display: none; }
/* Marca de Toque: botón cobre en una cápsula oscura, como la pulsera */
.tq-mark { flex: none; width: 34px; height: 34px; border-radius: 9px; background: #0f1713; display: grid; place-items: center; }
.tq-mark span { width: 16px; height: 16px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 3px rgba(194, 114, 54, .3); }

/* Portada: el móvil apoyado en la valla grabando */
.film-hero { position: relative; margin: 0; width: 100%; max-width: 520px; display: grid; justify-items: center; }
.film-phone { position: relative; width: clamp(250px, 24vw, 330px); aspect-ratio: 9 / 17.5; border-radius: 46px; border: 11px solid #121614; background: #121614; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(15, 23, 19, .45), 0 0 0 1px rgba(15, 23, 19, .9); isolation: isolate; }
.film-phone .film-video { border-radius: 35px; }
.film-island { position: absolute; z-index: 3; top: 9px; left: 50%; width: 31%; height: 24px; transform: translateX(-50%); border-radius: 999px; background: #000; }
.film-phone .film-rec { top: 44px; }
.film-phone .film-toggle { top: 40px; }
.film-notice { position: absolute; z-index: 5; top: 40px; left: 8px; right: 8px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(250, 250, 248, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #0f1713; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(-140%) scale(.96); transition: transform .55s var(--ease), opacity .3s; }
.film-notice b { display: block; font: 600 .6875rem/1.2 var(--font); letter-spacing: .04em; text-transform: uppercase; color: #47534d; }
.film-notice > span:last-child > span { display: block; font: 720 .9375rem/1.25 var(--font); }
.film-notice small { display: block; font-size: .8125rem; color: #47534d; }
.is-hit .film-notice { opacity: 1; transform: none; transition-delay: .35s; }
/* La pulsera, fuera del móvil: vibra y lanza ondas cuando se guarda la jugada */
.film-band { position: absolute; z-index: 6; left: 0; bottom: 18%; display: grid; justify-items: center; gap: 8px; }
.film-pod { position: relative; width: 76px; height: 76px; border-radius: 26px; background: #121614; display: grid; place-items: center; box-shadow: 0 14px 28px -12px rgba(15, 23, 19, .55); }
.film-pod::before, .film-pod::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--copper); opacity: 0; }
.film-pod > span { width: 38px; height: 38px; border-radius: 50%; background: var(--copper); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22); transition: transform .15s var(--ease); }
.film-band-l { font: 600 .75rem/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); background: var(--paper); padding: 5px 8px; border: 1px solid var(--rule-soft); }
.film-phone.is-hit ~ .film-band .film-pod, .is-hit .film-pod { animation: film-buzz .32s linear; }
.film-phone.is-hit ~ .film-band .film-pod > span, .is-hit .film-pod > span { animation: film-press .5s var(--ease); }
.film-phone.is-hit ~ .film-band .film-pod::before, .is-hit .film-pod::before { animation: film-ring 1.1s var(--ease); }
.film-phone.is-hit ~ .film-band .film-pod::after, .is-hit .film-pod::after { animation: film-ring 1.1s .18s var(--ease); }
.film-hero .drawing-caption { width: 100%; margin-top: var(--space-6); }

/* Así de fácil: tres vídeos verticales, uno por gesto */
.reel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); counter-reset: reel; }
.reel-media { position: relative; aspect-ratio: 9 / 14; overflow: hidden; background: #0f1713; border: 1px solid var(--rule); isolation: isolate; }
.reel-txt { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); margin-top: var(--space-5); align-items: start; }
.reel-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--copper); color: var(--copper-ink); font: 600 .875rem/1 var(--font-mono); }
.reel-txt h3 { font-size: var(--fs-card); line-height: 1.15; letter-spacing: -.01em; }
.reel-txt p { margin-top: var(--space-2); color: var(--ink-2); }
.film-tap { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; }
.film-tap .film-pod { width: 64px; height: 64px; border-radius: 22px; }
.film-tap .film-pod > span { width: 32px; height: 32px; }
.film-buzz { order: -1; padding: 8px 14px; border-radius: 999px; background: rgba(250, 250, 248, .95); color: #0f1713; font: 700 .875rem/1 var(--font); white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(10px) scale(.9); transition: transform .5s var(--ease), opacity .25s; }
.is-hit .film-buzz { opacity: 1; transform: none; transition-delay: .3s; }
.film-chat { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; display: grid; gap: 8px; padding: 10px; border-radius: 16px; background: rgba(250, 250, 248, .95); color: #0f1713; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(24px); transition: transform .6s var(--ease), opacity .3s; }
.is-hit .film-chat { opacity: 1; transform: none; }
.film-chat-h { display: flex; align-items: center; gap: 8px; font-size: .8125rem; }
.film-chat-av { width: 26px; height: 26px; border-radius: 50%; background: #e6f0ea; color: #14553d; display: grid; place-items: center; }
.film-chat-av .i { width: 15px; height: 15px; }
.film-bubble { justify-self: end; width: 86%; padding: 5px; border-radius: 12px 12px 4px 12px; background: #d9f2e3; }
.film-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 8px; background: #0f1713 center 30% / cover; color: #fff; }
.film-thumb .i { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: rgba(0, 0, 0, .5); fill: currentColor; }
.film-thumb small { position: absolute; left: 6px; bottom: 5px; font: 600 .6875rem/1 var(--font-mono); text-shadow: 0 1px 2px rgba(0, 0, 0, .8); }
.film-msg { display: block; padding: 6px 4px 2px; font-size: .875rem; line-height: 1.3; font-weight: 560; }
.film-msg small { display: block; text-align: right; font-size: .6875rem; color: #47534d; font-weight: 500; }

/* Club: la cámara de la pista desde arriba */
.split-film { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.split-film .split-cta { justify-content: flex-start; margin-top: var(--space-8); }
.split-media { margin: 0; }
.film-wide { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--on-mask-rule); background: #0f1713; }
.split-media figcaption { margin-top: var(--space-3); font-size: .8125rem; color: var(--on-mask-2); }

@keyframes film-blink { 50% { opacity: .25; } }
@keyframes film-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes film-press { 0%, 100% { transform: scale(1); } 30% { transform: scale(.84); } }
@keyframes film-buzz { 20% { transform: translateX(-3px) rotate(-2deg); } 40% { transform: translateX(3px) rotate(2deg); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }

@media (max-width: 960px) {
  .film-hero { margin-inline: auto; }
  .film-band { left: max(0px, calc(50% - 200px)); }
}
@media (max-width: 860px) {
  .split-film { grid-template-columns: 1fr; }
  /* Los tres vídeos se deslizan de lado: cada uno casi a pantalla completa */
  .reel { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 340px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .reel::-webkit-scrollbar { display: none; }
  .reel-item { scroll-snap-align: start; }
}
@media (max-width: 480px) {
  .film-phone { width: min(68vw, 270px); border-width: 9px; border-radius: 40px; }
  .film-phone .film-video { border-radius: 31px; }
  .film-pod { width: 62px; height: 62px; border-radius: 21px; }
  .film-pod > span { width: 30px; height: 30px; }
  .film-band { bottom: 14%; }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- impresión ---------- */
@media print {
  .site-header, .buybar, .menu-toggle, .theme-toggle, .zones { display: none !important; }
  .section-deep, .cta-band, .tb-sale { background: none !important; color: #000 !important; }
}
.talk.card { border-top: 4px solid var(--mask); }
