/* CablyCab route & city pages — "route ledger" look.
   Scoped to .cc-seo so the sitewide polish layers cannot flatten it. */

.cc-seo {
  --ccs-navy: #0b2150;
  --ccs-navy-2: #173a7a;
  --ccs-gold: #e5ab12;
  --ccs-gold-soft: #fff5d6;
  --ccs-ink: #0f172a;
  --ccs-body: #3d4759;
  --ccs-muted: #64708a;
  --ccs-line: #e3e8f2;
  --ccs-paper: #f5f7fb;
  background: var(--ccs-paper);
  color: var(--ccs-body);
}

.cc-seo .seo-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* ---------- hero ---------- */
.cc-seo .seo-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ccs-navy);
}

.cc-seo .seo-hero__media,
.cc-seo .seo-hero__media img,
.cc-seo .seo-hero__overlay {
  position: absolute;
  inset: 0;
}

.cc-seo .seo-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-seo .seo-hero__overlay {
  background:
    linear-gradient(100deg, rgba(8, 20, 54, .94) 0%, rgba(8, 20, 54, .72) 46%, rgba(8, 20, 54, .16) 100%),
    linear-gradient(0deg, rgba(8, 20, 54, .55), rgba(8, 20, 54, 0) 45%);
}

.cc-seo .seo-hero__content {
  position: relative;
  z-index: 1;
  padding: 116px 0 84px;
  color: #fff;
}

.cc-seo .seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
}

.cc-seo .seo-breadcrumb a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.cc-seo .seo-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--ccs-navy-2);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cc-seo .seo-hero .seo-kicker {
  color: var(--ccs-gold);
}

.cc-seo .seo-hero .seo-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--ccs-gold);
}

.cc-seo .seo-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
}

.cc-seo .seo-hero__lead {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 1.06rem;
  line-height: 1.72;
  text-shadow: none;
}

.cc-seo .seo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cc-seo .seo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: .96rem;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

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

.cc-seo .seo-btn--primary {
  background: var(--ccs-gold);
  border-color: var(--ccs-gold);
  color: var(--ccs-navy);
  box-shadow: 0 12px 26px rgba(229, 171, 18, .32);
}

.cc-seo .seo-btn--primary:hover {
  background: #f2bb26;
  border-color: #f2bb26;
  color: var(--ccs-navy);
}

.cc-seo .seo-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  box-shadow: none;
}

.cc-seo .seo-btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.cc-seo .seo-btn--light {
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
  box-shadow: none;
}

.cc-seo .seo-btn--light:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

/* ---------- route facts strip ---------- */
.cc-seo .seo-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  margin-top: -44px;
  overflow: hidden;
  border: 1px solid var(--ccs-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 44px rgba(11, 33, 80, .12);
}

.cc-seo .seo-stats article {
  flex: 1 1 0;
  min-width: 200px;
  padding: 20px 26px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cc-seo .seo-stats article + article {
  border-left: 1px solid var(--ccs-line);
}

.cc-seo .seo-stats span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ccs-muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cc-seo .seo-stats span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ccs-gold);
}

.cc-seo .seo-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--ccs-navy);
  font-size: 1.12rem;
  line-height: 1.35;
}

/* ---------- body layout ---------- */
.cc-seo .seo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  padding: 50px 0 76px;
}

.cc-seo .seo-main,
.cc-seo .seo-sidebar {
  display: grid;
  gap: 22px;
  align-content: start;
  min-width: 0;
}

.cc-seo .seo-main {
  counter-reset: ccs-section;
}

.cc-seo .seo-sidebar {
  position: sticky;
  top: 96px;
}

.cc-seo .seo-panel {
  position: relative;
  padding: 34px 30px 30px;
  border: 1px solid var(--ccs-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 33, 80, .05);
  overflow: hidden;
}

.cc-seo .seo-panel::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 54px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--ccs-gold);
}

.cc-seo .seo-main > .seo-panel > .seo-kicker::before {
  counter-increment: ccs-section;
  content: counter(ccs-section, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  background: var(--ccs-navy);
  color: var(--ccs-gold);
  font-size: .7rem;
  letter-spacing: .04em;
}

.cc-seo .seo-panel h2 {
  margin: 0 0 14px;
  color: var(--ccs-navy);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.01em;
}

.cc-seo .seo-panel p {
  margin: 0 0 14px;
  color: var(--ccs-body);
  font-size: 1rem;
  line-height: 1.78;
}

.cc-seo .seo-panel p:last-child {
  margin-bottom: 0;
}

.cc-seo .seo-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cc-seo .seo-chip-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid #d6e0f2;
  border-radius: 999px;
  background: #eef3fb;
  color: var(--ccs-navy);
  font-size: .9rem;
  font-weight: 700;
}

.cc-seo .seo-chip-list span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ccs-gold);
}

.cc-seo .seo-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ccs-body);
}

.cc-seo .seo-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  border-bottom: 1px dashed var(--ccs-line);
  line-height: 1.6;
}

.cc-seo .seo-list li:last-child {
  border-bottom: 0;
}

.cc-seo .seo-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ccs-gold-soft);
  color: #a87a00;
  font-size: .72rem;
  font-weight: 900;
}

.cc-seo .seo-list a {
  color: var(--ccs-navy);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.cc-seo .seo-faq {
  display: grid;
  gap: 10px;
}

.cc-seo .seo-faq details {
  border: 1px solid var(--ccs-line);
  border-radius: 12px;
  background: #fbfcfe;
  padding: 0 18px;
  transition: border-color .18s ease, background-color .18s ease;
}

.cc-seo .seo-faq details[open] {
  border-color: rgba(229, 171, 18, .7);
  background: #fff;
}

.cc-seo .seo-faq summary {
  position: relative;
  padding: 16px 30px 16px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ccs-ink);
  font-weight: 800;
  line-height: 1.4;
}

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

.cc-seo .seo-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ccs-navy);
  color: var(--ccs-gold);
  text-align: center;
  line-height: 24px;
  font-weight: 800;
}

.cc-seo .seo-faq details[open] summary::after {
  content: "\2212";
}

.cc-seo .seo-faq p {
  margin: 0 0 16px;
}

/* ---------- sidebar ---------- */
.cc-seo .seo-cta {
  border: 0 !important;
  background: linear-gradient(160deg, var(--ccs-navy) 0%, #12306f 100%) !important;
  color: #fff !important;
  box-shadow: 0 22px 44px rgba(11, 33, 80, .28) !important;
}

.cc-seo .seo-cta::before {
  width: 100%;
  left: 0;
  border-radius: 0;
  height: 4px;
}

.cc-seo .seo-cta h2 {
  color: #fff !important;
}

.cc-seo .seo-cta p {
  color: rgba(255, 255, 255, .8) !important;
}

.cc-seo .seo-cta .seo-kicker {
  color: var(--ccs-gold) !important;
}

.cc-seo .seo-cta .seo-btn {
  width: 100%;
  margin-top: 10px;
}

.cc-seo .seo-cta .seo-btn--primary {
  background: var(--ccs-gold) !important;
  border-color: var(--ccs-gold) !important;
  color: var(--ccs-navy) !important;
}

.cc-seo .seo-cta .seo-btn--primary:hover {
  background: #f2bb26 !important;
  border-color: #f2bb26 !important;
}

.cc-seo .seo-cta .seo-btn--light {
  background: transparent;
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
}

.cc-seo .seo-link-list {
  display: grid;
  gap: 0;
}

.cc-seo .seo-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ccs-line);
  color: var(--ccs-navy);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: color .18s ease, padding-left .18s ease;
}

.cc-seo .seo-link-list a::after {
  content: "\2192";
  color: var(--ccs-gold);
  font-weight: 800;
}

.cc-seo .seo-link-list a:last-child {
  border-bottom: 0;
}

.cc-seo .seo-link-list a:hover {
  padding-left: 6px;
  color: var(--ccs-navy-2);
}

/* ---------- long-form (premium route pages) ---------- */
.cc-seo .seo-page--premium {
  min-height: 580px;
}

.cc-seo .seo-page--premium .seo-hero__content {
  padding-bottom: 96px;
}

.cc-seo .seo-longform {
  display: grid;
  gap: 8px;
}

.cc-seo .seo-longform__section {
  padding: 14px 0 6px;
  border-top: 1px solid var(--ccs-line);
}

.cc-seo .seo-longform__section:first-of-type {
  border-top: 0;
}

.cc-seo .seo-longform__section h3 {
  margin: 0 0 10px;
  color: var(--ccs-navy);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.35;
}

.cc-seo .seo-observation-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.cc-seo .seo-observation-list p {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--ccs-gold);
  border-radius: 0 10px 10px 0;
  background: var(--ccs-gold-soft);
  color: var(--ccs-ink);
  font-weight: 700;
  line-height: 1.6;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .cc-seo .seo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cc-seo .seo-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .cc-seo .seo-shell {
    width: min(100% - 24px, 1120px);
  }

  .cc-seo .seo-hero {
    min-height: 540px;
  }

  .cc-seo .seo-hero__overlay {
    background: linear-gradient(180deg, rgba(8, 20, 54, .55), rgba(8, 20, 54, .94));
  }

  .cc-seo .seo-hero__content {
    padding: 92px 0 70px;
  }

  .cc-seo .seo-stats {
    display: block;
  }

  .cc-seo .seo-stats article {
    min-width: 0;
    padding: 16px 20px;
  }

  .cc-seo .seo-stats article + article {
    border-left: 0;
    border-top: 1px solid var(--ccs-line);
  }

  .cc-seo .seo-panel {
    padding: 30px 20px 24px;
  }

  .cc-seo .seo-panel::before {
    left: 20px;
  }
}
