/* =========================================================
   GURU DIGITAL — Hoja de estilos principal
   Tecnología · Innovación · Impacto
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #ED0B6E;
  --brand-600: #C8095C;
  --brand-300: #FF4D97;
  --brand-glow: rgba(237, 11, 110, .45);

  --surface-0: #0B0B0E;
  --surface-1: #121217;
  --surface-2: #17171E;
  --surface-3: #1E1E27;

  --text: #F4F4F6;
  --text-soft: #B7B7C2;
  --text-mute: #8A8A98;

  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;

  --shadow-s: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --shadow-brand: 0 18px 46px -12px var(--brand-glow);

  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 9vw, 128px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.15rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
p  { margin: 0 0 1.1em; color: var(--text-soft); }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 2px solid var(--brand-300);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  background: var(--brand-600); color: #fff; padding: 12px 18px; border-radius: 8px;
}
.skip-link:focus { left: 12px; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }
.section--alt { background: var(--surface-1); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.05rem; max-width: 56ch; }
.section-head p:last-child { margin-bottom: 0; }
.section-head--center p { margin-inline: auto; }
.split__copy p { max-width: 56ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand));
}
.section-head--center .eyebrow::before { display: none; }

.grad {
  background: linear-gradient(100deg, var(--brand-300), var(--brand) 55%, #FF7AB8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 4. Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600; font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { box-shadow: 0 22px 54px -10px var(--brand-glow); }

.btn--ghost {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255,255,255,.3); }

.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn svg { width: 17px; height: 17px; }

/* ---------- 5. Topbar + Header ---------- */
.topbar {
  background: linear-gradient(90deg, var(--brand-600), var(--brand));
  color: #fff;
  font-size: .82rem;
  text-align: center;
  padding: 9px var(--gutter);
  font-weight: 500;
}
.topbar strong { font-weight: 700; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 14, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(11, 11, 14, .93);
}
.header__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 76px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark { width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__word {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.12rem;
  letter-spacing: .14em; color: #fff;
}
.logo__word span { color: var(--brand); }
.logo__tag {
  font-size: .62rem; letter-spacing: .2em; color: var(--text-mute);
  margin-top: 5px; text-transform: uppercase; font-weight: 500;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav__link {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .93rem; font-weight: 500;
  color: var(--text-soft);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; background: rgba(255,255,255,.07); }

.header__cta { flex-shrink: 0; }
.nav > .btn { display: none; }

/* ---------- Desplegable de Servicios ---------- */
/* El panel se posiciona contra el header (sticky), no contra el <li>,
   para poder ocupar todo el ancho de la cabecera. */
.nav__item--menu { position: static; }

.nav__link--toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0;
  font-family: inherit;
}
.nav__chevron {
  width: 15px; height: 15px;
  transition: transform .25s var(--ease);
}
.nav__link--toggle[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.07); }
.nav__link--toggle[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }

.megamenu[hidden] { display: none; }
.megamenu {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--surface-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding-block: 30px 34px;
  animation: megaIn .22s var(--ease);
}
@keyframes megaIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.megamenu__inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
}
.megamenu__col { min-width: 0; }
.megamenu__title {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-300);
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease);
}
.megamenu__title:hover { color: #fff; }
.megamenu__title svg { width: 17px; height: 17px; flex-shrink: 0; }
.megamenu__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.megamenu__col a:not(.megamenu__title) {
  display: block;
  padding: 8px 10px;
  margin-left: -10px;
  border-radius: 9px;
  font-size: .92rem; color: var(--text-soft);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.megamenu__col a:not(.megamenu__title):hover {
  color: #fff; background: rgba(255,255,255,.06);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  align-items: center; justify-content: center;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px;
  position: relative; transition: .3s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: #fff; border-radius: 2px; transition: .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(64px, 8vw, 112px) clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute;
  width: 780px; height: 780px; top: -340px; right: -220px;
  background: radial-gradient(circle, rgba(237,11,110,.30), transparent 62%);
  filter: blur(28px);
}
.hero__bg::after {
  content: ""; position: absolute;
  width: 620px; height: 620px; bottom: -320px; left: -240px;
  background: radial-gradient(circle, rgba(120,60,255,.16), transparent 64%);
  filter: blur(24px);
}
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  font-size: .82rem; color: var(--text-soft);
  margin-bottom: 26px;
}
.hero__badge b {
  background: var(--brand-600); color: #fff;
  padding: 3px 11px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 { margin-bottom: 22px; }
.hero__lead {
  font-size: clamp(1.03rem, 1.4vw, 1.18rem);
  max-width: 56ch; color: var(--text-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px; margin-top: 48px;
  border-top: 1px solid var(--line); padding-top: 28px;
  max-width: 560px;
}
.stat__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  color: #fff; line-height: 1;
}
.stat__num span { color: var(--brand); }
.stat__label { font-size: .82rem; color: var(--text-mute); margin-top: 8px; display: block; }

.hero__visual { position: relative; }
.led-panel {
  position: relative;
  border-radius: var(--radius-l);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, var(--surface-2), #0D0D12);
  padding: 18px;
  box-shadow: var(--shadow);
}
.led-panel::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.10), transparent 42%);
}
.led-screen {
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  background: #08080B;
  display: grid;
  grid-template-columns: repeat(22, 1fr);
  grid-auto-rows: 1fr;
  gap: 3px;
  padding: 12px;
  overflow: hidden;
}
.led-dot {
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  width: 100%;
  border-radius: 50%;
  background: rgba(255,255,255,.055);
  animation: ledPulse 3.6s var(--ease) infinite;
}
.led-dot.on   { background: var(--brand); box-shadow: 0 0 8px var(--brand-glow); }
.led-dot.warm { background: #FF7AB8; box-shadow: 0 0 8px rgba(255,122,184,.5); }
.led-dot.cool { background: #FFFFFF; box-shadow: 0 0 8px rgba(255,255,255,.35); }
@keyframes ledPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.led-panel__meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 16px; padding: 0 4px;
  font-size: .78rem; color: var(--text-mute);
}
.led-panel__meta b { color: var(--text); font-weight: 600; }
.pill-live { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; }
.pill-live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #2BD98A; box-shadow: 0 0 0 0 rgba(43,217,138,.7);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  70%  { box-shadow: 0 0 0 9px rgba(43,217,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(43,217,138,0); }
}

.hero__float {
  position: absolute; left: -30px; bottom: -50px; max-width: 320px;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
}
.hero__float .ico {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-600));
  display: grid; place-items: center; color: #fff;
}
.hero__float .ico svg { width: 19px; height: 19px; }
.hero__float b { display: block; font-size: .92rem; font-family: var(--font-display); }
.hero__float small { color: var(--text-mute); font-size: .76rem; }

/* ---------- 7. Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--surface-1);
  padding: 18px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; gap: 56px; width: max-content;
  animation: scrollX 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600;
  font-size: .92rem; letter-spacing: .04em;
  color: var(--text-mute); white-space: nowrap;
}
.marquee__item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- 8. Servicios ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px 28px 28px;
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
  opacity: 0; transition: opacity .35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--surface-3); }
.card:hover::before { opacity: 1; }

.card__num {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-display); font-weight: 800; font-size: 2.6rem;
  color: rgba(255,255,255,.045); line-height: 1;
}
.card__ico {
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(237,11,110,.12);
  border: 1px solid rgba(237,11,110,.28);
  display: grid; place-items: center;
  color: var(--brand-300);
  margin-bottom: 20px;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.card:hover .card__ico { background: var(--brand); color: #fff; border-color: var(--brand); }
.card__ico svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .93rem; margin-bottom: 16px; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.tags li {
  font-size: .78rem; color: var(--text-mute);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 11px; background: rgba(255,255,255,.02);
}

/* ---------- 9. Bloques split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.split--reverse .split__media { order: -1; }

.feature-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.feature-list li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: .96rem; color: var(--text-soft);
}
.feature-list .chk {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 7px; background: rgba(237,11,110,.14);
  border: 1px solid rgba(237,11,110,.3);
  display: grid; place-items: center; color: var(--brand-300);
}
.feature-list .chk svg { width: 12px; height: 12px; }
.feature-list b { color: var(--text); font-weight: 600; }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.spec {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.spec b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem; color: #fff; margin-bottom: 4px;
}
.spec b em { font-style: normal; color: var(--brand); }
.spec span { font-size: .84rem; color: var(--text-mute); }

/* Marcador deportivo */
.scoreboard {
  background: linear-gradient(160deg, var(--surface-3), #0D0D12);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow);
}
.scoreboard__top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-mute); border-bottom: 1px solid var(--line);
  padding-bottom: 14px; margin-bottom: 22px;
}
.scoreboard__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.team { display: grid; justify-items: center; gap: 12px; }
.team__crest {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff;
}
.team--home .team__crest { background: linear-gradient(135deg, var(--brand), var(--brand-600)); }
.team--away .team__crest { background: linear-gradient(135deg, #3A3A46, #202028); }
.team__name { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.scoreboard__score {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -.04em;
  display: flex; align-items: center; gap: 14px;
}
.scoreboard__score i { font-style: normal; color: var(--text-mute); font-size: 1.6rem; }
.scoreboard__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
  text-align: center;
}
.scoreboard__meta b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.scoreboard__meta span { font-size: .76rem; color: var(--text-mute); letter-spacing: .1em; text-transform: uppercase; }

/* Ticket */
.ticket {
  background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 20px 22px;
  display: flex; align-items: center; gap: 20px; margin-top: 18px;
  box-shadow: var(--shadow-s);
}
.ticket__qr {
  width: 66px; height: 66px; flex-shrink: 0; border-radius: 8px;
  background:
    conic-gradient(#0B0B0E 25%, #fff 0 50%, #0B0B0E 0 75%, #fff 0) 0 0 / 13px 13px;
  border: 3px solid #fff;
}
.ticket__info b { display: block; font-family: var(--font-display); font-size: .98rem; }
.ticket__info span { font-size: .8rem; color: var(--text-mute); }
.ticket__status {
  margin-left: auto; flex-shrink: 0;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #2BD98A; background: rgba(43,217,138,.12);
  border: 1px solid rgba(43,217,138,.3); border-radius: 999px; padding: 6px 13px;
}

/* Factura */
.invoice {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 26px; box-shadow: var(--shadow);
}
.invoice__head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.invoice__head b { font-family: var(--font-display); font-size: 1.05rem; }
.invoice__head span { display: block; font-size: .78rem; color: var(--text-mute); }
.badge-ok {
  font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #2BD98A; background: rgba(43,217,138,.12);
  border: 1px solid rgba(43,217,138,.3); border-radius: 999px; padding: 5px 11px;
  white-space: nowrap;
}
.invoice__lines { display: grid; gap: 11px; font-size: .88rem; }
.invoice__lines div { display: flex; justify-content: space-between; gap: 16px; color: var(--text-soft); }
.invoice__lines .total {
  border-top: 1px solid var(--line); padding-top: 13px; margin-top: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff;
}
.invoice__lines .total span:last-child { color: var(--brand); }

/* ---------- 10. Proceso ---------- */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.step {
  position: relative; padding: 28px 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-2);
}
.step__n {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--brand); color: var(--brand-300);
  display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .89rem; margin: 0; }

/* ---------- 11. Stack ---------- */
.stack { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.stack span {
  border: 1px solid var(--line); background: var(--surface-2);
  border-radius: 999px; padding: 9px 18px;
  font-size: .86rem; color: var(--text-soft);
  font-family: var(--font-display); font-weight: 500;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.stack span:hover { border-color: var(--brand); color: #fff; transform: translateY(-2px); }

/* ---------- 12. Diferenciales ---------- */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l);
  overflow: hidden;
}
.why { background: var(--surface-1); padding: 32px 28px; transition: background-color .3s var(--ease); }
.why:hover { background: var(--surface-3); }
.why .ico { color: var(--brand); margin-bottom: 16px; }
.why .ico svg { width: 26px; height: 26px; }
.why h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why p { font-size: .89rem; margin: 0; }

/* ---------- 13. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-2); overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq__item.is-open { border-color: rgba(237,11,110,.4); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; color: var(--text);
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.faq__q i {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  font-style: normal; color: var(--brand-300); transition: transform .3s var(--ease);
}
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a {
  max-height: 0; overflow: hidden; visibility: hidden;
  transition: max-height .38s var(--ease), visibility 0s linear .38s;
}
.faq__item.is-open .faq__a {
  visibility: visible;
  transition: max-height .38s var(--ease), visibility 0s;
}
.faq__a p { padding: 0 24px 22px; margin: 0; font-size: .93rem; }

/* ---------- 14. CTA + Contacto ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, var(--brand-600), var(--brand) 55%, #7A1FE0);
  padding: clamp(38px, 5vw, 62px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5; pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 54ch; }
.cta-band .btn--primary { background: #fff; color: var(--brand-600); box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.18); }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }

.contact {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.contact-info { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .ico {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px;
  background: rgba(237,11,110,.12); border: 1px solid rgba(237,11,110,.28);
  display: grid; place-items: center; color: var(--brand-300);
}
.contact-item .ico svg { width: 19px; height: 19px; }
.contact-item b { display: block; font-family: var(--font-display); font-size: .95rem; margin-bottom: 2px; }
.contact-item a, .contact-item span { color: var(--text-soft); font-size: .92rem; }
.contact-item a:hover { color: var(--brand-300); }

.form {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--text-soft); font-family: var(--font-display); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: var(--surface-0); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  font-family: var(--font-body); font-size: .94rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(237,11,110,.18);
}
.field input::placeholder, .field textarea::placeholder { color: #5E5E6C; }
.form .btn { width: 100%; margin-top: 6px; }
.form__note { font-size: .78rem; color: var(--text-mute); margin: 14px 0 0; text-align: center; }
.form__ok {
  display: none; margin-top: 16px; padding: 13px 16px; border-radius: var(--radius-s);
  background: rgba(43,217,138,.1); border: 1px solid rgba(43,217,138,.32);
  color: #7CE9B8; font-size: .88rem;
}
.form__ok.is-visible { display: block; }

/* ---------- 15. Footer ---------- */
.footer {
  background: var(--surface-1);
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 72px) 28px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 42px; border-bottom: 1px solid var(--line);
}
.footer__about p { font-size: .9rem; max-width: 34ch; margin-top: 18px; }
.footer .footer__h {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 16px; font-weight: 700;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul span {
  display: inline-block; padding-block: 4px;
  font-size: .9rem; color: var(--text-soft); transition: color .2s var(--ease);
}
.footer ul a:hover { color: var(--brand-300); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; border-radius: 11px;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  color: var(--text-soft);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.socials svg { width: 17px; height: 17px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  padding-top: 24px; font-size: .82rem; color: var(--text-mute);
}
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom nav a { display: inline-block; padding-block: 3px; }

/* WhatsApp flotante */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.35);
  transition: transform .25s var(--ease);
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 28px; height: 28px; }

/* ---------- 16. Reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 18. Páginas interiores ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 6vw, 84px) clamp(36px, 4.5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.page-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero__bg::before {
  content: ''; position: absolute;
  width: 720px; height: 720px; top: -420px; right: -180px;
  background: radial-gradient(circle, rgba(237,11,110,.24), transparent 62%);
  filter: blur(28px);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 18ch; text-wrap: balance; }
.page-hero p { max-width: 62ch; font-size: clamp(1rem, 1.3vw, 1.12rem); margin-bottom: 0; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-size: .82rem; color: var(--text-mute); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--brand-300); }
.breadcrumb span[aria-hidden] { color: var(--line-strong); }

.center-cta { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

.card__more {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; min-height: 24px;
  font-family: var(--font-display); font-weight: 600; font-size: .86rem;
  color: var(--brand-300);
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.card__more svg { width: 15px; height: 15px; }
.card:hover .card__more { gap: 12px; color: #fff; }

.note-line {
  font-size: .86rem; color: var(--text-mute);
  border-left: 2px solid var(--brand); padding-left: 14px; margin-top: 24px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line); border-radius: var(--radius-l);
  background: var(--surface-2);
}
table.data { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .93rem; }
.data th, .data td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.data th {
  font-family: var(--font-display); font-weight: 700;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mute); background: rgba(255,255,255,.02);
}
.data td { color: var(--text-soft); vertical-align: top; }
.data td:first-child { color: #fff; font-weight: 600; font-family: var(--font-display); white-space: nowrap; }
.data tbody tr:last-child td { border-bottom: 0; }
.data tbody tr:hover td { background: rgba(255,255,255,.02); }

.contact-direct { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-copy { display: grid; gap: 26px; }

/* ---------- 20. Galería de soporte técnico ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
/* La primera foto manda: ocupa las dos filas de la izquierda */
.shot--lead { grid-row: span 2; }

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  background: var(--surface-2);
}
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform .7s var(--ease), filter .5s var(--ease);
}
.shot--lead img { aspect-ratio: 4 / 5; }
.shot:hover img { transform: scale(1.05); }

/* Degradado para que el pie de foto se lea sobre cualquier imagen */
.shot::before {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 62%;
  background: linear-gradient(to top, rgba(6, 6, 9, .92), rgba(6, 6, 9, .55) 45%, transparent);
  pointer-events: none;
}
.shot figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 20px 22px;
  display: grid; gap: 3px;
  transform: translateY(6px);
  transition: transform .45s var(--ease);
}
.shot:hover figcaption { transform: none; }
.shot figcaption b {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; color: #fff;
}
.shot figcaption span { font-size: .84rem; color: var(--text-soft); }

/* Cada foto entra un poco después que la anterior */
.shots .shot:nth-child(2) { transition-delay: .12s; }
.shots .shot:nth-child(3) { transition-delay: .24s; }

.shots__notas { margin-top: clamp(28px, 4vw, 42px); }

@media (max-width: 760px) {
  .shots { grid-template-columns: 1fr; }
  .shot--lead { grid-row: auto; }
  .shot--lead img { aspect-ratio: 16 / 10; }
  .shot figcaption { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .shot:hover img { transform: none; }
}

/* ---------- 21. Galería en mosaico ---------- */
/* Columnas tipo mampostería: respeta el alto natural de cada foto,
   que aquí mezcla verticales y horizontales. */
.galeria {
  list-style: none; margin: 0; padding: 0;
  columns: 3 260px;
  column-gap: 16px;
}
.galeria__item {
  break-inside: avoid;
  margin-bottom: 16px;
}

.galeria__btn {
  position: relative;
  display: block; width: 100%;
  padding: 0; border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.galeria__btn:hover { border-color: var(--brand); transform: translateY(-3px); }
.galeria__btn img {
  width: 100%; height: auto;
  display: block;
  transition: transform .6s var(--ease), opacity .3s var(--ease);
}
.galeria__btn:hover img { transform: scale(1.04); }

.galeria__cap {
  position: absolute; inset: auto 0 0 0;
  display: grid; gap: 2px;
  padding: 34px 16px 14px;
  text-align: left;
  background: linear-gradient(to top, rgba(6, 6, 9, .93), rgba(6, 6, 9, .5) 55%, transparent);
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.galeria__btn:hover .galeria__cap,
.galeria__btn:focus-visible .galeria__cap { opacity: 1; transform: none; }
.galeria__cap b { font-family: var(--font-display); font-size: .92rem; color: #fff; }
.galeria__cap small { font-size: .78rem; color: var(--text-soft); }

.galeria__lupa {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(11, 11, 14, .72);
  backdrop-filter: blur(6px);
  color: #fff;
  opacity: 0; transform: scale(.85);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.galeria__btn:hover .galeria__lupa,
.galeria__btn:focus-visible .galeria__lupa { opacity: 1; transform: none; }
.galeria__lupa svg { width: 17px; height: 17px; }

/* ---------- 22. Visor de foto ampliada ---------- */
.visor[hidden] { display: none; }
.visor {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
  animation: visorEntra .25s var(--ease);
}
@keyframes visorEntra { from { opacity: 0; } to { opacity: 1; } }

.visor__fondo {
  position: absolute; inset: 0;
  background: rgba(6, 6, 9, .93);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.visor__marco {
  position: relative;
  margin: 0;
  max-width: min(1200px, 100%);
  display: grid;
  justify-items: center;
}
.visor__marco img {
  max-width: 100%;
  max-height: min(78vh, 900px);
  width: auto; height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
}
.visor__pie {
  display: grid; gap: 3px; justify-items: center;
  text-align: center;
  margin-top: 16px;
}
.visor__pie b { font-family: var(--font-display); font-size: 1.05rem; color: #fff; }
.visor__pie small { font-size: .88rem; color: var(--text-soft); }
.visor__contador {
  font-size: .76rem; color: var(--text-mute);
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}

.visor__cerrar, .visor__nav {
  position: absolute;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(11, 11, 14, .8);
  backdrop-filter: blur(8px);
  color: #fff;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.visor__cerrar:hover, .visor__nav:hover {
  background: var(--brand); border-color: var(--brand); transform: scale(1.06);
}
.visor__cerrar { top: 12px; right: 12px; width: 42px; height: 42px; }
.visor__cerrar svg { width: 19px; height: 19px; }

.visor__nav { top: 50%; margin-top: -25px; width: 50px; height: 50px; }
.visor__nav--prev { left: -8px; }
.visor__nav--next { right: -8px; }
.visor__nav svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .visor__nav { top: auto; bottom: -70px; margin-top: 0; }
  .visor__nav--prev { left: calc(50% - 62px); }
  .visor__nav--next { right: calc(50% - 62px); }
  .visor__marco { padding-bottom: 76px; }
  /* En pantallas táctiles el pie se queda visible: no hay cursor que pasar */
  .galeria__cap { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .visor { animation: none; }
  .galeria__btn:hover img { transform: none; }
  .galeria__btn:hover { transform: none; }
}

/* ---------- 19. Partners ---------- */
.partners-grid {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px;
}

/* Recuadro base: para logos claros o blancos, sobre el fondo oscuro del sitio */
.partner {
  position: relative;
  flex: 1 1 190px; max-width: 250px;
  height: clamp(104px, 9vw, 124px);
  display: grid; place-items: center;
  padding: 16px 22px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color .3s var(--ease), background-color .3s var(--ease),
              transform .3s var(--ease);
}
.partner:hover { border-color: var(--brand); transform: translateY(-3px); }

/* Variante para logos OSCUROS: fondo claro para que el logo se lea */
.partner--light {
  background: #FFFFFF;
  border-color: rgba(255, 255, 255, .2);
}
.partner--light:hover { background: #FFFFFF; border-color: var(--brand); }

/* Caja explicita: con width/height al 100% el navegador no resuelve
   la altura dentro del grid y el logo se recortaba. */
.partner img {
  position: absolute;
  top: 18px; left: 22px;
  width: calc(100% - 44px);
  height: calc(100% - 36px);
  object-fit: contain;
  object-position: center;
  /* --escala afina cada logo por separado: unas marcas piden mas aire que otras */
  transform: scale(var(--escala, 1));
  transition: transform .3s var(--ease);
}
.partner__slot { max-height: 100%; }

/* El enlace cubre todo el recuadro para que se pueda pulsar entero */
.partner > a {
  position: absolute; inset: 0;
  display: block;
  border-radius: inherit;
}
.partner > a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* Marcador de posición mientras no exista el archivo del logo */
.partner--empty {
  background: var(--surface-2);
  border-style: dashed;
  border-color: var(--line-strong);
}
/* [hidden] no basta: display:grid lo anularia y el rotulo se veria bajo el logo */
.partner__slot[hidden] { display: none; }
.partner__slot {
  display: grid; justify-items: center; gap: 9px;
  color: var(--text-mute); text-align: center;
}
.partner__slot svg { width: 24px; height: 24px; opacity: .55; }
.partner__slot span {
  font-family: var(--font-display); font-weight: 600;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
}

.partners__note {
  text-align: center; margin: 28px auto 0; max-width: 46ch;
  font-size: .92rem; color: var(--text-mute);
}
.partners__note a { color: var(--brand-300); }
.partners__note a:hover { color: #fff; }

@media (max-width: 520px) {
  .partner { flex-basis: 130px; }
}

/* ---------- 20. Navegación entre rubros ---------- */
.rubro-nav {
  border-bottom: 1px solid var(--line);
  background: var(--surface-1);
}
.rubro-nav .container {
  display: flex; flex-wrap: wrap; gap: 12px;
  padding-block: 16px;
}
.rubro-nav__link {
  flex: 1 1 240px;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.rubro-nav__link:hover {
  border-color: var(--brand);
  background: var(--surface-3);
  transform: translateY(-2px);
}
.rubro-nav__link svg {
  width: 22px; height: 22px; flex-shrink: 0;
  color: var(--brand-300);
}
.rubro-nav__link b {
  display: block;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  color: var(--text);
}
.rubro-nav__link small { font-size: .8rem; color: var(--text-mute); }

/* ---------- 17. Responsive ---------- */
@media (min-width: 1025px) and (max-width: 1240px) {
  .megamenu__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 26px; }
}

@media (max-width: 1024px) {
  .hero__inner, .split, .contact { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .hero__visual { max-width: 560px; }
  .hero__float { left: auto; right: 8px; bottom: -46px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .logo, .nav-toggle { position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0 0 auto; top: 0; z-index: 1;
    margin: 0; padding: 96px var(--gutter) 32px;
    background: var(--surface-0);
    border-bottom: 1px solid var(--line);
    transform: translateY(-100%); opacity: 0; visibility: hidden;
    transition: transform .38s var(--ease), opacity .3s var(--ease), visibility .3s;
    max-height: 100dvh; overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 14px 16px; font-size: 1.02rem; border-radius: 12px; }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }

  .nav__item--menu { position: static; }
  .nav__link--toggle { width: 100%; justify-content: space-between; text-align: left; }
  .megamenu {
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 4px 0 12px;
    animation: none;
  }
  .megamenu__inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-inline: 0;
    max-width: none;
  }
  .megamenu__title { font-size: .74rem; padding-bottom: 9px; margin-bottom: 8px; }
  .megamenu__col a:not(.megamenu__title) { padding: 10px; font-size: .96rem; }
  .nav > .btn { display: inline-flex; margin-top: 16px; width: 100%; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__stats { grid-template-columns: 1fr; gap: 20px; }
  .form__row, .spec-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .led-screen { grid-template-columns: repeat(16, 1fr); }
  .logo__tag { display: none; }
  .footer__bottom { flex-direction: column; }
}

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