/* ============================================================================
   NC RELOCATION HUB, SHARED STYLES
   Matches the design system used on the Buyer Hub / Seller Hub:
   navy + rose palette, Georgia serif type, soft off-white background.
   ============================================================================ */

:root {
  --navy: #111111;
  --navy-light: #1e1e1e;
  --rose: #e8457a;
  --rose-light: #f472a0;
  --white: #ffffff;
  --off-white: #fdf9fb;
  --gray-100: #f7f1f4;
  --gray-200: #ecdde5;
  --gray-400: #b09aa4;
  --gray-700: #3d2e33;
  --text: #1a1014;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.14);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------------------
   NAV
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  /* The header gets more horizontal room than the page's reading-width
     container so the full nav can stay on one line, see the 1180px
     breakpoint below, where it switches to the hamburger menu instead
     of ever wrapping or overlapping. */
  max-width: 1260px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nav-brand {
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li { flex-shrink: 0; }

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rose-light);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rose);
  color: var(--white) !important;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  white-space: nowrap;
}

.nav-shortlist {
  position: relative;
  color: var(--white);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-shortlist .count {
  background: var(--rose);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  border-radius: 999px;
  padding: 1px 6px;
  min-width: 16px;
  text-align: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  /* With the full link list hidden behind the hamburger, the brand can
     still collide with the CTA/shortlist group at narrow phone widths , 
     let it truncate gracefully instead of forcing a second row. */
  .nav-brand { overflow: hidden; text-overflow: ellipsis; min-width: 0; flex-shrink: 1; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px 24px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 480px) {
  .nav-inner { padding: 14px 16px; gap: 8px; }
  .nav-brand { font-size: 0.88rem; max-width: 40vw; }
  .nav-cta { padding: 8px 12px; font-size: 0.68rem; }
  .nav-inner > div { gap: 8px !important; }
}

/* ---------------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------------- */
.hero {
  background: radial-gradient(ellipse at 20% 10%, rgba(232, 69, 122, 0.16), transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(232, 69, 122, 0.14), transparent 55%),
    var(--navy);
  padding: 76px 24px 64px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--rose);
  background: rgba(232, 69, 122, 0.15);
  color: var(--rose-light);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin: 0 0 6px;
  line-height: 1.2;
}

.hero h1 em {
  color: var(--rose-light);
  font-style: italic;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin: 20px auto 40px;
  font-size: 1.05rem;
}

.hero-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px 20px;
  width: 170px;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  text-align: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.hero-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
}



/* ---------------------------------------------------------------------------
   SECTIONS / STEP HEADERS
   ------------------------------------------------------------------------- */
.section {
  padding: 64px 24px;
}

.section-tight { padding: 40px 24px; }

.section-alt { background: var(--white); }

.step-badge {
  display: inline-block;
  border: 1px solid var(--gray-200);
  color: var(--rose);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.section h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 400;
  margin: 0 0 18px;
}

.accent-underline {
  width: 60px;
  height: 3px;
  background: var(--rose);
  border: none;
  margin: 0 0 24px;
}

.section-lead {
  font-size: 1.05rem;
  max-width: 720px;
  color: var(--gray-700);
  margin-bottom: 36px;
}

.center { text-align: center; }
.center .accent-underline { margin-left: auto; margin-right: auto; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------------------
   CARDS
   ------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.card-lg { padding: 36px; }

/* Bio card, a portrait photo bleeding to the card edge, paired with a
   text panel. Used for the "Hi, I'm Bethany" introductions. */
.bio-card {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bio-card img {
  width: 300px;
  min-width: 220px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 0;
}

.bio-card-body {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bio-card-body .step-badge { margin-bottom: 16px; }
.bio-card-body h2 { margin: 0 0 14px; font-size: 1.6rem; font-weight: 400; }
.bio-card-body p { color: var(--gray-700); margin: 0 0 14px; }
.bio-card-body p:last-of-type { margin-bottom: 22px; }

@media (max-width: 700px) {
  .bio-card { flex-direction: column; }
  .bio-card img { width: 100%; height: 240px; }
  .bio-card-body { padding: 32px 28px; }
}

.tag-card {
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--rose);
  box-shadow: var(--shadow);
  padding: 22px;
}

.tag-card .tag-pill {
  display: inline-block;
  color: var(--rose);
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 6px 0 10px;
}

.tag-card h4 { margin: 0; font-size: 1.05rem; }
.tag-card p { margin: 0; color: var(--gray-700); font-size: 0.94rem; }

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Numbered step circles */
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  margin: 0 auto 14px;
}

/* Dark callout card */
.dark-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
}

.dark-card h3 { color: var(--rose-light); margin: 0 0 8px; font-size: 1.2rem; }
.dark-card p { color: rgba(255, 255, 255, 0.8); margin: 0 0 16px; }

/* ---------------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

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

.btn-primary { background: var(--navy); color: var(--white); }
.btn-rose { background: var(--rose); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-sm { padding: 9px 16px; font-size: 0.78rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------------------------
   TOWN CARDS (Explore grid)
   ------------------------------------------------------------------------- */
.town-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.town-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.town-card-top {
  background: var(--navy);
  padding: 30px 20px 22px;
  text-align: center;
  position: relative;
}



.town-card-top h3 { color: var(--white); margin: 8px 0 2px; font-weight: 400; font-size: 1.25rem; }
.town-card-top .county { color: rgba(255, 255, 255, 0.55); font-family: Arial, sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }

.save-heart {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.save-heart.saved { color: var(--rose-light); background: rgba(232, 69, 122, 0.2); }
.save-heart:hover { background: rgba(255, 255, 255, 0.22); }

/* The two "labeled" save buttons (town profile + quiz results) aren't small
   corner badges floating on a card, they sit inline next to other buttons,
   so they need to opt out of the absolute-positioned badge layout above. */
#profile-save,
.result-card .save-heart {
  position: static;
  width: auto;
  height: auto;
}

/* Heart icon, a single reusable outline/filled SVG heart instead of emoji.
   Unsaved: outline only. Saved: filled. Color always follows the button. */
.heart-icon svg { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; overflow: visible; }
.heart-icon .heart-path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; transition: fill 0.15s ease, stroke 0.15s ease; }
.save-heart.saved .heart-icon .heart-path { fill: currentColor; stroke: none; }
.nav-shortlist .heart-icon .heart-path { stroke-width: 1.8; }

.town-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.town-card-body p { font-size: 0.9rem; color: var(--gray-700); flex: 1; margin: 0 0 16px; }
.town-card-actions { display: flex; gap: 8px; }

.compare-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  color: var(--gray-700);
}

/* ---------------------------------------------------------------------------
   FILTER BAR (Explore page)
   ------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-chip {
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------------------------------------------------------------------------
   INTERACTIVE MAP (Explore the Triangle map page)
   ------------------------------------------------------------------------- */
.map-wrap {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.map-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: calc(var(--radius) - 6px);
}

.map-svg {
  display: block;
  width: 100%;
  max-width: 1180px;
  min-width: 720px;
  height: auto;
}

.map-region {
  fill: var(--gray-100);
  stroke: var(--white);
  stroke-width: 2;
  stroke-linejoin: round;
  transition: fill 0.15s ease;
}

.map-region.dimmed { fill: var(--gray-100); opacity: 0.45; }
.map-region.highlighted { fill: rgba(232, 69, 122, 0.12); stroke: var(--rose-light); }

.map-region-label {
  font-family: Arial, sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  fill: var(--gray-700);
  pointer-events: none;
  paint-order: stroke;
  stroke: var(--white);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.map-region-count {
  font-weight: 400;
  letter-spacing: 0.03em;
  fill: var(--gray-400);
}

.town-marker { cursor: pointer; outline: none; }
.town-marker .marker-touch { fill: transparent; }
.town-marker .marker-dot {
  fill: var(--rose);
  stroke: var(--white);
  stroke-width: 2;
  transition: fill 0.15s ease, r 0.15s ease;
}
.town-marker.big .marker-dot { fill: var(--navy); }
.town-marker .marker-label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  fill: var(--gray-700);
  pointer-events: none;
  letter-spacing: 0.01em;
  transition: fill 0.15s ease;
  paint-order: stroke;
  stroke: var(--white);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.town-marker.big .marker-label {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  fill: var(--navy);
  stroke-width: 3.5px;
}
.town-marker:hover .marker-dot,
.town-marker:focus-visible .marker-dot,
.town-marker.active .marker-dot {
  fill: var(--rose-light);
  r: 8;
}
.town-marker.big:hover .marker-dot,
.town-marker.big:focus-visible .marker-dot,
.town-marker.big.active .marker-dot {
  fill: var(--rose);
  r: 10;
}
.town-marker:hover .marker-label,
.town-marker:focus-visible .marker-label,
.town-marker.active .marker-label,
.town-marker.big:hover .marker-label,
.town-marker.big:focus-visible .marker-label,
.town-marker.big.active .marker-label {
  fill: var(--rose);
}
.town-marker:focus-visible .marker-touch { stroke: var(--rose); stroke-width: 2; fill: rgba(232, 69, 122, 0.1); }
.town-marker.dimmed { opacity: 0.28; }

.map-tooltip {
  position: absolute;
  z-index: 20;
  pointer-events: none;
  max-width: 240px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: var(--shadow-lg);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 14px));
  transition: opacity 0.1s ease;
}
.map-tooltip.visible { opacity: 1; }
.map-tooltip .tt-name { font-family: Georgia, serif; font-size: 1.02rem; color: var(--white); margin-bottom: 2px; }
.map-tooltip .tt-county { color: var(--rose-light); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 8px; }
.map-tooltip .tt-vibe { color: rgba(255, 255, 255, 0.8); margin-bottom: 8px; }
.map-tooltip .tt-cta { color: var(--rose-light); font-size: 0.76rem; }

.map-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: var(--gray-700);
}
.map-legend-item { display: flex; align-items: center; gap: 7px; }
.map-legend-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--rose); display: inline-block; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--gray-200); }
.map-legend-dot.big { background: var(--navy); width: 13px; height: 13px; }

.county-list-group h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.county-list-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.county-list-group li a {
  display: block;
  padding: 7px 4px;
  color: var(--gray-700);
  font-size: 0.92rem;
  border-radius: 6px;
  transition: background 0.12s ease, color 0.12s ease;
}
.county-list-group li a:hover { background: var(--gray-100); color: var(--rose); }

/* ---------------------------------------------------------------------------
   SCHOOL DISTRICT CARDS (Schools page)
   ------------------------------------------------------------------------- */
.district-card { display: flex; flex-direction: column; }
.district-card-county {
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rose);
  margin-bottom: 6px;
}
.district-card-name {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}
.district-card-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 14px;
}
.district-card-stats .stat { display: flex; flex-direction: column; }
.district-card-stats .stat-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.15;
}
.district-card-stats .stat-label {
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}
.district-card-scope {
  font-size: 0.86rem;
  color: var(--gray-700);
  margin: 0 0 16px;
}
.district-card-programs {
  font-size: 0.86rem;
  color: var(--gray-700);
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}
.district-card-programs strong { color: var(--navy); font-weight: 700; }
.district-town-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.district-town-list li a {
  display: block;
  padding: 6px 4px;
  color: var(--gray-700);
  font-size: 0.92rem;
  border-radius: 6px;
  transition: background 0.12s ease, color 0.12s ease;
}
.district-town-list li a:hover { background: var(--gray-100); color: var(--rose); }
.district-town-note {
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  color: var(--gray-400);
  padding: 0 4px 6px;
  line-height: 1.4;
}
.district-no-locator {
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--gray-400);
  font-style: italic;
}

/* ---------------------------------------------------------------------------
   TOWN PROFILE PAGE
   ------------------------------------------------------------------------- */
.profile-hero {
  background: var(--navy);
  padding: 50px 24px 40px;
  color: var(--white);
}

.profile-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.profile-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 400; margin: 6px 0 4px; }
.profile-hero .county-line { color: rgba(255, 255, 255, 0.6); font-family: Arial, sans-serif; font-size: 0.85rem; margin-bottom: 4px; }

.profile-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.profile-section { padding: 44px 24px; border-bottom: 1px solid var(--gray-200); }
.profile-section:nth-child(even) { background: var(--white); }
.profile-section h2 {
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-section .inner { max-width: var(--max-width); margin: 0 auto; }

.commute-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.commute-item {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.commute-item .dest { font-family: Arial, sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); margin-bottom: 6px; }
.commute-item .time { font-size: 1.05rem; color: var(--navy); }

.bullet-list { margin: 0; padding-left: 20px; }
.bullet-list li { margin-bottom: 8px; }

.links-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.links-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 8px;
}
.links-list a:hover { color: var(--rose); }

.commute-note { font-family: Arial, sans-serif; font-size: 0.8rem; color: var(--gray-400); margin-top: 12px; }

/* ---------------------------------------------------------------------------
   ACCORDION (FAQ)
   ------------------------------------------------------------------------- */
.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 4px;
  font-family: Georgia, serif;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text);
}
.accordion-trigger .chevron { transition: transform 0.2s ease; color: var(--rose); }
.accordion-item.open .chevron { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--gray-700);
  font-size: 0.95rem;
}
.accordion-item.open .accordion-panel { max-height: 600px; padding-bottom: 18px; }

/* ---------------------------------------------------------------------------
   QUIZ
   ------------------------------------------------------------------------- */
.quiz-wrap { max-width: 720px; margin: 0 auto; }
.quiz-progress {
  height: 6px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 36px;
}
.quiz-progress-fill { height: 100%; background: var(--rose); transition: width 0.25s ease; }

.quiz-step { display: none; }
.quiz-step.active { display: block; }

.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
@media (max-width: 600px) { .quiz-options { grid-template-columns: 1fr; } }

.quiz-option {
  border: 2px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s ease;
}
.quiz-option:hover { border-color: var(--rose-light); }
.quiz-option.selected { border-color: var(--rose); background: rgba(232, 69, 122, 0.06); }
.quiz-option .emoji { font-size: 1.2rem; }

.quiz-nav { display: flex; justify-content: space-between; margin-top: 32px; }

/* ---------------------------------------------------------------------------
   LEAD CAPTURE (quiz results gate)
   ------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lead-capture-form { max-width: 440px; margin: 28px 0 0; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-optional { font-weight: 400; color: var(--gray-400); }

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.15s ease;
}
.form-input:focus { outline: none; border-color: var(--rose); }

.form-reassurance {
  margin: 16px 0 0;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--gray-400);
  text-align: center;
}

.soft-cta-card {
  background: rgba(232, 69, 122, 0.06);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-top: 32px;
}
.soft-cta-card h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 400; }
.soft-cta-card p { margin: 0 0 18px; color: var(--gray-700); }

.result-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-bottom: 18px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.result-rank {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--rose-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  flex-shrink: 0;
}
.result-match { font-family: Arial, sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rose); }
.result-card h3 { margin: 2px 0 8px; font-weight: 400; }
.result-card p { margin: 0 0 14px; color: var(--gray-700); font-size: 0.93rem; }

/* ---------------------------------------------------------------------------
   COMPARE TABLE
   ------------------------------------------------------------------------- */
.compare-picker { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.compare-scroll { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}
.compare-table th { font-family: Arial, sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); background: var(--gray-100); }
.compare-table td:first-child, .compare-table th:first-child {
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: var(--navy);
  background: var(--gray-100);
  position: sticky;
  left: 0;
}
.compare-table .town-col-header { color: var(--navy); font-family: Georgia, serif; font-size: 1rem; text-transform: none; letter-spacing: 0; }

/* ---------------------------------------------------------------------------
   CHECKLIST / TIMELINE
   ------------------------------------------------------------------------- */
.checklist-progress-bar {
  height: 10px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.checklist-progress-fill { height: 100%; background: var(--rose); transition: width 0.2s ease; }
.checklist-progress-label { font-family: Arial, sans-serif; font-size: 0.8rem; color: var(--gray-400); margin-bottom: 30px; }

.checklist-group { margin-bottom: 30px; }
.checklist-group h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; font-family: Arial, sans-serif; color: var(--rose); margin-bottom: 12px; }
.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
}
.checklist-item input { width: 18px; height: 18px; accent-color: var(--rose); cursor: pointer; }
.checklist-item.checked label { text-decoration: line-through; color: var(--gray-400); }
.checklist-item label { cursor: pointer; flex: 1; }

.timeline-wrap { display: flex; flex-direction: column; gap: 0; }
.timeline-stage {
  display: flex;
  gap: 20px;
  padding-bottom: 36px;
  position: relative;
}
.timeline-stage:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 52px;
  bottom: -4px;
  width: 2px;
  background: var(--gray-200);
}
.timeline-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  z-index: 1;
}
.timeline-content h3 { margin: 6px 0 6px; font-weight: 400; }
.timeline-content p { margin: 0 0 10px; color: var(--gray-700); }

/* ---------------------------------------------------------------------------
   SHORTLIST DRAWER
   ------------------------------------------------------------------------- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(17, 17, 17, 0.5);
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 200;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 90vw);
  background: var(--off-white); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform 0.25s ease; z-index: 201;
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-header { padding: 20px 22px; border-bottom: 1px solid var(--gray-200); display: flex; justify-content: space-between; align-items: center; background: var(--navy); }
.drawer-header h2 { color: var(--white); font-size: 1.1rem; margin: 0; font-weight: 400; }
.drawer-close { background: none; border: none; color: var(--white); font-size: 1.3rem; cursor: pointer; }
.drawer-body { padding: 20px 22px; overflow-y: auto; flex: 1; }
.drawer-footer { padding: 16px 22px; border-top: 1px solid var(--gray-200); }
.drawer-empty { color: var(--gray-400); text-align: center; padding: 40px 0; font-size: 0.9rem; }

.drawer-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--gray-200);
}
.drawer-item a { font-size: 0.95rem; }
.drawer-item button { background: none; border: none; color: var(--gray-400); cursor: pointer; font-size: 1rem; }
.drawer-item button:hover { color: var(--rose); }

/* ---------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.7); padding: 36px 24px; text-align: center; font-family: Arial, sans-serif; font-size: 0.85rem; }
.site-footer strong { color: var(--white); font-family: Georgia, serif; font-size: 1rem; }
.site-footer a { color: var(--rose-light); }
.site-footer .footer-links { margin-top: 10px; }
.site-footer .footer-links a { margin: 0 8px; }

/* ---------------------------------------------------------------------------
   MISC UTILITIES
   ------------------------------------------------------------------------- */
.disclaimer {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--gray-700);
  margin: 20px 0;
}

.badge-inline {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-700);
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-right: 6px;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

@media (max-width: 640px) {
  .section { padding: 44px 20px; }
  .hero { padding: 56px 18px 48px; }
}
