:root {
  --blue-50: #f0faf6;
  --blue-100: #d4f0e4;
  --blue-500: #0e8a5f;
  --blue-600: #0b7550;
  --blue-700: #085e3f;
  --ink: #0d1f1a;
  --ink-2: #1a3329;
  --muted: #4a6b5e;
  --line: #d6e8e0;
  --bg: #ffffff;
  --bg-alt: #f4faf7;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(13,31,26,.07);
  --shadow-md: 0 8px 24px rgba(13,31,26,.10);
  --maxw: 1120px;
  --font: "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);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em;
  font-size: .75rem; font-weight: 600; color: var(--blue-600);
  margin: 0 0 12px;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 12px; z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  box-shadow: var(--shadow-sm);
}
.brand--footer { color: #fff; }
.brand--footer .brand-name { color: #fff; }

.primary-nav ul { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; align-items: center; }
.primary-nav a { color: var(--ink-2); font-weight: 500; }
.primary-nav a.active { color: var(--blue-600); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px;
  width: 40px; height: 40px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto;
  transition: transform .2s;
}

/* Buttons */
.btn {
  display: inline-block; padding: 12px 18px; border-radius: var(--radius);
  font-weight: 600; text-align: center; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .05s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

/* Hero */
.hero { padding: 80px 0 64px; background:
  radial-gradient(1200px 400px at 80% -10%, var(--blue-50), transparent 60%),
  radial-gradient(800px 300px at 0% 0%, #e8f6ee, transparent 60%);
}
.hero-inner { max-width: 760px; }
.lede { font-size: 1.125rem; color: var(--muted); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.trust-row { list-style: none; padding: 0; margin: 24px 0 0; display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.trust-row li::before { content: "✓ "; color: var(--blue-600); font-weight: 700; }

.page-hero { padding: 64px 0 40px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }

/* Grid + cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.card h3 { color: var(--blue-700); }
.card--soft { background: var(--blue-50); border-color: var(--blue-100); }
.link { color: var(--blue-600); font-weight: 600; }

/* Two col */
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.cta-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-md);
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 8px 0 8px 26px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-100);
}

/* Service list */
.service-list { display: grid; gap: 36px; }
.service { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.service h2 { color: var(--blue-700); }
.service ol { padding-left: 20px; }
.expectations { max-width: 720px; }

/* Forms */
.contact-form .field { margin-bottom: 16px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); font: inherit; color: var(--ink); background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--blue-500); outline-offset: 1px; border-color: var(--blue-500);
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 12px 14px; border-radius: var(--radius); margin-bottom: 16px; border: 1px solid; }
.alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert-error   { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.5em; }
.prose ul { padding-left: 22px; }

/* Footer */
.site-footer { background: #081510; color: #a8c9bb; padding: 56px 0 24px; margin-top: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: #a8c9bb; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 32px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; color: #6b9985; font-size: .9rem; }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.cookie-inner { display: flex; gap: 16px; align-items: center; padding: 14px 20px; flex-wrap: wrap; justify-content: space-between; }
.cookie-actions { display: flex; gap: 8px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .primary-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none;
  }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; align-items: stretch; }
  .primary-nav li { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .primary-nav li:last-child { border-bottom: 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .section { padding: 56px 0; }
}
