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

:root {
  --black:      #0a0a0a;
  --white:      #faf8f4;
  --blue:       #2c669f;
  --blue-light: #4a85c0;
  --gray-1:     #1a1a1a;
  --gray-2:     #333;
  --gray-3:     #888;
  --gray-4:     #ccc;
  --gray-5:     #f0ede8;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Jost', system-ui, sans-serif;

  --max-width:   1160px;
  --section-gap: 6rem;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

em { font-style: italic; color: var(--blue); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--section-gap) 0; }

.grid { display: grid; gap: 2rem; }
.grid-services { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-why      { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-4);
  padding: 1.2rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-block;
  line-height: 1;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 640px) {
  .logo-img { height: 28px; width: auto; max-width: 110px; }
  .logo { margin-left: 0; flex-shrink: 0; }
  .site-nav { gap: 0.3rem; flex-shrink: 0; }
  .site-header .container { padding: 0 0.75rem; gap: 0.5rem; }
}

.logo-main, .logo-sub { display: none; } /* legacy — unused */

.site-nav { display: flex; gap: 0.75rem; align-items: center; }

.nav-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.nav-btn--ghost {
  background: transparent;
  color: var(--gray-2);
  border-color: var(--gray-4);
}
.nav-btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.nav-btn--solid {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.nav-btn--solid:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--white);
}

@media (max-width: 640px) {
  .site-nav { gap: 0.4rem; }
  .nav-btn { font-size: 0.62rem; padding: 0.4rem 0.7rem; letter-spacing: 0.1em; }
}

@media (max-width: 420px) {
  .nav-btn { font-size: 0.55rem; padding: 0.35rem 0.5rem; letter-spacing: 0.05em; }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  padding: 4rem 0 5rem;
  border-bottom: 1px solid var(--gray-4);
  background: url('/images/hero-bg.png') top right / 100% auto no-repeat;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-2);
  max-width: 500px;
}

/* ── Section title ───────────────────────────────────────────────────────── */
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-4);
}

/* ── Service cards ───────────────────────────────────────────────────────── */
.service-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--gray-4);
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.service-card__name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.service-card__headline {
  font-size: 0.9rem;
  color: var(--gray-2);
  flex: 1;
  margin-bottom: 1.5rem;
}
.service-card__link {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ── Page hero ───────────────────────────────────────────────────────────── */
.page-hero, .city-hero {
  padding: 3rem 0 4rem;
  border-bottom: 1px solid var(--gray-4);
  background: url('/images/hero-bg.png') top right / 100% auto no-repeat;
}

.page-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  margin: 0.75rem 0 1.25rem;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--gray-2);
  max-width: 600px;
  margin-bottom: 2rem;
}

.breadcrumb {
  font-size: 0.78rem;
  color: var(--gray-3);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.breadcrumb a { color: var(--gray-3); }
.breadcrumb a:hover { color: var(--blue); }

/* ── Button ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
}
.btn-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ── Why cards ───────────────────────────────────────────────────────────── */
.why-card {
  padding: 2rem;
  background: var(--gray-5);
}
.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--gray-2);
}

/* ── CTA section ─────────────────────────────────────────────────────────── */
.cta-section { background: var(--black); color: var(--white); }
.cta-inner { text-align: center; }
.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 1rem;
}
.cta-inner p { color: var(--gray-4); margin-bottom: 2rem; }
.cta-section .btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.cta-section .btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
}

/* ── Markets / city list ─────────────────────────────────────────────────── */
.state-group { margin-bottom: 3rem; }
.state-label {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-4);
}
.city-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.4rem 1rem;
}
.city-list li a {
  font-size: 0.9rem;
  color: var(--gray-2);
}
.city-list li a:hover { color: var(--blue); }
.city-county { color: var(--gray-3); font-size: 0.8rem; }

/* ── Nearby cities ───────────────────────────────────────────────────────── */
.nearby-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.6rem;
}
.nearby-list a {
  font-size: 0.9rem;
  color: var(--gray-2);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-5);
}
.nearby-list a:hover { color: var(--blue); }

/* ── Error pages ─────────────────────────────────────────────────────────── */
.error-page { min-height: 60vh; display: flex; align-items: center; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--gray-4);
  padding: 2.5rem 0;
  font-size: 0.8rem;
  color: var(--gray-3);
  background: url('/images/hero-bg.png') top right / 100% auto no-repeat;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.site-footer a { color: var(--gray-3); }
.site-footer a:hover { color: var(--blue); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 2.5rem 0 3rem; }
  .site-footer .container { flex-direction: column; text-align: center; }
}

/* ── Markets section — hidden from humans, visible to bots ──────────────── */
/* JS adds .markets-visible when user clicks "Browse all service areas"      */
#markets-section {
  position: absolute;
  left: -9999px;
  height: 1px;
  overflow: hidden;
  visibility: hidden;
}
#markets-section.markets-visible {
  position: static;
  height: auto;
  overflow: visible;
  visibility: visible;
}

/* ── Geo detection panel ─────────────────────────────────────────────────── */
.geo-panel {
  margin-top: 2.5rem;
  min-height: 3.5rem;
  display: flex;
  align-items: flex-start;
}

.geo-state {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.geo-state--hidden {
  display: none;
}

/* Detecting — spinner + label */
#geo-detecting {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--gray-3);
  letter-spacing: 0.08em;
}

.geo-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--gray-4);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Found */
.geo-found-label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Denied / error message */
.geo-denied-msg {
  font-size: 0.9rem;
  color: var(--gray-2);
  max-width: 420px;
}

/* Subtle text link for "Browse all" */
.geo-browse-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gray-3);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.geo-browse-link:hover { color: var(--blue); }

/* ── Hero location badge (homepage) ─────────────────────────────────────── */
.hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 0.75rem 1.25rem;
  background: var(--blue);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  border-radius: 2px;
}

.hero-location-badge strong {
  font-weight: 500;
}

.hero-location-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.7;
  flex-shrink: 0;
}

.hero-location-reset {
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.2rem 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  margin-left: 0.25rem;
}
.hero-location-reset:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}

/* ── Geo found actions row ───────────────────────────────────────────────── */
.geo-found-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.geo-divider {
  color: var(--gray-4);
  font-size: 0.8rem;
  line-height: 1;
}

/* ── Location conflict banner ────────────────────────────────────────────── */
.conflict-banner {
  position: sticky;
  top: 65px; /* clears the site-header */
  z-index: 90;
  background: var(--black);
  color: var(--white);
  padding: 0.9rem 0;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
}

.conflict-banner--visible {
  transform: translateY(0);
}

.conflict-banner--hiding {
  transform: translateY(-110%);
}

.conflict-banner__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  position: relative;
  padding-right: 2.5rem; /* room for dismiss × */
}

.conflict-banner__msg {
  font-size: 0.82rem;
  color: var(--gray-4);
  flex: 1;
  min-width: 200px;
}

.conflict-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.conflict-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.conflict-btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.conflict-btn--primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
}

.conflict-btn--ghost {
  background: transparent;
  color: var(--gray-4);
  border-color: var(--gray-2);
}
.conflict-btn--ghost:hover {
  border-color: var(--gray-4);
  color: var(--white);
}

.conflict-dismiss {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-3);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.75rem 0.25rem 0.25rem;
  transition: color 0.2s;
}
.conflict-dismiss:hover { color: var(--white); }

@media (max-width: 640px) {
  .conflict-banner__inner { flex-direction: column; align-items: flex-start; }
  .conflict-dismiss { top: 0.9rem; transform: none; }
}

/* ── Hero story paragraph ────────────────────────────────────────────────── */
.hero-story {
  margin-top: 2.5rem;
  max-width: 680px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--gray-2);
  border-left: 3px solid var(--blue);
  padding-left: 1.25rem;
}

/* ── Page banner ─────────────────────────────────────────────────────────── */
.page-banner {
  width: 100%;
  line-height: 0;
  position: relative;
  overflow: visible;
}
.page-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 380px;
}

@media (max-width: 640px) {
  .page-banner img { max-height: 200px; }
}

/* ── Location Picker Modal ───────────────────────────────────────────────── */
.lp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.65);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lp-overlay--visible { opacity: 1; }

.lp-modal {
  background: var(--white);
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  border-top: 4px solid var(--blue);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.lp-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gray-3);
  cursor: pointer;
  transition: color 0.2s;
}
.lp-close:hover { color: var(--black); }

.lp-title {
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 0.4rem;
}

.lp-subtitle {
  font-size: 0.88rem;
  color: var(--gray-3);
  margin-bottom: 1.75rem;
}

/* Options */
.lp-options { display: flex; flex-direction: column; gap: 0.6rem; }

.lp-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--gray-4);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.lp-option:hover { border-color: var(--blue); background: #f4f8fd; }

.lp-option--ghost {
  border-color: transparent;
  background: var(--gray-5);
}
.lp-option--ghost:hover { border-color: var(--gray-4); background: var(--gray-5); }

.lp-option--list { cursor: pointer; }

.lp-option__icon {
  font-size: 1.2rem;
  color: var(--blue);
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
}

.lp-option__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.lp-option__body strong {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--black);
}
.lp-option__body span {
  font-size: 0.78rem;
  color: var(--gray-3);
}

.lp-option__arrow {
  color: var(--gray-3);
  font-size: 1rem;
  flex-shrink: 0;
}

/* City search */
.lp-city-search {
  border: 1px solid var(--gray-4);
  border-top: none;
  padding: 0.75rem;
  background: var(--gray-5);
}

.lp-search-input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  border: 1px solid var(--gray-4);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.lp-search-input:focus { border-color: var(--blue); }

.lp-city-list {
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  margin-top: 0.5rem;
}

.lp-city-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.5rem 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--gray-2);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-radius: 2px;
}
.lp-city-btn:hover { background: var(--blue); color: var(--white); }

.lp-no-results {
  font-size: 0.82rem;
  color: var(--gray-3);
  padding: 0.5rem 0.6rem;
}

/* Detecting / denied states */
.lp-detecting {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0 0.5rem;
  font-size: 0.88rem;
  color: var(--gray-3);
}

.lp-denied {
  padding: 1rem 0 0.5rem;
  font-size: 0.88rem;
  color: var(--gray-2);
  line-height: 1.6;
}

.lp-btn-ghost {
  margin-top: 1rem;
  background: none;
  border: 1px solid var(--gray-4);
  padding: 0.45rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  cursor: pointer;
  color: var(--gray-2);
  transition: border-color 0.2s;
}
.lp-btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ── Banner badge ────────────────────────────────────────────────────────── */
.page-banner {
  position: relative;
}
/* banner-badge now defined in services menu section below */

/* ── Secondary hero subtitle ─────────────────────────────────────────────── */
.hero-subtitle--secondary {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-3);
}
.hero-subtitle--secondary a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-subtitle--secondary a:hover { color: var(--blue-light); }

/* ── Contact Form Modal ──────────────────────────────────────────────────── */
.cf-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.7);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cf-overlay--visible { opacity: 1; }

.cf-modal {
  background: var(--white);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  border-top: 4px solid var(--blue);
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}

.cf-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gray-3);
  cursor: pointer;
  transition: color 0.2s;
}
.cf-close:hover { color: var(--black); }

.cf-header { margin-bottom: 1.75rem; }

.cf-title {
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 0.3rem;
}

.cf-subtitle {
  font-size: 0.85rem;
  color: var(--blue);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.cf-draft-notice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--gray-3);
  margin-top: 0.5rem;
}

.cf-clear-btn {
  background: none;
  border: 1px solid var(--gray-4);
  padding: 0.15rem 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--gray-3);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cf-clear-btn:hover { border-color: var(--blue); color: var(--blue); }

/* Form layout */
.cf-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
.cf-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .cf-row--2 { grid-template-columns: 1fr; } }

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}
.cf-row .cf-field { margin-bottom: 0; }

.cf-field label {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-2);
}

.cf-req { color: var(--blue); }

.cf-field input,
.cf-field select,
.cf-field textarea {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--gray-4);
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus { border-color: var(--blue); }
.cf-field input[readonly] { background: var(--gray-5); color: var(--gray-3); cursor: default; }
.cf-field textarea { resize: vertical; min-height: 90px; }

.cf-err {
  font-size: 0.75rem;
  color: #c0392b;
  min-height: 1em;
}

.cf-server-err {
  font-size: 0.82rem;
  color: #c0392b;
  margin-top: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: #fdf0ef;
  border-left: 3px solid #c0392b;
}

/* Actions */
.cf-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.cf-submit {
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
  padding: 0.75rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.cf-submit:hover:not(:disabled) { background: var(--blue-light); border-color: var(--blue-light); }
.cf-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.cf-cancel {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--gray-3);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.cf-cancel:hover { color: var(--black); }

/* Success state */
#cf-success {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.cf-success-inner {
  text-align: center;
  padding: 2rem;
}
.cf-success-icon {
  font-size: 3rem;
  color: var(--blue);
  margin-bottom: 1rem;
  line-height: 1;
}

/* ── Location usage note ─────────────────────────────────────────────────── */
.hero-location-why {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--gray-2);
  max-width: 620px;
  line-height: 1.7;
  font-style: italic;
}

/* ── Section subtitle ────────────────────────────────────────────────────── */
.section-subtitle {
  font-size: 0.95rem;
  color: var(--gray-3);
  margin-top: -2rem;
  margin-bottom: 2.5rem;
}

/* ── Section eyebrow ─────────────────────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

/* ── Smaller section title variant ──────────────────────────────────────── */
.section-title--sm {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

/* ── Contact form hours note ─────────────────────────────────────────────── */
.cf-hours-note {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--gray-5);
  border-left: 3px solid var(--blue);
  font-size: 0.8rem;
  color: var(--gray-2);
  line-height: 1.7;
}
.cf-hours-note strong { color: var(--black); }

.hero-location-why a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.hero-location-why a:hover { color: var(--blue-light); }

/* ── AI-generated page body content ─────────────────────────────────────── */
.page-body-content {
  max-width: 780px;
}
.page-body-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--gray-2);
  margin-bottom: 1.4rem;
}
.page-body-content p:last-child { margin-bottom: 0; }

/* ── Privacy Policy content ──────────────────────────────────────────────── */
.privacy-content {
  max-width: 780px;
}
.privacy-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--black);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-4);
}
.privacy-content h3 {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 1.5rem 0 0.5rem;
}
.privacy-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-2);
  margin-bottom: 1rem;
}
.privacy-content ul {
  margin: 0.5rem 0 1rem 1.5rem;
}
.privacy-content ul li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray-2);
  margin-bottom: 0.35rem;
}
.privacy-content a { color: var(--blue); }
.privacy-content a:hover { color: var(--blue-light); }

/* ── Climate widget ──────────────────────────────────────────────────────── */
.climate-section { background: var(--gray-5); }

.climate-summary {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.climate-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gray-4);
  border-top: 3px solid var(--blue);
  padding: 1.25rem 1.75rem;
  min-width: 110px;
  text-align: center;
}

.climate-stat__value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.climate-stat__label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.climate-table-wrap {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.climate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  white-space: nowrap;
}

.climate-table th {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.6rem;
  text-align: center;
}

.climate-table th:first-child { background: #1e4d7a; }

.climate-table td {
  padding: 0.45rem 0.6rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-4);
  color: var(--gray-2);
}

.climate-table tbody tr:nth-child(even) td { background: var(--white); }
.climate-table tbody tr:nth-child(odd)  td { background: #f7f5f1; }

.climate-row-label {
  text-align: left !important;
  font-weight: 500;
  color: var(--black) !important;
  background: #eef2f7 !important;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.climate-note {
  font-size: 0.72rem;
  color: var(--gray-3);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ── Read More button ────────────────────────────────────────────────────── */
.read-more-btn {
  margin-top: 0.75rem;
  background: none;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.read-more-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* ── Climate zone badge ──────────────────────────────────────────────────── */
.climate-zone-badge {
  font-weight: 500;
  color: var(--blue);
  text-transform: capitalize;
  font-style: normal;
}

/* ── Contact form climate note ───────────────────────────────────────────── */
.cf-climate-note {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: #eef3f9;
  border-left: 3px solid var(--blue);
  font-size: 0.8rem;
  color: var(--gray-2);
  line-height: 1.6;
}
.cf-climate-note strong { color: var(--blue); }

/* ── Footer link button ──────────────────────────────────────────────────── */
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-link-btn:hover { color: var(--blue); }

/* ── Disclaimer modal ────────────────────────────────────────────────────── */
.disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.disclaimer-box {
  background: var(--white);
  max-width: 560px;
  width: 100%;
  padding: 2rem 2rem 1.75rem;
  position: relative;
  border-top: 4px solid var(--blue);
}
.disclaimer-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-3);
  padding: 0.25rem 0.5rem;
}
.disclaimer-close:hover { color: var(--black); }
.disclaimer-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 1rem;
}
.disclaimer-body {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--gray-2);
}
.disclaimer-body a { color: var(--blue); }

/* ── Cookie notice banner ────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  color: #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  z-index: 1900;
  font-size: 0.8rem;
  line-height: 1.5;
}
.cookie-banner__text { margin: 0; }
.cookie-banner__text strong { color: var(--white); }
.cookie-banner__text a { color: #a0bcd8; text-decoration: underline; }
.cookie-banner__btn {
  flex-shrink: 0;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 0.45rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.cookie-banner__btn:hover { background: var(--blue-light); }
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; }
}

/* ── Contact form field note & optional label ────────────────────────────── */
.cf-field-note {
  font-size: 0.72rem;
  color: var(--gray-3);
  margin-top: 0.4rem;
  line-height: 1.5;
  font-style: italic;
}
.cf-optional {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--gray-3);
  letter-spacing: 0.05em;
  margin-left: 0.35rem;
  text-transform: uppercase;
}

/* ── Contact form image upload ───────────────────────────────────────────── */
.cf-drop-zone {
  border: 2px dashed var(--gray-4);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 0.5rem;
}
.cf-drop-zone--over,
.cf-drop-zone:hover { border-color: var(--blue); background: #f0f5ff; }
.cf-drop-text { font-size: 0.82rem; color: var(--gray-3); margin-top: 0.5rem; }
.cf-browse-btn {
  background: none; border: none; color: var(--blue); cursor: pointer;
  font-size: inherit; text-decoration: underline; padding: 0;
}
.cf-camera-btn {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--white); border: 1px solid var(--gray-4);
  padding: 0.5rem 1rem; font-size: 0.8rem; cursor: pointer;
  color: var(--gray-2); margin-bottom: 0.75rem; transition: border-color 0.2s;
}
.cf-camera-btn:hover { border-color: var(--blue); color: var(--blue); }
.cf-thumbnails { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.cf-thumb { position: relative; width: 72px; height: 72px; }
.cf-thumb img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--gray-4); }
.cf-thumb-remove {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px;
  background: #c0392b; color: #fff; border: none; border-radius: 50%;
  font-size: 0.7rem; cursor: pointer; line-height: 18px; padding: 0; text-align: center;
}

/* ── Push bell ───────────────────────────────────────────────────────────── */
/* push bell styles are handled inline by admin-push.js */

/* ── Services menu button & dropdown ────────────────────────────────────── */
.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  overflow: visible;
  z-index: 20;
}

.services-btn-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0,0,0,0.65);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
  border-bottom: none;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  position: relative;
  z-index: 10;
  margin-bottom: 6px;
}
.services-menu-btn:hover { background: var(--blue); border-color: var(--blue); }
.services-menu-btn[aria-expanded="true"] { background: var(--blue); border-color: var(--blue); }

.banner-badge {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.75rem 2.5rem;
  white-space: nowrap;
  position: relative;
  z-index: 10;
}

.services-dropdown {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 260px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
  border-top: 3px solid var(--blue);
  z-index: 200;
  display: none;
  margin-bottom: 0.35rem;
}
.services-dropdown.is-open { display: block; }
.services-dropdown__list { list-style: none; margin: 0; padding: 0.4rem 0; }
.services-dropdown__link {
  display: block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--gray-1);
  text-decoration: none;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #f0ede8;
  transition: background 0.15s, color 0.15s;
}
.services-dropdown__link:last-child { border-bottom: none; }
.services-dropdown__link:hover { background: #eef3fa; color: var(--blue); padding-left: 1.75rem; }

@media (max-width: 640px) {
  .banner-badge { font-size: 0.75rem; padding: 0.6rem 1.5rem; letter-spacing: 0.18em; }
  .services-menu-btn { font-size: 0.72rem; padding: 0.65rem 1.1rem; margin-bottom: 6px; }
  .services-dropdown {
    bottom: auto;
    top: calc(100% + 0.35rem);
    margin-bottom: 0;
    min-width: 220px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    border-top: none;
    border-bottom: 3px solid var(--blue);
  }
}
