/* === Tokens === */
:root {
  --color-primary: #15803D;
  --color-secondary: #22C55E;
  --color-accent: #0369A1;
  --color-neutral-dark: #14532D;
  --color-neutral-light: #F0FDF4;
  --color-text: #14532D;
  --color-muted: #4B6B58;
  --color-line: rgba(20, 83, 45, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-lg: 24px;
  --radius-md: 12px;
  --shadow-card: 0 30px 60px -30px rgba(20, 83, 45, 0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-neutral-light);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
address { font-style: normal; line-height: 1.7; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.section { padding-block: 3.5rem; }
.section__header { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 1.2em; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1.2rem; }

/* === Header === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(240, 253, 244, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-line); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; padding-block: 0.9rem; gap: 1rem; }
.logo { display: inline-block; line-height: 0; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }

/* === Nav === */
.site-nav { display: none; }
.site-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-line); gap: 0.25rem; box-shadow: var(--shadow-card); }
.site-nav a { padding: 0.6rem 0.25rem; text-decoration: none; color: var(--color-neutral-dark); font-size: 0.95rem; border-bottom: 1px solid var(--color-line); }
.site-nav a[aria-current="page"] { color: var(--color-primary); font-weight: 600; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid var(--color-line); border-radius: 8px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--color-neutral-dark); margin-inline: auto; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; flex-direction: row; position: static; padding: 0; border: none; box-shadow: none; background: transparent; gap: 1.25rem; flex-wrap: wrap; justify-content: flex-end; }
  .site-nav a { border: none; padding: 0.35rem 0; font-size: 0.92rem; }
  .site-nav a:hover { color: var(--color-primary); }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, background-color 0.15s ease; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-neutral-dark); }
.btn--light { background: #fff; color: var(--color-neutral-dark); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* === Hero card === */
.hero.hero-card { padding-block: 2.5rem 3rem; background: linear-gradient(160deg, var(--color-neutral-light) 0%, #DCFCE7 55%, var(--color-neutral-light) 100%); }
.hero-card__card { background: #fff; border-radius: var(--radius-lg); padding: 2.25rem 1.5rem; box-shadow: var(--shadow-card); max-width: 880px; margin-inline: auto; text-align: left; }
.hero-card__card h1 { margin-top: 0.25rem; }
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 55ch; margin-bottom: 1.75rem; }
.hero__cta { margin: 0 0 2rem; }
.hero-card__figure { margin: 1.5rem 0 0; border-radius: var(--radius-md); overflow: hidden; }
.hero-card__figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 768px) {
  .hero.hero-card { padding-block: 4rem 5rem; }
  .hero-card__card { padding: 3.5rem 3rem; }
}

/* === Intro grid === */
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.intro-grid__figure { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.intro-grid__figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .intro-grid--reverse .intro-grid__text { order: 2; }
  .intro-grid--reverse .intro-grid__figure { order: 1; }
}

/* === Cards === */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}
.card { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 1.75rem 1.5rem; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.card h3 { color: var(--color-neutral-dark); margin-bottom: 0.6rem; }
.card p { margin: 0; color: var(--color-muted); font-size: 0.97rem; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--color-neutral-light); color: var(--color-primary); margin-bottom: 1rem; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

/* === Testimonial === */
.section--testimonial { padding-block: 3.5rem; }
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; padding: 0 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-style: italic; color: var(--color-neutral-dark); line-height: 1.4; margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: 0.95rem; letter-spacing: 0.02em; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #fff; padding-block: 3rem; }
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0; }
.cta-band__row { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 800px) { .cta-band__row { flex-direction: row; align-items: center; justify-content: space-between; } }

/* === FAQ === */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.1rem; }
.faq details[open] { box-shadow: var(--shadow-card); }
.faq p { margin: 0.75rem 0 0; color: var(--color-muted); }

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

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; background: #fff; border-radius: var(--radius-md); padding: 2rem; border: 1px solid var(--color-line); }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 0.5rem 0; border-bottom: 1px dashed var(--color-line); font-size: 0.95rem; }
.hours th { color: var(--color-neutral-dark); font-weight: 500; }
.contact-band { background: #fff; border-radius: var(--radius-md); padding: 2.25rem; border: 1px solid var(--color-line); }

/* === Form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 1.75rem; border-radius: var(--radius-md); border: 1px solid var(--color-line); }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.9rem; 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: var(--color-neutral-light); color: var(--color-text); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.form-consent { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.88rem; color: var(--color-muted); }
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { align-self: flex-start; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #E8F5EC; padding-block: 3rem 1.5rem; margin-top: 3rem; }
.site-footer a { color: #E8F5EC; }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer h3 { color: #fff; font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.1fr 1fr 1.2fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 0.4rem; }
.tagline { color: rgba(232,245,236,0.75); font-style: italic; }
.legal-links { margin-top: 1rem; font-size: 0.9rem; }
.site-footer__base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; color: rgba(232,245,236,0.7); }
.site-footer__base p { margin: 0; }
.logo--footer img { filter: brightness(0) invert(1); }

/* === 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.4rem; border-radius: var(--radius-md); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn--primary { background: var(--color-secondary); color: var(--color-neutral-dark); }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(255,255,255,0.4); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: 0.4rem; }
