/* ===============================
   Design tokens
================================ */
:root {
  --bg: #0b0f14;
  --text: #e7eef7;
  --muted: #a7b3c2;
  --border: rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --link: #9bd3ff;
  --accent: #ffd400;

  --max: 1100px;
  --radius: 16px;
}

/* ===============================
   Base typography (IMPORTANT)
================================ */
html {
  font-size: 19px; /* 👈 desktop + mobile base */
}

@media (max-width: 768px) {
  html {
    font-size: 18px;
  }  
  
  .sub {
    line-height: 1.5;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #070a0f 0%, var(--bg) 45%, #070a0f 100%);
  color: var(--text);
  line-height: 1.6;
}

/* ===============================
   Links
================================ */
a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===============================
   Layout
================================ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.2rem 1rem 2rem;
}

header {
  padding-bottom: 0.5rem;
}

/* ===============================
   Headings & text
================================ */
h1 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: .3px;
}

.sub {
  margin-top: 0.6rem;
  max-width: 80ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.sectionTitle {
  margin: 1.6rem 0 0.7rem;
  font-size: 0.95rem;
  letter-spacing: 0.35px;
  color: var(--muted);
  text-transform: uppercase;
}


/* ===============================
   How-it-works boxes
================================ */
.how {
  margin-top: 1.4rem;   /* 👈 add this */
  display: grid;
  gap: 0.8rem;
}


@media (min-width: 900px) {
  .how {
    grid-template-columns: repeat(3, 1fr);
  }
}

.box {
  background: rgba(17,24,36,.86);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.9rem 1rem;
}

.box h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===============================
   Airport list
================================ */
.airport-list {
  margin-top: 0.4rem;
}

.airport-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  padding: 1.1rem 1.2rem;
  background: #0b0f14;
  border: 1px solid #2a2f36;
  border-radius: 12px;

  color: #fff;
  font-size: 1.05rem;

  transition:
    background .15s ease,
    border-color .15s ease,
    transform .1s ease;
}

.airport-row:hover,
.airport-row:focus-visible {
  background: #131922;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.airport-code {
  font-weight: 700;
  min-width: 3.2rem;
  color: var(--accent);
}

.airport-name {
  color: #e6e6e6;
}

.airport-arrow {
  margin-left: auto;
  font-size: 1.4rem;
  opacity: 0.5;
}

.airport-row:hover .airport-arrow {
  opacity: 0.8;
}


/* ===============================
   Notes & footer
================================ */
.note {
  font-size: 0.95rem;
  color: var(--muted);
}

footer {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  opacity: 0.85;
  color: var(--muted);
  text-align: center;
}

footer .copyright {
  margin-top: 0.5rem;
}

/* ---------- Breadcrumbs (airport pages) ---------- */
.crumbs {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--muted, rgba(255,255,255,.65));
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
}

.crumb-link {
  color: inherit;
  text-decoration: none;
}

.crumb-link:hover {
  text-decoration: underline;
}

.crumb-sep {
  opacity: 0.6;
}

.crumb-current {
  color: var(--text, #fff);
  opacity: 0.9;
  font-weight: 600;
}

/* ---------- Airport pages spacing ---------- */
.airport-page header {
  margin-bottom: 10px;
}

.airport-page .sub {
  margin-bottom: 10px;
}

.airport-page .sectionTitle {
  margin-top: 12px;
}

/* =========================
   Guide pages (e.g., PIT/Hertz)
   Add at end of assets/styles.css
   ========================= */

body.guide-page {
  /* keep consistent with site look; do not fight existing body styles */
}

.guide-head {
  margin-top: 6px;
}

.guide-main {
  padding-bottom: 10px;
}

/* Cards (reuse existing .box vibe, but in card form) */
.card {
  background: rgba(17, 24, 36, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  overflow: hidden;
}

.card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-h h2 {
  margin: 0;
  font-size: 1rem; /* respects your root scaling */
  letter-spacing: .2px;
}

.hint {
  font-size: 0.85rem;
  opacity: 0.75;
}

.card-b {
  padding: 12px 14px;
}

.guide-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .guide-grid {
    grid-template-columns: 1.2fr .8fr;
    align-items: start;
  }
}

/* Pills */
.pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  opacity: 0.92;
  white-space: nowrap;
}

.pill strong {
  font-weight: 650;
}

/* Inline key badge */
.k {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 212, 0, .14);
  border: 1px solid rgba(255, 212, 0, .22);
}

/* Buttons */
.btnrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

.btn:hover {
  background: rgba(255,255,255,.08);
  text-decoration: none;
}

.btn.primary {
  background: rgba(255,212,0,.16);
  border-color: rgba(255,212,0,.25);
}

.btn.primary:hover {
  background: rgba(255,212,0,.20);
}

/* Map */
.map .card-b {
  padding: 10px;
}

.map svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: rgba(0,0,0,.15);
}

/* Steps + notes */
.steps {
  margin: 0;
  padding-left: 18px;
  line-height: 1.45;
}

.steps li {
  margin: 6px 0;
}

.note {
  opacity: 0.85;
  margin: 10px 0 0;
}

/* Small sectionTitle variant for inside cards */
.sectionTitle.small {
  font-size: 0.95rem;
  margin: 12px 0 8px;
}

/* Responsive video embed */
.video {
  margin-top: 10px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0,0,0,.18);
}

.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* Reduced motion: hide animated “primary” emphasis if user requests */
@media (prefers-reduced-motion: reduce) {
  .btn.primary {
    display: none;
  }
}

/* Lightweight YouTube link (no iframe, no preview) */
.video-link {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  text-decoration: none;
}

.video-link:hover {
  background: rgba(255,255,255,.10);
  text-decoration: none;
}

@media (max-width: 768px) {
  .guide-head {
    margin-bottom: 6px;
  }

  .map .card-b {
    padding: 6px;
  }
}

.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;
}

.company-card {
  display: grid;
  grid-template-columns: 10.5ch 1fr auto; /* name | label | chevron (optional) */
  align-items: center;
  column-gap: 16px;
}

.company-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.company-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 420px) {
  .company-card { grid-template-columns: 9ch 1fr auto; }
}

.about-page {
  font-size: 0.9em;
  color: #555;
  margin-top: 2rem;
}

.about-page h2 {
  font-size: 1em;
  font-weight: 600;
  color: #333;
}

