/* ==========================================================================
   VoltWijs — designsysteem
   Licht & fris, groen merkaccent. Eigen stijl, mobiel-first.
   ========================================================================== */

/* ---- Design tokens ---------------------------------------------------- */
:root {
  /* Merkkleuren — afgeleid van het VoltWijs-logo (lime/olijf groen) */
  --brand:        #7cb518;
  --brand-600:    #5f8f12;   /* tekst/hover op licht */
  --brand-700:    #4a7010;
  --brand-050:    #f3f8e8;   /* zachte tint */
  --brand-100:    #e7f1cf;

  --ink:          #10231a;   /* diep groen-zwart, hoofdtekst */
  --ink-soft:     #3a4a40;
  --muted:        #64756a;   /* bijschriften */
  --line:         #e4ebe1;   /* randen */
  --line-strong:  #d3ddcd;

  --bg:           #ffffff;
  --surface:      #f5f8f1;   /* zachte sectie-achtergrond */
  --surface-2:    #eef3e8;
  --dark:         #10231a;   /* donkere secties/footer */
  --dark-2:       #16301f;

  --white:        #ffffff;

  --radius:       18px;
  --radius-sm:    12px;
  --radius-lg:    28px;
  --shadow-sm:    0 1px 2px rgba(16,35,26,.06), 0 2px 8px rgba(16,35,26,.05);
  --shadow-md:    0 8px 24px rgba(16,35,26,.08), 0 2px 8px rgba(16,35,26,.05);
  --shadow-lg:    0 24px 60px rgba(16,35,26,.14);

  --container:    1160px;
  --gutter:       clamp(1.1rem, 4vw, 2rem);

  --font: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---- Reset / base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---- Layout helpers --------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--surface { background: var(--surface); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 2px; border-radius: 2px;
  background: var(--brand);
}

.section-head { max-width: 46rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  margin-top: .8rem;
}
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 1rem; }

.lede { font-size: 1.2rem; color: var(--ink-soft); }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #14260c; box-shadow: 0 6px 18px rgba(124,181,24,.35); }
.btn--primary:hover { background: var(--brand-600); color: #fff; box-shadow: 0 10px 26px rgba(124,181,24,.42); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1c3a29; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brand-050); }

.btn--lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--brand-700);
}
.text-link svg { width: 1.05em; height: 1.05em; transition: transform .18s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 72px;
}

/* Woordmerk in tekst zodat het op wit leesbaar is */
.brand { display: inline-flex; align-items: baseline; gap: .04em; font-weight: 800;
  font-size: 1.5rem; letter-spacing: -.03em; }
.brand .b-volt { color: var(--ink); }
.brand .b-wijs { color: var(--brand-600); }
.brand__dot { color: var(--brand); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__link { font-weight: 500; color: var(--ink-soft); font-size: .98rem; position: relative; padding-block: .3rem; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--brand); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: .9rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  border-radius: 12px; background: #fff; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-2px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { gap: 1rem; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem; box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s;
    pointer-events: none;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav__link { padding: .95rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header-cta .btn--primary { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--brand-050), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--surface) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
.hero h1 .accent { color: var(--brand-600); }
.hero__lead { margin-top: 1.3rem; max-width: 34rem; }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__points { margin-top: 2rem; display: grid; gap: .7rem; }
.hero__points li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink-soft); font-weight: 500; }
.hero__points svg { flex: none; width: 1.4rem; height: 1.4rem; color: var(--brand-600); margin-top: .1rem; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute; left: -1.2rem; bottom: 1.6rem;
  background: #fff; border-radius: var(--radius); padding: 1rem 1.15rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .85rem; max-width: 15rem;
}
.hero__badge .n { font-size: 1.7rem; font-weight: 800; color: var(--brand-600); line-height: 1; letter-spacing: -.03em; }
.hero__badge small { color: var(--muted); font-size: .82rem; line-height: 1.3; display: block; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 30rem; margin-inline: auto; }
  .hero__media img { aspect-ratio: 3/2.6; }
  .hero__badge { left: .6rem; }
}

/* ==========================================================================
   Trust band
   ========================================================================== */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; padding-block: 1.5rem; }
.trust__label { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.trust__brands { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; }
.trust__brands span { font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink-soft); opacity: .85; }
.trust__brands span b { color: var(--brand-600); }

/* ==========================================================================
   Feature grid (waarom een thuisbatterij)
   ========================================================================== */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.feature__icon {
  width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-050); color: var(--brand-700); margin-bottom: 1.1rem;
}
.feature__icon svg { width: 1.5rem; height: 1.5rem; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); margin-top: .5rem; font-size: .98rem; }

/* ---- Split (image + text) -------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; aspect-ratio: 5/4; }
.split ul.checks { margin-top: 1.4rem; display: grid; gap: .8rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks svg { flex: none; width: 1.35rem; height: 1.35rem; color: var(--brand-600); margin-top: .15rem; }
.checks li b { display: block; }
.checks li span { color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ==========================================================================
   Steps (hoe werkt het)
   ========================================================================== */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: .5rem; }
.step__n {
  counter-increment: step; width: 2.7rem; height: 2.7rem; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; display: grid; place-items: center;
  font-size: 1.05rem; margin-bottom: 1rem;
}
.step__n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); margin-top: .45rem; font-size: .96rem; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; } }

.product {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product--featured { border-color: var(--brand); box-shadow: 0 20px 50px rgba(124,181,24,.20); }
.product__media { aspect-ratio: 4/3; background: var(--surface-2); position: relative; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__tag {
  position: absolute; top: 1rem; left: 1rem; background: var(--brand); color: #14260c;
  font-weight: 700; font-size: .78rem; letter-spacing: .04em; padding: .35rem .7rem; border-radius: 999px;
}
.product__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product__line { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.product__body h3 { font-size: 1.4rem; margin-top: .25rem; }
.product__brand { color: var(--muted); font-size: .95rem; margin-top: .1rem; }
.product__body > p { color: var(--ink-soft); margin-top: .8rem; font-size: .97rem; }
.product__specs { margin-top: 1.1rem; display: grid; gap: .5rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.product__specs li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.product__specs li span { color: var(--muted); }
.product__specs li b { font-weight: 600; text-align: right; }
.product__foot { margin-top: auto; padding-top: 1.3rem; }

/* ==========================================================================
   USP list / process
   ========================================================================== */
.usp { display: flex; gap: 1rem; align-items: flex-start; }
.usp__n { font-size: 1.05rem; font-weight: 800; color: var(--brand-600); font-variant-numeric: tabular-nums; }
.usp h3 { font-size: 1.12rem; }
.usp p { color: var(--muted); margin-top: .35rem; font-size: .96rem; }

.timeline { display: grid; gap: 1.5rem; }
.timeline__item { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; }
.timeline__dot { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--brand-050);
  color: var(--brand-700); font-weight: 700; display: grid; place-items: center; border: 1.5px solid var(--brand-100); }
.timeline__item h3 { font-size: 1.1rem; }
.timeline__item p { color: var(--muted); margin-top: .3rem; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; text-align: center; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .n { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; color: var(--brand-600); letter-spacing: -.03em; line-height: 1; }
.stat p { color: var(--muted); margin-top: .5rem; font-size: .95rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .8rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; font-weight: 600; font-size: 1.05rem; color: var(--ink); background: none; border: none;
}
.faq__q .ico { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--brand-050);
  color: var(--brand-700); display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; }
.faq__q .ico::before, .faq__q .ico::after { content: ""; position: absolute; width: .8rem; height: 2px; background: currentColor; border-radius: 2px; }
.faq__q .ico::after { transform: rotate(90deg); transition: transform .25s var(--ease); }
.faq__q .ico { position: relative; }
.faq__item[open] .faq__q .ico { background: var(--brand); color: #14260c; }
.faq__item[open] .faq__q .ico::after { transform: rotate(0); }
.faq__a { padding: 0 1.3rem 1.3rem; color: var(--muted); }
.faq__a p + p { margin-top: .7rem; }
.faq__q::-webkit-details-marker { display: none; }
details.faq__item summary { list-style: none; cursor: pointer; }
details.faq__item summary::-webkit-details-marker { display: none; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #eaf3ea; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.6rem);
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -10%; top: -40%; width: 40rem; height: 40rem;
  background: radial-gradient(circle, rgba(124,181,24,.28), transparent 60%); pointer-events: none;
}
.cta__inner { position: relative; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.cta p { color: #b9c9bc; margin-top: .7rem; max-width: 34rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
@media (max-width: 760px) { .cta__inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact / forms
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.info-list { display: grid; gap: 1.1rem; margin-top: .4rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ico { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--brand-700); }
.info-list .ico svg { width: 1.25rem; height: 1.25rem; }
.info-list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.info-list a, .info-list b { font-weight: 600; font-size: 1.05rem; color: var(--ink); }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .req { color: var(--brand-600); }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line-strong);
  border-radius: 12px; padding: .8rem .95rem; width: 100%; transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-050);
}
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--brand-600); flex: none; }
.form__note { font-size: .85rem; color: var(--muted); }
.form__status { display: none; padding: .9rem 1.1rem; border-radius: 12px; font-weight: 500; font-size: .95rem; }
.form__status.is-error { display: block; background: #fdecec; color: #a12222; border: 1px solid #f5c6c6; }
.form__status.is-ok { display: block; background: var(--brand-050); color: var(--brand-700); border: 1px solid var(--brand-100); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ==========================================================================
   Prose (over-ons, juridisch)
   ========================================================================== */
.prose { max-width: 46rem; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { display: grid; gap: .5rem; padding-left: 1.2rem; list-style: disc; }
.prose ul li::marker { color: var(--brand); }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }

.page-hero { background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-top: .7rem; }
.page-hero p { color: var(--muted); margin-top: 1rem; max-width: 42rem; font-size: 1.1rem; }
.breadcrumb { font-size: .88rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; }
.breadcrumb a:hover { color: var(--brand-700); }

/* ---- Spec table (productpagina's) ------------------------------------ */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); font-size: .97rem; }
.spec-table th { width: 45%; font-weight: 600; color: var(--ink); background: var(--surface); }
.spec-table td { color: var(--ink-soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.pill { display: inline-flex; align-items: center; gap: .4rem; background: var(--brand-050); color: var(--brand-700);
  font-weight: 600; font-size: .82rem; padding: .35rem .8rem; border-radius: 999px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--dark); color: #c3d1c5; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: clamp(3rem,7vw,5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img.footer-logo { width: 150px; margin-bottom: 1rem; }
.site-footer p { color: #98a99b; font-size: .95rem; max-width: 22rem; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a, .footer-col li { color: #b7c6b9; font-size: .96rem; display: block; padding-block: .3rem; }
.footer-col a:hover { color: var(--brand); }
.footer-contact a { display: flex; gap: .6rem; align-items: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: #8fa091; }
.footer-bottom a { color: #b7c6b9; }
.footer-bottom a:hover { color: var(--brand); }

/* ---- Reveal on scroll ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .78rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.post-card h3 { font-size: 1.2rem; margin: .6rem 0 .5rem; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card .text-link { margin-top: auto; padding-top: 1.1rem; }

.post-meta { display: flex; gap: .7rem 1rem; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .9rem; margin-top: 1.2rem; }
.post-meta span { display: inline-flex; align-items: center; gap: .35rem; }

.article-cover { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  margin: 1.8rem 0 0; aspect-ratio: 16/7.5; object-fit: cover; }

.prose .callout { background: var(--brand-050); border: 1px solid var(--brand-100);
  border-radius: var(--radius-sm); padding: 1.15rem 1.3rem; color: var(--ink-soft); }
.prose .callout strong { color: var(--brand-700); }

.article-cta { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.8rem; display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center;
  justify-content: space-between; margin-top: 2.5rem; }
.article-cta h3 { font-size: 1.2rem; }
.article-cta p { color: var(--muted); font-size: .95rem; margin-top: .25rem; }

.article-nav { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; margin-top: 2.5rem;
  border-top: 1px solid var(--line); padding-top: 1.5rem; }

.mt-0{margin-top:0}.mb-0{margin-bottom:0}
