/* ============================================================
   Semesterz — hoja de estilos principal
   Diseño propio: índigo + cian, tipografía geométrica
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 0% 0%, rgba(var(--brand-rgb), 0.06), transparent 38%),
    radial-gradient(circle at 100% 0%, rgba(var(--accent-rgb), 0.06), transparent 36%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--brand-strong); }

img { max-width: 100%; display: block; }

::selection {
  background: rgba(var(--brand-rgb), 0.18);
  color: var(--ink);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}
.section--tight { padding: 3.25rem 0; }
.section--alt {
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section__head {
  max-width: 46rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}
.section__head--left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  border: 1px solid rgba(var(--brand-rgb), 0.16);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section__title {
  margin: 1rem 0 0.7rem;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

.section__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
  box-shadow: 0 16px 30px rgba(var(--brand-rgb), 0.28);
}
.btn--primary:hover { color: #fff; box-shadow: 0 22px 38px rgba(var(--brand-rgb), 0.34); }

.btn--ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: rgba(var(--brand-rgb), 0.4); color: var(--brand); }

.btn--light {
  color: var(--ink);
  background: #fff;
}
.btn--accent {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  box-shadow: 0 16px 30px rgba(var(--accent-rgb), 0.26);
}
.btn--accent:hover { color: #fff; }

.btn--block { width: 100%; }

/* ============================================================
   HEADER / NAVEGACIÓN  ·  "AÑO 2188"  (holo-glass + neón)
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  --neon-cyan: #22d3ee;
  --neon-violet: #818cf8;
  background:
    linear-gradient(180deg, rgba(9, 13, 28, 0.92) 0%, rgba(9, 13, 28, 0.78) 100%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(34, 211, 238, 0.18);
  box-shadow: 0 8px 30px rgba(3, 6, 18, 0.35);
}
/* rejilla holográfica de fondo */
.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(129, 140, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.06) 1px, transparent 1px);
  background-size: 28px 100%, 100% 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
/* franja de neón animada */
.topbar::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-violet), var(--neon-cyan), transparent);
  background-size: 50% 100%;
  animation: neonSweep 4.5s linear infinite;
}
@keyframes neonSweep {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.topbar__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  color: #fff;
}
.brand:hover { color: #fff; }

.brand__mark {
  position: relative;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  color: #fff;
  background: radial-gradient(circle at 30% 25%, rgba(34, 211, 238, 0.9), rgba(67, 56, 202, 0.9));
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.5),
    0 0 18px rgba(34, 211, 238, 0.55),
    inset 0 0 12px rgba(129, 140, 248, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 1rem;
  border: 1px solid rgba(34, 211, 238, 0.45);
  animation: pulseRing 2.6s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { opacity: 0; }
}
.brand:hover .brand__mark {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 0 0 1px rgba(34,211,238,.7), 0 0 26px rgba(34,211,238,.8), inset 0 0 14px rgba(129,140,248,.6);
}
.brand__mark i { grid-area: 1 / 1; }
.brand__mark .bi-hexagon { font-size: 1.65rem; opacity: 0.4; }
.brand__mark .bi-hexagon-fill { font-size: 0.85rem; opacity: 0.95; }

.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.26rem;
  letter-spacing: 0.01em;
  color: #f1f5ff;
  text-shadow: 0 0 12px rgba(129, 140, 248, 0.35);
}
.brand__name b {
  color: var(--neon-cyan);
  font-weight: 700;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.8);
}
.brand__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(148, 220, 240, 0.75);
  margin-top: 0.18rem;
}
.brand__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34f5b8;
  box-shadow: 0 0 8px #34f5b8;
  animation: liveBlink 1.8s ease-in-out infinite;
}
@keyframes liveBlink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}
.nav__links { display: flex; align-items: center; gap: 0.15rem; }
.nav__actions { display: flex; align-items: center; gap: 0.85rem; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.8rem;
  border-radius: 0.5rem;
  color: rgba(226, 232, 240, 0.78);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav__link:hover { color: #fff; background: rgba(129, 140, 248, 0.12); }
.nav__link.is-active { color: var(--neon-cyan); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.9);
}

/* chip de sistema "EST. 2188" */
.nav__sys {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
  color: rgba(148, 220, 240, 0.9);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}
.nav__sys i { color: var(--neon-cyan); }

.nav__cta {
  position: relative;
  overflow: hidden;
  min-height: 2.5rem;
  padding: 0.45rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  border-radius: 0.55rem;
  color: #041018;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-violet));
  border: 1px solid rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
}
.nav__cta:hover {
  color: #041018;
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.75);
}
.nav__cta i { font-size: 0.95rem; }

.burger {
  display: none;
  margin-left: auto;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(129, 140, 248, 0.12);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  width: 1.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.8);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .burger { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    margin: 0;
    padding: 1rem 1.25rem 1.4rem;
    background: rgba(9, 13, 28, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.25);
    box-shadow: 0 20px 40px rgba(3, 6, 18, 0.5);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .nav__link { padding: 0.85rem 0.9rem; border-radius: 0.6rem; font-size: 0.9rem; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: rgba(34, 211, 238, 0.1); }
  .nav__sys { justify-content: center; padding: 0.55rem 0.7rem; }
  .nav__cta { justify-content: center; min-height: 2.9rem; }
}

/* ============================================================
   HERO  ·  auditorio nocturno "2188"
   (texto centrado + consola holográfica con la ilustración)
   ============================================================ */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(67, 56, 202, 0.35), transparent 70%),
    radial-gradient(50% 40% at 12% 80%, rgba(8, 145, 178, 0.22), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 70%, var(--night) 100%);
}
/* campo de estrellas / partículas */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    radial-gradient(rgba(34, 211, 238, 0.4) 1px, transparent 1px);
  background-size: 140px 90px, 190px 130px;
  background-position: 0 0, 60px 40px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
/* haz de luz central, como un proyector de aula */
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -30%;
  width: 60rem;
  height: 34rem;
  transform: translateX(-50%);
  background: conic-gradient(from 90deg at 50% 0%, transparent 42%, rgba(129, 140, 248, 0.16) 50%, transparent 58%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}
/* plaquita tipo HUD */
.hero .eyebrow {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.35);
  color: #67e8f9;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.25);
}
.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  margin: 1.2rem 0 1rem;
  color: #f8fafc;
  text-shadow: 0 4px 30px rgba(67, 56, 202, 0.5);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, #a5b4fc, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(34, 211, 238, 0.45));
}
.hero__lead {
  font-size: 1.14rem;
  color: rgba(203, 213, 225, 0.85);
  max-width: 38rem;
  margin: 0 auto 1rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
.hero__actions .btn--ghost {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: none;
}
.hero__actions .btn--ghost:hover { color: #22d3ee; border-color: rgba(34, 211, 238, 0.55); }
.hero__note {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.hero__note i { color: #22d3ee; }

/* Consola holográfica que enmarca la ilustración */
.hero__console {
  position: relative;
  z-index: 1;
  width: min(78rem, 96%);
  max-width: none;
  margin: 2.5rem auto 0;
  border-radius: var(--radius-lg);
  background: rgba(15, 22, 44, 0.75);
  border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow:
    0 0 0 1px rgba(9, 13, 28, 0.6),
    0 30px 70px rgba(3, 6, 18, 0.6),
    0 0 45px rgba(34, 211, 238, 0.12);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.hero__console-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(9, 13, 28, 0.65);
}
.hero__console-bar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}
.hero__console-bar span:nth-child(1) { background: #f472b6; box-shadow: 0 0 8px rgba(244, 114, 182, 0.7); }
.hero__console-bar span:nth-child(2) { background: #facc15; box-shadow: 0 0 8px rgba(250, 204, 21, 0.6); }
.hero__console-bar span:nth-child(3) { background: #34f5b8; box-shadow: 0 0 8px rgba(52, 245, 184, 0.7); }
.hero__console-bar em {
  margin-left: 0.6rem;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: rgba(148, 220, 240, 0.75);
}
.hero__console-bar i {
  margin-left: auto;
  font-size: 0.85rem;
  color: #22d3ee;
}
.hero__media {
  position: relative;
  padding: 0.75rem 1.25rem 1rem;
  background:
    linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 140, 248, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hero__media svg {
  width: 100%;
  height: auto;
  max-height: 11.5rem;
  aspect-ratio: 960 / 260;
  display: block;
}
/* línea de escaneo que recorre la consola */
.hero__media::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.8), transparent);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.6);
  animation: scanline 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanline {
  0%, 100% { top: 4%; opacity: 0; }
  10% { opacity: 1; }
  50% { top: 94%; opacity: 1; }
  60% { opacity: 0; }
}

/* ---------- Ticker / transmisión de datos ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  padding: 0.7rem 0;
  background: linear-gradient(90deg, var(--night) 0%, var(--night-2) 50%, var(--night) 100%);
  border-top: 1px solid rgba(34, 211, 238, 0.2);
  border-bottom: 1px solid rgba(34, 211, 238, 0.2);
}
.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--night), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--night), transparent); }
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  will-change: transform;
  animation: tickerScroll 28s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}
.ticker__item i { font-size: 0.6rem; color: #22d3ee; text-shadow: 0 0 8px rgba(34, 211, 238, 0.9); }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Visual: cadena de bloques apilados */
.chain {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.chain::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 5px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.block {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.block__no {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-tint);
}
.block__hash {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  word-break: break-all;
}
.block__copy strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
}
.block__link {
  font-size: 1.1rem;
  color: var(--accent);
}

/* ---------- Tira de confianza (mosaico de fichas) ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.35rem 1.3rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.trust__item:hover { transform: translateY(-3px); border-color: rgba(var(--brand-rgb), 0.3); }
.trust__item i {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 0.8rem;
  font-size: 1.25rem;
  color: var(--brand);
  background: var(--brand-tint);
}
.trust__item:nth-child(even) i { color: var(--accent); background: var(--accent-tint); }

@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trust { grid-template-columns: 1fr; } }

/* ============================================================
   GRIDS / TARJETAS GENÉRICAS
   ============================================================ */
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--brand-rgb), 0.28);
}
.card__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  font-size: 1.35rem;
  color: var(--brand);
  background: var(--brand-tint);
  margin-bottom: 0.4rem;
}
.card__icon--accent { color: var(--accent); background: var(--accent-tint); }
.card h3 { font-size: 1.18rem; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* Tarjeta destacada de la portada (con número e icono en degradado) */
.card--feature {
  position: relative;
  overflow: hidden;
  padding: 1.9rem 1.7rem;
  border-radius: var(--radius-lg);
}
.card--feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card--feature:hover::before { transform: scaleX(1); }
.card--feature .card__num {
  position: absolute;
  top: 0.6rem;
  right: 1.1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.07;
  pointer-events: none;
}
.card--feature .card__icon {
  width: 3.3rem;
  height: 3.3rem;
  font-size: 1.45rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 130%);
  box-shadow: 0 12px 24px rgba(var(--brand-rgb), 0.28);
}
.card--feature .card__icon--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand-soft) 130%);
  box-shadow: 0 12px 24px rgba(var(--accent-rgb), 0.28);
}
.card--feature .post-card__more { margin-top: 0.4rem; }
.card--feature .post-card__more i { transition: transform 0.2s ease; }
.card--feature:hover .post-card__more i { transform: translateX(4px); }

/* Tarjeta-paso numerada */
.steps {
  display: grid;
  gap: 1.1rem;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.6rem 1.6rem 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
/* barra de acento lateral + número gigante de fondo */
.step::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}
.step__no {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand);
  background: var(--brand-tint);
  border: 2px solid rgba(var(--brand-rgb), 0.25);
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.step p { color: var(--muted); margin: 0; }

/* Bloque "split" (texto + lista) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split__media {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 30% 20%, rgba(var(--brand-rgb), 0.12), transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(var(--accent-rgb), 0.14), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.split__media::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(var(--brand-rgb), 0.2);
  pointer-events: none;
}
.feature-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.feature-list i {
  margin-top: 0.1rem;
  color: var(--accent);
  font-size: 1.2rem;
}
.feature-list b { color: var(--ink); }

/* Cita / aviso destacado */
.callout {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 1.5rem 1.7rem 1.5rem 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}
.callout i {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--accent);
  background: var(--accent-tint);
}
.callout p { margin: 0; color: var(--ink-soft); }

/* ============================================================
   FRANJA CTA
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  padding: 3.4rem 2.5rem;
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 45%, var(--accent) 130%);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
/* patrón de puntos sutil */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -4rem -6rem auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.cta-band h2 { color: #fff; position: relative; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band p { color: rgba(255, 255, 255, 0.82); position: relative; max-width: 40rem; margin: 0.6rem auto 1.6rem; }
.cta-band .btn { position: relative; }

/* ============================================================
   APRENDER / GUÍAS
   ============================================================ */
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.toc a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}
.toc a:hover { background: var(--brand-tint); color: var(--brand); }

.guide {
  display: grid;
  gap: 1.5rem;
}
.guide__block {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 6rem;
}
.guide__block h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.5rem;
}
.guide__block h2 i { color: var(--accent); }
.guide__block h3 { margin-top: 1.4rem; font-size: 1.12rem; }
.guide__block p { color: var(--ink-soft); }

/* ============================================================
   GLOSARIO
   ============================================================ */
.glossary-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.glossary-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.glossary-letters span {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand);
}
.term {
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.term__head {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}
.term__head h3 { margin: 0; font-size: 1.18rem; }
.term__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.term p { margin: 0; color: var(--muted); }

/* ============================================================
   BLOG
   ============================================================ */
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__top {
  position: relative;
  padding: 1.4rem 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 140%);
}
.post-card__top--alt { background: linear-gradient(135deg, var(--night-2) 0%, var(--brand-strong) 130%); }
.post-card__top--teal { background: linear-gradient(135deg, var(--accent) 0%, var(--brand-soft) 140%); }
.post-card__cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}
.post-card__icon { font-size: 1.8rem; margin-bottom: 0.6rem; }
.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
}
.post-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.post-card__body h3 { font-size: 1.18rem; }
.post-card__body p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brand);
}

/* Media de la tarjeta de blog */
.post-card__media {
  position: relative;
  aspect-ratio: 400 / 220;
  overflow: hidden;
  background: var(--surface-3);
}
.post-card__media img,
.post-card__media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card__media .post-card__cat {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  backdrop-filter: blur(4px);
}

/* Imágenes de cabecera (hero / split / artículo) */
.split__media svg,
.article__media svg,
.post-card__media svg {
  width: 100%;
  height: auto;
  display: block;
}
.post-card__media svg {
  height: 100%;
  object-fit: cover;
}
.article__media {
  margin-top: 1.4rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

/* Artículo individual */
.article {
  max-width: 48rem;
  margin: 0 auto;
}
.article__header { margin-bottom: 2rem; }
.article__title { font-size: clamp(2rem, 4vw, 2.8rem); margin: 1rem 0 0.8rem; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.article__body { font-size: 1.05rem; color: var(--ink-soft); }
.article__body h2 { font-size: 1.5rem; margin: 2rem 0 0.7rem; }
.article__body h3 { font-size: 1.2rem; margin: 1.6rem 0 0.5rem; }
.article__body ul { padding-left: 1.2rem; }
.article__body li { margin-bottom: 0.5rem; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }

/* ============================================================
   PÁGINA INTERNA (cabecera de sección)
   ============================================================ */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    linear-gradient(180deg, var(--surface) 0%, transparent 100%);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin: 1rem 0 0.7rem; }
.page-hero__lead { max-width: 42rem; color: var(--muted); font-size: 1.08rem; }

/* ============================================================
   FAQ (acordeón simple)
   ============================================================ */
.faq { display: grid; gap: 0.85rem; max-width: 50rem; margin: 0 auto; }
.faq__item {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.4rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.faq__q i { transition: transform 0.22s ease; color: var(--brand); flex: 0 0 auto; }
.faq__item.is-open .faq__q i { transform: rotate(180deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq__a p { padding: 0 1.4rem 1.25rem; color: var(--muted); margin: 0; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 0.9rem;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
}
.contact-info h2 { color: #fff; }
.contact-info p { color: rgba(255,255,255,0.72); }
.contact-info__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-info__item i {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  font-size: 1.1rem;
  color: #fff;
  background: rgba(var(--accent-rgb), 0.35);
}
.contact-info__label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.contact-info__value { color: #fff; word-break: break-word; }

.form {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form--success {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
}
.form--success p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}
.form--success strong,
.form--success .mailto-link { color: var(--brand); word-break: break-word; }
.form--success .mailto-link:hover { text-decoration: underline; }
.contact-info__value:hover { text-decoration: underline; }
.footer__contact a:hover { text-decoration: underline; }
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: 0;
  background: #fff;
  border-color: rgba(var(--brand-rgb), 0.5);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.12);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }

.captcha {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--brand-tint);
  border: 1px solid rgba(var(--brand-rgb), 0.16);
  margin-bottom: 1rem;
}
.captcha__q {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand);
  background: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  white-space: nowrap;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.consent input { margin-top: 0.25rem; accent-color: var(--brand); width: 1rem; height: 1rem; }

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */
.legal {
  max-width: 52rem;
  margin: 0 auto;
}
.legal__updated {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.legal__block {
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  scroll-margin-top: 6rem;
}
.legal__block h2 { font-size: 1.3rem; }
.legal__block h3 { font-size: 1.05rem; margin-top: 1.1rem; }
.legal__block p,
.legal__block li { color: var(--ink-soft); }
.legal__block ul { padding-left: 1.2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  color: rgba(255, 255, 255, 0.74);
  background: linear-gradient(180deg, var(--night) 0%, #070b16 100%);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3.5rem 0 2.5rem;
}
.footer__brand .brand { color: #fff; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name b { color: var(--accent-soft); }
.footer__about { margin: 1rem 0 1.2rem; max-width: 24rem; color: rgba(255,255,255,0.62); }
.footer__col h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer__col a { color: rgba(255,255,255,0.7); }
.footer__col a:hover { color: #fff; }
.footer__contact li {
  display: flex;
  gap: 0.6rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.footer__contact i { color: var(--accent-soft); margin-top: 0.2rem; }
.footer__socials { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer__socials a {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__socials a:hover { background: rgba(var(--accent-rgb), 0.4); color: #fff; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}
.footer__bottom-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ============================================================
   COOKIE BANNER + MODAL
   ============================================================ */
.cookie {
  position: fixed;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 120;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--night-2) 0%, var(--night) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow-lg);
}
.cookie[hidden] { display: none !important; }
.cookie__text { min-width: 0; }
.cookie__text strong { display: block; color: #fff; margin-bottom: 0.2rem; }
.cookie__text p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.72); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 0.55rem; flex: 0 0 auto; }
.cookie__btn {
  min-height: 2.7rem;
  padding: 0 1.05rem;
  border-radius: 0.6rem;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}
.cookie__btn--accept { background: var(--accent-soft); color: #03282f; }
.cookie__btn--config { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.18); }
.cookie__btn--reject { background: transparent; color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.18); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  padding: 1.25rem;
  align-items: center;
  justify-content: center;
  background: rgba(7, 11, 22, 0.6);
}
.modal.is-open { display: flex; }
.modal__dialog {
  width: min(100%, 560px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.modal__dialog h3 { font-size: 1.3rem; }
.modal__opt {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  margin-top: 0.8rem;
}
.modal__opt small { color: var(--muted); }
.modal__opt input { accent-color: var(--brand); width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; }
.modal__footer { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-end; margin-top: 1.2rem; }

/* Modal de gracias (contacto) */
.thanks { text-align: center; }
.thanks__icon {
  width: 4rem; height: 4rem; margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 1.8rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

/* ============================================================
   UTILIDADES / RESPONSIVE
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.is-hidden { display: none !important; }

@media (max-width: 980px) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero__console { margin-top: 2rem; width: 100%; }
  .hero__media { padding: 0.6rem 0.85rem 0.75rem; }
  .hero__media svg { max-height: 9rem; }
  .split { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 3.25rem 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 1.8rem; }
  .cta-band { padding: 2.2rem 1.4rem; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie__actions, .cookie__btn { width: 100%; }
  .step { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .topbar::before,
  .brand__mark::before,
  .brand__tag::before,
  .hero__media::after,
  .ticker__track { animation: none !important; }
}
