:root {
  --color-primary: #15803D;
  --color-secondary: #22C55E;
  --color-accent: #0369A1;
  --color-neutral-dark: #14532D;
  --color-neutral-light: #F0FDF4;
  --color-text: #1a2e22;
  --color-muted: #4b6a58;
  --color-border: rgba(20, 83, 45, 0.14);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 45px -30px rgba(20, 83, 45, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; line-height: 1.2; margin: 0 0 .75em; }
h1 { font-size: clamp(2.25rem, 4vw + 1rem, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }
.section { padding-block: 3.5rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: .5rem; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); display: block; transition: transform .2s; }
.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.primary-nav ul { list-style: none; margin: 0; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; }
.primary-nav a {
  display: block; padding: .6rem .5rem; color: var(--color-neutral-dark);
  font-weight: 500; border-radius: 6px;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  background: var(--color-neutral-light); text-decoration: none;
  color: var(--color-primary);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; position: static; box-shadow: none; border: 0; background: transparent; }
  .primary-nav ul { flex-direction: row; padding: 0; gap: .5rem; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  border: 1.5px solid transparent; transition: transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #024e7a; color: #fff; }

/* === Hero (centered) === */
.hero { padding-block: 3.5rem 3rem; text-align: center; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero__sub { max-width: 52ch; margin: 0 auto 1.75rem; font-size: 1.15rem; color: var(--color-muted); }
.hero__cta { margin-bottom: 2.5rem; }
.hero__image { width: 100%; max-width: 960px; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-soft); aspect-ratio: 16 / 9; object-fit: cover; }
.hero-compact { padding-block: 3rem 1.5rem; }

@media (min-width: 768px) {
  .hero { padding-block: 5.5rem 4rem; }
}

/* === Grid === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Cards === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .97rem; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--color-neutral-light); color: var(--color-primary);
  margin-bottom: 1rem;
}
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-soft); border-color: var(--color-secondary); }
.card-link h3 { color: var(--color-neutral-dark); }

/* === Testimonial === */
.section-testimonial { background: var(--color-neutral-light); }
.section-testimonial blockquote {
  margin: 0; text-align: center; position: relative;
  padding-inline: 1rem;
}
.section-testimonial blockquote p {
  font-family: var(--font-heading); font-size: clamp(1.2rem, 1.5vw + 1rem, 1.6rem);
  font-style: italic; color: var(--color-neutral-dark); line-height: 1.5;
  margin-bottom: 1.25rem;
}
.section-testimonial cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  background: var(--color-primary); color: #fff;
  padding-block: 3.5rem; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); }
.cta-band .btn-accent { background: #fff; color: var(--color-primary); }
.cta-band .btn-accent:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.contact-band__info { font-size: .98rem; margin-bottom: 1.5rem; }
.contact-band__info a { color: #fff; text-decoration: underline; }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input,
.form-row textarea {
  font: inherit; padding: .8rem 1rem;
  border: 1px solid var(--color-border); border-radius: 8px;
  background: #fff; color: var(--color-text);
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}
.form-consent {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .9rem; color: var(--color-muted);
}
.form-consent input { margin-top: .2rem; }
.contact-form .btn { align-self: flex-start; }

/* === FAQ === */
.section-faq details {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}
.section-faq summary {
  font-family: var(--font-heading); font-size: 1.15rem;
  color: var(--color-neutral-dark); cursor: pointer;
  list-style: none; padding-right: 2rem; position: relative;
}
.section-faq summary::-webkit-details-marker { display: none; }
.section-faq summary::after {
  content: "+"; position: absolute; right: 0; top: 0;
  font-size: 1.4rem; color: var(--color-primary);
  transition: transform .2s;
}
.section-faq details[open] summary::after { content: "−"; }
.section-faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact band === */
.section-contact-band { background: var(--color-neutral-light); text-align: center; }
.section-contact-band a { color: var(--color-primary); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 1.5rem; margin-top: 2rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; margin-bottom: .75rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem !important; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 1rem !important; }
.logo-footer img { height: 60px; margin-bottom: .5rem; filter: brightness(0) invert(1); }
.copyright { text-align: center; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: .9rem; color: rgba(255, 255, 255, 0.6); }
.copyright p { margin: 0; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; }
}

/* === Cookie banner === */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem;
  display: none; z-index: 9999;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.35);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  border: 1px solid rgba(255, 255, 255, 0.25); background: transparent;
  color: var(--color-neutral-light); padding: .55rem 1rem; border-radius: 6px;
  font-size: .9rem; font-weight: 500;
}
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner button[data-cookie-accept]:hover { background: #024e7a; }
.cookie-banner__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex; flex-direction: column; gap: .5rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }
