:root {
  --pine: #1d342e;
  --pine-2: #253f38;
  --ink: #1f2723;
  --muted: #5c665f;
  --paper: #f4efe7;
  --paper-2: #ebe3d7;
  --line: #d8cec1;
  --blue: #2f819e;
  --blue-dark: #22667f;
  --card: rgba(255,255,255,.74);
  --shadow: 0 16px 38px rgba(41, 49, 44, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,.9), transparent 28%),
    linear-gradient(rgba(244,239,231,.88), rgba(244,239,231,.88)),
    url("images/footer-forest.jpg") bottom center / 100% auto no-repeat,
    var(--paper);
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(90deg, rgba(40,40,40,.05) 1px, transparent 1px),
    linear-gradient(rgba(40,40,40,.04) 1px, transparent 1px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(29,52,46,.97);
  color: #f7f1e8;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.site-header.is-scrolled { box-shadow: 0 10px 24px rgba(0,0,0,.18); }

.header-inner {
  width: min(1120px, calc(100% - 48px));
  min-height: 90px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-logo {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.72);
  box-shadow: 0 2px 0 rgba(0,0,0,.2);
}

.brand-text {
  text-transform: uppercase;
  letter-spacing: .02em;
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.brand-text span:last-child { color: #83b5ca; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: .96rem;
}

.site-nav a { opacity: .94; }
.site-nav a:hover { color: #cde8f0; }

.submit-place {
  border: 1px solid rgba(255,255,255,.62);
  padding: 12px 18px;
  border-radius: 4px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}

.submit-place:hover { background: rgba(255,255,255,.1); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #f7f1e8;
  font-size: 1.7rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero-section {
  padding: 0 0 34px;
  background: linear-gradient(180deg, #f7f3ea 0%, rgba(247,243,234,.6) 82%, transparent 100%);
}

.hero-wrap {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  min-height: 360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 48% 52%;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 58px 0 38px;
}

.hero-copy h1,
.section-heading h2,
.map-heading-mobile h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  letter-spacing: -.045em;
  color: #203127;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: .98;
}

.hero-copy p {
  max-width: 480px;
  margin: 0 0 28px;
  color: #2f3732;
  font-size: 1.15rem;
  line-height: 1.62;
}

.primary-btn,
.small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(31,86,103,.28);
  font-weight: 700;
}

.primary-btn { padding: 16px 30px; font-size: 1rem; }
.small-btn { padding: 11px 17px; font-size: .85rem; }

.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 66%;
  height: 360px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 22%, black 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 22%, black 100%);
}

.hero-art img { width: 100%; height: 100%; object-fit: cover; }

.map-section,
.content-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.map-card {
  background: rgba(221,213,203,.74);
  border: 1px solid rgba(118,103,85,.22);
  border-radius: 4px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.4fr .65fr 1fr 1fr 1fr 1.2fr;
  gap: 9px;
  margin-bottom: 14px;
}

.filter-bar button,
.search-box {
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,.75);
  color: #2c3832;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font: inherit;
  white-space: nowrap;
}

.filter-bar button i:last-child { margin-left: auto; font-size: .75rem; }

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}

.map-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 14px;
}

.map-filters { display: grid; gap: 14px; }

.filter-group {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
}

.filter-group h3 {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .97rem;
}

.filter-group h3 i:last-child { margin-left: auto; font-size: .72rem; }

.filter-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 11px 0;
  color: #3a423d;
  font-size: .9rem;
}

.filter-group input { accent-color: var(--blue); }

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 7px;
  background: #c9dce2;
  color: #39505a;
  font-size: .68rem;
  font-weight: 700;
  margin-left: 6px;
}

.map-image-wrap {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d6dfcf;
}

.map-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.map-marker {
  position: absolute;
  width: 42px;
  height: 50px;
  display: grid;
  place-items: center;
  color: white;
  background: #31473e;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 6px 12px rgba(0,0,0,.2);
  font-weight: 800;
  font-size: 1.4rem;
}

.map-marker > *,
.map-marker { line-height: 1; }
.map-marker i,
.map-marker { }
.map-marker i { transform: rotate(45deg); font-size: 1rem; }
.map-marker:not(:has(i)) { color: transparent; }
.map-marker:not(:has(i))::after { content: "A"; color: white; transform: rotate(45deg); }
.marker-a { left: 32%; top: 12%; }
.marker-b { right: 18%; top: 27%; }
.marker-c { left: 43%; bottom: 18%; }

.content-section { padding: 30px 0 0; }
.blog-section { padding-bottom: 70px; }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2rem);
}

.section-heading a {
  color: #0f5366;
  font-weight: 600;
}

.location-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.location-card,
.blog-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(118,103,85,.25);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(44, 49, 45, .08);
  backdrop-filter: blur(4px);
}

.location-card img { width: 100%; height: 145px; object-fit: cover; }
.blog-card img { width: 100%; height: 160px; object-fit: cover; }

.card-body { padding: 17px 18px 20px; }

.card-body h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.card-body p {
  margin: 8px 0;
  color: #4e5851;
  font-size: .9rem;
  line-height: 1.4;
}

.card-body span { margin-left: 12px; }
.blog-card .card-body { min-height: 210px; }
.blog-card .small-btn { margin-top: 12px; }

.site-footer {
  color: #f7f1e8;
  background: linear-gradient(180deg, rgba(29,52,46,.94), #172822);
  padding: 42px 0 20px;
}

.footer-inner,
.footer-bottom {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
}

.site-footer p { max-width: 430px; color: rgba(247,241,232,.78); line-height: 1.55; }

.footer-links { display: grid; gap: 10px; }
.footer-links a:hover,
.social-links a:hover { color: #9bd3e3; }

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 13px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  font-size: 1.1rem;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(247,241,232,.68);
  font-size: .88rem;
}

.map-heading-mobile { display: none; }

@media (max-width: 900px) {
  .header-inner { min-height: 86px; width: min(100% - 32px, 760px); }
  .brand-logo { width: 62px; height: 62px; }
  .brand-text { font-size: 1.25rem; }
  .site-nav,
  .submit-place { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.is-open { display: block; }

  .hero-wrap,
  .map-section,
  .content-section,
  .footer-inner,
  .footer-bottom,
  .mobile-nav { width: min(100% - 34px, 680px); }

  .hero-wrap {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-art {
    position: relative;
    order: 1;
    width: calc(100% + 34px);
    height: 270px;
    margin: 0 -17px;
    mask-image: linear-gradient(180deg, black 0%, black 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, black 72%, transparent 100%);
  }

  .hero-copy {
    order: 2;
    padding: 28px 0 26px;
  }

  .hero-copy h1 { font-size: clamp(2.35rem, 12vw, 3.75rem); }
  .hero-copy p { font-size: 1.02rem; line-height: 1.58; }

  .map-heading-mobile { display: block; margin-bottom: 10px; }
  .map-card { padding: 0; background: transparent; border: 0; box-shadow: none; }
  .filter-bar { grid-template-columns: 1fr 1fr 1fr; gap: 0; margin-bottom: 14px; }
  .filter-bar button,
  .search-box { border-radius: 0; min-height: 48px; }
  .desktop-only { display: none !important; }
  .search-box { grid-column: 1 / 2; grid-row: 1; }
  .filter-bar button:nth-child(2) { grid-column: 2 / 3; grid-row: 1; }
  .filter-bar button:nth-child(3) { grid-column: 3 / 4; grid-row: 1; }
  .filter-bar button:first-child { display: none; }
  .map-layout { display: block; }
  .map-filters { display: none; }
  .map-image-wrap { min-height: 165px; border-radius: 0; }

  .location-grid,
  .blog-grid { grid-template-columns: 1fr; gap: 12px; }

  .location-card {
    display: grid;
    grid-template-columns: 34% 1fr;
  }

  .location-card img { height: 100%; min-height: 115px; }
  .location-card .card-body { padding: 10px 14px; }
  .location-card .card-body h3 { font-size: 1.06rem; }
  .location-card .card-body p { font-size: .82rem; }

  .blog-card img { height: 165px; }
  .blog-card .card-body { min-height: 0; }

  .section-heading { align-items: baseline; }
  .section-heading a { font-size: .92rem; }

  .footer-inner { grid-template-columns: 1fr; }
  .social-links { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .header-inner { width: calc(100% - 24px); }
  .brand { gap: 10px; }
  .brand-logo { width: 58px; height: 58px; }
  .brand-text { font-size: 1.12rem; }
  .hero-art { height: 250px; }
  .primary-btn { width: max-content; padding: 15px 28px; }
  .filter-bar { font-size: .88rem; }
  .filter-bar button,
  .search-box { padding: 0 10px; }
  .card-body span { margin-left: 6px; }
}
