:root {
  --forest: #1f3d2b;
  --forest-2: #2d5a3f;
  --moss: #6b8f4e;
  --sand: #f4efe6;
  --sand-2: #e8dfcf;
  --clay: #b8643a;
  --clay-2: #9c5130;
  --ink: #1d221e;
  --muted: #5d665f;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 35, 25, 0.12);
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--forest-2); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; color: var(--forest); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-2);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--clay); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--forest); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--clay); color: var(--white); }
.btn-primary:hover { background: var(--clay-2); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-light { background: var(--white); color: var(--forest); }
.nav .btn { padding: 9px 18px; color: var(--white); }
.nav .btn:hover { color: var(--white); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(107, 143, 78, 0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(184, 100, 58, 0.25), transparent 40%),
    linear-gradient(160deg, var(--forest) 0%, #16301f 100%);
  color: var(--sand);
  padding: clamp(64px, 10vw, 120px) 0;
}
.hero h1 { color: var(--white); max-width: 15ch; }
.hero p.lead { font-size: 1.15rem; max-width: 52ch; color: #dfe7da; }
.hero .eyebrow { color: #c9d8bd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn-outline { border-color: var(--sand); color: var(--sand); }
.hero-actions .btn-outline:hover { background: var(--sand); color: var(--forest); }
.hero-art { position: absolute; right: -40px; bottom: -10px; width: min(520px, 55vw); opacity: 0.9; pointer-events: none; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 600; color: var(--clay); margin-bottom: 12px; display: block; }

section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }

/* Services */
.service-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.service-group { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.service-group header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.icon-badge { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.clay { background: #f6e2d6; color: var(--clay-2); }
.icon-badge.moss { background: #e3ecd9; color: var(--forest-2); }
.service-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.service-group li { padding-left: 28px; position: relative; }
.service-group li::before {
  content: ''; position: absolute; left: 0; top: 0.45em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--sand-2); border: 3px solid var(--moss);
}
.service-group li strong { display: block; }
.service-group li span { color: var(--muted); font-size: 0.93rem; }

/* Why us */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.why-card { padding: 24px; border-radius: var(--radius); background: var(--sand); }
.why-card .num { font-family: var(--font-head); font-size: 2rem; color: var(--clay); line-height: 1; margin-bottom: 8px; }

/* Process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 24px 24px 24px 24px; border-left: 3px solid var(--moss); background: rgba(255,255,255,0.6); border-radius: 0 var(--radius) var(--radius) 0; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-size: 1.6rem; color: var(--moss); display: block; margin-bottom: 6px; }

/* CTA / contact */
.cta { background: var(--forest); color: var(--sand); }
.cta h2 { color: var(--white); }
.cta .eyebrow { color: #c9d8bd; }
.cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,0.06); padding: 16px 18px; border-radius: 12px; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: #c9d8bd; margin-top: 2px; }
.contact-list a { color: var(--white); }
.contact-list small { display: block; color: #b9c7b0; }

/* Portal teaser */
.portal-teaser { background: var(--sand-2); }
.portal-teaser .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.portal-teaser h2 { margin-bottom: 0.2em; }
.portal-teaser p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { background: #142a1d; color: #a9b8a3; padding: 32px 0; font-size: 0.9rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: #d6e0cf; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    background: var(--sand); border-bottom: 1px solid var(--sand-2);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; }
  .nav .btn { margin-top: 8px; }
  .cta-grid { grid-template-columns: 1fr; }
  .hero-art { opacity: 0.25; }
}
