:root {
  --leaf: #3f5e4e;
  --leaf-dark: #2b4336;
  --sage: #8aa08f;
  --terra: #bf6a4c;
  --terra-soft: #d98c6f;
  --sand: #e8e0d1;
  --cream: #f7f3ea;
  --paper: #fbf9f3;
  --ink: #232b26;
  --stone: #a79e8c;
  --line: #ddd4c2;
  --shadow: 0 18px 40px -24px rgba(35, 43, 38, 0.45);
  --radius: 14px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.28rem; }

p { margin-bottom: 1rem; }

a { color: var(--leaf); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.ad-strip {
  background: var(--leaf-dark);
  color: var(--cream);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 7px 16px;
}

/* ---------- Header / split nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 249, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--sage), var(--leaf));
  display: inline-block;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink); font-size: 0.96rem; font-weight: 500; }
.nav-links a:hover { color: var(--terra); text-decoration: none; }
.ad-badge {
  font-size: 0.72rem;
  background: var(--sand);
  color: var(--leaf-dark);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 0;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-soft); }
.btn-dark { background: var(--leaf); color: var(--cream); }
.btn-dark:hover { background: var(--leaf-dark); }
.btn-ghost { background: transparent; color: var(--leaf); border: 1.5px solid var(--leaf); }
.btn-ghost:hover { background: var(--leaf); color: var(--cream); }
.link-inline {
  font-weight: 600;
  border-bottom: 2px solid var(--terra-soft);
  padding-bottom: 1px;
}
.link-inline:hover { text-decoration: none; border-color: var(--terra); }

/* ---------- Split screen archetype ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  min-height: 70vh;
}
.split > .split-media,
.split > .split-copy { flex: 1 1 440px; }
.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 88px);
}
.split-media {
  background: var(--sand);
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.split-media img { width: 100%; height: 100%; }
.split.reverse { flex-direction: row-reverse; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--terra);
  margin-bottom: 14px;
}

.hero .split-copy { gap: 10px; }
.hero p.lead { font-size: 1.14rem; color: #4a524b; max-width: 46ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Generic section ---------- */
section { position: relative; }
.pad { padding: clamp(56px, 8vw, 104px) 0; }
.bg-cream { background: var(--cream); }
.bg-leaf { background: var(--leaf); color: var(--cream); }
.bg-leaf h2, .bg-leaf h3 { color: #fff; }
.bg-sand { background: var(--sand); }
.section-head { max-width: 620px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.muted { color: #5b6259; }
.bg-leaf .muted { color: #d7e2d8; }

/* ---------- Feature row (asymmetric widths) ---------- */
.feature-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.feature-row .col-wide { flex: 1 1 540px; }
.feature-row .col-narrow { flex: 1 1 300px; }

.stat-stack { display: flex; flex-wrap: wrap; gap: 22px; }
.stat {
  flex: 1 1 150px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.stat b { display: block; font-family: Georgia, serif; font-size: 1.9rem; color: var(--leaf); }
.stat span { font-size: 0.86rem; color: #5b6259; }

/* ---------- Cards ---------- */
.card-row { display: flex; flex-wrap: wrap; gap: 26px; }
.card {
  flex: 1 1 300px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-media { background: var(--sage); height: 190px; }
.card-media img { width: 100%; height: 100%; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin-bottom: 2px; }
.price {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  color: var(--terra);
  font-weight: 600;
}
.price small { font-size: 0.8rem; color: #5b6259; font-family: inherit; }
.card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Steps / list ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 24px; counter-reset: step; }
.step { flex: 1 1 240px; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--terra); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-size: 1.2rem; margin-bottom: 14px;
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before {
  content: "✦"; color: var(--terra); position: absolute; left: 0; top: 0;
}

/* ---------- Testimonials ---------- */
.quote-row { display: flex; flex-wrap: wrap; gap: 26px; }
.quote {
  flex: 1 1 300px;
  background: var(--paper);
  border-left: 4px solid var(--terra);
  padding: 26px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.quote p { font-style: italic; color: #3c443d; }
.quote cite { font-style: normal; font-weight: 600; color: var(--leaf-dark); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 18px; }

/* ---------- Form ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
  max-width: 640px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--leaf);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.82rem; color: #5b6259; margin-top: 6px; }
.form-error { color: var(--terra); font-size: 0.86rem; display: none; margin-bottom: 12px; }

/* ---------- Contact blocks ---------- */
.info-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.info-block {
  flex: 1 1 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.info-block h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--leaf-dark); }
.no-link { color: var(--ink); font-weight: 600; }

/* ---------- Legal / article pages ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin: 34px 0 12px; }
.article h3 { margin: 24px 0 8px; }
.article ul { margin: 0 0 16px 22px; }
.article li { margin-bottom: 6px; }
.article .updated { color: #5b6259; font-size: 0.9rem; }

/* ---------- Thanks ---------- */
.thanks-hero { text-align: center; max-width: 620px; margin: 0 auto; }
.thanks-mark {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--leaf); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin: 0 auto 22px;
}
.thanks-service {
  display: inline-block;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 600;
  margin: 10px 0 22px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--leaf-dark); color: #d7e2d8; padding: 64px 0 28px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-col { flex: 1 1 220px; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: #cdd9ce; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.9rem; color: #cdd9ce; }
.disclaimer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem;
  color: #aebfb0;
}
.footer-bottom {
  margin-top: 18px;
  font-size: 0.82rem;
  color: #9fb0a1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 60;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 20px 50px -18px rgba(0,0,0,0.6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; flex: 1 1 320px; }
.cookie-banner a { color: var(--terra-soft); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner.hidden { display: none; }
.cookie-banner .btn { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Utilities ---------- */
.center-block { margin-left: auto; margin-right: auto; }
.center-row { justify-content: center; }
.is-hidden { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .split { min-height: unset; }
  .split-media { min-height: 260px; order: -1; }
  .split.reverse .split-media { order: -1; }
}
