/* ============================================================
   FenceCompaniesOhio.com — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Barlow+Condensed:wght@400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

/* === CSS Variables === */
:root {
  --bg: #FFFFFF;
  --navy: #231F20;
  --navy-dark: #1A1717;
  --navy-mid: #2D2828;
  --orange: #B8845E;
  --orange-hover: #C9A875;
  --orange-light: #F5EFE7;
  --maroon: #811918;
  --maroon-hover: #6A1414;

  /* New Warm Palette - Adopted Site-Wide */
  --cedar: #B8845E;
  --amber-gold: #D4A574;
  --espresso: #2C2520;
  --soft-cream: #F9F7F4;
  --muted-gold: #C9A875;
  --warm-overlay: rgba(44, 37, 32, 0.7);

  --text: #252525;
  --text-muted: #6b7280;
  --light-bg: #F5F5F4;
  --border: #E0DEDD;
  --footer-bg: #231F20;
  --footer-text: #FFFFFF;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(35,31,32,0.07), 0 1px 2px rgba(35,31,32,0.05);
  --shadow: 0 4px 12px rgba(35,31,32,0.09), 0 1px 3px rgba(35,31,32,0.06);
  --shadow-hover: 0 10px 30px rgba(35,31,32,0.15), 0 2px 8px rgba(35,31,32,0.08);
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --max-w: 1200px;
  --nav-h: 68px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-hover); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--navy); }
h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.35rem, 3vw, 1.5rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 2vw, 1.25rem); font-weight: 600; line-height: 1.4; }
h4 { font-size: 1rem; font-weight: 600; line-height: 1.5; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* === Layout === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 40px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 88px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 auto 40px;
  max-width: 560px;
}
.section-header { margin-bottom: 20px; text-align: center; }
.section-header .section-title { margin-bottom: 6px; }
.bg-light { background: var(--light-bg); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.btn:active { transform: translateY(1px); }

.btn-orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-orange:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232,119,34,0.35);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

.btn-outline-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: transparent;
  color: var(--navy);
}

.btn-sm { padding: 7px 16px; font-size: 0.875rem; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* === Navigation === */
.site-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-label);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.88; color: #fff; }
.nav-logo span { color: var(--orange); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}
.nav-menu li a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-menu li a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-cta { margin-left: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ============================================
   HERO SECTION - Editorial Premium Design
   ============================================ */

.hero-new {
  position: relative;
  width: 100%;
  min-height: 55vh;
  display: flex;
  align-items: center;
  background: var(--espresso) url('/assets/hero2.webp') center center / cover no-repeat;
  overflow: hidden;
}

/* Espresso Gradient Overlay - Left Side for Text Readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg,
    var(--warm-overlay) 0%,
    rgba(44, 37, 32, 0.85) 35%,
    rgba(44, 37, 32, 0.4) 60%,
    transparent 100%
  );
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 40px 40px;
  width: 100%;
}

/* Top Bar */
.hero-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--soft-cream);
  text-transform: uppercase;
}

.hero-quote-btn {
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  color: var(--soft-cream);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-quote-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Main Grid Layout */
.hero-main-grid {
  display: block;
  max-width: 800px;
}

/* Left Column - Primary Content */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Editorial Serif Headline */
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6.5rem;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--soft-cream);
  margin: 0;
  display: flex;
  flex-direction: column;
}

.hero-headline-line {
  display: block;
}

.hero-headline-accent {
  font-style: italic;
  color: var(--muted-gold);
}

.hero-tagline {
  font-size: 1.25rem;
  color: rgba(249, 247, 244, 0.85);
  font-weight: 400;
  margin: 0;
}

/* Glassmorphism Search Panel */
.hero-search-panel {
  background: transparent;
  padding: 0;
}

.search-row {
  display: flex;
  gap: 12px;
}

.hero-search-input {
  width: 240px !important;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--espresso);
  font-family: var(--font-body);
}

.hero-search-input::placeholder {
  color: rgba(44, 37, 32, 0.5);
}

.hero-search-btn {
  padding: 14px 32px;
  background: var(--orange);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-search-btn:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184, 132, 94, 0.4);
}

/* Section Labels and Chips */
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-section-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(249, 247, 244, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.city-chip {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  color: var(--soft-cream);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.city-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-fence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fence-tag {
  padding: 8px 16px;
  background: rgba(212, 165, 116, 0.2);
  border: 1px solid rgba(212, 165, 116, 0.3);
  border-radius: 20px;
  color: var(--amber-gold);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Right Column - Supporting Content */
.hero-right {
  display: none;
}

/* Ohio Badge */
.ohio-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(212, 165, 116, 0.4);
  border-radius: 50px;
  width: fit-content;
}

.ohio-badge-state {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-gold);
  border-radius: 50%;
  color: var(--espresso);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.ohio-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--soft-cream);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}

/* Stats and Trust Panel */
.hero-stats,
.hero-trust-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: rgba(249, 247, 244, 0.8);
  font-size: 0.9375rem;
  font-weight: 500;
}

.stat-separator {
  color: rgba(249, 247, 244, 0.4);
}

.hero-trust-panel {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1024px) {
  .hero-main-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-right {
    padding-top: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hero-headline {
    font-size: 3.5rem;
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
  .hero-content-wrapper {
    padding: 30px 24px 60px;
  }

  .hero-headline {
    font-size: 3rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 4px 16px rgba(0, 0, 0, 0.7);
  }

  .hero-tagline {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 4px 16px rgba(0, 0, 0, 0.7);
  }

  .search-row {
    flex-direction: column;
  }

  .hero-search-input {
    width: 45%;
  }

  .hero-search-btn {
    width: 50%;
  }

  .hero-right {
    flex-direction: column;
  }

  .ohio-badge {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-top-bar {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-city-chips {
    justify-content: center;
  }

  .hero-stats,
  .hero-trust-panel {
    justify-content: center;
    text-align: center;
  }
}

/* === Stats Bar === */
.stats-bar {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-gap: 0;
}
.stat-item {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-label);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  margin-top: 4px;
  display: block;
  font-family: var(--font-body);
}
.stat-item-link {
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}
.stat-item-link:hover {
  background: rgba(201, 168, 117, 0.08);
  transform: translateY(-2px);
}
.stat-item-link:hover .stat-number {
  color: var(--amber-gold);
}
.stat-item-link:active {
  transform: translateY(0);
}

/* === Tool Cards === */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.tool-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Colored top borders */
.tool-card-calculator {
  border-top: 4px solid var(--amber-gold);
}

.tool-card-permit {
  border-top: 4px solid var(--cedar);
}

/* Hover state */
.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--orange);
}

/* Icon styling */
.tool-icon-wrapper {
  margin-bottom: 16px;
}

.tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 2rem;
  border-radius: 50%;
  background: var(--orange-light);
}

.tool-card-calculator .tool-icon {
  background: linear-gradient(135deg, var(--orange-light) 0%, rgba(212, 165, 116, 0.2) 100%);
}

.tool-card-permit .tool-icon {
  background: linear-gradient(135deg, var(--orange-light) 0%, rgba(184, 132, 94, 0.2) 100%);
}

.tool-title {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 700;
}

.tool-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Tool-specific button */
.btn-tool {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 14px 24px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .tool-card {
    padding: 32px 24px;
  }

  .tool-icon {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }
}

/* === Cards === */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.card-body { padding: 24px; }

/* Region Cards */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.region-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 18px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.region-card:hover {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange);
  box-shadow: 0 4px 14px rgba(232,119,34,0.12);
  transform: translateY(-2px);
}
.bg-navy .region-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.bg-navy .region-card:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(96,135,135,0.35);
}
.bg-navy .region-count { color: rgba(255,255,255,0.5); }
.bg-navy .region-card:hover .region-count { color: rgba(255,255,255,0.85); }
.bg-navy .section-subtitle { color: rgba(255,255,255,0.85); }
.region-card-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* City List */
.city-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.city-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.city-tag:hover {
  border-left-color: var(--orange-hover);
  background: var(--orange-light);
  color: var(--orange);
  box-shadow: 0 8px 24px rgba(96, 135, 135, 0.2);
  transform: translateY(-4px) scale(1.02);
}
.region-count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.region-card:hover .region-count { color: var(--orange); }
.city-count {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1;
}
.city-tag:hover .city-count { color: var(--orange-hover); }

/* Service Cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.service-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
  display: block;
}
.service-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(232,119,34,0.12);
  transform: translateY(-3px);
  color: var(--text);
}
.service-card-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* === Company Listing Card === */
.listing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.listing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.listing-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 50px;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-region { background: #e8eef7; color: var(--navy); }
.badge-orange { background: var(--orange-light); color: var(--orange); }
.stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.stars-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 4px;
}
.listing-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.6;
}
.listing-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.listing-details span::before { margin-right: 4px; }
.listing-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 6px;
}
.listing-card.has-thumb {
  grid-template-columns: 1fr auto auto;
  align-items: center;
}
.listing-thumb {
  width: 130px;
  height: 86px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
  align-self: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}
.listing-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(27,42,74,0.18);
}
.listing-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.listing-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  justify-content: flex-start;
}
.listing-actions .btn {
  text-align: center;
  justify-content: center;
}
.listing-phone {
  font-family: var(--font-label);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
}
.listing-phone:hover { color: var(--orange); }
.listings-grid { display: flex; flex-direction: column; gap: 16px; }

/* === Intro Content === */
.intro-content {
  max-width: 900px;
  margin: 0 auto;
}
.intro-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.2;
  text-align: center;
}
.intro-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
  text-align: left;
}
.intro-content p:last-child {
  margin-bottom: 0;
}

/* === Why Use / Feature Grid === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .feature-grid {
    display: none;
  }
}
.feature-item {
  text-align: left;
  padding: 32px 28px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.feature-num {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}
.feature-num svg {
  display: block;
}
.feature-item h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === Featured Cities Strip === */
.cities-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.city-card {
  position: relative;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(35,31,32,0.25);
}
.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(35,31,32,0.85) 0%, rgba(35,31,32,0.3) 60%, rgba(35,31,32,0.1) 100%);
  transition: background 0.3s ease;
}
.city-card:hover .city-card-overlay {
  background: linear-gradient(to top, rgba(35,31,32,0.9) 0%, rgba(35,31,32,0.45) 60%, rgba(35,31,32,0.2) 100%);
}
.city-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px;
}
.city-card-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.city-card-count {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
}
@media (max-width: 768px) {
  .cities-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cities-strip { grid-template-columns: 1fr; }
  .city-card { height: 180px; }
}

/* === How It Works Steps === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  position: relative;
}
.step-item {
  text-align: center;
  padding: 32px 24px;
}
.step-number {
  width: 56px;
  height: 56px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 16px;
}
.step-item h3 { color: var(--navy); margin-bottom: 8px; }
.step-item p { color: var(--text-muted); font-size: 0.95rem; }

/* === FAQ Accordion === */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--light-bg); }
.faq-question:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.faq-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--orange);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* === Quote Form Section === */
.quote-section {
  background: var(--navy);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 60px);
  background-size: 60px 60px;
}
.quote-inner { position: relative; z-index: 1; }
.quote-header { text-align: center; margin-bottom: 40px; }
.quote-header h2 { color: #fff; margin-bottom: 8px; }
.quote-header p { color: rgba(255,255,255,0.75); }
.quote-form {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,0.14);
}
.form-group select option { background: var(--navy); color: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; }

/* Light Form (for contact page etc.) */
.form-light .form-group label { color: var(--text); }
.form-light .form-group input,
.form-light .form-group select,
.form-light .form-group textarea {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.form-light .form-group input::placeholder,
.form-light .form-group textarea::placeholder { color: #aaa; }
.form-light .form-group input:focus,
.form-light .form-group select:focus,
.form-light .form-group textarea:focus {
  border-color: var(--orange);
  background: #fff;
}
.form-light .form-group select option { background: #fff; color: var(--text); }

/* === Footer === */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  grid-column: span 1;
}
.footer-logo {
  font-family: var(--font-label);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--orange); }
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 0;
}
.footer-col h4 {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 7px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}
.footer-bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--orange); }

/* === Page Header (for inner pages) === */
.page-header {
  background: var(--navy);
  padding: 48px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 60px);
  background-size: 60px 60px;
}
.page-header-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.page-header h1 { color: #fff; margin-bottom: 8px; }
.page-header p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0; }

/* === Profile Hero Header === */
.profile-hero-header {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: var(--navy);
  margin: 0;
  padding: 0;
}

.hero-header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(35,31,32,0.85) 0%, rgba(35,31,32,0.4) 40%, rgba(35,31,32,0.1) 70%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #fff;
}

.hero-content .breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.hero-content .breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-content .breadcrumb a:hover {
  color: var(--orange);
}

.hero-content .breadcrumb span {
  color: rgba(255,255,255,0.4);
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Hide the old page-header on profile pages */
.profile-hero-header + .page-header {
  display: none;
}

@media (max-width: 768px) {
  .profile-hero-header {
    height: 300px;
  }

  .hero-content {
    top: auto;
    transform: none;
    bottom: 100px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }
}

/* === Two Column Layout === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.sidebar-card {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.sidebar-card ul { display: flex; flex-direction: column; gap: 6px; }
.sidebar-card ul li a {
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.sidebar-card ul li a:hover { color: var(--orange); }

/* === Cost Box === */
.cost-box {
  background: var(--orange-light);
  border: 2px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
}
.cost-box h3 { color: var(--orange); margin-bottom: 8px; font-family: var(--font-body); font-size: 1rem; }
.cost-range {
  font-family: var(--font-label);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

/* === Blog Cards === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: var(--orange);
  color: var(--text);
}
.blog-card-img {
  height: 180px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.blog-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.32) 100%);
  opacity: 1;
}
.blog-card-img span { position: relative; z-index: 1; }
.blog-card-body { padding: 28px; }
.blog-tag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}
.blog-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* === Glossary === */
.glossary-letter {
  font-family: var(--font-label);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
  padding: 16px 0 8px;
  border-bottom: 2px solid var(--orange);
  margin-bottom: 16px;
  margin-top: 32px;
}
.glossary-term { margin-bottom: 20px; }
.glossary-term dt {
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 4px;
}
.glossary-term dd {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-left: 0;
}

/* === Calculator === */
.calc-container {
  max-width: 720px;
  margin: 0 auto;
}
.calc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.calc-field { margin-bottom: 24px; }
.calc-field label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.calc-field select,
.calc-field input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--light-bg);
  transition: border-color 0.2s;
  outline: none;
}
.calc-field select:focus,
.calc-field input[type="number"]:focus { border-color: var(--orange); }
.slider-wrap { display: flex; align-items: center; gap: 14px; }
.calc-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(232,119,34,0.3);
}
.slider-value {
  font-family: var(--font-label);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  min-width: 70px;
  text-align: right;
}
.calc-result {
  margin-top: 24px;
  display: none;
}
.calc-result.visible { display: block; }
.result-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 16px;
}
.result-range {
  font-family: var(--font-label);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.result-label { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.result-breakdown {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-row .label { color: var(--text-muted); }
.breakdown-row .value { font-weight: 700; color: var(--navy); }

/* === Filter Buttons === */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* === Related Cities === */
.related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* === Prose Content === */
.prose h2 { margin: 32px 0 12px; }
.prose h3 { margin: 24px 0 8px; }
.prose p { margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.prose ul li { margin-bottom: 6px; font-size: 0.95rem; color: var(--text-muted); }
.prose strong { color: var(--text); }

/* === Divider === */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* === Responsive === */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 640px) {
  .nav-menu { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--navy-dark); padding: 16px 24px 24px; gap: 4px; border-top: 1px solid rgba(255,255,255,0.1); }
  .nav-menu.open { display: flex; }
  .nav-menu li a { display: block; padding: 10px 0; font-size: 1rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav { position: relative; }

  .hero { padding: 0 0 150px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .listing-card,
  .listing-card.has-thumb { grid-template-columns: 1fr; }
  .listing-thumb { display: none; }
  .listing-actions { align-items: flex-start; }
  .section { padding: 44px 0; }
  .section-lg { padding: 56px 0; }
  .quote-form { padding: 24px 18px; }
}

@media (max-width: 440px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
