/* =========================================================
   KJ INNOVATE — Estilos principales
   Paleta tomada del logo: negro profundo, azul eléctrico,
   cian y blanco plateado.
   ========================================================= */

:root {
  --bg: #03050b;
  --bg-soft: #060b18;
  --line: rgba(110, 150, 255, 0.16);
  --line-strong: rgba(110, 160, 255, 0.32);

  --text: #e9eeff;
  --muted: #93a0c2;
  --silver: #d3def9;
  --white: #ffffff;

  --blue: #1f5eff;
  --blue-deep: #0b3cdc;
  --cyan: #2ac6ff;

  --grad: linear-gradient(135deg, #2ac6ff 0%, #1f5eff 55%, #0b3cdc 100%);
  /* Fondo de botones con texto blanco: sin el tramo cian para mantener contraste AA (≥ 4,5:1) */
  --grad-solid: linear-gradient(135deg, #1f5eff 0%, #0b3cdc 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #a9c6ff 30%, #2ac6ff 60%, #1f5eff 100%);
  --card-bg: linear-gradient(180deg, rgba(16, 26, 54, 0.55), rgba(6, 10, 22, 0.55));

  --font-display: "Michroma", "Sora", sans-serif;
  --font-head: "Sora", "Inter", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --nav-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }

.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h2 { font-size: clamp(2rem, 4.2vw, 3.05rem); font-weight: 700; }
h1, h2 { text-wrap: balance; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn .icon { font-size: 1.1em; transition: transform 0.25s ease; }
.btn:hover .icon { transform: translateX(4px); }

.btn-primary {
  color: #fff;
  background: var(--grad-solid);
  box-shadow: 0 12px 30px -12px rgba(31, 94, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(42, 198, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(31, 94, 255, 0.12); border-color: rgba(42, 198, 255, 0.5); }

.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.7; cursor: progress; transform: none; }

/* Campo trampa para bots en los formularios: invisible para las personas */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- Secciones ---------- */
.section { position: relative; padding: 120px 0; }

.section-alt {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(31, 94, 255, 0.12), transparent 70%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}

.section-head { max-width: 700px; margin-bottom: 60px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.08rem; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before,
.center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

/* ---------- Navegación ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled,
.site-header.menu-open {
  background: rgba(3, 5, 11, 0.8);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}

.nav { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { height: 34px; width: auto; filter: drop-shadow(0 0 12px rgba(31, 94, 255, 0.5)); }
.brand-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  color: var(--white);
  white-space: nowrap;
}
.brand-name b {
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--white); background: rgba(110, 150, 255, 0.12); }

.nav-cta { padding: 11px 20px; font-size: 0.92rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s ease;
}
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(110, 150, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 150, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-a { width: 640px; height: 640px; top: -120px; right: -140px; background: rgba(31, 94, 255, 0.35); }
.glow-b { width: 440px; height: 440px; bottom: -160px; left: -180px; background: rgba(42, 198, 255, 0.16); }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(31, 94, 255, 0.08);
  font-size: 0.86rem;
  color: var(--silver);
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: ping 2s ease-out infinite;
}

.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 4.4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
}
.hero-lead { max-width: 560px; margin-bottom: 36px; font-size: 1.15rem; color: var(--muted); }
.hero-lead strong { color: var(--white); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 0.95rem; color: var(--silver); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { font-size: 1.1rem; color: var(--cyan); }

/* Logo animado */
.hero-visual { position: relative; }

.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.logo-stage > img {
  position: relative;
  width: 76%;
  filter: drop-shadow(0 10px 40px rgba(31, 94, 255, 0.45));
  animation: float 6s ease-in-out infinite;
}

.halo {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 94, 255, 0.55), rgba(42, 198, 255, 0.15) 45%, transparent 70%);
  filter: blur(20px);
  animation: pulse 5s ease-in-out infinite;
}
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.ring-1 { inset: 4%; }
.ring-2 { inset: 15%; border: 1px dashed rgba(110, 150, 255, 0.2); animation: spin 50s linear infinite reverse; }

.ring-spin,
.orbit { position: absolute; inset: 4%; border-radius: 50%; animation: spin 8s linear infinite; }
.ring-spin {
  background: conic-gradient(from 0deg, transparent 0deg 240deg, rgba(42, 198, 255, 0.9) 345deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}
.orbit::after {
  content: "";
  position: absolute;
  top: -5px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 4px rgba(42, 198, 255, 0.9);
}

.float-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 14, 32, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.float-chip .icon-wrap {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad);
  font-size: 15px;
}
.chip-a { top: 7%; left: 0; }
.chip-b { top: auto; bottom: 6%; right: 0; animation-delay: -3s; }

/* Tarjeta de código */
.code-card {
  position: absolute;
  z-index: 3;
  left: -8%;
  bottom: -64px;
  width: 300px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: rgba(6, 11, 25, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 40px -10px rgba(31, 94, 255, 0.45);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.code-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.code-top i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.code-top i:nth-child(2) { background: var(--cyan); }
.code-top i:nth-child(3) { background: var(--silver); }
.code-top span { margin-left: 8px; font-size: 0.72rem; color: var(--muted); }

.code-body { padding: 14px 16px 16px; line-height: 1.75; color: #cfdbff; }
.ln {
  display: block;
  white-space: pre;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.ln.on { opacity: 1; transform: none; }
.tk { color: #6b97ff; }
.tf { color: var(--cyan); }
.ts { color: #c9d8ff; }
.tb { color: #7fe0ff; }
.tc { color: #5d6a8e; }
.caret {
  display: inline-block;
  width: 7px;
  height: 1.05em;
  margin-left: 4px;
  vertical-align: -3px;
  background: var(--cyan);
  animation: blink 1s steps(1) infinite;
}

/* ---------- Tecnologías ---------- */
.tech {
  padding: 36px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 17, 36, 0.6), rgba(3, 5, 11, 0.6));
}
.tech > p {
  margin-bottom: 22px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee {
  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: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 14px; }
.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--silver);
  white-space: nowrap;
}
.tech-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }

/* ---------- Servicios ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  position: relative;
  overflow: hidden;
  padding: 34px 30px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(42, 198, 255, 0.4);
  box-shadow: 0 30px 60px -30px rgba(31, 94, 255, 0.7);
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 0%), rgba(42, 198, 255, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }

.card-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: var(--grad);
  box-shadow: 0 12px 30px -10px rgba(31, 94, 255, 0.9);
  font-size: 26px;
  color: #fff;
}
.card h3 { margin-bottom: 12px; font-size: 1.28rem; }
.card p { font-size: 0.98rem; color: var(--muted); }

.card-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--silver);
}
.card-list li { display: flex; align-items: center; gap: 10px; }
.card-list .icon { color: var(--cyan); }

/* ---------- Proceso ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--blue), transparent);
  opacity: 0.7;
}
.step { position: relative; padding: 0 8px; text-align: center; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 26px;
  border-radius: 50%;
  border: 1px solid rgba(42, 198, 255, 0.5);
  background: radial-gradient(circle at 30% 30%, #2a6bff, #0b2a8f);
  box-shadow: 0 0 0 8px rgba(31, 94, 255, 0.08), 0 0 30px rgba(31, 94, 255, 0.5);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
}
.step h3 { margin-bottom: 10px; font-size: 1.2rem; }
.step p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Proyectos ---------- */
.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
}
.split-head .section-head { margin-bottom: 0; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cyan); }
.link-arrow .icon { transition: transform 0.25s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.project {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(10, 16, 34, 0.6);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.project:hover {
  transform: translateY(-6px);
  border-color: rgba(42, 198, 255, 0.4);
  box-shadow: 0 30px 60px -30px rgba(31, 94, 255, 0.7);
}

.mock {
  height: 230px;
  padding: 24px 24px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 0%, rgba(42, 198, 255, 0.28), transparent 55%),
    linear-gradient(160deg, #0d1a3d, #060b1a);
}
.mock-window {
  height: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  background: #0a1226;
  transition: transform 0.5s ease;
}
.project:hover .mock-window { transform: translateY(-8px); }
.mock-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: #26335a; }
.mock-bar span { flex: 1; max-width: 140px; height: 8px; margin-left: 10px; border-radius: 5px; background: #16224a; }
.mock-body { padding: 12px; }
.mock-body b, .mock-body i { display: block; border-radius: 5px; background: #16224a; }

/* Mock: sitio corporativo */
.m-hero {
  display: grid;
  gap: 7px;
  align-content: center;
  height: 92px;
  padding: 0 16px;
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(31, 94, 255, 0.6), rgba(42, 198, 255, 0.25));
}
.m-hero b { height: 9px; width: 60%; background: rgba(255, 255, 255, 0.85); }
.m-hero b:nth-child(2) { width: 40%; background: rgba(255, 255, 255, 0.45); }
.m-hero .m-btn { width: 54px; height: 14px; margin-top: 4px; border-radius: 99px; background: #fff; }
.m-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.m-row b { height: 52px; border: 1px solid var(--line); background: #0f1a38; }

/* Mock: tienda online */
.m-shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-item { display: grid; gap: 5px; }
.m-item b { height: 46px; background: linear-gradient(135deg, #18306e, #0f1a3a); }
.m-item:nth-child(2) b, .m-item:nth-child(6) b { background: linear-gradient(135deg, #1f5eff, #2ac6ff); }
.m-item i { height: 5px; width: 80%; }
.m-item .m-price { width: 40%; background: var(--cyan); opacity: 0.8; }

/* Mock: dashboard */
.m-dash { display: grid; grid-template-columns: 46px 1fr; gap: 10px; height: calc(100% - 26px); }
.m-side { display: grid; align-content: start; gap: 8px; padding: 8px 6px; border-radius: 8px; background: #0f1a38; }
.m-side b { height: 6px; }
.m-side b:first-child { background: var(--blue); }
.m-main { display: grid; grid-template-rows: auto 1fr; gap: 10px; }
.m-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-stats b { height: 34px; border: 1px solid var(--line); background: #0f1a38; }
.m-chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 92px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0c1530;
}
.m-chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--cyan), var(--blue)); }

.project-info { padding: 24px 26px 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(31, 94, 255, 0.35);
  background: rgba(31, 94, 255, 0.12);
  font-size: 0.75rem;
  font-weight: 600;
  color: #9cc0ff;
}
.project h3 { margin-bottom: 8px; font-size: 1.2rem; }
.project p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { margin-bottom: 18px; font-size: 1.05rem; color: var(--muted); }
.about-text p strong { color: var(--white); }

.checklist { display: grid; gap: 14px; margin: 30px 0 38px; }
.checklist li { display: flex; align-items: center; gap: 14px; color: var(--silver); }
.ck {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(42, 198, 255, 0.35);
  background: rgba(31, 94, 255, 0.15);
  font-size: 14px;
  color: var(--cyan);
}

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value {
  padding: 28px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card-bg);
}
.value .icon-wrap,
.inc-item .icon-wrap,
.mv-card .icon-wrap,
.icon-tile {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  border: 1px solid rgba(42, 198, 255, 0.3);
  background: rgba(31, 94, 255, 0.14);
  font-size: 22px;
  color: var(--cyan);
}
.value h3 { margin-bottom: 8px; font-size: 1.08rem; }
.value p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Preguntas frecuentes ---------- */
.faq-list { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq-item {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 16, 34, 0.55);
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: rgba(42, 198, 255, 0.4); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.plus {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.plus::before,
.plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform 0.3s ease;
}
.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus { background: var(--grad); border-color: transparent; }
.faq-item[open] .plus::before,
.faq-item[open] .plus::after { background: #fff; }
.faq-item[open] .plus::after { transform: rotate(0deg); }
.faq-item p { padding: 0 26px 24px; color: var(--muted); }

/* ---------- Contacto ---------- */
.section-contact { padding-top: 80px; }

.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  padding: 56px;
  border-radius: 30px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 0% 0%, rgba(31, 94, 255, 0.28), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(42, 198, 255, 0.12), transparent 50%),
    linear-gradient(180deg, #0a1328, #060b19);
}
.contact-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.contact-info > p { margin-top: 18px; font-size: 1.05rem; color: var(--muted); }

.contact-list { display: grid; gap: 18px; margin-top: 34px; }
.contact-list a,
.contact-list div { display: flex; align-items: center; gap: 16px; }
.contact-list .icon-wrap {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad);
  box-shadow: 0 10px 24px -10px rgba(31, 94, 255, 0.9);
  font-size: 20px;
  color: #fff;
}
.contact-list small {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list strong { font-weight: 600; color: var(--white); overflow-wrap: anywhere; }
.contact-list a:hover strong { color: var(--cyan); }

.socials { display: flex; gap: 10px; margin-top: 34px; }
.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  font-size: 18px;
  color: var(--silver);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.socials a:hover { transform: translateY(-3px); background: var(--grad); border-color: transparent; color: #fff; }

.contact-form {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 32px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(3, 6, 14, 0.6);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--silver); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ac6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}
.field select option { background: #0a1124; color: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #7d89ab; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(42, 198, 255, 0.15); }
.field.invalid input,
.field.invalid textarea { border-color: #ff6b8a; box-shadow: 0 0 0 4px rgba(255, 107, 138, 0.12); }

.form-status { min-height: 1.4em; font-size: 0.95rem; font-weight: 600; color: var(--cyan); text-align: center; }
.form-status.error { color: #ff8aa3; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 70px 0 30px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(31, 94, 255, 0.06));
}
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; margin-bottom: 50px; }
.footer-brand img { width: 170px; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; font-size: 0.95rem; color: var(--muted); }
.footer-brand .footer-motto { margin-top: 14px; font-family: var(--font-head); font-weight: 600; color: var(--silver); }
.footer-col li > span { font-size: 0.95rem; color: var(--muted); }
.footer-col h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
/* Los títulos de columna ocupan la misma altura aunque alguno se parta en dos líneas */
@media (min-width: 1025px) {
  .footer-col h2 { display: flex; align-items: flex-end; min-height: 2.6em; }
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.95rem; color: var(--muted); overflow-wrap: anywhere; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad);
  box-shadow: 0 12px 30px -10px rgba(31, 94, 255, 0.9);
  font-size: 20px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  translate: 0 12px;
  transition: opacity 0.3s ease, visibility 0.3s ease, translate 0.3s ease;
}
.to-top.show { opacity: 1; visibility: visible; translate: 0 0; }

/* ---------- Cabecera de subpáginas ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 96px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero .hero-bg .grid {
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 15%, transparent 75%);
}
.page-hero .glow-a { top: -260px; right: 10%; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  max-width: 860px;
  margin: 0 auto 20px;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
}
.page-hero p { max-width: 640px; margin-inline: auto; font-size: 1.12rem; color: var(--muted); }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(31, 94, 255, 0.08);
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: var(--cyan); }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- Banda de llamada a la acción ---------- */
.cta-section { padding-top: 0; }
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px;
  border-radius: 30px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 0% 0%, rgba(31, 94, 255, 0.3), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(42, 198, 255, 0.15), transparent 50%),
    linear-gradient(180deg, #0a1328, #060b19);
}
.cta-band > div { position: relative; max-width: 620px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.cta-band p { margin-top: 12px; font-size: 1.05rem; color: var(--muted); }
.cta-band .btn { position: relative; }
.cta-mark {
  position: absolute;
  right: 18%;
  top: 50%;
  width: 300px;
  opacity: 0.08;
  transform: translateY(-50%) rotate(-8deg);
  pointer-events: none;
}

/* ---------- Tarjetas compactas (Inicio) ---------- */
.card.compact { display: flex; flex-direction: column; padding: 30px 28px; }
.card.compact p { margin-bottom: 16px; }
.card.compact .price-chip { margin-top: auto; }
.card.compact .card-icon { width: 50px; height: 50px; margin-bottom: 20px; font-size: 23px; }
.card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cyan);
}
.card-more .icon { transition: transform 0.25s ease; }
.card:hover .card-more .icon { transform: translateX(4px); }
.card .card-more { position: relative; }

/* ---------- Incluido en todos los proyectos (Servicios) ---------- */
.included-title { margin: 90px 0 28px; text-align: center; font-size: 1.5rem; }
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.inc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(10, 16, 34, 0.55);
  font-weight: 600;
  color: var(--silver);
}
.inc-item .icon-wrap { margin-bottom: 0; flex-shrink: 0; }

/* ---------- Misión y visión (Nosotros) ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card {
  position: relative;
  overflow: hidden;
  padding: 40px 36px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card-bg);
}
.mv-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
}
.mv-card h3 { margin-bottom: 12px; font-size: 1.45rem; }
.mv-card p { font-size: 1.02rem; color: var(--muted); }

/* ---------- Filtros (Proyectos) ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.filter-btn:hover { color: var(--white); border-color: rgba(42, 198, 255, 0.5); }
.filter-btn.active {
  border-color: transparent;
  background: var(--grad-solid);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(31, 94, 255, 0.9);
}
.project.is-hidden { display: none; }

/* Mock: landing page */
.m-land { display: grid; justify-items: center; gap: 8px; padding-top: 22px; }
.m-land .l-tag { width: 60px; height: 8px; border-radius: 99px; background: rgba(42, 198, 255, 0.4); }
.m-land .l-title { width: 75%; height: 12px; background: rgba(255, 255, 255, 0.85); }
.m-land .l-title.short { width: 50%; background: linear-gradient(90deg, #2ac6ff, #1f5eff); }
.m-land .l-btn { width: 84px; height: 18px; margin-top: 8px; border-radius: 99px; background: var(--grad); }
.m-land .l-logos { display: flex; gap: 12px; margin-top: 22px; }
.m-land .l-logos i { width: 34px; height: 8px; opacity: 0.8; }

/* Mock: catálogo con pedidos */
.m-list { display: grid; gap: 8px; }
.m-li {
  display: grid;
  grid-template-columns: 38px 1fr 44px;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0f1a38;
}
.m-li b { height: 38px; background: linear-gradient(135deg, #1f5eff, #2ac6ff); }
.m-li span { display: grid; gap: 6px; }
.m-li span i { width: 85%; height: 6px; }
.m-li span i + i { width: 45%; opacity: 0.6; }
.m-li em { display: block; height: 16px; border-radius: 99px; border: 1px solid rgba(42, 198, 255, 0.5); background: rgba(42, 198, 255, 0.25); }

/* Mock: sistema de reservas */
.m-cal .c-head { display: flex; justify-content: space-between; margin-bottom: 10px; }
.m-cal .c-head b { width: 70px; height: 8px; }
.m-cal .c-head b + b { width: 36px; background: var(--grad); }
.m-cal .c-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.m-cal .c-grid i { height: 18px; border-radius: 4px; border: 1px solid var(--line); background: #0f1a38; }
.m-cal .c-grid i.on { border-color: rgba(42, 198, 255, 0.5); background: rgba(31, 94, 255, 0.45); }
.m-cal .c-grid i.sel { border-color: transparent; background: var(--grad); }

/* ---------- Proyectos realizados (Inicio) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(10, 16, 34, 0.6);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.work:hover {
  transform: translateY(-6px);
  border-color: rgba(42, 198, 255, 0.4);
  box-shadow: 0 30px 60px -30px rgba(31, 94, 255, 0.7);
}
.work-shot {
  display: block;
  margin: 22px 22px 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #0a1226;
}
.work-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.work-bar i { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #26335a; }
.work-bar span {
  flex: 1;
  min-width: 0;
  margin-left: 8px;
  padding: 3px 10px;
  overflow: hidden;
  border-radius: 6px;
  background: #111b3a;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
}
.work-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 0.6s ease; }
.work:hover .work-shot img { transform: scale(1.03); }
.work-info { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 28px; border-top: 1px solid var(--line); }
.work-info h3 { margin-bottom: 8px; font-size: 1.35rem; }
.work-info p { font-size: 0.95rem; color: var(--muted); }
.work-tech { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.work-tech li { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.75rem; color: var(--silver); }
.work-info .link-arrow { margin-top: auto; font-size: 0.92rem; overflow-wrap: anywhere; }

/* ---------- Precios (Servicios e Inicio) ---------- */
.card.service { display: flex; flex-direction: column; }
.card.service .card-list { margin-bottom: 24px; }
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(42, 198, 255, 0.3);
  background: linear-gradient(120deg, rgba(31, 94, 255, 0.22), rgba(42, 198, 255, 0.06));
}
.price small {
  flex-basis: 100%;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.price strong { font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; line-height: 1.2; color: var(--white); }
.price span { font-size: 0.85rem; font-weight: 600; color: var(--silver); }
.price em { font-style: normal; font-size: 0.85rem; color: var(--muted); }
.price.custom strong { font-size: 1.25rem; }
.card.service .card-more { margin-top: 18px; }

.price-chip {
  display: flex;
  width: fit-content;
  margin-top: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(42, 198, 255, 0.35);
  background: rgba(31, 94, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 600;
  color: #9cc0ff;
}

.section-note { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: 0.92rem; color: var(--muted); }
.section-lead { max-width: 640px; margin: -12px auto 32px; text-align: center; color: var(--muted); }
.custom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.included.four { grid-template-columns: repeat(4, 1fr); }

/* ---------- Nosotros: marca, objetivos, equipo ---------- */
.brand-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 48px 36px;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 94, 255, 0.32), transparent 60%),
    linear-gradient(180deg, #0a1328, #060b19);
  text-align: center;
}
.brand-card img { width: min(300px, 80%); filter: drop-shadow(0 10px 40px rgba(31, 94, 255, 0.45)); }
.brand-tagline {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
}
.brand-motto { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--white); }
.brand-place { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--muted); }
.brand-place .icon { color: var(--cyan); }

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 22px;
  padding: 36px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 0% 0%, rgba(31, 94, 255, 0.28), transparent 55%),
    linear-gradient(180deg, #0a1328, #060b19);
}
.highlight-card .card-icon { flex-shrink: 0; margin-bottom: 0; }
.highlight-card h3 { margin-bottom: 10px; font-size: 1.35rem; }
.highlight-card p { font-size: 1.04rem; color: var(--muted); }

.goals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.goal { padding: 26px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--card-bg); }
.goal-num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.goal h3 { margin-bottom: 8px; font-size: 1.02rem; letter-spacing: -0.01em; }
.goal p { font-size: 0.9rem; color: var(--muted); }

.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 24px 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  text-align: center;
}
.founder-photo {
  width: 132px;
  height: 132px;
  margin-bottom: 20px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
  box-shadow: 0 0 0 3px var(--blue), 0 0 0 9px rgba(31, 94, 255, 0.14), 0 18px 40px -14px rgba(31, 94, 255, 0.9);
}
.founder .role { margin-top: 4px; }
.founder .focus { justify-content: center; margin-top: 14px; }
.badge {
  display: inline-flex;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(42, 198, 255, 0.4);
  background: rgba(31, 94, 255, 0.16);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #9cc0ff;
}
.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 6px rgba(31, 94, 255, 0.12), 0 12px 30px -10px rgba(31, 94, 255, 0.9);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
}
.founder h3 { font-size: 1.3rem; }
.role { font-size: 0.85rem; font-weight: 600; color: var(--cyan); }
.focus { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.focus li {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.75rem;
  color: var(--silver);
}

.org-manager {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  max-width: 100%;
  margin: 56px auto;
  padding: 22px 30px;
  border-radius: 20px;
  border: 1px solid rgba(42, 198, 255, 0.45);
  background: linear-gradient(120deg, rgba(31, 94, 255, 0.35), rgba(11, 60, 220, 0.18));
}
.org-manager::before,
.org-manager::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--blue), var(--cyan));
}
.org-manager::before { bottom: 100%; }
.org-manager::after { top: 100%; }
.org-manager .avatar { width: 54px; height: 54px; font-size: 24px; }
.org-manager h3 { font-size: 1.15rem; }
.org-manager p { font-size: 0.9rem; color: var(--silver); }

.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.area {
  --accent: #1f5eff;
  --accent-soft: rgba(31, 94, 255, 0.22);
  --accent-text: #8fb0ff;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--card-bg);
}
.area-design { --accent: #16a34a; --accent-soft: rgba(34, 197, 94, 0.18); --accent-text: #86efac; }
.area-support { --accent: #7c3aed; --accent-soft: rgba(139, 92, 246, 0.2); --accent-text: #c4b5fd; }
.area-admin { --accent: #ea580c; --accent-soft: rgba(249, 115, 22, 0.18); --accent-text: #fdba74; }
.area-sales { --accent: #0d9488; --accent-soft: rgba(20, 184, 166, 0.18); --accent-text: #5eead4; }
.area-head { padding: 22px 18px 16px; text-align: center; background: linear-gradient(180deg, var(--accent-soft), transparent); }
.area-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--accent);
  font-size: 22px;
  color: #fff;
}
.area h3 { margin-bottom: 6px; font-size: 1rem; }
.area-head p { font-size: 0.82rem; line-height: 1.5; color: var(--muted); }
.area-roles { display: grid; gap: 8px; padding: 6px 14px 16px; }
.area-roles li { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.area-roles strong { display: block; font-size: 0.85rem; font-weight: 600; line-height: 1.3; color: var(--white); }
.area-roles span { font-size: 0.8rem; color: var(--accent-text); }
.org-note { margin-top: 40px; text-align: center; font-size: 1.02rem; color: var(--silver); }

/* Organigrama: los socios forman un solo bloque y una barra conecta la gerencia con las cinco áreas */
.founders {
  position: relative;
  padding: 40px 22px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
}
.founders::before {
  content: "Socios / propietarios";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cyan);
}
.areas { position: relative; padding-top: 28px; }
.areas::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc((100% - 64px) / 10);
  right: calc((100% - 64px) / 10);
  height: 28px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) top / 100% 1px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 0 0 / 1px 100% no-repeat,
    linear-gradient(var(--blue), var(--blue)) 25% 0 / 1px 100% no-repeat,
    linear-gradient(var(--blue), var(--blue)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--blue), var(--blue)) 75% 0 / 1px 100% no-repeat,
    linear-gradient(var(--blue), var(--blue)) 100% 0 / 1px 100% no-repeat;
}

.name-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 22px; }
.name-card { padding: 32px; border-radius: 22px; border: 1px solid var(--line); background: var(--card-bg); }
.name-card .big { display: block; margin-bottom: 14px; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; }
.name-card p { color: var(--muted); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.swatch { overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: var(--card-bg); }
.swatch-color { height: 96px; border-bottom: 1px solid var(--line); background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.swatch-body { padding: 20px 20px 22px; }
.swatch h3 { margin-bottom: 6px; font-size: 1.02rem; }
.swatch p { font-size: 0.88rem; color: var(--muted); }
.swatch .msg { margin-top: 10px; font-size: 0.82rem; font-weight: 600; color: var(--cyan); }
.brand-summary { max-width: 820px; margin: 40px auto 0; text-align: center; font-size: 1.04rem; color: var(--muted); }

/* ---------- Política de calidad ---------- */
.policy { max-width: 860px; margin-inline: auto; }
.policy p { margin-bottom: 20px; font-size: 1.05rem; color: var(--muted); }
.policy p strong { color: var(--white); }
.policy ul { display: grid; gap: 10px; margin: 0 0 20px; }
.policy li { display: flex; gap: 12px; color: var(--muted); }
.policy li .icon { margin-top: 5px; color: var(--cyan); }
.motto {
  margin-top: 40px;
  padding: 32px 36px;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 0% 0%, rgba(31, 94, 255, 0.28), transparent 55%),
    linear-gradient(180deg, #0a1328, #060b19);
  text-align: center;
}
.motto small {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.motto p { margin: 0; font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; color: var(--white); }

.law-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.law { display: flex; flex-direction: column; padding: 28px 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--card-bg); }
.law .tag { width: fit-content; margin-bottom: 16px; }
.law h3 { margin-bottom: 10px; font-size: 1.12rem; }
.law p { font-size: 0.93rem; color: var(--muted); }
.law .link-arrow { margin-top: auto; padding-top: 18px; font-size: 0.9rem; }

.rights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.rights { padding: 34px 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--card-bg); }
.rights-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.rights-head .icon-tile { margin-bottom: 0; }
.rights h3 { font-size: 1.3rem; }
.rights > p { margin-bottom: 20px; font-size: 0.95rem; color: var(--muted); }
.rights-list { display: grid; gap: 14px; }
.rights-list li { display: flex; gap: 12px; font-size: 0.94rem; color: var(--muted); }
.rights-list .icon { margin-top: 5px; color: var(--cyan); }
.rights-list strong { font-weight: 600; color: var(--white); }

/* ---------- PQRSF ---------- */
.types-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.type-card {
  display: block;
  padding: 26px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.type-card:hover { transform: translateY(-4px); border-color: rgba(42, 198, 255, 0.4); }
.type-letter {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--grad);
  box-shadow: 0 12px 30px -10px rgba(31, 94, 255, 0.9);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}
.type-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.type-card p { font-size: 0.88rem; color: var(--muted); }

.status-flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.status-flow li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(31, 94, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--silver);
}
.status-flow b { font-family: var(--font-display); font-size: 0.72rem; font-weight: 400; color: var(--cyan); }

.form-panel { max-width: 920px; margin-inline: auto; padding: 40px; }
.form-panel fieldset { display: grid; gap: 18px; min-width: 0; border: 0; }
.form-panel fieldset + fieldset { margin-top: 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-panel legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.form-panel legend b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--grad);
  font-size: 0.85rem;
  color: #fff;
}
.form-row.three { grid-template-columns: repeat(3, 1fr); }
.form-row > .field { align-content: end; } /* campos alineados aunque una etiqueta ocupe dos líneas */
.optional { font-weight: 400; color: var(--muted); }
.field input[type="date"] { color-scheme: dark; }

.choice-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  color: var(--silver);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.choice:hover span { border-color: rgba(42, 198, 255, 0.5); color: var(--white); }
.choice input:checked + span { border-color: transparent; background: var(--grad-solid); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 94, 255, 0.9); }
.choice input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.field.invalid .choice span { border-color: #ff6b8a; }
.field-label { font-size: 0.85rem; font-weight: 600; color: var(--silver); }
.field-hint { font-size: 0.8rem; color: var(--muted); }

.field .check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; font-weight: 400; color: var(--muted); cursor: pointer; }
.check input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); cursor: pointer; }
.check a { color: var(--cyan); text-decoration: underline; }
.field.invalid .check { color: #ff8aa3; }

.callout {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(31, 94, 255, 0.08);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.callout:hover { border-color: rgba(42, 198, 255, 0.5); background: rgba(31, 94, 255, 0.14); }
.callout .icon-tile { flex-shrink: 0; margin-bottom: 0; }
.callout-text strong { display: block; font-size: 0.98rem; color: var(--white); }
.callout-text span { font-size: 0.88rem; color: var(--muted); }

.faq-item p a,
.section-note a,
.policy p a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.rights-grid + .highlight-card { margin: 22px 0 0; }

/* ---------- Página de error 404 ---------- */
.not-found { display: grid; align-items: center; min-height: 100vh; min-height: 100svh; border-bottom: 0; }
.nf-code { display: block; margin-bottom: 8px; font-family: var(--font-display); font-size: clamp(4.5rem, 14vw, 8rem); line-height: 1; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

/* ---------- Política de tratamiento de datos ---------- */
.page-hero .doc-meta { margin-top: 18px; font-size: 0.9rem; font-weight: 600; color: var(--cyan); }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card-bg);
}
.toc h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.toc ol { display: grid; gap: 6px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 8px; font-size: 0.88rem; line-height: 1.4; color: var(--muted); transition: color 0.2s ease; }
.toc a::before { content: counter(toc) "."; min-width: 1.7em; font-weight: 600; color: var(--cyan); }
.toc a:hover { color: var(--white); }

.legal { max-width: 820px; }
.legal > section { scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal > section + section { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.legal h2 { display: flex; gap: 12px; margin-bottom: 18px; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.legal h2 .n { color: var(--cyan); }
.legal h3 { margin-bottom: 6px; font-size: 1.1rem; }
.legal p { margin-bottom: 16px; color: var(--muted); }
.legal strong { color: var(--white); }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal ul { display: grid; gap: 10px; margin-bottom: 16px; }
.legal ul li { display: flex; gap: 12px; color: var(--muted); }
.legal ul li .icon { margin-top: 5px; color: var(--cyan); }
.legal dl { display: grid; gap: 12px; margin-bottom: 16px; }
.legal dl > div { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.legal dt { font-weight: 600; color: var(--white); }
.legal dd { font-size: 0.95rem; color: var(--muted); }
.legal dl.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.legal dl.facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }

.deadlines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 8px 0 20px; }
.deadline {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 0% 0%, rgba(31, 94, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #0a1328, #060b19);
}
.deadline p { margin-bottom: 10px; font-size: 0.92rem; }
.deadline .big { display: block; margin: 6px 0 8px; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; line-height: 1.1; color: var(--white); }

/* ---------- Animación al hacer scroll ---------- */
.js .reveal { opacity: 0; }
.js .reveal.visible { animation: reveal 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s) both; }

@keyframes reveal {
  from { opacity: 0; translate: 0 32px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(42, 198, 255, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(42, 198, 255, 0); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 720px; margin-inline: auto; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions,
  .hero-points { justify-content: center; }
  .hero-visual { width: 100%; max-width: 520px; margin-inline: auto; }

  .services-grid,
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-panel { grid-template-columns: 1fr; gap: 40px; padding: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .included { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 44px; }
  .cta-mark { right: -40px; }
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 14px 24px 26px;
    border-bottom: 1px solid var(--line);
    background: rgba(3, 5, 11, 0.97);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 28px; }
  .steps::before { display: none; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 44px; }

  .nav-cta { display: none; }
  .brand img { height: 28px; }
  .brand-name { font-size: 0.8rem; }

  .hero { padding: 120px 0 72px; }
  .hero-lead { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-points { flex-direction: column; align-items: center; }

  .float-chip { padding: 7px 12px 7px 7px; font-size: 0.75rem; }
  .float-chip .icon-wrap { width: 24px; height: 24px; font-size: 12px; }
  .chip-b { right: 0; }
  .code-card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: -24px; }

  .services-grid,
  .projects-grid,
  .steps { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }

  .contact-panel { padding: 28px 18px; border-radius: 24px; }
  .contact-form { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }

  .page-hero { padding: 130px 0 70px; }
  .page-hero p { font-size: 1.02rem; }
  .included,
  .mv-grid { grid-template-columns: 1fr; }
  .included-title { margin-top: 64px; }
  .mv-card { padding: 30px 24px; }
  .cta-band { padding: 32px 22px; border-radius: 24px; }
  .cta-band .btn { width: 100%; justify-content: center; }
}

/* Responsive de las secciones de Nosotros, Servicios, Política de calidad y PQRSF */
@media (max-width: 1100px) {
  .areas,
  .types-grid,
  .choice-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .values-grid,
  .law-grid,
  .goals-grid,
  .swatches,
  .included.four { grid-template-columns: repeat(2, 1fr); }
  .founders { gap: 16px; }
  .founder { padding: 26px 16px 22px; }
  .founder-photo { width: 116px; height: 116px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .areas,
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .rights-grid,
  .custom-grid,
  .name-grid,
  .form-row.three { grid-template-columns: 1fr; }
  .form-panel { padding: 28px 22px; }
}

@media (max-width: 640px) {
  .values-grid,
  .law-grid,
  .goals-grid,
  .swatches,
  .areas,
  .types-grid,
  .included.four { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-card { flex-direction: column; padding: 28px 22px; }
  .founder { padding: 22px 20px; }
  .rights,
  .name-card { padding: 28px 22px; }
  .org-manager { padding: 18px 20px; }
  .motto { padding: 26px 20px; }
  .form-panel { padding: 22px 16px; }
}

/* Proyectos realizados: una tarjeta por fila en tabletas y celulares */
@media (max-width: 860px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .work-shot { margin: 16px 16px 0; }
  .work-info { padding: 20px 20px 24px; }
}

/* Socios en celulares: una tarjeta por fila */
@media (max-width: 700px) {
  .founders { grid-template-columns: minmax(0, 1fr); max-width: 400px; margin-inline: auto; }
  .founder-photo { width: 132px; height: 132px; }
}

/* Organigrama en pantallas medianas y pequeñas: áreas centradas, sin la barra de conexión */
@media (max-width: 1100px) {
  .areas { display: flex; flex-wrap: wrap; justify-content: center; padding-top: 0; }
  .areas::before,
  .org-manager::after { display: none; }
  .org-manager { margin-bottom: 32px; }
  .areas > .area { flex: 0 1 calc((100% - 32px) / 3); }
}
@media (max-width: 760px) {
  .areas > .area { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 640px) {
  .areas > .area { flex-basis: 100%; }
  .founders { padding: 36px 14px 14px; }
  .cta-section { padding-top: 0; }
  .chip-b { top: 7%; bottom: auto; right: 0; }
}

/* Política de datos en pantallas medianas y pequeñas: el índice pasa arriba del texto */
@media (max-width: 1024px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .toc { position: static; max-height: none; overflow: visible; }
  .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}
@media (max-width: 640px) {
  .toc ol,
  .legal dl.facts,
  .deadlines { grid-template-columns: minmax(0, 1fr); }
  .toc { padding: 20px 18px; }
  /* Ruta de navegación de tres niveles (datos.html): cada tramo en una sola línea */
  .breadcrumb { flex-wrap: wrap; justify-content: center; row-gap: 2px; border-radius: 18px; }
  .breadcrumb > * { white-space: nowrap; }
}

/* Modo de alto contraste de Windows: la opción elegida debe distinguirse sin el degradado */
@media (forced-colors: active) {
  .choice input:checked + span,
  .filter-btn.active {
    forced-color-adjust: none;
    border-color: Highlight;
    background: Highlight;
    color: HighlightText;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal.visible { animation-delay: 0s !important; }
}
