:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #F97316;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --color-text: #0F2E24;
  --color-muted: #4B6A5F;
  --color-border: rgba(6, 78, 59, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(6, 78, 59, 0.06);
  --shadow-md: 0 20px 40px -20px rgba(6, 78, 59, 0.25);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  line-height: 1.2;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}
.logo { display: inline-block; }
.logo img { height: 72px; width: auto; }
.site-nav {
  display: none;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--color-neutral-dark);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  border-bottom-color: var(--color-primary);
  text-decoration: none;
}
.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.nav-toggle {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover { background: var(--color-neutral-dark); text-decoration: none; }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover { background: #d95d0a; text-decoration: none; }

/* === Hero (centered) === */
.hero {
  padding-block: 3.5rem 3rem;
  text-align: center;
  background: var(--color-neutral-light);
}
.hero h1 {
  max-width: 28ch;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}
.hero-sub {
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  color: var(--color-muted);
}
.hero-image {
  margin-top: 3rem;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-md);
}

/* === Sections === */
.section {
  padding-block: 4rem;
}
.section-alt {
  background: var(--color-neutral-light);
}
.section-narrow .container {
  max-width: 760px;
}
.section-narrow h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.section-narrow p {
  font-size: 1.075rem;
  color: var(--color-text);
}
.section h2 { text-align: center; }
.section-sub {
  text-align: center;
  color: var(--color-muted);
  max-width: 60ch;
  margin: -0.5rem auto 2.5rem;
}

/* === Grid === */
.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

/* === Cards === */
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: block;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.975rem; }
.card-link {
  text-decoration: none;
  color: inherit;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.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;
}

/* === Testimonial === */
.testimonial-section { background: #fff; }
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding-block: 4rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 55ch;
  margin: 0 auto 2rem;
}

/* === Contact band on About page === */
.contact-band { text-align: center; background: var(--color-neutral-light); }
.contact-line { color: var(--color-muted); margin-bottom: 1.5rem; }

/* === Forms === */
.form-wrap { max-width: 640px; }
.form-wrap h2 { text-align: left; }
.form-wrap .section-sub { text-align: left; margin-left: 0; margin-right: 0; }
.contact-form .field { margin-bottom: 1.25rem; }
.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-neutral-dark);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font: inherit;
  color: inherit;
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.site-footer h4 {
  color: #fff;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-logo img {
  height: 60px;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.95rem; }
.footer-contact address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-legal a { font-size: 0.85rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* === 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: var(--shadow-md);
  max-width: 640px;
  margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.9rem; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-banner button {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}
.cookie-banner [data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__prefs {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.cookie-banner__prefs label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cookie-banner__prefs [data-cookie-save] {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* === Media Queries === */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .logo img { height: 96px; }
  .footer-logo img { height: 72px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; position: static; padding: 0; box-shadow: none; border: 0; flex-direction: row; }
  .hero { padding-block: 6rem 4rem; }
  .section { padding-block: 5rem; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; }
  .form-wrap h2 { text-align: left; }
}

@media (min-width: 960px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
