/* ═══════════════════════════════════════════════════════════════
   NO-AHEAD.COM — Design System
   Styled after go-ahead.com: navy #0f1f45, pink #ee577d, Nunito Sans
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --navy:        #0f1f45;
  --navy-dark:   #090f22;
  --navy-mid:    #1a3470;
  --pink:        #ee577d;
  --pink-dark:   #d44166;
  --white:       #ffffff;
  --grey-100:    #f5f6f8;
  --grey-200:    #e8eaed;
  --grey-400:    #9ba3b2;
  --grey-600:    #5a6478;

  --status-noahead:      #c0392b;
  --status-noahead-bg:   #fdf0ef;
  --status-severe:       #e67e22;
  --status-severe-bg:    #fef6ed;
  --status-late:         #d4ac0d;
  --status-late-bg:      #fefce8;
  --status-ontime:       #27ae60;
  --status-ontime-bg:    #edf9f0;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-pill: 9999px;

  --shadow-sm:   0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.16);

  --transition:  0.2s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}
.btn-primary:hover { background: var(--pink-dark); border-color: var(--pink-dark); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  font-size: 0.85rem;
  padding: 8px 18px;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ── Typography Utilities ───────────────────────────────────── */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}

/* ══════════════════════════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
  max-width: 1240px;
  margin: 0 auto;
  height: 64px;
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-size: 1.5rem;
  font-weight: 900;
  flex-shrink: 0;
}
.logo-no { color: var(--pink); }
.logo-ahead { color: var(--white); }
.logo-dot { display: none; }
.logo-tld {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--grey-400);
  margin-left: 1px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-social {
  color: var(--pink) !important;
  border: 1px solid rgba(238,87,125,0.4);
  margin-left: 8px;
}
.nav-social:hover { background: rgba(238,87,125,0.15) !important; }

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Header banner */
.header-banner {
  background: var(--pink);
  color: var(--white);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.banner-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 45%, #1a2d5a 100%);
  color: var(--white);
  padding: 80px 24px 0;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(238,87,125,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26,52,112,0.6) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(238,87,125,0.2);
  border: 1px solid rgba(238,87,125,0.4);
  color: var(--pink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero-heading {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-heading em {
  font-style: italic;
  color: var(--pink);
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stat cards row */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.stat-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  padding: 28px 20px;
  text-align: center;
  transition: background var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,0.09); }

.stat-card--alert { background: rgba(192,57,43,0.15); }
.stat-card--alert:hover { background: rgba(192,57,43,0.22); }
.stat-card--rare { background: rgba(39,174,96,0.1); }

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat-number .stat-unit {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.7;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════════════════════════════════
   TICKER
   ══════════════════════════════════════════════════════════════ */
.ticker-wrapper {
  background: var(--navy-dark);
  border-bottom: 2px solid var(--pink);
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
}

.ticker-label {
  background: var(--pink);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 600;
}
.ticker-content:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

.ticker-item {
  padding: 0 40px 0 0;
}
.ticker-item::after {
  content: ' ·';
  color: var(--pink);
  margin-left: 10px;
  font-weight: 900;
}

/* ══════════════════════════════════════════════════════════════
   STATUS SECTION
   ══════════════════════════════════════════════════════════════ */
.status-section {
  padding: 64px 0;
  background: var(--grey-100);
  min-height: 60vh;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section-header-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.section-header-text p {
  color: var(--grey-600);
  font-size: 0.9rem;
}

.refresh-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.refresh-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--grey-600);
  font-weight: 600;
}

.refresh-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-ontime);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
.refresh-dot.refreshing { background: var(--pink); }

/* ── Filters ────────────────────────────────────────────────── */
.filters {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 4px;
  background: var(--grey-100);
  padding: 4px;
  border-radius: var(--radius-md);
}

.filter-tab {
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grey-600);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.filter-tab:hover { color: var(--navy); }
.filter-tab.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.filter-controls {
  display: flex;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
}
.filter-select:focus { border-color: var(--navy); }

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 10px;
  font-size: 0.85rem;
  pointer-events: none;
}
.filter-search {
  padding: 8px 12px 8px 34px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--navy);
  width: 220px;
  outline: none;
  transition: border-color var(--transition), width var(--transition);
}
.filter-search:focus { border-color: var(--navy); width: 260px; }
.filter-search::placeholder { color: var(--grey-400); }

/* Results summary */
.results-summary {
  font-size: 0.82rem;
  color: var(--grey-600);
  margin-bottom: 12px;
  padding: 0 4px;
}

/* ── Service Board ──────────────────────────────────────────── */
.service-board {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.board-loading {
  text-align: center;
  padding: 60px 24px;
  color: var(--grey-600);
}
.board-loading p { margin-top: 16px; font-size: 0.9rem; }

.board-empty {
  text-align: center;
  padding: 60px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  color: var(--grey-600);
}
.board-empty .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.board-empty h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--navy); }

/* Loading spinner */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--grey-200);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Service Card ───────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 64px 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid transparent;
  transition: box-shadow var(--transition), transform var(--transition);
  animation: card-in 0.3s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateX(2px); }

@keyframes card-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Border colour by status */
.service-card[data-status="noahead"]  { border-left-color: var(--status-noahead); }
.service-card[data-status="severe"]   { border-left-color: var(--status-severe); }
.service-card[data-status="late"]     { border-left-color: var(--status-late); }
.service-card[data-status="ontime"]   { border-left-color: var(--status-ontime); }

/* Route badge */
.service-route {
  text-align: center;
}
.route-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 6px 8px;
  border-radius: var(--radius-md);
  min-width: 52px;
  line-height: 1;
}
.route-badge .route-icon { font-size: 0.85rem; }

/* Service info */
.service-info {
  min-width: 0;
}
.service-route-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.service-operator {
  font-size: 0.75rem;
  color: var(--grey-400);
  font-weight: 600;
}

/* Times */
.service-times {
  text-align: center;
  min-width: 100px;
}
.time-scheduled {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.time-actual {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--grey-400);
  margin-top: 2px;
}
.time-actual.time-delayed { color: var(--status-severe); }
.time-actual.time-cancelled { color: var(--status-noahead); text-decoration: line-through; }

/* Delay chip */
.service-delay {
  text-align: center;
  min-width: 70px;
}
.delay-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.delay-badge--noahead  { background: var(--status-noahead-bg); color: var(--status-noahead); }
.delay-badge--severe   { background: var(--status-severe-bg); color: var(--status-severe); }
.delay-badge--late     { background: var(--status-late-bg); color: #8a6d00; }
.delay-badge--ontime   { background: var(--status-ontime-bg); color: var(--status-ontime); }

/* Status badge */
.service-status {
  min-width: 130px;
  text-align: right;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.status-badge--noahead {
  background: var(--status-noahead);
  color: var(--white);
}
.status-badge--severe {
  background: var(--status-severe);
  color: var(--white);
}
.status-badge--late {
  background: var(--status-late);
  color: var(--white);
}
.status-badge--ontime {
  background: var(--status-ontime);
  color: var(--white);
}

/* Reason tooltip row */
.service-reason {
  grid-column: 2 / -1;
  font-size: 0.78rem;
  color: var(--grey-600);
  font-style: italic;
  padding-top: 4px;
  border-top: 1px solid var(--grey-100);
  margin-top: 2px;
}
.service-reason::before { content: '📋 '; }

/* ══════════════════════════════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════════════════════════════ */
.about-section {
  padding: 80px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-text p {
  color: var(--grey-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-text .btn { margin-top: 8px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-icon { font-size: 1.8rem; margin-bottom: 10px; }
.feature-card h3 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 0.8rem;
  color: var(--grey-600);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   OPERATORS SECTION
   ══════════════════════════════════════════════════════════════ */
.operators-section {
  padding: 80px 0;
  background: var(--grey-100);
}

.operators-section h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.operators-sub {
  text-align: center;
  color: var(--grey-600);
  margin-bottom: 40px;
  font-size: 0.9rem;
}

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

.operator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.operator-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.operator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.operator-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}
.operator-type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--grey-100);
  color: var(--grey-600);
}

.operator-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.op-stat {
  text-align: center;
}
.op-stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.op-stat-label {
  font-size: 0.65rem;
  color: var(--grey-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Reliability bar */
.reliability-bar-wrap {
  margin-top: 4px;
}
.reliability-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--grey-600);
  margin-bottom: 4px;
}
.reliability-bar {
  height: 6px;
  background: var(--grey-200);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.reliability-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--status-noahead), var(--status-severe));
  transition: width 1s ease;
}
.reliability-fill.good { background: linear-gradient(90deg, var(--status-late), var(--status-ontime)); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

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

.footer-logo {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 16px;
}
.footer-logo .logo-tld { color: var(--grey-400); font-size: 0.8rem; }

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--pink); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  max-width: 600px;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}
.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .operators-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-card {
    grid-template-columns: 56px 1fr auto;
    grid-template-rows: auto auto;
  }
  .service-times { display: none; }
  .service-status { min-width: unset; }
  .service-delay { min-width: unset; }
  .service-reason { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero { padding: 48px 20px 0; }
  .hero-content { padding-bottom: 40px; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 2rem; }

  .filters {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .filter-controls { margin-left: 0; }
  .filter-search { width: 100%; }
  .filter-search:focus { width: 100%; }

  .service-card {
    grid-template-columns: 56px 1fr;
    gap: 10px;
  }
  .service-delay { display: none; }
  .service-status { grid-column: 2; justify-self: start; }

  .about-features { grid-template-columns: 1fr; }
  .operators-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom-links { flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section-header { flex-direction: column; }
  .refresh-controls { width: 100%; }
}
