/* ── reset ─────────────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: rgba(157, 195, 52, 0.18);
  overflow-x: hidden;
}
/* Viewport-pinned forest backdrop. Uses a real <div> instead of a pseudo.
   iOS Safari and some Android Chrome viewports treat position:fixed pseudos
   inconsistently, sometimes scaling them to document height instead of viewport.
   With a real element + explicit top/left/width/height + translateZ(0)
   (force GPU layer), every browser treats this as truly viewport-anchored.
   Source: "Pinus sylvestris forest Gietrzwałd" by Crusier, Wikimedia Commons,
   CC-BY 3.0. https://commons.wikimedia.org/wiki/File:Pinus_sylvestris_forest_Gietrzwa%C5%82d.JPG */
.background-fixed {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  height: 100dvh; /* dynamic vh, covers iOS URL-bar resize */
  z-index: -1;
  background: url('/static/img/forest-sm.jpg') center center / cover no-repeat;
  background: image-set(
      url('/static/img/forest-sm.avif') type('image/avif'),
      url('/static/img/forest-sm.jpg') type('image/jpeg')
    ) center center / cover no-repeat;
  transform: translateZ(0); /* force compositing layer */
  will-change: transform;
  pointer-events: none;
}
@media (min-width: 900px) {
  .background-fixed {
    background-image: url('/static/img/forest.jpg');
    background-image: image-set(
      url('/static/img/forest.avif') type('image/avif'),
      url('/static/img/forest.jpg') type('image/jpeg')
    );
  }
}
/* Notched devices (iPhone X+, foldables): respect safe-area insets on
   anything fixed or full-bleed. */
@supports (padding: max(0px)) {
  .site-header {
    padding-left: max(var(--pad), env(safe-area-inset-left));
    padding-right: max(var(--pad), env(safe-area-inset-right));
  }
  .site-footer {
    padding-left: max(var(--pad), env(safe-area-inset-left));
    padding-right: max(var(--pad), env(safe-area-inset-right));
    padding-bottom: max(1.75rem, env(safe-area-inset-bottom));
  }
  .intro { padding-left: max(var(--pad), env(safe-area-inset-left));
          padding-right: max(var(--pad), env(safe-area-inset-right)); }
  .to-top {
    right: max(clamp(1rem, 2vw, 1.75rem), env(safe-area-inset-right));
    bottom: max(clamp(1rem, 2vw, 1.75rem), env(safe-area-inset-bottom));
  }
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a, button, [role="button"], summary, label { touch-action: manipulation; }
button {
  font: inherit; cursor: pointer; border: 0; background: none; color: inherit;
  -webkit-appearance: none; appearance: none;
}
ul, ol { list-style: none; }
h1,h2,h3,h4 {
  font-family: 'Montserrat', 'Inter', system-ui, sans-serif;
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--dark);
}
input, select, textarea {
  font: inherit; color: inherit;
  /* iOS Safari auto-zooms when input font is <16px. Keep at 1rem (=16px). */
  -webkit-appearance: none; appearance: none;
  border-radius: 0; /* iOS rounds inputs by default; we set our own */
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
         background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
         background-size: 6px 6px, 6px 6px;
         background-repeat: no-repeat;
         padding-right: 2.25rem; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ── tokens ────────────────────────────────────────────────────────────────── */
:root {
  --primary:      #9dc334;
  --primary-dark: #7da329;
  --dark:         #041e1f;
  --dark-2:       #0a2e2e;
  --ink:          #2c2c2c;
  --muted:        #6b7570;
  --bg:           #f8f9f4;
  --card:         #ffffff;
  --line:         #e3e8de;
  --shadow-sm:    0 1px 3px rgba(4, 30, 31, 0.06);
  --shadow-md:    0 6px 20px rgba(4, 30, 31, 0.08);
  --shadow-lg:    0 18px 48px rgba(4, 30, 31, 0.18);
  --radius:       12px;
  --maxw:         1180px;
  --pad:          clamp(1rem, 4vw, 2rem);
  --t-fast:       120ms;
  --t-base:       220ms;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.container.narrow { max-width: 740px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em;
       background: #eef2e6; padding: 0.12em 0.4em; border-radius: 4px; }

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

/* ── header / nav ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 249, 244, 0.82);
  backdrop-filter: saturate(160%) blur(3px);
  -webkit-backdrop-filter: saturate(160%) blur(3px);
  box-shadow: 0 1px 0 rgba(227, 232, 222, 0.35), 0 6px 18px rgba(4, 30, 31, 0.04);
}
.nav {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.6rem var(--pad);
  min-height: 56px;
}
.brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em;
  color: var(--dark); text-transform: uppercase;
}
.brand::before {
  content: ""; display: inline-block;
  width: 0.7rem; height: 0.7rem; margin-right: 0.55rem;
  background: var(--primary); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(157, 195, 52, 0.18);
  vertical-align: middle;
}
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; align-items: center; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
  transition: color var(--t-fast);
  min-height: 44px; display: inline-flex; align-items: center;
}
@media (hover: hover) { .nav-links a:hover { color: var(--primary-dark); } }
.nav-action {
  padding: 0.55rem 1.1rem; border-radius: 999px;
  background: var(--primary); color: var(--dark) !important; font-weight: 700;
  font-family: 'Montserrat', sans-serif; letter-spacing: 0.03em;
}
@media (hover: hover) { .nav-action:hover { background: var(--primary-dark); } }
.nav-action:active { background: var(--primary-dark); }
.nav-badge {
  display: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--primary-dark);
  background: rgba(157, 195, 52, 0.12);
  padding: 0.25rem 0.65rem; border-radius: 999px;
}
.nav-toggle {
  display: flex; flex-direction: column; gap: 4px;
  margin-left: auto; padding: 0.6rem;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
}
.nav-toggle:active { background: rgba(157, 195, 52, 0.18); }
.nav-toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 1px; }

/* Mobile-first nav drawer */
.nav-links {
  position: absolute; top: 100%; right: var(--pad); left: var(--pad);
  flex-direction: column; align-items: stretch; gap: 0;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.5rem; box-shadow: var(--shadow-md);
  transform: translateY(-6px); opacity: 0; pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.nav-links li a {
  display: flex; align-items: center; width: 100%;
  padding: 0.95rem 1.1rem; min-height: 48px;
  border-radius: 999px;
}
.nav-links li a:active { background: rgba(157, 195, 52, 0.12); }
.nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-action { text-align: center; margin: 0.4rem 0.25rem; min-height: 48px; }

/* Desktop nav override */
@media (min-width: 820px) {
  .nav-toggle { display: none; }
  .nav-badge { display: inline-flex; align-items: center; }
  .nav-links {
    position: static;
    flex-direction: row; align-items: center; gap: 1.5rem;
    background: transparent; border: 0; border-radius: 0;
    padding: 0; box-shadow: none;
    transform: none; opacity: 1; pointer-events: auto;
  }
  .nav-links li a {
    display: inline-flex; width: auto;
    padding: 0.4rem 0.95rem; min-height: 44px;
    border-radius: 999px;
    transition: background var(--t-fast), color var(--t-fast);
  }
  .nav-links li a:hover { background: rgba(157, 195, 52, 0.14); }
  .nav-action { margin: 0; padding: 0.55rem 1.1rem; min-height: auto; }
}

/* ── intro ──────────────────────────────────────────────────────────────────── */
.intro {
  position: relative;
  padding: clamp(4rem, 11vw, 7rem) var(--pad) clamp(4rem, 9vw, 6rem);
  background: rgba(4, 30, 31, 0.62);
  color: #f3f7e8;
  overflow: hidden;
  backdrop-filter: saturate(160%) blur(1px);
  -webkit-backdrop-filter: saturate(160%) blur(1px);
}
.intro::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 50% at 20% 20%, rgba(157, 195, 52, 0.22), transparent 65%),
    radial-gradient(60% 45% at 90% 80%, rgba(157, 195, 52, 0.10), transparent 65%);
  pointer-events: none;
}
.intro-inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.intro .section-label { color: var(--primary); }
.intro h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
  letter-spacing: -0.03em; line-height: 1.05;
  color: #f3f7e8;
}
.intro h1 .accent { color: var(--primary); display: block; }
.intro .lead {
  margin-top: 1.5rem; max-width: 38rem;
  color: rgba(243, 247, 232, 0.78);
  font-size: clamp(1.1rem, 2.1vw, 1.3rem);
}
.intro-action {
  margin-top: 2rem;
  display: flex; flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}
.action-buttons {
  margin-top: 1.5rem;
  display: flex; flex-direction: column;
  gap: 0.75rem; align-items: center;
}
.intro-compact { padding-top: clamp(3rem, 8vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.action-section h2 { margin-bottom: 0.5rem; }
.action-section-slim { padding: 2px 0; background: transparent; border-top: 0; }
.credential-strip {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.7rem, 1.4vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  line-height: 1.2;
  margin: 0;
}
.intro-stats {
  margin-top: 3.5rem;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  max-width: 40rem;
}
.intro-stats li {
  display: grid;
  grid-template-areas: "n s" "l l";
  grid-template-columns: auto 1fr;
  align-items: baseline;
  padding-left: 1rem; border-left: 2px solid rgba(157, 195, 52, 0.4);
}
.intro-stats strong {
  grid-area: n;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  color: var(--primary); font-variant-numeric: tabular-nums; line-height: 1;
}
.intro-stats span:not(.stat-label) {
  grid-area: s;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem; color: var(--primary); margin-left: 0.15rem; font-weight: 700;
}
.intro-stats .stat-label {
  grid-area: l; font-size: 0.85rem; color: rgba(243, 247, 232, 0.65);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500;
  margin-top: 0.25rem;
}

/* ── button ───────────────────────────────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1.05rem 1.75rem;
  min-height: 48px; /* Apple HIG + Material minimum tap target */
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1rem;
  letter-spacing: 0.04em;
  transition: transform var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.button:active { transform: translateY(1px); }
.button-primary {
  background: var(--primary); color: var(--dark);
  box-shadow: 0 8px 22px rgba(157, 195, 52, 0.32);
}
.button-primary:hover { background: var(--primary-dark); box-shadow: 0 10px 26px rgba(125, 163, 41, 0.4); }
.button-outline {
  background: rgba(255, 255, 255, 0.08); color: #f3f7e8;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.button-outline:hover { background: rgba(255, 255, 255, 0.14); }
.button-secondary {
  background: var(--card); color: var(--dark);
  border: 1px solid var(--line);
}
.button-secondary:hover { border-color: var(--primary); color: var(--primary-dark); }
.button-full { width: 100%; }

/* ── section base ──────────────────────────────────────────────────────────── */
.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  scroll-margin-top: 4.5rem; /* sticky header offset for anchor jumps */
  background: rgba(248, 249, 244, 0.76);
  backdrop-filter: saturate(150%) blur(3px);
  -webkit-backdrop-filter: saturate(150%) blur(3px);
  border-top: 1px solid rgba(227, 232, 222, 0.5);
}
.section-muted {
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: saturate(150%) blur(3px);
  -webkit-backdrop-filter: saturate(150%) blur(3px);
  border-top: 1px solid rgba(227, 232, 222, 0.5);
  border-bottom: 1px solid rgba(227, 232, 222, 0.5);
}
.section h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-lead { color: var(--dark); margin-top: 0.5rem; margin-bottom: 2.5rem; font-size: 1.05rem; max-width: 36rem; }
.section > .container > .muted { color: var(--dark); }

.section-header {
  margin-bottom: 2.5rem; max-width: 42rem;
}
.section-header.center { margin-left: auto; margin-right: auto; }

/* ── services ──────────────────────────────────────────────────────────────── */
.services-grid {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
}
.service-card {
  flex: 1 1 280px;
  min-width: 0;
}
@media (min-width: 980px) {
  .services-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
}
.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.service-card::before {
  content: ""; position: absolute; left: 1.5rem; top: 1.5rem;
  width: 2.5rem; height: 0.35rem; background: var(--primary); border-radius: 2px;
}
.service-card.featured { border-color: var(--primary); box-shadow: var(--shadow-md); }
.service-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card h3 {
  font-size: 1.3rem; margin: 1.5rem 0 0.5rem;
}
.service-card p { color: var(--muted); margin-bottom: 1rem; }
.service-card ul { display: grid; gap: 0.4rem; font-size: 0.92rem; color: var(--ink); }
.service-card ul li {
  padding-left: 1.25rem; position: relative;
}
.service-card ul li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.5rem; height: 0.5rem; background: var(--primary); border-radius: 999px;
}
.service-card .badge {
  position: absolute; top: -0.7rem; right: 1rem;
  background: var(--primary); color: var(--dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem; border-radius: 999px;
  text-transform: uppercase;
}

/* ── careers ───────────────────────────────────────────────────────────────── */
.offer-grid {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  margin-top: 1.5rem;
}
.offer-item {
  flex: 1 1 280px;
  min-width: 0;
}
.offer-item h3 {
  font-size: 1.1rem; margin-bottom: 0.5rem;
}
.offer-item p { color: var(--muted); font-size: 0.95rem; }
.fit-list {
  display: grid; gap: 0.75rem;
  margin-top: 1rem;
  list-style: none; padding: 0;
}
.fit-list li {
  position: relative; padding-left: 1.75rem;
  font-size: 1.05rem; line-height: 1.5;
}
.fit-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 900; font-size: 1.1rem;
}

/* ── careers apply form ────────────────────────────────────────────────────── */
.careers-apply-form h2 {
  margin-top: 2.5rem; margin-bottom: 0.75rem;
  font-size: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}
.careers-apply-form h2:first-of-type { margin-top: 0.5rem; }
.apply-group {
  border: 0;
  padding: 0;
  margin-bottom: 1.25rem;
}
.apply-group legend {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--muted); text-transform: uppercase;
  padding: 0;
  margin-bottom: 0.5rem;
}
.apply-group label { margin-bottom: 0.5rem; }
.check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  cursor: pointer;
}
.check input[type="checkbox"] {
  width: 1.25rem; height: 1.25rem;
  min-width: 1.25rem;
  margin-top: 0.15rem;
  accent-color: var(--primary);
  cursor: pointer;
}
.check span {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}
.check.legal { margin-bottom: 0.5rem; }
.check.legal span { font-size: 0.9rem; }
.careers-apply-form input[type="file"] {
  padding: 0.5rem 0;
  cursor: pointer;
}

/* ── gallery ───────────────────────────────────────────────────────────────── */
.gallery {
  display: grid; gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-auto-flow: dense;
}
@media (min-width: 600px) { .gallery { gap: 0.85rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.gallery-item {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--card);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 320ms ease;
}
@media (hover: hover) {
  .gallery-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .gallery-item:hover img { transform: scale(1.04); }
}
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .gallery-item.wide { grid-column: span 1; aspect-ratio: 4 / 3; } }
#about .gallery-item.wide { display: block; max-width: 400px; margin: 1.5rem auto; aspect-ratio: 3 / 4; }
#about .gallery-item.wide img { object-position: top center; }

/* ── about (mobile-first) ──────────────────────────────────────────────────── */
.about-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 820px) {
  .about-grid { gap: 3rem; grid-template-columns: 1.5fr 1fr; }
}
.about-grid p { margin-top: 1rem; color: var(--ink); }
.about-grid p.muted { color: var(--muted); margin-top: 0.5rem; }
.features {
  margin: 1.75rem 0;
  display: grid; gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.features li {
  font-weight: 600; font-size: 0.95rem;
  padding-left: 1.5rem; position: relative;
}
.features li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--primary); font-weight: 800; font-size: 1.1rem;
}
/* ── reviews ───────────────────────────────────────────────────────────────── */
.rating { display: flex; gap: 0.85rem; align-items: center; margin-bottom: 2rem; }
.stars { color: #f5b400; font-size: 1.25rem; letter-spacing: 0.12em; }
.reviews-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.review-card {
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.review-card .stars { font-size: 1rem; margin-bottom: 0.75rem; }
.review-card blockquote { color: var(--ink); font-style: italic; line-height: 1.55; }
.review-card cite {
  display: block; margin-top: 1rem; color: var(--muted);
  font-size: 0.9rem; font-style: normal; font-weight: 600;
}
.review-skeleton {
  height: 9rem;
  background:
    linear-gradient(90deg, #eef2e6 0%, #f4f7ed 50%, #eef2e6 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-color: transparent;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.review-sources {
  margin-top: 2rem; display: flex; gap: 0.85rem; flex-wrap: wrap;
}
.review-sources a {
  color: var(--ink); font-size: 0.92rem; font-weight: 600;
  padding: 0.55rem 1rem; background: var(--card);
  border: 1px solid var(--line); border-radius: 999px;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.review-sources a:hover { color: var(--primary-dark); border-color: var(--primary); }

/* ── service area / map (mobile-first) ─────────────────────────────────────── */
.area-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 820px) {
  .area-grid { gap: 2.5rem; grid-template-columns: 1fr 1.35fr; }
}
.area-list {
  margin: 1.25rem 0;
  display: grid; gap: 0.4rem;
  grid-template-columns: repeat(2, 1fr);
}
.area-list li {
  color: var(--ink); font-weight: 500;
  padding-left: 1.25rem; position: relative;
}
.area-list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.45rem; height: 0.45rem; background: var(--primary); border-radius: 999px;
}
.map-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ── calculator ────────────────────────────────────────────────────────────── */
.calc {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 1.75rem;
}
.calc label {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: max-content;
}
.calc label,
.contact-form label {
  display: flex; flex-direction: column; gap: 0.45rem;
}
.calc label span,
.contact-form label > span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--muted); text-transform: uppercase;
}
.calc select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); border: 1px solid var(--line);
  color: var(--ink); border-radius: var(--radius);
  padding: 0.95rem 1rem; font-size: 1rem;
  min-height: 48px; width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.calc select:hover,
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover { border-color: #c0cab8; }
.calc select:focus,
.contact-form *:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(157, 195, 52, 0.18);
  outline: none;
}
.calc-result {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #f3f7e8;
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}
.calc-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; color: rgba(243, 247, 232, 0.7);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700;
}
.calc-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; color: var(--primary);
}
.calc-result .muted { color: rgba(243, 247, 232, 0.55); font-size: 0.85rem; }
.calc-disclaimer {
  align-self: stretch;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  background: #c81e1e;
  border-left: 4px solid #7a0f0f;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.calc-disclaimer strong {
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── contact (mobile-first) ────────────────────────────────────────────────── */
.contact-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 820px) {
  .contact-grid { gap: 3rem; grid-template-columns: 1fr 1.2fr; }
}
.contact-grid p { color: var(--muted); margin-top: 0.75rem; }
.contact-methods { margin-top: 1.75rem; display: grid; gap: 0.75rem; }
.contact-methods a {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 1rem 1.25rem; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.contact-methods a:hover { border-color: var(--primary); transform: translateY(-1px); }
.contact-methods strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; color: var(--primary-dark);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
}
.contact-methods span { font-size: 1.05rem; color: var(--ink); font-weight: 600; }

.contact-form {
  display: grid; gap: 1rem;
  background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow-sm);
}
/* Mobile-first: form rows stack. Desktop: side-by-side. */
.contact-form .row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .contact-form .row { grid-template-columns: 1fr 1fr; } }
.contact-form textarea { resize: vertical; min-height: 5.5rem; }
.contact-form input,
.contact-form select,
.contact-form textarea { min-height: 48px; }

.contact-ok {
  background: var(--card); border: 2px solid var(--primary);
  border-radius: var(--radius); padding: 2.5rem;
  box-shadow: var(--shadow-md); text-align: center;
}
.contact-ok h3 {
  color: var(--primary-dark); margin-bottom: 0.5rem;
  font-size: 1.5rem;
}
.contact-ok p { color: var(--muted); margin-bottom: 0.5rem; }

/* ── faq ───────────────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.15rem 1.5rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq details[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1.02rem; color: var(--dark);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--primary-dark); font-size: 1.5rem; line-height: 1;
  transition: transform var(--t-base);
}
.faq details[open] summary::after { content: "−"; }
.faq details > p { margin-top: 0.85rem; color: var(--muted); }

/* ── blog ──────────────────────────────────────────────────────────────────── */
.blog-empty {
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.5rem; text-align: center;
  box-shadow: var(--shadow-sm);
}
.blog-empty p { color: var(--muted); margin-bottom: 1.25rem; }
.blog-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.blog-card {
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.blog-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.blog-card p { color: var(--muted); }

/* ── article ───────────────────────────────────────────────────────────────── */
.article-wrap { padding-top: 3rem; }
.article-wrap h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); margin: 0.75rem 0 1.25rem; }
.article-banner { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow-md); }
.article-body { line-height: 1.85; font-size: 1.08rem; color: var(--ink); }
.article-body p { margin-bottom: 1.25em; }
.article-body h2 { font-size: 1.65rem; margin: 1.8em 0 0.6em; }
.article-body h3 { font-size: 1.3rem; margin: 1.6em 0 0.5em; }
.article-body ul, .article-body ol { margin: 0 0 1.25em 1.5em; }
.article-body li { margin-bottom: 0.5em; list-style: disc; }
.article-body a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--primary); }

/* ── footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  margin-top: 0; padding: 4rem var(--pad) 1.75rem;
  background: rgba(4, 30, 31, 0.82); color: #f3f7e8;
  backdrop-filter: saturate(140%) blur(2px);
  -webkit-backdrop-filter: saturate(140%) blur(2px);
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { gap: 2.5rem; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.site-footer h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--primary); margin-bottom: 1rem; font-weight: 700;
}
.site-footer .brand { font-size: 1.15rem; color: #f3f7e8; }
.site-footer .brand::before { background: var(--primary); }
.site-footer p { color: rgba(243, 247, 232, 0.65); margin-bottom: 0.5rem; }
.site-footer a { color: rgba(243, 247, 232, 0.85); }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer ul a:hover { color: var(--primary); }
.footer-meta {
  max-width: var(--maxw); margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 247, 232, 0.12);
  font-size: 0.85rem; color: rgba(243, 247, 232, 0.55);
}

/* ── social icons ──────────────────────────────────────────────────────────── */
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(243, 247, 232, 0.18);
  border-radius: 999px;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.social a:hover {
  background: var(--primary); border-color: var(--primary); transform: translateY(-2px);
}
.social img { width: 18px; height: 18px; filter: invert(95%) sepia(8%) saturate(82%) brightness(105%); }
.social a:hover img { filter: invert(11%) sepia(35%) saturate(950%) hue-rotate(140deg) brightness(80%); }

#contact .social a {
  background: var(--card); border-color: var(--line);
}
#contact .social a:hover { background: var(--primary); border-color: var(--primary); }
#contact .social img { filter: invert(20%) sepia(6%) saturate(290%) brightness(90%); }

/* ── back to top ───────────────────────────────────────────────────────────── */
.to-top {
  position: fixed; right: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem);
  width: 3rem; height: 3rem;
  background: var(--primary); color: var(--dark);
  border-radius: 999px;
  font-size: 1.35rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(4, 30, 31, 0.25);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--t-base), transform var(--t-base), background var(--t-fast);
  z-index: 40;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--primary-dark); }

/* ── htmx loading indicators ───────────────────────────────────────────────── */
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: inline-block; }
.htmx-request.htmx-indicator { display: inline-block; }
.contact-form.htmx-request button[type="submit"] { opacity: 0.7; pointer-events: none; }
.contact-form.htmx-request button[type="submit"]::after {
  content: ""; display: inline-block; width: 0.85rem; height: 0.85rem;
  border: 2px solid rgba(4, 30, 31, 0.3); border-top-color: var(--dark);
  border-radius: 999px; margin-left: 0.5rem;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── touch device: kill hover-locked transforms ────────────────────────────── */
/* On touch, :hover sticks after tap until the user taps elsewhere. Disable the
   transform-based lift effects there so cards don't stay "raised" mid-scroll. */
@media (hover: none) {
  .service-card:hover,
  .contact-methods a:hover,
  .blog-card:hover,
  .social a:hover,
  .button:hover { transform: none; }
}

/* ── reduced motion ────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
