/* === Tokens === */
:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #0891B2;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --color-text: #0F2A22;
  --color-muted: #4a6b60;
  --color-border: rgba(6, 78, 59, 0.14);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 30px 60px -30px rgba(6, 78, 59, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(6, 78, 59, 0.4);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fbfefb;
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.eyebrow { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-primary); font-weight: 600; margin: 0 0 0.75rem; }

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--font-body); font-size: 0.98rem; transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease; }
.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: #0b6f8e; color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-light); border-color: rgba(236,253,245,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 254, 251, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); }
.site-header__inner { max-width: 1160px; margin: 0 auto; padding: 0.9rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 60px; }
.site-nav { display: none; gap: 1.5rem; align-items: center; }
.site-nav a { color: var(--color-neutral-dark); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--color-primary); }
.nav-toggle { background: none; border: 0; padding: 0.5rem; display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); }
.site-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1.25rem; border-bottom: 1px solid var(--color-border); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
  .nav-toggle { display: none; }
  .site-nav { display: flex; }
}

/* === Hero (hero-card) === */
.hero { padding: 3rem 1rem 4rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #fbfefb 100%); position: relative; }
.hero-card__inner { max-width: 880px; margin: 0 auto; padding: 2.5rem 1.5rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); text-align: center; }
.hero-card__inner h1 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.hero__sub { font-size: 1.1rem; color: var(--color-muted); max-width: 52ch; margin: 0 auto 1.75rem; }
.hero__cta { margin: 0 0 2rem; }
.hero-card__img { margin: 2rem 0 0; border-radius: var(--radius-md); overflow: hidden; }
.hero-card__img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 768px) {
  .hero { padding: 5rem 1.25rem 6rem; }
  .hero-card__inner { padding: 4rem 3.5rem; }
}

/* === Sections === */
.section { padding: 3.5rem 0; }
.section--muted { background: var(--color-neutral-light); }
.section__head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); }
.section__head--left { text-align: left; margin-left: 0; }

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

/* === Cards === */
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-soft); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card h3 { margin-top: 0.25rem; }
.card p { margin: 0; color: var(--color-muted); font-size: 0.98rem; }
.card .icon { width: 32px; height: 32px; color: var(--color-primary); margin-bottom: 0.75rem; }
a.card-link { display: block; text-decoration: none; color: inherit; }
a.card-link:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(6, 78, 59, 0.35); border-color: var(--color-secondary); }
a.card-link h3 { color: var(--color-neutral-dark); }

/* === Two-column === */
.two-col { display: grid; gap: 2rem; align-items: center; }
.two-col__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-md); }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}

/* === Prose === */
.prose { max-width: 72ch; margin: 0 auto; }
.prose p { color: var(--color-text); font-size: 1.05rem; }

/* === Testimonial === */
.testimonial figure { max-width: 780px; margin: 0 auto; text-align: center; }
.testimonial blockquote { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.4; color: var(--color-neutral-dark); margin: 1.25rem 0; font-style: italic; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; }
.testimonial__portrait { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto; }

/* === CTA Band === */
.cta-band { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3.5rem 1.25rem; text-align: center; }
.cta-band h2 { color: #fff; max-width: 30ch; margin-left: auto; margin-right: auto; }
.cta-band p { color: rgba(236,253,245,0.85); max-width: 52ch; margin-left: auto; margin-right: auto; }

/* === Contact band === */
.contact-band { max-width: 780px; margin: 0 auto; text-align: center; }
.contact-band address { font-style: normal; color: var(--color-muted); font-size: 1.05rem; line-height: 1.9; }

/* === Form === */
.form-wrap { max-width: 720px; margin: 0 auto; }
.contact-form { display: grid; gap: 1rem; background: #fff; padding: 2rem 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--color-border); }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 500; font-size: 0.92rem; color: var(--color-neutral-dark); }
.field input, .field select, .field textarea { font: inherit; padding: 0.7rem 0.85rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; color: var(--color-text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-secondary); }
.field textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.25rem; }
@media (min-width: 640px) {
  .contact-form { padding: 2.5rem; }
}

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(236,253,245,0.85); padding: 3rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.site-footer a { color: rgba(236,253,245,0.9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.copyright { text-align: center; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(236,253,245,0.15); font-size: 0.88rem; color: rgba(236,253,245,0.65); }
@media (min-width: 800px) {
  .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; border-radius: var(--radius-md); box-shadow: 0 25px 50px -20px rgba(0,0,0,0.4); max-width: 640px; margin-left: auto; margin-right: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; color: rgba(236,253,245,0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.55rem 1rem; font-size: 0.88rem; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(236,253,245,0.15); }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; }
.cookie-banner__prefs .btn { justify-self: start; margin-top: 0.5rem; }
