/* ═══════════════════════════════════════════════════════════
   PARAATSERVICE.NL — Design System V1
   Editorial wonen/verbouwen/installatie platform
   Stack: Pure HTML/CSS/JS — statisch, SEO-first
   ═══════════════════════════════════════════════════════════ */

/* ── FONTS ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,400;1,9..144,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Colors — Warm editorial palette */
  --ink: #1B1B1E;
  --ink-soft: #3D3D42;
  --ink-muted: #6E6E76;
  --ink-faint: #9D9DA5;
  --surface: #FAFAF8;
  --surface-warm: #F5F3EE;
  --surface-card: #FFFFFF;
  --border: #E8E6E1;
  --border-soft: #F0EDE8;

  /* Accent — Deep teal/sage (trust + nature + home) */
  --accent: #2D6A5A;
  --accent-hover: #245649;
  --accent-light: #E8F2EF;
  --accent-glow: rgba(45,106,90,.08);

  /* Secondary — Warm terracotta */
  --warm: #C4704B;
  --warm-light: #FDF0EB;

  /* Category colors */
  --cat-installaties: #2D6A5A;
  --cat-duurzaam: #3A7D44;
  --cat-verbouwen: #8B6B3D;
  --cat-interieur: #6B5B8A;
  --cat-regio: #4A6FA5;

  /* Spacing scale */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 40px;
  --sp-2xl: 64px;
  --sp-3xl: 96px;
  --sp-4xl: 128px;

  /* Type scale */
  --text-xs: .75rem;
  --text-sm: .85rem;
  --text-base: .95rem;
  --text-md: 1.05rem;
  --text-lg: 1.2rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.8rem;
  --text-4xl: 3.6rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(27,27,30,.04);
  --shadow-md: 0 4px 16px rgba(27,27,30,.06);
  --shadow-lg: 0 12px 40px rgba(27,27,30,.08);
  --shadow-xl: 0 24px 64px rgba(27,27,30,.10);
  --shadow-card: 0 2px 8px rgba(27,27,30,.04), 0 0 0 1px rgba(27,27,30,.03);

  /* Transitions */
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,0,.2,1);
  --t-fast: 150ms var(--ease);
  --t-base: 250ms var(--ease);
  --t-slow: 400ms var(--ease-out);

  /* Layout */
  --max-w: 1280px;
  --max-w-narrow: 780px;
  --gutter: 5%;
}

/* ── RESET ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100% }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block }
a { text-decoration: none; color: inherit; transition: color var(--t-fast) }
button { font: inherit; cursor: pointer; border: none; background: none }
ul, ol { list-style: none }
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--ink) }

/* ── UTILITIES ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); width: 100% }
.container--narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 var(--gutter) }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0) }

/* ── LABEL / BADGE ─────────────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
}
.label--installaties { background: var(--accent-light); color: var(--cat-installaties) }
.label--duurzaam { background: #e8f5e9; color: var(--cat-duurzaam) }
.label--verbouwen { background: #f5f0e6; color: var(--cat-verbouwen) }
.label--interieur { background: #f0ecf5; color: var(--cat-interieur) }
.label--regio { background: #e8eff5; color: var(--cat-regio) }

/* ── NAVIGATION ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.nav__wordmark span { color: var(--accent) }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-muted);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); background: var(--accent-glow) }
.nav__link--active { color: var(--accent); font-weight: 600 }
.nav__cta {
  background: var(--accent);
  color: white;
  padding: 9px 20px;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--t-base);
  white-space: nowrap;
}
.nav__cta:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md) }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all var(--t-base); display: block }

/* Mobile menu */
.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 68px;
  background: var(--surface);
  z-index: 99;
  padding: var(--sp-xl) var(--gutter);
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mob-menu.open { display: flex }
.mob-menu a {
  padding: 14px 0;
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border-soft);
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  padding: var(--sp-3xl) 0 var(--sp-2xl);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
.hero__content { position: relative; z-index: 1 }
.hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-md);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, var(--text-4xl));
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.04em;
  margin-bottom: var(--sp-lg);
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  font-size: var(--text-md);
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: var(--sp-xl);
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-warm);
}
.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px rgba(27,27,30,.06);
  pointer-events: none;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 13px 28px;
  border-radius: var(--r-full);
  transition: all var(--t-base);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: white }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg) }
.btn--outline { border: 1.5px solid var(--border); color: var(--ink-soft) }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow) }
.btn--warm { background: var(--warm); color: white }
.btn--warm:hover { background: #b5623f; transform: translateY(-2px) }

/* ── SECTIONS ──────────────────────────────────────────────── */
.section { padding: var(--sp-3xl) 0 }
.section--warm { background: var(--surface-warm) }
.section--dark { background: var(--ink); color: white }
.section--dark h2, .section--dark h3 { color: white }
.section--dark p { color: rgba(255,255,255,.6) }

.section__header {
  margin-bottom: var(--sp-xl);
}
.section__header--center { text-align: center }
.section__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
}
.section__title {
  font-size: clamp(1.6rem, 3vw, var(--text-3xl));
  margin-bottom: var(--sp-md);
}
.section__sub {
  font-size: var(--text-base);
  color: var(--ink-muted);
  max-width: 560px;
  line-height: 1.8;
}
.section__header--center .section__sub { margin: 0 auto }

/* ── CARDS ─────────────────────────────────────────────────── */
.card {
  background: var(--surface-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-warm);
  position: relative;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.card:hover .card__img img { transform: scale(1.04) }
.card__img .label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: white;
  box-shadow: var(--shadow-sm);
}
.card__body {
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__meta {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  margin-bottom: var(--sp-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-sm);
  line-height: 1.3;
  letter-spacing: -.01em;
}
.card__excerpt {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
  flex: 1;
}
.card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast);
  margin-top: auto;
}
.card:hover .card__link { gap: 10px }

/* Featured card */
.card--featured {
  grid-column: span 2;
  flex-direction: row;
}
.card--featured .card__img { aspect-ratio: auto; width: 55%; flex-shrink: 0 }
.card--featured .card__body { padding: var(--sp-xl); justify-content: center }
.card--featured .card__title { font-size: var(--text-2xl) }

/* ── GRIDS ─────────────────────────────────────────────────── */
.grid { display: grid; gap: var(--sp-lg) }
.grid--2 { grid-template-columns: repeat(2, 1fr) }
.grid--3 { grid-template-columns: repeat(3, 1fr) }
.grid--4 { grid-template-columns: repeat(4, 1fr) }
.grid--featured { grid-template-columns: repeat(2, 1fr) }

/* ── CATEGORY TILES ────────────────────────────────────────── */
.cat-tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5/3;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-lg);
  text-decoration: none;
  transition: all var(--t-base);
}
.cat-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,27,30,.7) 0%, rgba(27,27,30,.1) 60%);
  z-index: 1;
  transition: opacity var(--t-base);
}
.cat-tile:hover::before { opacity: .85 }
.cat-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.cat-tile:hover img { transform: scale(1.05) }
.cat-tile__content { position: relative; z-index: 2; color: white }
.cat-tile__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: 4px;
}
.cat-tile__count {
  font-size: var(--text-xs);
  opacity: .7;
  font-weight: 500;
}

/* ── ARTICLE PAGE ──────────────────────────────────────────── */
.article { max-width: var(--max-w-narrow); margin: 0 auto; padding: var(--sp-2xl) var(--gutter) var(--sp-3xl) }
.article__breadcrumb {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  margin-bottom: var(--sp-lg);
  display: flex;
  align-items: center;
  gap: 6px;
}
.article__breadcrumb a { color: var(--ink-muted) }
.article__breadcrumb a:hover { color: var(--accent) }
.article h1 {
  font-size: clamp(1.8rem, 3.5vw, var(--text-3xl));
  margin-bottom: var(--sp-md);
}
.article__meta {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin-bottom: var(--sp-xl);
  display: flex;
  align-items: center;
  gap: 16px;
}
.article__intro {
  font-size: var(--text-md);
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: var(--sp-xl);
  padding: var(--sp-lg);
  background: var(--accent-light);
  border-radius: var(--r-lg);
  border-left: 4px solid var(--accent);
}
.article__content h2 {
  font-size: var(--text-xl);
  margin: var(--sp-xl) 0 var(--sp-md);
}
.article__content p {
  font-size: var(--text-base);
  color: var(--ink-soft);
  line-height: 1.85;
  margin-bottom: var(--sp-md);
}
.article__content a { color: var(--accent); font-weight: 600 }
.article__content a:hover { text-decoration: underline }

/* CTA box in article */
.article__cta {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  text-align: center;
  margin: var(--sp-xl) 0;
}
.article__cta h3 { color: white; font-size: var(--text-lg); margin-bottom: var(--sp-sm) }
.article__cta p { color: rgba(255,255,255,.55); font-size: var(--text-sm); margin-bottom: var(--sp-md) }

/* Author bio */
.author-bio {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  background: var(--surface-warm);
  border-radius: var(--r-lg);
  margin-top: var(--sp-xl);
}
.author-bio__avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: var(--border);
  flex-shrink: 0;
  overflow: hidden;
}
.author-bio__name { font-weight: 700; font-size: var(--text-sm) }
.author-bio__desc { font-size: var(--text-xs); color: var(--ink-muted); line-height: 1.6 }

/* ── COMPANY LISTING ───────────────────────────────────────── */
.company {
  background: var(--surface-card);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  gap: var(--sp-lg);
  align-items: flex-start;
  transition: all var(--t-base);
}
.company:hover { box-shadow: var(--shadow-md); transform: translateY(-2px) }
.company--featured { border: 2px solid var(--accent); position: relative }
.company--featured::after {
  content: 'Aanbevolen';
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--r-full);
  letter-spacing: .04em;
}
.company__logo {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: var(--surface-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
}
.company__info { flex: 1 }
.company__name { font-weight: 700; font-size: var(--text-md); margin-bottom: 4px }
.company__desc { font-size: var(--text-sm); color: var(--ink-muted); line-height: 1.6; margin-bottom: var(--sp-sm) }
.company__tags { display: flex; gap: 6px; flex-wrap: wrap }
.company__tag {
  font-size: var(--text-xs);
  padding: 3px 10px;
  background: var(--surface-warm);
  border-radius: var(--r-full);
  color: var(--ink-muted);
  font-weight: 500;
}

/* ── CONTRIBUTE SECTION ────────────────────────────────────── */
.contribute {
  background: linear-gradient(135deg, var(--ink) 0%, #2a2a32 100%);
  border-radius: var(--r-xl);
  padding: var(--sp-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}
.contribute h2 { color: white; font-size: var(--text-2xl); margin-bottom: var(--sp-md) }
.contribute p { color: rgba(255,255,255,.55); line-height: 1.8; margin-bottom: var(--sp-lg) }
.contribute__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
.contribute__benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.75);
  font-size: var(--text-sm);
}
.contribute__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .9rem;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: var(--sp-3xl) 0 var(--sp-xl);
  color: rgba(255,255,255,.5);
}
.footer__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
}
.footer__brand {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: white;
  margin-bottom: var(--sp-md);
}
.footer__desc { font-size: var(--text-sm); line-height: 1.7; max-width: 320px }
.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: var(--sp-md);
}
.footer__links { display: flex; flex-direction: column; gap: var(--sp-sm) }
.footer__links a { font-size: var(--text-sm); color: rgba(255,255,255,.5); transition: color var(--t-fast) }
.footer__links a:hover { color: white }
.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-lg) var(--gutter) 0;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
}
.footer__bottom a { color: rgba(255,255,255,.4) }
.footer__bottom a:hover { color: white }

/* ── FORM ──────────────────────────────────────────────────── */
.form-group { margin-bottom: var(--sp-md) }
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
  color: var(--ink-soft);
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font: inherit;
  font-size: var(--text-sm);
  color: var(--ink);
  background: var(--surface-card);
  transition: all var(--t-fast);
}
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow) }
textarea.form-input { min-height: 140px; resize: vertical }

/* ── PAGE HEADER ───────────────────────────────────────────── */
.page-header {
  padding: var(--sp-2xl) 0 var(--sp-xl);
  background: var(--surface-warm);
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: clamp(1.8rem, 3vw, var(--text-3xl));
  margin-bottom: var(--sp-sm);
}
.page-header p {
  font-size: var(--text-md);
  color: var(--ink-muted);
  max-width: 600px;
  line-height: 1.75;
}

/* ── STATS BAR ─────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  gap: var(--sp-xl);
  padding: var(--sp-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: var(--sp-lg) 0;
}
.stat { text-align: center }
.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat__label {
  font-size: var(--text-xs);
  color: var(--ink-faint);
  margin-top: 4px;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr) }
  .grid--4 { grid-template-columns: repeat(2, 1fr) }
  .card--featured { flex-direction: column }
  .card--featured .card__img { width: 100%; aspect-ratio: 16/9 }
  .card--featured .card__title { font-size: var(--text-xl) }
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-xl) }
  .hero__visual { max-height: 360px }
  .contribute { grid-template-columns: 1fr; gap: var(--sp-xl) }
  .footer__grid { grid-template-columns: 1fr 1fr }
}

@media (max-width: 768px) {
  :root { --gutter: 20px }
  .nav__menu { display: none }
  .nav__cta { display: none }
  .nav__hamburger { display: flex }
  .grid--2, .grid--3, .grid--4, .grid--featured { grid-template-columns: 1fr }
  .card--featured { grid-column: span 1 }
  .hero { padding: var(--sp-2xl) 0 var(--sp-xl) }
  .hero h1 { font-size: 2rem }
  .section { padding: var(--sp-2xl) 0 }
  .stats-bar { flex-wrap: wrap; gap: var(--sp-md) }
  .stat { flex: 1; min-width: 80px }
  .footer__grid { grid-template-columns: 1fr }
  .footer__bottom { flex-direction: column; gap: var(--sp-sm); text-align: center }
  .company { flex-direction: column }
}

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px) }
  to { opacity: 1; transform: translateY(0) }
}
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp .6s var(--ease-out) forwards }
.fade-up:nth-child(2) { animation-delay: .1s }
.fade-up:nth-child(3) { animation-delay: .2s }
.fade-up:nth-child(4) { animation-delay: .3s }
.fade-up:nth-child(5) { animation-delay: .4s }
.fade-up:nth-child(6) { animation-delay: .5s }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out) }
[data-reveal].visible { opacity: 1; transform: translateY(0) }
