/* ==========================================================================
   WilCo Guide — Design System
   Static CSS for vertical guide subpages
   Fonts: DM Sans (body) + Fraunces (headings)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --bg: #f7f8fa;
  --white: #ffffff;
  --border: #e8e8ef;
  --text-primary: #1a1a2e;
  --text-secondary: #5a5a7a;
  --text-muted: #8e8ea0;
  --blue: #3589ff;
  --blue-dark: #2a6ecc;
  --dark: #1a1a2e;
  --orange: #eb7b1c;
  --green: #10b981;
  --purple: #8b5cf6;
  --red: #ef4444;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --max-width: 1120px;
  --radius-sm: 8px;
  --radius-md: 12px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.2;
}

h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .content-layout {
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  height: 56px;
  display: flex;
  align-items: center;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.site-nav__logo-mark {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

.site-nav__links {
  display: none;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.site-nav__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav__links a:hover {
  color: var(--text-primary);
}

.site-nav__subscribe {
  display: none;
  padding: 8px 18px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.site-nav__subscribe:hover {
  background: var(--blue-dark);
  color: var(--white);
}

/* Hamburger */
.site-nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.site-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.site-nav__mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 99;
  padding: 24px 20px;
  flex-direction: column;
  gap: 8px;
}

.site-nav__mobile-menu.is-open {
  display: flex;
}

.site-nav__mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.site-nav__mobile-menu .site-nav__subscribe {
  display: inline-block;
  text-align: center;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .site-nav__links { display: flex; }
  .site-nav__subscribe { display: inline-block; }
  .site-nav__hamburger { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.breadcrumbs span {
  margin: 0 6px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(53, 137, 255, 0.08);
  transform: translateY(-2px);
}

.card--static {
  transition: none;
}

.card--static:hover {
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- Lead Capture Form ---------- */
.lead-form {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.lead-form h3 {
  margin-bottom: 8px;
}

.lead-form p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 12px;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(53, 137, 255, 0.12);
}

.lead-form textarea {
  resize: vertical;
  min-height: 80px;
}

.lead-form button,
.btn-primary {
  width: 100%;
  padding: 14px 24px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.lead-form button:hover,
.btn-primary:hover {
  background: var(--blue-dark);
}

/* Sidebar mini lead form */
.sidebar-form input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 10px;
}

.sidebar-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(53, 137, 255, 0.12);
}

.sidebar-form button {
  width: 100%;
  padding: 12px 20px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.sidebar-form button:hover {
  background: var(--blue-dark);
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  border-bottom: 1.5px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item .faq-answer {
  padding: 0 0 18px 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- Cost Table ---------- */
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cost-table th {
  text-align: left;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cost-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.cost-table tr:last-child td {
  border-bottom: none;
}

.cost-table tr:hover td {
  background: var(--bg);
}

/* ---------- How It Works Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.step-content h4 {
  margin-bottom: 4px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- City Grid ---------- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.city-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  font-weight: 500;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
  overflow: hidden;
}

.city-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(53, 137, 255, 0.08);
  transform: translateY(-2px);
  color: var(--blue);
}

/* Visual city cards with image and accent */
.city-card--visual {
  padding: 0;
  text-align: left;
}

.city-card--visual img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.city-card__body {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.city-card__body span {
  font-weight: 600;
  font-size: 0.95rem;
}

.city-card__body .city-card__arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.2s, transform 0.2s;
}

.city-card--visual:hover .city-card__arrow {
  color: var(--blue);
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .city-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Related Cities Grid ---------- */
.related-cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-city-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: block;
}

.related-city-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(53, 137, 255, 0.08);
  transform: translateY(-2px);
  color: var(--blue);
}

.related-city-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.related-city-card__body {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.related-city-card__body span {
  font-weight: 600;
  font-size: 1rem;
}

.related-city-card__body .related-city-card__arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: color 0.2s, transform 0.2s;
}

.related-city-card:hover .related-city-card__arrow {
  color: var(--blue);
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .related-cities {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge--green { background: #ecfdf5; color: #059669; }
.badge--orange { background: #fff7ed; color: var(--orange); }
.badge--blue { background: #eff6ff; color: var(--blue); }
.badge--purple { background: #f5f3ff; color: var(--purple); }
.badge--red { background: #fef2f2; color: var(--red); }

/* ---------- Sidebar ---------- */
.sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.sidebar-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-card:last-child {
  margin-bottom: 0;
}

.sidebar-card h4 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.sidebar-card p {
  margin-bottom: 8px;
}

.sidebar-card p:last-child {
  margin-bottom: 0;
}

/* Sidebar link list */
.sidebar-links {
  list-style: none;
  padding: 0;
}

.sidebar-links li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-links li:last-child {
  border-bottom: none;
}

/* Sidebar trust bullets */
.sidebar-trust {
  list-style: none;
  padding: 0;
}

.sidebar-trust li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sidebar-trust li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* Newsletter signup in sidebar */
.newsletter-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.newsletter-card input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg);
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-card input[type="email"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(53, 137, 255, 0.12);
}

.newsletter-card button {
  width: 100%;
  padding: 10px 16px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-card button:hover {
  background: #d06a15;
}

/* ---------- Images ---------- */
.hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.section-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  padding: 16px 0;
}

.trust-bar__inner,
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.trust-bar__dot,
.trust-dot {
  color: var(--blue);
  font-size: 0.6rem;
}

/* ---------- Guides Grid ---------- */
.guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.guide-card {
  text-decoration: none;
  color: inherit;
}

.guide-card:hover {
  color: inherit;
}

@media (max-width: 480px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.back-to-top a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.back-to-top a:hover {
  color: var(--blue);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1.5px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text-primary);
}

.site-footer span {
  margin: 0 8px;
}

/* ---------- Page Hero ---------- */
.page-hero {
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  padding: 48px 0 40px;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 640px;
}

/* ---------- Section Spacing ---------- */
.section {
  padding: 48px 0;
}

/* ---------- Content Typography ---------- */
.section-intro {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.section-heading {
  margin-bottom: 20px;
}

.body-text {
  line-height: 1.8;
  margin-bottom: 16px;
}

.body-text--large {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.content-list {
  padding-left: 24px;
  line-height: 2;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

.content-list li {
  margin-bottom: 4px;
}

/* ---------- Utility ---------- */
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-blue { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.font-display { font-family: var(--font-display); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.overflow-x-auto { overflow-x: auto; }
.block-center { display: block; text-align: center; text-decoration: none; }
.cost-highlight {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.sidebar-cost-line {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.sidebar-cost-line:last-child { margin-bottom: 0; }
.sidebar-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* ---------- Universal Button System ---------- */
.btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
  line-height: 1.5;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: #d06a15;
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--text-primary);
}

.btn-white:hover {
  background: #f0f0f5;
  color: var(--text-primary);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 13px;
}

/* ---------- Secondary Nav ---------- */
.sub-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: 44px;
  display: flex;
  align-items: center;
  z-index: 90;
}

.sub-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.sub-nav-cta {
  flex-shrink: 0;
}

.sub-nav-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sub-nav-spacer {
  width: 140px;
  flex-shrink: 0;
}

.sub-nav-link {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sub-nav-link:hover {
  background: var(--bg);
  color: var(--text-primary);
}

.sub-nav-link.active {
  font-weight: 600;
  color: var(--text-primary);
}

.sub-nav-arrow {
  font-size: 10px;
  margin-left: 2px;
}

.sub-nav-dropdown {
  position: relative;
}

.sub-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 0;
  min-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 200;
}

.sub-nav-dropdown:hover .sub-nav-dropdown-menu {
  display: block;
}

.sub-nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.sub-nav-dropdown-menu a:hover {
  background: var(--bg);
  color: var(--text-primary);
}

/* ---------- City Hero (Subpages) ---------- */
.city-hero {
  background: var(--dark);
  color: white;
  padding: 32px 0;
}

.city-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.city-hero h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--white);
}

.city-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
  max-width: 560px;
}

.city-hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.city-hero-stat {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.city-hero-cta {
  flex-shrink: 0;
  padding: 14px 28px !important;
  font-size: 15px !important;
  white-space: nowrap;
}

/* ---------- Hero (Hub Page) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=1400&q=80');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(19,19,42,0.92) 0%, rgba(26,26,46,0.88) 40%, rgba(26,26,46,0.8) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* Hero Form */
.hero-form-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.hero-form h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.hero-form input,
.hero-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 12px;
}

.hero-form input:focus,
.hero-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(53, 137, 255, 0.12);
}

.hero-form textarea {
  resize: vertical;
  min-height: 70px;
}

.hero-form .btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-trust {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 0;
}

/* ---------- Section Labels ---------- */
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 8px;
}

.section-label--light {
  color: rgba(255,255,255,0.6);
}

/* ---------- Steps Grid (Hub Page) ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
}

.step-circle {
  width: 56px;
  height: 56px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 16px;
}

.step-card h4 {
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- Photo Break ---------- */
.photo-break {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-break-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 40px 0 20px;
  font-size: 0.9rem;
}

/* ---------- Split Section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-img img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.split-text .section-label {
  margin-bottom: 8px;
}

/* ---------- Dark Section ---------- */
.section--dark {
  background: var(--dark, #1a1a2e);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark .section-intro {
  color: rgba(255,255,255,0.7);
}

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

.problem-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.problem-card-img {
  height: 160px;
  overflow: hidden;
}

.problem-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.problem-card-body {
  padding: 20px;
}

.problem-card-body h4 {
  margin-bottom: 8px;
}

.problem-card-body p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---------- Guide Icon ---------- */
.guide-icon {
  margin-bottom: 12px;
}

/* ---------- Bottom CTA ---------- */
.bottom-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 64px 0;
  text-align: center;
}

.bottom-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.bottom-cta h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.bottom-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.bottom-cta .btn {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 2rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .problem-grid { grid-template-columns: 1fr; gap: 16px; }
  .sub-nav-spacer { display: none; }
  .sub-nav-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .page-hero { padding: 32px 0 28px; }
  .section { padding: 32px 0; }
  .lead-form { padding: 24px; }
  .steps { gap: 20px; }
  .sidebar {
    position: static;
  }
  .hero-img {
    max-height: 280px;
  }
  .city-card--visual img {
    height: 100px;
  }
  .related-city-card img {
    height: 110px;
  }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-break { height: 240px; }
  .bottom-cta { padding: 48px 0; }
  .city-hero-inner { flex-direction: column; align-items: flex-start; }
  .city-hero h1 { font-size: 26px; }
  .city-hero-cta { width: 100%; text-align: center; }
}

@media (max-width: 600px) {
  .hero { padding: 32px 0; }
  .hero h1 { font-size: 1.6rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-form-wrap { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .sub-nav-center { justify-content: flex-start; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  .container { padding: 0 16px; }
  .card { padding: 20px; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .related-cities { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .cost-table th, .cost-table td { padding: 10px 12px; font-size: 0.85rem; }
  .hero-img { max-height: 200px; }
  .photo-break { height: 180px; }
}
