:root {
  --navy: #082b57;
  --blue: #005a9c;
  --light-blue: #eaf5fc;
  --white: #ffffff;
  --text: #0c1830;
  --muted: #435266;
  --border: #d8e4ee;
  --shadow: 0 16px 40px rgba(8,43,87,0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.1;
  margin-top: 0;
}

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

a:hover { text-decoration: underline; }

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
  text-align: center;
}

/* Header */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.logo strong,
.footer-logo strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 0.9;
  display: block;
}

.logo small,
.footer-logo small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.logo-mark {
  font-size: 2.2rem;
  color: var(--blue);
  line-height: 1;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--text);
}

/* Hero */

.home-hero {
  min-height: 515px;
  background-image: url("../images/sonoma-county-cryotherapy-guide-hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  min-height: 515px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.68) 36%, rgba(255,255,255,0.08) 76%);
}

.home-hero-content {
  max-width: 520px;
}

.hero-kicker {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  color: var(--navy);
  margin: 0 0 4px;
}

.home-hero h1 {
  font-size: clamp(3rem, 6vw, 5.1rem);
  margin-bottom: 18px;
}

.home-hero p {
  font-size: 1.12rem;
  margin-bottom: 28px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 24px;
  border-radius: 3px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn:hover { text-decoration: none; }

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

.btn-secondary {
  color: var(--navy);
  border-color: var(--blue);
  background: transparent;
}

/* Intro */

.intro-section {
  padding: 48px 0 36px;
}

.intro-section h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.intro-section p {
  color: var(--text);
  max-width: 660px;
  margin: 0 auto;
}

/* Cards */

.card-section {
  padding: 30px 0 72px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.info-card {
  min-height: 300px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 34px 26px 28px;
  text-align: center;
  background: var(--white);
}

.card-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 58px;
  height: 58px;
  stroke: var(--blue);
  stroke-width: 1.55;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.info-card p {
  font-size: 0.96rem;
  margin-bottom: 22px;
}

.info-card a {
  font-weight: 700;
}

/* Map Section */

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--blue);
  font-size: 0.85rem;
}

.map-section {
  padding: 58px 0;
  background:
    linear-gradient(180deg, rgba(234,245,252,0.96), rgba(234,245,252,0.94)),
    var(--light-blue);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.map-section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 18px;
}

.map-section p {
  color: var(--text);
  max-width: 470px;
}

.map-section .btn {
  margin-top: 14px;
}

.map-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-card svg {
  width: min(420px, 100%);
  height: auto;
}

.map-card {
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(127,174,214,0.35);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(8,43,87,0.10);
}

.map-card img {
  width: 100%;
  max-width: 440px;
  display: block;
  margin: 0 auto;
}

.county-shape {
  fill: rgba(255,255,255,0.28);
  stroke: #7faed6;
  stroke-width: 2;
}

.map-dot {
  fill: var(--navy);
}

.map-card text {
  font-size: 14px;
  font-family: Arial, sans-serif;
  fill: var(--text);
}

/* Inner Page Styles */

.page-hero {
  padding: 88px 0 74px;
  background: linear-gradient(180deg, var(--light-blue), var(--white));
  text-align: center;
}

.page-hero .hero-text {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.content-section {
  padding: 78px 0;
  background: var(--white);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 54px;
  align-items: start;
}

.main-content {
  max-width: 760px;
}

.main-content h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  margin-top: 42px;
  margin-bottom: 14px;
}

.main-content h2:first-child {
  margin-top: 0;
}

.main-content p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 18px;
}

.side-card {
  background: var(--light-blue);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  position: sticky;
  top: 110px;
}

.side-card p {
  color: var(--muted);
}

.text-link {
  display: block;
  font-weight: 700;
  margin-top: 14px;
}

.cta-section {
  padding: 78px 0;
  background: var(--light-blue);
}

.cta-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--navy);
  color: var(--white);
  padding: 52px;
  text-align: center;
  border-radius: 10px;
}

.cta-box h2,
.cta-box .eyebrow {
  color: var(--white);
}

.cta-box p {
  color: rgba(255,255,255,0.78);
  max-width: 680px;
  margin: 0 auto 28px;
}

.cta-box .btn-primary {
  background: var(--white);
  color: var(--navy);
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 42px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logo {
  color: var(--white);
}

.site-footer p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--white);
}

.copyright {
  text-align: center;
  margin: 24px 0 0;
}

/* Provider Section */

.provider-section {
  padding: 70px 0;
  background: #f7fbff;
  text-align: center;
  border-top: 1px solid var(--border);
}

.provider-section p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.provider-section h2 {
  margin-bottom: 18px;
}

/* Footer Credit */

.footer-credit {
  text-align: center;
  margin-top: 26px;
}

.footer-credit p {
  color: rgba(255,255,255,0.78);
  margin: 6px 0;
}

.footer-credit a {
  color: var(--white);
  font-weight: 700;
}

/* Responsive */

@media (max-width: 920px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

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

  .split-section,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .home-hero,
  .hero-overlay {
    min-height: 560px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(255,255,255,0.94), rgba(255,255,255,0.72));
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .logo strong,
  .footer-logo strong {
    font-size: 1.7rem;
  }

  .home-hero h1 {
    font-size: 3rem;
  }

  .hero-kicker {
    font-size: 1.55rem;
  }

  .cta-box {
    padding: 36px 24px;
  }
}
