/* Control Logic — sistema de diseño */

:root {
  --bg: #0B0F17;
  --bg-raised: #0F1520;
  --surface: #131B29;
  --surface-2: #182234;
  --line: rgba(168, 190, 230, 0.10);
  --line-strong: rgba(168, 190, 230, 0.18);

  --text: #EDF1F7;
  --text-2: #B4BFD1;
  --muted: #8491A8;
  --faint: #5E6A80;

  --accent: #5B9FE0;
  --accent-hi: #86BCEE;
  --accent-deep: #1E4F9A;
  --accent-wash: rgba(91, 159, 224, 0.10);
  --on-accent: #06101F;

  --ok: #6CC7A0;

  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 11vw, 150px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-header: 20;
  --z-menu: 30;
  --z-banner: 40;
  --z-grain: 50;

  color-scheme: dark;
}

/* ---------- Base ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grano sutil para romper la planitud del fondo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-hi); }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
  color: var(--text);
}

p { margin: 0; text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text);
  color: var(--bg);
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus { top: 12px; color: var(--bg); }

/* ---------- Tipografía ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.display {
  font-size: clamp(42px, 6.4vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.h-section {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 58ch;
}

.accent { color: var(--accent); }
.soft { color: var(--muted); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }

.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hi); color: var(--on-accent); }

.btn-ghost { color: var(--text); background: transparent; border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--text); border-color: rgba(168, 190, 230, 0.36); background: rgba(168, 190, 230, 0.05); }

.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.link-arrow svg { width: 15px; height: 15px; color: var(--accent); transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Cabecera ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(11, 15, 23, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(11, 15, 23, 0.9); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
}
.nav a:not(.btn):hover { color: var(--text); background: rgba(168, 190, 230, 0.06); }
.nav a[aria-current] { color: var(--text); }
.nav a[aria-current]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
}
.nav .btn { margin-left: 10px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: var(--z-menu);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current]::after { display: none; }
  .nav .btn { margin: 16px 0 0; min-height: 52px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px) clamp(72px, 10vw, 136px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -30%;
  right: -12%;
  width: min(1000px, 110vw);
  aspect-ratio: 1;
  background:
    radial-gradient(closest-side, rgba(91, 159, 224, 0.20), rgba(30, 79, 154, 0.08) 55%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero-copy .display .accent { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--accent); }

/* Panel "servicio en marcha" */
.status {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-raised) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 40px 80px -30px rgba(3, 12, 32, 0.9),
    0 0 0 1px rgba(3, 8, 18, 0.6);
  font-size: 14px;
}
.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.status-title { font-weight: 600; font-size: 15px; }
.status-time { font-family: var(--font-mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

.status-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}
.status-row:last-of-type { border-bottom: 0; }
.status-row svg { width: 18px; height: 18px; color: var(--accent); }
.status-label { color: var(--text); font-weight: 500; }
.status-label small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.status-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(108, 199, 160, 0.14);
}
.status-foot {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--accent-wash);
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.5;
}
.status-foot strong { color: var(--text); font-weight: 600; }

.status-caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--faint);
  text-align: right;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .status-wrap { max-width: 520px; }
}

/* ---------- Marquesina de zona ---------- */

.ticker {
  border-block: 1px solid var(--line);
  background: var(--bg-raised);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 20px 14px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-2);
  white-space: nowrap;
}
.ticker-track span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */

.section { padding-block: var(--section) calc(var(--section) + 8px); }
.section-raised {
  background: var(--bg-raised);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .left { display: flex; flex-direction: column; gap: 20px; }
.section-head .lead { justify-self: end; }
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
}

/* Experiencia */
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.story-quote {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 500;
}
.story-quote em { font-style: normal; color: var(--accent); }
.story-body { display: flex; flex-direction: column; gap: 32px; padding-top: 10px; }
.story-body > p { font-size: 18px; line-height: 1.7; color: var(--text-2); max-width: 56ch; }

.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checklist li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
}
.checklist li span:first-child {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* Índice de servicios */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1.05fr) minmax(0, 1.25fr) 48px;
  gap: 24px;
  align-items: center;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  transition: background-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.service-row:hover { color: var(--text); background: linear-gradient(90deg, var(--accent-wash), transparent 70%); padding-left: 20px; }
.service-row:hover::before { width: 100%; }
.service-num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.service-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.service-title svg { flex: none; width: 22px; height: 22px; color: var(--accent); }
.service-desc { font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 48ch; transition: color 0.3s var(--ease); }
.service-row:hover .service-desc { color: var(--text-2); }
.service-go {
  justify-self: end;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-go svg { width: 16px; height: 16px; }
.service-row:hover .service-go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(-45deg); }

@media (max-width: 860px) {
  .service-row { grid-template-columns: 40px 1fr 44px; gap: 8px 16px; padding: 24px 0; }
  .service-row:hover { padding-left: 0; }
  .service-desc { grid-column: 2 / 3; grid-row: 2; }
  .service-go { grid-column: 3; grid-row: 1 / 3; }
}

/* Zona */
.zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.zone-copy { display: flex; flex-direction: column; gap: 22px; }
.zone-copy p { color: var(--text-2); font-size: 17px; line-height: 1.7; max-width: 52ch; }
.towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.towns li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
}
.towns li:nth-child(odd) { padding-right: 20px; }
.towns li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.towns small { font-family: var(--font-mono); font-size: 11.5px; font-weight: 400; color: var(--muted); letter-spacing: 0.02em; }
.towns li.remote { grid-column: 1 / -1; color: var(--muted); font-weight: 400; font-size: 15px; padding-left: 4px; border-left: 0; }
@media (max-width: 860px) { .zone { grid-template-columns: 1fr; } }
@media (max-width: 460px) {
  .towns { grid-template-columns: 1fr; }
  .towns li:nth-child(odd), .towns li:nth-child(even) { padding-inline: 4px; border-left: 0; }
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-head { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 20px; }
.faq-head p { color: var(--muted); font-size: 15.5px; max-width: 34ch; }
.faq-list { margin: 0; border-top: 1px solid var(--line-strong); }
.faq-item { padding: 28px 0 30px; border-bottom: 1px solid var(--line-strong); }
.faq-item dt, .faq-item h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.35; margin-bottom: 10px; }
.faq-item dd, .faq-item p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.7; max-width: 62ch; }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

/* CTA */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -60%;
  width: min(1200px, 140vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(91, 159, 224, 0.16), rgba(30, 79, 154, 0.06) 60%, transparent 75%);
}
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: end;
}
.cta-inner .left { display: flex; flex-direction: column; gap: 22px; }
.cta-title { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.032em; }
.cta-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 30px 60px -30px rgba(3, 12, 32, 0.9);
}
.cta-card .label { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.email-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.email {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  word-break: break-all;
}
.email:hover { color: var(--accent-hi); }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.copy-btn:hover { color: var(--text); border-color: rgba(168, 190, 230, 0.36); }
.copy-btn:active { transform: translateY(1px); }
.copy-btn[data-state="done"] { color: var(--ok); border-color: rgba(108, 199, 160, 0.4); }
.copy-btn svg { width: 14px; height: 14px; }
.cta-card .btn { width: 100%; }
.cta-note { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Páginas de servicio ---------- */

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--faint); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text-2); }

.page-hero .display { font-size: clamp(38px, 5.4vw, 72px); }
.page-hero .display .accent { display: inline; }
.page-hero .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; }

.hero-badge {
  justify-self: end;
  width: min(100%, 340px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 50% 40%, rgba(91, 159, 224, 0.14), transparent 65%);
}
.hero-badge::before,
.hero-badge::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
}
.hero-badge::before { inset: 14%; }
.hero-badge::after { inset: 30%; border-style: solid; border-color: var(--line); }
.hero-badge svg { width: 30%; height: 30%; color: var(--accent); position: relative; z-index: 1; }
@media (max-width: 960px) { .hero-badge { display: none; } }

.includes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 72px);
}
.includes li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 0;
  padding: 30px 0 32px;
  border-top: 1px solid var(--line-strong);
}
.includes li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.includes .n { grid-row: span 2; font-family: var(--font-mono); font-size: 13px; color: var(--accent); padding-top: 5px; font-variant-numeric: tabular-nums; }
.includes h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.3; }
.includes p { color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 52ch; margin-top: 6px; }
@media (max-width: 760px) { .includes { grid-template-columns: 1fr; } }

.why {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.why-quote {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.why-quote blockquote {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--text);
  text-wrap: pretty;
}
.why-local {
  display: flex;
  gap: 14px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}
.why-local svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

.more {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.more a {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: background-color 0.25s var(--ease);
}
.more a:hover { background: var(--surface); color: var(--text); }
.more svg { width: 20px; height: 20px; color: var(--accent); }
.more .go { margin-top: auto; font-size: 13px; font-family: var(--font-mono); color: var(--muted); }
.more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.more-head h2 { font-size: 22px; letter-spacing: -0.015em; }

/* ---------- Páginas legales ---------- */

.legal-hero { padding-block: clamp(56px, 8vw, 96px) 40px; border-bottom: 1px solid var(--line); }
.legal-hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.legal-hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.03em; line-height: 1.05; }
.legal-hero .updated { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }

.prose {
  max-width: 72ch;
  padding-block: 56px var(--section);
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.75;
}
.prose h2 {
  margin: 56px 0 16px;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; font-size: 18px; color: var(--text); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { text-decoration: underline; text-decoration-color: rgba(91, 159, 224, 0.4); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }

/* ---------- Pie ---------- */

.site-footer { border-top: 1px solid var(--line); padding-block: 64px 40px; font-size: 14.5px; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { height: 40px; width: auto; align-self: flex-start; }
.footer-brand p { color: var(--muted); max-width: 36ch; line-height: 1.6; }
.footer-col h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--faint); letter-spacing: 0.04em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col button {
  color: var(--text-2);
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover, .footer-col button:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Banner de cookies ---------- */

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: auto;
  z-index: var(--z-banner);
  width: min(440px, calc(100% - 40px));
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -20px rgba(2, 8, 20, 0.85);
}
.cookie-banner.is-open { display: flex; animation: rise 0.45s var(--ease) both; }
.cookie-banner p { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 520px) { .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); } }

/* ---------- 404 ---------- */

.notfound { min-height: 70dvh; display: grid; place-items: center; text-align: left; }
.notfound .wrap { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; max-width: 720px; }
.notfound .code { font-family: var(--font-mono); color: var(--accent); font-size: 14px; }

/* ---------- Animación de entrada ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }

@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 { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* Ajustes */
figure.status { margin: 0; }
.story-quote { margin-top: 24px; }
.section-more { padding-top: clamp(64px, 8vw, 96px); }
.notfound + .section-more { padding-top: 0; }
