/* NovaCore Regional Tech — sitio principal
   Diseño: azul marino profundo, azul eléctrico y celeste. Tipografías: Unbounded (títulos),
   Manrope (texto), IBM Plex Mono (etiquetas). Tema oscuro único. */
:root {
  --bg: #060818;
  --bg2: #080B22;
  --panel: #0B0F2A;
  --panel2: #0D1233;
  --line: #1E2452;
  --line2: #262D63;
  --text: #EEF0FF;
  --muted: #C9CDF0;
  --muted2: #A3A9CC;
  --c1: #38BDF8;
  --c2: #2563EB;
  --c3: #6366F1;
  --b2: #93C5FD;
  --dark: #060818;
  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --maxw: 1280px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--c1); outline-offset: 3px; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 48px), env(safe-area-inset-right, 0px));
}
.sec { position: relative; overflow: hidden; padding-block: clamp(72px, 9vw, 128px); }
.sec > .wrap { position: relative; }
.eyebrow { margin-bottom: 18px; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--c1); }
.h2 { max-width: 900px; font-size: clamp(30px, 4vw, 54px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #FFFFFF; }
.lead { max-width: 640px; margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--muted); }

.grad {
  background: linear-gradient(90deg, var(--c1), var(--c2), var(--c3), var(--c1));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 30px; border: 0; cursor: pointer;
  background: linear-gradient(90deg, var(--c1), var(--b2));
  color: var(--dark); font-weight: 800; font-size: 16px;
  transition: transform .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 40px -8px var(--c2); }
.btn-sm { padding: 12px 22px; font-size: 15px; font-weight: 700; }
.btn-dark { background: var(--dark); color: #FFFFFF; padding: 22px 36px; font-size: 17px; }
.ghost {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 30px; border: 1px solid rgba(255,255,255,.22);
  color: var(--text); font-weight: 600; font-size: 16px;
  transition: border-color .2s, background-color .2s;
}
.ghost:hover { border-color: var(--c1); background: rgba(255,255,255,.04); }
.gborder {
  border: 1px solid transparent;
  background: linear-gradient(var(--panel), var(--panel)) padding-box,
              linear-gradient(130deg, var(--c1), var(--c2), var(--c3)) border-box;
}

/* Encabezado */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(6, 8, 24, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { position: relative; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; color: #FFFFFF; }
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--c2), var(--c3)); }
.logo-text { white-space: nowrap; font-family: var(--display); font-weight: 700; letter-spacing: .06em; font-size: 15px; }
.logo-text span { font-weight: 500; color: var(--muted2); }
.menu { display: flex; align-items: center; gap: 26px; white-space: nowrap; font-size: 15px; font-weight: 500; }
.menu a:not(.btn) { color: var(--muted); transition: color .2s; }
.menu a:not(.btn):hover { color: #FFFFFF; }
.menu a.cur:not(.btn) { color: #FFFFFF; box-shadow: inset 0 -2px 0 var(--c1); }
.menu a.btn.cur { box-shadow: 0 0 0 2px #FFFFFF; }
.menu-toggle {
  display: none; width: 44px; height: 44px; place-items: center; cursor: pointer;
  background: none; border: 1px solid rgba(255,255,255,.2); color: #FFFFFF;
}
@media (max-width: 1360px) {
  .menu-toggle { display: grid; }
  .menu {
    position: absolute; top: 76px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 24px; background: #070A1F; border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 16px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .45; pointer-events: none; }
.o1 { animation: drift1 16s ease-in-out infinite alternate; }
.o2 { animation: drift2 19s ease-in-out infinite alternate; }
.o3 { animation: drift1 22s ease-in-out infinite alternate-reverse; }
.gridbg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(680px circle at var(--mx, 65%) var(--my, 40%), rgba(56,189,248,.18), transparent 60%); }
.hero-in { position: relative; padding-block: clamp(64px, 9vw, 120px) clamp(80px, 10vw, 140px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 999 1 560px; min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: #E2E5FF;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 12px var(--c1); }
.hero h1 { font-size: clamp(32px, 4.4vw, 64px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: #FFFFFF; }
.caret { color: var(--c1); animation: blink 1s step-end infinite; }
.hero-sub { margin-top: 30px; max-width: 600px; font-size: 20px; line-height: 1.6; color: var(--muted); }
.actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }

.eco-wrap { flex: 1 1 400px; min-width: 0; }
.eco { position: relative; height: 460px; border: 1px solid rgba(255,255,255,.1); background: rgba(11,15,42,.6); overflow: hidden; }
.eco .lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow { stroke: var(--c2); stroke-width: 1.5; stroke-dasharray: 4 7; fill: none; animation: dash 1.1s linear infinite; }
.ring { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; border-radius: 50%; border: 2px solid var(--c1); transform: translate(-50%, -50%); opacity: 0; animation: ring 2.4s ease-out infinite; }
.ring2 { animation-delay: 1.2s; }
.core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: linear-gradient(135deg, var(--c1), var(--b2)); color: var(--dark);
  font-family: var(--display); font-weight: 800; font-size: 13px; line-height: 1.25;
  box-shadow: 0 0 60px -6px var(--c1);
}
.node {
  position: absolute; transform: translate(-50%, -50%); padding: 10px 14px; white-space: nowrap;
  font-family: var(--mono); font-size: 12px; background: #0C1029; color: #E2E5FF; border: 1px solid #2A3170;
  transition: all .4s;
}
.node.on { background: var(--c1); color: var(--dark); border-color: var(--c1); box-shadow: 0 0 28px var(--c1); transform: translate(-50%, -50%) scale(1.08); }
.eco-status {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px;
  display: flex; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08); background: rgba(6,8,24,.75);
  font-family: var(--mono); font-size: 12px; color: var(--muted2);
}
.eco-status b { color: var(--c1); font-weight: 500; }
@media (max-width: 560px) {
  .eco { height: 380px; }
  .node { font-size: 10px; padding: 7px 9px; }
  .core { width: 96px; height: 96px; font-size: 11px; }
  .ring { width: 110px; height: 110px; }
}

/* Cinta de estándares */
.strip {
  overflow: hidden; padding-block: 24px; background: var(--bg2);
  border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: .04em; color: #8F96C4;
}
.track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.track span { white-space: nowrap; }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding-block: clamp(56px, 7vw, 88px); }
.stat { padding: 32px; border: 1px solid var(--line); background: var(--panel); }
.stat-num { font-family: var(--display); font-size: clamp(44px, 4.4vw, 60px); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 10px; font-size: 16px; color: var(--muted); }

/* Servicios */
.svc { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.svc-tabs { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tab {
  position: relative; overflow: hidden; display: flex; gap: 18px; align-items: baseline;
  padding: 24px; text-align: left; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  font-size: 19px; font-weight: 600; line-height: 1.3; transition: border-color .2s;
}
.tab .num { font-family: var(--mono); font-size: 13px; color: #8F96C4; }
.tab:hover { border-color: var(--c2); }
.tab[aria-selected="true"] {
  color: #FFFFFF; font-weight: 700; border-color: transparent;
  background: linear-gradient(#10153A, #10153A) padding-box, linear-gradient(130deg, var(--c1), var(--c2), var(--c3)) border-box;
}
.tab[aria-selected="true"] .num { color: var(--c1); }
.prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--c1), var(--c3)); }
.tab.auto[aria-selected="true"] .prog { animation: grow 6s linear both; }
.svc-panel { flex: 1.6 1 480px; min-width: 0; border: 1px solid var(--line); background: rgba(11,15,42,.85); padding: clamp(28px, 4vw, 48px); }
.panel { display: flex; flex-direction: column; gap: 26px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.tag { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--c1); }
.bignum { font-family: var(--display); font-size: 52px; font-weight: 800; }
.panel h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.2; color: #FFFFFF; }
.panel > p { font-size: 18px; line-height: 1.65; color: var(--muted); }
.chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.chips li { display: flex; gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); background: var(--panel2); font-size: 15px; }
.chips li::before { content: ""; width: 8px; height: 8px; flex: none; background: linear-gradient(135deg, var(--c1), var(--c3)); }
.panel.show .chips li { animation: rise .5s ease both; }
.panel.show .chips li:nth-child(2) { animation-delay: .05s; }
.panel.show .chips li:nth-child(3) { animation-delay: .1s; }
.panel.show .chips li:nth-child(4) { animation-delay: .15s; }
.panel.show .chips li:nth-child(5) { animation-delay: .2s; }
.panel.show .chips li:nth-child(6) { animation-delay: .25s; }

/* Kynora Health */
.ecg-bg { position: absolute; left: 0; top: 50%; width: 100%; height: 220px; transform: translateY(-50%); opacity: .35; pointer-events: none; }
.ecg { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 4s ease-in-out infinite alternate; }
.ky { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.ky-copy { flex: 999 1 560px; min-width: 0; }
.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; }
.ky-name { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: .04em; color: #FFFFFF; }
.soon { padding: 6px 12px; border: 1px solid var(--c1); font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--c1); }
.ky .h2 { margin-bottom: 24px; }
.ky-copy > .lead { margin: 0 0 36px; }
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 28px; }
.card { border: 1px solid var(--line); background: var(--panel); transition: transform .3s, box-shadow .3s; }
.card:hover {
  transform: translateY(-8px); border-color: transparent; box-shadow: 0 24px 60px -24px var(--c2);
  background: linear-gradient(var(--panel2), var(--panel2)) padding-box, linear-gradient(130deg, var(--c1), var(--c2), var(--c3)) border-box;
}
.role { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.role small { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--c1); }
.role h3 { font-size: 18px; font-weight: 700; color: #FFFFFF; }
.role p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.feat { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: #E2E5FF; }
.feat li { padding: 9px 14px; border: 1px solid var(--line2); background: var(--panel); }
.legal-links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.legal-links span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted2); }
.legal-links a { color: var(--b2); text-decoration: underline; text-underline-offset: 3px; }
.legal-links a:hover { color: #FFFFFF; }
.store-note { margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--muted2); }

.phone-wrap { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.phone {
  width: 300px; max-width: 100%; height: 610px; border-radius: 44px; border: 10px solid #1A1F45;
  background: var(--panel); box-shadow: 0 40px 100px -30px var(--c2);
  padding: 26px 20px 22px; display: flex; flex-direction: column; gap: 18px; overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
.app-head { display: flex; align-items: center; gap: 10px; }
.app-ico { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.app-name { font-family: var(--display); font-weight: 700; font-size: 14px; color: #FFFFFF; }
.screens { flex: 1; position: relative; }
.screen { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.screen.on { opacity: 1; transform: none; }
.s-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--c1); }
.s-title { font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1.25; color: #FFFFFF; }
.s-card { padding: 16px 18px; border-radius: 16px; background: #10153A; border: 1px solid var(--line2); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.s-card.row { flex-direction: row; justify-content: space-between; }
.s-card .k { color: var(--muted2); }
.s-card .v { color: #FFFFFF; font-weight: 700; }
.s-btn { margin-top: 8px; padding: 15px; border-radius: 14px; text-align: center; background: linear-gradient(90deg, var(--c1), var(--b2)); color: var(--dark); font-weight: 800; font-size: 15px; }
.s-btn.out { background: none; border: 1px solid var(--c1); color: #FFFFFF; }
.s-note { text-align: center; font-size: 13px; color: var(--muted2); }
.check { align-self: center; margin: 10px 0; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 0 40px -6px var(--c1); }
.week { display: flex; justify-content: space-between; gap: 4px; }
.day { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--c1); color: var(--dark); }
.day.off { background: none; border: 1px solid #2A3170; color: #8F96C4; }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots i { height: 8px; width: 8px; border-radius: 4px; background: #2A3170; transition: all .3s; }
.dots i.on { width: 24px; background: var(--c1); }

/* Sectores */
.grid4 { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sector { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.ico { width: 56px; height: 56px; display: grid; place-items: center; }
.sector h3 { font-size: 18px; font-weight: 700; line-height: 1.3; color: #FFFFFF; }
.sector p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Método */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { padding: 32px; border: 1px solid var(--line); background: var(--panel); transition: transform .5s, background .5s, border-color .5s; }
.step .n { margin-bottom: 18px; font-family: var(--display); font-size: 40px; font-weight: 800; color: #3A4180; transition: color .5s; }
.step h3 { margin-bottom: 12px; font-size: 20px; font-weight: 700; color: #FFFFFF; }
.step p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.step.on {
  transform: translateY(-6px); border-color: transparent;
  background: linear-gradient(var(--panel2), var(--panel2)) padding-box, linear-gradient(130deg, var(--c1), var(--c2), var(--c3)) border-box;
}
.step.on .n { color: var(--c1); }

/* Franja de cierre */
.band { background: linear-gradient(110deg, var(--c1), var(--b2), var(--c1), var(--b2)); background-size: 300% 100%; animation: bandmove 10s linear infinite; }
.band-in { padding-block: clamp(80px, 10vw, 136px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px; }
.band h2 { flex: 1 1 600px; min-width: 0; max-width: 820px; font-size: clamp(28px, 3.8vw, 54px); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; color: var(--dark); }

/* Agenda */
.agenda { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.ag-steps { flex: 1.7 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 36px; }
.ag-label { margin-bottom: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted2); }
.with { max-width: 440px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.with b { font-size: 17px; color: #FFFFFF; }
.with span { font-size: 14px; color: var(--muted2); word-break: break-all; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt {
  cursor: pointer; padding: 18px 20px; text-align: left; font-size: 15px; font-weight: 600;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
  transition: border-color .2s, background-color .2s, transform .2s;
}
.opt:hover { border-color: var(--c1); transform: translateY(-2px); }
.opt[aria-pressed="true"] { border-color: var(--c1); background: #10183F; color: #FFFFFF; box-shadow: 0 0 0 1px var(--c1), 0 10px 30px -12px var(--c1); }
.opt.pill-opt { padding: 12px 16px; }
.opt.pill-opt[aria-pressed="true"] { background: var(--c1); color: var(--dark); font-weight: 800; box-shadow: none; }
.summary { flex: 1 1 340px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.sum-row span { color: var(--muted2); }
.sum-row b { color: #FFFFFF; text-align: right; }
.wait { padding: 18px 24px; text-align: center; border: 1px dashed #2A3170; color: var(--muted2); font-size: 15px; }
.fine { font-size: 13px; line-height: 1.6; color: var(--muted2); overflow-wrap: anywhere; }

/* Contacto */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.c-info { flex: 1 1 360px; min-width: 0; }
.c-info .h2 { margin-bottom: 24px; }
.c-info .lead { margin: 0 0 40px; }
.c-links { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.c-link { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); background: var(--panel); overflow-wrap: anywhere; transition: border-color .2s; }
.c-link:hover { border-color: var(--c1); }
.li-card { margin-top: 10px; padding: 22px 20px; display: flex; gap: 16px; align-items: center; transition: transform .2s; }
.li-card:hover { transform: translateY(-2px); }
.li-logo { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: #0A66C2; color: #FFFFFF; font-weight: 800; font-size: 22px; letter-spacing: -.04em; }
.li-text { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.li-text b { font-size: 17px; }
.li-text span { font-size: 14px; color: var(--muted2); }
.li-text strong { color: #FFFFFF; }
.form { flex: 1.4 1 500px; min-width: 0; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { padding: 15px; border: 1px solid var(--line2); border-radius: 0; background: var(--bg); color: #FFFFFF; font-size: 15px; }
.form textarea { resize: vertical; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.form-foot p { font-size: 13px; color: var(--muted2); }
.form-foot a { color: #FFFFFF; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pie */
.site-footer { border-top: 1px solid rgba(255,255,255,.08); background: #04061A; }
.foot { padding-block: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; font-size: 14px; color: var(--muted2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot a:hover { color: #FFFFFF; }

/* Aparición al hacer scroll (solo con JS y sin movimiento reducido) */
.js .reveal { opacity: .001; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes shimmer { to { background-position: 300% 0; } }
@keyframes drift1 { 0% { transform: translate(0,0); } 50% { transform: translate(120px,80px); } 100% { transform: translate(-60px,140px); } }
@keyframes drift2 { 0% { transform: translate(0,0); } 50% { transform: translate(-140px,60px); } 100% { transform: translate(40px,-80px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes ring { 0% { transform: translate(-50%,-50%) scale(.85); opacity: .9; } 100% { transform: translate(-50%,-50%) scale(1.9); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes grow { from { width: 0; } to { width: 100%; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes bandmove { to { background-position: 300% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ring { opacity: .5; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .ecg { stroke-dashoffset: 0; }
}

/* Teléfonos pequeños (320–400 px) */
@media (max-width: 400px) {
  .logo { gap: 10px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-text { font-size: 12px; letter-spacing: .04em; }
  .btn, .ghost { padding: 16px 22px; font-size: 15px; }
  .actions > a { flex: 1 1 100%; justify-content: center; }
  .stat, .sector, .step, .role, .summary { padding: 24px; }
  .phone { width: 270px; height: 560px; }
  .c-link { font-size: 15px; padding: 16px; }
}

/* ---------- Una pantalla a la vez ---------- */
.js .view { display: none; }
.js .view.active { display: block; min-height: calc(100vh - 76px - env(safe-area-inset-top, 0px)); animation: viewIn .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.view h1:focus, .view h2:focus { outline: none; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-block: 48px 72px; border-top: 1px solid rgba(255,255,255,.06); }
.pager .ghost, .pager .btn { padding: 14px 22px; font-size: 15px; }
.pager .pg-next { margin-left: auto; }

/* ---------- Encabezado: menú + idioma ---------- */
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; cursor: pointer;
  background: transparent; color: #FFFFFF; border: 1px solid rgba(255,255,255,.22);
  font-family: var(--mono); font-size: 13px; letter-spacing: .06em; transition: border-color .2s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--c1); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; min-width: 180px;
  margin: 0; padding: 6px; list-style: none; background: #0B0F2A; border: 1px solid var(--line2);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8); animation: rise .2s ease both;
}
.lang-list button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px; background: none; border: 0; color: var(--muted); font-size: 15px; font-weight: 600; text-align: left; cursor: pointer;
}
.lang-list button:hover, .lang-list button:focus-visible { background: #121845; color: #FFFFFF; }
.lang-list button[aria-selected="true"] { color: #FFFFFF; }
.lang-list button[aria-selected="true"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c1); }

@media (max-width: 440px) {
  .nav-right { gap: 8px; }
  .lang-btn { padding: 0 9px; gap: 6px; }
  .logo-text { line-height: 1.15; }
  .logo-text span { display: block; font-size: 10px; }
  .pager .ghost, .pager .btn { flex: 1 1 100%; justify-content: center; margin-left: 0; }
}

.band h2 .line { display: block; }

/* Pulido final para celular */
@media (max-width: 760px) {
  .ecg-bg { display: none; }
  .phone { height: 520px; }
  .pill { font-size: 11px; letter-spacing: .08em; padding: 8px 12px; }
  .form-foot .btn { width: 100%; }
  .band-in { gap: 28px; }
  .sec { padding-block: 56px; }
}

/* ---------- Aviso de cookies ---------- */
.consent {
  position: fixed; z-index: 80; right: 0; bottom: 0; left: 0;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: flex; justify-content: flex-end; pointer-events: none;
}
.consent-in {
  pointer-events: auto; width: 100%; max-width: 460px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px;
  background: #0B0F2A; border: 1px solid var(--line2); box-shadow: 0 30px 80px -20px rgba(0,0,0,.85);
  animation: rise .4s ease both;
}
.consent-title { font-family: var(--display); font-size: 16px; font-weight: 700; color: #FFFFFF; }
.consent-text { font-size: 14px; line-height: 1.6; color: var(--muted); }
.consent-text a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.consent-actions .btn, .consent-actions .ghost { padding: 12px 22px; font-size: 14px; }
@media (max-width: 440px) { .consent-actions > * { flex: 1 1 0; justify-content: center; } }
.linkbtn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.linkbtn:hover { color: #FFFFFF; }
.consent-actions .ghost { background: transparent; color: #FFFFFF; border: 1px solid #3A4380; }
.consent-actions .ghost:hover { border-color: #FFFFFF; }
