:root {
  --bg: #f4f1ea;
  --paper: #fffcf7;
  --ink: #141816;
  --muted: #5e675f;
  --line: rgba(20, 24, 22, 0.08);
  --accent: #1f4d3a;
  --accent-2: #16382b;
  --header-h: 76px;
  --sans: "Source Serif 4", Georgia, serif;
  --ui: "Source Sans 3", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--ui);
  color: var(--ink);
  background-color: var(--bg);
  background-image: none;
  line-height: 1.65;
}
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
}
body::before {
  top: 40px;
  left: -90px;
  width: 420px;
  height: 520px;
  background-image:
    url('/img/leaf-a.png'),
    url('/img/leaf-b.png'),
    url('/img/leaf-c.png'),
    url('/img/leaf-d.png');
  background-repeat: no-repeat;
  background-position: 18px 70px, 150px 0, 0 220px, 90px 300px;
  background-size: 250px auto, 210px auto, 180px auto, 160px auto;
  opacity: .22;
  filter: saturate(.85) contrast(.95);
}
body::after {
  top: 18%;
  right: -160px;
  width: 480px;
  height: 640px;
  background-image:
    url('/img/leaf-d.png'),
    url('/img/leaf-a.png'),
    url('/img/leaf-c.png'),
    url('/img/leaf-b.png');
  background-repeat: no-repeat;
  background-position: 210px 20px, 120px 160px, 250px 280px, 90px 380px;
  background-size: 260px auto, 220px auto, 190px auto, 170px auto;
  opacity: .2;
  filter: saturate(.8) contrast(.95);
}
header.site, main, footer.site, .mob-cta { position: relative; z-index: 1; }
main { flex: 1 0 auto; width: 100%; padding-bottom: 0; }
footer.site { flex-shrink: 0; margin-top: auto; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

header.site {
  position: sticky; top: 0; z-index: 30;
  height: var(--header-h);
  background: rgba(255,252,247,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
}
.logo span { color: var(--accent); font-style: italic; }
nav.menu { display: flex; align-items: center; gap: 28px; }
nav.menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: .78;
}
nav.menu a:hover { opacity: 1; }
.tel { font-weight: 700 !important; opacity: 1 !important; color: var(--accent) !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--ui);
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 999px;
}
.btn:hover { background: var(--accent-2); }
.btn.block { width: 100%; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 56px;
}
h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 600;
}
h1 {
  font-size: clamp(34px, 4.6vw, 50px);
  line-height: 1.14;
  margin: 0 0 18px;
}
.lead { color: var(--muted); font-size: 18px; margin: 0 0 28px; max-width: 36em; }
.hero-photo { height: 420px; overflow: hidden; border-radius: 28px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.04); }
h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 22px; }
section.block { padding: 28px 0 64px; }

.services, .how { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.service, .how article {
  background: rgba(255,252,247,.7);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 18px;
}
.service h3 { margin: 0 0 8px; font-size: 20px; }
.service p, .how article { margin: 0; color: var(--muted); }
.how article b { display: block; color: var(--ink); margin-bottom: 6px; }

.lead-band {
  background: var(--accent-2);
  color: #eef3ef;
  padding: 56px 0;
}
.lead-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.lead-band h2 { color: #fff; }
.lead-band .lead { color: #c5d4cb; }
.lead-band .btn { background: #fff; color: var(--accent-2) !important; }
.lead-band a { color: #d7e8dc; }
.how-inline { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.how-inline li { color: #c5d4cb; font-size: 15px; }
.how-inline b { display: block; color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }

form { display: grid; gap: 12px; }
.lead-band form { grid-template-columns: 1fr 1fr; }
.span2, .consent, .lead-band .btn, .form-msg { grid-column: 1 / -1; }
.lbl { display: block; font-size: 13px; margin-bottom: 6px; }
input, textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.lead-band input, .lead-band textarea { background: #1b4033; color: #fff; border-color: rgba(255,255,255,.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.consent input { width: auto; }
.msg { font-size: 14px; }
.msg.ok { color: #8fd3a8; }
.msg.err { color: #f3b4b4; }

.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.posts a {
  display: block;
  padding: 22px;
  background: rgba(255,252,247,.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.posts a:hover { background: #fff; }
.posts small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 8px; font-family: var(--ui); }
.blog-page { padding: 48px 0 24px; }

.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.reviews-head h2 { margin: 0; }
.slider { overflow: hidden; }
.slider-track { display: flex; gap: 18px; align-items: stretch; }
.slide {
  flex: 0 0 calc(50% - 9px);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px 24px 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}
.stars { color: #c4a35a; letter-spacing: 3px; font-size: 14px; margin-bottom: 10px; }
.slide p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.55;
  flex: 1;
}
.slide cite {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #e4ece6; color: var(--accent);
  display: grid; place-items: center; font-weight: 700;
}
.slider-nav { display: flex; gap: 8px; }
.slider-nav button {
  width: 42px; height: 42px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line);
  cursor: pointer; font-size: 18px;
}
.star-pick { display: flex; gap: 4px; }
.star-pick button { background: none; border: 0; cursor: pointer; font-size: 22px; color: #d9c8a0; padding: 0; }
.star-pick button.on { color: #c4a35a; }

.review-form { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }

footer.site { background: #101513; color: #b7c2bb; padding: 48px 0 36px; }
footer.site a { color: #eef3ef; text-decoration: none; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
footer.site h3 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: 0 0 8px; }
.disclaimer { font-size: 12px; color: #7d8982; margin: 0; line-height: 1.55; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }

body.legal .prose { max-width: 760px; }
body.legal .prose h2 { font-size: 20px; margin-top: 28px; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table th, .admin-table td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; font-size: 14px; }
.prose { max-width: 720px; padding: 36px 0 56px; }
.prose p { font-size: 17px; }
.mob-cta { display: none; }

@media (max-width: 900px) {
  nav.menu a:not(.tel) { display: none; }
  .hero, .services, .how, .lead-grid, .review-form, footer.site .cols, .posts { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .hero-photo { height: 240px; }
  .slide { flex-basis: 100%; }
  .lead-band form { grid-template-columns: 1fr; }
  .mob-cta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0;
    background: rgba(255,252,247,.94);
    border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    z-index: 20;
  }
  footer.site { padding-bottom: 96px; }
}
@media (max-width: 700px) {
  body::before, body::after { opacity: .14; transform: scale(.72); transform-origin: top left; }
  body::after { transform-origin: bottom right; }
}
