/* KlarWerk — Brand: #0A8F2E green, #F5F2EC cream, #111111 black, #6B6B6B grey */

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green: #0A8F2E;
  --green-dark: #077424;
  --green-deep: #14532a;
  --cream: #F5F2EC;
  --cream-deep: #EDE8DF;
  --black: #111111;
  --grey: #6B6B6B;
  --white: #FFFFFF;
  --line: rgba(17, 17, 17, .10);
  --shadow: 0 1px 2px rgba(17,17,17,.04), 0 8px 24px rgba(17,17,17,.06);
  --radius: 14px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p  { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(56px, 8vw, 96px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); }
.btn--ghost { border-color: var(--line); color: var(--black); background: transparent; }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--onGreen { background: var(--white); color: var(--green-deep); }
.btn--onGreen:hover { background: var(--cream); }
.btn--onGreenGhost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--onGreenGhost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 236, .85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header--stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(17,17,17,.05); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.header__logo img { height: 34px; width: auto; }
.header__logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .97rem; color: var(--black);
  padding: 6px 0; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .18s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__cta .btn { padding: 11px 20px; font-size: .95rem; }

.burger {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  border-radius: 8px; color: var(--black);
}
.burger:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

@media (max-width: 940px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
  .header__inner { min-height: 66px; }
  .mobile-nav[data-open="true"] { display: block; }
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 12px 0 22px;
}
.mobile-nav a {
  display: block; padding: 13px 0; text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 18px; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 700; letter-spacing: .10em; text-transform: uppercase;
  color: var(--green); background: rgba(10, 143, 46, .09);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green);
}
.hero__title span { color: var(--green); }
.hero__lead { margin-top: 20px; font-size: 1.12rem; color: var(--grey); max-width: 46ch; }
.hero__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero__media { position: relative; }
.hero__media img {
  border-radius: 20px; box-shadow: var(--shadow); width: 100%; height: auto;
  background: var(--cream-deep);
}
.hero__badge {
  position: absolute; left: -14px; bottom: -18px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: .93rem;
}
.hero__badge svg { flex-shrink: 0; color: var(--green); }
@media (max-width: 900px) { .hero__badge { left: 12px; bottom: -14px; } }

/* ---------- Trust bar ---------- */
.trust { border-block: 1px solid var(--line); background: rgba(255,255,255,.5); }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-block: 28px;
}
@media (max-width: 860px) { .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.trust__item { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.trust__item svg { color: var(--green); flex-shrink: 0; }

/* ---------- Section heads ---------- */
.section__head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 52px); }
.section__head p { margin-top: 14px; color: var(--grey); font-size: 1.06rem; }
.section__head--center { margin-inline: auto; text-align: center; }

/* ---------- Services ---------- */
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 980px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .services__grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(10,143,46,.3); }
.card__icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: rgba(10, 143, 46, .1); color: var(--green);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card h3 { margin-bottom: 12px; }
.card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.card li {
  position: relative; padding-left: 24px; font-size: .96rem; color: var(--grey); line-height: 1.5;
}
.card li::before {
  content: ''; position: absolute; left: 3px; top: .52em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); opacity: .45;
}

/* ---------- B2B band ---------- */
.b2b { background: var(--green-deep); color: #fff; border-radius: 0; }
.b2b__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
@media (max-width: 900px) { .b2b__grid { grid-template-columns: 1fr; } }
.b2b h2 { color: #fff; }
.b2b p { color: rgba(255,255,255,.78); margin-top: 16px; font-size: 1.05rem; }
.b2b__list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.b2b__list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.b2b__list svg { flex-shrink: 0; margin-top: 3px; color: #7BD694; }
.b2b__card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 30px;
}
.b2b__card h3 { color: #fff; }
.b2b__card p { font-size: .97rem; margin-top: 10px; }
.b2b__card .btn { margin-top: 22px; }

/* ---------- Steps ---------- */
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 800px) { .steps__grid { grid-template-columns: 1fr; } }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px;
}
.step__num {
  counter-increment: step;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  margin-bottom: 16px;
}
.step__num::before { content: counter(step); }
.step p { color: var(--grey); margin-top: 10px; font-size: .96rem; }

/* ---------- Contact ---------- */
.contact__box {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(34px, 5vw, 60px); text-align: center;
  box-shadow: var(--shadow);
}
.contact__box h2 { max-width: 20ch; margin-inline: auto; }
.contact__box > p { color: var(--grey); margin-top: 16px; max-width: 52ch; margin-inline: auto; font-size: 1.06rem; }
.contact__mail {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 30px;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 800;
  color: var(--green); text-decoration: none;
  border-bottom: 2px solid rgba(10,143,46,.28);
  padding-bottom: 4px;
  transition: border-color .18s ease;
}
.contact__mail:hover { border-bottom-color: var(--green); }
.contact__note { margin-top: 26px; font-size: .9rem; color: var(--grey); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255,255,255,.62); padding-block: 56px 34px; }
.footer__top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px;
  padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.13);
}
@media (max-width: 780px) { .footer__top { grid-template-columns: 1fr; gap: 28px; } }
.footer__logo img { height: 30px; width: auto; }
.footer__tagline { margin-top: 16px; font-size: .95rem; max-width: 34ch; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255,255,255,.62); text-decoration: none; font-size: .95rem; }
.footer a:hover { color: #fff; }
.footer__bottom {
  padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .88rem;
}

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(48px, 7vw, 84px); }
.legal__body { max-width: 72ch; }
.legal__body h2 { font-size: 1.4rem; margin-top: 42px; }
.legal__body h3 { margin-top: 28px; }
.legal__body p, .legal__body li { color: var(--grey); margin-top: 12px; }
.legal__body ul { padding-left: 20px; }
.legal__body a { color: var(--green); }
.todo {
  background: #FFF8E1; border: 1px solid #F0D27A; border-left: 4px solid #E0A800;
  border-radius: 10px; padding: 16px 18px; margin-top: 18px;
  color: #6B5400; font-size: .95rem;
}
.todo strong { color: #4A3B00; }
