/* LUXPOWER · luxpower-ingenieria.com
   Dirección: «One motif». El chip del logo (cuerpo cuadrado con tres patas por lado) es la única forma
   de la página: la figura gigante del inicio, la ventana de los equipos, la máscara de cada foto,
   los botones y las viñetas.
   Paleta: una sola familia de verde azulado (el del logo) en tres profundidades, más un papel claro. */

:root {
  --bg: #071311;              /* fondo: verde azulado casi negro */
  --surface: #0c1d1a;         /* banda de servicios */
  --panel: #0f2c28;           /* panel de empresa */
  --ink: #ecf4f2;
  --muted: #a3b8b4;
  --accent: #27b9a4;          /* verde azulado del logo */
  --accent-strong: #4fd8c3;
  --accent-ink: #04201b;
  --paper: #e4eeeb;           /* campo claro: calculadora y cupón */
  --paper-deep: #cfdeda;
  --paper-ink: #0b211d;
  --paper-muted: #3b5651;

  --font: "Roundo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
  --step-display: clamp(2.75rem, 0.5rem + 6.4vw, 6.25rem);

  --margin: clamp(1rem, 3vw, 3rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7.5rem, 12vw, 13rem);

  /* el chip: cuerpo de 8 % a 92 %, patas de 6 % de ancho */
  --chip: polygon(8% 8%, 27% 8%, 27% 0, 33% 0, 33% 8%, 47% 8%, 47% 0, 53% 0, 53% 8%, 67% 8%, 67% 0, 73% 0, 73% 8%, 92% 8%, 92% 27%, 100% 27%, 100% 33%, 92% 33%, 92% 47%, 100% 47%, 100% 53%, 92% 53%, 92% 67%, 100% 67%, 100% 73%, 92% 73%, 92% 92%, 73% 92%, 73% 100%, 67% 100%, 67% 92%, 53% 92%, 53% 100%, 47% 100%, 47% 92%, 33% 92%, 33% 100%, 27% 100%, 27% 92%, 8% 92%, 8% 73%, 0 73%, 0 67%, 8% 67%, 8% 53%, 0 53%, 0 47%, 8% 47%, 8% 33%, 0 33%, 0 27%, 8% 27%);
  /* el botón: el mismo chip en formato DIP, con patas arriba y abajo */
  --pin: 8px;
  --dip: polygon(0 var(--pin), calc(20% - 4px) var(--pin), calc(20% - 4px) 0, calc(20% + 4px) 0, calc(20% + 4px) var(--pin), calc(50% - 4px) var(--pin), calc(50% - 4px) 0, calc(50% + 4px) 0, calc(50% + 4px) var(--pin), calc(80% - 4px) var(--pin), calc(80% - 4px) 0, calc(80% + 4px) 0, calc(80% + 4px) var(--pin), 100% var(--pin), 100% calc(100% - var(--pin)), calc(80% + 4px) calc(100% - var(--pin)), calc(80% + 4px) 100%, calc(80% - 4px) 100%, calc(80% - 4px) calc(100% - var(--pin)), calc(50% + 4px) calc(100% - var(--pin)), calc(50% + 4px) 100%, calc(50% - 4px) 100%, calc(50% - 4px) calc(100% - var(--pin)), calc(20% + 4px) calc(100% - var(--pin)), calc(20% + 4px) 100%, calc(20% - 4px) 100%, calc(20% - 4px) calc(100% - var(--pin)), 0 calc(100% - var(--pin)));

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol, fieldset { margin: 0; }
ul[role="list"], ol[role="list"] { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:target { scroll-margin-top: 2rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
.wrap { padding-inline: var(--margin); }
.display { font-size: var(--step-display); line-height: 1; letter-spacing: -0.03em; }
.head { font-size: var(--step-head); line-height: 1.05; letter-spacing: -0.025em; }
.lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }
.small { font-size: var(--step-small); line-height: 1.45; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.photo { filter: grayscale(1) contrast(1.08); }
.chipmask { clip-path: var(--chip); overflow: hidden; }

/* ---------- controles ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 4rem; padding: var(--pin) 1.75rem;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 500; text-decoration: none; white-space: nowrap;
  clip-path: var(--dip);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
.button:focus-visible { outline: none; background: var(--ink); color: var(--bg); }
.button-small { min-height: 3.25rem; padding-inline: 1.25rem; background: var(--accent-ink); color: var(--accent); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; transition: text-decoration-color var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--accent-strong); }
  .button-small:hover { background: var(--bg); color: var(--accent-strong); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- barra ---------- */
.bar { position: absolute; inset: 0 0 auto 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding-top: 1.25rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; }
.brand img { width: 2.75rem; height: auto; }
.bar-links { display: flex; gap: 1.75rem; color: var(--accent-ink); font-weight: 500; }

/* ---------- inicio ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: center; }
.hero-chip { position: absolute; width: 120vh; height: 120vh; left: 80%; top: 52%; transform: translate(-50%, -50%); background: var(--accent); clip-path: var(--chip); }
.hero-shot { position: absolute; z-index: 1; left: 53%; top: 25vh; width: 60vw; margin: 0; }
.hero-video { width: 100%; aspect-ratio: 1332 / 544; object-fit: cover; background: #0a1220; }
.hero-shot figcaption { max-width: 60ch; margin-top: 0.75rem; font-size: var(--step-small); color: var(--accent-ink); font-weight: 500; }
.hero-text { position: relative; z-index: 2; width: 50%; padding-block: 7rem 4rem; }
.hero h1 { font-weight: 500; margin-bottom: 2.25rem; }
.hero-lead { max-width: 40ch; margin-bottom: 2.25rem; }

@media (max-width: 56.24rem), (max-aspect-ratio: 1/1) {
  .hero { align-items: flex-start; min-height: max(100svh, 54rem); }
  .hero-chip { width: 130vw; height: 130vw; left: 50%; top: max(60svh, 30rem); transform: translateX(-50%); }
  .hero-shot { left: 7vw; top: calc(max(60svh, 30rem) + 20vw); width: 118vw; }
  .hero-shot figcaption { max-width: calc(86vw - var(--margin)); }
  .hero-text { width: 100%; padding-top: max(15svh, 6.5rem); padding-bottom: 0; }
  .hero h1 { font-size: 11.5vw; margin-bottom: 1.5rem; }
  .hero-lead { font-size: 1rem; margin-bottom: 1.5rem; }
  .bar-links { color: var(--ink); }
  .only-wide-nav { display: none; }
}

/* ---------- equipos: la ventana con forma de chip ---------- */
.equipos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; padding: var(--section) var(--margin) calc(var(--section) * 0.6); }
.eq-window { grid-column: 1 / span 6; position: sticky; top: 11svh; height: 78svh; margin-left: calc(-1 * (var(--margin) + 4vw)); }
.eq-frame { position: relative; width: 100%; height: 100%; background: var(--surface); }
.eq-frame > img, .eq-frame > video { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 700ms var(--ease-soft), transform 1400ms var(--ease-out); }
.eq-frame > .is-on { opacity: 1; transform: none; }
.ui { object-position: 22% 50%; }
.eq-body { grid-column: 8 / span 5; }
.eq-body h2 { margin-bottom: 1rem; }
.eq-intro { margin-bottom: 1rem; max-width: 30ch; }
.eq-item { padding-block: 2.5rem; outline-offset: 6px; }
.eq-name { display: flex; align-items: center; gap: 0.45em; font-size: clamp(1.625rem, 1rem + 1.5vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 0.65rem; color: var(--muted); transition: color 350ms ease; }
.eq-name svg { width: 0.5em; height: 0.5em; flex: none; fill: currentColor; transition: transform 500ms var(--ease-out), fill 350ms ease; }
.eq-item.is-active .eq-name { color: var(--ink); }
.eq-item.is-active .eq-name svg { fill: var(--accent); transform: rotate(90deg) scale(1.15); }
.eq-item p { max-width: 42ch; }
.eq-more { margin-top: 0.9rem; }
.eq-more a { color: var(--accent-strong); text-decoration-color: currentColor; font-weight: 500; }
.eq-pic { display: none; }

@media (max-width: 56.24rem) {
  .equipos { grid-template-columns: 1fr; padding-top: calc(var(--section) * 0.7); }
  .eq-window { display: none; }
  .eq-body { grid-column: 1; }
  .eq-body h2 { margin-bottom: 0.75rem; }
  .eq-intro { margin-bottom: 0.5rem; }
  .eq-item { padding-block: 2rem; }
  .eq-pic { display: block; width: calc(100% + 2 * var(--margin)); aspect-ratio: 1.25; margin: 0 calc(-1 * var(--margin)) 1.5rem; background: var(--surface); }
  .eq-name { color: var(--ink); }
  .eq-name svg { fill: var(--accent); }
}

/* ---------- la calculadora de respaldo ---------- */
.pf { --field: var(--paper); --field-ink: var(--paper-ink); --field-soft: var(--paper-deep);
  position: relative; min-height: 92svh; overflow: hidden; background: var(--field); color: var(--field-ink);
  transition: background-color 500ms var(--ease-soft), color 500ms var(--ease-soft); }
.pf[data-mode="gen"] { --field: var(--accent); --field-ink: var(--accent-ink); --field-soft: #5fcfbd; }
.pf-text { position: relative; z-index: 2; max-width: calc(50% - var(--gutter)); padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: 2rem; }
.pf-text h2 { margin-bottom: 1.25rem; max-width: 14ch; }
.pf-lead { margin-bottom: 1.75rem; max-width: 44ch; }
.pf-modes { border: 0; padding: 0; margin-bottom: 1.5rem; display: flex; gap: 10px; }
.mode { position: relative; }
.mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mode span { display: inline-flex; align-items: center; min-height: 3.5rem; padding: var(--pin) 1.5rem; clip-path: var(--dip); background: var(--field-soft); color: var(--field-ink); font-weight: 500; cursor: pointer; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.mode span:active { transform: scale(0.97); }
.mode input:checked + span { background: var(--field-ink); color: var(--field); }
.mode input:focus-visible + span { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 0.1em; }
.pf-cta { margin-bottom: 1.25rem; }
.button-ink { background: var(--field-ink); color: var(--field); }
.button-ink:focus-visible { background: var(--ink); color: var(--bg); }
@media (hover: hover) and (pointer: fine) {
  .button-ink:hover { background: color-mix(in srgb, var(--field-ink) 82%, var(--field)); }
  .mode input:not(:checked) + span:hover { background: color-mix(in srgb, var(--field-soft) 70%, var(--field-ink)); }
}
.pf-note { max-width: 50ch; font-weight: 500; }

.pf-control { position: absolute; left: 52%; bottom: 9%; width: 15em; font-size: 6.2vh; line-height: 1; }
.pf-label { position: relative; z-index: 1; display: block; font-size: 0.5em; font-weight: 500; margin-bottom: 0.5em; }
.pf-value { display: flex; align-items: baseline; line-height: 0.86; font-size: 3.8em; font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.pf-unit { font-size: 0.28em; letter-spacing: 0; margin-left: 0.2em; }
.pf-track { position: relative; height: 1.6em; margin-top: 0.35em; }
.pf-track input { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 1.6em; margin: 0; background: transparent; cursor: grab; }
.pf-track input:active { cursor: grabbing; }
.pf-track input::-webkit-slider-runnable-track { height: 0.3em; background: currentColor; }
.pf-track input::-moz-range-track { height: 0.3em; background: currentColor; }
.pf-track input::-webkit-slider-thumb { -webkit-appearance: none; width: 1.6em; height: 1.6em; margin-top: -0.65em; background: currentColor; clip-path: var(--chip); transition: transform var(--t-press) var(--ease-out); }
.pf-track input::-moz-range-thumb { width: 1.6em; height: 1.6em; border: 0; border-radius: 0; background: currentColor; clip-path: var(--chip); }
.pf-track input:active::-webkit-slider-thumb { transform: scale(1.12); }
.pf-track input:focus-visible { outline: 0.08em solid currentColor; outline-offset: 0.15em; }
.pf-status { font-size: 0.55em; font-weight: 500; margin-top: 0.45em; max-width: none; }

@media (max-width: 56.24rem) {
  .pf { min-height: 0; padding-bottom: 3rem; }
  .pf-text { max-width: none; padding-bottom: 0; }
  .pf-control { position: relative; left: auto; bottom: auto; font-size: 8.4vw; margin: 2.75rem var(--margin) 0; width: auto; }
}

/* ---------- más servicios ---------- */
.also { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; padding: calc(var(--section) * 0.7) var(--margin); background: var(--surface); }
.also h2 { grid-column: 1 / span 4; max-width: 10ch; }
.points { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; row-gap: 2.75rem; }
.points h3 { display: flex; align-items: center; gap: 0.55em; font-size: var(--step-lead); font-weight: 500; line-height: 1.2; margin-bottom: 0.5rem; }
.points svg { width: 0.6em; height: 0.6em; flex: none; fill: var(--accent); }
.points p { color: var(--muted); }

@media (max-width: 56.24rem) {
  .also { grid-template-columns: 1fr; }
  .also h2, .points { grid-column: 1; max-width: none; }
  .points { grid-template-columns: 1fr; row-gap: 1.75rem; }
}

/* ---------- proceso ---------- */
.process { position: relative; padding-block: var(--section) calc(var(--section) / 2); }
.process-title { position: absolute; top: var(--section); left: var(--margin); width: calc(58% - var(--margin)); }
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 10px; align-items: start; }
.stage:nth-child(1) { grid-column: 1 / span 3; padding-top: 30vh; }
.stage:nth-child(2) { grid-column: 4 / span 4; padding-top: 16vh; }
.stage:nth-child(3) { grid-column: 8 / span 5; }
.tile { position: relative; overflow: hidden; display: grid; place-items: center; margin-bottom: 1.5rem; }
.tile-a { height: 30vh; background: var(--panel); }
.tile-b { height: 44vh; background: var(--paper); }
.tile-c { height: 60vh; background: var(--accent); }
.tile-pic { aspect-ratio: 1; transition: transform 900ms var(--ease-out); }
.tile-a .tile-pic { height: 74%; }
.tile-b .tile-pic { height: 80%; }
.tile-ui { position: absolute; left: 7%; top: 14%; height: 72%; width: auto; max-width: none; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .stage:hover .tile-pic { transform: scale(1.05); }
  .stage:hover .tile-ui { transform: translateX(-3%); }
}
.stage h3 { font-size: var(--step-lead); font-weight: 500; margin-bottom: 0.4rem; padding-right: 1rem; }
.stage p { color: var(--muted); padding-right: 1rem; }

@media (max-width: 56.24rem) {
  .process-title { position: static; width: auto; margin-bottom: 2.25rem; }
  .tiles { grid-template-columns: 1fr; row-gap: 2rem; }
  .stage:nth-child(n) { grid-column: 1; padding-top: 0; }
  .tile-a { height: 34vw; } .tile-b { height: 46vw; } .tile-c { height: 62vw; }
  .tile-a, .tile-b, .tile-c { min-height: 12rem; }
  .tile-ui { height: 78%; top: 11%; }
}

/* ---------- empresa ---------- */
.about { padding: calc(var(--section) / 2) var(--margin); }
.about-panel { position: relative; display: grid; grid-template-columns: 63% 1fr; min-height: 110svh; overflow: hidden; background: var(--panel); color: var(--ink); }
.about-left { position: relative; padding: 3.5rem; }
.about-title { max-width: 14ch; }
.about-figure { position: absolute; left: 3.5rem; bottom: -7.6vw; width: 38vw; aspect-ratio: 1; }
.about-right { padding: 3.5rem var(--margin) 3.5rem 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4rem; }
.about-block { max-width: 22rem; }
.about-block h3 { margin-bottom: 0.75rem; }

@media (max-width: 56.24rem) {
  .about-panel { grid-template-columns: 1fr; min-height: 0; }
  .about-left { padding: 2.5rem 1.5rem 0; position: static; }
  .about-title { font-size: 8.5vw; max-width: none; }
  .about-right { padding: 2.5rem 1.5rem calc(86vw * 0.78 + 1rem); gap: 2.5rem; }
  .about-figure { left: 50%; transform: translateX(-50%); width: 86vw; bottom: calc(-86vw * 0.25); }
  .about-block { max-width: none; }
}

/* ---------- contacto: el cupón ---------- */
.contact { padding-block: calc(var(--section) * 0.75) var(--section); }
.coupon { display: grid; grid-template-columns: 46% 1fr; width: calc(100% * 10 / 12); margin-inline: auto; min-height: 28rem; background: var(--paper); color: var(--paper-ink); }
.coupon-left { padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.coupon-left h2 { max-width: 12ch; }
.coupon-right { position: relative; padding: 3rem; display: grid; gap: 10px; align-content: center; border-left: 5px dotted var(--bg); }
.coupon-right::before, .coupon-right::after { content: ""; position: absolute; left: -16.5px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.coupon-right::before { top: -14px; }
.coupon-right::after { bottom: -14px; }
.field { width: 100%; min-height: 3.25rem; padding: 0.7rem 0.95rem; border: 0; background: var(--paper-deep); color: var(--paper-ink); font-size: 1rem; }
.field::placeholder { color: var(--paper-muted); opacity: 1; }
.field:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
select.field { -webkit-appearance: none; appearance: none; cursor: pointer; }
.coupon-submit { min-height: 4rem; padding: var(--pin) 1rem; margin-top: 4px; background: var(--accent); color: var(--accent-ink); font-weight: 500; cursor: pointer; clip-path: var(--dip); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.coupon-submit:active { transform: scale(0.98); }
.coupon-submit:focus-visible { outline: none; background: var(--paper-ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) { .coupon-submit:hover { background: var(--accent-strong); } }

@media (max-width: 56.24rem) {
  .coupon { grid-template-columns: 1fr; width: 100%; }
  .coupon-left { padding: 2rem 1.5rem; }
  .coupon-right { padding: 2rem 1.5rem; border-left: 0; border-top: 5px dotted var(--bg); }
  .coupon-right::before, .coupon-right::after { top: -16.5px; bottom: auto; }
  .coupon-right::before { left: -14px; }
  .coupon-right::after { left: auto; right: -14px; }
}

/* ---------- pie ---------- */
.footer { background: var(--accent); color: var(--accent-ink); padding-top: clamp(3rem, 6vw, 6rem); }
.footer-mark { display: flex; align-items: flex-end; gap: clamp(1rem, 2vw, 2rem); height: 34svh; min-height: 11rem; }
.mark-chip { height: 100%; width: auto; aspect-ratio: 1; fill: var(--accent-ink); flex: none; }
.mark-word { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.mark-word svg { width: 100%; height: auto; max-height: 100%; fill: var(--accent-ink); overflow: visible; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; padding-top: 3.5rem; }
.footer-grid > div:nth-child(1) { grid-column: 1 / span 3; }
.footer-grid > div:nth-child(2) { grid-column: 4 / span 4; }
.footer-grid > div:nth-child(3) { grid-column: 9 / span 4; }
.footer-h { font-size: var(--step-body); font-weight: 600; margin-bottom: 0.75rem; }
.footer li + li { margin-top: 0.35rem; }
.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0.6rem var(--gutter); padding-top: 3rem; font-size: var(--step-small); }
.footer-last { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 2rem; font-weight: 500; }

@media (max-width: 56.24rem) {
  .footer-mark { height: 22svh; min-height: 7rem; }
  .footer-grid > div:nth-child(1) { grid-column: 1 / span 6; }
  .footer-grid > div:nth-child(2) { grid-column: 7 / span 6; }
  .footer-grid > div:nth-child(3) { grid-column: 1 / -1; }
}

/* ---------- movimiento (el contenido queda visible sin JavaScript) ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
.drift-wrap { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(20px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }
  .js .lines [data-line] { transform: translateY(105%); animation: line 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .chipmask[data-reveal] { opacity: 1; transform: none; clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%); transition: clip-path 1000ms var(--ease-in-out); }
  .js .chipmask[data-reveal].is-in { clip-path: var(--chip); }
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 0 0 100%); transition: clip-path 1100ms var(--ease-in-out) 250ms; }
  .js .shutter[data-reveal] video { transform: scale(1.12); transition: transform 1500ms var(--ease-soft) 250ms; }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in video { transform: none; }
  .js .hero-chip { animation: chip-in 1100ms var(--ease-out) both; }
  .drift { animation: drift 24s var(--ease-soft) infinite alternate; transform-origin: 40% 60%; }
  .pf-value [data-out="kva"] { display: inline-block; transition: transform 260ms var(--ease-out); }
  .pf-value.is-bump [data-out="kva"] { transform: translateY(-0.04em) scale(1.03); }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes line { to { transform: none; } }
@keyframes chip-in { from { opacity: 0; transform: translate(-46%, -50%) scale(0.96); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.09) translate(-1.5%, 1%); } }
@media (prefers-reduced-motion: no-preference) and ((max-width: 56.24rem) or (max-aspect-ratio: 1/1)) {
  .js .hero-chip { animation-name: chip-in-phone; }
}
@keyframes chip-in-phone { from { opacity: 0; transform: translate(-50%, 4%); } to { opacity: 1; transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .pf, .button, .coupon-submit, .mode span, .eq-frame > img, .eq-frame > video, .eq-name, .eq-name svg { transition: none; }
}
