@font-face {
  font-family: Manrope;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/manrope-light.woff2) format('woff2');
}
@font-face {
  font-family: Manrope;
  font-weight: 400 500;
  font-display: swap;
  src: url(fonts/manrope-regular.woff2) format('woff2');
}
@font-face {
  font-family: Manrope;
  font-weight: 600 800;
  font-display: swap;
  src: url(fonts/manrope-bold.woff2) format('woff2');
}
:root {
  --bg: #0a1224;
  --bg2: #111c36;
  --line: #22304f;
  --tx: #eef3ff;
  --mut: #97a6c6;
  --ac: #ff7a1a;
  --ac2: #ffb36b;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}
body {
  font:
    400 16px/1.6 Manrope,
    system-ui,
    sans-serif;
  background: radial-gradient(900px 500px at 90% -5%, #2a3f7a44, transparent), var(--bg);
  color: var(--tx);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ac);
  color: #1b0b00;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 99;
}
.skip:focus {
  top: 12px;
}
:focus-visible {
  outline: 2px solid var(--ac2);
  outline-offset: 3px;
  border-radius: 6px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 56px);
  background: #0a1224d9;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tx);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}
.logo i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 4px solid var(--ac);
  position: relative;
}
.logo i::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--ac);
}
.nav nav {
  display: flex;
  gap: clamp(10px, 2.4vw, 28px);
  align-items: center;
}
.nav a {
  color: var(--mut);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.nav a:hover {
  color: var(--tx);
}
.lang {
  font: 700 13px Manrope;
  color: var(--tx);
  background: none;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 13px;
  cursor: pointer;
}
.lang:hover {
  border-color: var(--ac);
}
.hero {
  max-width: 1180px;
  margin: auto;
  padding: clamp(40px, 8vw, 100px) clamp(16px, 4vw, 56px) 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ac);
  font-weight: 800;
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--ac), var(--ac2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  color: var(--mut);
  max-width: 52ch;
  margin: 18px 0 26px;
  font-size: 1.08rem;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  font: 700 15px Manrope;
  color: #1b0b00;
  background: linear-gradient(135deg, var(--ac), var(--ac2));
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}
.btn--ghost {
  background: transparent;
  color: var(--tx);
  border: 1px solid var(--line);
}
.btn--ghost:hover {
  border-color: var(--ac);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.badges {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.badges span {
  font-size: 12px;
  font-weight: 700;
  color: var(--mut);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 99px;
}
.phone {
  justify-self: center;
  width: min(260px, 70vw);
  aspect-ratio: 9/18;
  border-radius: 38px;
  border: 8px solid #1b2745;
  background: #070d1b;
  box-shadow:
    0 40px 80px -30px #000,
    0 0 0 1px var(--line);
  transform: rotate(4deg);
  overflow: hidden;
}
.phone__in {
  height: 100%;
  padding: 34px 16px 16px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
}
.phone__t {
  font-weight: 800;
  text-align: center;
  font-size: 0.9rem;
  color: var(--mut);
}
.mini {
  position: relative;
  margin: auto;
  width: 8px;
  height: 100%;
  border-radius: 8px;
  background: var(--lc, #f04e98);
}
.mini b {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 34px;
  margin-left: -11px;
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 0 0 4px #ffffff30,
    0 6px 16px #000;
}
.feat {
  max-width: 1180px;
  margin: auto;
  padding: 30px clamp(16px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.feat article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg2);
}
.feat b {
  font-size: 1.8rem;
}
.feat h2 {
  font-size: 1.15rem;
  margin: 10px 0 6px;
  letter-spacing: -0.01em;
}
.feat p {
  color: var(--mut);
  font-size: 0.95rem;
}
.sec {
  max-width: 1180px;
  margin: auto;
  padding: clamp(48px, 8vw, 90px) clamp(16px, 4vw, 56px) 0;
}
h2 {
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 14px;
}
.note {
  color: var(--mut);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.live {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--bg2);
  overflow: hidden;
}
.tabs {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
}
.tabs button {
  font: 800 14px Manrope;
  color: var(--tx);
  background: none;
  border: 2px solid var(--c);
  border-radius: 99px;
  padding: 8px 18px;
  cursor: pointer;
  white-space: nowrap;
}
.tabs button[aria-selected='true'] {
  background: var(--c);
  color: #fff;
}
.live__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}
.track {
  max-height: 560px;
  overflow: auto;
  padding: 10px 16px;
  border-right: 1px solid var(--line);
}
.track svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
}
.st {
  cursor: pointer;
}
.st text {
  font: 600 13px Manrope;
  fill: var(--tx);
}
.st:hover text,
.st.on text {
  fill: var(--ac2);
}
.st .dot {
  fill: var(--bg2);
  stroke: var(--c);
  stroke-width: 4;
}
.st.on .dot {
  fill: var(--ac);
}
.st .tr {
  fill: var(--mut);
  font-size: 10px;
}
.train {
  fill: #fff;
  stroke: var(--c);
  stroke-width: 3;
}
.info {
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.info h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.info p {
  color: var(--mut);
}
.chip {
  display: inline-block;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 99px;
  margin-right: 6px;
}
.eta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.eta div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.eta b {
  display: block;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  color: var(--ac2);
}
.eta span {
  font-size: 0.78rem;
  color: var(--mut);
}
.planner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: end;
}
.planner label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--mut);
}
select {
  font: 600 16px Manrope;
  color: var(--tx);
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  width: 100%;
}
select:focus {
  outline: 2px solid var(--ac);
  border-color: transparent;
}
.swap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--tx);
  font-size: 18px;
  cursor: pointer;
}
.swap:hover {
  border-color: var(--ac);
}
.result {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg2);
  padding: 24px;
}
.sum {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.sum b {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.03em;
}
.sum span {
  color: var(--mut);
  font-size: 0.8rem;
}
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg);
  border-left: 6px solid var(--c);
}
.news {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.news li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg2);
}
.news small {
  grid-column: 1/-1;
  color: var(--mut);
  font-weight: 600;
}
.tag {
  align-self: start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--tg);
  color: #10151f;
}
.news p {
  color: var(--mut);
}
.tech {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 14px;
}
.tech article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg2);
}
.tech h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--ac2);
}
.tech p {
  color: var(--mut);
  font-size: 0.9rem;
}
.dl {
  text-align: center;
  padding-bottom: 20px;
}
.dl .lead {
  margin-inline: auto;
}
.dl .cta {
  justify-content: center;
}
.foot {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding: 28px clamp(16px, 4vw, 56px);
  text-align: center;
  color: var(--mut);
  font-size: 0.85rem;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  translate: -50% 20px;
  background: var(--tx);
  color: #0a1224;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 70;
  max-width: 90vw;
}
.toast.on {
  opacity: 1;
  translate: -50% 0;
}
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .phone {
    order: -1;
    width: 170px;
  }
  .live__grid {
    grid-template-columns: 1fr;
  }
  .track {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    max-height: 420px;
  }
  .nav nav a {
    display: none;
  }
  .planner {
    grid-template-columns: 1fr;
  }
  .swap {
    justify-self: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Celular en horizontal / pantallas bajas: el héroe cabe y no se corta */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
    padding-top: 24px;
    padding-bottom: 20px;
  }
  .phone {
    order: 0;
    width: 130px;
  }
  h1 {
    font-size: clamp(1.9rem, 8vh, 2.8rem);
  }
  .nav nav a {
    display: inline;
  }
}

/* Noticias en celular: etiqueta compacta arriba y título debajo */
@media (max-width: 560px) {
  .news li {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .news .tag {
    justify-self: start;
  }
}

/* Regreso a la web principal */
.volver {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
}
.volver a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.volver a[hidden] {
  display: none;
}
