:root {
  color-scheme: light;
  --ink: #1c211d;
  --muted: #5d655d;
  --line: #dbe2d6;
  --paper: #fffdf7;
  --soft: #f4f7ed;
  --brand: #26734d;
  --brand-dark: #16492f;
  --accent: #c85632;
  --gold: #f4c95d;
  --shadow: 0 18px 45px rgba(30, 45, 32, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(170px, 23vw, 270px);
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 14px;
}

.nav-links a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.nav-links .nav-button {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-weight: 700;
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  padding: 80px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(90deg, rgba(18, 39, 25, 0.88), rgba(31, 67, 43, 0.56)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='760' viewBox='0 0 1200 760'%3E%3Crect width='1200' height='760' fill='%23dfe8d5'/%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='3'%3E%3Cpath d='M120 250h220v170H120zM430 180h260v210H430zM780 250h260v170H780z'/%3E%3Cpath d='M150 280h160M150 320h160M150 360h90M460 220h200M460 265h165M460 310h190M815 285h180M815 330h130M815 375h160'/%3E%3C/g%3E%3Ccircle cx='600' cy='520' r='76' fill='%23c85632' fill-opacity='.82'/%3E%3Ccircle cx='470' cy='540' r='48' fill='%23f4c95d' fill-opacity='.9'/%3E%3Ccircle cx='730' cy='535' r='52' fill='%2326734d' fill-opacity='.8'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 760px;
  color: white;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.profile-hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
}

.hero-copy,
.page-hero p,
.profile-hero p {
  max-width: 720px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
}

.search-panel {
  width: min(100%, 680px);
  margin-top: 34px;
  padding: 14px;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.search-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

input,
button {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
}

button,
.card-actions a,
.provider-card > a,
.contact-box a {
  border: 0;
  background: var(--brand);
  color: white;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.popular-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.popular-links a,
.filter-pill {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.section {
  padding: 70px clamp(18px, 4vw, 56px);
}

.muted {
  background: var(--soft);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.area-grid,
.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.area-tile,
.provider-card,
.details-panel,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 26px rgba(30, 45, 32, 0.06);
}

.area-tile {
  display: grid;
  gap: 12px;
  min-height: 150px;
  padding: 22px;
  text-decoration: none;
}

.area-tile span {
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
}

.area-tile strong {
  color: var(--muted);
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.split p {
  color: var(--muted);
  font-size: 17px;
}

.page-hero,
.profile-hero {
  padding: 78px clamp(18px, 4vw, 56px);
  background: linear-gradient(135deg, #17462f, #2e7050);
  color: white;
}

.page-hero.compact {
  padding-bottom: 58px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.toolbar .filter-pill {
  border-color: var(--line);
  color: var(--muted);
}

.toolbar .active {
  background: var(--brand);
  color: white;
}

.listings {
  display: grid;
  gap: 18px;
  max-width: 1080px;
}

.provider-card {
  padding: 22px;
}

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

.wide {
  width: 100%;
}

.card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff3c8;
  color: #7a5317;
  font-size: 12px;
  font-weight: 900;
}

dl {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.provider-card > a,
.card-actions a,
.contact-box a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

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

.card-actions a:last-child,
.contact-box a:last-child {
  background: var(--accent);
}

.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: end;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.rating-row span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.contact-box {
  display: grid;
  gap: 12px;
  padding: 22px;
  color: var(--ink);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
}

.menu-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.menu-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.menu-list span {
  font-weight: 900;
}

.menu-list small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 920px) {
  .area-grid,
  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-hero,
  .profile-layout,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .brand-logo {
    width: min(230px, 78vw);
    height: 42px;
  }

  .hero {
    min-height: 620px;
  }

  h1 {
    font-size: 40px;
  }

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

  .area-grid,
  .provider-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
