/* Plus Jakarta Sans (OFL, see fonts/OFL.txt), Latin subset. */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("/fonts/PlusJakartaSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("/fonts/PlusJakartaSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("/fonts/PlusJakartaSans-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("/fonts/PlusJakartaSans-Bold.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap; src: url("/fonts/PlusJakartaSans-ExtraBold.woff2") format("woff2"); }

/* Tokens of docs/granadabus.pen. */
:root {
  --bg: #F4F4F1;
  --surface: #FFFFFF;
  --ink: #14151A;
  --muted: #6B6E76;
  --line: #E6E5E0;
  --accent: #C8102E;
  --accent-soft: #FBE7EA;
  --live: #12A150;
  --live-soft: #E3F5EA;
  --metro-red: #C00B31;
  --gutter: 80px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.i { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

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

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
}

.intro {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 80px;
}
.section-head .title-group { max-width: 680px; }
.section-head .intro { max-width: 400px; }
.title-group { display: flex; flex-direction: column; gap: 16px; }

/* Nav */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }
.mark {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}
.wordmark { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; }
.logo.small .mark { width: 28px; height: 28px; border-radius: 8px; }
.logo.small .wordmark { font-size: 15px; letter-spacing: 0; }

.nav-links { display: flex; gap: 36px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
}
.nav-cta .i { font-size: 16px; }
.nav > :last-child { margin-left: auto; }

/* Hero */

.hero {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  padding-top: 40px;
}

.hero-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-block: 40px 120px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--live-soft);
  color: #0B7A3B;
  font-size: 13px;
  font-weight: 600;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); }

.hero-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
}
.hero-brand img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 8px 24px rgba(15, 23, 42, 0.12);
}

h1 {
  font-size: 76px;
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.02;
}

.subhead {
  max-width: 520px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

.stores { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #FFFFFF;
}
.store .i { font-size: 28px; }
.store span { display: flex; flex-direction: column; gap: 1px; }
.store small { color: #FFFFFFB3; font-size: 11px; font-weight: 500; }
.store b { font-size: 18px; font-weight: 700; }
.stores.light .store { background: #FFFFFF; color: var(--ink); }
.stores.light .store small { color: var(--muted); }

.proof { display: flex; flex-wrap: wrap; gap: 24px; }
.proof li { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.proof .i { font-size: 18px; color: var(--live); }

.hero-phones { width: 620px; flex-shrink: 0; }

/* Lines strip */

.strip { background: var(--ink); }
.strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-block: 28px;
}
.strip p { color: #FFFFFF; font-size: 16px; font-weight: 600; }

.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.badge {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--c);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  line-height: 18px;
}
.badge.dark-text { color: #000000; }
.badge.metro {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border: 1.5px solid var(--metro-red);
  background: #FFFFFF;
  color: var(--metro-red);
}
.badge.metro .metro-logo { width: 17px; height: 18px; }

/* Features */

.features {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding-block: 120px;
}

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

.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
}
.card h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.6px; }
.card p { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.55; }

.map-card { justify-content: flex-start; min-height: 620px; padding-bottom: 0; overflow: hidden; }
.map-card p { max-width: 440px; margin-top: 0; }
/* The phone runs off the card's right edge, as in the design. */
.map-card img { width: calc(100% + 40px); max-width: none; margin-top: auto; }
.card-icon { font-size: 32px; color: var(--accent); }

.side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }

.card.dark { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }
.card.dark p { color: #FFFFFFA6; }
.card-top { display: flex; justify-content: space-between; align-items: center; }

.icon-wrap {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FFFFFF1A;
  color: #FFFFFF;
  font-size: 24px;
}
.icon-wrap.soft { background: var(--accent-soft); color: var(--accent); }

.soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.soon .i { font-size: 14px; }

/* Bus, metro and metropolitan */

.networks { background: var(--ink); color: #FFFFFF; }
.networks > .wrap { display: flex; flex-direction: column; gap: 64px; padding-block: 120px; }
.networks .eyebrow { color: #FF6B7F; }
.networks .intro { color: #FFFFFFA6; }

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

.column {
  overflow: hidden;
  border: 1px solid #FFFFFF1A;
  border-radius: 32px;
  background: #FFFFFF0D;
}
.column img { width: 100%; }

.column-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 32px 36px;
  border-top: 1px solid #FFFFFF1A;
}
.column-text h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; }
.column-text > p:not(.tag) { color: #FFFFFFA6; font-size: 16px; line-height: 1.55; }

.tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.tag .icon-wrap { width: 40px; height: 40px; border-radius: 10px; background: var(--c); font-size: 22px; }

/* The metro badge of the app: white, red border, logo. */
.metro-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 40px;
  border: 2px solid var(--metro-red);
  border-radius: 12px;
  background: #FFFFFF;
}
.metro-badge .metro-logo { width: 22px; height: 24px; }

.points { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.points li { display: flex; align-items: center; gap: 8px; color: #FFFFFFCC; font-size: 14px; font-weight: 600; }
.points .i { font-size: 16px; }

/* Privacy */

.privacy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-block: 120px 60px;
  text-align: center;
}
.privacy .intro { max-width: 620px; }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  padding-top: 48px;
  text-align: left;
}
.pillars li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 32px;
  border-left: 1px solid var(--line);
}
.pillars b { color: var(--accent); font-size: 56px; font-weight: 800; letter-spacing: -2px; line-height: 1.2; }
.pillars strong { font-size: 17px; font-weight: 700; }
.pillars span { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Questions */

.faq { display: flex; gap: 80px; padding-block: 80px 120px; }
.faq .title-group { flex: 0 0 400px; }
.faq h2 { font-size: 40px; letter-spacing: -1.2px; line-height: 1.1; }

.faq-list { flex: 1; }
.faq-list details { padding-block: 24px; border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { font-size: 20px; color: var(--muted); transition: transform 0.2s; }
.faq-list details[open] summary .i { transform: rotate(45deg); }
.faq-list p { max-width: 640px; margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.faq-list p a { color: var(--ink); text-decoration: underline; }

/* Download */

.cta-wrap { padding-bottom: 80px; }
.cta {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  padding: 80px 80px 0;
  border-radius: 40px;
  background: var(--accent);
  color: #FFFFFF;
  overflow: hidden;
}
.cta-copy { flex: 1; display: flex; flex-direction: column; gap: 24px; padding-bottom: 80px; }
.cta h2 { font-size: 60px; letter-spacing: -2px; line-height: 1.04; }
.cta-copy > p { color: #FFFFFFCC; font-size: 19px; line-height: 1.5; }
.cta .url { color: #FFFFFF; font-size: 15px; font-weight: 600; }
.cta img { width: 440px; flex-shrink: 0; }

/* Footer */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 32px 48px;
  border-top: 1px solid var(--line);
}
.footer-links { display: flex; gap: 28px; }
.footer-links a, .note { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.note { font-size: 13px; }

/* Narrower screens: the design only exists at 1440. */

@media (max-width: 1200px) {
  :root { --gutter: 48px; }
  h1 { font-size: 60px; letter-spacing: -2px; }
  .hero-phones { width: 480px; }
  .pillars { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .pillars li { padding-inline: 24px; }
  .cta img { width: 360px; }
}

@media (max-width: 960px) {
  :root { --gutter: 32px; }
  .nav-links { display: none; }
  .hero { flex-direction: column; align-items: center; }
  .hero-copy { padding-block: 24px 0; }
  .hero-phones { width: 100%; max-width: 560px; }
  .strip-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .features, .networks > .wrap { gap: 48px; padding-block: 88px; }
  .grid, .columns { grid-template-columns: 1fr; }
  .columns { max-width: 520px; margin-inline: auto; }
  .map-card { min-height: 0; }
  .pillars { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .faq { flex-direction: column; gap: 24px; padding-top: 48px; }
  .faq .title-group { flex-basis: auto; }
  .cta { flex-direction: column; align-items: center; padding: 56px 40px 0; }
  .cta-copy { padding-bottom: 0; }
  .cta img { width: 100%; max-width: 400px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  h1 { font-size: 44px; letter-spacing: -1.4px; }
  .hero-brand { gap: 14px; font-size: 28px; }
  .hero-brand img { width: 64px; height: 64px; border-radius: 16px; }
  h2, .faq h2 { font-size: 32px; letter-spacing: -0.8px; }
  .subhead { font-size: 17px; }
  .nav-cta { padding: 10px 14px; font-size: 13px; }
  .wordmark { font-size: 16px; }
  .card { padding: 28px; border-radius: 24px; }
  .map-card { padding-bottom: 0; }
  .map-card img { width: calc(100% + 28px); }
  .card h3 { font-size: 24px; }
  .column { border-radius: 24px; }
  .column-text { padding: 24px; }
  .privacy { padding-top: 88px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars b { font-size: 44px; }
  .cta { padding: 40px 20px 0; border-radius: 28px; }
  .cta h2 { font-size: 36px; letter-spacing: -1px; }
  .cta-copy > p { font-size: 17px; }
}

/* Legal pages */

.legal { max-width: 800px; padding-block: 56px 96px; }
.legal h1 { margin-top: 16px; font-size: 48px; letter-spacing: -1.5px; }
.legal h2 { margin-top: 48px; font-size: 24px; letter-spacing: -0.5px; }
.legal p, .legal li { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.legal strong { color: var(--ink); }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--ink); text-decoration: underline; }
.legal .updated { margin-top: 8px; font-size: 14px; }
.legal .lead { margin-top: 32px; color: var(--ink); font-size: 19px; }
.legal .actions { margin-top: 32px; }
.legal .actions a { color: #FFFFFF; text-decoration: none; }
.legal .eyebrow { color: var(--accent); font-size: 13px; }
.legal h2[id] { scroll-margin-top: 24px; }
.legal h3 { margin-top: 32px; font-size: 18px; font-weight: 700; letter-spacing: -0.2px; }
.legal ol { padding-left: 22px; }

/* "En resumen" box at the top of a legal page. */
.legal .summary {
  margin-top: 32px;
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--live-soft);
}
.legal .summary p { margin-top: 0; color: #0B7A3B; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.legal .summary ul { list-style: none; padding-left: 0; }
.legal .summary li { display: flex; gap: 10px; color: var(--ink); }
.legal .summary .i { margin-top: 5px; font-size: 16px; color: var(--live); }

/* Table of contents: plain anchors, the site runs no scripts. */
.legal .toc {
  margin-top: 32px;
  padding: 24px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.legal .toc p { margin-top: 0; color: var(--ink); font-size: 15px; font-weight: 700; }
.legal .toc ol { columns: 2; column-gap: 32px; margin-top: 8px; }
.legal .toc li { margin-top: 6px; font-size: 15px; break-inside: avoid; }
.legal .toc a { color: var(--muted); text-decoration: none; }
.legal .toc a:hover { color: var(--ink); text-decoration: underline; }

/* One processing activity: what, why, legal basis, how long, who. */
.legal .record {
  margin-top: 16px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.legal .record h3 { margin-top: 0; }
.legal .record dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 20px; margin: 16px 0 0; }
.legal .record dt { color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.65; }
.legal .record dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

@media (max-width: 600px) {
  .legal h1 { font-size: 36px; letter-spacing: -1px; }
  .legal .summary, .legal .toc { padding: 22px 20px; }
  .legal .toc ol { columns: 1; }
  .legal .record { padding: 20px; }
  .legal .record dl { grid-template-columns: 1fr; gap: 2px; }
  .legal .record dd + dt { margin-top: 10px; }
}
