/* === Tokens === */
:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #F97316;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;
  --measure: 65ch;
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #fff;
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; font-weight: 600; margin: 0 0 .75rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 720px; margin-inline: auto; }
.section { padding-block: 4rem; }
.section-alt { background: var(--color-neutral-light); }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 700; color: var(--color-primary); margin-bottom: .75rem; font-family: var(--font-body); }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(6,78,59,0.08);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: none; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: .5rem; }
.site-nav { display: none; flex-direction: column; gap: 1rem; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1.5rem 1.25rem; border-bottom: 1px solid rgba(6,78,59,0.08); }
.site-nav.is-open { display: flex; }
.site-nav a { color: var(--color-neutral-dark); font-weight: 700; padding-block: .35rem; }
.site-nav a[aria-current="page"] { color: var(--color-primary); }

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

/* === Hero fullscreen === */
.hero-fullscreen { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding-block: 4rem; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(6,78,59,0.55), rgba(6,78,59,0.75)); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--color-neutral-light); max-width: 780px; }
.hero-fullscreen .eyebrow { color: var(--color-neutral-light); opacity: .9; }
.hero-fullscreen h1 { color: var(--color-neutral-light); max-width: 22ch; margin-inline: auto; }
.hero-sub { font-size: 1.15rem; opacity: .95; max-width: 48ch; margin: 1rem auto 2rem; }
.hero-simple { background: var(--color-neutral-light); padding-block: 5rem; text-align: center; }
.hero-simple .hero-content { color: var(--color-neutral-dark); margin-inline: auto; }

/* === Buttons === */
.btn { display: inline-block; padding: .95rem 1.75rem; border-radius: 4px; font-weight: 700; font-size: 1rem; letter-spacing: .02em; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; border: 0; cursor: pointer; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: #ea6a11; box-shadow: 0 8px 24px -8px rgba(249,115,22,.6); }
.btn-accent { background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.btn-accent:hover { background: #fff; }

/* === Grid === */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .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 rgba(6,78,59,0.1); border-radius: 12px; padding: 1.75rem; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--color-neutral-light); color: var(--color-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
a.card-link { display: block; color: inherit; text-decoration: none; }
a.card-link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 36px -20px rgba(6,78,59,0.35); border-color: var(--color-primary); }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: rgba(6,78,59,0.85); font-size: .98rem; }

/* === Quote === */
.section-quote { background: var(--color-neutral-light); padding-block: 4rem; }
.section-quote blockquote { margin: 0; text-align: center; }
.section-quote blockquote p { font-family: var(--font-heading); font-size: clamp(1.35rem, 2.5vw, 1.85rem); line-height: 1.4; color: var(--color-neutral-dark); font-style: italic; }
.section-quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 700; color: var(--color-primary); font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: var(--color-neutral-light); padding-block: 4rem; text-align: center; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { max-width: 52ch; margin: 0 auto 1.75rem; opacity: .95; }

/* === Contact === */
.contact-lede { max-width: 720px; margin-inline: auto; text-align: center; font-size: 1.05rem; }
.contact-form { background: #fff; border: 1px solid rgba(6,78,59,0.1); border-radius: 12px; padding: 1.75rem; }
.form-row { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 700; font-size: .95rem; }
.form-row input, .form-row textarea { font: inherit; padding: .75rem .85rem; border: 1px solid rgba(6,78,59,0.2); border-radius: 6px; background: #fff; color: var(--color-neutral-dark); }
.form-row input:focus, .form-row 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: .55rem; font-size: .9rem; margin: 1rem 0 1.25rem; line-height: 1.4; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding-top: 3rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer .logo img { height: 60px; filter: brightness(0) invert(1); }
.site-footer .tagline { opacity: .8; margin-top: .75rem; font-style: italic; }
.site-footer h4 { font-family: var(--font-body); color: var(--color-neutral-light); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a, .footer-contact a { color: var(--color-neutral-light); opacity: .85; }
.footer-nav a:hover, .footer-contact a:hover { opacity: 1; }
.footer-contact p { opacity: .85; margin-bottom: .75rem; }
.legal-links { font-size: .9rem; margin-top: 1rem; }
.footer-bottom { border-top: 1px solid rgba(236,253,245,0.15); padding-block: 1.25rem; text-align: center; font-size: .85rem; opacity: .75; }
.footer-bottom p { margin: 0; }

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

/* === 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.35rem; border-radius: 12px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5); max-width: 640px; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .93rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font: inherit; padding: .6rem 1rem; border: 0; border-radius: 6px; cursor: pointer; font-weight: 700; font-size: .88rem; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-reject] { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(236,253,245,0.35); }
.cookie-banner [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(236,253,245,0.35); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .55rem; padding-top: 1rem; border-top: 1px solid rgba(236,253,245,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { background: var(--color-neutral-light); color: var(--color-neutral-dark); align-self: flex-start; margin-top: .5rem; }
