/* ════════════════════════════════════════════════════════
   Eagle Express — City Landing Page Styles
   ════════════════════════════════════════════════════════ */

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb span[aria-hidden] { color: rgba(255, 255, 255, 0.25); }

/* ── City Hero ── */
.city-hero-content {
  max-width: 780px;
  padding-bottom: 20px;
}

/* ── City Service Layout ── */
.city-service-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}

.city-service-main h2    { margin-bottom: 10px; }
.city-service-main > p   { margin-bottom: 28px; }

/* ── Use Cases List ── */
.city-use-cases {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin-bottom: 8px;
}

.city-use-cases li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--mid);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.city-use-cases li:last-child,
.city-use-cases li:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}

.city-use-cases li::before {
  content: '✓';
  color: var(--black);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Aside Card ── */
.city-aside-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.city-aside-card h3 {
  color: var(--black);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.city-aside-card > p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.city-aside-card .card-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--mid);
  margin-bottom: 10px;
}

/* ── Related Services ── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--black);
  transition: all 0.2s;
}

.related-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  color: var(--black);
}

.related-card .arrow {
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ── Nav Mega Toggle ── */
.nav-mega-toggle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 4px 10px 6px;
  cursor: pointer;
  font-family: var(--font);
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.6;
}

.nav-mega-toggle:hover,
.nav-mega-toggle.open {
  color: var(--black);
  border-bottom-color: rgba(250, 163, 7, 0.4);
}

.nav-mega-caret {
  font-size: 0.65rem;
  display: inline-block;
  transition: transform 0.2s;
}

.nav-mega-toggle.open .nav-mega-caret { transform: rotate(180deg); }

/* ── Mega Wrapper (positions panel relative to button) ── */
.nav-mega-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* ── Mega Panel ── */
.nav-mega-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 260px;
  max-height: calc(100vh - var(--header-h) - 32px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  display: none;
  overflow-y: auto;
}

.nav-mega-panel.open { display: block; }

/* Job type toggle inside desktop panel */
.mega-job-toggle {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  padding: 13px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s, background 0.2s;
}

.mega-job-toggle:hover,
.mega-job-toggle.open { color: var(--black); background: rgba(250, 163, 7, 0.06); }

.mega-job-caret {
  font-size: 1rem;
  transition: transform 0.22s;
  flex-shrink: 0;
}

.mega-job-toggle.open .mega-job-caret { transform: rotate(90deg); }

/* City links inside desktop panel */
.mega-city-list         { display: none; flex-direction: column; background: var(--light); }
.mega-city-list.open    { display: flex; }

.mega-city-list a {
  font-size: 0.82rem;
  color: var(--mid);
  padding: 8px 16px 8px 28px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  transition: color 0.15s, background 0.15s;
}

.mega-city-list a:last-child { border-bottom: none; }
.mega-city-list a:hover      { color: var(--black); background: rgba(250, 163, 7, 0.1); }
.mega-city-list a.current    { font-weight: 700; color: var(--black); }

/* ── Mobile Service Area ── */
.mobile-service-section { border-bottom: 1px solid var(--border); }

.mobile-service-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--mid);
  padding: 14px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s, background 0.2s;
}

.mobile-service-toggle:hover,
.mobile-service-toggle.open { color: var(--black); background: rgba(250, 163, 7, 0.08); }

.mobile-service-caret {
  font-size: 1.2rem;
  transition: transform 0.25s;
}

.mobile-service-toggle.open .mobile-service-caret { transform: rotate(45deg); }

.mobile-job-links         { display: none; flex-direction: column; }
.mobile-job-links.open    { display: flex; }

/* Level 2 — job type toggle */
.mobile-job-type-toggle {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mid);
  padding: 12px 24px 12px 36px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s, background 0.2s;
}

.mobile-job-type-toggle:hover,
.mobile-job-type-toggle.open { color: var(--black); background: rgba(250, 163, 7, 0.06); }

.mobile-job-type-caret {
  font-size: 1rem;
  transition: transform 0.22s;
}

.mobile-job-type-toggle.open .mobile-job-type-caret { transform: rotate(90deg); }

/* Level 3 — city links */
.mobile-city-links         { display: none; flex-direction: column; background: var(--light); }
.mobile-city-links.open    { display: flex; }

.mobile-city-links a {
  font-size: 0.85rem;
  color: var(--mid);
  padding: 10px 24px 10px 52px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
  transition: color 0.2s, background 0.2s;
}

.mobile-city-links a:last-child { border-bottom: none; }
.mobile-city-links a:hover      { color: var(--black); background: rgba(250, 163, 7, 0.08); }
.mobile-city-links a.current    { color: var(--black); font-weight: 700; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .city-service-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .city-aside-card { position: static; }

  .city-use-cases  { grid-template-columns: 1fr; }

  .city-use-cases li:nth-last-child(2):nth-child(odd) {
    border-bottom: 1px solid var(--border);
  }

  .city-use-cases li:last-child { border-bottom: none; }

  .related-grid { grid-template-columns: 1fr; }
}
