/* =========================================================
   PRONTICO — Landing page
   Paleta inspirada en Cashea: amarillo eléctrico + tinta
   ========================================================= */

:root {
  --amarillo: #FDFA3D;
  --amarillo-soft: #FEFB7A;
  --tinta: #1F1F1F;
  --tinta-2: #2B2B2B;
  --blanco: #FFFFFF;
  --crema: #F8F8F6;
  --gris: #727272;
  --morado: #6E22BF;
  --morado-2: #8B4ECC;
  --linea: rgba(31, 31, 31, 0.1);
  --radio: 22px;
  --sombra: 0 24px 60px -32px rgba(31, 31, 31, 0.45);
  --container: 1200px;
  --header-h: 78px;
  --header-h-scrolled: 66px;
  --wa: #25D366;
  --ig-a: #F58529;
  --ig-b: #DD2A7B;
  --ig-c: #8134AF;
  --tt-1: #25F4EE;
  --tt-2: #FE2C55;
  --fb: #1877F2;
  --yt: #FF0000;
  --x: #E7E9EA;
  --font-ui: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--tinta);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0.012em;
  text-transform: uppercase;
}

h3,
h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
}

a,
button,
summary,
.cat,
.ally,
.chip {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
.h2 {
  text-wrap: balance;
}

.lead,
.hero__lead,
.faq__body p {
  text-wrap: pretty;
}

svg {
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg [fill^="#"] {
  stroke: none;
}

::selection {
  background: var(--amarillo);
  color: var(--tinta);
}

:focus-visible {
  outline: 3px solid var(--morado);
  outline-offset: 3px;
}

.allies :focus-visible,
.riders :focus-visible,
.footer :focus-visible,
.promo :focus-visible {
  outline-color: var(--amarillo);
}

section[id],
.cta[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

/* ---------- Utilidades ---------- */

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  transform: translateY(-150%);
  background: var(--tinta);
  color: var(--amarillo);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s;
}

.skip-link:focus {
  transform: none;
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
}

.h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
}

.lead {
  max-width: 52ch;
  color: var(--gris);
  font-size: clamp(14px, 1.2vw, 15.5px);
  line-height: 1.65;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 8px;
  border: 1.5px solid var(--tinta);
  border-radius: 2px;
  background: var(--amarillo);
  transform: skewX(-14deg);
  flex: none;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.section__head .lead {
  margin-top: 16px;
}

.section__head--center {
  justify-content: center;
  text-align: center;
}

.section__head--center > div {
  max-width: 640px;
}

.section__head--center .lead {
  margin-inline: auto;
}

.section__head--center .eyebrow {
  justify-content: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 2px solid var(--amarillo);
  background: none;
  color: var(--tinta);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: gap 0.2s;
  flex: none;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
}

.link-arrow:hover {
  gap: 12px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.btn--primary {
  background: var(--amarillo);
  color: var(--tinta);
  border-color: var(--tinta);
  box-shadow: 0 4px 0 var(--tinta);
}

.btn--primary:hover {
  background: #fff;
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--tinta);
}

.btn--dark {
  background: var(--tinta);
  color: #fff;
  border-color: var(--tinta);
}

.btn--dark:hover {
  background: #000;
}

.btn--ghost {
  background: transparent;
  color: var(--tinta);
  border-color: rgba(31, 31, 31, 0.22);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--tinta);
  border-color: var(--tinta);
  color: #fff;
}

.btn--sm {
  padding: 11px 18px;
  font-size: 13px;
  box-shadow: 0 3px 0 var(--tinta);
}

.btn--full {
  width: 100%;
}

/* ---------- Barra superior ---------- */

.topbar {
  background: var(--tinta);
  color: #fff;
  font-size: 11.5px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
  padding-block: 6px;
}

.topbar__coverage {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__rates {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 8px;
  padding: 3px 10px 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  line-height: 1;
  white-space: nowrap;
}

.topbar__rates-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amarillo);
}

.topbar__rates-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transition: background-color 0.2s;
}

.topbar__rates[data-status="error"] .topbar__rates-tag::before {
  background: rgba(255, 255, 255, 0.4);
}

.topbar__rate {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.topbar__rate-code {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.topbar__rate-value {
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  transition: color 0.2s, opacity 0.2s;
}

.topbar__rate.is-unavailable .topbar__rate-value,
.topbar__rate.is-stale .topbar__rate-value {
  color: rgba(255, 255, 255, 0.55);
}

.topbar__rates.is-loading .topbar__rate-value {
  opacity: 0.6;
}

.topbar__rate-divider {
  flex: none;
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.16);
}

.topbar svg {
  width: 13px;
  height: 13px;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.topbar a:hover {
  color: var(--amarillo);
}

.topbar__phone {
  font-weight: 600;
  color: var(--amarillo) !important;
  white-space: nowrap;
}

.topbar__phones {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar__phones .topbar__phone + .topbar__phone {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.topbar__wa {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.68) !important;
  white-space: nowrap;
}

.topbar__link {
  color: rgba(255, 255, 255, 0.68) !important;
  white-space: nowrap;
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.topbar__social-item {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.62);
  cursor: default;
}

.topbar__social svg {
  width: 16px;
  height: 16px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  transition: box-shadow 0.3s;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 34px -22px rgba(31, 31, 31, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  transition: height 0.3s;
}

.site-header.is-scrolled .header__inner {
  height: var(--header-h-scrolled);
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--tinta);
  text-decoration: none;
  line-height: 1;
}

.logo__img {
  display: block;
  width: auto;
  height: 40px;
  max-width: 100%;
}

.logo--light .logo__img {
  filter: invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav > a {
  position: relative;
  padding: 6px 0;
  color: var(--tinta);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
}

.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--amarillo);
  transition: width 0.25s;
}

.nav > a:hover::after,
.nav > a.is-active::after {
  width: 100%;
}

.nav__mobile-extra {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__login {
  color: var(--tinta);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.header__login:hover {
  color: var(--morado);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1.5px solid rgba(31, 31, 31, 0.16);
  border-radius: 12px;
  background: #fff;
  color: var(--tinta);
  cursor: pointer;
  flex: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.theme-toggle:hover {
  background: var(--tinta);
  border-color: var(--tinta);
  color: var(--amarillo);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
  transition: transform 0.3s;
}

.theme-toggle__icon--sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle__icon--moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle__icon--sun {
  display: block;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.5px solid rgba(31, 31, 31, 0.16);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--tinta);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.25s, top 0.25s;
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 23px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 20px;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 64px) 0 clamp(50px, 7vw, 88px);
  background: var(--amarillo);
  --hero-fg: var(--tinta);
  --hero-muted: rgba(31, 31, 31, 0.76);
  --hero-dot: rgba(31, 31, 31, 0.35);
  --hero-line: rgba(31, 31, 31, 0.22);
  --hero-shadow: rgba(255, 255, 255, 0.78);
  --hero-invert: #fff;
}

.hero.theme-morado {
  --hero-fg: #fff;
  --hero-muted: rgba(255, 255, 255, 0.78);
  --hero-dot: rgba(255, 255, 255, 0.4);
  --hero-line: rgba(255, 255, 255, 0.3);
  --hero-shadow: rgba(255, 255, 255, 0.14);
  --hero-invert: var(--tinta);
}

.hero.theme-tinta {
  --hero-fg: #fff;
  --hero-muted: rgba(255, 255, 255, 0.74);
  --hero-dot: rgba(255, 255, 255, 0.38);
  --hero-line: rgba(255, 255, 255, 0.26);
  --hero-shadow: rgba(255, 255, 255, 0.14);
  --hero-invert: var(--tinta);
}

.hero__layers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.8s ease;
}

.hero__layer.is-active {
  opacity: 1;
}

.hero__layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--dot-color, rgba(31, 31, 31, 0.14)) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 12%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 12%, #000 100%);
  opacity: 0.5;
}

.hero__layer::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  border: 2px solid var(--blob-color, rgba(31, 31, 31, 0.18));
  border-radius: 50%;
}

.hero__layer--amarillo {
  background: var(--amarillo);
  --dot-color: rgba(31, 31, 31, 0.14);
  --blob-color: rgba(31, 31, 31, 0.18);
}

.hero__layer--morado {
  background: radial-gradient(120% 100% at 100% 0%, #8B4ECC 0%, var(--morado) 42%, #3E0F73 100%);
  --dot-color: rgba(255, 255, 255, 0.18);
  --blob-color: rgba(255, 255, 255, 0.2);
}

.hero__layer--tinta {
  background: radial-gradient(120% 90% at 85% 0%, #3D3D3D 0%, var(--tinta) 55%, #131313 100%);
  --dot-color: rgba(255, 255, 255, 0.15);
  --blob-color: rgba(255, 255, 255, 0.16);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.hero__content {
  min-width: 0;
}

/* Carrusel del hero */

.hero__slides {
  width: 100%;
  overflow: hidden;
  margin-bottom: 28px;
}

.hero__track {
  display: flex;
  gap: 24px;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding-right: 18px;
}

.hero-slide .eyebrow {
  margin-bottom: 20px;
}

.hero__title {
  margin-bottom: 18px;
  color: var(--hero-fg);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.92;
  transition: color 0.5s;
}

.hero__brand {
  display: inline-block;
  padding: 0.02em 0.12em 0.06em;
  background: var(--tinta);
  color: var(--amarillo);
  transform: rotate(-1.5deg);
  box-shadow: 8px 8px 0 var(--hero-shadow);
  transition: box-shadow 0.5s, background 0.5s, color 0.5s;
}

.hero.theme-tinta .hero__brand {
  background: var(--amarillo);
  color: var(--tinta);
}

.hero__lead {
  max-width: 48ch;
  margin-bottom: 0;
  color: var(--hero-muted);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  transition: color 0.5s;
}

.hero__nav {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  color: var(--hero-fg);
  transition: color 0.5s;
}

.hero__nav-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1.5px solid var(--hero-line);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.hero__nav-btn svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.hero__nav-btn:hover {
  border-color: var(--hero-fg);
  background: var(--hero-fg);
  color: var(--hero-invert);
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 0;
  margin-inline: 3px;
}

.hero__dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hero__dot::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--hero-dot);
  transition: width 0.3s, background 0.3s;
}

.hero__dot:hover::after {
  background: var(--hero-fg);
}

.hero__dot.is-active::after {
  width: 26px;
  background: var(--hero-fg);
}

.hero__counter {
  margin-left: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

.hero__counter b {
  font-weight: 700;
  opacity: 1;
}

.eyebrow--chip {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 24px;
  padding: 7px 13px;
  border: 1.5px solid var(--tinta);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 0 rgba(31, 31, 31, 0.2);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: none;
}

.eyebrow--chip::before {
  display: none;
}

.eyebrow--chip svg {
  width: 14px;
  height: 14px;
}

.address-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 540px;
  padding: 7px;
  border: 2px solid var(--tinta);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 0 rgba(31, 31, 31, 0.92);
}

.address-form__field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding-left: 12px;
}

.address-form__field svg {
  width: 20px;
  height: 20px;
  color: var(--morado);
}

.address-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--tinta);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  outline: none;
}

.address-form input::placeholder {
  color: #9B9B9B;
}

.address-form .btn {
  padding: 13px 24px;
  font-size: 13.5px;
}

.address-form__error {
  position: absolute;
  top: calc(100% + 8px);
  left: 20px;
  font-size: 11.5px;
  font-weight: 600;
  color: #7D1111;
}

.address-form.is-invalid {
  border-color: #A61B1B;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--hero-muted);
  transition: color 0.5s;
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero__trust li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--hero-dot);
}

.hero__star {
  width: 13px;
  height: 13px;
  color: var(--hero-fg);
  transition: color 0.5s;
}

.hero__content > .address-form {
  margin-top: 28px;
}

.hero .hero-track {
  display: none;
}

.hero-track__code {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  padding: 14px 0;
}

.hero__sticker {
  position: absolute;
  top: 0;
  right: 2%;
  z-index: 4;
  padding: 14px 15px;
  border-radius: 50% 50% 50% 6px;
  background: var(--tinta);
  color: var(--amarillo);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  transform: rotate(9deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: background 0.5s, color 0.5s;
}

.hero.theme-tinta .hero__sticker {
  background: var(--amarillo);
  color: var(--tinta);
}

/* ---------- Mockup teléfono ---------- */

.phone {
  position: relative;
  width: min(298px, 84%);
  transform: rotate(-4deg);
}

.phone__frame {
  position: relative;
  padding: 9px;
  border-radius: 44px;
  background: var(--tinta);
  box-shadow:
    0 42px 70px -26px rgba(31, 31, 31, 0.6),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.18);
}

.phone__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 3;
  width: 86px;
  height: 20px;
  border-radius: 999px;
  background: var(--tinta);
  transform: translateX(-50%);
}

.phone__screen {
  position: relative;
  height: 584px;
  border-radius: 36px;
  background: #fff;
  overflow: hidden;
}

.phone__screen > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1.5px solid rgba(31, 31, 31, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 34px -20px rgba(31, 31, 31, 0.55);
  animation: bob 6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.float small {
  display: block;
  color: var(--gris);
  font-size: 8.5px;
  line-height: 1.3;
}

.float strong {
  font-size: 12px;
  line-height: 1.2;
}

.float--eta {
  top: 16%;
  left: -5%;
  animation-delay: -2s;
}

.float--rating {
  right: -3%;
  bottom: 13%;
  animation-delay: -4s;
}

.float__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--amarillo);
  color: var(--tinta);
}

.float__icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: none;
}

.float--rating > strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.float--rating span {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 1.3;
}

/* ---------- Logos aliados ---------- */

.logos {
  padding: 16px 0;
  background: #fff;
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
  overflow: hidden;
}

.logos__inner {
  display: flex;
  align-items: center;
  gap: 26px;
}

.logos__label {
  padding-right: 26px;
  border-right: 1px solid rgba(31, 31, 31, 0.12);
  color: var(--gris);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: none;
}

.logos__marquee {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.logos__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.logos:hover .logos__track {
  animation-play-state: paused;
}

.logos__track img {
  width: auto;
  height: 32px;
  max-width: 150px;
  object-fit: contain;
}

.logos__track i {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(31, 31, 31, 0.35);
  background: var(--amarillo);
  transform: rotate(45deg);
  flex: none;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Categorías ---------- */

.categories {
  background: var(--crema);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 18px;
  border: 1px solid rgba(31, 31, 31, 0.09);
  border-radius: var(--radio);
  background: #fff;
  color: var(--tinta);
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.cat:hover {
  transform: translateY(-5px);
  border-color: var(--tinta);
  box-shadow: 0 22px 44px -28px rgba(31, 31, 31, 0.5);
}

.cat__art {
  position: relative;
  display: grid;
  place-items: center;
  height: 118px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--cat-bg, var(--crema));
  overflow: hidden;
}

.cat__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(31, 31, 31, 0.16) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  opacity: 0.45;
}

.cat__art svg {
  position: relative;
  width: 46px;
  height: 46px;
  stroke-width: 1.6;
  transition: transform 0.3s;
}

.cat:hover .cat__art svg {
  transform: rotate(-8deg) scale(1.12);
}

.cat strong {
  font-size: 16px;
  font-weight: 700;
}

.cat > span:not(.cat__art) {
  margin-top: 1px;
  color: var(--gris);
  font-size: 11.5px;
}

.cat__arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 16px;
  height: 16px;
  color: var(--tinta);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: 0.25s;
}

.cat:hover .cat__arrow {
  opacity: 1;
  transform: none;
}

/* ---------- Pasos ---------- */

.steps {
  background: #fff;
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(31, 31, 31, 0.1);
  border-radius: var(--radio);
  background: #fff;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  right: -19px;
  z-index: 1;
  width: 20px;
  border-top: 2px dashed rgba(31, 31, 31, 0.24);
}

.step__num {
  position: absolute;
  top: 10px;
  right: 20px;
  color: var(--gris);
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
}

.step__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1.5px solid var(--tinta);
  border-radius: 13px;
  background: var(--amarillo);
}

.step__icon svg {
  width: 23px;
  height: 23px;
}

.step h3 {
  margin-bottom: 7px;
  font-size: 17px;
}

.step p {
  color: var(--gris);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ---------- Puntos de referencia ---------- */

.allies {
  background: var(--tinta);
  color: #fff;
  overflow: hidden;
}

.allies .eyebrow {
  color: var(--amarillo);
}

.allies .eyebrow::before {
  background: transparent;
  border-color: var(--amarillo);
}

.allies .h2 {
  color: #fff;
}

.allies .lead {
  color: rgba(255, 255, 255, 0.62);
}

.allies__head {
  align-items: center;
}

.allies__controls {
  display: flex;
  gap: 8px;
  flex: none;
}

.circle-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  flex: none;
}

.circle-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.circle-btn:hover:not(:disabled) {
  background: var(--amarillo);
  border-color: var(--amarillo);
  color: var(--tinta);
}

.circle-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.circle-btn--dark {
  border-color: rgba(31, 31, 31, 0.2);
  color: var(--tinta);
}

.circle-btn--dark:hover:not(:disabled) {
  background: var(--tinta);
  border-color: var(--tinta);
  color: #fff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.chip {
  padding: 9px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.chip:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.chip.is-active {
  background: var(--amarillo);
  border-color: var(--amarillo);
  color: var(--tinta);
}

.allies__viewport {
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.allies__viewport::-webkit-scrollbar {
  display: none;
}

.allies__track {
  display: flex;
  gap: 16px;
}

.ally {
  flex: 0 0 clamp(252px, 26vw, 300px);
  scroll-snap-align: start;
  border-radius: 20px;
  background: #fff;
  color: var(--tinta);
  overflow: hidden;
  transition: transform 0.25s;
}

.ally:hover {
  transform: translateY(-4px);
}

.ally.is-hidden {
  display: none;
}

.ally__cover {
  position: relative;
  display: grid;
  place-items: center;
  height: 150px;
  overflow: hidden;
}

.ally__cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.65;
}

.ally__cover::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -44px;
  width: 128px;
  height: 128px;
  border: 18px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.ally__cover--1 { background: linear-gradient(135deg, #FFD966, #FF9E6B); }
.ally__cover--2 { background: linear-gradient(135deg, #C9F0D5, #8FD8B0); }
.ally__cover--3 { background: linear-gradient(135deg, #E3D0FF, #B79BFF); }
.ally__cover--4 { background: linear-gradient(135deg, #FFD1DC, #FF9EB5); }
.ally__cover--5 { background: linear-gradient(135deg, #FFE8B8, #FFC46B); }
.ally__cover--6 { background: linear-gradient(135deg, #D6E4FF, #9DBBFF); }
.ally__cover--7 { background: linear-gradient(135deg, #FFDCC2, #FFB27A); }
.ally__cover--8 { background: linear-gradient(135deg, #D9F2F5, #9EDCE4); }

.ally__monogram {
  position: relative;
  z-index: 1;
  color: rgba(31, 31, 31, 0.23);
  font-family: var(--font-display);
  font-size: 50px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.ally__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 7px;
  background: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ally__badge--dark {
  background: var(--tinta);
  color: var(--amarillo);
}

.ally__body {
  padding: 14px 16px 16px;
}

.ally__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ally__row h3 {
  font-size: 15px;
}

.ally__rating {
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--crema);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.ally__body p {
  margin-top: 3px;
  color: var(--gris);
  font-size: 11px;
}

.allies__empty {
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

/* ---------- Beneficios ---------- */

.benefits__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.benefits__intro {
  position: sticky;
  top: 110px;
}

.benefits__intro .lead {
  margin: 18px 0 26px;
}

.benefits__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.benefit {
  padding: 24px 22px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: var(--crema);
  transition: 0.25s;
}

.benefit:hover {
  border-color: rgba(31, 31, 31, 0.14);
  background: #fff;
  box-shadow: 0 20px 44px -30px rgba(31, 31, 31, 0.45);
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 1.5px solid var(--tinta);
  border-radius: 12px;
  background: var(--amarillo);
}

.benefit__icon svg {
  width: 21px;
  height: 21px;
}

.benefit h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.benefit p {
  color: var(--gris);
  font-size: 12.5px;
  line-height: 1.55;
}

/* ---------- Viajes ---------- */

.rides {
  position: relative;
  overflow: hidden;
  background: var(--crema);
}

.rides__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.rides__content .lead {
  margin: 16px 0 24px;
}

.rides__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.rides__actions .link-arrow {
  font-size: 12.5px;
}

.trip-card {
  width: min(100%, 430px);
  margin-left: auto;
  padding: 14px;
  border-radius: 26px;
  background: var(--tinta);
  color: #fff;
  box-shadow: 0 44px 80px -42px rgba(31, 31, 31, 0.7);
}

.trip-card__map {
  position: relative;
  height: 190px;
  border-radius: 16px;
  background: #141414;
  overflow: hidden;
}

.trip-card__map > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.trip-map__grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 1;
}

.trip-map__route {
  fill: none;
  stroke: var(--amarillo);
  stroke-width: 3;
  stroke-dasharray: 8 9;
  stroke-linecap: round;
}

.trip-map__dot {
  fill: var(--amarillo);
  stroke: #141414;
  stroke-width: 3;
}

.trip-map__dot--end {
  fill: #fff;
}

.trip-card__car {
  position: absolute;
  top: 48%;
  left: 51%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 3px solid #141414;
  border-radius: 50%;
  background: var(--amarillo);
  color: var(--tinta);
  transform: translate(-50%, -50%);
  animation: bob 3.4s ease-in-out infinite;
}

.trip-card__car svg {
  width: 23px;
  height: 23px;
}

.trip-card__eta {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 7px;
  background: #fff;
  color: var(--tinta);
  font-size: 10px;
  font-weight: 700;
}

.trip-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 6px 10px;
}

.trip-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10.5px;
}

.trip-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6EF29A;
  box-shadow: 0 0 0 4px rgba(110, 242, 154, 0.18);
}

.trip-price {
  color: var(--amarillo);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}

.trip-driver {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
}

.trip-driver__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amarillo);
  color: var(--tinta);
  font-size: 11px;
  font-weight: 700;
  flex: none;
}

.trip-driver strong {
  display: block;
  font-size: 11.5px;
  line-height: 1.3;
}

.trip-driver small {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
}

.trip-driver__rating {
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

.trip-route {
  padding: 12px 8px 4px;
}

.trip-route__point {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}

.trip-route__point i {
  width: 11px;
  height: 11px;
  border: 2px solid var(--amarillo);
  border-radius: 50%;
  flex: none;
}

.trip-route__point .is-start {
  background: var(--amarillo);
}

.trip-route__point .is-end {
  border-color: #fff;
  background: #fff;
}

.trip-route__point small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trip-route__point strong {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
}

.trip-route__line {
  height: 12px;
  margin-left: 5px;
  border-left: 1.5px dashed rgba(255, 255, 255, 0.22);
}

.trip-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 11px 6px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 8.5px;
}

.trip-card__foot strong {
  color: rgba(255, 255, 255, 0.78);
  font-size: 8.5px;
  font-weight: 600;
}

/* ---------- Opciones de viaje ---------- */

.ride-options {
  margin-top: clamp(34px, 5vw, 56px);
}

.ride-options__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: 22px;
  padding-top: clamp(26px, 4vw, 38px);
  border-top: 1px solid rgba(31, 31, 31, 0.12);
}

.ride-options__head .eyebrow {
  margin-bottom: 8px;
}

.ride-options__title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.ride-options__lead {
  max-width: 46ch;
  color: var(--gris);
  font-size: 13px;
  line-height: 1.6;
}

.ride-options__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ride-opt {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(31, 31, 31, 0.09);
  border-radius: var(--radio);
  background: #fff;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.ride-opt:hover {
  transform: translateY(-5px);
  border-color: var(--tinta);
  box-shadow: 0 22px 44px -28px rgba(31, 31, 31, 0.5);
}

.ride-opt__media {
  --media-dot: rgba(31, 31, 31, 0.16);
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 20px;
  overflow: hidden;
}

.ride-opt__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--media-dot) 1.2px, transparent 1.2px);
  background-size: 14px 14px;
  opacity: 0.5;
}

.ride-opt__media::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -44px;
  width: 132px;
  height: 132px;
  border: 16px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.ride-opt__media--eco {
  background: linear-gradient(135deg, #FFE066, #FFC94D);
  color: var(--tinta);
}

.ride-opt__media--moto {
  background: linear-gradient(135deg, #DFF3E4, #A9DFBB);
  color: var(--tinta);
}

.ride-opt__media--premium {
  --media-dot: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #2B2B2B, #121214);
  color: var(--amarillo);
}

.ride-opt__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--tinta);
  color: #fff;
  box-shadow: 0 4px 10px rgba(31, 31, 31, 0.18);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ride-opt__media--premium .ride-opt__tag {
  background: var(--amarillo);
  color: var(--tinta);
}

/* Fotos de referencia de cada servicio */
.ride-opt__media:has(> img) {
  aspect-ratio: 3 / 2;
  padding: 0;
  background: #fff;
}

.ride-opt__media > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  object-fit: contain;
  object-position: center;
}

.ride-opt__media:has(> img)::before,
.ride-opt__media:has(> img)::after {
  display: none;
}

.ride-opt__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.ride-opt__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.ride-opt__top h4 {
  font-size: 17px;
}

.ride-opt__meta {
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--crema);
  color: var(--tinta);
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.ride-opt__body > p {
  color: var(--gris);
  font-size: 12.5px;
  line-height: 1.55;
}

.ride-opt__features {
  display: grid;
  gap: 6px;
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}

.ride-opt__features li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--gris);
  font-size: 11.5px;
  font-weight: 500;
}

.ride-opt__features li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border: 1px solid var(--tinta);
  border-radius: 50%;
  background: var(--amarillo);
  flex: none;
}

.ride-opt__body .btn {
  margin-top: auto;
  padding: 13px 18px;
  font-size: 13px;
}

.ride-options__note {
  max-width: 72ch;
  margin-top: 14px;
  color: var(--gris);
  font-size: 11px;
  line-height: 1.55;
}

/* ---------- Promo ---------- */

.promo {
  position: relative;
  padding: clamp(56px, 7vw, 92px) 0;
  background: var(--amarillo);
  overflow: hidden;
}

.promo::before {
  content: "";
  position: absolute;
  top: -160px;
  left: -120px;
  width: 420px;
  height: 420px;
  border: 2px dashed rgba(31, 31, 31, 0.25);
  border-radius: 50%;
}

.promo::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50% 50% 6px 50%;
  background: var(--morado);
  transform: rotate(18deg);
  opacity: 0.92;
}

.promo__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.promo__tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--tinta);
  color: var(--amarillo);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.promo__title {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

.promo__content > p:not(.promo__tag) {
  max-width: 46ch;
  color: rgba(31, 31, 31, 0.75);
  font-size: 14px;
}

.promo__content .promo__tag {
  color: var(--amarillo);
}

.promo__code {
  padding: 24px;
  border-radius: var(--radio);
  background: var(--tinta);
  color: #fff;
  box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.78);
}

.promo__code small {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.promo__codewrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  border-radius: 12px;
}

.promo__codewrap strong {
  color: var(--amarillo);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

#copyCode {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  flex: none;
}

#copyCode svg {
  width: 17px;
  height: 17px;
}

#copyCode:hover {
  border-color: var(--amarillo);
  background: var(--amarillo);
  color: var(--tinta);
}

.promo__code p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
}

/* ---------- Comercios ---------- */

.partners {
  background: var(--crema);
}

.partners__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.checks {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
}

.checks li > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--tinta);
  border-radius: 50%;
  background: var(--amarillo);
  flex: none;
}

.checks svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.6;
}

.partners__stat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(31, 31, 31, 0.12);
}

.partners__stat strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.partners__stat span {
  max-width: 20ch;
  color: var(--gris);
  font-size: 12px;
}

.form-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(31, 31, 31, 0.06);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 34px 66px -38px rgba(31, 31, 31, 0.5);
}

.form-card h3 {
  font-size: 20px;
}

.form-card__lead {
  margin: 4px 0 20px;
  color: var(--gris);
  font-size: 12.5px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 13px;
}

.field-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
}

.field label {
  color: rgba(31, 31, 31, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field input,
.field select {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid rgba(31, 31, 31, 0.16);
  border-radius: 11px;
  background: #fff;
  color: var(--tinta);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder {
  color: #A5A5A5;
}

.field input:focus,
.field select:focus {
  border-color: var(--tinta);
  box-shadow: 0 0 0 3px rgba(253, 250, 61, 0.65);
}

.field input[aria-invalid="true"] {
  border-color: #B3261E;
}

.field__error {
  color: #B3261E;
  font-size: 10.5px;
  font-weight: 600;
}

.form-card .btn {
  margin-top: 6px;
}

.form-card__legal {
  margin-top: 10px;
  color: #9A9A9A;
  font-size: 9.5px;
  line-height: 1.5;
  text-align: center;
}

.form-success {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 26px 6px;
  text-align: center;
}

.form-success[hidden] {
  display: none;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
  border: 2px solid var(--tinta);
  border-radius: 50%;
  background: var(--amarillo);
}

.form-success__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.4;
}

.form-success h4 {
  font-size: 20px;
}

.form-success p {
  max-width: 30ch;
  margin-bottom: 12px;
  color: var(--gris);
  font-size: 12.5px;
}

/* ---------- Conductores ---------- */

.riders {
  position: relative;
  background: linear-gradient(135deg, #2C0A52 0%, #5A179B 45%, var(--morado) 100%);
  color: #fff;
  overflow: hidden;
}

.riders::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  opacity: 0.4;
}

.riders__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.riders .eyebrow {
  color: var(--amarillo);
}

.riders .eyebrow::before {
  background: transparent;
  border-color: var(--amarillo);
}

.riders .h2 {
  color: #fff;
}

.riders .lead {
  margin: 16px 0 24px;
  color: rgba(255, 255, 255, 0.7);
}

.checks--light li {
  color: rgba(255, 255, 255, 0.9);
}

.checks--light li > span {
  border-color: var(--amarillo);
  background: var(--amarillo);
  color: var(--tinta);
}

.riders__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.riders__actions > span {
  max-width: 16ch;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.4;
}

.rider-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 420px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.rider-card__map {
  position: relative;
  flex: 1;
  min-height: 260px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.rider-card__map > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: none;
}

.rider-map__grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.rider-map__route {
  fill: none;
  stroke: var(--amarillo);
  stroke-width: 3;
  stroke-dasharray: 8 9;
  stroke-linecap: round;
}

.rider-map__dot {
  fill: var(--amarillo);
  stroke: #2C0A52;
  stroke-width: 3;
}

.rider-map__dot--end {
  fill: #fff;
}

.rider-card__pin {
  position: absolute;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 6px;
  background: #fff;
  color: var(--tinta);
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.rider-card__pin--start {
  left: 7%;
  bottom: 9%;
}

.rider-card__pin--end {
  top: 31%;
  right: 7%;
}

.rider-card__scooter {
  position: absolute;
  top: 42%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 3px solid #2C0A52;
  border-radius: 50%;
  background: var(--amarillo);
  color: var(--tinta);
  transform: translate(-50%, -50%);
  animation: bob 3.4s ease-in-out infinite;
}

.rider-card__scooter svg {
  position: static;
  inset: auto;
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.rider-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 10.5px;
  font-weight: 500;
}

.rider-card__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6EF29A;
  box-shadow: 0 0 0 4px rgba(110, 242, 154, 0.2);
}

.rider-card__earnings {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  color: var(--tinta);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.rider-card__earnings small {
  color: var(--gris);
  font-size: 8.5px;
}

.rider-card__earnings strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}

.rider-card__earnings span {
  color: #1B7A3E;
  font-size: 8.5px;
  font-weight: 700;
}

/* ---------- Cifras + testimonios ---------- */

.trust {
  background: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 clamp(56px, 7vw, 92px);
  padding: 0;
  border: 1px solid rgba(31, 31, 31, 0.1);
  border-radius: 20px;
  background: var(--crema);
  overflow: hidden;
  list-style: none;
}

.stats li {
  padding: 26px 24px;
  border-right: 1px solid rgba(31, 31, 31, 0.1);
}

.stats li:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
}

.stats span {
  color: var(--gris);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.testimonials__head {
  align-items: center;
}

.testimonials {
  overflow: hidden;
  border-radius: 24px;
}

.testimonials__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  gap: 18px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 24px;
  background: var(--crema);
}

.testimonial__stars {
  color: var(--tinta);
  font-size: 13px;
  letter-spacing: 3px;
}

.testimonial blockquote {
  max-width: 44ch;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.4;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--tinta);
  border-radius: 50%;
  background: var(--amarillo);
  font-size: 12px;
  font-weight: 700;
}

.testimonial figcaption strong {
  display: block;
  font-size: 13px;
}

.testimonial figcaption small {
  display: block;
  color: var(--gris);
  font-size: 10.5px;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 18px;
}

.testimonials__dots button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.testimonials__dots button::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(31, 31, 31, 0.2);
  transition: 0.25s;
}

.testimonials__dots button.is-active::after {
  width: 22px;
  background: var(--tinta);
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--crema);
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.faq__intro {
  position: sticky;
  top: 110px;
}

.faq__intro .lead {
  margin: 16px 0 24px;
}

.faq__item {
  margin-bottom: 9px;
  border: 1px solid rgba(31, 31, 31, 0.1);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(31, 31, 31, 0.2);
  border-radius: 50%;
  flex: none;
  transition: 0.25s;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--tinta);
  transition: 0.25s;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__icon {
  border-color: var(--tinta);
  background: var(--amarillo);
}

.faq__item[open] .faq__icon::after {
  transform: rotate(0);
}

.faq__body {
  max-width: 62ch;
  padding: 0 20px 18px;
  color: var(--gris);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- CTA final ---------- */

.cta {
  position: relative;
  padding: clamp(56px, 7vw, 90px) 0;
  background: var(--amarillo);
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 380px;
  height: 380px;
  border: 2px dashed rgba(31, 31, 31, 0.22);
  border-radius: 50%;
}

.cta::after {
  content: "";
  position: absolute;
  bottom: -70px;
  left: 6%;
  width: 124px;
  height: 124px;
  border-radius: 50% 50% 6px 50%;
  background: var(--tinta);
  transform: rotate(-14deg);
  opacity: 0.9;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.cta__title {
  margin-bottom: 14px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.cta__content > p:not(.eyebrow) {
  margin-bottom: 22px;
  color: rgba(31, 31, 31, 0.72);
  font-size: 14px;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.wa-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 22px 26px;
  border: 2px solid var(--tinta);
  border-radius: 20px;
  background: #fff;
  box-shadow: 6px 6px 0 var(--tinta);
  text-align: center;
}

.wa-cta__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
}

.wa-cta__icon svg {
  width: 30px;
  height: 30px;
}

.wa-cta strong {
  color: var(--tinta);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.wa-cta p {
  margin: 0;
  color: #6E6E75;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */

.footer {
  padding: 64px 0 24px;
  background: var(--tinta);
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr 1fr;
  gap: 32px;
}

.logo--light {
  color: #fff;
}

.footer__brand p {
  max-width: 28ch;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.6;
}

.social-ico {
  --social-bg: var(--tinta);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid transparent;
  border-radius: 50%;
  background-color: var(--social-bg);
  color: #fff;
  cursor: default;
}

.social-ico svg {
  width: 18px;
  height: 18px;
}

a.social-ico {
  cursor: pointer;
}

.social-ico--wa {
  border-color: var(--wa);
}

a.social-ico--wa:hover {
  background: var(--wa);
  color: #062b16;
}

.social-ico--ig {
  background:
    linear-gradient(var(--social-bg), var(--social-bg)) padding-box,
    linear-gradient(135deg, var(--ig-a), var(--ig-b), var(--ig-c)) border-box;
}

.social-ico--tt {
  background:
    linear-gradient(var(--social-bg), var(--social-bg)) padding-box,
    linear-gradient(135deg, var(--tt-1), var(--tt-2)) border-box;
}

.social-ico--fb {
  border-color: var(--fb);
}

.social-ico--yt {
  border-color: var(--yt);
}

.social-ico--x {
  border-color: rgba(31, 31, 31, 0.45);
}

.footer .social-ico--x {
  border-color: rgba(255, 255, 255, 0.55);
}

.footer .social-ico {
  --social-bg: var(--tinta-2);
}

.footer__social {
  margin-top: 22px;
}

.footer__social-title {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer__social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__handle {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.nav__social {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(31, 31, 31, 0.08);
}

.nav__social-title {
  color: var(--gris);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav__social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav__social .social-ico {
  width: 44px;
  height: 44px;
}

.footer__col h3,
.footer__contact h3 {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer__col a {
  display: block;
  margin-bottom: 0;
  padding-block: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--amarillo);
}

.footer__contact a {
  display: block;
  margin-bottom: 0;
  padding-block: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12.5px;
  text-decoration: none;
}

.footer__phones {
  display: grid;
  gap: 2px;
  margin-bottom: 6px;
}

.footer__phones a {
  margin-bottom: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.02em;
}

.footer__phones a:hover {
  color: var(--amarillo);
}

.footer__whatsapp {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px !important;
}

.footer__whatsapp svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer__contact p {
  margin: 10px 0 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  line-height: 1.6;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 600;
}

.footer__badge svg {
  width: 14px;
  height: 14px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10.5px;
}

.footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer__pay span {
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
  letter-spacing: 0.04em;
}

/* ---------- Flotantes ---------- */

.social-dock {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.social-dock.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
}

.social-dock__wa {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: var(--tinta);
  color: var(--wa);
  box-shadow: 0 14px 32px -10px rgba(31, 31, 31, 0.6);
  transition: 0.2s;
}

.social-dock__wa svg {
  width: 27px;
  height: 27px;
}

.social-dock__wa:hover {
  background: #000;
  transform: translateY(-2px);
}

.social-dock__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: var(--tinta);
  color: var(--amarillo);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 14px 32px -10px rgba(31, 31, 31, 0.6);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), padding 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s;
}

.social-dock__toggle svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.social-dock__toggle[aria-expanded="true"],
.social-dock__toggle:focus-visible {
  width: 130px;
  padding-inline: 15px;
  background: #000;
}

@media (hover: hover) and (pointer: fine) {
  .social-dock__toggle:hover {
    width: 130px;
    padding-inline: 15px;
    background: #000;
  }
}

.social-dock__toggle:active {
  transform: scale(0.97);
}

.social-dock__label {
  display: block;
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  color: var(--amarillo);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: max-width 0.3s cubic-bezier(0.22, 1, 0.36, 1), margin-left 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-dock__toggle[aria-expanded="true"] .social-dock__label,
.social-dock__toggle:focus-visible .social-dock__label {
  max-width: 72px;
  margin-left: 8px;
  opacity: 1;
  transform: translateX(0);
}

@media (hover: hover) and (pointer: fine) {
  .social-dock__toggle:hover .social-dock__label {
    max-width: 72px;
    margin-left: 8px;
    opacity: 1;
    transform: translateX(0);
  }
}

.social-dock__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: flex;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: var(--tinta-2);
  box-shadow: 0 22px 50px -26px rgba(0, 0, 0, 0.75);
}

.social-dock__panel[hidden] {
  display: none;
}

.social-dock__panel .social-ico {
  --social-bg: var(--tinta);
  width: clamp(40px, 12vw, 44px);
  height: clamp(40px, 12vw, 44px);
}

.social-dock__panel .social-ico--x {
  border-color: rgba(255, 255, 255, 0.55);
}

.social-dock__panel .social-ico svg {
  width: 19px;
  height: 19px;
}

.social-dock__panel:not([hidden]) {
  animation: dock-pop 0.18s ease-out;
}

@keyframes dock-pop {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 200;
  max-width: calc(100% - 40px);
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--tinta);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: 0.3s;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Estados táctiles */

.btn:active {
  transform: translateY(1px);
}

.cat:active,
.ally:active {
  transform: scale(0.985);
}

.chip:active {
  transform: scale(0.97);
}

/* ---------- Animación de aparición ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
  .float {
    display: none;
  }

  .topbar__social {
    display: none;
  }
}

@media (max-width: 1100px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 28px;
  }

  .footer__contact {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
  }

  .footer__contact h3 {
    width: 100%;
    margin-bottom: 4px;
  }

  .footer__contact p {
    margin: 0;
  }

  .float--eta {
    left: 0;
  }

  .float--rating {
    right: 0;
  }
}

@media (max-width: 1080px) {
  .nav {
    gap: 18px;
  }

  .header__login {
    display: none;
  }

  .topbar__link {
    display: none;
  }
}

@media (max-width: 960px) {
  .topbar__extra {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    z-index: 99;
    display: grid;
    align-content: start;
    gap: 4px;
    max-height: none;
    height: calc(100dvh - var(--header-h));
    padding: 18px 20px 30px;
    border-bottom: 1px solid rgba(31, 31, 31, 0.1);
    background: #fff;
    box-shadow: 0 24px 40px -30px rgba(31, 31, 31, 0.55);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-header.is-scrolled .nav {
    top: var(--header-h-scrolled);
    height: calc(100dvh - var(--header-h-scrolled));
  }

  .nav > a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(31, 31, 31, 0.07);
    font-size: 15px;
  }

  .nav > a::after {
    display: none;
  }

  .nav__mobile-extra {
    display: grid;
    justify-items: start;
    gap: 10px;
    margin-top: 14px;
  }

  .nav__mobile-phone {
    font-size: 12px;
    font-weight: 600;
    color: var(--gris);
  }

  .nav-toggle {
    display: block;
  }

  .header__login {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero__content {
    max-width: 640px;
  }

  .hero__visual {
    margin-top: 8px;
  }

  .hero__sticker {
    right: 8%;
  }

  .logos__label {
    display: none;
  }

  .section__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .section__head--center {
    align-items: center;
  }

  .benefits__grid,
  .partners__grid,
  .rides__grid,
  .riders__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .benefits__intro,
  .faq__intro {
    position: static;
  }

  .trip-card {
    margin-inline: auto;
  }

  .benefits__intro .lead {
    max-width: 60ch;
  }

  .riders__content {
    order: -1;
  }

  .promo__inner {
    grid-template-columns: 1fr;
  }

  .promo__code {
    max-width: 420px;
  }

  .cta__inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .wa-cta {
    align-items: flex-start;
    text-align: left;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero__visual {
    display: none;
  }

  .hero .hero-track {
    display: block;
    width: min(100%, 470px);
    margin: 0 0 26px;
  }

  .hero-track .trip-card__map {
    height: 150px;
  }

  .hero-track .trip-card__head {
    padding: 11px 4px 8px;
  }

  .hero-track .trip-driver {
    padding: 8px 9px;
  }

  .hero-track .trip-route {
    padding: 9px 6px 2px;
  }

  .hero-track .trip-card__foot {
    margin-top: 5px;
    padding: 8px 4px 0;
  }

  .hero-track .trip-card__car {
    width: 40px;
    height: 40px;
  }

  .hero-track .trip-card__car svg {
    width: 21px;
    height: 21px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
    --header-h-scrolled: 58px;
  }

  .topbar {
    font-size: 11.5px;
  }

  .topbar__inner {
    gap: 12px;
  }

  .topbar__coverage {
    flex: 1;
    min-width: 0;
  }

  .topbar__links {
    flex: none;
    gap: 0;
  }

  .topbar__phones,
  .topbar__social,
  .topbar__link {
    display: none;
  }

  .topbar__wa {
    position: relative;
    padding: 6px 0;
    min-height: 32px;
  }

  .topbar__wa::after {
    content: "";
    position: absolute;
    inset: -6px -8px;
  }

  .logo__img {
    height: 34px;
  }

  .nav__mobile-phone {
    padding-block: 7px;
  }

  .hero__title {
    font-size: clamp(2.6rem, 7vw, 3.8rem);
  }

  .hero__trust {
    font-size: 12px;
  }

  .stats span {
    font-size: 10.5px;
  }

  .testimonial figcaption small {
    font-size: 11.5px;
  }

  .footer__pay span {
    font-size: 9.5px;
  }

  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps__grid {
    grid-template-columns: 1fr;
  }

  .step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -19px;
    width: 0;
    height: 20px;
    border-top: 0;
    border-left: 2px dashed rgba(31, 31, 31, 0.24);
  }

  .benefits__cards {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stats li:nth-child(2) {
    border-right: 0;
  }

  .stats li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(31, 31, 31, 0.1);
  }

  .allies__head .allies__controls {
    display: none;
  }

  .chips {
    flex-wrap: nowrap;
    margin-inline: -20px;
    padding: 0 20px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: none;
    scroll-snap-align: start;
  }

  .allies__viewport {
    scroll-snap-type: x mandatory;
  }

  .ally {
    flex-basis: 78%;
  }

  .ride-options {
    margin-top: 34px;
  }

  .ride-options__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ride-options__grid {
    grid-template-columns: 1fr;
  }

  .ride-opt {
    flex-direction: row;
  }

  .ride-opt__media {
    flex: 0 0 38%;
    min-height: 190px;
  }

  .ride-opt__body {
    flex: 1;
  }

  .promo::after {
    width: 120px;
    height: 120px;
    bottom: -70px;
  }

  .promo__code {
    max-width: none;
  }

  .rider-card {
    min-height: 380px;
  }

  .testimonial blockquote {
    max-width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 32px);
  }

  .logos__track img {
    height: 24px;
    max-width: 112px;
  }

  .chips {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .topbar {
    font-size: 11.5px;
  }

  .topbar__phones {
    gap: 8px;
  }

  .topbar__phones .topbar__phone + .topbar__phone {
    padding-left: 8px;
  }

  .topbar__coverage {
    flex: none;
  }

  .topbar__coverage span {
    display: none;
  }

  .header__inner {
    gap: 12px;
  }

  .logo__img {
    height: 32px;
  }

  .btn--sm {
    padding: 10px 14px;
    font-size: 12px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero__title {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }

  .hero__slides {
    margin-bottom: 22px;
  }

  .hero__nav {
    gap: 7px;
    margin-top: 22px;
  }

  .hero__counter {
    font-size: 9.5px;
  }

  .hero__brand {
    box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.78);
  }

  .hero__lead {
    font-size: 14.5px;
  }

  .address-form {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 22px;
  }

  .address-form__field {
    padding: 4px 6px;
  }

  .address-form .btn {
    width: 100%;
    padding: 14px;
  }

  .address-form__error {
    position: static;
    padding-left: 6px;
    font-size: 11px;
  }

  .hero__trust {
    gap: 6px 12px;
    font-size: 12px;
  }

  .hero__trust li + li::before {
    display: none;
  }

  .hero__sticker {
    top: -4px;
    right: 2%;
    padding: 11px 12px;
    font-size: 10.5px;
  }

  .phone {
    width: 82%;
  }

  .phone__screen {
    height: 520px;
  }



  .float {
    padding: 8px 11px;
  }

  .float--eta {
    left: -2%;
  }

  .float--rating {
    right: -2%;
  }

  .float--rating > strong {
    font-size: 22px;
  }

  .section {
    padding: 56px 0;
  }

  .cat-grid {
    gap: 12px;
  }

  .cat {
    padding: 10px 11px 14px;
  }

  .cat__art {
    height: 96px;
    margin-bottom: 10px;
  }

  .cat__art svg {
    width: 38px;
    height: 38px;
  }

  .cat strong {
    font-size: 14px;
  }

  .cat > span:not(.cat__art) {
    font-size: 10.5px;
  }

  .benefits__cards {
    grid-template-columns: 1fr;
  }

  .benefit {
    padding: 20px;
  }

  .rides__actions {
    gap: 14px;
  }

  .ride-opt {
    flex-direction: column;
  }

  .ride-opt__media {
    flex: none;
    min-height: 150px;
  }

  .ride-opt__body {
    padding: 16px 16px 18px;
  }

  .trip-card {
    padding: 11px;
  }

  .trip-card__map {
    height: 158px;
  }

  .trip-price {
    font-size: 19px;
  }

  .partners__stat strong {
    font-size: 28px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-card {
    padding: 20px;
  }

  .riders__actions {
    gap: 12px;
  }

  .riders__actions .btn {
    width: 100%;
  }

  .rider-card {
    min-height: 350px;
  }

  .rider-card__map {
    min-height: 210px;
  }

  .rider-card__earnings {
    padding: 8px 11px;
  }

  .rider-card__earnings strong {
    font-size: 18px;
  }

  .stats li {
    padding: 20px 16px;
  }

  .stats strong {
    font-size: 1.7rem;
  }

  .stats span {
    font-size: 9px;
  }

  .ally {
    flex-basis: 86%;
  }

  .promo {
    padding: 52px 0;
  }

  .promo__codewrap strong {
    font-size: 20px;
  }


  .footer {
    padding-top: 48px;
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
  }

  .footer__bottom {
    margin-top: 32px;
  }

  .footer__pay span {
    font-size: 9.5px;
  }

  .social-dock {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    gap: 8px;
  }

  .social-dock__wa {
    width: 52px;
    height: 52px;
  }

  .social-dock__wa svg {
    width: 25px;
    height: 25px;
  }

  .social-dock__toggle {
    width: 52px;
    height: 52px;
  }

  .social-dock__label {
    font-size: 10.5px;
  }

  .toast {
    bottom: calc(132px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 400px) {
  .hero__sticker {
    display: none;
  }

  .cat-grid {
    gap: 10px;
  }

  .cat {
    padding: 9px 10px 12px;
  }

  .cat__art {
    height: 84px;
    margin-bottom: 8px;
  }

  .cat__art svg {
    width: 34px;
    height: 34px;
  }

  .cat strong {
    font-size: 13px;
  }

  .cat > span:not(.cat__art) {
    font-size: 10px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__brand,
  .footer__contact {
    grid-column: auto;
  }
}

@media (max-width: 370px) {
  .topbar__wa-label {
    display: none;
  }

  .topbar__wa {
    width: 30px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   TEMA CLARO / OSCURO
   ========================================================= */

html {
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --blanco: #0E0E10;
  --crema: #17171A;
  --gris: #A6A6AD;
  --linea: rgba(255, 255, 255, 0.1);
  --sombra: 0 24px 60px -32px rgba(0, 0, 0, 0.8);
  scrollbar-color: #3A3A42 #141416;
}

html[data-theme="dark"] body {
  color: #F3F3F0;
}

/* Header y navegación */

html[data-theme="dark"] .topbar {
  background: #0A0A0C;
}

html[data-theme="dark"] .site-header {
  background: rgba(14, 14, 16, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .site-header.is-scrolled {
  box-shadow: 0 10px 34px -22px rgba(0, 0, 0, 0.9);
}

html[data-theme="dark"] .logo,
html[data-theme="dark"] .nav > a,
html[data-theme="dark"] .header__login {
  color: #F3F3F0;
}

html[data-theme="dark"] .site-header .logo__img {
  filter: invert(1);
}

html[data-theme="dark"] .header__login:hover {
  color: #C9A8FF;
}

html[data-theme="dark"] .nav-toggle {
  background: #1B1B1F;
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .nav-toggle span {
  background: #F3F3F0;
}

html[data-theme="dark"] .theme-toggle {
  background: #1B1B1F;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--amarillo);
}

html[data-theme="dark"] .theme-toggle:hover {
  background: var(--amarillo);
  border-color: var(--amarillo);
  color: var(--tinta);
}

@media (max-width: 960px) {
  html[data-theme="dark"] .nav {
    background: #101013;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 40px -30px rgba(0, 0, 0, 0.85);
  }

  html[data-theme="dark"] .nav > a {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  html[data-theme="dark"] .nav__social {
    border-top-color: rgba(255, 255, 255, 0.08);
  }

  html[data-theme="dark"] .nav__social .social-ico--x {
    border-color: rgba(255, 255, 255, 0.55);
  }
}

/* Secciones claras y tarjetas */

html[data-theme="dark"] .logos {
  background: #101013;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .logos__label {
  border-right-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .logos__track span {
  color: rgba(255, 255, 255, 0.52);
}

html[data-theme="dark"] .logos__track i {
  border-color: rgba(255, 255, 255, 0.55);
}

html[data-theme="dark"] .steps,
html[data-theme="dark"] .trust {
  background: var(--blanco);
}

html[data-theme="dark"] :is(.categories, .steps, .benefits, .rides, .partners, .trust, .faq) .eyebrow {
  color: #F3F3F0;
}

html[data-theme="dark"] :is(.categories, .steps, .benefits, .rides, .partners, .trust, .faq) .eyebrow::before {
  border-color: #F3F3F0;
}

html[data-theme="dark"] :is(.categories, .steps, .benefits, .rides, .partners, .trust, .faq) .link-arrow {
  color: #F3F3F0;
}

html[data-theme="dark"] .cat,
html[data-theme="dark"] .step,
html[data-theme="dark"] .faq__item,
html[data-theme="dark"] .form-card {
  background: #1C1C21;
  border-color: rgba(255, 255, 255, 0.09);
  color: #F3F3F0;
}

html[data-theme="dark"] .cat:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.9);
}

html[data-theme="dark"] .cat__art {
  color: var(--tinta);
}

html[data-theme="dark"] .cat__arrow {
  color: #F3F3F0;
}

html[data-theme="dark"] .step:not(:last-child)::after {
  border-color: rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] .step__num {
  color: var(--gris);
}

html[data-theme="dark"] .step__icon,
html[data-theme="dark"] .benefit__icon,
html[data-theme="dark"] .checks:not(.checks--light) li > span,
html[data-theme="dark"] .form-success__icon,
html[data-theme="dark"] .testimonial__avatar {
  color: var(--tinta);
  border-color: var(--tinta);
}

html[data-theme="dark"] .benefit {
  background: #18181C;
  border-color: transparent;
}

html[data-theme="dark"] .benefit:hover {
  background: #202026;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 44px -30px rgba(0, 0, 0, 0.9);
}

/* Opciones de viaje */

html[data-theme="dark"] .ride-options__head {
  border-top-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .ride-opt {
  background: #1C1C21;
  border-color: rgba(255, 255, 255, 0.09);
}

html[data-theme="dark"] .ride-opt:hover {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.9);
}

html[data-theme="dark"] .ride-opt__top h4 {
  color: #F3F3F0;
}

html[data-theme="dark"] .ride-opt__meta {
  background: #131316;
  color: #F3F3F0;
}

html[data-theme="dark"] .ride-opt__body > p,
html[data-theme="dark"] .ride-opt__features li,
html[data-theme="dark"] .ride-options__lead,
html[data-theme="dark"] .ride-options__note {
  color: #A4A4AC;
}

html[data-theme="dark"] .ride-opt__features li::before {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Puntos de referencia */

html[data-theme="dark"] .allies {
  background: #0B0B0D;
}

html[data-theme="dark"] .ally {
  background: #1C1C21;
  color: #F3F3F0;
}

html[data-theme="dark"] .ally__badge {
  color: var(--tinta);
}

html[data-theme="dark"] .ally__badge--dark {
  color: var(--amarillo);
}

/* Comercios (formulario) */

html[data-theme="dark"] .form-card {
  box-shadow: 0 34px 66px -38px rgba(0, 0, 0, 0.9);
}

html[data-theme="dark"] .field label {
  color: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select {
  background: #131316;
  border-color: rgba(255, 255, 255, 0.16);
  color: #F3F3F0;
}

html[data-theme="dark"] .field input::placeholder {
  color: #8A8A92;
}

html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field select:focus {
  border-color: var(--amarillo);
  box-shadow: 0 0 0 3px rgba(253, 250, 61, 0.22);
}

html[data-theme="dark"] .field__error {
  color: #FF8A80;
}

html[data-theme="dark"] .form-card__legal {
  color: #8A8A92;
}

html[data-theme="dark"] .partners__stat {
  border-top-color: rgba(255, 255, 255, 0.12);
}

/* Cifras y testimonios */

html[data-theme="dark"] .stats {
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .stats li {
  border-right-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .testimonial {
  background: #18181C;
}

html[data-theme="dark"] .testimonial__stars {
  color: #F3F3F0;
}

html[data-theme="dark"] .testimonials__dots button::after {
  background: rgba(255, 255, 255, 0.24);
}

html[data-theme="dark"] .testimonials__dots button.is-active::after {
  background: var(--amarillo);
}

html[data-theme="dark"] .circle-btn--dark {
  border-color: rgba(255, 255, 255, 0.22);
  color: #F3F3F0;
}

html[data-theme="dark"] .circle-btn--dark:hover:not(:disabled) {
  background: var(--amarillo);
  border-color: var(--amarillo);
  color: var(--tinta);
}

/* FAQ */

html[data-theme="dark"] .faq__icon {
  border-color: rgba(255, 255, 255, 0.24);
}

html[data-theme="dark"] .faq__icon::before,
html[data-theme="dark"] .faq__icon::after {
  background: #F3F3F0;
}

html[data-theme="dark"] .faq__item[open] .faq__icon {
  border-color: var(--tinta);
  background: var(--amarillo);
}

html[data-theme="dark"] .faq__item[open] .faq__icon::before,
html[data-theme="dark"] .faq__item[open] .faq__icon::after {
  background: var(--tinta);
}

/* Secciones de acento amarillo y mockups */

html[data-theme="dark"] .promo,
html[data-theme="dark"] .cta {
  color: var(--tinta);
}


html[data-theme="dark"] .float {
  color: var(--tinta);
}

html[data-theme="dark"] .float small {
  color: #6E6E75;
}

html[data-theme="dark"] .rider-card__earnings small {
  color: #6E6E75;
}

html[data-theme="dark"] .btn--primary:hover {
  background: var(--amarillo-soft);
}

html[data-theme="dark"] .btn--ghost {
  color: #F3F3F0;
  border-color: rgba(255, 255, 255, 0.25);
}

html[data-theme="dark"] .btn--ghost:hover {
  background: #F3F3F0;
  border-color: #F3F3F0;
  color: #141416;
}

/* Ajustes móviles */

@media (max-width: 760px) {
  html[data-theme="dark"] .stats li:nth-child(-n + 2) {
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  html[data-theme="dark"] .step:not(:last-child)::after {
    border-color: rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 560px) {
  .header__actions {
    gap: 8px;
  }

  /* CTA visible dentro del menu movil */
  .site-header .header__cta {
    display: none;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .theme-toggle svg {
    width: 17px;
    height: 17px;
  }
}

/* =========================================================
   CALCULADORA DE RUTAS
   ========================================================= */

.route-planner {
  background: var(--crema);
  border-block: 1px solid var(--linea);
}

.route-planner [hidden] {
  display: none !important;
}

.route-suggestions__empty {
  padding: 10px 11px;
  color: var(--gris);
  font-size: 11.5px;
  line-height: 1.5;
}

.route-planner__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px 48px;
  margin-bottom: clamp(24px, 4vw, 38px);
}

.route-planner__head .lead {
  max-width: 46ch;
}

.route-planner__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.route-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: 0 20px 50px -42px rgba(31, 31, 31, 0.4);
}

.route-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.route-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.route-field > label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris);
}

.route-field__control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid rgba(31, 31, 31, 0.16);
  border-radius: 14px;
  background: var(--blanco);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.route-field__control:focus-within {
  border-color: var(--tinta);
  box-shadow: 0 0 0 3px rgba(253, 250, 61, 0.65);
}

.route-field__control input {
  width: 100%;
  min-width: 0;
  padding: 13px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--tinta);
  font: inherit;
  font-size: 14px;
}

.route-field__control input::placeholder {
  color: #9a9a94;
}

.route-field__dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 2px solid var(--tinta);
}

.route-field__dot.is-origin {
  background: var(--amarillo);
}

.route-field__dot.is-destination {
  background: var(--tinta);
}

.route-field__clear {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: var(--crema);
  color: var(--gris);
  font-size: 16px;
  line-height: 1;
}

.route-field__clear:hover {
  background: var(--tinta);
  color: var(--blanco);
}

.route-swap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-block: -8px;
}

.route-swap > span {
  height: 1px;
  background: var(--linea);
}

.route-swap__btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--linea);
  border-radius: 999px;
  background: var(--crema);
  color: var(--tinta);
  transition: background 0.2s, border-color 0.2s;
}

.route-swap__btn:hover {
  background: var(--amarillo);
  border-color: var(--tinta);
}

.route-swap__btn svg {
  width: 17px;
  height: 17px;
}

.route-suggestions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--linea);
  border-radius: 14px;
  background: var(--blanco);
  box-shadow: 0 22px 45px -24px rgba(31, 31, 31, 0.5);
}

.route-suggestions[hidden] {
  display: none;
}

.route-suggestions button {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--tinta);
  text-align: left;
}

.route-suggestions button:hover,
.route-suggestions button:focus-visible,
.route-suggestions button.is-active {
  background: var(--crema);
}

.route-suggestions strong {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.route-suggestions span {
  color: var(--gris);
  font-size: 10.5px;
}

.route-form__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.route-form__actions .btn {
  flex: 1 1 auto;
}

.route-form__status {
  color: var(--gris);
  font-size: 11.5px;
}

.route-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #FEECEB;
  color: #B42318;
  font-size: 12px;
  font-weight: 500;
}

.route-error[hidden] {
  display: none;
}

.route-panel__tips {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--linea);
  color: var(--gris);
  font-size: 11.5px;
  line-height: 1.55;
}

.route-panel__tips strong {
  color: var(--tinta);
}

.route-map-card {
  position: relative;
  min-height: 470px;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  overflow: hidden;
  background: #e9e6dc;
  box-shadow: 0 20px 50px -42px rgba(31, 31, 31, 0.4);
}

.route-map {
  width: 100%;
  height: 100%;
  min-height: 470px;
  z-index: 0;
  cursor: crosshair;
}

.route-map .leaflet-control-attribution {
  font-family: var(--font-ui);
  font-size: 9px;
}

.route-map__empty {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  background:
    linear-gradient(rgba(31, 31, 31, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 31, 31, 0.05) 1px, transparent 1px),
    var(--crema);
  background-size: 38px 38px, 38px 38px, auto;
  text-align: center;
  pointer-events: none;
}

.route-map-card.has-map .route-map__empty {
  display: none;
}

.route-map__empty-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 4px;
  border: 2px solid var(--tinta);
  border-radius: 18px;
  background: var(--amarillo);
  box-shadow: 0 4px 0 var(--tinta);
}

.route-map__empty-icon svg {
  width: 28px;
  height: 28px;
}

.route-map__empty strong {
  font-size: 16px;
}

.route-map__empty > span:last-child {
  max-width: 34ch;
  color: var(--gris);
  font-size: 12px;
}

.route-pin {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--tinta);
  border-radius: 999px;
  background: var(--amarillo);
  color: var(--tinta);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 3px 0 rgba(31, 31, 31, 0.3);
}

.route-pin.is-destination {
  background: var(--tinta);
  color: var(--blanco);
}

.route-result {
  margin-top: 18px;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  background: var(--blanco);
  box-shadow: 0 20px 50px -42px rgba(31, 31, 31, 0.4);
}

.route-result[hidden] {
  display: none;
}

.route-result__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--linea);
}

.route-result__head .eyebrow {
  margin-bottom: 7px;
}

.route-result__title {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.route-result__meta {
  margin-top: 5px;
  color: var(--gris);
  font-size: 11.5px;
}

.route-result__badge {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid var(--tinta);
  border-radius: 999px;
  background: var(--amarillo);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-result__body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 22px;
  padding-top: 18px;
}

.route-result__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.route-result__metrics > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--linea);
  border-radius: 12px;
  background: var(--crema);
}

.route-result__metrics span {
  color: var(--gris);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-result__metrics strong {
  font-size: 15px;
}

.route-result__fare {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.route-result__line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--gris);
  font-size: 12px;
}

.route-result__line--total {
  margin-top: 2px;
  padding-top: 9px;
  border-top: 2px solid var(--tinta);
  color: var(--tinta);
  font-size: 16px;
}

.route-result__line--total strong {
  font-size: 21px;
}

.route-result__usd {
  margin-top: 2px;
  color: var(--gris);
  font-size: 11px;
}

.route-result__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.route-result__actions .btn {
  flex: 0 1 auto;
}

html[data-theme="dark"] .route-planner {
  background: #151517;
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .route-panel,
html[data-theme="dark"] .route-result,
html[data-theme="dark"] .route-suggestions {
  background: var(--tinta-2);
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .route-field__control {
  background: #1b1b1e;
  border-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .route-field__control input {
  color: #fff;
}

html[data-theme="dark"] .route-field__dot.is-destination {
  background: #fff;
  border-color: #fff;
}

html[data-theme="dark"] .route-field__clear {
  background: #26262a;
  color: #ddd;
}

html[data-theme="dark"] .route-map__empty {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #1b1b1e;
  background-size: 38px 38px, 38px 38px, auto;
  color: #fff;
}

html[data-theme="dark"] .route-result__metrics > div {
  background: #1b1b1e;
  border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .route-result__line--total {
  border-color: #fff;
  color: #fff;
}

html[data-theme="dark"] .route-suggestions button:hover,
html[data-theme="dark"] .route-suggestions button:focus-visible,
html[data-theme="dark"] .route-suggestions button.is-active {
  background: #1b1b1e;
}

html[data-theme="dark"] .route-planner .eyebrow {
  color: #F3F3F0;
}

html[data-theme="dark"] .route-planner .eyebrow::before {
  border-color: #F3F3F0;
}

html[data-theme="dark"] .route-suggestions button {
  color: #F3F3F0;
}

html[data-theme="dark"] .route-panel__tips strong {
  color: #F3F3F0;
}

html[data-theme="dark"] .route-swap__btn {
  background: #26262a;
  border-color: rgba(255, 255, 255, 0.16);
  color: #F3F3F0;
}

html[data-theme="dark"] .route-swap__btn:hover {
  background: var(--amarillo);
  border-color: var(--amarillo);
  color: var(--tinta);
}

html[data-theme="dark"] .route-field__dot {
  border-color: #fff;
}

html[data-theme="dark"] .route-map-card {
  background: #1b1b1e;
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 960px) {
  .route-planner__head {
    display: block;
  }

  .route-planner__head .lead {
    margin-top: 14px;
  }

  .route-planner__grid {
    grid-template-columns: 1fr;
  }

  .route-map-card,
  .route-map {
    min-height: 360px;
  }

  .route-result__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .route-result__metrics {
    grid-template-columns: 1fr;
  }

  .route-result__actions {
    justify-content: stretch;
  }

  .route-result__actions .btn {
    width: 100%;
  }
}
