/* =============================================================
   TOTONIK QUALITY OVENS — main.css
   Sistema visual: blanco + acento amarillo Totonik (Amarillo Lamex)
   Mobile first. Breakpoints en responsive.css. Animaciones en animations.css
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --white: #ffffff;
  --cream: #f6f4ef;
  --cream-2: #eeebe3;
  --ink: #0f0f0f;
  --graphite: #232427;
  --steel: #666a70;          /* texto secundario sobre blanco (4.9:1) */
  --steel-light: #9a9ea4;    /* texto secundario sobre negro */
  --line: #e4e1da;
  --line-dark: #2c2d30;
  --yellow: #f5b000;         /* Amarillo Totonik (acento) */
  --yellow-soft: #ffe7a3;
  --red: #b3121b;
  --ember: #e8590c;

  --f-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1520px;
  --header-h: 72px;
  --radius: 6px;
  --radius-lg: 14px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --t-fast: .25s;
  --t-med: .6s;
  --t-slow: 1.1s;

  --fs-body: clamp(1rem, .95rem + .2vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1rem + .6vw, 1.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
  --fs-xl: clamp(2.5rem, 1.6rem + 4.2vw, 6rem);
  --fs-display: clamp(3.4rem, 1.2rem + 10.5vw, 12.5rem);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-sans); font-size: var(--fs-body); line-height: 1.55; font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
summary { cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- 3. Accesibilidad ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 12px 18px; background: var(--ink); color: var(--white); border-radius: var(--radius); transform: translateY(-160%); transition: transform var(--t-fast); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 5px var(--yellow); border-radius: 2px; }
.studio :focus-visible, .site-footer :focus-visible, .drawer :focus-visible, .fire :focus-visible, .phero--dark :focus-visible { outline-color: var(--white); }

/* ---------- 4. Tipografía ---------- */
.display { font-family: var(--f-sans); font-weight: 800; font-variation-settings: "wdth" 68; font-stretch: 68%; text-transform: uppercase; line-height: .86; letter-spacing: -.01em; }
.display em, .h-xl em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 .04em; }
.h-xl { font-size: var(--fs-xl); font-weight: 800; font-variation-settings: "wdth" 72; font-stretch: 72%; line-height: .92; text-transform: uppercase; letter-spacing: -.005em; }
.lead { font-size: var(--fs-lead); line-height: 1.4; color: var(--graphite); max-width: 36ch; }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--steel); }
.big { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.75rem); line-height: 1.18; font-weight: 500; letter-spacing: -.01em; }

.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--steel); margin-bottom: clamp(18px, 2.4vw, 32px); }
.eyebrow__num { color: var(--ink); font-weight: 500; }
.eyebrow__line { width: 40px; height: 1px; background: currentColor; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(245, 176, 0, .2); }
.eyebrow--light, .eyebrow--light .eyebrow__num { color: var(--white); }

/* ---------- 5. Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 11vw, 180px); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 96px); align-items: end; }

/* ---------- 6. Botones y enlaces ---------- */
.btn { --bg: var(--ink); --fg: var(--white); --bd: var(--ink); position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 22px 0 26px; border: 1px solid var(--bd); border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: .95rem; letter-spacing: .01em; white-space: nowrap; overflow: hidden; isolation: isolate; transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--yellow); transform: translateY(101%); transition: transform .45s var(--ease-out); border-radius: inherit; }
.btn__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .12); transition: transform .45s var(--ease-out), background var(--t-fast); }
.btn .icon { width: 16px; height: 16px; }
.btn:hover { color: var(--ink); border-color: var(--yellow); transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }
.btn:hover .btn__icon { transform: translateX(4px); background: rgba(0, 0, 0, .08); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost .btn__icon { background: rgba(0, 0, 0, .06); }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost-dark::before { background: var(--ink); }
.btn--ghost-dark:hover { color: var(--white); border-color: var(--ink); }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); --bd: var(--yellow); }
.btn--yellow::before { background: var(--white); }
.btn--yellow .btn__icon { background: rgba(0, 0, 0, .1); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: transparent; padding: 0; min-height: 44px; border-radius: 0; gap: 10px; }
.btn--line::before { top: auto; bottom: 6px; height: 2px; transform: scaleX(.18); transform-origin: left; background: var(--yellow); border-radius: 0; }
.btn--line:hover { border-color: transparent; }
.btn--line:hover::before { transform: scaleX(1); }
.btn--line .btn__icon { background: var(--cream-2); }
.btn--sm { min-height: 42px; padding: 0 8px 0 18px; font-size: .85rem; gap: 10px; }
.btn--sm .btn__icon { width: 26px; height: 26px; }
.btn--lg { min-height: 60px; padding: 0 26px 0 32px; font-size: 1rem; }

.ulink { background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 0 2px no-repeat; transition: background-size .4s var(--ease-out); padding-bottom: 2px; }
.ulink:hover { background-size: 100% 2px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: gap var(--t-fast), border-color var(--t-fast); }
.link-arrow .icon { width: 18px; height: 18px; }
.link-arrow:hover { gap: 16px; border-color: var(--yellow); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- 7. Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background var(--t-fast), box-shadow var(--t-fast), height .4s var(--ease-out), transform .5s var(--ease-out); }
.site-header__inner { height: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo__flame { width: 26px; height: 36px; transition: color var(--t-fast), transform .5s var(--ease-out); }
.logo__word { width: 104px; height: 30px; }
.logo:hover .logo__flame { color: var(--yellow); transform: rotate(-6deg) scale(1.06); }

.nav { display: none; }
.nav__list { display: flex; gap: clamp(14px, 1.6vw, 30px); }
.nav__link { position: relative; display: inline-flex; align-items: center; height: 44px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.nav__flame { position: absolute; left: -2px; top: 50%; width: 11px; height: 15px; color: var(--yellow); opacity: 0; transform: translate(-4px, -50%) scale(.3); transform-origin: 50% 100%; transition: opacity .3s, transform .45s var(--ease-out); }
.nav__text { position: relative; display: inline-block; overflow: hidden; transition: transform .45s var(--ease-out); }
.nav__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__link:hover .nav__text, .nav__link.is-current .nav__text { transform: translateX(15px); }
.nav__link:hover .nav__text::after, .nav__link.is-current .nav__text::after { transform: scaleX(1); transform-origin: left; }
.nav__link:hover .nav__flame, .nav__link.is-current .nav__flame { opacity: 1; transform: translate(0, -55%) scale(1); }
.nav__link:hover .nav__flame { animation: flicker 1.2s ease-in-out infinite; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-header__cta { display: none; }
.lang { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); font-size: .75rem; font-weight: 700; letter-spacing: .06em; transition: background var(--t-fast), border-color var(--t-fast); }
.lang:hover { background: var(--yellow); border-color: var(--yellow); }

.burger { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); z-index: 120; transition: background var(--t-fast); }
.burger__lines, .burger__lines::before, .burger__lines::after { position: absolute; left: 13px; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .4s var(--ease-out), opacity var(--t-fast); content: ""; }
.burger__lines { top: 21px; }
.burger__lines::before { left: 0; top: -6px; }
.burger__lines::after { left: 0; top: 6px; }
.burger:hover { background: var(--yellow); }
.burger:hover .burger__lines, .burger:hover .burger__lines::before, .burger:hover .burger__lines::after { background: var(--ink); }
.burger[aria-expanded="true"] { background: var(--yellow); }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6px) rotate(45deg); background: var(--ink); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6px) rotate(-45deg); background: var(--ink); }

/* Drawer móvil */
.drawer { position: fixed; inset: 0; z-index: 110; background: var(--ink); color: var(--white); clip-path: circle(0 at calc(100% - var(--gutter) - 22px) 36px); transition: clip-path .8s var(--ease-io); overflow-y: auto; }
.drawer.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 22px) 36px); }
.drawer__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; }
.drawer__list { display: grid; gap: 4px; }
.drawer__link { display: flex; align-items: baseline; gap: 14px; padding: 6px 0; font-size: clamp(2.1rem, 9.6vw, 5rem); font-weight: 800; overflow-wrap: anywhere; font-variation-settings: "wdth" 68; font-stretch: 68%; text-transform: uppercase; line-height: 1; opacity: 0; transform: translateY(40px); transition: color var(--t-fast), opacity .5s, transform .7s var(--ease-out); transition-delay: 0s; }
.drawer.is-open .drawer__link { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .05s); }
.drawer__num { color: var(--steel-light); font-size: .7rem; }
.drawer__flame { width: .5em; height: .68em; color: var(--yellow); opacity: 0; transform: translateY(10px) scale(.5); transition: opacity .3s, transform .45s var(--ease-out); align-self: center; }
.drawer__link:hover, .drawer__link.is-current { color: var(--yellow); }
.drawer__link:hover .drawer__flame, .drawer__link.is-current .drawer__flame { opacity: 1; transform: none; }
.drawer__foot { display: grid; gap: 10px; color: var(--steel-light); font-size: .95rem; }
.drawer__foot a:hover { color: var(--yellow); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { z-index: 130; transform: none; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.menu-open .site-header .logo { color: var(--white); }
body.menu-open .lang { color: var(--white); border-color: var(--line-dark); }

/* ---------- 8. Intro (cortina de carga) ---------- */
.intro { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: var(--ink); pointer-events: none; }
.intro__flame { width: 64px; height: 88px; color: var(--yellow); }

/* ---------- 9. Selector de color de cubierta ---------- */
.lid { position: relative; display: grid; gap: 18px; justify-items: center; }
.lid__stage { position: relative; width: 100%; }
.lid__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.lid__img.is-active { opacity: 1; z-index: 2; }
.lid__img.is-prev { opacity: 1; z-index: 1; }
.lid__ui { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.lid__label { color: var(--steel); }
.lid__swatches { display: flex; gap: 10px; }
.lid__name { min-width: 9.5em; font-size: .9rem; font-weight: 600; }
.swatch { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.swatch__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), inset 0 -6px 10px rgba(0, 0, 0, .18); transition: transform .35s var(--ease-out); }
.swatch::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1.5px solid var(--ink); opacity: 0; transform: scale(.8); transition: opacity var(--t-fast), transform .35s var(--ease-out); }
.swatch:hover .swatch__dot, .swatch:focus-visible .swatch__dot { transform: scale(1.14); }
.swatch.is-selected::after { opacity: 1; transform: none; }
.lid--compact .lid__name { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; }
.chip__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }

/* ---------- 10. HERO ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(24px, 5vw, 64px)); padding-bottom: 48px; overflow: hidden; }
.hero__grid { display: grid; gap: 32px; }
.hero__title { font-size: clamp(3rem, 13.5vw, 8.5rem); margin-bottom: 24px; }
.hero__copy { min-width: 0; }
.hero__title .line { display: block; }
.hero__lead { font-size: var(--fs-lead); max-width: 30ch; color: var(--graphite); margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__product { position: relative; display: grid; justify-items: center; padding-top: 12px; }
.hero__disc { position: absolute; left: 50%; top: 44%; width: min(88vw, 620px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--cream) 55%, var(--cream-2) 100%); transform: translate(-50%, -50%) scale(calc(1 + var(--p, 0) * .25)); z-index: -1; }
.hero__model { position: absolute; top: 4%; right: 2%; color: var(--steel); writing-mode: vertical-rl; letter-spacing: .3em; }
.hero__product .lid { width: min(64vw, 380px); transform: translateY(calc(var(--p, 0) * -60px)); }
.hero__hint { display: flex; align-items: center; gap: 8px; color: var(--steel); margin-top: 6px; }
.hero__hint .icon { width: 14px; height: 14px; transform: rotate(-90deg); }
.hero__ring { display: none; position: absolute; right: -18vw; top: 16vh; width: 72vw; max-width: 760px; aspect-ratio: 1; pointer-events: none; opacity: .9; z-index: -1; }
.hero__ring svg { width: 100%; height: 100%; animation: spin 60s linear infinite; }
.hero__ring text { font-family: var(--f-mono); font-size: 13.2px; letter-spacing: .32em; fill: var(--steel); }
.hero__scroll { display: none; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.fact { display: grid; gap: 8px; align-content: start; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 16px; }
.fact__num { font-size: clamp(2.6rem, 1.6rem + 4vw, 5.5rem); font-weight: 800; font-variation-settings: "wdth" 70; font-stretch: 70%; line-height: .9; letter-spacing: -.02em; }
.fact__num small { font-size: .42em; margin-left: 4px; vertical-align: top; color: var(--steel); font-weight: 600; }
.fact__label { font-size: .9rem; color: var(--graphite); max-width: 22ch; }
.facts__note { color: var(--steel); margin-top: 14px; font-size: .68rem; }

/* ---------- 11. FUEGO (video que se expande) ---------- */
.fire { position: relative; height: 220vh; background: var(--white); }
.fire__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: end; }
.fire__media { --e: min(1, calc(var(--p, 0) * 2.4)); position: absolute; inset: 0; background: var(--ink); clip-path: inset(calc((1 - var(--e)) * 16%) calc((1 - var(--e)) * 8%) calc((1 - var(--e)) * 16%) calc((1 - var(--e)) * 8%) round calc((1 - var(--e)) * 18px)); }
.fire__video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.2 - var(--e) * .2)); }
.fire__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 30%, rgba(0,0,0,.72) 100%); }
.fire__copy { position: relative; z-index: 2; color: var(--white); padding-bottom: clamp(40px, 8vh, 96px); opacity: clamp(0, calc((var(--p, 0) - .28) * 4), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p, 0) - .28) * 4), 1)) * 40px)); }
.fire__title { font-size: clamp(5rem, 24vw, 22rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--white); letter-spacing: -.02em; }
.fire__word { display: inline-block; background: linear-gradient(90deg, var(--yellow), var(--yellow)) left / calc(clamp(0, calc((var(--p, 0) - .45) * 2.6), 1) * 100%) 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.fire__text { max-width: 34ch; font-size: var(--fs-lead); line-height: 1.35; margin-top: 18px; color: rgba(255,255,255,.9); }

/* ---------- 12. IMINAR ---------- */
.iminar__grid { display: grid; gap: 40px; }
.iminar__statement { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3.6rem); line-height: 1.12; font-weight: 600; letter-spacing: -.015em; }
.words .w { opacity: clamp(.16, calc(var(--p, 1) * (var(--n) + 6) - var(--i)), 1); transition: opacity .15s linear; }
.iminar__media { overflow: hidden; border-radius: var(--radius-lg); background: var(--cream); aspect-ratio: 4/5; }
.iminar__media--b { aspect-ratio: 1; max-width: 70%; justify-self: end; }
.iminar__media .parallax { height: 118%; margin-top: -9%; }
.iminar__media img { width: 100%; height: 100%; object-fit: cover; }
.iminar__aside { display: grid; gap: 22px; align-content: start; }
.iminar__note { color: var(--graphite); max-width: 42ch; }
.iminar__note strong { color: var(--ink); }
.parallax { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* ---------- 13. TECNOLOGÍA (hotspots) ---------- */
.tech { background: var(--cream); }
.tech__grid { display: grid; gap: 48px; }
.tech__stage { position: relative; max-width: 440px; margin-inline: auto; }
.hotspot { position: absolute; left: var(--x); top: var(--y); width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); box-shadow: 0 4px 18px rgba(0,0,0,.18); transition: background .3s, transform .45s var(--ease-out); z-index: 2; }
.hotspot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--white); opacity: 0; }
.hotspot__n { font-size: .6rem; }
.hotspot.is-active { background: var(--yellow); transform: scale(1.25); }
.hotspot.is-active::before { animation: pulse 1.6s var(--ease-out) infinite; border-color: var(--yellow); }
.features { counter-reset: f; border-top: 1px solid var(--line); margin: 36px 0 40px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: opacity .4s; }
.feature.is-active { opacity: 1; }
.feature__n { padding-top: 5px; color: var(--steel); }
.feature.is-active .feature__n { color: var(--ink); }
.feature__t { font-size: var(--fs-h3); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.feature__d { color: var(--steel); margin-top: 6px; }

/* ---------- 14. MODELOS — scroll horizontal ---------- */
.hscroll { position: relative; background: var(--white); }
.hscroll__sticky { position: relative; padding-block: clamp(72px, 10vw, 120px); }
.hscroll__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hscroll__track::-webkit-scrollbar { display: none; }
.hscroll__progress { display: none; }
.hscroll__hint { display: flex; gap: 8px; align-items: center; color: var(--steel); margin-top: 28px; }
.hscroll__hint .icon { width: 14px; }
.panel { position: relative; flex: 0 0 86vw; scroll-snap-align: center; display: grid; gap: 20px; align-content: start; padding: 24px; border-radius: var(--radius-lg); background: var(--cream); overflow: hidden; }
.panel--intro { background: transparent; padding-inline: 0; flex-basis: 80vw; align-content: center; }
.panel--intro .lead { margin-top: 20px; }
.panel--res { background: var(--ink); color: var(--white); }
.panel--res .kpis dt, .panel--res .panel__idx { color: var(--steel-light); }
.panel--res .kpis > div { border-color: var(--line-dark); }
.panel--res .btn--line { --fg: var(--white); }
.panel--res .btn--line .btn__icon { background: var(--graphite); }
.panel--res .swatch::after { border-color: var(--white); }
.panel__bg { position: absolute; right: -4%; top: -2%; font-size: clamp(8rem, 38vw, 28rem); color: transparent; -webkit-text-stroke: 1px rgba(0,0,0,.08); line-height: .8; pointer-events: none; white-space: nowrap; }
.panel--res .panel__bg { -webkit-text-stroke-color: rgba(255,255,255,.1); }
.panel__media { position: relative; display: grid; justify-items: center; }
.panel__media .lid { width: min(58vw, 300px); }
.panel__photo { border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.panel__idx { color: var(--steel); }
.panel__name { font-size: clamp(3.4rem, 2rem + 6vw, 8rem); margin: 6px 0 18px; }
.panel__ctas { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 24px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; }
.kpis > div { padding: 12px 12px 12px 0; border-top: 1px solid rgba(0,0,0,.1); }
.kpis dt { font-size: .72rem; color: var(--steel); text-transform: uppercase; letter-spacing: .05em; font-family: var(--f-mono); }
.kpis dd { font-size: clamp(1.15rem, 1rem + .6vw, 1.6rem); font-weight: 700; letter-spacing: -.01em; margin-top: 2px; }

/* ---------- 15. COLOR / STUDIO ---------- */
.studio { position: relative; background: var(--ink); color: var(--white); padding-block: clamp(80px, 11vw, 170px); overflow: hidden; isolation: isolate; }
.studio::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 65% 50%, color-mix(in srgb, var(--glow) 30%, transparent), transparent 70%); transition: background .8s; }
.studio .lead { color: rgba(255,255,255,.78); }
.studio .eyebrow { color: var(--steel-light); }
.studio .eyebrow__num { color: var(--white); }
.studio .h-xl em { color: var(--ink); }
.studio__grid { display: grid; gap: 40px; }
.studio__swatches { display: grid; gap: 10px; margin-top: 36px; }
.bigswatch { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border: 1px solid var(--line-dark); border-radius: 999px; text-align: left; transition: border-color var(--t-fast), background var(--t-fast), transform .4s var(--ease-out); }
.bigswatch__dot { width: 40px; height: 40px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), inset 0 -8px 14px rgba(0,0,0,.3); transition: transform .45s var(--ease-out); }
.bigswatch__name { font-weight: 600; font-size: 1.05rem; }
.bigswatch:hover { border-color: var(--steel-light); transform: translateX(6px); }
.bigswatch:hover .bigswatch__dot { transform: scale(1.12); }
.bigswatch.is-selected { border-color: var(--white); background: rgba(255,255,255,.06); }
.studio__stage { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.studio__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out); }
.studio__img.is-active { opacity: 1; transform: none; }
.studio__door { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: #000; max-width: 280px; }
.studio__door-label { position: absolute; left: 12px; bottom: 10px; z-index: 3; color: rgba(255,255,255,.8); font-size: .65rem; }

/* ---------- 16. Galería ---------- */
.gcols { display: grid; gap: 16px; }
.gcols__col { display: grid; gap: 16px; align-content: start; }
.masonry { columns: 1; column-gap: 16px; }
.masonry .gitem { break-inside: avoid; margin-bottom: 16px; }
.gitem { position: relative; }
.gitem__link { display: block; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.gitem__link img { width: 100%; transition: transform 1.1s var(--ease-out), filter .6s; }
.gitem__link:hover img { transform: scale(1.045); }
.gitem__cap { margin-top: 8px; color: var(--steel); font-size: .65rem; opacity: .9; }
.gitem.is-hidden { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 600; transition: background var(--t-fast), border-color var(--t-fast); }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.gallery-page__more { margin-top: 40px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,10,10,.96); color: var(--white); }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox__fig { position: absolute; inset: 64px 16px 80px; display: grid; place-items: center; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox__cap { position: absolute; left: 16px; right: 16px; bottom: 24px; text-align: center; color: var(--steel-light); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--white); transition: background var(--t-fast), color var(--t-fast); }
.lightbox__btn:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- 17. Ubicaciones / distribuidores ---------- */
.where { background: var(--cream); }
.where__grid { display: grid; gap: 56px; }
.where__h { color: var(--steel); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.place { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.place__t { font-weight: 700; font-size: 1.1rem; }
.place__a { color: var(--graphite); }
.place__map { justify-self: start; display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; font-size: .68rem; }
.place__map .icon { width: 14px; height: 14px; }
.dist a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n i" "p i" "t i"; gap: 2px 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding var(--t-fast) var(--ease-out); position: relative; }
.dist a::before { content: ""; position: absolute; inset: 0 -12px; background: var(--yellow); border-radius: var(--radius); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease-out); z-index: 0; }
.dist a > * { position: relative; z-index: 1; }
.dist a:hover::before { transform: scaleY(1); }
.dist__n { grid-area: n; font-weight: 700; font-size: 1.1rem; }
.dist__p { grid-area: p; color: var(--steel); }
.dist a:hover .dist__p { color: var(--ink); }
.dist__t { grid-area: t; font-variant-numeric: tabular-nums; }
.dist .icon { grid-area: i; transition: transform .4s var(--ease-out); }
.dist a:hover .icon { transform: rotate(45deg); }

/* ---------- 18. Banda de cotización ---------- */
.qband { background: var(--yellow); color: var(--ink); padding-bottom: clamp(72px, 9vw, 140px); overflow: hidden; }
.qband__marquee { overflow: hidden; border-bottom: 1px solid rgba(0,0,0,.18); padding-block: 18px; margin-bottom: clamp(48px, 7vw, 100px); }
.qband__marquee > span { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; font-size: clamp(2.4rem, 1.4rem + 5vw, 6.5rem); font-weight: 800; font-variation-settings: "wdth" 68; font-stretch: 68%; text-transform: uppercase; line-height: 1; animation: marquee 38s linear infinite; }
.qband__flame { width: .55em; height: .75em; display: inline-block; vertical-align: middle; }
.qband__grid { display: grid; gap: 28px; }
.qband .lead { color: var(--ink); margin-bottom: 28px; }
.qband__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.qband .btn--primary::before { background: var(--white); }

/* ---------- 19. Footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(64px, 8vw, 120px); overflow: hidden; }
.site-footer__top { display: grid; gap: 40px; padding-bottom: 48px; }
.site-footer__flame { width: 40px; height: 55px; color: var(--yellow); margin-bottom: 20px; }
.site-footer__tagline { font-size: var(--fs-lead); max-width: 22ch; margin-bottom: 26px; line-height: 1.3; }
.site-footer__h { color: var(--steel-light); margin-bottom: 16px; }
.site-footer__col ul { display: grid; gap: 10px; }
.social a { display: inline-flex; gap: 10px; align-items: center; transition: color var(--t-fast); }
.social a:hover { color: var(--yellow); }
.site-footer__word { color: #1b1b1d; padding-block: 12px 0; }
.site-footer__word svg { width: 100%; height: auto; aspect-ratio: 1010 / 284; }
.site-footer__bottom { display: grid; gap: 10px; padding-block: 24px 32px; border-top: 1px solid var(--line-dark); color: var(--steel-light); font-size: .85rem; }
.site-footer__bottom .mono { font-size: .65rem; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.25); transform: translateY(120px); transition: transform .6s var(--ease-out), background var(--t-fast), color var(--t-fast); }
.wa-float .icon { width: 26px; height: 26px; }
.wa-float.is-visible { transform: none; }
.wa-float:hover { background: var(--yellow); color: var(--ink); }

/* Cursor (solo escritorio) */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; pointer-events: none; transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0) scale(0); transition: transform .35s var(--ease-out); }
.cursor.is-active { transform: translate3d(var(--cx), var(--cy), 0) scale(1); }
.cursor__label { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }

/* ---------- 20. Páginas internas ---------- */
.phero { padding-top: calc(var(--header-h) + clamp(40px, 8vw, 110px)); padding-bottom: clamp(48px, 7vw, 100px); }
.phero__grid { display: grid; gap: 40px; align-items: end; }
.phero__title { font-size: clamp(3.2rem, 1.4rem + 8.4vw, 10rem); }
.phero__title .line { display: block; }
.phero__lead { margin-top: 28px; }
.phero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.phero__media .parallax { height: 116%; margin-top: -8%; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Navegación de modelos (sticky) */
.mnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line); transition: top .5s var(--ease-out); }
.site-header.is-hidden ~ main .mnav { top: 0; }
.mnav__inner { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.mnav__inner::-webkit-scrollbar { display: none; }
.mnav__link { flex: none; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .85rem; letter-spacing: .04em; transition: background var(--t-fast); }
.mnav__link:hover { background: var(--cream-2); }
.mnav__link.is-active { background: var(--yellow); }
.mnav__link--cmp { margin-left: auto; font-weight: 500; color: var(--steel); }

.model { padding-block: clamp(72px, 10vw, 160px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 56px); }
.model--alt { background: var(--cream); }
.model--feature { background: var(--ink); color: var(--white); }
.model--feature .model__lead, .model--feature .model__extra { color: rgba(255,255,255,.8); }
.model--feature .kpis dt, .model--feature .model__use, .model--feature .muted { color: var(--steel-light); }
.model--feature .kpis > div, .model--feature .acc, .model--feature .specs th, .model--feature .specs td { border-color: var(--line-dark); }
.model--feature .btn--line { --fg: var(--white); }
.model--feature .btn--line .btn__icon { background: var(--graphite); }
.model--feature .btn--primary { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.model--feature .swatch::after { border-color: var(--white); }
.model--feature .lid__label { color: var(--steel-light); }
.model--feature .plan { background: var(--white); }
.model__grid { display: grid; gap: 40px; }
.model__media .lid { max-width: 520px; margin-inline: auto; }
.model__use { color: var(--steel); margin-bottom: 12px; }
.model__name { font-size: clamp(4.5rem, 2rem + 12vw, 13rem); margin-bottom: 24px; }
.model__name .line { display: block; }
.model__lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--graphite); max-width: 44ch; }
.model__extra { margin-top: 16px; color: var(--graphite); max-width: 52ch; padding-left: 16px; border-left: 3px solid var(--yellow); }
.kpis--lg { grid-template-columns: repeat(3, 1fr); margin-block: 36px; }
.kpis--lg dd { font-size: clamp(1.35rem, 1rem + 1.4vw, 2.4rem); font-variation-settings: "wdth" 80; font-stretch: 80%; }
.model__ctas { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-bottom: 36px; }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc__sum { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-weight: 700; font-size: 1.05rem; }
.acc__sum::-webkit-details-marker { display: none; }
.acc__sum .icon { transition: transform .4s var(--ease-out); }
.acc[open] .acc__sum .icon { transform: rotate(45deg); }
.acc > :not(summary) { margin-bottom: 24px; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.specs th { font-weight: 400; color: var(--steel); width: 55%; padding-right: 16px; }
.model--feature .specs th { color: var(--steel-light); }
.specs td { font-weight: 600; font-variant-numeric: tabular-nums; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); }
.ticks--lg li { font-size: 1.1rem; padding-block: 10px; border-bottom: 1px solid var(--line); }
.ticks--lg li::before { top: 1.05em; }
.plan { display: block; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.mfig { border-radius: var(--radius-lg); overflow: hidden; background: #000; margin-bottom: 16px; }
.mfig video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.mfig figcaption { padding: 10px 14px; color: var(--steel-light); font-size: .65rem; }

/* Visor 3D del T-H */
.viewer3d { position: relative; margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(circle at 50% 35%, #2a2b2f, #111 70%); min-height: 420px; display: grid; }
.viewer3d model-viewer { width: 100%; height: 100%; min-height: 480px; --poster-color: transparent; }
.viewer3d__placeholder { position: relative; display: grid; place-items: center; padding: 32px; }
.viewer3d__placeholder img { max-height: 360px; width: auto; }
.viewer3d__badge { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius); background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .9rem; line-height: 1.35; }
.viewer3d__badge .icon { width: 28px; height: 28px; color: var(--yellow); }

/* Comparativa */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 20px; }
.cmp { min-width: 820px; }
.cmp th, .cmp td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: .95rem; }
.cmp thead th { background: var(--cream); vertical-align: bottom; }
.cmp thead th a { display: block; font-size: 1.5rem; font-weight: 800; font-variation-settings: "wdth" 70; font-stretch: 70%; }
.cmp thead th a:hover { color: var(--steel); }
.cmp thead .mono { color: var(--steel); font-size: .62rem; }
.cmp tbody th { font-weight: 400; color: var(--steel); white-space: nowrap; position: sticky; left: 0; background: var(--white); }
.cmp tbody td { font-weight: 600; font-variant-numeric: tabular-nums; }
.cmp tbody tr:hover td, .cmp tbody tr:hover th { background: #fffaf0; }

/* Nosotros */
.story__grid { display: grid; gap: 40px; }
.story__text { display: grid; gap: 22px; color: var(--graphite); }
.story__text .big { color: var(--ink); }
.strip { overflow: hidden; padding-bottom: clamp(60px, 8vw, 120px); }
.strip__track { display: flex; gap: 16px; width: max-content; padding-left: var(--gutter); transform: translate3d(calc(var(--p, 0) * -34%), 0, 0); }
.strip__item { width: clamp(220px, 26vw, 420px); aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--cream); flex: none; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; }
.pillars { background: var(--ink); color: var(--white); }
.pillars .eyebrow { color: var(--steel-light); }
.pillars .eyebrow__num { color: var(--white); }
.pillars__grid { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.pillar { background: var(--ink); padding: 32px 24px 40px; display: grid; gap: 12px; align-content: start; transition: background .4s; }
.pillar:hover { background: #17171a; }
.pillar__n { color: var(--yellow); }
.pillar h3 { font-size: var(--fs-h3); }
.pillar p { color: var(--steel-light); }

/* Tecnología */
.numbers { padding-block: clamp(40px, 6vw, 80px); }
.facts--xl { grid-template-columns: 1fr; margin-top: 0; }
.facts--xl .fact { border-right: 0 !important; padding-left: 0 !important; grid-template-columns: 1fr; }
.facts--xl .fact__num { font-size: clamp(4rem, 2rem + 9vw, 11rem); }
.tvideo__grid { display: grid; gap: 40px; align-items: center; }
.tvideo__grid .ticks { margin-top: 32px; }
.tvideo__media { border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.tvideo__media video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.tblocks { background: var(--cream); }
.tblocks__grid { display: grid; gap: 40px 24px; }
.tblock__img { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: var(--cream-2); }
.tblock__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.tblock:hover .tblock__img img { transform: scale(1.05); }
.tblock__n { color: var(--steel); }
.tblock h3 { font-size: var(--fs-h3); margin: 6px 0; }
.tblock p { color: var(--graphite); }
.access__grid { display: grid; gap: 40px; }
.access .lead { margin-block: 20px 28px; }
.access__imgs { display: grid; gap: 16px; }
.access__imgs figure { border-radius: var(--radius); overflow: hidden; background: #000; }

/* Cotización */
.quote { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 100px)); padding-bottom: clamp(72px, 9vw, 140px); }
.quote__grid { display: grid; gap: 48px; }
.quote__title { font-size: clamp(3.2rem, 1.4rem + 7vw, 8.5rem); margin-bottom: 24px; }
.quote__title .line { display: block; }
.contact-list { display: grid; gap: 4px; margin-top: 32px; }
.contact-list a { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); transition: padding var(--t-fast) var(--ease-out); }
.contact-list a:hover { padding-left: 8px; }
.contact-list .icon { width: 22px; height: 22px; }
.contact-list strong { display: block; font-size: .72rem; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--steel); font-weight: 500; }
.quote__img { display: none; }
.quote__form { background: var(--cream); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 56px); }
.qform { display: grid; gap: 22px; }
.qform__row { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .9rem; }
.field__opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #d6d2c9; border-radius: var(--radius); background: var(--white); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field__err { color: var(--red); font-size: .82rem; min-height: 0; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); }
.field--check label { font-weight: 400; }
.field--check .field__err { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform__foot { display: grid; gap: 14px; justify-items: start; }
.qform__status { font-weight: 600; }
.qform__status.is-error { color: var(--red); }
.qform__status.is-ok { color: #1d7a3a; }
.qform.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* Páginas simples (gracias, 404) */
.simple { min-height: 80vh; display: grid; align-items: center; padding-top: calc(var(--header-h) + 60px); padding-bottom: 80px; }
.simple__inner { display: grid; gap: 24px; justify-items: start; }
.simple__flame { width: 56px; height: 76px; color: var(--yellow); }
.simple h1 { font-size: clamp(3.5rem, 2rem + 8vw, 10rem); }
.simple h1 .line { display: block; }
.simple__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.prose { max-width: 760px; display: grid; gap: 20px; }
.placeholder-note { padding: 24px; border: 2px dashed var(--yellow); border-radius: var(--radius); background: #fffbef; }

/* Ajustes sobre fondos oscuros */
.panel--res .btn--primary, .studio .btn--primary { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.panel--res .swatch__dot, .model--feature .swatch__dot { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), inset 0 -6px 10px rgba(0,0,0,.18); }
.panel--res .lid__name, .model--feature .lid__name { color: var(--white); }

.hint-touch { display: none; }
@media (hover: none) { .hint-touch { display: inline; } .hint-mouse { display: none; } }
.kpis dd { white-space: nowrap; }
.kpis--lg dd { font-size: clamp(1.25rem, .9rem + 1.1vw, 2.1rem); }
@media (min-width: 1024px) {
  .model__media .lid__stage { max-height: calc(100vh - var(--header-h) - 240px); }
  .model__media .mfig { margin-top: 0; }
}

.phero__copy, .quote__side, .model__body, .simple__inner > * { min-width: 0; max-width: 100%; }
.hero__ring text { font-size: 10px; letter-spacing: .4em; fill: #8a8e94; }
.hero__product .lid__ui { position: relative; z-index: 3; background: rgba(255,255,255,.92); padding: 6px 16px 6px 18px; border-radius: 999px; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.hero__product .lid__name { min-width: 8.5em; }
.hero__product .lid__ui { flex-wrap: nowrap; }
@media (max-width: 480px) { .hero__product .lid__label { display: none; } }
.lid__label { white-space: nowrap; }

/* Videos de modelos */
.mvideo { margin: 0 0 36px; }
.mvideo__frame, .gvideo__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.mvideo video, .gvideo video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.mvideo figcaption, .gvideo figcaption { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--steel); font-size: .68rem; }
.mvideo figcaption .icon, .gvideo figcaption .icon { width: 14px; height: 14px; color: var(--yellow); }
.model--feature .mvideo figcaption { color: var(--steel-light); }
.js .gvideo.reveal { opacity: 1; transform: none; }

/* Ventana flotante de ficha técnica */
.sheet { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; background: #0b0b0b; color: var(--white); opacity: 0; transition: opacity .25s ease; }
.sheet[hidden] { display: none !important; }
.sheet.is-open { opacity: 1; }
html.sheet-lock, html.sheet-lock body { overflow: hidden; }
.sheet__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter); padding-top: max(12px, env(safe-area-inset-top)); border-bottom: 1px solid var(--line-dark); background: #0b0b0b; }
.sheet__title { font-weight: 700; font-size: 1rem; letter-spacing: .02em; }
.sheet__close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--white); transition: background var(--t-fast), color var(--t-fast); }
.sheet__close:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.sheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 20px var(--gutter) 48px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.sheet__page { position: relative; width: 100%; max-width: 900px; aspect-ratio: 1241 / 1755; background: #fff; border-radius: 6px; overflow: hidden; flex: none; }
.sheet__page img { display: block; width: 100%; height: 100%; object-fit: contain; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; pointer-events: none; }
.sheet__page::after { content: ""; position: absolute; inset: 0; }
.sheet__page.is-loading::before { content: ""; position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 3px solid #ddd; border-top-color: var(--yellow); border-radius: 50%; animation: spin .8s linear infinite; }
.sheet__page.is-error::before { content: attr(data-msg); position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--ink); text-align: center; }
