
/* Design direction C "Local Data": navy + teal, Manrope, data-forward. */
:root {
  --bg: #f4f7fa;
  --ink: #0f2233;
  --muted: #5b6b7a;
  --navy: #0f2233;
  --accent: #0f766e;
  --accent-hover: #0b5a53;
  --accent-light: #e8f5f3;
  --accent-bright: #4fd1c5;
  --accent-2: #e0572d;
  --accent-2-light: #fdece6;
  --purple: #7c5cd6;
  --purple-light: #efe9fb;
  --gold: #d69e00;
  --line: #dde6ee;
  --card: #fff;
  --radius: 14px;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

/* --- NAV --- */
.site-header { background: var(--navy); color: #fff; }
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 32px; max-width: var(--max); margin: 0 auto;
}
.topbar .brand { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.topbar .brand span { color: var(--accent-bright); }
.topbar nav { display: flex; gap: 24px; font-size: 14px; font-weight: 600; }
.topbar nav a { color: rgba(255,255,255,.8); transition: color .15s; }
.topbar nav a:hover { color: #fff; }

.hamburger {
  display: none; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff;
  border-radius: 8px; padding: 7px 8px; cursor: pointer;
}
.hamburger svg { display: block; }
.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 50;
  background: var(--bg); flex-direction: column; align-items: center;
  justify-content: center; gap: 16px;
}
.mobile-overlay.open { display: flex; }
.mobile-overlay a {
  font-size: 18px; font-weight: 700; padding: 12px 24px;
  border-radius: 8px; transition: background .15s;
}
.mobile-overlay a:hover { background: var(--accent-light); }
.mobile-close {
  position: absolute; top: 20px; right: 24px; background: none;
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px; cursor: pointer;
}
.mobile-close svg { display: block; }

/* --- HERO --- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 60px 32px 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-2-light); color: var(--accent-2);
  font-size: 13px; font-weight: 700; padding: 6px 14px;
  border-radius: 20px; margin-bottom: 20px;
}
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.hero-text h1 {
  font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15; margin-bottom: 20px;
}
.hero-text p { font-size: 17px; color: var(--muted); margin-bottom: 28px; max-width: 480px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 15px; border-radius: 8px; border: none;
  cursor: pointer; transition: background .2s; font-family: inherit;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; background: transparent; color: var(--ink);
  font-weight: 600; font-size: 15px; border-radius: 8px;
  border: 2px solid var(--line); cursor: pointer; transition: border-color .2s;
  font-family: inherit;
}
.btn-outline:hover { border-color: var(--ink); }

.hero-visual {
  background: var(--accent-light); border-radius: 20px; padding: 40px;
}
.hero-card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); margin-bottom: 16px;
}
.hero-card .city-name { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.hero-card .city-meta { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.stat-row { display: flex; gap: 16px; }
.stat {
  flex: 1; background: var(--bg); border-radius: 8px; padding: 12px; text-align: center;
}
.stat strong { display: block; font-size: 22px; color: var(--accent); }
.stat span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.hero-mini {
  background: var(--card); border-radius: var(--radius); padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: flex; align-items: center; gap: 12px; font-size: 14px;
}
.hero-mini .check {
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent-2-light);
  color: var(--accent-2); display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

/* --- TRUST BAR --- */
.trust-bar {
  background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 32px;
}
.trust-inner {
  max-width: var(--max); margin: 0 auto; display: flex;
  justify-content: center; gap: 48px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.trust-item strong { color: var(--ink); font-size: 20px; }

/* --- SECTIONS --- */
.section {
  max-width: var(--max); margin: 0 auto; padding: 80px 32px;
}
.section-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent); margin-bottom: 12px;
}
.section-label.center { text-align: center; }
.section h2, .section-title {
  font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 36px;
  line-height: 1.2; margin-bottom: 12px;
}
.section h2.center { text-align: center; }
.section > p { color: var(--muted); font-size: 16px; margin-bottom: 40px; }

/* --- HERO BANNER --- */
.hero-banner {
  width: 100%; height: 280px; overflow: hidden;
}
.hero-banner img {
  width: 100%; height: 100%; display: block; object-fit: cover; object-position: center;
}

/* --- PAGE HEADER --- */
.page-header {
  max-width: var(--max); margin: 0 auto; padding: 48px 32px 32px;
}
.page-header h1 {
  font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15; margin-bottom: 14px;
}
.page-header .sub {
  font-size: 17px; color: var(--muted); max-width: 680px; margin-bottom: 20px;
}

/* --- GRID --- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.span-2 { grid-column: span 2; }

/* --- CARD --- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.card h2, .card h3 {
  font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 22px;
  line-height: 1.25; margin-bottom: 10px;
}
.card.dark .btn-primary { background: #fff; color: var(--ink); }
.card.dark .btn-primary:hover { background: #f0ece4; }
.card.dark .btn-outline { border-color: rgba(255,255,255,.3); color: #fff; }
.card.dark .btn-outline:hover { border-color: #fff; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.card p + p { margin-top: 10px; }
.card .section-label { margin-bottom: 8px; }
.card .link { font-size: 14px; font-weight: 700; color: var(--accent); margin-top: 16px; display: inline-block; }

.card.warm { background: var(--accent-light); border-color: transparent; }
.card.green { background: var(--accent-2-light); border-color: transparent; }
.card.dark {
  background: var(--ink); color: #fff; border-color: transparent;
}
.card.dark h2, .card.dark h3 { color: #fff; }
.card.dark p { color: rgba(255,255,255,.7); }
.card.dark .section-head h2 { color: #fff; }
.card.dark .ic svg { stroke: #fff; }
.card.dark .ic.warm { background: var(--accent); }
.card.dark .ic.green { background: var(--accent-2); }

/* --- SERVICE CARDS --- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: box-shadow .2s;
}
.service-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.service-icon {
  width: 48px; height: 48px; border-radius: 10px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.service-card:nth-child(1) .service-icon { background: var(--accent-light); }
.service-card:nth-child(2) .service-icon { background: var(--purple-light); }
.service-card:nth-child(3) .service-icon { background: var(--accent-2-light); }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.service-card .link { font-size: 14px; font-weight: 700; color: var(--accent); }

/* --- LINK GRID --- */
.link-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px; margin-top: 16px;
}
.link-card {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  min-height: 90px; padding: 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .2s, border-color .2s;
}
.link-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); border-color: var(--accent); }
.card-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent);
}
.card-name { font-weight: 600; font-size: 15px; line-height: 1.3; }

/* --- STATS ROW (inner pages) --- */
.metrics {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px;
}
.metric {
  flex: 1; min-width: 120px; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.metric strong { display: block; font-size: 20px; color: var(--accent); line-height: 1.2; }
.metric small {
  font-size: 12px; color: var(--muted); font-weight: 500;
}

/* --- LISTS --- */
.check-list { display: grid; gap: 8px; padding-left: 1.1rem; margin: 12px 0 0; }
.check-list li { font-size: 15px; line-height: 1.55; color: var(--ink); }
.guide-list { display: grid; gap: 12px; padding-left: 1.4rem; margin: 16px 0; }
.guide-list li { font-size: 15px; line-height: 1.6; color: var(--ink); }

/* --- NUMBERED STEPS --- */
.step-list { display: grid; gap: 0; margin: 16px 0 0; counter-reset: step; list-style: none; padding: 0; }
.step-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; line-height: 1.55; color: var(--ink); counter-increment: step;
}
.step-list li:last-child { border-bottom: none; padding-bottom: 0; }
.step-list li::before {
  content: counter(step); flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}

/* --- SECTION ICON --- */
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.section-head .ic {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.section-head .ic.warm { background: var(--accent-light); }
.section-head .ic.green { background: var(--accent-2-light); }
.section-head .ic.purple { background: var(--purple-light); }
.section-head .ic.red { background: #fff0f0; }
.section-head .ic svg { width: 20px; height: 20px; }
.section-head h2, .section-head h3 {
  font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 22px;
  line-height: 1.25; margin: 0;
}

/* --- CARD GAP SECTIONS --- */
.card-stack { display: grid; gap: 24px; }
.card-stack > .card { margin-top: 0 !important; }

/* --- DIVIDER --- */
.divider {
  height: 1px; background: var(--line); margin: 40px 0;
  max-width: var(--max);
}

/* --- ICON CARD HEADER --- */
.icon-badge {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.warm { background: var(--accent-light); }
.icon-badge.green { background: var(--accent-2-light); }
.icon-badge.purple { background: var(--purple-light); }

/* --- ALT SECTION (subtle bg change) --- */
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt .card { border-color: var(--line); }

/* --- PAIN ITEM VARIANTS --- */
.pain-item.seo .icon { background: var(--accent-light); color: var(--accent); }
.pain-item.social .icon { background: var(--purple-light); color: var(--purple); }
.pain-item.website .icon { background: var(--accent-2-light); color: var(--accent-2); }

/* --- TAG PILLS --- */
.tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 4px;
}
.tag.warm { background: var(--accent-light); color: var(--accent); }
.tag.green { background: var(--accent-2-light); color: var(--accent-2); }
.tag.purple { background: var(--purple-light); color: var(--purple); }

/* --- SEASONAL STRIP --- */
.seasonal-strip { margin: 12px 0 4px; }
.seasonal-strip svg { width: 100%; max-width: 640px; height: auto; display: block; }
.strip-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.strip-legend-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.strip-legend-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }

/* --- MINI CARDS (seasonal, etc.) --- */
.mini-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px; margin-top: 12px;
}
.mini-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px;
}
.mini-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.mini-card p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }
.mini-card p + p { margin-top: 4px; }

/* --- QUOTE & CALLOUT --- */
.quote-block {
  border-left: 3px solid var(--accent); padding: 14px 16px;
  margin-top: 12px; background: var(--accent-light); border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-block p { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 0; }

.callout {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent-2);
  border-radius: var(--radius); padding: 14px 16px; margin-top: 12px;
  font-size: 15px; color: var(--muted); line-height: 1.55;
}

/* --- PAIN POINTS --- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pain-item {
  display: flex; gap: 14px; padding: 20px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
}
.pain-item .icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px;
  background: #fff0f0; color: #c44; display: flex; align-items: center;
  justify-content: center; font-size: 18px; font-weight: 700;
}
.pain-item h4 { font-size: 15px; margin-bottom: 2px; }
.pain-item p { font-size: 13px; color: var(--muted); margin: 0; }

/* --- BOTTOM CTA --- */
.bottom-cta {
  max-width: 700px; margin: 0 auto; padding: 80px 32px; text-align: center;
}
.bottom-cta h2 {
  font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 36px; margin-bottom: 14px;
}
.bottom-cta p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }

/* --- QUIZ & CALCULATOR --- */
.quiz-select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 15px; font-family: inherit; background: var(--card);
  appearance: none; cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6b7a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.quiz-select:focus { border-color: var(--accent); }

.quiz-options { display: grid; gap: 10px; margin-top: 12px; }
.quiz-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); cursor: pointer; font-size: 15px;
  transition: background .15s, border-color .15s;
}
.quiz-option:hover { background: var(--accent-light); border-color: var(--accent); }
.quiz-option input[type="radio"] {
  width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer;
}

/* --- MUTED --- */
.muted { color: var(--muted); }

/* --- NEWSLETTER + CONTACT FORMS (wrensend) --- */
.signup-band { background: var(--accent-light); border-top: 1px solid var(--line); margin-top: 48px; }
.signup-inner {
  max-width: var(--max); margin: 0 auto; padding: 40px 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
}
.signup-inner h2 { font-size: 24px; margin-bottom: 6px; }
.signup-inner p { color: var(--muted); font-size: 15px; }
.signup-row { display: flex; gap: 8px; }
.signup-row input { flex: 1; min-width: 0; }
.signup-form input, .contact-form input, .contact-form textarea {
  font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); width: 100%;
}
.signup-form input:focus, .contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent;
}
.contact-form { display: grid; gap: 14px; margin-top: 18px; max-width: 560px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.contact-form button { justify-self: start; }
.form-status { font-size: 14px; margin-top: 8px; min-height: 1em; }
.form-status.success { color: var(--accent-2); }
.form-status.error { color: #c0392b; }
button[disabled] { opacity: .6; cursor: default; }
@media (max-width: 760px) {
  .signup-inner { grid-template-columns: 1fr; padding: 32px 20px; }
  .signup-row { flex-direction: column; }
}

/* --- PHOTO HERO (city pages) --- */
.photo-hero {
  background-color: #17354f; background-size: cover; background-position: center;
  color: #fff; padding: 56px 32px 88px;
}
.photo-hero-inner { max-width: calc(var(--max) - 64px); margin: 0 auto; }
.photo-hero .crumb { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); }
.photo-hero .crumb a:hover { color: #fff; text-decoration: underline; }
.photo-hero h1 {
  font-size: clamp(32px, 5.5vw, 54px); font-weight: 800; line-height: 1.08;
  letter-spacing: -.02em; margin: 10px 0 14px; max-width: 820px;
}
.photo-hero .sub { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 680px; }

/* --- STAT TILES (overlap the hero) --- */
.tiles-wrap { max-width: var(--max); margin: -44px auto 0; padding: 0 32px; position: relative; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: 0 6px 24px rgba(15,34,51,.1); }
.tile b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.tile span { font-size: 13px; color: var(--muted); }

/* --- BAR CHART --- */
.bars { margin-top: 12px; }
.bar {
  display: grid; grid-template-columns: minmax(140px, 220px) 1fr 70px; gap: 12px;
  align-items: center; padding: 7px 0; font-size: 14px; font-weight: 600;
}
.bar:hover .bar-name { color: var(--accent); }
.bar-track { height: 12px; background: #e6eef4; border-radius: 99px; overflow: hidden; }
.bar-track i {
  display: block; height: 100%; background: var(--accent); border-radius: 99px;
  transform-origin: left; animation: bar-grow .9s cubic-bezier(.2,.8,.2,1) both;
}
.bar em { font-style: normal; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes bar-grow { from { transform: scaleX(0); } }

/* --- CHIPS --- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  background: var(--card); border: 1px solid var(--line); border-radius: 99px;
  padding: 8px 14px; font-size: 14px; font-weight: 600; transition: border-color .15s, color .15s;
}
.chip small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* --- HOMEPAGE --- */
.hp-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 64px 32px 96px; }
.hp-collage { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.hp-collage div { background-size: cover; background-position: center; }
.hp-collage::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,50,.72), rgba(10,30,50,.92));
}
.hp-hero-inner { position: relative; z-index: 1; max-width: calc(var(--max) - 64px); margin: 0 auto; }
.hp-hero .kicker { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); }
.hp-hero h1 {
  font-size: clamp(34px, 5.5vw, 58px); font-weight: 800; line-height: 1.06;
  letter-spacing: -.02em; margin: 10px 0 16px; max-width: 760px;
}
.hp-hero p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 620px; }
.city-search-wrap { position: relative; max-width: 540px; margin-top: 26px; }
.city-search { display: flex; background: #fff; border-radius: 12px; overflow: hidden; }
.city-search input {
  flex: 1; min-width: 0; border: 0; padding: 16px; font: 600 16px 'Manrope', sans-serif; color: var(--ink);
}
.city-search input:focus { outline: none; }
.city-search button {
  border: 0; background: var(--accent); color: #fff; padding: 0 24px;
  font: 800 15px 'Manrope', sans-serif; cursor: pointer;
}
.city-search button:hover { background: var(--accent-hover); }
.city-ac {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 5;
  background: #fff; color: var(--ink); border-radius: 12px; list-style: none; overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.city-ac a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; font-weight: 700; font-size: 15px; }
.city-ac a span { color: var(--muted); font-size: 13px; font-weight: 500; }
.city-ac a:hover, .city-ac a.sel { background: var(--accent-light); }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; }
.popular span { color: rgba(255,255,255,.75); }
.popular a {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  border-radius: 99px; padding: 5px 12px; font-weight: 600;
}
.popular a:hover { background: rgba(255,255,255,.24); }

.hp-section { max-width: var(--max); margin: 0 auto; padding: 48px 32px 0; }
.hp-section > h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.asks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ask {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s, box-shadow .15s;
}
.ask:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,34,51,.1); }
.ask .ic {
  width: 38px; height: 38px; border-radius: 10px; background: var(--accent-light); color: var(--accent);
  display: grid; place-items: center;
}
.ask .ic svg { width: 20px; height: 20px; }
.ask strong { font-size: 17px; line-height: 1.35; }
.ask .go { color: var(--accent); font-weight: 800; font-size: 14px; margin-top: auto; }

.mapwrap {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.tilemap { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; }
.tilemap a, .tilemap span {
  aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; transition: transform .15s;
  animation: tile-in .4s both;
}
.tilemap a:hover, .tilemap a:focus-visible, .tilemap span:hover, .tilemap span:focus-visible { transform: scale(1.15); outline: 2px solid var(--ink); }
@keyframes tile-in { from { opacity: 0; transform: scale(.6); } }
.map-side h3 { font-size: 17px; font-weight: 800; }
.map-side p { font-size: 14px; color: var(--muted); margin: 4px 0 14px; line-height: 1.5; }
.map-focus { background: var(--bg); border-radius: 12px; padding: 14px; margin-bottom: 14px; min-height: 88px; }
.map-focus b { display: block; font-size: 26px; font-weight: 800; }
.map-focus span { font-size: 13px; color: var(--muted); }
.map-scale { display: flex; gap: 2px; }
.map-scale i { flex: 1; height: 8px; border-radius: 2px; }
.map-scale-lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }

.toolrow { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 14px; }
.tool {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 8px; transition: transform .15s;
}
.tool:hover { transform: translateY(-3px); }
.tool .k { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--accent-bright); }
.tool h3 { font-size: 20px; font-weight: 800; }
.tool p { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.5; }
.tool .go { margin-top: auto; font-weight: 800; color: var(--accent-bright); }
.glist { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 20px; }
.glist a {
  display: flex; justify-content: space-between; gap: 10px; padding: 11px 0;
  border-bottom: 1px solid #eef2f5; font-weight: 600; font-size: 14px;
}
.glist a:last-child { border-bottom: 0; color: var(--accent); font-weight: 800; }
.glist a:hover { color: var(--accent); }
.glist a span { color: var(--muted); font-weight: 500; white-space: nowrap; }

/* --- FOOTER --- */
.site-footer { background: var(--navy); color: #b6c4d1; margin-top: 0; }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; font-size: 13px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { font-size: 13px; font-weight: 600; color: #b6c4d1; transition: color .15s; }
.footer-links a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .bar-track i, .tilemap a, .tilemap span { animation: none; }
  .ask, .tool { transition: none; }
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px 60px; }
  .grid, .grid-3, .service-grid, .pain-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .trust-inner { gap: 24px; }
  .section { padding: 60px 24px; }
  .page-header { padding: 36px 24px 24px; }
  .photo-hero, .hp-hero { padding-left: 24px; padding-right: 24px; }
  .tiles-wrap, .hp-section { padding-left: 24px; padding-right: 24px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .asks { grid-template-columns: 1fr 1fr; }
  .mapwrap, .toolrow { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar { padding: 14px 16px; }
  .topbar nav { display: none; }
  .hamburger { display: block; }
  .hero, .section, .page-header { padding-left: 16px; padding-right: 16px; }
  .hero { padding-top: 24px; }
  .hero-visual { padding: 24px; }
  .card { padding: 24px 20px; }
  .stat-row { flex-wrap: wrap; }
  .stat { min-width: calc(50% - 8px); }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .footer-inner { padding: 20px 16px; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .photo-hero { padding: 36px 16px 72px; }
  .hp-hero { padding: 40px 16px 80px; }
  .tiles-wrap, .hp-section { padding-left: 16px; padding-right: 16px; }
  .tile b { font-size: 22px; }
  .hp-collage { grid-template-columns: 1fr 1fr; }
  .bar { grid-template-columns: 1fr 60px; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .tilemap { gap: 2px; }
  .tilemap a, .tilemap span { font-size: 8px; border-radius: 4px; }
  .bottom-cta { padding: 60px 16px; }
  .metrics { gap: 8px; }
  .metric { min-width: 100px; padding: 10px 12px; }
}

/* Tighten the gap between a page header / stat tiles and the first section. */
.page-header + .section, .tiles-wrap + .section { padding-top: 32px; }

/* Photo credit (required by CC BY / BY-SA licenses on city photos). */
.photo-hero, .hp-hero { position: relative; }
.photo-credit {
  position: absolute; right: 12px; bottom: 52px; z-index: 2; max-width: calc(100% - 24px);
  font-size: 11px; color: rgba(255,255,255,.6); text-align: right; line-height: 1.4;
}
.photo-credit a { color: inherit; }
.photo-credit a:hover, a.photo-credit:hover { color: #fff; text-decoration: underline; }
.hp-hero .photo-credit { bottom: 56px; }
@media (max-width: 640px) { .hp-hero .photo-credit { bottom: 40px; } }

.mini-head { font-size: 15px; font-weight: 800; margin: 18px 0 4px; }

/* Author byline on guides, blog posts and industry guides. */
.byline { font-size: 14px; color: var(--muted); margin-top: 4px; }
.byline a { color: var(--ink); font-weight: 700; }
.byline a:hover { color: var(--accent); }

/* City search on light backgrounds (404 page). */
.city-search-wrap.on-light .city-search { border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(15,34,51,.06); }
