/* ==========================================================================
   NOVA RESTORE SERVICES — estilos
   Concepto "Fog to clear". Mobile-first. Sin framework.
   ========================================================================== */

/* ---------- Fuentes (auto-alojadas, variables, recortadas a latin) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 500 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --midnight: #01153b;
  --deep: #041d49;
  --royal: #1055ae;
  --electric: #0b8dfd;
  --ice: #b6dff5;
  --chrome: #bbc8d9;
  --off: #f4f7fc;
  --white: #ffffff;

  --ink: #01153b;
  --ink-soft: #4a5b80;
  --ink-dim: #55658a;
  --mist: #a9b8ce;
  --mist-2: #8fa3c0;
  --dim-dark: #6e82a6;
  --line-dark: rgba(187, 200, 217, 0.16);
  --line-light: rgba(1, 21, 59, 0.13);
  --error-light: #c2272d;
  --error-dark: #ff8a8e;

  /* El texto del hero espera a las fuentes (lo cubre el loader), asi que no hace falta un respaldo con metricas */
  --f-display: "Archivo", "Arial Black", Arial, sans-serif;
  --f-body: "Instrument Sans", Arial, Helvetica, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1560px;
  --nav-h: 72px;
  --radius: 14px;
  --radius-lg: 22px;

  --chrome-grad: linear-gradient(177deg, #ffffff 0%, #e4ebf4 28%, #a6b5ca 47%, #f3f6fb 58%, #c6d1e0 76%, #8d9eb8 100%);
  --blue-grad: linear-gradient(180deg, #8fd0ff 0%, #2ea0ff 40%, #0b8dfd 62%, #1a64c8 100%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --logo-mask-x: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  --logo-mask-y: linear-gradient(180deg, transparent 0%, #000 13%, #000 88%, transparent 100%);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  background: var(--midnight);
}
html.is-loading,
html.menu-open {
  overflow: hidden;
}
@supports (scrollbar-gutter: stable) {
  html {
    scrollbar-gutter: stable;
  }
}
/* Lenis (scroll suave en escritorio) */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--midnight);
  color: var(--off);
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  body {
    overflow-x: clip;
  }
}
h1,
h2,
h3,
p,
ol,
ul,
figure,
fieldset,
legend {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}
img,
svg,
canvas,
picture,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--electric);
  color: var(--midnight);
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Foco visible y notorio en todos los fondos */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
  border-radius: 6px;
}
.section--dark :focus-visible,
.nav :focus-visible,
.menu :focus-visible,
.footer :focus-visible,
.contact-card :focus-visible,
.svc-panel :focus-visible,
.svc-card :focus-visible,
.mbar :focus-visible {
  outline-color: var(--ice);
}
main:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--electric);
  color: var(--midnight);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.4s var(--ease-out);
}
.skip-link:focus-visible {
  transform: none;
  outline-color: var(--ice);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  position: relative;
  padding-block: clamp(88px, 11vw, 176px);
}
.section--light {
  background: var(--off);
  color: var(--ink);
}
.section--dark,
.section--deep {
  position: relative;
  isolation: isolate;
  background: var(--midnight);
  color: var(--off);
}
.section--deep {
  background: var(--deep);
}
/* Grano muy sutil en secciones oscuras */
.section--dark::before,
.section--deep::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 200px 200px;
  opacity: 0.055;
  pointer-events: none;
}
.section__head {
  display: grid;
  gap: 20px;
}
/* Rendimiento: las secciones lejanas no se maquetan hasta acercarse a la pantalla.
   (El contenido sigue en el DOM: accesible, indexable y encontrable con Ctrl+F.) */
.services,
.sig,
.why,
.who,
.about,
.results,
.process,
.quote,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 1100px;
}
.quote {
  contain-intrinsic-size: auto 1500px;
}
.noscript-note {
  margin-top: 24px;
  max-width: 52ch;
}

/* ---------- Tipografia ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9em;
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: 0.78rem;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--royal);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 30px;
  height: 1px;
  background: currentColor;
}
.section--dark .eyebrow,
.section--deep .eyebrow {
  color: var(--ice);
}
.eyebrow__num {
  color: inherit;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(2.3rem, 6.5vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}
/* Titulares dentro de una columna (no a todo el ancho) */
.h2--col {
  font-size: clamp(2.2rem, 5vw, 5.2rem);
}
.chrome-text,
.hero__chrome,
.marquee__word--chrome,
.footer__nova {
  background-image: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--chrome);
}
/* Divisor de palabras para animaciones de titulares */
.split-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.split-w > span {
  display: inline-block;
}
.split-fog .split-w {
  overflow: visible;
}

/* ---------- Botones y enlaces ---------- */
.btn {
  --bg: var(--electric);
  --fg: var(--midnight);
  --bd: transparent;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 54px;
  padding: 0 1.6em;
  border: 1px solid var(--bd);
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.btn > span,
.btn > svg {
  position: relative;
  z-index: 1;
}
/* Brillo diagonal (pasada de squeegee) al pasar el mouse */
.btn::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.6) 47%, rgba(255, 255, 255, 0) 64%);
  transform: translateX(-125%);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
}
.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(125%);
}
.btn:hover {
  --bg: #3aa3ff;
}
.btn:active {
  transform: scale(0.98);
}
.btn__spark {
  width: 14px;
  height: 14px;
  flex: none;
  transition: transform 0.7s var(--ease-out);
}
.btn:hover .btn__spark,
.btn:focus-visible .btn__spark {
  transform: rotate(90deg) scale(1.3);
}
.btn__icon {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.5s var(--ease-out);
}
.btn:hover .btn__icon:not(.btn__icon--flip) {
  transform: translateX(3px);
}
.btn__icon--flip {
  transform: scaleX(-1);
}
.btn--sm {
  min-height: 46px;
  padding: 0 1.25em;
  font-size: 0.76rem;
}
.btn--dark {
  --bg: var(--midnight);
  --fg: var(--off);
}
.btn--dark:hover {
  --bg: var(--royal);
}
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  --bd: rgba(1, 21, 59, 0.2);
}
.btn--ghost:hover {
  --bg: rgba(1, 21, 59, 0.05);
}
.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 1.9em;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.6s var(--ease-out);
}
.link-arrow:hover::after {
  transform: scaleX(0);
}
.link-arrow svg {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform 0.5s var(--ease-out);
}
.link-arrow:hover svg {
  transform: translateX(5px);
}

/* ==========================================================================
   PANTALLA DE CARGA
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  place-items: center;
  background: var(--midnight);
  will-change: transform;
  /* Aislado: lo que se anima dentro del loader no obliga a recalcular el resto de la pagina */
  contain: strict;
}
.js .loader {
  display: grid;
  /* Seguro CSS: si el JS falla, el loader desaparece igual */
  animation: loader-failsafe 0.5s ease 4.2s forwards;
}
@keyframes loader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.loader__stage {
  display: grid;
  justify-items: center;
  gap: clamp(28px, 6svh, 56px);
}
.loader__logo {
  position: relative;
  width: min(72vw, 460px, 62svh);
  aspect-ratio: 800 / 714;
  container-type: inline-size;
}
.loader__logo picture,
.loader__sharp {
  position: absolute;
  inset: 0;
}
.loader__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: var(--logo-mask-x), var(--logo-mask-y);
  -webkit-mask-composite: source-in;
  mask-image: var(--logo-mask-x), var(--logo-mask-y);
  mask-composite: intersect;
}
.loader__fog {
  filter: blur(12px) saturate(0.75);
  opacity: 0.38;
  transform: scale(0.96);
}
.loader__sharp {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
.intro-seen .loader__sharp,
.reduce-motion .loader__sharp {
  clip-path: none;
}
.intro-seen .loader__fog,
.reduce-motion .loader__fog,
.intro-seen .loader__band,
.reduce-motion .loader__band {
  opacity: 0;
}
.loader__band {
  position: absolute;
  top: -14%;
  bottom: -14%;
  left: 0;
  width: 24%;
  background: linear-gradient(90deg, rgba(182, 223, 245, 0) 0%, rgba(182, 223, 245, 0.16) 34%, rgba(255, 255, 255, 0.78) 50%, rgba(182, 223, 245, 0.16) 66%, rgba(182, 223, 245, 0) 100%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-140%) skewX(-16deg);
  pointer-events: none;
}
.loader__spark {
  position: absolute;
  left: 69.1%;
  top: 49.4%;
  width: 13%;
  height: auto;
  aspect-ratio: 1;
  color: #fff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  filter: drop-shadow(0 0 6px rgba(182, 223, 245, 0.95)) drop-shadow(0 0 18px rgba(11, 141, 253, 0.85));
}
/* El tagline en vivo ocupa exactamente el lugar del tagline original del logo (borrado con inpainting) */
.loader__tagline {
  position: absolute;
  inset: 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-stretch: 100%;
  font-size: 3cqi;
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #edf2f9;
  pointer-events: none;
}
.loader__tagline > * {
  position: absolute;
  top: 81.6%;
}
.loader__word,
.loader__slash {
  padding-left: 0.2em;
  transform: translate(-50%, -50%);
}
.loader__tagline > :nth-child(2) { left: 25.3%; }
.loader__tagline > :nth-child(3) { left: 34.4%; opacity: 0.9; }
.loader__tagline > :nth-child(4) { left: 46.2%; }
.loader__tagline > :nth-child(5) { left: 58.3%; opacity: 0.9; }
.loader__tagline > :nth-child(6) { left: 71.3%; }
.loader__rule {
  width: 8.7%;
  height: 0.16em;
  margin-top: -0.08em;
  border-radius: 1px;
  background: currentColor;
  transform-origin: center;
}
.loader__tagline > :nth-child(1) { left: 8.3%; }
.loader__tagline > :nth-child(7) { left: 83%; }
.loader__progress {
  width: min(200px, 46vw);
  height: 1px;
  overflow: hidden;
  background: rgba(187, 200, 217, 0.18);
}
.loader__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--electric), var(--ice));
  transform: scaleX(0);
  transform-origin: left;
}
.intro-seen .loader__progress,
.reduce-motion .loader__progress {
  opacity: 0;
}
/* En la primera visita el tagline aparece palabra por palabra (lo anima el JS) */
.js:not(.intro-seen):not(.reduce-motion) .loader__tagline > * {
  opacity: 0;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--nav-h);
  color: var(--off);
  transition: transform 0.7s var(--ease-out);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(1, 21, 59, 0.94);
  border-bottom: 1px solid rgba(187, 200, 217, 0.14);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.nav.is-solid::before,
.nav.is-menu::before {
  opacity: 1;
}
.nav.is-hidden {
  transform: translateY(-105%);
}
.nav__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 44px);
  height: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  min-height: 44px;
  text-decoration: none;
}
.nav__emblem {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(187, 200, 217, 0.4), 0 6px 18px -6px rgba(11, 141, 253, 0.6);
}
.nav__word {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__nova {
  background-image: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav__restore {
  background-image: var(--blue-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav__links {
  display: none;
}
.nav__links ul {
  display: flex;
  gap: clamp(18px, 2.4vw, 40px);
}
.nav__links a {
  position: relative;
  display: inline-block;
  padding-block: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--ice);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-out);
}
.nav__links a:hover::after,
.nav__links a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__cta {
  display: none;
}
.nav__toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  border-radius: 50%;
}
.nav__toggle-lines {
  position: relative;
  width: 24px;
  height: 12px;
}
.nav__toggle-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.6s var(--ease-out), top 0.6s var(--ease-out);
}
.nav__toggle-lines span:first-child {
  top: 0;
}
.nav__toggle-lines span:last-child {
  top: 10.5px;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-lines span:first-child {
  top: 5.25px;
  transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-lines span:last-child {
  top: 5.25px;
  transform: rotate(-45deg);
}
@media (min-width: 1024px) {
  :root {
    --nav-h: 84px;
  }
  .nav__links,
  .nav__cta {
    display: inline-flex;
  }
  .nav__toggle {
    display: none;
  }
}

/* Menu movil a pantalla completa */
.menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: calc(var(--nav-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--midnight);
  color: var(--off);
}
.menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 200px;
  opacity: 0.06;
}
.menu__links li {
  border-bottom: 1px solid var(--line-dark);
}
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 14px;
  text-decoration: none;
}
.menu__num {
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--ice);
}
.menu__text {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(2rem, 9.4vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
}
.menu__foot {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.menu__mail {
  font-size: 1.05rem;
  overflow-wrap: break-word;
}
.menu__tag {
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
}
@media (min-width: 1024px) {
  .menu {
    display: none !important;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: clip;
  padding-bottom: clamp(30px, 5svh, 64px);
}
.hero__media {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64svh;
  z-index: 0;
  overflow: hidden;
}
.hero__media picture,
.hero__img,
.hero__fog {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__img {
  object-fit: cover;
  object-position: 56% 18%;
}
.hero__fog {
  z-index: 1;
  pointer-events: none;
}
/* Vidrio empanado en CSS (sin canvas en la carga): miniatura borrosa + vaho + gotitas */
.hero__fogcss {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero__fogcss img {
  position: absolute;
  top: -4%;
  left: -4%;
  width: 108%;
  height: 108%;
  max-width: none;
  object-fit: cover;
  object-position: 56% 18%;
}
.hero__fogcss::before,
.hero__fogcss::after {
  content: "";
  position: absolute;
  inset: 0;
}
.hero__fogcss::before {
  background: linear-gradient(180deg, rgba(236, 244, 252, 0.1), rgba(182, 210, 236, 0.28)), rgba(206, 224, 242, 0.42);
}
.hero__fogcss::after {
  background: url("/assets/img/fog-drops.webp") 0 0 / 180px 180px repeat;
}
.no-js .hero__fogcss,
.reduce-motion .hero__fogcss {
  display: none;
}
/* Seguro: si el JS no corre, la niebla se va sola */
.js .hero__fogcss {
  animation: fog-failsafe 0.8s ease 9s forwards;
}
@keyframes fog-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(0deg, var(--midnight) 0%, rgba(1, 21, 59, 0.78) 18%, rgba(1, 21, 59, 0) 50%),
    linear-gradient(180deg, rgba(1, 21, 59, 0.62) 0%, rgba(1, 21, 59, 0) 24%);
}
.hero__blade {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  z-index: 3;
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, #fff 18%, #fff 82%, transparent 100%);
  box-shadow: 0 0 16px 3px rgba(182, 223, 245, 0.85), 0 0 60px 14px rgba(11, 141, 253, 0.35);
  opacity: 0;
  pointer-events: none;
}
.hero__cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 0 28px rgba(182, 223, 245, 0.25), 0 0 24px rgba(1, 21, 59, 0.25);
  color: #fff;
  opacity: 0;
  pointer-events: none;
}
.hero__cursor svg {
  width: 14px;
  height: 14px;
}
.hero__hint {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  top: calc(var(--nav-h) + 28px);
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(1, 21, 59, 0.72);
  border: 1px solid rgba(187, 200, 217, 0.35);
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 110%;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off);
  pointer-events: none;
}
.hero__hint svg {
  width: 12px;
  height: 12px;
  color: var(--ice);
}
.hero.is-wipeable .hero__hint {
  display: inline-flex;
}
.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: calc(var(--nav-h) + 37svh);
}
/* Mientras el loader esta activo el contenido del hero no se ve (evita saltos de fuente) */
.js .hero__content,
.js .hero__scroll {
  visibility: hidden;
  animation: reveal-failsafe 0s linear 4.4s forwards;
}
.js .hero.is-ready .hero__content,
.js .hero.is-ready .hero__scroll {
  visibility: visible;
  animation: none;
}
@keyframes reveal-failsafe {
  to {
    visibility: visible;
  }
}
.hero__eyebrow {
  margin-bottom: clamp(16px, 2.6svh, 30px);
  color: var(--ice);
}
@media (max-width: 639px) {
  .hero__eyebrow {
    font-stretch: 110%;
    letter-spacing: 0.24em;
  }
  .hero__eyebrow::before {
    width: 18px;
  }
  .why__spark {
    display: none;
  }
}
.hero__eyebrow span {
  color: var(--mist-2);
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(2.6rem, 12.8vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
  margin-bottom: -0.05em;
}
.line__in {
  display: inline-block;
  will-change: transform;
}
.hero__foot {
  display: grid;
  gap: 22px;
  margin-top: clamp(20px, 3.4svh, 36px);
}
.hero__sub {
  max-width: 34ch;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem);
  line-height: 1.45;
  color: #d4dcea;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.hero__scroll {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: clamp(30px, 5svh, 64px);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px;
  text-decoration: none;
  color: var(--ice);
}
.hero__scroll-spark {
  width: 18px;
  height: 18px;
  animation: spark-pulse 2.8s var(--ease-in-out) infinite;
}
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 64px;
  overflow: hidden;
  background: rgba(187, 200, 217, 0.25);
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ice);
  transform: translateY(-100%);
  animation: scroll-drip 2.4s var(--ease-in-out) infinite;
}
.hero__scroll-text {
  writing-mode: vertical-rl;
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
@keyframes scroll-drip {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}
@keyframes spark-pulse {
  0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.15) rotate(45deg); opacity: 1; }
}
@media (min-width: 640px) {
  .hero__foot {
    grid-template-columns: minmax(0, 34ch) auto;
    align-items: end;
    justify-content: space-between;
  }
}
@media (min-width: 1024px) {
  .hero {
    justify-content: center;
    padding-top: calc(var(--nav-h) + 16px);
  }
  .hero__media {
    left: auto;
    bottom: 0;
    height: auto;
    width: 58%;
  }
  .hero__img,
  .hero__fogcss img {
    object-position: 50% 24%;
  }
  .hero__media::after {
    background:
      linear-gradient(90deg, var(--midnight) 0%, rgba(1, 21, 59, 0.97) 6%, rgba(1, 21, 59, 0.88) 13%, rgba(1, 21, 59, 0.66) 21%, rgba(1, 21, 59, 0.4) 30%, rgba(1, 21, 59, 0.17) 40%, rgba(1, 21, 59, 0.04) 50%, rgba(1, 21, 59, 0) 58%),
      linear-gradient(0deg, var(--midnight) 0%, rgba(1, 21, 59, 0.62) 18%, rgba(1, 21, 59, 0.2) 34%, rgba(1, 21, 59, 0) 46%),
      linear-gradient(180deg, rgba(1, 21, 59, 0.55) 0%, rgba(1, 21, 59, 0) 18%);
  }
  .hero__content {
    padding-top: 0;
    margin-top: auto;
  }
  .hero__title {
    font-stretch: 125%;
    font-size: clamp(3rem, min(8.6vw, 14svh), 9rem);
  }
  .hero__title .line:nth-child(3),
  .hero__title .line:nth-child(4) {
    padding-left: 1.15em;
  }
  .hero__foot {
    grid-template-columns: minmax(0, 32ch) auto;
    justify-content: start;
    gap: 40px clamp(40px, 6vw, 96px);
  }
  .hero__scroll {
    display: flex;
  }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(16px, 2.6vw, 36px);
  background: var(--deep);
  border-block: 1px solid rgba(187, 200, 217, 0.12);
  isolation: isolate;
}
.marquee::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  background-size: 200px;
  opacity: 0.06;
}
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee-x 38s linear infinite;
}
.marquee.is-driven .marquee__track {
  animation: none;
}
.marquee__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: clamp(22px, 3vw, 52px);
  padding-right: clamp(22px, 3vw, 52px);
}
.marquee__word {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(3.4rem, 11vw, 11.5rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__word--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(187, 200, 217, 0.8);
}
.marquee__spark {
  flex: none;
  width: clamp(26px, 3.8vw, 62px);
  height: clamp(26px, 3.8vw, 62px);
  color: var(--electric);
}
@keyframes marquee-x {
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services__head {
  margin-bottom: clamp(40px, 5.5vw, 80px);
}
.svc-acc {
  display: none;
}
.svc-stack {
  display: grid;
}
/* Visuales propios (SVG) */
.viz {
  width: 100%;
  height: 100%;
}
.viz .ln {
  fill: none;
  stroke: var(--ice);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.viz .ln--soft {
  stroke: rgba(187, 200, 217, 0.4);
}
.viz .ln--faint {
  stroke: rgba(182, 223, 245, 0.16);
  stroke-width: 1;
}
.viz .ln--accent {
  stroke: var(--electric);
}
.viz .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease-out);
}
.is-in .viz .draw,
.no-js .viz .draw,
.reduce-motion .viz .draw {
  stroke-dashoffset: 0;
}
.viz .streak {
  animation: viz-streak 7s var(--ease-in-out) infinite;
}
.viz .streak:nth-of-type(2) {
  animation-delay: -2.4s;
}
.viz .streak:nth-of-type(3) {
  animation-delay: -4.6s;
}
@keyframes viz-streak {
  0% { transform: translateX(-60%); }
  60%, 100% { transform: translateX(160%); }
}
.viz .dust circle {
  fill: #d7e0ec;
  transition: opacity 1.4s var(--ease-out), transform 2s var(--ease-out);
}
.viz .glint {
  color: #fff;
  transform-box: fill-box;
  transform-origin: center;
  animation: spark-pulse 3.2s var(--ease-in-out) infinite;
}
.svc-panel.is-open .viz .dust circle,
.svc-card.is-in .viz .dust circle {
  opacity: 0 !important;
  transform: translate(40px, -30px);
}

/* Paneles horizontales que se expanden (escritorio) */
.svc-panel {
  position: relative;
  isolation: isolate;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--midnight);
  color: var(--off);
  transition: flex-grow 0.9s var(--ease-out);
}
.svc-panel.is-open {
  flex-grow: 4.4;
}
.svc-panel__visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: opacity 0.8s var(--ease-out), transform 1.2s var(--ease-out);
  opacity: 0.55;
  transform: scale(1.06);
}
.svc-panel.is-open .svc-panel__visual {
  opacity: 1;
  transform: none;
}
.svc-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(1, 21, 59, 0.94) 0%, rgba(1, 21, 59, 0.6) 34%, rgba(1, 21, 59, 0) 64%);
  pointer-events: none;
}
.svc-panel__heading {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.svc-panel__trigger {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: 26px 24px;
  text-align: left;
  color: inherit;
  border-radius: inherit;
}
.svc-panel__trigger:focus-visible {
  outline-offset: -6px;
}
.svc-panel__num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--ice);
}
.svc-panel__num svg {
  width: 12px;
  height: 12px;
  color: var(--electric);
}
.svc-panel__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(1.05rem, 1.35vw, 1.4rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: opacity 0.4s var(--ease-out);
}
.svc-panel.is-open .svc-panel__name {
  opacity: 0;
}
.svc-panel__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(24px, 2.6vw, 40px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.4s var(--ease-out), transform 0.7s var(--ease-out), visibility 0s linear 0.4s;
}
.svc-panel.is-open .svc-panel__body {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.6s var(--ease-out) 0.28s, transform 0.9s var(--ease-out) 0.28s, visibility 0s;
}
.svc-panel__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(1.8rem, 2.9vw, 3.3rem);
  line-height: 0.95;
  text-transform: uppercase;
  max-width: 13ch;
}
.svc-panel__blurb {
  max-width: 38ch;
  margin-top: 16px;
  color: #d0d9e7;
}
.svc-panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  margin-top: 22px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  padding: 8px 13px;
  border: 1px solid rgba(187, 200, 217, 0.38);
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 110%;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--off);
}
.svc-link {
  color: var(--ice);
}
@media (min-width: 1024px) {
  .svc-acc {
    display: flex;
    gap: 10px;
    height: clamp(540px, 74vh, 780px);
  }
  .svc-stack {
    display: none;
  }
}

/* Tarjetas apiladas (movil y tablet) */
.svc-card {
  position: sticky;
  top: calc(var(--nav-h) + 12px + var(--i, 0) * 12px);
  display: flex;
  flex-direction: column;
  min-height: min(76svh, 620px);
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--midnight);
  color: var(--off);
  box-shadow: 0 -18px 40px -26px rgba(1, 21, 59, 0.55);
  transform-origin: 50% 0;
}
.svc-card:last-child {
  margin-bottom: 0;
}
.svc-card__visual {
  position: relative;
  flex: 1 1 auto;
  min-height: 210px;
}
.svc-card__visual .viz {
  position: absolute;
  inset: 0;
}
.svc-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--midnight) 0%, rgba(1, 21, 59, 0) 45%);
}
.svc-card__body {
  position: relative;
  padding: 0 22px 26px;
}
.svc-card__num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--ice);
}
.svc-card__num svg {
  width: 12px;
  height: 12px;
  color: var(--electric);
}
.svc-card__title {
  margin-top: 12px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(1.7rem, 7.4vw, 2.6rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.svc-card__blurb {
  margin-top: 12px;
  color: #d0d9e7;
}
.svc-card .tags {
  margin-top: 16px;
}
.svc-card .svc-link {
  margin-top: 10px;
}

/* ==========================================================================
   SECCION FIRMA — Clean. Restore. Maintain.
   ========================================================================== */
.sig {
  position: relative;
}
.sig__stage {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: clamp(96px, 12vw, 160px);
  overflow: hidden;
  background: radial-gradient(120% 90% at 70% 40%, #062a63 0%, var(--deep) 38%, var(--midnight) 78%);
}
.sig__dirt {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.sig__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sig__grid span {
  position: absolute;
  background: rgba(187, 200, 217, 0.14);
}
.sig__grid .h {
  left: 0;
  right: 0;
  top: var(--p);
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
}
.sig__grid .v {
  top: 0;
  bottom: 0;
  left: var(--p);
  width: 1px;
  transform: scaleY(0);
  transform-origin: top;
}
.sig__shine {
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(112deg, transparent 40%, rgba(182, 223, 245, 0.08) 46%, rgba(255, 255, 255, 0.22) 50%, rgba(182, 223, 245, 0.08) 54%, transparent 60%);
  opacity: 0;
  transform: translateX(-60%);
  pointer-events: none;
}
.sig__blade {
  position: absolute;
  top: -15%;
  bottom: -15%;
  left: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.95) 14%, rgba(255, 255, 255, 0.95) 86%, transparent 100%);
  box-shadow: 0 0 20px 4px rgba(182, 223, 245, 0.6), 0 0 70px 16px rgba(11, 141, 253, 0.25);
  opacity: 0;
  pointer-events: none;
}
.sig__sparks svg {
  position: absolute;
  width: 22px;
  height: 22px;
  color: #fff;
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(182, 223, 245, 0.95));
  pointer-events: none;
}
.sig__sparks svg:nth-child(1) { left: 72%; top: 22%; }
.sig__sparks svg:nth-child(2) { left: 88%; top: 58%; width: 14px; height: 14px; }
.sig__sparks svg:nth-child(3) { left: 58%; top: 78%; width: 18px; height: 18px; }
.sig__sparks svg:nth-child(4) { left: 92%; top: 16%; width: 12px; height: 12px; }
.sig__inner {
  position: relative;
  z-index: 2;
}
.sig__list {
  display: grid;
  gap: clamp(26px, 3vw, 22px);
  margin-top: clamp(28px, 4vw, 52px);
}
.sig__row {
  display: grid;
  gap: 10px;
}
.sig__word {
  position: relative;
  display: inline-block;
  justify-self: start;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(2.6rem, 12.6vw, 12rem);
  line-height: 0.9;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  color: var(--chrome);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(187, 200, 217, 0.55);
}
.sig__fill {
  position: absolute;
  inset: 0;
  background-image: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  clip-path: inset(-10% 0 -10% 0);
  transition: clip-path 1.1s var(--ease-out), filter 1.1s var(--ease-out);
}
/* Solo con JS y movimiento permitido las palabras arrancan "apagadas" (sin JS o con movimiento reducido se ven encendidas) */
.js:not(.reduce-motion) .sig__row:not(.is-lit) .sig__fill {
  clip-path: inset(-10% 100% -10% 0);
}
/* El brillo va en el texto base (no en el relleno con background-clip, que lo convertiria en un rectangulo) */
.sig__word {
  transition: text-shadow 1s var(--ease-out);
}
.sig__fill {
  text-shadow: none;
}
.sig__row.is-current .sig__word {
  text-shadow: 0 0 34px rgba(11, 141, 253, 0.55), 0 0 90px rgba(11, 141, 253, 0.25);
}
.sig__line {
  max-width: 28ch;
  font-size: clamp(1.02rem, 1.25vw, 1.3rem);
  line-height: 1.4;
  color: var(--mist);
}
.sig__meter {
  display: none;
}
/* Escritorio: la seccion se "fija" con position: sticky (sin pin por JS, sin saltos de layout) */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .js .sig {
    height: 340vh;
  }
  .js .sig__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 0;
    padding-block: clamp(72px, 10vh, 120px);
  }
}
@media (min-width: 1024px) {
  .sig__word {
    font-stretch: 125%;
    font-size: clamp(3rem, min(10.4vw, 18svh), 12rem);
  }
  .sig__list {
    grid-template-columns: auto minmax(14ch, 24ch);
    column-gap: clamp(32px, 5vw, 96px);
    row-gap: clamp(4px, 1vw, 16px);
  }
  .sig__row {
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    align-items: center;
    gap: 0;
  }
  .sig__meter {
    position: absolute;
    right: calc(var(--gutter) * 0.45);
    top: 50%;
    display: block;
    width: 1px;
    height: 38vh;
    transform: translateY(-50%);
    background: rgba(187, 200, 217, 0.2);
  }
  .sig__meter span {
    display: block;
    height: 100%;
    background: linear-gradient(180deg, var(--ice), var(--electric));
    transform: scaleY(0);
    transform-origin: top;
  }
  .sig.is-pinned .sig__line {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
  }
  .sig.is-pinned .sig__row.is-lit .sig__line {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   WHY NOVA RESTORE
   ========================================================================== */
.why__grid {
  display: grid;
  gap: 40px;
}
.why__sticky .h2 {
  margin-top: 22px;
}
.why__spark {
  width: 46px;
  height: 46px;
  margin-top: 30px;
  color: var(--electric);
}
.why__item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 48px);
  padding-block: clamp(26px, 3.4vw, 46px);
  border-top: 1px solid var(--line-light);
}
.why__item:last-child {
  border-bottom: 1px solid var(--line-light);
}
.why__item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--royal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease-out);
}
.why__item.is-active::before {
  transform: scaleX(1);
}
.why__num {
  min-width: 2.1ch;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(2.3rem, 4.6vw, 4.8rem);
  line-height: 0.88;
  color: var(--royal);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px var(--royal);
  transition: -webkit-text-fill-color 0.6s var(--ease-out);
}
.why__item.is-active .why__num {
  -webkit-text-fill-color: var(--royal);
}
.why__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(1.5rem, 3.1vw, 3.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.6s var(--ease-out);
}
.why__text {
  max-width: 40ch;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
}
.js .why__list.is-tracking .why__item:not(.is-active) .why__title {
  color: var(--ink-dim);
}
@media (min-width: 1024px) {
  .why__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(48px, 6vw, 120px);
  }
  .why__sticky {
    position: sticky;
    top: calc(var(--nav-h) + 56px);
  }
}

/* ==========================================================================
   WHO WE SERVE — Built for
   ========================================================================== */
.who__grid {
  display: grid;
  gap: 52px;
  margin-top: 26px;
}
.who__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 3.4vw, 48px);
  max-width: 760px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid rgba(187, 200, 217, 0.42);
  border-radius: 999px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  color: var(--off);
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.pill:hover {
  border-color: var(--ice);
}
.pill[aria-pressed="true"] {
  background: var(--ice);
  border-color: var(--ice);
  color: var(--midnight);
}
.pill__spark {
  width: 12px;
  height: 12px;
  flex: none;
  color: var(--royal);
  opacity: 0;
  transform: scale(0) rotate(-90deg);
  transition: transform 0.6s var(--ease-out), opacity 0.4s;
  margin-left: -22px;
}
.pill[aria-pressed="true"] .pill__spark {
  opacity: 1;
  transform: none;
  margin-left: 0;
}
.who__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ice);
}
.who__label svg {
  width: 12px;
  height: 12px;
  color: var(--electric);
}
.who__services {
  margin-top: 18px;
}
.who__services li {
  border-top: 1px solid var(--line-dark);
}
.who__services li:last-child {
  border-bottom: 1px solid var(--line-dark);
}
.who__service {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding-block: 16px;
  text-decoration: none;
  color: var(--off);
  transition: color 0.5s var(--ease-out);
}
.who__service-name {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(1.25rem, 2.1vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}
.who__service svg {
  width: 26px;
  height: 26px;
  flex: none;
  transition: transform 0.6s var(--ease-out), opacity 0.5s;
}
.who__service:hover svg {
  transform: translate(3px, -3px);
}
.who__service::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--electric);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-out);
}
.who__services.has-filter .who__service {
  color: var(--dim-dark);
}
.who__services.has-filter .is-match .who__service {
  color: var(--off);
}
.who__services.has-filter .is-match .who__service::before {
  transform: scaleX(1);
}
.who__services.has-filter li:not(.is-match) .who__service svg {
  opacity: 0.4;
}
@media (min-width: 1024px) {
  .who__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(48px, 7vw, 140px);
  }
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid {
  display: grid;
  gap: 56px;
  align-items: center;
}
.about__statement {
  margin-top: 22px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 100%;
  font-size: clamp(1.9rem, 8.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}
.about__l {
  display: block;
}
.about__statement em {
  font-style: normal;
  color: var(--royal);
}
@media (min-width: 640px) {
  .about__statement {
    font-stretch: 110%;
    font-size: clamp(2.4rem, 4.3vw, 4.8rem);
  }
}
.about__body {
  max-width: 46ch;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
}
.about__claims {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.about__claims li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(16, 85, 174, 0.35);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--royal);
}
.about__claims svg {
  width: 16px;
  height: 16px;
}
.about__badge {
  justify-self: center;
  width: min(100%, 560px);
  perspective: 1200px;
}
.about__plaque {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: var(--midnight);
  box-shadow: 0 50px 90px -40px rgba(1, 21, 59, 0.55), 0 0 0 1px rgba(1, 21, 59, 0.06);
  transform-style: preserve-3d;
  will-change: transform;
}
.about__plaque::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.7), rgba(187, 200, 217, 0.15) 40%, rgba(11, 141, 253, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.about__plaque img {
  width: 100%;
  height: auto;
  -webkit-mask-image: var(--logo-mask-x), var(--logo-mask-y);
  -webkit-mask-composite: source-in;
  mask-image: var(--logo-mask-x), var(--logo-mask-y);
  mask-composite: intersect;
}
.about__sheen {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.26) 46%, rgba(182, 223, 245, 0.1) 52%, transparent 62%);
  background-size: 260% 100%;
  background-position: var(--sheen, 100%) 0;
  mix-blend-mode: screen;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(48px, 6vw, 112px);
  }
}

/* ==========================================================================
   ANTES / DESPUES (desactivado por defecto)
   ========================================================================== */
.ba-list {
  display: grid;
  gap: 28px;
  margin-top: clamp(36px, 5vw, 64px);
}
.ba {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--midnight);
  --pos: 50%;
}
.ba img {
  width: 100%;
  height: auto;
}
.ba__after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}
.ba__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 18px rgba(182, 223, 245, 0.8);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--midnight);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  transform: translate(-50%, -50%);
}
.ba__knob svg {
  width: 16px;
  height: 16px;
}
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba__range:focus-visible ~ .ba__handle .ba__knob {
  outline: 2.5px solid var(--ice);
  outline-offset: 3px;
}
.ba__tag {
  position: absolute;
  top: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(1, 21, 59, 0.75);
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 110%;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--before {
  left: 16px;
}
.ba__tag--after {
  right: 16px;
}
.ba__caption {
  margin-top: 12px;
  color: var(--mist);
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.process__body {
  position: relative;
  margin-top: clamp(48px, 6vw, 96px);
}
.process__rail {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 1px;
  background: rgba(187, 200, 217, 0.2);
}
.process__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--ice), var(--electric));
  transform: scaleY(0);
  transform-origin: top;
}
.process__runner {
  position: absolute;
  left: 50%;
  top: 0;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(182, 223, 245, 0.95));
}
.steps {
  display: grid;
  gap: 64px;
  padding-left: 44px;
}
.step {
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: -44px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(187, 200, 217, 0.5);
  background: var(--midnight);
  transition: background-color 0.5s var(--ease-out), border-color 0.5s var(--ease-out), box-shadow 0.5s;
}
.step.is-in::before {
  background: var(--electric);
  border-color: var(--electric);
  box-shadow: 0 0 0 6px rgba(11, 141, 253, 0.18);
}
.step__art {
  width: min(100%, 250px);
  aspect-ratio: 4 / 3;
  color: var(--ice);
}
.step__art svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step__art .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.step__art .draw--accent {
  stroke: var(--electric);
  transition-delay: 0.5s;
}
.step__art .draw--soft {
  stroke: rgba(182, 223, 245, 0.45);
  stroke-dasharray: 1;
}
.step__art .spark {
  stroke: none;
  color: #fff;
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.5s var(--ease-out) 0.9s, transform 0.9s var(--ease-out) 0.9s;
}
.step.is-in .draw,
.no-js .step .draw,
.reduce-motion .step .draw {
  stroke-dashoffset: 0;
}
.step.is-in .spark,
.no-js .step .spark,
.reduce-motion .step .spark {
  opacity: 1;
  transform: none;
}
.step__num {
  display: block;
  margin-top: 26px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(3.4rem, 6.8vw, 6.4rem);
  line-height: 0.85;
  color: var(--chrome);
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(187, 200, 217, 0.6);
}
.step__title {
  max-width: 15ch;
  margin-top: 16px;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: clamp(1.3rem, 1.9vw, 1.9rem);
  line-height: 1.05;
  text-transform: uppercase;
}
@media (min-width: 900px) {
  .process__rail {
    top: 6px;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
  }
  .process__fill {
    transform: scaleX(0);
    transform-origin: left;
  }
  .process__runner {
    top: 50%;
    left: 0;
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 56px);
    padding-left: 0;
    padding-top: 48px;
  }
  .step::before {
    top: -48px;
    left: 0;
  }
}

/* ==========================================================================
   REQUEST A QUOTE
   ========================================================================== */
.quote__grid {
  display: grid;
  gap: 44px;
}
.quote__intro .h2 {
  margin-top: 22px;
}
.quote__lead {
  max-width: 40ch;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
}
.contact-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(32px, 4vw, 52px);
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--midnight);
  color: var(--off);
}
.contact-card::before,
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.contact-card::before {
  background: radial-gradient(80% 60% at 100% 0%, rgba(11, 141, 253, 0.3), transparent 62%);
}
.contact-card::after {
  background-image: var(--grain);
  background-size: 200px;
  opacity: 0.06;
}
.contact-card:focus {
  outline: none;
}
.contact-card__eyebrow {
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ice);
}
.contact-card__list {
  margin-top: 18px;
}
.contact-card__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--line-dark);
}
.contact-card__item > svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--ice);
}
.contact-card__label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist-2);
}
.contact-card__value {
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  font-weight: 600;
  overflow-wrap: break-word;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.6s var(--ease-out);
}
a.contact-card__value:hover {
  background-size: 0 1px;
  background-position: 100% 100%;
}
.contact-card__value--plain {
  background: none;
  font-weight: 500;
}
.contact-card__social,
.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.social-link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(187, 200, 217, 0.35);
  color: var(--off);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}
.social-link:hover {
  background: var(--ice);
  border-color: var(--ice);
  color: var(--midnight);
}
.social-link svg {
  width: 20px;
  height: 20px;
}

/* Formulario multi-paso */
.qf {
  position: relative;
  padding: clamp(22px, 3.2vw, 48px);
  border: 1px solid rgba(1, 21, 59, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 40px 80px -50px rgba(1, 21, 59, 0.45);
  color: var(--ink);
}
.qf__steps {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.qf__stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 110%;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.qf__stepper-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(1, 21, 59, 0.2);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}
.qf__stepper.is-current {
  color: var(--ink);
}
.qf__stepper.is-current .qf__stepper-num {
  border-color: var(--royal);
  background: var(--royal);
  color: #fff;
}
.qf__stepper.is-done .qf__stepper-num {
  border-color: var(--royal);
  color: var(--royal);
}
.qf__bar {
  height: 2px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(1, 21, 59, 0.1);
}
.qf__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--royal), var(--electric));
  transform: scaleX(0.3333);
  transform-origin: left;
  transition: transform 0.9s var(--ease-out);
}
.qf__viewport {
  position: relative;
  margin-top: clamp(28px, 3vw, 40px);
}
.qf__step {
  min-width: 0;
  padding: 0;
  border: 0;
}
.js .qf__step:not(.is-active) {
  display: none;
}
.qf__step.is-entering {
  animation: step-in 0.7s var(--ease-out) both;
}
@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(var(--from, 24px));
  }
}
.qf__legend {
  float: left;
  width: 100%;
  padding: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  line-height: 1;
  text-transform: uppercase;
}
.qf__legend + * {
  clear: both;
}
.qf__legend:focus {
  outline: none;
}
.qf__hint {
  padding-top: 12px;
  color: var(--ink-soft);
}
.qf__services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 12px;
  margin-top: 20px;
}
.svc-choice {
  position: relative;
}
.svc-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.svc-choice label {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 136px;
  padding: 18px;
  border: 1px solid rgba(1, 21, 59, 0.16);
  border-radius: var(--radius);
  background: var(--off);
  cursor: pointer;
  transition: border-color 0.35s, background-color 0.35s, box-shadow 0.35s, transform 0.5s var(--ease-out);
}
.svc-choice:hover label {
  border-color: rgba(16, 85, 174, 0.5);
}
.svc-choice__icon {
  width: 34px;
  height: 34px;
  color: var(--royal);
}
.svc-choice__name {
  padding-right: 26px;
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 0.95rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.svc-choice__check {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(1, 21, 59, 0.28);
  color: transparent;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  pointer-events: none;
}
.svc-choice__check svg {
  width: 16px;
  height: 16px;
}
.svc-choice input:checked + label {
  border-color: var(--royal);
  background: #e9f1fd;
  box-shadow: inset 0 0 0 1px var(--royal);
}
.svc-choice input:checked ~ .svc-choice__check {
  background: var(--royal);
  border-color: var(--royal);
  color: #fff;
}
.svc-choice input:focus-visible + label {
  outline: 2.5px solid var(--royal);
  outline-offset: 3px;
}
.field {
  margin-top: 20px;
}
.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.field__opt {
  font-weight: 400;
  color: var(--ink-soft);
}
.field__input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(1, 21, 59, 0.24);
  border-radius: 12px;
  background: var(--off);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.field__input::placeholder {
  color: #5b6b8c;
  opacity: 1;
}
.field__input:hover {
  border-color: rgba(1, 21, 59, 0.42);
}
.field__input:focus {
  outline: none;
  border-color: var(--royal);
  background: #fff;
  box-shadow: 0 0 0 2px var(--royal);
}
.field__input--area {
  min-height: 136px;
  resize: vertical;
  line-height: 1.5;
}
.field.is-invalid .field__input,
.qf__services.is-invalid .svc-choice label {
  border-color: var(--error-light);
}
.field.is-invalid .field__input:focus {
  box-shadow: 0 0 0 2px var(--error-light);
}
.field__error {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--error-light);
}
.field__error:empty {
  display: none;
}
.field__file {
  width: 100%;
  padding: 14px;
  border: 1px dashed rgba(1, 21, 59, 0.3);
  border-radius: 12px;
  background: var(--off);
}
.qf__row {
  display: grid;
  gap: 0 16px;
}
.qf__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--ink-soft);
}
.qf__note svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--royal);
}
.qf__hp {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.qf__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(1, 21, 59, 0.1);
}
.qf__nav [data-qf-next],
.qf__nav [data-qf-submit] {
  margin-left: auto;
}
.qf__nav .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.qf__result {
  padding-block: 12px;
}
.qf__result:focus {
  outline: none;
}
.qf__result-spark {
  width: 40px;
  height: 40px;
  color: var(--electric);
  animation: spark-pulse 2.8s var(--ease-in-out) infinite;
}
.qf__result-title {
  margin-top: 22px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}
.qf__result-text {
  max-width: 44ch;
  margin-top: 14px;
  color: var(--ink-soft);
}
.qf__result-text a {
  color: var(--royal);
  font-weight: 600;
}
.qf__result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.qf.is-done .qf__head,
.qf.is-done .qf__viewport,
.qf.is-done .qf__nav {
  display: none;
}
.qf.is-error .qf__result-spark {
  color: var(--error-light);
  animation: none;
}
@media (min-width: 640px) {
  .qf__row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .quote__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: clamp(48px, 6vw, 112px);
  }
  .quote__intro {
    position: sticky;
    top: calc(var(--nav-h) + 40px);
  }
}
@media (max-width: 479px) {
  .qf__stepper-label {
    display: none;
  }
  .qf__stepper.is-current .qf__stepper-label {
    display: inline;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 9vw, 136px);
  padding-bottom: calc(clamp(70px, 9vw, 130px) + 24px);
}
.footer__top {
  display: grid;
  gap: 32px;
  align-items: center;
}
.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
}
.footer__nav a {
  display: inline-block;
  padding-block: 10px;
  text-decoration: none;
  font-weight: 500;
}
.footer__nav a:hover {
  text-decoration: underline;
}
.footer__mail {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 600;
  overflow-wrap: break-word;
}
.footer > .container {
  container-type: inline-size;
}
.footer__wordmark {
  margin-top: clamp(56px, 8vw, 120px);
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  /* "NOVA RESTORE" mide ~10.22em: ocupa todo el ancho del contenedor */
  font-size: 9.7vw;
  font-size: calc(100cqi / 10.3);
  line-height: 0.82;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer__restore {
  background-image: var(--blue-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--electric);
}
.footer__meta {
  display: grid;
  gap: 10px;
  margin-top: clamp(26px, 3vw, 40px);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.92rem;
  color: var(--mist);
}
.footer__tagline {
  font-family: var(--f-display);
  font-weight: 600;
  font-stretch: 125%;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ice);
}
.footer__totop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  color: var(--off);
  font-weight: 600;
}
.footer__totop svg {
  width: 18px;
  height: 18px;
  transition: transform 0.5s var(--ease-out);
}
.footer__totop:hover svg {
  transform: translateY(-3px);
}
.footer__skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(56px, 8vw, 116px);
  fill: none;
  stroke: rgba(187, 200, 217, 0.18);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
@media (min-width: 900px) {
  .footer__top {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 32px 56px;
  }
  .footer__nav ul {
    justify-content: center;
  }
  .footer__contact {
    text-align: right;
  }
  .footer__social {
    justify-content: flex-end;
  }
  .footer__meta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px 32px;
  }
}
@media (min-width: 1280px) {
  .footer__meta {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 24px 32px;
  }
}

/* ==========================================================================
   BARRA FLOTANTE MOVIL
   ========================================================================== */
.mbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  gap: 10px;
  transform: translateY(calc(100% + 28px));
  visibility: hidden;
  transition: transform 0.7s var(--ease-out), visibility 0s linear 0.7s;
}
.mbar.is-visible {
  transform: none;
  visibility: visible;
  transition: transform 0.7s var(--ease-out), visibility 0s;
}
.mbar__quote {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border-radius: 999px;
  background: var(--electric);
  color: var(--midnight);
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 16px 30px -12px rgba(1, 21, 59, 0.7);
}
.mbar__quote svg {
  width: 14px;
  height: 14px;
}
.mbar__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(187, 200, 217, 0.35);
  background: var(--midnight);
  color: var(--off);
  box-shadow: 0 16px 30px -12px rgba(1, 21, 59, 0.7);
}
.mbar__icon svg {
  width: 22px;
  height: 22px;
}
@media (min-width: 1024px) {
  .mbar {
    display: none;
  }
}

/* ==========================================================================
   404
   ========================================================================== */
.nf {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 32px) 0 64px;
  overflow: hidden;
}
.nf__code {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(6rem, 30vw, 24rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  filter: blur(14px);
  opacity: 0.5;
  transition: filter 1.4s var(--ease-out), opacity 1.4s var(--ease-out);
}
.nf.is-clear .nf__code {
  filter: none;
  opacity: 1;
}
.nf__title {
  margin-top: 28px;
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
}
.nf__text {
  max-width: 42ch;
  margin-top: 16px;
  color: var(--mist);
}
.nf__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 32px;
}

/* ==========================================================================
   Movimiento reducido: se desactiva todo lo no esencial
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .marquee__track {
    animation: none;
  }
  .hero__fog,
  .hero__cursor,
  .hero__blade,
  .hero__hint {
    display: none !important;
  }
}
