/* ===== Fonts ===== */
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('../fonts/inter-regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('../fonts/inter-medium.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('../fonts/inter-semibold.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('../fonts/inter-bold.woff2') format('woff2'); }

/* ===== Tokens ===== */
:root {
  --white: #ffffff;
  --bg: #fafaf7;
  --bg-soft: #f4f6f2;
  --beige: #f3ede2;
  --green: #6fa88a;
  --green-dark: #4f8a6a;
  --green-soft: #e6f0e9;
  --blue: #bfd7e8;
  --blue-soft: #eef4f9;
  --ink: #1f2a24;
  --muted: #5b6660;
  --line: #e6e9e3;
  --radius: 18px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(30, 45, 40, 0.05);
  --shadow: 0 10px 30px rgba(30, 45, 40, 0.07);
  --shadow-lg: 0 20px 50px rgba(30, 45, 40, 0.1);
  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --emoji: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Twemoji Mozilla', sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ink); }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 700; color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--muted); }
ul { padding-left: 1.2em; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
@media (max-width: 720px) { section { padding: 56px 0; } }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px;
  border-radius: 999px; font-weight: 600; font-size: .95rem; border: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--green); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }

/* ===== Navigation ===== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.brand-dot { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .95rem; position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--green); transition: width .25s var(--ease); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { padding: 10px 20px; font-size: .9rem; }
.hamburger { display: none; background: none; border: none; width: 40px; height: 40px; position: relative; }
.hamburger span { display: block; position: absolute; left: 8px; right: 8px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s var(--ease); }
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav-links { position: fixed; inset: 72px 0 0 0; background: var(--white); flex-direction: column;
    align-items: flex-start; padding: 30px 24px; gap: 20px; transform: translateX(100%);
    transition: transform .3s var(--ease); overflow-y: auto; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.15rem; }
  .nav-cta { align-self: stretch; text-align: center; justify-content: center; }
}

/* ===== Hero ===== */
.hero { padding: 60px 0 100px; position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  background: var(--green-soft); color: var(--green-dark); border-radius: 999px; font-size: .8rem;
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-badge { position: absolute; bottom: -20px; left: -20px; background: var(--white);
  border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow); }
.hero-badge .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--green-soft);
  display: grid; place-items: center; font-size: 1.2rem; font-family: var(--emoji); }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.hero-badge span { color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; } .hero-badge { left: 12px; } }

/* ===== Section headings ===== */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; padding: 4px 12px; background: var(--blue-soft); color: #3a6a8a;
  border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; }

/* ===== Cards / grids ===== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; font-family: var(--emoji); }
.card.blue .icon { background: var(--blue-soft); }
.card.beige .icon { background: var(--beige); }
.card h3 { margin-bottom: 8px; font-family: var(--sans); font-size: 1.1rem; font-weight: 600; }
.card p { margin: 0; font-size: .95rem; }

/* ===== Feature split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.reverse { direction: ltr; } }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 32px 16px; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--line); }
.stat .num { font-family: var(--serif); font-size: 2.6rem; color: var(--green-dark); line-height: 1; margin-bottom: 8px; }
.stat .label { color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ===== Testimonials ===== */
.testimonial { background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--line); }
.testimonial p { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); line-height: 1.55; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--green-soft), var(--blue-soft)); display: grid; place-items: center; font-weight: 600; color: var(--green-dark); }
.who small { display: block; color: var(--muted); font-size: .85rem; }
.who strong { font-size: .95rem; }

/* ===== Blog cards ===== */
.article { background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article .thumb { aspect-ratio: 16/10; overflow: hidden; }
.article .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.article:hover .thumb img { transform: scale(1.05); }
.article .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-block; padding: 4px 10px; background: var(--green-soft); color: var(--green-dark);
  border-radius: 999px; font-size: .72rem; font-weight: 600; margin-bottom: 12px; }
.article h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 8px; }
.article p { font-size: .92rem; flex: 1; }
.article .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: .85rem; color: var(--muted); }
.article .read { color: var(--green-dark); font-weight: 600; }

/* ===== FAQ ===== */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px;
  font-size: 1.02rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-q .plus { width: 24px; height: 24px; border-radius: 50%; background: var(--green-soft);
  color: var(--green-dark); display: grid; place-items: center; font-size: 1rem; flex-shrink: 0; transition: transform .3s var(--ease); }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-q .plus, .contact-info li .tick { font-family: var(--emoji); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 20px; color: var(--muted); }

/* ===== Newsletter ===== */
.newsletter { background: linear-gradient(135deg, var(--green-soft), var(--blue-soft));
  border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; }
.newsletter h2 { margin-bottom: 12px; }
.newsletter form { display: flex; gap: 10px; max-width: 480px; margin: 24px auto 0; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 220px; padding: 14px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); font-family: inherit; font-size: .95rem; color: var(--ink); }
.newsletter input:focus { outline: 2px solid var(--green); outline-offset: 2px; }

/* ===== CTA banner ===== */
.cta-banner { background: var(--ink); color: var(--white); border-radius: var(--radius-lg);
  padding: 60px 48px; display: grid; grid-template-columns: 1.5fr auto; gap: 30px; align-items: center; }
.cta-banner h2, .cta-banner p { color: var(--white); }
.cta-banner p { opacity: .8; margin: 0; }
@media (max-width: 700px) { .cta-banner { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; } }

/* ===== Forms / contact ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info { background: var(--white); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--line); }
.contact-info img { border-radius: var(--radius); margin-bottom: 24px; }
.contact-info ul { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-info li { padding: 10px 0; display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: .95rem; }
.contact-info li .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft);
  color: var(--green-dark); display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex-shrink: 0; }

.form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line);
  font-family: inherit; font-size: .95rem; background: var(--bg); color: var(--ink);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); }
.field textarea { min-height: 130px; resize: vertical; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--muted); }
.checkbox input { margin-top: 3px; }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); font-weight: 600; margin-bottom: 16px; }
.form-msg.show { display: block; }

/* ===== Trust badges ===== */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge { padding: 6px 12px; background: var(--bg-soft); border-radius: 999px; font-size: .78rem;
  color: var(--ink); font-weight: 500; border: 1px solid var(--line); }

/* ===== Page hero (inner pages) ===== */
.page-hero { padding: 40px 0 60px; background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.page-hero .container { text-align: center; max-width: 820px; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green-dark); }

/* ===== Timeline ===== */
.timeline { max-width: 780px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 8px 0 32px; }
.tl-item::before { content: ''; position: absolute; left: -32px; top: 14px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.tl-item h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.tl-item p { margin: 0; font-size: .95rem; }
.tl-item .day { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dark); font-weight: 600; margin-bottom: 4px; }

/* ===== Comparison table ===== */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare th { background: var(--bg-soft); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--green-dark); font-weight: 600; }
.compare .no { color: #b26060; }

/* ===== Checklist ===== */
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 10px 0 10px 34px; position: relative; color: var(--ink); }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 8px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--green); color: var(--white); font-size: .8rem; font-weight: 700;
  display: grid; place-items: center; }

/* ===== Footer ===== */
.footer { background: #1c2622; color: #cfd7d1; padding: 60px 0 30px; margin-top: 80px; }
.footer h4 { color: var(--white); font-family: var(--sans); font-size: .95rem; font-weight: 600; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid .brand { color: var(--white); }
.footer-grid p { color: #a8b3ad; font-size: .9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 8px 0; }
.footer a { color: #cfd7d1; font-size: .9rem; }
.footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #2a3630; margin-top: 40px; padding-top: 20px; text-align: center;
  font-size: .85rem; color: #8b968f; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-40 { margin-top: 40px; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.prose p { color: var(--ink); font-size: 1.02rem; }
.prose h3 { margin-top: 2em; }