/* ==========================================================================
   INTEMIA — Web corporativa V3 (diseño mixto claro / oscuro)
   CSS propio, sin frameworks, sin fuentes externas, sin dependencias.
   Las zonas claras y oscuras redefinen las mismas variables semánticas,
   de modo que cada componente se adapta sin duplicar reglas.
   ========================================================================== */

:root {
  /* marca */
  --blue:        #0f5fe0;
  --blue-hover:  #1868e8;
  --blue-deep:   #0b4bb5;
  --cyan:        #38d9ff;
  --cyan-soft:   #6fc3ff;

  /* zona oscura (valores por defecto) */
  --bg:          #050912;
  --bg-2:        #070d1a;
  --text:        #eaf0fa;
  --muted:       #b3c0d6;
  --dim:         #93a1b9;
  --line:        #1e2e4c;
  --line-soft:   #17253e;
  --card:        #0c1526;
  --card-2:      #101c33;
  --accent-text: var(--cyan);
  --accent-line: rgba(56, 217, 255, 0.45);
  --focus:       #7fdcff;
  --shadow:      0 40px 80px -50px rgba(0, 0, 0, 0.95);

  --maxw:        1280px;
  --gutter:      clamp(1.25rem, 3.2vw, 2.75rem);
  --gap:         clamp(1rem, 1.8vw, 1.6rem);
  --radius:      18px;
  --radius-sm:   12px;
  --radius-xs:   8px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;

  --step-h1:   clamp(2.5rem, 1.3rem + 3.3vw, 4.25rem);
  --step-h2:   clamp(1.8rem, 1.2rem + 1.9vw, 2.9rem);
  --step-h3:   clamp(1.12rem, 1.03rem + 0.32vw, 1.36rem);
  --step-lead: clamp(1.13rem, 1.02rem + 0.5vw, 1.31rem);
  --step-body: clamp(1.02rem, 0.98rem + 0.22vw, 1.17rem);

  /* 64 px en móvil, ~96 px a 1440, 120 px máximo */
  --sect-pad:  clamp(4rem, 1rem + 5.5vw, 7.5rem);
  --band-pad:  clamp(3rem, 0.75rem + 3.4vw, 4.75rem);
}

/* ---------------------------------------------------- zonas */

.zone-dark {
  --bg: #050912; --bg-2: #070d1a;
  --text: #eaf0fa; --muted: #b3c0d6; --dim: #93a1b9;
  --line: #1e2e4c; --line-soft: #17253e;
  --card: #0c1526; --card-2: #101c33;
  --accent-text: #38d9ff;
  --accent-line: rgba(56, 217, 255, 0.45);
  --shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.95);
  background: var(--bg);
  color: var(--text);
}

.zone-mist {
  --bg: #edf2f8; --bg-2: #e4ebf4;
  --text: #0a1a30; --muted: #33465f; --dim: #4a5c76;
  --line: #cfdaea; --line-soft: #dee6f1;
  --card: #ffffff; --card-2: #f7fafd;
  --accent-text: #0b4bb5;
  --accent-line: rgba(15, 95, 224, 0.35);
  --shadow: 0 24px 48px -32px rgba(10, 26, 48, 0.35);
  background: var(--bg);
  color: var(--text);
}

.zone-light {
  --bg: #fbfcfe; --bg-2: #f3f7fc;
  --text: #0a1a30; --muted: #33465f; --dim: #4a5c76;
  --line: #d8e2ef; --line-soft: #e6ecf5;
  --card: #ffffff; --card-2: #f7fafd;
  --accent-text: #0b4bb5;
  --accent-line: rgba(15, 95, 224, 0.32);
  --shadow: 0 24px 52px -34px rgba(10, 26, 48, 0.32);
  background: var(--bg);
  color: var(--text);
}

.zone-pale {
  --bg: #e6eefb; --bg-2: #dde8f8;
  --text: #0a1a30; --muted: #33465f; --dim: #4a5c76;
  --line: #c8d7ee; --line-soft: #d8e3f4;
  --card: #ffffff; --card-2: #f6f9fe;
  --accent-text: #0b4bb5;
  --accent-line: rgba(15, 95, 224, 0.35);
  --shadow: 0 22px 44px -30px rgba(10, 26, 48, 0.3);
  background: var(--bg);
  color: var(--text);
}

/* ---------------------------------------------------- base */

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(17px, 16.2px + 0.16vw, 19px);
  line-height: 1.68;
  color: var(--text);
  background-color: #050912;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0 0 .55em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.14; color: var(--text); }
h1 { font-size: var(--step-h1); line-height: 1.1; }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); line-height: 1.3; letter-spacing: -0.01em; }
p  { margin: 0 0 1.1em; }

a { color: var(--accent-text); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.zone-mist :focus-visible,
.zone-light :focus-visible,
.zone-pale :focus-visible { outline-color: var(--blue-deep); }

.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;
}

.skip-link {
  position: absolute; left: 14px; top: -120px; z-index: 300;
  background: var(--blue); color: #fff;
  padding: .85rem 1.35rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 650; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.wrap { width: min(100% - (var(--gutter) * 2), var(--maxw)); margin-inline: auto; }

/* ---------------------------------------------------- etiquetas */

.tag {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 0 0 1rem;
  padding: .38rem .95rem .38rem .75rem;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: rgba(15, 95, 224, 0.09);
  background: color-mix(in srgb, var(--accent-text) 8%, transparent);
  color: var(--accent-text);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  line-height: 1.5;
}
.tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-text);
}
.zone-dark .tag::before { box-shadow: 0 0 10px rgba(56, 217, 255, 0.85); }
.tag-lg { font-size: .82rem; padding: .45rem 1.1rem .45rem .85rem; margin-bottom: 1.35rem; }

/* ---------------------------------------------------- botones */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650; font-size: 1rem; line-height: 1.25;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn-sm { padding: .62rem 1.25rem; font-size: .95rem; }
.btn-lg { padding: 1.1rem 2.35rem; font-size: 1.06rem; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 30px -12px rgba(15, 95, 224, 0.9); }
.btn-primary:hover { background: var(--blue-hover); color: #fff; transform: translateY(-2px); }

.btn-outline { background: rgba(255, 255, 255, 0.03); color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--cyan-soft); background: rgba(111, 195, 255, 0.09); color: #fff; transform: translateY(-2px); }

/* ---------------------------------------------------- cabecera */

.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(5, 9, 18, 0.88);
  border-bottom: 1px solid #17253e;
  backdrop-filter: saturate(150%) blur(12px);
  color: #eaf0fa;
}
.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 86px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; line-height: 0; margin-right: auto; }
.brand img { width: 244px; height: auto; }

.nav-toggle {
  display: none; align-items: center; gap: .6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #1e2e4c; color: #eaf0fa;
  border-radius: var(--radius-sm);
  padding: .65rem 1rem;
  font: inherit; font-size: .97rem; font-weight: 600;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after { display: block; width: 19px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }

.nav-list { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: inline-block; padding: .6rem .85rem;
  color: #b3c0d6; text-decoration: none;
  border-radius: var(--radius-sm); font-size: .98rem;
  transition: color .18s ease, background-color .18s ease;
}
.nav-list a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-cta-item { margin-left: .75rem; }
.nav-cta-item a { color: #fff; }
.nav-cta-item a:hover { color: #fff; background: var(--blue-hover); }

/* ---------------------------------------------------- secciones */

.section { position: relative; padding: var(--sect-pad) 0; }
.band { position: relative; padding: var(--band-pad) 0; }

/* costura discreta entre zonas */
.section::before, .band::before, .closing-section::before {
  content: "";
  position: absolute; left: 50%; top: 0;
  width: 1px; height: clamp(26px, 3.5vw, 46px);
  background: linear-gradient(180deg, var(--accent-text), transparent);
  opacity: .5;
}

.section-head { max-width: 58ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .tag { margin-inline: auto; }
.section-intro { font-size: var(--step-body); color: var(--muted); margin-bottom: 0; }
.body-lg { font-size: var(--step-body); color: var(--muted); max-width: 60ch; }

/* ---------------------------------------------------- portada */

.hero { position: relative; padding: clamp(2.75rem, 5vw, 5rem) 0 clamp(2.5rem, 3.5vw, 3.25rem); overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 500px at 74% 30%, rgba(15, 95, 224, 0.30), transparent 62%),
    radial-gradient(600px 400px at 12% 6%, rgba(56, 217, 255, 0.11), transparent 60%);
}
.hero-glow::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(120, 170, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 170, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(720px 500px at 70% 35%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(720px 500px at 70% 35%, #000 10%, transparent 72%);
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero h1 { max-width: 19ch; margin-bottom: .5em; }
.lead { font-size: var(--step-lead); line-height: 1.62; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.1rem 0 0; }

.hero-visual { position: relative; display: grid; justify-items: center; gap: 1.75rem; }
.symbol-stage { position: relative; line-height: 0; }
.symbol-stage img { width: min(100%, 300px); height: auto; position: relative; z-index: 1; }
.symbol-halo {
  position: absolute; left: 50%; top: 52%;
  width: 132%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 217, 255, 0.24), rgba(15, 95, 224, 0.13) 42%, transparent 68%);
  filter: blur(6px);
}

/* esquema compacto: deliberadamente discreto para no competir con las infografías */
.relstrip {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.node {
  display: inline-block; padding: .38rem .85rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-size: .82rem; font-weight: 600; white-space: nowrap;
}
.node-core {
  border-color: rgba(56, 217, 255, 0.5);
  background: linear-gradient(180deg, rgba(15, 95, 224, 0.3), rgba(15, 95, 224, 0.08));
  color: var(--text);
}
.relstrip-line { width: 26px; height: 1px; background: linear-gradient(90deg, var(--cyan), rgba(56, 217, 255, 0.15)); }

.rail {
  position: relative; z-index: 1;
  list-style: none; margin: clamp(2.25rem, 4vw, 3.25rem) 0 0; padding: 1.35rem 0 0;
  border-top: 1px solid var(--line-soft);
  display: grid; gap: .55rem 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.rail li { display: flex; align-items: center; gap: .6rem; font-size: .93rem; color: var(--dim); }
.rail-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--cyan); box-shadow: 0 0 0 4px rgba(56, 217, 255, 0.12); }

/* ---------------------------------------------------- marcos de infografía */

.shot { margin: 0; }
.shot-frame {
  display: block; position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-2);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.shot-frame:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.shot-frame img { display: block; width: 100%; height: auto; }

.shot-bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .6rem .85rem;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.shot-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }

.shot-open {
  display: block;
  padding: .6rem .9rem;
  border-top: 1px solid var(--line);
  background: var(--card);
  color: var(--accent-text);
  font-size: .86rem; font-weight: 650;
}
.shot-open::after { content: " \2197"; }
.shot-frame:hover .shot-open { text-decoration: underline; }

.shot figcaption {
  margin-top: .75rem;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--dim);
  max-width: 62ch;
}
.shot-wide { margin-top: clamp(2.25rem, 4vw, 3.5rem); }
.shot-on-dark { margin-top: clamp(2.5rem, 4.5vw, 3.75rem); }

/* ---------------------------------------------------- qué resuelve */

.solve {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.solve-head h2 { max-width: 17ch; margin-bottom: 1.5rem; }
.shot-inline { max-width: 520px; }

.problems { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.problem {
  display: flex; align-items: flex-start; gap: 1.15rem;
  padding: clamp(1.4rem, 2.2vw, 1.85rem) clamp(1.3rem, 2vw, 1.7rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: border-color .22s ease, transform .22s ease;
}
.problem:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.problem h3 { margin-bottom: .35rem; }
.problem p { margin: 0; color: var(--muted); font-size: .99rem; }
.problem-num { flex: none; font-size: 1.05rem; font-weight: 800; letter-spacing: .04em; color: var(--accent-text); padding-top: .2rem; }

/* ---------------------------------------------------- bloques imagen + texto */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: center;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}
.feature:last-child { margin-bottom: 0; }
.feature-reverse { grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); }
.feature-reverse .feature-text { order: 2; }
.feature-reverse .shot { order: 1; }
.feature-text .body-lg:last-child { margin-bottom: 0; }

.list-dash { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.list-dash li {
  position: relative; padding: .55rem 0 .55rem 1.6rem;
  color: var(--muted); font-size: .99rem;
}
.list-dash li::before {
  content: ""; position: absolute; left: 0; top: 1.15rem;
  width: 12px; height: 2px; border-radius: 2px; background: var(--blue);
}

/* ---------------------------------------------------- organización */

.components {
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.component {
  position: relative;
  padding: clamp(1.6rem, 2.4vw, 2.1rem) clamp(1.4rem, 2vw, 1.8rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
/* conector horizontal entre tarjetas de la misma fila */
.component::after {
  content: "";
  position: absolute; top: 2.4rem; left: calc(100% + 1px);
  width: var(--gap); height: 8px;
  background:
    radial-gradient(circle at 50% 50%, var(--blue) 0 3px, transparent 3.5px),
    linear-gradient(180deg, transparent 3px, var(--accent-line) 3px, var(--accent-line) 5px, transparent 5px);
  opacity: .85;
}
.component:nth-child(3n)::after { display: none; }
.component:hover { border-color: var(--accent-line); transform: translateY(-4px); }

.component-index { position: absolute; right: 1.2rem; top: 1.1rem; font-size: .82rem; font-weight: 800; letter-spacing: .1em; color: var(--dim); opacity: .7; }
.component-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; margin-bottom: 1.05rem;
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  background: rgba(15, 95, 224, 0.12);
  background: color-mix(in srgb, var(--blue) 12%, transparent);
}
.component-icon svg { fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.zone-dark .component-icon svg { stroke: var(--cyan); }
.component h3 { margin-bottom: .4rem; }
.component p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------------------------------------------------- principios (banda) */

.band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 2fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: center;
}
.band-head h2 { margin-bottom: 0; font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.35rem); max-width: 12ch; }
.principles { margin: 0; display: grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.principle {
  padding: 1.25rem 1.2rem;
  border-left: 3px solid var(--blue);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 4px var(--radius-sm) var(--radius-sm) 4px;
}
.principle dt { font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: .5rem; }
.principle dd { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }

/* ---------------------------------------------------- seguridad */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.25rem, 4.5vw, 4rem);
  align-items: center;
}
.split-text h2 { max-width: 18ch; }

.window {
  margin: 0; width: 100%;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.window-bar { display: flex; align-items: center; gap: .45rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.window-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.window-title { margin-left: .75rem; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--dim); }
.window-body { padding: clamp(1.35rem, 2.4vw, 1.9rem) clamp(1.1rem, 2vw, 1.6rem); }
.window-caption { margin: 0; padding: .7rem 1.1rem; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.22); font-size: .8rem; color: var(--dim); }

.trace { list-style: none; margin: 0; padding: 0; }
.trace li { position: relative; padding: 0 0 1.6rem 2.5rem; }
.trace li:last-child { padding-bottom: 0; }
.trace li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: -2px; width: 1px; background: linear-gradient(180deg, rgba(56, 217, 255, 0.55), rgba(56, 217, 255, 0.12)); }
.trace li:last-child::before { display: none; }
.trace-node { position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--cyan); background: var(--bg-2); box-shadow: 0 0 0 5px rgba(56, 217, 255, 0.12); }
.trace-node-end { background: var(--cyan); }
.trace-label { display: block; font-weight: 650; color: var(--text); font-size: 1.02rem; }
.trace-note { display: block; font-size: .88rem; color: var(--dim); }

.list-check { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.list-check li { position: relative; padding: .9rem 0 .9rem 2.1rem; border-bottom: 1px solid var(--line-soft); color: var(--muted); font-size: .99rem; }
.list-check li:last-child { border-bottom: 0; }
.list-check li::before { content: ""; position: absolute; left: 0; top: 1.4rem; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(56, 217, 255, 0.14); }

/* ---------------------------------------------------- destinatarios */

.audiences-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.audiences-head h2 { max-width: 16ch; margin-bottom: 0; }
.audiences-body { display: grid; gap: clamp(1.5rem, 2.5vw, 2.25rem); }
.audience-block { padding-left: 1.5rem; border-left: 3px solid var(--blue); }
.audience-secondary { border-left-color: var(--accent-line); }
.audience-block h3 { margin-bottom: .75rem; }

.list-arrow { list-style: none; margin: 0; padding: 0; }
.list-arrow li { position: relative; padding: .4rem 0 .4rem 1.5rem; color: var(--muted); font-size: 1rem; }
.list-arrow li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 7px; height: 7px; border-right: 2px solid var(--blue); border-top: 2px solid var(--blue); transform: rotate(45deg); }

/* ---------------------------------------------------- cierre */

.closing-section {
  position: relative;
  padding: var(--sect-pad) 0;
  background:
    radial-gradient(900px 460px at 50% 0%, rgba(15, 95, 224, 0.26), transparent 70%),
    linear-gradient(180deg, #060c18, #050912);
}
.closing {
  position: relative;
  padding: clamp(2.75rem, 5vw, 4.25rem) clamp(1.5rem, 4vw, 4rem);
  border: 1px solid rgba(56, 217, 255, 0.22);
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(160deg, rgba(16, 28, 51, 0.95), rgba(7, 13, 26, 0.95));
  box-shadow: 0 50px 90px -60px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}
.closing-inner { position: relative; z-index: 1; max-width: 44ch; }
.closing h2 { margin-bottom: .5em; }
.closing-text { font-size: var(--step-lead); color: var(--muted); margin-bottom: 0; }
.closing-mark { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 340px; line-height: 0; opacity: .16; pointer-events: none; }
.closing-mark img { width: 100%; height: auto; }
.closing-mail { margin: 2rem 0 0; }
.closing-mail a {
  display: inline-block; padding: .9rem 2.1rem;
  border: 1px solid rgba(56, 217, 255, 0.4); border-radius: 999px;
  background: rgba(56, 217, 255, 0.08);
  color: var(--cyan-soft);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem); font-weight: 650;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.closing-mail a:hover { background: rgba(56, 217, 255, 0.16); border-color: var(--cyan); color: #cfeeff; }

/* ---------------------------------------------------- pie */

.site-footer {
  border-top: 1px solid #17253e;
  background: #050912;
  color: #eaf0fa;
  padding: clamp(2.5rem, 4.5vw, 3.75rem) 0 2.25rem;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem 3.5rem; justify-content: space-between; align-items: flex-start; }
.footer-brand img { width: 200px; height: auto; margin-bottom: .75rem; }
.footer-brand p { margin: 0; color: #b3c0d6; font-size: .95rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-links a { font-size: .97rem; color: #6fc3ff; }
.footer-legal { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid #17253e; }
.footer-legal p { margin: 0 0 .45rem; font-size: .9rem; color: #93a1b9; }
.footer-phase { font-size: .88rem; margin-bottom: 0; }

/* ---------------------------------------------------- páginas legales */

.page-head { padding: clamp(3rem, 6vw, 4.5rem) 0 1rem; }
.page-head .back { font-size: .97rem; }
.legal { padding: 1rem 0 clamp(3.5rem, 7vw, 5.5rem); }
.legal .wrap { max-width: 78ch; }
.legal h2 { margin-top: 2.5rem; max-width: none; font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem); }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .55rem; }
.legal address { font-style: normal; color: var(--muted); }

.pendiente {
  display: inline-block; padding: .05rem .5rem;
  border: 1px dashed rgba(56, 217, 255, 0.55); border-radius: 6px;
  background: rgba(56, 217, 255, 0.09);
  color: var(--text); font-size: .88em; font-weight: 650; white-space: nowrap;
}

/* ---------------------------------------------------- aparición progresiva */

.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------- responsive */

@media (min-width: 1700px) {
  :root { --maxw: 1360px; }
  .brand img { width: 262px; }
}

@media (max-width: 1180px) {
  .brand img { width: 214px; }
  .nav-list a { padding: .55rem .65rem; font-size: .94rem; }
  .nav-cta-item { margin-left: .35rem; }
}

@media (max-width: 1023px) {
  .hero-inner,
  .solve,
  .feature,
  .feature-reverse,
  .split,
  .audiences-layout,
  .band-inner { grid-template-columns: minmax(0, 1fr); }
  .feature-reverse .feature-text { order: 0; }
  .feature-reverse .shot { order: 0; }
  .hero-visual { margin-top: 1rem; max-width: 560px; justify-self: start; width: 100%; }
  .hero h1 { max-width: 18ch; }
  .solve-head h2 { max-width: 24ch; }
  .shot-inline { max-width: none; }
  .components { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .component:nth-child(3n)::after { display: block; }
  .component:nth-child(2n)::after { display: none; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audiences-head h2 { max-width: 24ch; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { flex-basis: 100%; display: none; padding-bottom: 1rem; }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav-list a { padding: .8rem .9rem; font-size: 1rem; }
  .nav-cta-item { margin-left: 0; margin-top: .6rem; }
  .nav-cta-item a { display: block; text-align: center; padding: .85rem 1.25rem; }
  .no-js .nav { display: block; }
  .no-js .nav-toggle { display: none; }
}

@media (max-width: 700px) {
  .header-inner { min-height: 74px; }
  .brand img { width: 194px; }
  .hero { padding-top: 2.25rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .symbol-stage img { width: min(72%, 260px); }
  .problem { flex-direction: column; gap: .6rem; }
  .problem-num { padding-top: 0; }
  .rail { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .components { grid-template-columns: minmax(0, 1fr); }
  .component::after { display: none !important; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .closing-mark { right: -110px; width: 280px; opacity: .1; }
  .closing-inner { max-width: none; }
}

@media (max-width: 430px) {
  :root { --gutter: 1.15rem; }
  .brand img { width: 170px; }
  .nav-toggle { padding: .55rem .8rem; font-size: .92rem; }
  .tag { letter-spacing: .1em; font-size: .74rem; padding: .34rem .8rem .34rem .65rem; }
  .tag-lg { font-size: .76rem; }
  .hero h1 { max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .symbol-stage img { width: min(66%, 210px); }
  .relstrip { border-radius: var(--radius); }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .closing-mail a { display: block; text-align: center; padding: .85rem 1rem; }
  .closing-mark { display: none; }
  .audience-block { padding-left: 1.15rem; }
}

/* ---------------------------------------------------- preferencias */

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

@media print {
  .site-header, .nav-toggle, .hero-glow, .symbol-stage, .closing-mark, .skip-link { display: none !important; }
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
  .window, .shot { break-inside: avoid; }
}
