:root {
  --color-primary: #059669;
  --color-secondary: #10B981;
  --color-accent: #F97316;
  --color-neutral-dark: #064E3B;
  --color-neutral-light: #ECFDF5;
  --color-page: #FAFDFA;
  --color-text: #0F2A22;
  --color-muted: #4E6B60;
  --color-border: rgba(6, 78, 59, 0.12);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 30px 60px -30px rgba(6, 78, 59, 0.35);
}

/* === Reset & base === */
*, *::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.6;
  color: var(--color-text);
  background: var(--color-page);
  -webkit-font-smoothing: antialiased;
}
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); font-weight: 600; line-height: 1.2; margin: 0 0 1rem; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--form { max-width: 720px; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; color: var(--color-primary); font-weight: 600; margin-bottom: 1rem; }
.prose { font-size: 1.05rem; line-height: 1.75; color: var(--color-text); max-width: 68ch; }

/* === Header === */
.site-header { background: var(--color-page); border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 100; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.site-nav { display: none; gap: 1.75rem; align-items: center; }
.site-nav a { color: var(--color-neutral-dark); font-weight: 500; font-family: var(--font-heading); font-size: 0.95rem; }
.site-nav a.is-active { color: var(--color-primary); }
.site-nav a:hover { color: var(--color-primary); text-decoration: none; }
.nav-toggle { background: transparent; border: 0; padding: 0.5rem; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.site-nav.is-open { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1rem 0 1.5rem; width: 100%; border-top: 1px solid var(--color-border); margin-top: 0.75rem; }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
  .site-header__inner { padding-block: 1.25rem; }
}

/* === Buttons === */
.btn { display: inline-block; font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em; padding: 0.9rem 1.6rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.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: #d95a10; color: #fff; }

/* === Hero (hero-card) === */
.hero { padding-block: 3rem; background: linear-gradient(180deg, var(--color-neutral-light) 0%, var(--color-page) 100%); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -80px -60px auto auto; width: 320px; height: 320px; background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%); border-radius: 50%; z-index: 0; }
.hero-card__card { position: relative; z-index: 1; max-width: 880px; margin-inline: auto; padding: 2.5rem 1.75rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); text-align: left; }
.hero-card__card h1 { margin-bottom: 1.25rem; }
.hero__sub { font-size: 1.125rem; color: var(--color-muted); max-width: 55ch; margin-bottom: 1.75rem; }
.hero-card__image { margin: 2rem 0 0; border-radius: var(--radius); overflow: hidden; }
.hero-card__image img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding-block: 5rem; }
  .hero-card__card { padding: 3.5rem 3rem; }
}

/* === Section === */
.section { padding-block: 3.5rem; }
.section--narrow .container { max-width: 780px; }
.section--tinted { background: var(--color-neutral-light); }
.section__sub { font-size: 1.05rem; color: var(--color-muted); margin-bottom: 1.75rem; max-width: 60ch; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }

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

.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--color-muted); margin: 0; }
.card__icon { color: var(--color-primary); margin-bottom: 1rem; }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -25px rgba(6,78,59,0.35); border-color: var(--color-secondary); text-decoration: none; }
.card__more { display: inline-block; margin-top: 1rem; color: var(--color-primary); font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; }

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

/* === Quote === */
.section--quote { background: var(--color-neutral-dark); color: var(--color-neutral-light); }
.section--quote h2 { color: var(--color-neutral-light); text-align: center; }
.quote { max-width: 780px; margin-inline: auto; text-align: center; font-family: var(--font-heading); }
.quote p { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; font-weight: 500; margin-bottom: 1.25rem; color: var(--color-neutral-light); }
.quote cite { font-style: normal; font-size: 0.95rem; color: var(--color-secondary); font-family: var(--font-body); letter-spacing: 0.05em; }

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

/* === Article detail === */
.article-detail { max-width: 68ch; margin-inline: auto; padding: 3rem 1.25rem 2rem; }
.article-detail__header { margin-bottom: 2rem; }
.article-detail h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.25rem; }
.article-detail__sub { font-size: 1.2rem; color: var(--color-muted); line-height: 1.55; }
.article-detail__hero { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; }
.article-detail__hero img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.article-detail h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.article-detail p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.back-link { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); font-family: var(--font-heading); }
.back-link a { color: var(--color-primary); font-weight: 600; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); }
.field input, .field textarea { font: inherit; padding: 0.85rem 1rem; border: 1px solid var(--color-border); border-radius: 10px; background: #fff; color: var(--color-text); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-secondary); }
.field textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 3.5rem 0 2rem; }
.site-footer a { color: var(--color-neutral-light); }
.site-footer a:hover { color: var(--color-secondary); }
.site-footer .logo img { height: 60px; margin-bottom: 0.75rem; filter: brightness(0) invert(1); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.site-footer__tagline { color: var(--color-secondary); font-family: var(--font-heading); font-weight: 500; margin: 0; }
.site-footer__nav { display: flex; flex-direction: column; gap: 0.5rem; font-family: var(--font-heading); }
.site-footer__contact { font-style: normal; font-size: 0.95rem; line-height: 1.65; }
.site-footer__contact p { margin: 0 0 0.75rem; }
.site-footer__legal { font-size: 0.85rem; opacity: 0.85; margin-top: 1rem; }
.site-footer__copy { margin: 2.5rem 0 0; text-align: center; font-size: 0.85rem; opacity: 0.7; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
@media (min-width: 768px) { .site-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 1.5rem; border-radius: var(--radius); box-shadow: 0 20px 50px -15px rgba(0,0,0,0.4); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { font-family: var(--font-heading); font-size: 0.85rem; font-weight: 600; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); 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 { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px; border: 0; background: var(--color-secondary); color: #fff; font-family: var(--font-heading); font-weight: 600; cursor: pointer; }
