/* Portada de citypik.com (rediseño F). Las guías siguen usando styles.css. */
:root {
  --night: #130a33;
  --night-2: #1c1048;
  --violet-deep: #26145f;
  --violet: #5b2fd6;
  --violet-bright: #8b5cf6;
  --indigo-text: #3a1fa0;
  --lilac: #c4b0ff;
  --lilac-pale: #e9e1ff;
  --route: #ffd166;
  --sky: #5fd4ff;
  --text: #f5f2ff;
  --dim: #9a8cc8;
  --glass: rgba(38, 20, 95, 0.62);
  --glass-border: rgba(196, 176, 255, 0.22);
  --hairline: rgba(196, 176, 255, 0.14);
  --radius-card: 28px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

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

:lang(zh-CN) {
  --font: 'Plus Jakarta Sans', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}

:lang(zh-CN) h1,
:lang(zh-CN) h2,
:lang(zh-CN) h3 {
  letter-spacing: 0;
  line-height: 1.2;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

p {
  margin: 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lilac);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--route);
}

.section-title {
  font-size: clamp(38px, 6vw, 72px);
  margin-top: 18px;
}

.section-lead {
  margin-top: 20px;
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--lilac-pale);
  opacity: 0.86;
}

.grad-text {
  background: linear-gradient(100deg, var(--lilac) 0%, #fff 40%, var(--route) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.hero {
  position: relative;
  padding: 120px 0 72px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  z-index: -2;
  background: url('/assets/home/hero-eiffel-900.jpg') center 30% / cover;
  filter: blur(60px) saturate(130%);
  opacity: 0.45;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(91, 47, 214, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(19, 10, 51, 0.55) 0%, var(--night) 92%);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.chip-new {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  font-size: 14px;
  font-weight: 600;
  color: var(--lilac-pale);
  text-decoration: none;
}

.chip-new b {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--route);
  color: var(--night);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(52px, 9vw, 112px);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.hero-lead {
  margin-top: 26px;
  max-width: 520px;
  font-size: clamp(18px, 1.7vw, 21px);
  color: var(--lilac-pale);
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.store {
  display: block;
  border-radius: 12px;
  transition: transform 0.2s;
}

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

.store img {
  width: auto;
  height: 56px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 14px;
  color: var(--dim);
}

.hero-note span::before {
  content: '✓';
  margin-right: 8px;
  color: var(--route);
  font-weight: 800;
}

/* Visor que «escanea» la Torre Eiffel, como hace la app. */
.scan {
  position: relative;
  width: min(100%, 460px);
  margin: 0 auto;
  aspect-ratio: 2 / 3;
  border-radius: 34px;
  overflow: hidden;
  background: var(--night-2);
  box-shadow:
    0 0 0 1px var(--glass-border),
    0 40px 120px -30px rgba(91, 47, 214, 0.75);
}

.scan > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scan::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 10, 51, 0.25), transparent 30%, transparent 60%, rgba(19, 10, 51, 0.55));
  pointer-events: none;
}

.scan-frame {
  position: absolute;
  z-index: 2;
  inset: 6% 6% 6% 6%;
  transition: inset 1s cubic-bezier(0.7, 0, 0.2, 1);
}

.scan[data-step]:not([data-step='0']) .scan-frame {
  inset: 9% 13% 12% 15%;
}

.scan-frame i {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.scan-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.scan-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 14px; }
.scan-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 14px; }
.scan-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 30%;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.35) 85%, rgba(233, 225, 255, 0.95) 100%);
  border-bottom: 2px solid #fff;
}

.scan[data-step='2'] .scan-line {
  animation: sweep 1.3s cubic-bezier(0.5, 0, 0.5, 1) forwards;
}

@keyframes sweep {
  0% { top: -30%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.scan-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(19, 10, 51, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.4s;
}

.scan[data-step]:not([data-step='0']):not([data-step='1']):not([data-step='2']) .scan-hint {
  opacity: 0;
}

.tag {
  position: absolute;
  z-index: 4;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(19, 10, 51, 0.72);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.45s, transform 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.tag small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lilac);
}

.tag strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.tag-title {
  top: 4%;
  left: 50%;
  translate: -50% 0;
  text-align: center;
  white-space: nowrap;
  background: #fff;
  color: var(--night);
  border: 0;
}

.tag-title small {
  color: var(--violet);
}

.tag-title strong {
  font-size: 20px;
  font-weight: 800;
}

.tag-style { top: 30%; left: 5%; }
.tag-era { top: 45%; right: 5%; }
.tag-arch { top: 61%; left: 5%; }

.tag-audio {
  left: 6%;
  right: 6%;
  bottom: 5%;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tag-audio .play {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--violet), var(--violet-bright));
}

.tag-audio .play::before {
  content: '';
  width: 12px;
  height: 14px;
  background: #fff;
  clip-path: polygon(0 0, 0 100%, 20% 100%, 20% 0, 60% 0, 60% 100%, 80% 100%, 80% 0);
}

.bars {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 26px;
}

.bars span {
  flex: 1;
  height: 30%;
  border-radius: 2px;
  background: var(--lilac);
  animation: bar 0.9s ease-in-out infinite alternate;
}

.bars span:nth-child(3n) { animation-delay: -0.3s; }
.bars span:nth-child(3n + 1) { animation-delay: -0.6s; }
.bars span:nth-child(4n) { animation-duration: 0.7s; }

@keyframes bar {
  to { height: 100%; }
}

.scan[data-step='3'] .tag-title,
.scan[data-step='4'] .tag-title,
.scan[data-step='4'] .tag-style,
.scan[data-step='4'] .tag-era,
.scan[data-step='4'] .tag-arch,
.scan[data-step='4'] .tag-audio {
  opacity: 1;
  transform: none;
}

.scan[data-step='4'] .tag-era { transition-delay: 0.25s; }
.scan[data-step='4'] .tag-arch { transition-delay: 0.5s; }
.scan[data-step='4'] .tag-audio { transition-delay: 0.9s; }

/* ---------- Ciudades ---------- */

.cities {
  padding: 40px 0 24px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.cities-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--dim);
}

.marquee {
  display: flex;
  margin-top: 22px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  flex: none;
  gap: 16px;
  padding-right: 16px;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

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

.city {
  position: relative;
  flex: none;
  width: 200px;
  height: 250px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--night-2);
}

.city img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(19, 10, 51, 0.92));
}

.city figcaption {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 12px;
  line-height: 1.25;
}

.city strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.city span {
  font-size: 13px;
  color: var(--lilac);
}

/* ---------- Cómo funciona ---------- */

.section {
  padding: clamp(80px, 12vw, 150px) 0;
}

.how-grid {
  display: grid;
  gap: 56px;
  margin-top: 56px;
}

.phone {
  position: relative;
  width: min(100%, 320px);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  padding: 10px;
  border-radius: 44px;
  background: #0a061c;
  box-shadow:
    0 0 0 1.5px rgba(196, 176, 255, 0.35),
    0 50px 100px -40px rgba(91, 47, 214, 0.9);
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--night);
}

.phone-screen img,
.phone-screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-sticky {
  display: none;
}

.phone-sticky .phone-screen img {
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s, transform 0.8s;
}

.phone-sticky .phone-screen img.is-on {
  opacity: 1;
  transform: none;
}

.steps {
  display: grid;
  gap: 72px;
  counter-reset: step;
}

.step-num {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--route);
}

.step h3 {
  margin-top: 12px;
  font-size: clamp(30px, 3.6vw, 46px);
}

.step p {
  margin-top: 14px;
  max-width: 440px;
  font-size: 18px;
  color: var(--lilac-pale);
  opacity: 0.85;
}

.step .phone {
  width: min(78%, 280px);
  margin-top: 32px;
}

.step-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.step-pills span {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Audio ---------- */

.audio-card {
  position: relative;
  display: grid;
  gap: 40px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(139, 92, 246, 0.45), transparent 60%),
    linear-gradient(160deg, var(--violet-deep), var(--night-2));
  border: 1px solid var(--glass-border);
}

.player {
  align-self: center;
  padding: 22px;
  border-radius: 26px;
  background: rgba(10, 6, 28, 0.55);
  border: 1px solid var(--hairline);
}

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

.player-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--violet);
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.2s;
}

.player-btn:hover {
  transform: scale(1.05);
}

.player-btn svg {
  width: 26px;
  height: 26px;
}

.player.is-playing .player-btn {
  animation: ring 1.6s infinite;
}

@keyframes ring {
  to { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
}

.player-meta small {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lilac);
}

.player-meta strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
}

.player .bars {
  height: 56px;
  margin-top: 22px;
  gap: 4px;
}

.player .bars span {
  height: var(--h, 40%);
  animation: none;
  background: rgba(196, 176, 255, 0.35);
  transition: background 0.2s;
}

.player .bars span.is-past {
  background: var(--route);
}

.player.is-playing .bars span {
  animation: bar 0.8s ease-in-out infinite alternate;
}

.player-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

.audio-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.audio-list li {
  display: flex;
  gap: 12px;
  font-size: 17px;
  color: var(--lilac-pale);
}

.audio-list li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--route);
}

/* ---------- Rutas ---------- */

.routes-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.map {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  overflow: hidden;
  background: #170d3d;
  border: 1px solid var(--glass-border);
}

.map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map .streets path {
  fill: none;
  stroke: rgba(196, 176, 255, 0.1);
  stroke-width: 10;
  stroke-linecap: round;
}

.map .river {
  fill: none;
  stroke: rgba(95, 212, 255, 0.16);
  stroke-width: 26;
  stroke-linecap: round;
}

.map .route {
  fill: none;
  stroke: var(--route);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 0.1 18;
  animation: march 1.1s linear infinite;
}

@keyframes march {
  to { stroke-dashoffset: -18.1; }
}

.you {
  position: absolute;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--sky);
  border: 4px solid #fff;
  box-shadow: 0 0 0 0 rgba(95, 212, 255, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  to { box-shadow: 0 0 0 22px rgba(95, 212, 255, 0); }
}

.you::after {
  content: attr(data-label);
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  color: var(--night);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.stop {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 62%;
  padding: 6px 14px 6px 6px;
  border-radius: 18px;
  background: rgba(19, 10, 51, 0.82);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, 0.7);
}

.stop img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.stop b {
  position: absolute;
  top: -10px;
  left: -10px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--indigo-text);
  font-size: 13px;
  font-weight: 800;
}

.stop small {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--lilac);
}

.stop strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.pin {
  position: absolute;
  width: 26px;
  height: 26px;
  margin: -30px 0 0 -13px;
  border-radius: 50% 50% 50% 0;
  background: var(--route);
  transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.pin::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--night);
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-list .ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 20px;
}

.feature-list strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
}

.feature-list span {
  font-size: 15px;
  color: var(--dim);
}

/* ---------- Precios ---------- */

.plans {
  display: grid;
  gap: 18px;
  margin-top: 56px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-card);
  background: var(--night-2);
  border: 1px solid var(--hairline);
}

.plan-featured {
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(139, 92, 246, 0.55), transparent 70%),
    var(--violet-deep);
  border-color: rgba(196, 176, 255, 0.45);
}

.plan-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--route);
  color: var(--night);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.plan-price {
  margin-top: 18px;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-price small {
  margin-left: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--dim);
}

.plan ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.plan li {
  display: flex;
  gap: 10px;
  font-size: 16px;
  color: var(--lilac-pale);
}

.plan li::before {
  content: '✓';
  flex: none;
  font-weight: 800;
  color: var(--route);
}

.plans-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--dim);
}

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

.faq-grid {
  display: grid;
  gap: 40px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: 20px;
  background: var(--night-2);
  border: 1px solid var(--hairline);
  transition: background 0.2s;
}

.faq details[open] {
  background: var(--violet-deep);
}

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

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

.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(196, 176, 255, 0.12);
  font-size: 20px;
  font-weight: 600;
  transition: transform 0.3s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 22px 22px;
  font-size: 16px;
  color: var(--lilac-pale);
  opacity: 0.85;
}

/* ---------- Descarga ---------- */

.download {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
  padding: clamp(32px, 6vw, 80px);
  border-radius: 44px;
  overflow: hidden;
  background:
    radial-gradient(80% 80% at 0% 100%, rgba(255, 209, 102, 0.18), transparent 60%),
    linear-gradient(135deg, var(--violet) 0%, #3a1fa0 55%, var(--night-2) 100%);
}

.download h2 {
  font-size: clamp(40px, 6vw, 80px);
  letter-spacing: -0.045em;
}

.download p {
  margin-top: 18px;
  max-width: 460px;
  font-size: 19px;
  color: var(--lilac-pale);
}

.qr {
  display: none;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--lilac-pale);
}

.qr img {
  width: 92px;
  height: 92px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
}

.download .phone {
  width: min(70%, 290px);
}

/* ---------- Guías y pie ---------- */

.guides {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

.guide {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: var(--night-2);
  border: 1px solid var(--hairline);
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s;
}

.guide:hover {
  transform: translateY(-3px);
  border-color: var(--glass-border);
}

.guide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.guide div {
  padding: 16px 18px 20px;
}

.guide strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.guide span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--dim);
}

.footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--dim);
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer a {
  text-decoration: none;
}

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

/* Aviso de idioma en la portada inglesa. */
.lang-hint {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: rgba(19, 10, 51, 0.92);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.7);
  font-size: 15px;
  font-weight: 600;
  transform: translateX(-50%);
}

.lang-hint a {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--indigo-text);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.lang-hint button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(196, 176, 255, 0.12);
  color: var(--lilac-pale);
  font: inherit;
  font-size: 18px;
  cursor: pointer;
}

/* Aparición al hacer scroll. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Escritorio ---------- */

@media (min-width: 600px) {
  .guides {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .qr {
    display: flex;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 150px 0 110px;
    min-height: 100svh;
    display: flex;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }

  .how-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .phone-sticky {
    display: block;
    position: sticky;
    top: calc(50vh - 300px);
    height: 600px;
    width: 338px;
  }

  .step {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .step .phone {
    display: none;
  }

  .audio-card {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }

  .routes-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
  }

  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
  }

  .download {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .guides {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .map {
    aspect-ratio: 4 / 5;
  }

  .stop img {
    width: 40px;
    height: 40px;
  }

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

@media (max-width: 420px) {
  .store img {
    height: 48px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
