/* === Tokens === */
:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #F97316;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --color-text: #0f2a20;
  --color-muted: #4b6b60;
  --color-line: rgba(6, 78, 59, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow-soft: 0 20px 60px -30px rgba(6, 78, 59, 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; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.25rem; max-width: 1160px; margin-inline: auto; }
.logo { display: inline-block; line-height: 0; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }

/* === Nav === */
.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-line); padding: 1rem 1.25rem; }
.primary-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle { background: transparent; border: 0; padding: 0.5rem; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); }

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

/* === Buttons === */
.btn { display: inline-block; padding: 0.9rem 1.75rem; border-radius: 999px; font-weight: 500; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; text-decoration: none; }
.btn:hover { transform: translateY(-1px); text-decoration: none; box-shadow: 0 10px 24px -12px rgba(6,78,59,0.4); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; }

/* === Hero centered === */
.hero { padding-block: 3rem 2rem; 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-inline: auto; font-size: 1.125rem; color: var(--color-muted); }
.hero__cta { margin-block: 1.5rem 2rem; }
.hero__figure { margin: 2.5rem 0 0; }
.hero__figure img { border-radius: var(--radius); box-shadow: var(--shadow-soft); aspect-ratio: 16/9; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 3rem; }
  .hero__figure { margin-top: 3.5rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section h2 { text-align: center; }
.section__sub { text-align: center; color: var(--color-muted); max-width: 56ch; margin: 0 auto 2.5rem; }
.section--intro { background: #ffffff; }
.section--intro .container { text-align: center; }
.section--intro p { max-width: 62ch; margin-inline: auto; text-align: left; }
.section--highlights { background: var(--color-neutral-light); }

@media (min-width: 768px) {
  .section { padding-block: 5rem; }
}

/* === Card grid === */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius); padding: 1.75rem; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.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 h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin: 0; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; }

@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* === Gallery === */
.gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: var(--radius); }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

/* === Testimonial === */
.section--testimonial { background: #fff; }
.section--testimonial blockquote { margin: 0; text-align: center; padding: 0 1rem; }
.section--testimonial blockquote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.45; color: var(--color-neutral-dark); font-style: italic; position: relative; }
.section--testimonial cite { display: block; margin-top: 1.5rem; font-style: normal; font-size: 0.95rem; color: var(--color-muted); letter-spacing: 0.04em; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 4rem; text-align: center; }
.cta-band h2 { color: #fff; max-width: 26ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 52ch; margin: 0 auto 1.5rem; }
.cta-band__meta { font-size: 0.95rem; }

/* === Contact form === */
.section--form { background: var(--color-neutral-light); }
.contact-form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.95rem; color: var(--color-neutral-dark); }
.field input, .field textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-line); border-radius: 10px; background: #fff; color: var(--color-text); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-muted); flex-wrap: wrap; }
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { justify-self: start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-block: 3rem 1.5rem; margin-top: 2rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer__title { font-family: var(--font-heading); font-size: 1rem; color: #fff; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.site-footer__tagline { color: rgba(236, 253, 245, 0.75); font-size: 0.95rem; margin-top: 0.75rem; }
.site-footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.7; color: rgba(236, 253, 245, 0.85); font-size: 0.95rem; }
.site-footer__legal { margin-top: 1.25rem; font-size: 0.9rem; }
.site-footer__copyright { text-align: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(236,253,245,0.14); color: rgba(236,253,245,0.7); font-size: 0.85rem; }

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.3fr; 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); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5); max-width: 640px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; }
.cookie-banner a { color: var(--color-neutral-light); text-decoration: underline; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button, .cookie-banner__prefs button { font: inherit; font-size: 0.88rem; padding: 0.55rem 0.95rem; border-radius: 999px; border: 1px solid rgba(236,253,245,0.35); background: transparent; color: var(--color-neutral-light); cursor: pointer; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(236,253,245,0.18); font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.4rem; background: var(--color-primary); border-color: var(--color-primary); }
