/* ============ TOKENS ============ */
:root {
  --bosque: #1b4332;
  --bosque-2: #143026;
  --selva: #2d6a4f;
  --verde: #52b788;
  --sol: #f9c74f;
  --cielo: #42a5f5;
  --crema: #f5f0e6;
  --ink: #16241c;
  --ink-soft: #4b5a50;
  --paper: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1120px;
}

/* ============ RESET ============ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.hide-mobile {
  display: inline;
}
@media (max-width: 720px) {
  .hide-mobile {
    display: none;
  }
}

/* ============ EYEBROW ============ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sol);
  margin-bottom: 14px;
  display: block;
}
.eyebrow--dark {
  color: var(--selva);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn--sol {
  background: var(--sol);
  color: var(--bosque-2);
}
.btn--sol:hover {
  box-shadow: 0 8px 24px -8px rgba(249, 199, 79, 0.6);
}

.btn--verde {
  background: var(--verde);
  color: #fff;
}
.btn--verde:hover {
  box-shadow: 0 8px 24px -8px rgba(82, 183, 136, 0.55);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 48, 38, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}
.nav__logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.nav__links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
.nav__links a:hover {
  color: #fff;
}
@media (max-width: 780px) {
  .nav__links {
    display: none;
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: radial-gradient(
    120% 140% at 20% -10%,
    var(--selva) 0%,
    var(--bosque) 46%,
    var(--bosque-2) 100%
  );
  color: #fff;
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 60px;
}
.hero__glow {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(249, 199, 79, 0.22),
    transparent 70%
  );
  pointer-events: none;
}
.hero__inner {
  position: relative;
  text-align: center;
}
.hero__title {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 600;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin: 0 auto 22px;
}
.hero__title em {
  font-style: italic;
  color: var(--sol);
}
.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

/* --- signature route device --- */
.route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 720px;
  margin: 0 auto;
}
.route__line {
  position: absolute;
  top: 17px;
  left: 6%;
  right: 6%;
  width: 88%;
  height: 40px;
  stroke: rgba(249, 199, 79, 0.45);
  stroke-width: 2;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  fill: none;
}
.route__stop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.route__pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bosque-2);
  border: 2px solid var(--sol);
  color: var(--sol);
  font-family: var(--font-mono);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.route__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* ============ SECTIONS ============ */
.section {
  padding: 96px 0;
}
.section--dark {
  background: var(--bosque-2);
  color: #fff;
}
.section--bosque {
  background: var(--bosque);
  color: #fff;
}

.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: var(--bosque-2);
  max-width: 640px;
  margin-bottom: 18px;
}
.section__title--light {
  color: #fff;
}

.section__lede {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin-bottom: 44px;
}
.section__lede--dark {
  color: var(--ink-soft);
}

/* ============ GRIDS / CARDS ============ */
.grid {
  display: grid;
  gap: 22px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 860px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--crema);
  border-radius: 20px;
  padding: 30px 26px;
  border: 1px solid rgba(27, 67, 50, 0.08);
}
.card__mark {
  font-size: 26px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 19px;
  color: var(--bosque-2);
  margin-bottom: 10px;
}
.card p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.confianza-grid {
  margin-top: 8px;
}
.stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px 20px;
}
.stat__icon {
  font-size: 22px;
  display: block;
  margin-bottom: 12px;
}
.stat p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* ============ EMPRESAS ============ */
.empresas {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .empresas {
    grid-template-columns: 1fr;
  }
}
.checklist {
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist li {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 26px;
  position: relative;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--verde);
  font-weight: 700;
}

/* ticket / boarding-pass signature echo */
.ticket {
  background: #fff;
  border: 1.5px dashed rgba(27, 67, 50, 0.25);
  border-radius: 20px;
  padding: 28px 26px;
  max-width: 360px;
  margin: 0 auto;
  box-shadow: 0 30px 60px -30px rgba(27, 67, 50, 0.35);
}
.ticket__top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--selva);
  margin-bottom: 18px;
}
.ticket__logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.ticket__route {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--bosque-2);
}
.ticket__route span {
  color: var(--sol);
  padding: 0 6px;
}
.ticket__divider {
  border-top: 1.5px dashed rgba(27, 67, 50, 0.2);
  margin: 20px 0;
}
.ticket__row {
  display: flex;
  justify-content: space-between;
}
.ticket__row > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ticket__k {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}
.ticket__v {
  font-size: 16px;
  font-weight: 600;
  color: var(--bosque-2);
}

/* ============ CTA FINAL ============ */
.cta-final__inner {
  text-align: center;
}
.cta-final .section__title,
.cta-final .section__lede {
  margin-left: auto;
  margin-right: auto;
}

/* ============ STORE BADGES ============ */
.stores {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  opacity: 0.75;
}
.store-badge__icon {
  font-size: 22px;
  width: 22px;
  color: #fff;
  flex-shrink: 0;
  text-align: center;
}
.store-badge__text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-align: left;
}
.store-badge__text small {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bosque-2);
  color: rgba(255, 255, 255, 0.6);
  padding: 36px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .nav__brand {
  color: #fff;
  font-size: 15px;
}
.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.footer__legal a:hover {
  color: #fff;
}
.footer__copy {
  font-size: 13px;
}

/* ============ PÁGINAS LEGALES ============ */
.legal-header {
  background: var(--bosque-2);
  padding: 24px 0;
}
.legal-header .nav__brand {
  color: #fff;
}
.legal-back {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  display: inline-block;
}
.legal-back:hover {
  color: #fff;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal-content h1 {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--bosque-2);
  margin-bottom: 8px;
}
.legal-content .legal-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--selva);
  margin-bottom: 36px;
  display: block;
}
.legal-notice {
  background: #fff4e5;
  border-left: 4px solid #b00020;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 13.5px;
  color: #5a3a00;
  margin-bottom: 40px;
  line-height: 1.6;
}
.legal-notice strong {
  color: #b00020;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--bosque-2);
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(27, 67, 50, 0.12);
}
.legal-content p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.legal-content ul {
  margin: 0 0 14px 0;
  padding-left: 0;
}
.legal-content li {
  font-size: 15px;
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}
.legal-content li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--verde);
}
.legal-content ol {
  margin: 0 0 14px 0;
  padding-left: 22px;
}
.legal-content ol li {
  padding-left: 6px;
}
.legal-content ol li::before {
  content: none;
}
.legal-updated {
  font-size: 13px;
  color: #999;
  font-style: italic;
  margin-top: 48px;
}
