:root {
  /* Colores tomados del logo */
  --bg: #03080d;
  --bg-2: #061019;
  --panel: #08151f;
  --blueprint: #061a2b;
  --line: #15303f;
  --line-2: #1d4258;
  --text: #e4eef4;
  --muted: #8ea6b6;
  --green: #2ee88a;   /* octágono */
  --emerald: #02ad80; /* "3" */
  --sky: #16acff;     /* "D" */
  --cobalt: #1f4f8a;  /* sombra del "3D" */
  --grad: linear-gradient(100deg, var(--green), var(--sky) 60%, var(--cobalt));
  --on-green: #02160c;

  --f-display: "Saira", "Arial Narrow", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(22, 172, 255, .09), transparent 60%),
    linear-gradient(rgba(22, 172, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 172, 255, .045) 1px, transparent 1px),
    linear-gradient(rgba(22, 172, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 172, 255, .02) 1px, transparent 1px);
  background-size: 100% 100%, 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-attachment: fixed;
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--sky); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: var(--on-green); padding: 10px 14px; border-radius: var(--r);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  font: 600 1rem/1 var(--f-display); font-stretch: 110%; letter-spacing: .01em;
  border-radius: var(--r); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s, transform .2s var(--ease);
}
.btn--sm { --h: 42px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: var(--on-green); box-shadow: 0 0 0 0 rgba(46, 232, 138, 0); }
.btn--primary:hover { box-shadow: 0 0 0 4px rgba(46, 232, 138, .18), 0 8px 30px -8px rgba(46, 232, 138, .6); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { color: var(--text); border-color: var(--line-2); background: rgba(6, 26, 43, .5); }
.btn--ghost:hover { border-color: var(--sky); color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 14px var(--gutter);
  transition: background-color .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav--solid { background: rgba(3, 8, 13, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); padding-block: 10px; }
.nav__brand img { height: 50px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  color: var(--muted); text-decoration: none; font: 500 .98rem/1 var(--f-display); font-stretch: 105%;
  padding: 10px 0; position: relative; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a[aria-disabled="true"] { cursor: default; }
.nav__links a[aria-disabled="true"]:hover { color: var(--muted); }
.nav__links a[aria-disabled="true"]::after { display: none; }
.nav__links a, .nav > .btn { white-space: nowrap; }
@media (max-width: 1100px) { .nav { gap: 20px; } .nav__links { gap: 18px; } }
.nav__links { align-items: center; }
/* "Próximamente" va debajo de la palabra */
.nav__links a:has(.nav__soon) { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px 0; }
.nav__soon { padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 .62rem/1 var(--f-display); letter-spacing: .04em; color: var(--sky); }
.nav__toggle { display: none; }
.menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  min-height: 100svh;
  padding: 110px var(--gutter) 40px;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 7fr);
  column-gap: 32px;
  row-gap: 32px;
  align-items: center;
}

.hero__kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 600 .95rem/1.2 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--green);
  opacity: 0; animation: fade-in .8s .1s var(--ease) forwards;
}
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: var(--green); }
.hero__title {
  margin: 0 0 26px;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 82%;
  font-size: clamp(2.5rem, 4.7vw, 4.6rem);
  line-height: .96;
  letter-spacing: -.01em;
  text-transform: none;
}
/* Cada línea se "imprime" por capas, de abajo hacia arriba */
.hero__title .line { display: block; clip-path: inset(100% 0 0 0); animation: layer-in .9s steps(9, end) forwards; }
.hero__title .line:nth-child(1) { animation-delay: .15s; }
.hero__title .line:nth-child(2) { animation-delay: .45s; }
.hero__title .line:nth-child(3) { animation-delay: .75s; }
.hero__title .line:nth-child(4) { animation-delay: 1.05s; }
@keyframes layer-in { to { clip-path: inset(0 0 0 0); } }

.hero__lead { max-width: 52ch; color: var(--muted); margin: 0 0 34px; font-size: 1.1rem; opacity: 0; animation: fade-in .8s 1.4s var(--ease) forwards; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fade-in .8s 1.6s var(--ease) forwards; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero__stage { position: relative; height: min(70vh, 640px); min-height: 420px; }
#printer { position: absolute; inset: 0; width: 100%; height: 100%; }

.hud { position: absolute; inset: 0; pointer-events: none; font-family: var(--f-display); font-stretch: 100%; }
.hud__panel {
  position: absolute;
  background: rgba(4, 16, 26, .66);
  border: 1px solid rgba(22, 172, 255, .28);
  backdrop-filter: blur(4px);
  padding: 12px 14px;
  opacity: 0; animation: fade-in .6s 1.9s var(--ease) forwards;
}
.hud__panel::before, .hud__panel::after {
  content: ""; position: absolute; width: 10px; height: 10px; border: 2px solid var(--sky);
}
.hud__panel::before { left: -2px; top: -2px; border-right: 0; border-bottom: 0; }
.hud__panel::after { right: -2px; bottom: -2px; border-left: 0; border-top: 0; }
.hud__panel--br { right: 0; bottom: 3%; display: flex; align-items: center; gap: 12px; }
.hud__ring { width: 52px; height: 52px; transform: rotate(-90deg); }
.hud__ring circle { fill: none; stroke-width: 4; }
.hud__ring .track { stroke: rgba(22, 172, 255, .18); }
.hud__ring .bar { stroke: var(--green); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; transition: stroke-dashoffset .3s linear; filter: drop-shadow(0 0 4px rgba(46, 232, 138, .7)); }
.hud__pct { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- Secciones ---------- */
.section {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(80px, 11vw, 140px) var(--gutter) 0;
}
.section__head { max-width: 760px; margin-bottom: 48px; }
.h2 {
  text-wrap: balance;
  margin: 0 0 14px;
  font: 700 clamp(2rem, 3.8vw, 3.2rem)/1.02 var(--f-display);
  font-stretch: 85%;
  letter-spacing: -.005em;
}
.section__lead { color: var(--muted); margin: 0; max-width: 60ch; }

/* Esquinas tipo HUD */
.corners { position: relative; border: 1px solid var(--line-2); }
.corners::before, .corners::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--sky); pointer-events: none;
}
.corners::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.corners::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }

/* ---------- Servicios ---------- */
.services__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; align-items: stretch; }
.services__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.services__list button {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: block; padding: 16px 20px 16px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color .25s;
}
.services__list button::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--green);
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
.services__list button strong { display: block; font: 600 1.2rem/1.25 var(--f-display); font-stretch: 100%; color: var(--muted); transition: color .2s; }
.services__list button span { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; opacity: .8; }
.services__list button:hover strong { color: var(--text); }
.services__list button[aria-selected="true"] { background: linear-gradient(90deg, rgba(46, 232, 138, .08), transparent 80%); }
.services__list button[aria-selected="true"]::before { transform: scaleY(1); }
.services__list button[aria-selected="true"] strong { color: var(--text); }
.services__list button:focus-visible { outline-offset: -2px; }

.blueprint {
  background:
    linear-gradient(rgba(22, 172, 255, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(22, 172, 255, .07) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--blueprint);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  min-height: 420px;
  position: sticky; top: 96px; align-self: start;
}
.blueprint__draw { display: grid; place-items: center; padding: 28px; border-right: 1px dashed var(--line-2); }
.blueprint__draw svg { width: 100%; max-width: 380px; height: auto; overflow: visible; }
/* El fondo negro de la ilustración se funde con el plano */
.blueprint__draw:has(.blueprint__img) { padding: 16px; }
.bp-print { position: relative; display: inline-block; max-width: 100%; line-height: 0; }
.blueprint__img { display: block; max-width: 100%; max-height: 400px; width: auto; height: auto; mix-blend-mode: screen; }
/* La ilustración se imprime: un cabezal recorre cada capa mientras la imagen aparece de abajo hacia arriba.
   14 capas en 0,8 s: cada pasada del cabezal dura 0,8 / 14 s */
.bp-print.is-printing .blueprint__img { animation: print-in .8s steps(14, end) both; }
.bp-print__head {
  position: absolute; left: 0; bottom: 3.57%; width: 26px; height: 14px; margin: 0 0 7px -13px;
  background: #173c55; border: 1px solid var(--sky); border-radius: 3px;
}
.bp-print__head::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; width: 10px; height: 6px; margin-left: -5px;
  background: #c9a650; clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.bp-print__head::before {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--green);
}
.bp-print.is-printing .bp-print__head {
  animation: bp-head-x 57ms linear 14 alternate, bp-head-y .8s steps(14, jump-none) both, bp-head-out .2s .8s forwards;
}
/* Hasta que la lámina entra en pantalla, sus animaciones esperan en el primer fotograma */
.blueprint:not(.is-seen) .draw *, .blueprint:not(.is-seen) .bp-print.is-printing * { animation-play-state: paused; }
@keyframes bp-head-x { from { left: 0; } to { left: 100%; } }
@keyframes bp-head-y { from { bottom: 3.57%; } to { bottom: 96.43%; } }
@keyframes bp-head-out { to { opacity: 0; } }
.blueprint__info { padding: 32px 28px 56px; }
.blueprint__info h3 { margin: 0 0 12px; font: 700 1.6rem/1.1 var(--f-display); font-stretch: 90%; }
.blueprint__info p { color: var(--muted); margin: 0 0 24px; }
.blueprint__meta { margin: 0; display: grid; gap: 16px; }
.blueprint__meta dt { font: 600 .85rem/1.3 var(--f-display); color: var(--sky); font-stretch: 100%; }
.blueprint__meta dd { margin: 4px 0 0; font-size: .97rem; }
.blueprint__info > * { transition: opacity .3s, transform .3s var(--ease); }
.blueprint.is-swapping .blueprint__info > * { opacity: 0; transform: translateY(6px); }

/* Líneas de plano: se dibujan al cambiar de servicio */
.bp { fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bp--part { stroke: var(--green); stroke-width: 2.2; }
.bp--thin { stroke-width: 1; opacity: .55; }
.bp--dim { stroke: #7fbfe6; stroke-width: 1; }
.bp-text { fill: #9fd3f3; font: 500 12px var(--f-display); }
.bp-text--g { fill: var(--green); }
.bp-fill { fill: rgba(46, 232, 138, .1); }
.bp-shell { fill: rgba(31, 79, 138, .32); }
.bp-dash { fill: none; stroke: #7fbfe6; stroke-width: 1; stroke-dasharray: 5 4; }
.bp-beam { fill: rgba(22, 172, 255, .1); }
.bp-dot, .bp-sw1 { fill: var(--green); }
.bp-sw2 { fill: var(--sky); }
.bp-sw3 { fill: var(--cobalt); }
.draw .bp-fill, .draw .bp-shell, .draw .bp-dash, .draw .bp-beam, .draw .bp-dot, .draw .bp-sw1, .draw .bp-sw2, .draw .bp-sw3 { opacity: 0; animation: fade-in .6s .8s forwards; }
.draw .bp { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; }
.draw .bp--dim, .draw .bp--thin { animation-delay: .45s; }
.draw .bp-text { opacity: 0; animation: fade-in .4s .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Proceso ---------- */
.process__track { position: relative; }
.process__filament { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; }
.process__filament path { fill: none; stroke-width: 3; vector-effect: non-scaling-stroke; }
.process__filament .base { stroke: var(--line-2); stroke-dasharray: 2 7; }
.process__filament .hot { stroke: var(--green); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.25, .6, .3, 1); filter: drop-shadow(0 0 6px rgba(46, 232, 138, .8)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.step { padding-top: 140px; position: relative; }
.step__n {
  position: absolute; top: 38px; left: 0;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--bg);
  font: 700 1.1rem/1 var(--f-display); color: var(--muted);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  transition: color .5s, background-color .5s;
}
.step.is-on .step__n { color: var(--on-green); background: var(--green); }
.step h3 { margin: 0 0 8px; font: 600 1.18rem/1.2 var(--f-display); font-stretch: 95%; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Materiales ---------- */
.materials__grid { display: grid; gap: 24px; }
.mat-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-2); background: var(--bg-2); width: fit-content; border-radius: var(--r); }
.mat-tabs button {
  all: unset; cursor: pointer; padding: 12px 24px; min-width: 56px; text-align: center;
  font: 600 1.05rem/1 var(--f-display); color: var(--muted); border-radius: 2px;
  transition: background-color .25s, color .25s;
}
.mat-tabs button:hover { color: var(--text); }
.mat-tabs button[aria-selected="true"] { background: var(--sky); color: #021320; }
.mat-tabs button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.datasheet { background: var(--panel); padding: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 32px 48px; }
.datasheet__head h3 { margin: 0 0 10px; font: 800 3.4rem/1 var(--f-display); font-stretch: 80%; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.datasheet__head p { color: var(--muted); margin: 0; }
.bars { display: grid; gap: 14px; align-content: start; }
.bar-row { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 16px; font-size: .95rem; }
.bar-row span { color: var(--muted); }
.bar { height: 10px; background: repeating-linear-gradient(90deg, rgba(22, 172, 255, .14) 0 calc(10% - 3px), transparent calc(10% - 3px) 10%); }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--sky)); transition: width .7s var(--ease); }
.datasheet__facts { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); padding-top: 20px; gap: 24px; }
.datasheet__facts dt { font: 600 .85rem/1.3 var(--f-display); color: var(--sky); }
.datasheet__facts dd { margin: 4px 0 0; }

/* ---------- Preguntas ---------- */
.faq__list { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font: 600 1.2rem/1.35 var(--f-display); font-stretch: 98%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--green);
  transition: transform .3s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq summary:hover { color: #fff; }
.faq__a { padding: 0 48px 22px 0; color: var(--muted); }
.faq__a p { margin: 0; max-width: 70ch; }
.faq details[open] .faq__a { animation: fade-in .35s var(--ease); }

/* ---------- Cotizar ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 120px; }
.quote__points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.quote__points li { padding-left: 30px; position: relative; }
.quote__points li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px;
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  background: var(--green);
}
.contact { display: grid; gap: 16px; }
.contact__card {
  display: flex; align-items: center; gap: 20px;
  padding: 24px; background: var(--panel); color: var(--text); text-decoration: none;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.contact__card:hover { border-color: var(--green); background: #0b1d29; transform: translateY(-2px); }
.contact__icon {
  flex: none; width: 56px; height: 56px; padding: 12px;
  fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  border: 1px solid var(--line-2); border-radius: 50%;
  transition: background-color .25s, stroke .25s;
}
.contact__card:hover .contact__icon { background: var(--green); stroke: var(--on-green); }
/* Ícono de marca relleno (WhatsApp): sin trazo, con un poco más de margen */
.contact__icon--fill { fill: var(--green); stroke: none; padding: 12px; overflow: visible; transition: background-color .25s, fill .25s; }
.contact__card:hover .contact__icon--fill { fill: var(--on-green); }
.contact__text strong { display: block; font: 600 1.25rem/1.2 var(--f-display); }
.contact__text span { display: block; color: var(--muted); margin-top: 4px; font-size: .97rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px 40px; align-items: center;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  color: var(--muted);
}
.footer__logo { height: 52px; width: auto; }
.footer p { margin: 0; max-width: 46ch; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--text); text-decoration: none; padding: 8px 0; }
.footer__links a:hover { color: var(--green); }
.footer__small { grid-column: 1 / -1; font-size: .85rem; }

/* ---------- Movimiento al desplazarse ---------- */
.scrollbar {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60;
  background: linear-gradient(90deg, var(--green), var(--sky));
  transform: scaleX(0); transform-origin: left;
}
.hero__stage { will-change: transform; }
.reveal:not(.is-in) { opacity: 0; }
.reveal.is-in { animation: rise .8s var(--ease) var(--d, 0s) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
/* Los títulos se "imprimen" por capas, como en la portada */
.reveal-print:not(.is-in) { clip-path: inset(100% 0 0 0); }
.reveal-print.is-in { animation: print-in .9s steps(9, end) var(--d, 0s) backwards; }
@keyframes print-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 104px; min-height: auto; }
  .hero__stage { height: 520px; min-height: 0; }
  .services__grid { grid-template-columns: 1fr; }
  .blueprint { position: relative; top: auto; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .process__filament { display: none; }
  .step { padding: 0 0 32px 72px; }
  .step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line-2); }
  .step:last-child::before { display: none; }
  .step__n { top: 0; }
  .quote { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .nav { gap: 12px; }
  .nav__links, .nav > .btn { display: none; }
  .nav__toggle {
    display: grid; align-content: center; gap: 6px; margin-left: auto;
    width: 48px; height: 48px; background: transparent; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer;
  }
  .nav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 0 auto; transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .menu {
    position: fixed; inset: 72px 0 auto 0; z-index: 49; display: grid;
    background: rgba(3, 8, 13, .96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .menu[hidden] { display: none; }
  .menu a { color: var(--text); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 1.15rem/1 var(--f-display); }
  .menu a[aria-disabled="true"] { color: var(--muted); }
}
@media (max-width: 860px) {
  .nav__brand img { height: 38px; }
  .blueprint { grid-template-columns: 1fr; }
  .blueprint__draw { border-right: 0; border-bottom: 1px dashed var(--line-2); padding: 24px 20px; }
  .blueprint__info { padding: 24px 20px 64px; }
  .datasheet { grid-template-columns: 1fr; padding: 24px 20px; }
  .datasheet__facts { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr; gap: 6px; }
  .footer { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero__stage { height: 400px; }
  .hud__ring { width: 40px; height: 40px; }
  .hud__pct { font-size: 1.15rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .mat-tabs { width: 100%; }
  .mat-tabs button { flex: 1; padding: 12px 4px; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .hero__title .line { clip-path: none; }
}
