/* =========================================================
   Cenitialatam Cloud — estilos
   Identidad de cenitialatam.com (degradado #1452D6 → #13C2E6, tinta,
   azul noche, Sora + Inter) con un lenguaje más sobrio y aireado.
   Motivo visual: el cénit, el punto más alto del cielo.
   ========================================================= */
:root {
  --blue: #1452D6;
  --cyan: #13C2E6;
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  --grad-text: linear-gradient(100deg, #3B7BFF 0%, var(--cyan) 70%);
  --ink: #1A2440;
  --ink-2: #2B3656;
  --muted: #5B6785;
  --faint: #8A93AA;
  --line: #DCE5F2;
  --line-strong: #C9D6EA;
  --bg: #F5F8FD;
  --band: #EAF1FB;
  --white: #FFFFFF;
  --night-900: #070D1F;
  --night-800: #0B1430;
  --night-700: #111C3D;
  --night-line: rgba(140, 180, 255, .14);
  --muted-dark: #9FB0D3;
  --sky: #8FDDF2;
  --ok: #1F9D6B;
  --danger: #D1343A;

  --font-body: "Inter", system-ui, sans-serif;
  --font-head: "Sora", system-ui, sans-serif;
  --container: 1200px;
  --gutter: 32px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; font-weight: 600; letter-spacing: -.03em; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

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

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500; font-size: 15px;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
/* background-origin: el degradado cubre también el borde */
.btn--primary { background: var(--grad); background-origin: border-box; color: var(--white); box-shadow: 0 8px 24px -10px rgba(19, 194, 230, .6); }
.btn--primary:hover { box-shadow: 0 10px 30px -8px rgba(19, 194, 230, .75); filter: brightness(1.05); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: var(--white); border-color: rgba(255, 255, 255, .2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #E3EDFB; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px;
}

/* ---------- Header (sobre azul noche, como el sitio principal) ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.header.is-scrolled, .header.is-open {
  background: rgba(7, 13, 31, .86);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--night-line);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__word { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand__latam { font-weight: 500; color: var(--sky); }
.brand__tag {
  font-size: 12px; font-weight: 500;
  padding: 2px 9px; border-radius: 999px;
  border: 1px solid rgba(143, 221, 242, .3); color: var(--sky);
}

.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px;
  color: #C9D6F2; font-size: 14.5px; font-weight: 500; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav .nav__home { display: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--night-line); background: rgba(255, 255, 255, .04);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer; margin-left: auto;
}
.nav-toggle span { width: 16px; height: 1.5px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease); }
.header.is-open .nav-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.header.is-open .nav-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 148px 0 56px;
  background:
    radial-gradient(760px 480px at 80% 10%, rgba(20, 82, 214, .28), transparent 70%),
    var(--night-900);
  color: var(--white);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.hero__kicker { font-size: 15px; font-weight: 500; color: var(--sky); }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); font-weight: 600; letter-spacing: -.035em; margin: 18px 0 26px; }
.lead { font-size: 18px; color: var(--muted-dark); max-width: 520px; }
.lead strong { color: var(--white); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- El cénit ---------- */
.zenith { position: relative; }
.zenith__sky { position: relative; aspect-ratio: 560 / 380; margin-top: 24px; }
.zenith__art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.zenith__ring { stroke: rgba(140, 180, 255, .1); stroke-width: 1; }
.zenith__axis { stroke: rgba(143, 221, 242, .35); stroke-width: 1; stroke-dasharray: 3 5; }
.zenith__horizon { stroke: rgba(140, 180, 255, .22); stroke-width: 1; }
.zenith__rest { stroke: rgba(140, 180, 255, .2); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.zenith__path { stroke-width: 3; stroke-linecap: round; stroke-dasharray: 510; stroke-dashoffset: 0; animation: zenith-rise 1.6s var(--ease) .2s both; }
@keyframes zenith-rise { from { stroke-dashoffset: 510; } }
.zenith__label { fill: var(--muted-dark); font: 500 12px var(--font-body); }

.znode {
  position: absolute; transform: translate(-50%, -50%);
  width: 44px; height: 44px; padding: 0; border: 0; background: none;
  display: grid; place-items: center;
  cursor: pointer; color: var(--white);
}
.znode__dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--night-900);
  border: 2px solid var(--cyan);
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.znode:hover .znode__dot { transform: scale(1.25); }
.znode[aria-pressed="true"] .znode__dot { background: var(--cyan); box-shadow: 0 0 0 6px rgba(19, 194, 230, .18); }
.znode--top .znode__dot { width: 22px; height: 22px; background: var(--grad); border-color: #BFF1FA; box-shadow: 0 0 24px rgba(19, 194, 230, .7); }
.znode--top[aria-pressed="true"] .znode__dot { box-shadow: 0 0 0 7px rgba(19, 194, 230, .2), 0 0 28px rgba(19, 194, 230, .8); }
.znode__label {
  position: absolute; right: calc(100% - 6px); top: 50%; transform: translateY(-78%);
  display: grid; text-align: right; line-height: 1.25; white-space: nowrap;
}
.znode__label strong { font-family: var(--font-head); font-size: 13px; font-weight: 600; }
.znode__label small { font-size: 12px; color: var(--muted-dark); }
.znode--top .znode__label { right: auto; left: 50%; top: auto; bottom: calc(100% + 2px); transform: translateX(-50%); text-align: center; }
.znode--top .znode__label small { color: var(--sky); }

.zenith__card {
  position: absolute; right: 0; bottom: 4%;
  width: min(290px, 60%);
  padding: 18px 18px 16px;
  background: rgba(17, 28, 61, .78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(140, 180, 255, .2);
  border-radius: 18px;
}
.zenith__card:empty { display: none; }
.zcard__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.zcard__name { font-family: var(--font-head); font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.zcard__tag { font-size: 12px; color: var(--sky); font-weight: 500; }
.zcard__specs { margin-top: 4px; font-size: 13.5px; color: var(--muted-dark); }
.zcard__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--night-line); }
.zcard__price { font-family: var(--font-head); font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.zcard__price small { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--muted-dark); letter-spacing: 0; }

.facts {
  list-style: none; margin: 64px 0 0; padding: 28px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid var(--night-line);
}
.facts li { display: grid; gap: 2px; font-size: 14px; }
.facts strong { font-weight: 600; font-size: 15px; }
.facts span { color: var(--muted-dark); }

/* ---------- Secciones ---------- */
.section { padding: 128px 0; }
.section--band { background: var(--band); }
.section__head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end;
  margin-bottom: 56px;
}
.section__head h2, .split__aside h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 600; letter-spacing: -.03em; }
.section__head p { color: var(--muted); font-size: 17px; max-width: 460px; }
.fineprint { margin-top: 24px; font-size: 13px; color: var(--faint); }

/* ---------- Planes (tabla) ---------- */
.plans {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.plans__head, .plan-row {
  display: grid;
  grid-template-columns: 1.25fr .6fr .6fr 1.25fr .75fr .85fr 1fr 124px;
  gap: 20px; align-items: center;
  padding: 0 28px;
}
.plans__head {
  height: 52px;
  font-size: 13px; color: var(--faint); font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.plan-row { min-height: 92px; border-bottom: 1px solid var(--line); transition: background .2s; }
.plan-row:last-child { border-bottom: 0; }
.plan-row:hover { background: #FAFBFD; }
.plan-row.is-popular { background: linear-gradient(90deg, rgba(20, 82, 214, .06), rgba(19, 194, 230, .02)); box-shadow: inset 3px 0 0 var(--cyan); }
.plan-row__name h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.plan-row__tag { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 500; color: var(--blue); }
.plan-row__spec { font-size: 15px; line-height: 1.35; }
.plan-row__spec dt { display: none; }
.plan-row__spec dd { margin: 0; }
.plan-row__price { font-family: var(--font-head); font-weight: 600; font-size: 26px; letter-spacing: -.035em; line-height: 1; }
.plan-row__price small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0; color: var(--muted); }
.plan-row .btn { width: 100%; }

/* ---------- Comparativa ---------- */
.compare {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px 32px 8px;
}
.compare__legend { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 18px 0; font-size: 13.5px; color: var(--muted); }
.legend { display: inline-flex; align-items: center; gap: 8px; }
.legend::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.legend--ref::before { background: var(--line-strong); }
.legend--us::before { background: var(--grad); }
.compare__row {
  display: grid; grid-template-columns: 180px 1fr 96px; gap: 32px; align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.compare__label strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.compare__label small { color: var(--muted); font-size: 13px; }
.compare__bars { display: grid; gap: 6px; }
.bar { position: relative; height: 22px; display: flex; align-items: center; font-size: 13px; font-weight: 500; }
.bar::before { content: ""; height: 8px; width: calc(var(--w) * .82); min-width: 8px; border-radius: 999px; flex: none; }
.bar span { margin-left: 12px; white-space: nowrap; }
.bar--ref { color: var(--muted); }
.bar--ref::before { background: var(--line-strong); }
.bar--us { color: var(--ink); }
.bar--us::before { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.compare__save { text-align: right; }
.compare__save strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 24px; letter-spacing: -.03em; color: #0E8FB0; }
.compare__save small { color: var(--muted); font-size: 12.5px; }

/* ---------- Dos columnas (incluido y preguntas) ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.split__aside { position: sticky; top: 112px; }
.split__aside p { margin-top: 20px; color: var(--muted); font-size: 17px; max-width: 380px; }
.split__aside a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.split__aside a:hover { text-decoration-color: var(--ink); }

.included { margin: 0; border-top: 1px solid var(--line); }
.included div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.included dt { font-weight: 600; font-size: 16px; }
.included dd { margin: 0; color: var(--muted); }

/* ---------- Pasos: cada uno un escalón más arriba, rumbo al cénit ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: end; }
.step { padding-top: 24px; border-top: 2px solid var(--line-strong); }
.step:nth-child(1) { margin-top: 72px; }
.step:nth-child(2) { margin-top: 36px; border-image: linear-gradient(90deg, var(--line-strong), var(--blue)) 1; }
.step:nth-child(3) { border-image: var(--grad) 1; }
.step__num { display: block; font-size: 13.5px; font-weight: 600; color: var(--blue); margin-bottom: 28px; }
.step h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 320px; }

/* ---------- Preguntas ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-weight: 500; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }

/* ---------- Cierre ---------- */
.section--cta { padding-top: 0; }
.cta {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px;
  padding: 72px 64px;
  border-radius: 32px;
  background:
    radial-gradient(600px 320px at 88% 50%, rgba(20, 82, 214, .4), transparent 70%),
    var(--night-900);
  color: var(--white);
}
.cta h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; letter-spacing: -.03em; }
.cta p { margin: 16px 0 32px; color: var(--muted-dark); font-size: 17px; max-width: 460px; }
.cta__copy { position: relative; z-index: 1; }
.cta__mark { width: 200px; height: 200px; margin-right: 16px; filter: drop-shadow(0 0 30px rgba(19, 194, 230, .35)); }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__tagline { margin-top: 12px; color: var(--muted); font-size: 14px; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__contact li { display: grid; grid-template-columns: 72px auto; gap: 12px; font-size: 14px; }
.footer__contact span { color: var(--faint); }
.footer__contact a:hover { color: var(--blue); }
.footer__bottom { margin-top: 48px; color: var(--faint); }

/* ---------- Configurador de pedido ---------- */
.order {
  width: min(1080px, calc(100% - 32px));
  height: min(760px, calc(100dvh - 32px));
  max-width: none; max-height: none;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 50px 120px -30px rgba(7, 13, 31, .6);
  overflow: hidden;
}
.order::backdrop { background: rgba(7, 13, 31, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.order[open] { animation: pop .32s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.order__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-rows: minmax(0, 1fr); height: 100%; }
.order__layout[hidden] { display: none !important; }

.order__form { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; min-height: 0; }
.order__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 32px 0; }
.order__head h2 { font-size: 24px; }
.order__close {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center; cursor: pointer; flex: none;
  transition: border-color .2s;
}
.order__close svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.order__close:hover { border-color: var(--ink); }

/* Pasos */
.stepper { list-style: none; margin: 0; padding: 20px 32px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stepper li { position: relative; }
.stepper li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px;
  background: var(--line);
}
.stepper li.is-done::after, .stepper li.is-current::after { background: var(--grad); }
.stepper button {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 0 0 14px; border: 0; background: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--faint); text-align: left;
}
.stepper span {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
  border: 1.5px solid var(--line-strong); color: var(--faint);
  transition: background .2s, border-color .2s, color .2s;
}
.stepper .is-current button, .stepper .is-done button { color: var(--ink); }
.stepper .is-current span { border-color: var(--blue); color: var(--blue); }
.stepper .is-done span { background: var(--grad); border-color: transparent; color: transparent; position: relative; }
.stepper .is-done span::after {
  content: ""; position: absolute; width: 9px; height: 5px; margin-top: -2px;
  border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg);
}

.order__body { overflow-y: auto; padding: 28px 32px 24px; overscroll-behavior: contain; }
.pane { display: grid; gap: 28px; }
.pane[hidden] { display: none !important; }
.pane:not([hidden]) { animation: pane-in .3s var(--ease); }
@keyframes pane-in { from { opacity: 0; transform: translateX(10px); } }
.pane__title { font-size: 20px; }
.group { border: 0; margin: 0; padding: 0; min-width: 0; }
.group legend { padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 600; }
.hint { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* Selector de plan */
.plan-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick { position: relative; cursor: pointer; }
.pick input, .chip input, .place input { position: absolute; opacity: 0; pointer-events: none; }
.pick__box {
  height: 100%;
  display: grid; gap: 4px; align-content: start;
  padding: 14px 16px;
  border: 1px solid var(--line-strong); border-radius: 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.pick:hover .pick__box { border-color: #9DB3D9; }
.pick__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pick__top strong { font-family: var(--font-head); font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.pick__top em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.pick__specs { font-size: 13px; color: var(--muted); }
.pick__price { margin-top: 6px; font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.pick__price small { font-family: var(--font-body); font-size: 12.5px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.pick--help .pick__box { border-style: dashed; }
.pick input:checked + .pick__box {
  border-color: transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 10px 24px -14px rgba(20, 82, 214, .55);
}
.pick input:focus-visible + .pick__box, .chip input:focus-visible + span, .place input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* Sistema operativo */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500;
  transition: border-color .2s, background .2s, color .2s;
}
.chip small { font-size: 12px; color: var(--muted); font-weight: 400; }
/* Logo del sistema sobre una pastilla blanca: se lee igual con la opción marcada o sin marcar */
.os-ico {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line);
}
.os-ico svg { width: 18px; height: 18px; }
.chip:hover span { border-color: #9DB3D9; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip input:checked + span small { color: #AEB8D0; }

/* Ubicación */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.place { position: relative; cursor: pointer; }
.place span {
  height: 100%; display: grid; gap: 2px;
  padding: 14px 16px 14px 44px; position: relative;
  border: 1px solid var(--line-strong); border-radius: 16px;
  transition: border-color .2s, background .2s;
}
.place span::before {
  content: ""; position: absolute; left: 16px; top: 17px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: border-color .2s, box-shadow .2s;
}
.place strong { font-size: 15px; font-weight: 600; }
.place small { font-size: 13px; color: var(--muted); }
.place:hover span { border-color: #9DB3D9; }
.place input:checked + span { border-color: var(--blue); background: rgba(20, 82, 214, .04); }
.place input:checked + span::before { border: 5px solid var(--blue); }

/* Campos */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field--wide { grid-column: 1 / -1; }
.field__help { font-size: 12.5px; font-weight: 400; color: var(--faint); }
.opt { font-weight: 400; color: var(--faint); }
.field input, .field select, .field textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  font-size: 15px; font-weight: 400;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6785' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 82, 214, .12);
}
.was-validated .field :invalid { border-color: var(--danger); background-color: #FFF7F7; }
.was-validated .plan-picker:has(:invalid) .pick__box { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.was-validated .check input:invalid { outline: 2px solid var(--danger); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Revisión */
.review { margin: 0; border: 1px solid var(--line); border-radius: 16px; }
.review div { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: baseline; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.review div:last-child { border-bottom: 0; }
.review dt { font-size: 13.5px; color: var(--muted); }
.review dd { margin: 0; font-size: 14.5px; font-weight: 500; overflow-wrap: anywhere; }
.review__edit { border: 0; background: none; padding: 0; color: var(--blue); font-size: 13px; font-weight: 500; cursor: pointer; }
.review__edit:hover { text-decoration: underline; }

.order__error { position: sticky; bottom: 0; margin-top: 18px; box-shadow: 0 -12px 16px -8px var(--white); padding: 10px 14px; border-radius: 12px; background: #FFF1F1; color: #A8262C; font-size: 14px; }
.order__error a { color: inherit; font-weight: 600; text-decoration: underline; }
.order__captcha { display: flex; justify-content: flex-start; min-height: 65px; }

.order__foot {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 32px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.order__foot-note { margin-right: auto; font-size: 13px; color: var(--faint); }
.order__foot .btn--outline { order: -1; }
.order__foot .btn--primary { min-width: 168px; }

/* Resumen en vivo */
.summary {
  position: relative; overflow-y: auto;
  padding: 28px 28px 24px;
  background:
    radial-gradient(420px 260px at 90% 0%, rgba(20, 82, 214, .45), transparent 70%),
    var(--night-900);
  color: var(--white);
  display: flex; flex-direction: column; gap: 18px;
}
.summary__kicker { font-size: 13.5px; font-weight: 500; color: var(--sky); }
.summary__arc svg { width: 100%; height: auto; overflow: visible; }
.sarc__line { fill: none; stroke: rgba(140, 180, 255, .25); stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.sarc__dot { fill: var(--night-900); stroke: rgba(140, 180, 255, .45); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.sarc__dot.is-on { fill: var(--cyan); stroke: var(--cyan); }
.sarc__dot.is-current { fill: #CFF5FC; stroke: var(--cyan); stroke-width: 3; filter: drop-shadow(0 0 6px rgba(19, 194, 230, .9)); }
.summary__name { font-size: 22px; margin-top: -4px; }
.summary__price { font-family: var(--font-head); font-size: 34px; font-weight: 600; letter-spacing: -.035em; line-height: 1; margin-top: -10px; }
.summary__price small { font-family: var(--font-body); font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted-dark); }
.summary__specs, .summary__choice { margin: 0; display: grid; gap: 8px; }
.summary__specs div, .summary__choice div { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; }
.summary__specs dt, .summary__choice dt { color: var(--muted-dark); }
.summary__specs dd, .summary__choice dd { margin: 0; text-align: right; font-weight: 500; }
.summary__specs:empty { display: none; }
.summary__choice { padding-top: 16px; border-top: 1px solid var(--night-line); }
.summary__incl { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: 6px; }
.summary__incl li { padding: 4px 10px; border-radius: 999px; background: rgba(140, 180, 255, .1); color: #C9D6F2; font-size: 12px; }
.summary__note { margin-top: auto; font-size: 12.5px; color: var(--muted-dark); }

/* Confirmación */
.order__done { height: 100%; display: grid; place-content: center; justify-items: center; padding: 48px 32px; text-align: center; }
.done-icon {
  width: 64px; height: 64px; border-radius: 50%; margin-bottom: 22px;
  display: grid; place-items: center;
  background: var(--grad); color: var(--white);
  box-shadow: 0 0 0 10px rgba(19, 194, 230, .12), 0 0 40px rgba(19, 194, 230, .45);
}
.done-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.order__done h2 { font-size: 30px; margin-bottom: 10px; }
.order__done p { color: var(--muted); max-width: 440px; }
.order__done-plan { margin: 18px 0 28px; padding: 10px 18px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; color: var(--ink) !important; }

/* ---------- Orbe de recorrido (borde izquierdo) ---------- */
.rail {
  position: fixed; z-index: 40;
  left: 20px; top: 104px; bottom: 40px;
  width: 0;
}
.rail__track, .rail__fill {
  position: absolute; left: -1px; top: 0; width: 2px; border-radius: 2px;
}
.rail__track { bottom: 0; background: rgba(120, 150, 210, .22); }
.rail__fill { height: 0; background: var(--grad); }
.rail__orb {
  position: absolute; left: 0; top: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #CFF5FC 0, var(--cyan) 35%, var(--blue) 100%);
  box-shadow: 0 0 0 4px rgba(19, 194, 230, .16), 0 0 20px rgba(19, 194, 230, .6);
  transform: translate(-50%, -50%);
  will-change: transform;
}
.rail__mark {
  position: absolute; left: 0;
  width: 24px; height: 24px; margin: -12px 0 0 -12px;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.rail__mark::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid rgba(120, 150, 210, .6);
  transition: background .3s, border-color .3s;
}
.rail__mark.is-past::before { background: var(--cyan); border-color: var(--cyan); }
.rail__tip {
  position: absolute; left: 24px; top: 50%; transform: translate(-4px, -50%);
  padding: 4px 10px; border-radius: 999px;
  background: var(--night-900); color: var(--white);
  font-size: 12.5px; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s var(--ease);
}
.rail__mark:hover .rail__tip, .rail__mark:focus-visible .rail__tip { opacity: 1; transform: translate(0, -50%); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .plans__head { display: none; }
  .plans { display: grid; grid-template-columns: repeat(2, 1fr); background: none; border: 0; border-radius: 0; gap: 16px; overflow: visible; }
  .plan-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name price" "specs specs" "cta cta";
    gap: 20px; padding: 24px;
    background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  }
  .plan-row:last-child { border-bottom: 1px solid var(--line); }
  .plan-row.is-popular { border-color: rgba(20, 82, 214, .35); background: var(--white); }
  .plan-row__name { grid-area: name; }
  .plan-row__price { grid-area: price; text-align: right; }
  .plan-row__specs { grid-area: specs; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding-top: 18px; border-top: 1px solid var(--line); }
  .plan-row__spec dt { display: block; font-size: 12.5px; color: var(--faint); }
  .plan-row .btn { grid-area: cta; }
}
@media (min-width: 1081px) {
  .plan-row__specs { display: contents; }
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .zenith { max-width: 560px; width: 100%; margin: 24px auto 0; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .section__head { grid-template-columns: 1fr; gap: 16px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__aside { position: static; }
  .cta { grid-template-columns: 1fr; padding: 56px 40px; }
  .cta__mark { position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; opacity: .35; margin: 0; }
}
@media (max-width: 820px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .header.is-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--night-900);
    border-bottom: 1px solid var(--night-line);
  }
  .header.is-open .nav a { padding: 14px 0; font-size: 17px; color: var(--white); border-radius: 0; background: none; }
  .header.is-open .nav .nav__home { display: block; border-top: 1px solid var(--night-line); margin-top: 8px; color: var(--muted-dark); }
  .compare__row { grid-template-columns: 140px 1fr 80px; gap: 20px; }
}
@media (max-width: 900px) {
  .order__layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .summary { order: -1; overflow: visible; padding: 14px 20px; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  .summary__kicker, .summary__arc, .summary__specs, .summary__choice, .summary__incl, .summary__note { display: none; }
  .summary__name { font-size: 16px; margin: 0; }
  .summary__price { font-size: 18px; margin: 0 0 0 auto; }
  .order__layout .order__form { min-height: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .rail { left: 8px; top: 88px; bottom: 24px; }
  .rail__orb { width: 11px; height: 11px; }
  .rail__mark::before { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }
  .rail__tip { display: none; }
  .hero { padding-top: 116px; }
  .lead { font-size: 16.5px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .zenith__card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 8px; }
  .zenith__sky { margin: 0 -4px; }
  .znode__label strong { font-size: 12px; }
  .znode__label small { font-size: 11px; }
  .facts { margin-top: 48px; gap: 20px 16px; }
  .section { padding: 88px 0; }
  .section--cta { padding-top: 0; }
  .section__head { margin-bottom: 40px; }
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step:nth-child(n) { margin-top: 0; }
  .step__num { margin-bottom: 12px; }
  .included div { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .compare { padding: 4px 18px; }
  .compare__row { grid-template-columns: 1fr auto; gap: 12px 16px; }
  .compare__bars { grid-column: 1 / -1; grid-row: 2; }
  .faq details p { padding-right: 0; }
  .cta { padding: 48px 24px; border-radius: 24px; }
  .cta .btn { width: 100%; }
  .order { width: 100%; height: 100dvh; border-radius: 0; }
  .order__head { padding: 18px 20px 0; }
  .stepper { padding: 14px 20px 0; }
  .stepper button { font-size: 12.5px; gap: 6px; }
  .order__body { padding: 22px 20px 20px; }
  .order__foot { padding: 12px 20px; gap: 10px; }
  .order__foot-note { display: none; }
  .order__foot .btn { flex: 1; min-width: 0; }
  .plan-picker { grid-template-columns: 1fr 1fr; }
  .places, .grid2 { grid-template-columns: 1fr; }
  .review div { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .review dt { grid-column: 1; }
  .review dd { grid-column: 1; grid-row: 2; }
  .review__edit { grid-row: 1 / 3; grid-column: 2; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* El pie está sobre fondo claro: la marca va en tinta */
.footer .brand { color: var(--ink); }
.footer .brand__latam { color: #0E8FB0; }


/* =========================================================
   Maqueta cenitialatam.com — se apoya en base.css (estilos de Cloud)
   y agrega solo lo propio del sitio principal.
   ========================================================= */

.hero { position: relative; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero h1 { font-size: clamp(38px, 4.6vw, 58px); }

/* ---------- Constelación de servicios ---------- */
.constel { position: relative; aspect-ratio: 480 / 440; width: 100%; max-width: 520px; justify-self: end; }
.constel__art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.constel__link { stroke-width: 2.5; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(19, 194, 230, .45)); }
.constel__inner { stroke: rgba(143, 221, 242, .16); stroke-width: 1; }
.constel__ring { stroke: rgba(143, 221, 242, .45); stroke-width: 1.5; stroke-dasharray: 3 5; }
/* Pulsos que viajan de cada servicio hacia el monitoreo del centro */
.constel__spokes { stroke: rgba(143, 221, 242, .45); stroke-width: 1.4; stroke-dasharray: 4 10; stroke-linecap: round; animation: spokes 2.4s linear infinite; }
@keyframes spokes { to { stroke-dashoffset: 28; } }
.constel__hint { position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; font-size: 12.5px; color: var(--muted-dark); }

.kstar {
  position: absolute; transform: translate(-50%, -50%);
  width: 48px; height: 48px; padding: 0; border: 0; background: none;
  display: grid; place-items: center; cursor: pointer; color: var(--white);
}
.kstar__dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: #CFF5FC;
  box-shadow: 0 0 0 5px rgba(19, 194, 230, .14), 0 0 18px rgba(19, 194, 230, .8);
  animation: twinkle 3.6s ease-in-out var(--d, 0s) infinite;
  transition: transform .25s var(--ease), box-shadow .25s;
}
@keyframes twinkle { 50% { box-shadow: 0 0 0 9px rgba(19, 194, 230, .06), 0 0 26px rgba(19, 194, 230, .95); } }
.kstar:hover .kstar__dot, .kstar.is-on .kstar__dot { transform: scale(1.35); background: var(--white); }
.kstar__label {
  position: absolute; white-space: nowrap;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 600; letter-spacing: -.01em;
  color: #C9D6F2; transition: color .2s;
}
.kstar.is-on .kstar__label, .kstar:hover .kstar__label { color: var(--white); }
.kstar--arriba .kstar__label { bottom: calc(100% - 8px); }
.kstar--abajo .kstar__label { top: calc(100% - 8px); }
.kstar--centro { width: 64px; height: 64px; }
.kstar--centro .kstar__dot { width: 22px; height: 22px; background: var(--white); box-shadow: 0 0 0 8px rgba(19, 194, 230, .18), 0 0 34px rgba(19, 194, 230, .95); }
.kstar--centro .kstar__label {
  top: calc(100% + 2px); padding: 3px 10px; border-radius: 999px;
  background: var(--night-900); border: 1px solid rgba(143, 221, 242, .3); color: var(--white);
}

/* ---------- Tecnologías: carrusel de logos ---------- */
.tech { padding: 44px 0 40px; border-bottom: 1px solid var(--line); background: var(--white); overflow: hidden; }
.tech__label { margin-bottom: 24px; font-size: 14px; color: var(--muted); text-align: center; }
.marquee {
  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);
}
.marquee__track {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 48px; width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }
.marquee__track li {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  font-family: var(--font-head); font-size: 17px; font-weight: 600; letter-spacing: -.01em;
  color: #6B7690;
  transition: color .25s;
}
.marquee__track svg { width: 26px; height: 26px; fill: currentColor; transition: fill .25s; }
.marquee__track li:hover { color: var(--ink); }
.marquee__track li:hover svg { fill: var(--c, var(--ink)); }
.marquee__track .logo--text span { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; padding: 0 var(--gutter); gap: 16px 32px; }
  .marquee__track li[aria-hidden="true"] { display: none; }
}

/* ---------- Servicios: pestañas + escenario nocturno ---------- */
.svc { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: stretch; }
.svc__tabs { display: grid; gap: 4px; align-content: start; }
.svc-tab {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1px solid transparent; border-radius: 16px;
  background: none; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: 16px; font-weight: 600; letter-spacing: -.02em; color: var(--muted);
  transition: background .2s, color .2s, border-color .2s;
}
.svc-tab:hover { color: var(--ink); background: rgba(20, 82, 214, .05); }
.svc-tab[aria-selected="true"] { color: var(--ink); background: var(--white); border-color: var(--line); box-shadow: 0 12px 28px -18px rgba(20, 82, 214, .45); }
.svc-tab__ico {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--band); color: var(--blue);
  transition: background .2s, color .2s;
}
.svc-tab[aria-selected="true"] .svc-tab__ico { background: var(--grad); color: var(--white); }
.svc-tab svg, .svc-panel__ico svg, .pillar__ico svg, .industries svg {
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.svc-tab svg { width: 20px; height: 20px; }

.svc__stage {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 440px; border-radius: 28px;
  background:
    radial-gradient(520px 320px at 85% 0%, rgba(20, 82, 214, .45), transparent 70%),
    var(--night-900);
  color: var(--white);
}
.svc__stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.svc-panel { padding: 48px; display: grid; gap: 16px; align-content: start; height: 100%; }
.svc-panel:not([hidden]) { animation: pane-in .35s var(--ease); }
.svc-panel__ico {
  width: 64px; height: 64px; border-radius: 20px; margin-bottom: 8px;
  display: grid; place-items: center;
  background: rgba(19, 194, 230, .1); border: 1px solid rgba(143, 221, 242, .25); color: var(--sky);
}
.svc-panel__ico svg { width: 30px; height: 30px; }
.svc-panel h3 { font-size: clamp(26px, 3vw, 36px); max-width: 16ch; }
.svc-panel p { color: var(--muted-dark); font-size: 17px; max-width: 520px; }
.tags { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.tags--dark li { background: rgba(140, 180, 255, .1); color: #C9D6F2; border: 1px solid rgba(140, 180, 255, .14); }
.svc-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; }
.svc-panel__link { font-size: 14px; color: var(--sky); text-decoration: underline; text-decoration-color: rgba(143, 221, 242, .35); text-underline-offset: 3px; }
.svc-panel__link:hover { text-decoration-color: var(--sky); }

/* ---------- Secciones nocturnas ---------- */
.section--night {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(800px 420px at 15% 0%, rgba(20, 82, 214, .3), transparent 70%),
    var(--night-900);
  color: var(--white);
}
.section--night .section__head p, .section--night .split__aside p { color: var(--muted-dark); }

/* ---------- Metodología: escalones unidos por una línea ---------- */
.climb { position: relative; }
.climb__line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.climb__line polyline { fill: none; stroke: url(#cg); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; opacity: .7; }
.steps--4 { position: relative; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; }
.steps--4 .step { position: relative; border-top: 0; padding-top: 28px; }
.steps--4 .step::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #CFF5FC; box-shadow: 0 0 0 5px rgba(19, 194, 230, .14), 0 0 18px rgba(19, 194, 230, .7);
}
.steps--4 .step:nth-child(1) { margin-top: 120px; }
.steps--4 .step:nth-child(2) { margin-top: 80px; }
.steps--4 .step:nth-child(3) { margin-top: 40px; }
.steps--4 .step:nth-child(4)::before { width: 20px; height: 20px; margin: -10px 0 0 -10px; background: var(--grad); }
.section--night .step__num { color: var(--sky); }
.section--night .step p { color: var(--muted-dark); }

/* ---------- Por qué nosotros ---------- */
.stats { margin: 0 0 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats div { padding: 28px 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stats div::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--grad); }
.stats dt { font-family: var(--font-head); font-size: clamp(36px, 4vw, 52px); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.pillars { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pillars div { display: grid; gap: 8px; align-content: start; }
.pillar__ico {
  width: 44px; height: 44px; border-radius: 14px; margin-bottom: 8px;
  display: grid; place-items: center;
  background: var(--band); color: var(--blue);
}
.pillar__ico svg { width: 22px; height: 22px; }
.pillars dt { font-family: var(--font-head); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.pillars dd { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Industrias ---------- */
.industries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.industries li {
  position: relative; overflow: hidden;
  padding: 24px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  border-radius: 20px; background: var(--white); border: 1px solid var(--line);
  font-family: var(--font-head); font-size: 18px; font-weight: 600; letter-spacing: -.02em;
  transition: border-color .25s, transform .25s var(--ease);
}
.industries li::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 194, 230, .18), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.industries li:hover { border-color: #9DB3D9; transform: translateY(-3px); }
.industries li:hover::before { opacity: 1; }
.industries svg { width: 30px; height: 30px; color: var(--blue); }

/* ---------- Cierre ---------- */
.section--cta-top { padding-top: 128px; }

/* ---------- Contacto nocturno ---------- */
.contact { padding: 128px 0; }
.contact .hero__canvas { opacity: .8; }
.contact__list { margin: 32px 0 0; display: grid; gap: 14px; }
.contact__list div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 15px; }
.contact__list dt { color: var(--muted-dark); }
.contact__list dd { margin: 0; color: var(--white); }
.contact__list a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(143, 221, 242, .4); text-underline-offset: 3px; }
.contact-form {
  display: grid; gap: 22px;
  padding: 32px;
  background: var(--white); color: var(--ink);
  border-radius: 28px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
}
.contact-form .group legend { margin-bottom: 10px; font-size: 13.5px; font-weight: 500; }
.contact-form .chip span { padding: 8px 14px; font-size: 13.5px; }
.contact-form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-form__note { font-size: 13px; color: var(--muted); }
.contact-form__note.is-ok { color: var(--ok); }
.was-validated .field :invalid { border-color: var(--danger); background-color: #FFF7F7; }

/* ---------- Pie nocturno ---------- */
.footer--night { background: var(--night-900); color: #C9D6F2; border-top: 1px solid var(--night-line); }
.footer--night .brand { color: var(--white); }
.footer--night .brand__latam { color: var(--sky); }
.footer--night .footer__tagline, .footer--night .footer__bottom { color: var(--muted-dark); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.footer__col h4 { margin: 0 0 4px; font-size: 13.5px; font-weight: 600; color: var(--muted-dark); }
.footer__col a:hover { color: var(--white); }

@media (max-width: 1080px) {
  .svc { grid-template-columns: 1fr; }
  .svc__tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .svc-tab { padding: 10px 14px 10px 10px; font-size: 14.5px; }
  .svc-tab__ico { width: 32px; height: 32px; border-radius: 10px; }
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .constel { justify-self: center; margin-top: 16px; max-width: 460px; }
  .steps--4 { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps--4 .step:nth-child(n) { margin-top: 0; }
  .climb__line { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .constel { width: 100%; margin: 16px auto 8px; }
  .kstar__label { font-size: 11.5px; }
  .constel__hint { bottom: -34px; }
  .svc-panel { padding: 32px 22px; }
  .svc__stage { min-height: 0; }
  .steps--4 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 24px; }
  .industries li { min-height: 120px; padding: 18px; font-size: 16px; }
  .contact { padding: 88px 0; }
  .contact-form { padding: 22px 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  /* En celular las pestañas de servicios van en dos columnas, todas visibles */
  .svc__tabs { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; gap: 6px; }
  .svc-tab { font-size: 13px; gap: 8px; padding: 8px; border-color: var(--line); background: var(--white); line-height: 1.25; }
}

/* Los nombres llevan un fondo nocturno suave para que las líneas no los crucen */
.kstar__label { padding: 2px 8px; border-radius: 999px; background: rgba(7, 13, 31, .82); }


/* ---------- Formulario: antispam y avisos ---------- */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__captcha { min-height: 65px; }
.contact-form__note.is-error { color: #A8262C; }
.contact-form__note.is-error a { color: inherit; font-weight: 600; text-decoration: underline; }

/* ---------- Página 404 ---------- */
.notfound { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.notfound .container { display: grid; justify-items: center; gap: 18px; }
.notfound__mark { width: 120px; height: 120px; filter: drop-shadow(0 0 30px rgba(19, 194, 230, .4)); }
.notfound__code { font-family: var(--font-head); font-weight: 600; font-size: clamp(64px, 12vw, 120px); letter-spacing: -.05em; line-height: 1; }
.notfound h1 { font-size: clamp(26px, 4vw, 40px); }
.notfound p { color: var(--muted-dark); max-width: 460px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 12px; }

/* ---------- Pie: datos legales ---------- */
.footer__label { font-size: 12.5px; color: var(--muted-dark); margin-top: 4px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__legal strong { color: #C9D6F2; font-weight: 600; }
.contact-form__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Páginas legales ---------- */
.legal-hero {
  padding: 136px 0 48px;
  background: radial-gradient(760px 380px at 85% 0%, rgba(20, 82, 214, .35), transparent 70%), var(--night-900);
  color: var(--white);
}
.legal-hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin: 28px 0 14px; }
.legal-hero__meta { color: var(--muted-dark); font-size: 14.5px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.legal-tabs a {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(140, 180, 255, .22); color: #C9D6F2;
  font-size: 14px; font-weight: 500; transition: background .2s, color .2s;
}
.legal-tabs a:hover { background: rgba(255, 255, 255, .07); color: var(--white); }
.legal-tabs a[aria-current="page"] { background: var(--white); color: var(--ink); border-color: var(--white); }

.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 56px; padding-bottom: 112px; }
.legal__toc { position: sticky; top: 100px; font-size: 14px; }
.legal__toc p { font-weight: 600; margin-bottom: 10px; }
.legal__toc ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; color: var(--muted); }
.legal__toc a { color: var(--muted); }
.legal__toc a:hover { color: var(--blue); }
.legal__body { max-width: 760px; font-size: 16.5px; line-height: 1.75; }
.legal__body section { padding: 8px 0 24px; scroll-margin-top: 96px; }
.legal__body h2 { font-size: 22px; margin: 18px 0 12px; }
.legal__body p { margin-bottom: 12px; color: var(--ink-2); }
.legal__body ul { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; color: var(--ink-2); }
.legal__body a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(20, 82, 214, .3); text-underline-offset: 3px; }
.legal__body a:hover { text-decoration-color: var(--blue); }
.legal-summary {
  margin-bottom: 24px; padding: 24px 28px;
  border-radius: 20px; background: var(--white); border: 1px solid var(--line);
  box-shadow: inset 4px 0 0 var(--cyan);
}
.legal-summary h2 { margin-top: 0; }
@media (max-width: 960px) {
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal__toc { position: static; padding: 18px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .legal-hero { padding-top: 108px; }
  .legal__body { font-size: 16px; }
  .legal-summary { padding: 20px; }
}
