/* ==========================================================================
   ComeYa — landing inmersiva
   Paleta oficial: #EB0000 (marca), #E60000 (UI app), #B00000, #FF1A1A,
   #1A1A1A, #2D2D2D, #555555, #AAAAAA, #F7F7F7, #EFEFEF, #FFFFFF,
   #E0E0E0, #EBEBEB y colores semánticos (error, warning, success, info).
   ========================================================================== */

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

:root {
  --brand: #eb0000;
  --brand-dark: #b00000;
  --brand-light: #ff1a1a;
  --brand-soft: #fff1f1;
  --brand-tint: rgba(235, 0, 0, 0.08);
  --ink: #1a1a1a;
  --ink-2: #2d2d2d;
  --muted: #555555;
  --muted-2: #aaaaaa;
  --surface: #ffffff;
  --bg: #f7f7f7;
  --bg-alt: #efefef;
  --border: #e0e0e0;
  --divider: #ebebeb;
  --error: #e53935;
  --warning: #f59e0b;
  --success: #22c55e;
  --info: #3b82f6;
  --header-h: 72px;
  --container: 1200px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.08);
  --shadow-md: 0 12px 32px rgba(26, 26, 26, 0.1);
  --shadow-lg: 0 28px 80px rgba(26, 26, 26, 0.18);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--brand);
  color: #fff;
}

[hidden] {
  display: none !important;
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.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: 12px;
  left: 12px;
  z-index: 10001;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ── Fondo ambiente por escenas ─────────────────────────────────────────── */

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}

.ambient__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.15s var(--ease);
}

.ambient__hero {
  background:
    radial-gradient(900px 620px at 78% 18%, rgba(235, 0, 0, 0.18), transparent 62%),
    radial-gradient(700px 500px at 12% 80%, rgba(235, 0, 0, 0.06), transparent 60%),
    linear-gradient(180deg, #fffdfb 0%, #f7f7f7 62%, #efefef 100%);
}

.ambient__light {
  background:
    radial-gradient(760px 460px at 16% 18%, rgba(235, 0, 0, 0.05), transparent 62%),
    linear-gradient(180deg, #f7f7f7 0%, #efefef 100%);
}

.ambient__soft {
  background:
    radial-gradient(900px 580px at 82% 22%, rgba(235, 0, 0, 0.1), transparent 62%),
    linear-gradient(180deg, #fff6f6 0%, #f7f7f7 100%);
}

.ambient__dark {
  background:
    radial-gradient(900px 600px at 78% 16%, rgba(235, 0, 0, 0.2), transparent 60%),
    linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
}

.ambient__red {
  background:
    radial-gradient(720px 540px at 18% 12%, rgba(255, 255, 255, 0.14), transparent 58%),
    linear-gradient(135deg, #eb0000 0%, #b00000 52%, #1a1a1a 100%);
}

.ambient__warm {
  background:
    radial-gradient(820px 520px at 20% 16%, rgba(235, 0, 0, 0.08), transparent 62%),
    linear-gradient(180deg, #fffdfb 0%, #f7f7f7 100%);
}

.ambient__download {
  background:
    radial-gradient(760px 560px at 72% 18%, rgba(255, 255, 255, 0.14), transparent 58%),
    linear-gradient(135deg, #eb0000 0%, #b00000 45%, #1a1a1a 100%);
}

.ambient__footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
}

.ambient__grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(26, 26, 26, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 26, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 72%);
}

body[data-scene="hero"] .ambient__hero,
body[data-scene="light"] .ambient__light,
body[data-scene="soft"] .ambient__soft,
body[data-scene="dark"] .ambient__dark,
body[data-scene="red"] .ambient__red,
body[data-scene="warm"] .ambient__warm,
body[data-scene="download"] .ambient__download,
body[data-scene="footer"] .ambient__footer {
  opacity: 1;
}

body[data-scene="dark"] .ambient__grid,
body[data-scene="red"] .ambient__grid,
body[data-scene="download"] .ambient__grid,
body[data-scene="footer"] .ambient__grid {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
}

/* ── Barra de progreso ──────────────────────────────────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  box-shadow: 0 0 12px rgba(235, 0, 0, 0.5);
  transition: width 0.08s linear;
}

/* ── Cabecera ───────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(26, 26, 26, 0.07);
}

body[data-scene="dark"] .site-header,
body[data-scene="red"] .site-header,
body[data-scene="download"] .site-header,
body[data-scene="footer"] .site-header {
  color: #fff;
  background: rgba(18, 18, 18, 0.76);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand__logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 4px 14px rgba(235, 0, 0, 0.28);
  object-fit: cover;
}

.brand__name {
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.brand__name span {
  color: var(--brand);
}

.brand__tag {
  display: inline-flex;
  align-items: center;
  margin-left: 2px;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

body[data-scene="dark"] .brand__name,
body[data-scene="red"] .brand__name,
body[data-scene="download"] .brand__name,
body[data-scene="footer"] .brand__name {
  color: #fff;
}

body[data-scene="dark"] .brand__name span,
body[data-scene="red"] .brand__name span,
body[data-scene="download"] .brand__name span,
body[data-scene="footer"] .brand__name span {
  color: #ff4d4d;
}

body[data-scene="dark"] .brand__tag,
body[data-scene="red"] .brand__tag,
body[data-scene="download"] .brand__tag,
body[data-scene="footer"] .brand__tag {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
}

.main-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

body[data-scene="dark"] .main-nav a,
body[data-scene="red"] .main-nav a,
body[data-scene="download"] .main-nav a,
body[data-scene="footer"] .main-nav a {
  color: rgba(255, 255, 255, 0.68);
}

body[data-scene="dark"] .main-nav a:hover,
body[data-scene="dark"] .main-nav a.is-active,
body[data-scene="red"] .main-nav a:hover,
body[data-scene="red"] .main-nav a.is-active,
body[data-scene="download"] .main-nav a:hover,
body[data-scene="download"] .main-nav a.is-active,
body[data-scene="footer"] .main-nav a:hover,
body[data-scene="footer"] .main-nav a.is-active {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: currentColor;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body[data-scene="dark"] .menu-toggle,
body[data-scene="red"] .menu-toggle,
body[data-scene="download"] .menu-toggle,
body[data-scene="footer"] .menu-toggle {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Menú móvil */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  visibility: hidden;
  opacity: 0;
  background: rgba(18, 18, 18, 0.48);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  padding: calc(var(--header-h) + 30px) 26px 32px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.2);
  transform: translateX(102%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.mobile-menu__panel a:hover {
  color: var(--brand);
}

.mobile-menu__panel a .icon {
  color: var(--brand);
}

.mobile-menu__cta {
  margin-top: 24px;
  justify-content: center !important;
  border-bottom: 0 !important;
  background: var(--brand);
  color: #fff !important;
  border-radius: var(--radius-full);
  padding: 14px 20px !important;
}

.mobile-menu__account {
  margin-top: 18px;
  justify-content: center !important;
  border-bottom: 0 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--muted) !important;
}

.mobile-menu__account:hover {
  color: var(--brand) !important;
}

/* ── Botones ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background 0.22s var(--ease),
    border-color 0.22s var(--ease),
    color 0.22s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px rgba(235, 0, 0, 0.22);
}

.btn--primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 14px 34px rgba(235, 0, 0, 0.3);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.58);
  border-color: var(--border);
  color: var(--ink);
}

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

.btn--light {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.btn--light:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn--sm {
  min-height: 40px;
  padding: 9px 17px;
  font-size: 0.84rem;
}

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

/* ── Tipografía de sección ──────────────────────────────────────────────── */

.section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
  z-index: 1;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(38px, 5vw, 62px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 13px;
  border: 1px solid rgba(235, 0, 0, 0.18);
  border-radius: var(--radius-full);
  background: rgba(235, 0, 0, 0.06);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 0 rgba(235, 0, 0, 0.35);
  animation: pulseDot 2.4s infinite;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.section-sub {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

.section--dark,
.section--red,
.section--download {
  --ink: #ffffff;
  --muted: #c7c7c7;
  --border: rgba(255, 255, 255, 0.14);
  --surface: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.section--dark {
  background: #1a1a1a;
}

.section--red {
  background: linear-gradient(135deg, #eb0000 0%, #b00000 55%, #1a1a1a 100%);
}

.section--download {
  background: linear-gradient(135deg, #eb0000 0%, #b00000 45%, #1a1a1a 100%);
}

.section--dark .section-title,
.section--red .section-title,
.section--download .section-title {
  color: #fff;
}

.section--dark .section-sub,
.section--red .section-sub,
.section--download .section-sub {
  color: var(--muted);
}

.section--dark .eyebrow,
.section--red .eyebrow,
.section--download .eyebrow {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.section--dark .eyebrow .dot,
.section--red .eyebrow .dot,
.section--download .eyebrow .dot {
  background: var(--brand-light);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
}

.text-brand {
  color: var(--brand);
}

.text-gradient {
  color: var(--brand);
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

@supports (-webkit-text-fill-color: transparent) {
  .text-gradient {
    -webkit-text-fill-color: transparent;
  }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(42px, 6vw, 84px)) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    620px circle at var(--mx, 72%) var(--my, 26%),
    rgba(235, 0, 0, 0.11),
    transparent 62%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.hero h1 {
  font-size: clamp(2.85rem, 6.1vw, 5.3rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.055em;
  color: var(--ink);
  text-wrap: balance;
}

.hero__lead {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 8px 15px;
  border-radius: 13px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  transition:
    transform 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.store-btn:hover {
  transform: translateY(-2px);
  background: var(--ink-2);
}

.store-btn .icon,
.store-btn .store-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.store-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-btn__text small {
  font-size: 0.62rem;
  font-weight: 500;
  opacity: 0.72;
}

.store-btn__text strong {
  font-size: 0.88rem;
  font-weight: 800;
}

.store-btn.is-recommended {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 2px rgba(235, 0, 0, 0.2);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 38px);
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__num {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.stat__num--brand {
  color: var(--brand);
}

.stat__label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 590px;
  perspective: 1500px;
  z-index: 1;
}

.hero__visual::before {
  content: "";
  position: absolute;
  width: min(430px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 0, 0, 0.23), transparent 66%);
  filter: blur(12px);
}

.hero-3d {
  position: relative;
  width: min(430px, 100%);
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 0.18s ease-out;
  will-change: transform;
}

.phone {
  position: relative;
  width: 300px;
  height: 610px;
  margin-inline: auto;
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(160deg, #2d2d2d, #0f0f0f);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.12) inset,
    0 40px 110px rgba(26, 26, 26, 0.38),
    0 10px 28px rgba(235, 0, 0, 0.14);
  transform: rotateY(-13deg) rotateX(5deg) translateZ(20px);
  transform-style: preserve-3d;
}

.phone::before {
  content: "";
  position: absolute;
  top: 130px;
  left: -3px;
  width: 3px;
  height: 78px;
  border-radius: 3px;
  background: #0a0a0a;
}

.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  height: 100%;
  padding: 16px;
  border-radius: 38px;
  background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
  color: #fff;
  overflow: hidden;
}

.phone__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(240px 180px at 86% 6%, rgba(235, 0, 0, 0.25), transparent 64%),
    radial-gradient(220px 180px at 8% 92%, rgba(235, 0, 0, 0.1), transparent 64%);
  pointer-events: none;
}

.phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 94px;
  height: 24px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
  z-index: 3;
}

.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.phone__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  position: relative;
  z-index: 2;
}

.phone__brand img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.phone__brand strong {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.phone__location {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: -4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9.5px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.phone__location .icon {
  width: 11px;
  height: 11px;
  color: var(--brand-light);
}

.phone__search {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  position: relative;
  z-index: 2;
}

.phone__search .icon {
  width: 12px;
  height: 12px;
}

.phone__chips {
  display: flex;
  gap: 5px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.phone__chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  font-size: 8.5px;
  font-weight: 600;
  white-space: nowrap;
}

.phone__chip .icon {
  width: 9px;
  height: 9px;
  color: var(--brand-light);
}

.phone__track {
  position: relative;
  z-index: 2;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eb0000 0%, #b00000 100%);
  box-shadow: 0 12px 26px rgba(235, 0, 0, 0.28);
}

.phone__track-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.phone__track-top strong {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.phone__progress {
  height: 5px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.phone__progress span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}

.phone__rider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.phone__rider-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 9px;
  font-weight: 800;
}

.phone__rider-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex: 1;
}

.phone__rider-info strong {
  font-size: 9.5px;
}

.phone__rider-info span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 8px;
}

.phone__rider .icon {
  width: 13px;
  height: 13px;
  color: #fff;
}

.phone__business {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
}

.phone__business-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(235, 0, 0, 0.16);
  color: var(--brand-light);
}

.phone__business-thumb .icon {
  width: 17px;
  height: 17px;
}

.phone__business-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.25;
}

.phone__business-info strong {
  font-size: 9.5px;
}

.phone__business-info span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
}

.phone__business-price {
  color: var(--brand-light);
  font-size: 9px;
  font-weight: 800;
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(26, 26, 26, 0.15);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: floatCard 6s ease-in-out infinite;
  will-change: transform;
}

.float-card .icon {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

.float-card strong {
  font-weight: 900;
}

.float-card span {
  display: block;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 500;
}

.float-card--rating {
  top: 8%;
  right: -8%;
  transform: translateZ(100px);
  animation-delay: -1.2s;
}

.float-card--route {
  bottom: 22%;
  left: -13%;
  transform: translateZ(120px);
  animation-delay: -2.6s;
}

.float-card--points {
  right: 0;
  bottom: 4%;
  transform: translateZ(80px);
  animation-delay: -4s;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--brand), transparent);
  animation: scrollCue 2.2s ease-in-out infinite;
}

/* ── Franja de confianza ────────────────────────────────────────────────── */

.trust {
  position: relative;
  z-index: 1;
  padding: 26px 0;
  border-top: 1px solid rgba(26, 26, 26, 0.06);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  background: rgba(255, 255, 255, 0.38);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand);
  flex: 0 0 auto;
}

.trust__icon .icon {
  width: 17px;
  height: 17px;
}

.trust__item strong {
  display: block;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.trust__item span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

/* ── Cómo funciona ──────────────────────────────────────────────────────── */

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

.step-card {
  position: relative;
  padding: 30px 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(235, 0, 0, 0.24);
  box-shadow: var(--shadow-md);
}

.step-card__num {
  position: absolute;
  top: -17px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(235, 0, 0, 0.26);
}

.step-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand);
}

.step-card__icon .icon {
  width: 22px;
  height: 22px;
}

.step-card h3 {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step-card p {
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.65;
}

.steps-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

/* ── Funcionalidades ────────────────────────────────────────────────────── */

.features {
  position: relative;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.feature-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 22px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.feature-card--wide {
  grid-column: span 3;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(235, 0, 0, 0.24);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
}

.feature-card__icon .icon {
  width: 19px;
  height: 19px;
}

.feature-card h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.62;
}

.feature-tag {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 13px;
  color: var(--brand);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Negocios y repartidores ────────────────────────────────────────────── */

.split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}

.split--reverse .split__copy {
  order: 2;
}

.split--reverse .split__visual {
  order: 1;
}

.split__copy h2 {
  max-width: 560px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.split__copy > p {
  max-width: 540px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.3vw, 1.06rem);
  line-height: 1.75;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 30px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--ink);
  font-size: 0.91rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  flex: 0 0 auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EB0000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 11px;
}

.section--dark .check-list li,
.section--red .check-list li {
  color: #fff;
}

.section--dark .check-list li::before,
.section--red .check-list li::before {
  background-color: rgba(255, 255, 255, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E");
}

.split__visual {
  position: relative;
  perspective: 1200px;
}

.section--textured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/food-texture.webp") center / cover no-repeat;
  opacity: 0.1;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}

.section--textured > .container {
  position: relative;
  z-index: 1;
}

.dashboard-card,
.driver-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: perspective(1000px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 0.2s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

.dashboard-card__head,
.driver-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-card__title,
.driver-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 800;
}

.dashboard-card__title .icon,
.driver-card__title .icon {
  width: 17px;
  height: 17px;
  color: var(--brand-light);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.live-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.kpi {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
}

.kpi strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.kpi strong em {
  color: var(--brand-light);
  font-style: normal;
}

.kpi span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.66rem;
  font-weight: 500;
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 86px;
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.chart span {
  flex: 1;
  min-width: 0;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--brand-light), var(--brand-dark));
  opacity: 0.9;
}

.chart span:nth-child(1) { height: 34%; }
.chart span:nth-child(2) { height: 48%; }
.chart span:nth-child(3) { height: 40%; }
.chart span:nth-child(4) { height: 62%; }
.chart span:nth-child(5) { height: 55%; }
.chart span:nth-child(6) { height: 76%; }
.chart span:nth-child(7) { height: 68%; }
.chart span:nth-child(8) { height: 92%; }

.levels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.level {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.level--bronze { background: #b9722f; color: #fff; }
.level--silver { background: #c9ced4; color: #2d2d2d; }
.level--gold { background: #f2c94c; color: #2d2d2d; }
.level--platinum { background: #e5e4e2; color: #2d2d2d; }

.driver-card {
  background: rgba(18, 18, 18, 0.66);
}

.driver-card__amount {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
}

.driver-card__amount span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
}

.driver-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 600;
}

.driver-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.driver-card__meta .icon {
  width: 12px;
  height: 12px;
  color: var(--brand-light);
}

.driver-route {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.driver-route__top {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.driver-route__top .icon {
  width: 14px;
  height: 14px;
  color: var(--brand-light);
}

.driver-route__bottom {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
}

/* ── Empieza a probar ───────────────────────────────────────────────────── */

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

.start-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.start-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.start-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
}

.start-card__icon .icon {
  width: 20px;
  height: 20px;
}

.start-card h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
}

.start-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.62;
}

.start-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 16px;
  margin-top: 22px;
}

.start-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.start-buttons__row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.qr-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.qr-card img {
  width: 104px;
  height: 104px;
  border-radius: 10px;
  border: 1px solid var(--divider);
}

.qr-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.3;
}

.qr-card > div {
  min-width: 0;
}

.qr-card span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 2px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}

.faq-item summary:hover {
  color: var(--brand);
}

.faq-answer {
  max-width: 94%;
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.faq-answer a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Acceso / login ─────────────────────────────────────────────────────── */

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
}

.access-copy h2 {
  max-width: 560px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: #fff;
}

.access-copy > p {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.access-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
  list-style: none;
}

.access-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #fff;
  font-size: 0.9rem;
}

.access-list .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--brand-light);
}

.access-note {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
}

.access-note a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-card {
  --ink: #1a1a1a;
  --muted: #555555;
  --border: #e0e0e0;
  --surface: #ffffff;
  width: 100%;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.login-card__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}

.login-card__head img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.login-card__head strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.login-card__head span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
}

.login-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--bg);
}

.login-tab {
  flex: 1;
  min-height: 38px;
  padding: 7px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.login-tab.is-active {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(26, 26, 26, 0.08);
}

.auth-msg {
  padding: 10px 12px;
  margin-bottom: 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.45;
}

.auth-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.auth-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.login-input {
  width: 100%;
  height: 48px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.login-input::placeholder {
  color: var(--muted-2);
}

.login-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(235, 0, 0, 0.1);
}

.input-row {
  display: flex;
  align-items: center;
  height: 48px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
}

.input-row:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(235, 0, 0, 0.1);
}

.input-prefix {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 11px;
  border-right: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.input-row .login-input {
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.input-row .login-input:focus {
  box-shadow: none;
}

.eye-btn {
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
}

.login-hint {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 0.7rem;
}

#field-password {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#field-password .input-row {
  margin-bottom: 0;
}

#field-otp .login-input {
  margin-bottom: 0;
}

.login-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 13px;
  border: 0;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.login-submit:hover {
  background: var(--brand-dark);
}

.login-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--divider);
}

.login-register {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.login-register:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.login-legal {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.5;
  text-align: center;
}

.login-legal a {
  color: var(--brand);
  font-weight: 700;
}

/* ── Descarga ───────────────────────────────────────────────────────────── */

.download {
  text-align: center;
}

.download__logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.download h2 {
  max-width: 780px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.download h2 span {
  color: #ffb3b3;
}

.download p {
  max-width: 560px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
}

.download__web {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
}

.download__web strong {
  color: #fff;
}

.download__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.download .store-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.download .store-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.download__note {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 64px 0 28px;
  background: #121212;
  color: #b0b0b0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 42px;
}

.footer-brand {
  max-width: 330px;
}

.footer-brand__name {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 13px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.footer-brand__name img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: #8c8c8c;
  font-size: 0.72rem;
}

.footer-location .icon {
  width: 13px;
  height: 13px;
  color: var(--brand-light);
}

.footer-col h3 {
  margin-bottom: 13px;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.footer-col a {
  color: #b0b0b0;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8c8c8c;
  font-size: 0.68rem;
}

.footer-bottom strong {
  color: #fff;
}

/* ── Apariciones al hacer scroll ────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="3d"] {
  transform: translateY(28px) rotateX(-7deg);
  transform-origin: center bottom;
}

[data-reveal="3d"].is-visible {
  transform: translateY(0) rotateX(0);
}

/* ── Animaciones ────────────────────────────────────────────────────────── */

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(235, 0, 0, 0.35); }
  50% { box-shadow: 0 0 0 7px rgba(235, 0, 0, 0); }
}

@keyframes floatCard {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes scrollCue {
  0%, 100% { opacity: 0.3; transform: scaleY(0.55); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .brand__tag {
    display: none;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-3d {
    width: min(360px, 100%);
  }

  .float-card--rating {
    top: 6%;
    right: 2%;
  }

  .float-card--route {
    left: 0;
    bottom: 20%;
  }

  .float-card--points {
    right: 2%;
    bottom: 6%;
  }
}

@media (max-width: 1023px) {
  :root {
    --header-h: 68px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 52px);
  }

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

  .hero__copy {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__stores,
  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    min-height: 560px;
  }

  .hero-3d {
    width: min(390px, 90%);
  }

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

  .float-card--route {
    left: 1%;
  }

  .float-card--points {
    right: 3%;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 640px;
    margin-inline: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card,
  .feature-card--wide {
    grid-column: span 1;
  }

  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__copy,
  .split--reverse .split__visual {
    order: initial;
  }

  .split__copy {
    text-align: center;
  }

  .split__copy h2,
  .split__copy > p {
    margin-inline: auto;
  }

  .check-list {
    max-width: 520px;
    margin-inline: auto;
    text-align: left;
  }

  .split__copy .btn {
    margin-inline: auto;
  }

  .split__visual {
    max-width: 520px;
    margin-inline: auto;
  }

  .start-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }

  .start-actions {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }

  .access-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }

  .access-copy {
    text-align: center;
  }

  .access-copy h2,
  .access-copy > p {
    margin-inline: auto;
  }

  .access-list {
    max-width: 430px;
    margin-inline: auto;
    text-align: left;
  }

  .access-note {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    max-width: none;
  }

  .scroll-cue {
    display: none;
  }
}

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

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

  .section {
    padding: 64px 0;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.9);
  }

  body[data-scene="dark"] .site-header,
  body[data-scene="red"] .site-header,
  body[data-scene="download"] .site-header,
  body[data-scene="footer"] .site-header {
    background: rgba(18, 18, 18, 0.86);
  }

  .header-actions .btn {
    display: none;
  }

  .brand__logo {
    width: 34px;
    height: 34px;
  }

  .brand__name {
    font-size: 1.15rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 38px);
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero__lead {
    margin-top: 17px;
    font-size: 0.98rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stores {
    justify-content: center;
  }

  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
    padding-top: 20px;
  }

  .stat__num {
    font-size: 1.5rem;
  }

  .hero__visual {
    min-height: 500px;
  }

  .phone {
    width: 270px;
    height: 550px;
  }

  .float-card {
    font-size: 0.64rem;
    padding: 8px 10px;
  }

  .float-card--rating {
    top: 5%;
    right: 0;
  }

  .float-card--route {
    bottom: 20%;
    left: 0;
  }

  .float-card--points {
    display: none;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .trust__item {
    gap: 9px;
  }

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

  .feature-card {
    min-height: 0;
    padding: 20px;
  }

  .feature-card__icon {
    margin-bottom: 11px;
  }

  .split__visual {
    max-width: 420px;
  }

  .dashboard-card,
  .driver-card {
    padding: 18px;
  }

  .kpi {
    padding: 11px;
  }

  .kpi strong {
    font-size: 1.15rem;
  }

  .chart {
    height: 72px;
  }

  .start-buttons__row .store-btn {
    flex: 1;
    justify-content: center;
  }

  .qr-card {
    align-items: flex-start;
  }

  .qr-card img {
    width: 88px;
    height: 88px;
  }

  .faq-item summary {
    font-size: 0.92rem;
    padding: 17px 0;
  }

  .faq-answer {
    max-width: 100%;
    font-size: 0.84rem;
  }

  .access-grid {
    max-width: 540px;
  }

  .login-card {
    padding: 20px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .download__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 330px;
    margin-inline: auto;
  }

  .download__actions .store-btn {
    justify-content: center;
  }
}

@media (max-width: 479px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 56px 0;
  }

  .eyebrow {
    font-size: 0.64rem;
    padding: 5px 10px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.2rem);
  }

  .hero__stats {
    justify-content: space-between;
    gap: 10px;
  }

  .stat__label {
    font-size: 0.66rem;
  }

  .hero__visual {
    min-height: 430px;
  }

  .phone {
    width: 228px;
    height: 464px;
    border-radius: 38px;
    padding: 8px;
  }

  .phone__screen {
    padding: 12px;
    border-radius: 31px;
    gap: 8px;
  }

  .phone__notch {
    width: 74px;
    height: 20px;
    top: 8px;
  }

  .phone__brand img {
    width: 25px;
    height: 25px;
  }

  .phone__brand strong {
    font-size: 11px;
  }

  .phone__location {
    font-size: 8px;
  }

  .phone__search {
    padding: 7px 8px;
    font-size: 8.5px;
  }

  .phone__chips {
    gap: 4px;
  }

  .phone__chip {
    padding: 4px 6px;
    font-size: 7px;
  }

  .phone__track {
    padding: 10px;
  }

  .phone__track-top {
    font-size: 8px;
  }

  .phone__track-top strong {
    font-size: 11px;
  }

  .phone__business {
    padding: 7px;
  }

  .phone__business-thumb {
    width: 28px;
    height: 28px;
  }

  .phone__business-info strong {
    font-size: 8px;
  }

  .phone__business-info span {
    font-size: 7px;
  }

  .float-card {
    display: none;
  }

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

  .feature-card {
    padding: 18px;
  }

  .start-card,
  .start-buttons {
    padding: 20px;
  }

  .start-buttons__row {
    flex-direction: column;
  }

  .start-buttons__row .store-btn {
    width: 100%;
  }

  .qr-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .login-card {
    padding: 17px;
  }

  .login-tabs {
    gap: 3px;
  }

  .login-tab {
    font-size: 0.72rem;
  }
}

@media (max-height: 560px) and (min-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 48px;
  }

  .hero__visual {
    min-height: 480px;
  }

  .phone {
    width: 240px;
    height: 480px;
  }

  .scroll-cue {
    display: none;
  }
}

/* ── Movimiento reducido ────────────────────────────────────────────────── */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-3d,
  .phone {
    transform: none;
  }

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

  .float-card {
    animation: none;
  }
}
