/* ==========================================================================
   3Digitaal — refreshed design system
   Plain CSS, no build step. Hosted on Netlify.
   ========================================================================== */

:root {
  /* Brand */
  --indigo-50:  #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;

  /* Slate / neutrals */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* Accents */
  --green-500: #22c55e;
  --green-600: #16a34a;

  /* Category gradients */
  --grad-purple: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  --grad-orange: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
  --grad-blue:   linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
  --grad-cta:    linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);

  /* Type — system stack, no third-party font request (privacy-friendly).
     If you self-host Plus Jakarta Sans later, add it to the front of this list. */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Shape & shadow */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow:    0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(79, 70, 229, .25);

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--slate-900); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(56px, 9vw, 110px); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--indigo-600); margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-head p { margin-top: 14px; color: var(--slate-500); font-size: 1.08rem; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--indigo-600); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 12px 24px -10px rgba(79, 70, 229, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -10px rgba(79, 70, 229, .7); }
.btn-ghost { background: var(--white); color: var(--slate-800); border-color: var(--slate-200); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--indigo-300, #a5b4fc); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; padding-block: 18px; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--slate-100);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.3rem; color: var(--slate-900); }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a:not(.btn) {
  padding: 10px 16px; border-radius: 999px; font-weight: 600; color: var(--slate-600); font-size: .98rem;
  transition: color .15s, background .15s;
}
.nav-links a:not(.btn):hover, .nav-links a:not(.btn).active { color: var(--indigo-700); background: var(--indigo-50); }
.nav-links .btn { margin-left: 8px; padding: 11px 22px; }
.nav-links a.btn-primary { color: #fff; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; border-radius: 10px; color: var(--slate-800);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, var(--indigo-100), transparent 60%),
    radial-gradient(700px 500px at 5% 110%, #f5f3ff, transparent 55%),
    linear-gradient(180deg, var(--slate-50), var(--white));
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero .lead { margin-top: 22px; font-size: 1.2rem; color: var(--slate-600); max-width: 30ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; background: var(--white);
  border: 1px solid var(--slate-200); border-radius: 999px; padding: 9px 18px;
  font-weight: 600; color: var(--slate-700); box-shadow: var(--shadow-sm); font-size: .95rem;
}
.badge svg { width: 18px; height: 18px; color: var(--green-600); }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; }
.hero-visual img { width: min(440px, 100%); filter: drop-shadow(0 30px 50px rgba(37, 99, 235, .25)); }
.hero-logo { width: min(430px, 88%) !important; height: auto; filter: drop-shadow(0 24px 40px rgba(30, 58, 107, .22)); }

/* ---------- Category cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  position: relative; border-radius: var(--radius-lg); padding: 36px 30px; color: #fff;
  min-height: 230px; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
  text-align: center; align-items: center;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card.purple { background: var(--grad-purple); }
.cat-card.orange { background: var(--grad-orange); }
.cat-card.blue   { background: var(--grad-blue); }
.cat-icon {
  width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .18);
  display: grid; place-items: center; backdrop-filter: blur(4px);
}
.cat-icon svg { width: 32px; height: 32px; color: #fff; }
.cat-card h3 { color: #fff; font-size: 1.4rem; }
.cat-card p { color: rgba(255, 255, 255, .92); }
.cat-card .card-link {
  margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
}
.cat-card .card-link svg { width: 16px; height: 16px; transition: transform .15s; }
.cat-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Tester tool ---------- */
.tester { background: var(--slate-50); }
.tester-shell {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; max-width: 920px; margin: 0 auto;
}
.tester-head { display: flex; align-items: center; gap: 16px; padding: 28px 32px; border-bottom: 1px solid var(--slate-100); }
.tester-head .ti { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-cta); display: grid; place-items: center; }
.tester-head .ti svg { width: 26px; height: 26px; color: #fff; }
.tester-head h3 { font-size: 1.35rem; }
.tester-head p { color: var(--slate-500); font-size: .98rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 32px 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--slate-200); background: var(--white); color: var(--slate-600); font-weight: 600; font-size: .92rem;
}
.chip svg { width: 16px; height: 16px; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 22px 32px 0; background: var(--slate-100); padding: 6px; border-radius: 14px; }
.tab {
  border: 0; background: transparent; padding: 12px; border-radius: 10px; font-weight: 700; color: var(--slate-500);
  transition: background .15s, color .15s;
}
.tab.active { background: var(--white); color: var(--slate-900); box-shadow: var(--shadow-sm); }

.tab-panel { padding: 28px 32px 32px; }
.tab-panel[hidden] { display: none; }

.field { margin-bottom: 22px; }
.field > label { display: block; font-weight: 700; color: var(--slate-800); margin-bottom: 6px; }
.field .hint { font-size: .85rem; color: var(--slate-400); margin-bottom: 10px; }
.input-wrap { position: relative; }
.input-wrap svg.lead-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--slate-400); }
input[type=text], input[type=email], input[type=tel], input[type=number] {
  width: 100%; padding: 14px 16px; border: 1px solid var(--slate-200); border-radius: var(--radius-sm);
  font-size: 1rem; color: var(--slate-800); background: var(--slate-50); transition: border .15s, box-shadow .15s, background .15s;
}
.input-wrap input { padding-left: 46px; }
input:focus { outline: none; border-color: var(--indigo-500); background: #fff; box-shadow: 0 0 0 4px var(--indigo-100); }
.prefix-euro { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--slate-400); font-weight: 600; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm); background: var(--slate-50); cursor: pointer; transition: border .15s, background .15s;
  font-weight: 600; color: var(--slate-700);
}
.opt:hover { border-color: var(--indigo-300, #a5b4fc); }
.opt input { width: 20px; height: 20px; accent-color: var(--indigo-600); }
.opt.checked { border-color: var(--indigo-500); background: var(--indigo-50); }

/* Speed test */
.speedtest { text-align: center; padding: 16px 0; }
.gauge { font-size: clamp(3rem, 10vw, 5rem); font-weight: 800; color: var(--slate-900); letter-spacing: -.03em; }
.gauge span { font-size: 1.3rem; color: var(--slate-400); font-weight: 600; }
.gauge-label { color: var(--slate-500); margin-bottom: 20px; }
.speed-bar { height: 10px; border-radius: 999px; background: var(--slate-100); overflow: hidden; margin: 18px auto; max-width: 480px; }
.speed-bar i { display: block; height: 100%; width: 0; background: var(--grad-cta); transition: width .3s ease; }

/* Tips */
.tips { max-width: 920px; margin: 28px auto 0; }
.tips .eyebrow { display: block; text-align: left; }
.tip { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 18px 22px; margin-top: 14px; box-shadow: var(--shadow-sm); }
.tip .num { flex: none; width: 34px; height: 34px; border-radius: 999px; background: var(--indigo-100); color: var(--indigo-700); font-weight: 800; display: grid; place-items: center; }
.tip h4 { font-size: 1.05rem; }
.tip p { color: var(--slate-500); font-size: .95rem; }

/* ---------- Inner page hero ---------- */
.page-hero {
  background: radial-gradient(700px 400px at 50% -20%, var(--indigo-100), transparent 60%), linear-gradient(180deg, var(--slate-50), var(--white));
  text-align: center; padding-block: clamp(56px, 9vw, 96px);
}
.page-hero .pi { width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 22px; display: grid; place-items: center; box-shadow: var(--shadow); }
.page-hero .pi svg { width: 38px; height: 38px; color: #fff; }
.page-hero.purple .pi { background: var(--grad-purple); }
.page-hero.orange .pi { background: var(--grad-orange); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero p { margin: 16px auto 0; color: var(--slate-600); font-size: 1.15rem; max-width: 60ch; }
.page-hero .btn { margin-top: 30px; }
.hero-contact { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.hero-contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--slate-700); background: var(--white); border: 1px solid var(--slate-200); padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.hero-contact a:hover { border-color: var(--indigo-500); color: var(--indigo-700); }
.hero-contact svg { width: 18px; height: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--slate-500); font-weight: 600; margin-bottom: 8px; }
.back-link:hover { color: var(--indigo-600); }
.back-link svg { width: 18px; height: 18px; }

/* ---------- Feature blocks ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .fi { width: 54px; height: 54px; border-radius: 14px; background: var(--indigo-50); display: grid; place-items: center; margin-bottom: 18px; }
.feature .fi svg { width: 28px; height: 28px; color: var(--indigo-600); }
.feature h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature p { color: var(--slate-500); }

/* Detail list columns */
.detail-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.detail-card { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); padding: 32px; }
.detail-card h3 { font-size: 1.3rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.detail-card h3 svg { width: 24px; height: 24px; color: var(--indigo-600); }
.check-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate-700); }
.check-list li svg { flex: none; width: 22px; height: 22px; color: var(--green-600); margin-top: 1px; }

/* CTA band */
.cta-band { text-align: center; }
.cta-inner {
  background: var(--grad-cta); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 64px);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.cta-inner p { color: rgba(255, 255, 255, .9); margin-top: 12px; font-size: 1.1rem; }
.cta-inner .btn { margin-top: 26px; background: #fff; color: var(--indigo-700); }
.cta-inner .btn:hover { background: var(--slate-50); }

/* ---------- Contact form ---------- */
.form-card {
  max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(28px, 5vw, 44px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.consent { display: flex; gap: 12px; align-items: flex-start; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius-sm); padding: 16px 18px; margin: 8px 0 24px; }
.consent input { width: 22px; height: 22px; accent-color: var(--indigo-600); margin-top: 1px; }
.consent label { color: var(--slate-600); font-size: .95rem; }
.form-success { display: none; text-align: center; padding: 20px; }
.form-success.show { display: block; }
.form-note { font-size: .9rem; color: var(--slate-500); margin: 4px 0 16px; }

/* Advice context summary on the contact page */
.advies-summary {
  max-width: 760px; margin: 0 auto 20px; background: var(--indigo-50);
  border: 1px solid var(--indigo-100); border-radius: var(--radius); padding: 18px 22px;
}
.advies-summary .as-head { display: flex; align-items: center; gap: 9px; color: var(--indigo-700); margin-bottom: 12px; }
.advies-summary .as-head svg { width: 20px; height: 20px; color: var(--green-600); }
.advies-summary dl { display: grid; gap: 8px; margin: 0; }
.advies-summary dl > div { display: flex; gap: 10px; font-size: .95rem; }
.advies-summary dt { color: var(--slate-500); min-width: 150px; }
.advies-summary dd { margin: 0; color: var(--slate-800); font-weight: 600; }
.advies-summary .as-note { margin: 14px 0 0; font-size: .9rem; color: var(--slate-600); }
.form-success svg { width: 56px; height: 56px; color: var(--green-600); margin: 0 auto 14px; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal .updated { color: var(--slate-400); font-size: .95rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.45rem; margin-top: 38px; margin-bottom: 12px; }
.legal h3 { font-size: 1.1rem; margin-top: 24px; margin-bottom: 8px; color: var(--slate-800); }
.legal p { margin-bottom: 14px; color: var(--slate-600); }
.legal ul { margin: 0 0 16px; padding-left: 22px; color: var(--slate-600); }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--indigo-600); font-weight: 600; }
.legal a:hover { text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--slate-200); }
.legal th { background: var(--slate-50); font-weight: 700; color: var(--slate-700); }
.legal-card { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 20px 24px; margin: 16px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-900); color: var(--slate-400); padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand h3 { color: #fff; font-size: 1.3rem; margin-bottom: 14px; }
.footer-brand p { color: var(--slate-400); max-width: 38ch; }
.footer-brand .region { margin-top: 16px; color: var(--slate-300); }
.footer-brand .region b { color: #fff; }
.footer-brand .email,
.footer-brand .phone { display: flex; align-items: center; gap: 9px; margin-top: 10px; color: var(--slate-300); }
.footer-brand .email svg,
.footer-brand .phone svg { width: 18px; height: 18px; flex: none; }
.footer-brand .email:hover,
.footer-brand .phone:hover { color: #fff; }
.footer-brand .vat { margin-top: 14px; font-size: .86rem; color: var(--slate-500); }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: var(--slate-400); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 48px; padding-top: 24px; text-align: center; font-size: .92rem; color: var(--slate-500); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, .3);
  display: none; align-items: center; gap: 18px; padding: 16px 22px; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner .cb-text { display: flex; align-items: center; gap: 12px; flex: 1 1 320px; color: var(--slate-600); font-size: .95rem; }
.cookie-banner .cb-text svg { width: 24px; height: 24px; color: var(--indigo-600); flex: none; }
.cookie-banner .cb-text a { color: var(--indigo-600); font-weight: 600; }
.cookie-banner .cb-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* Equal-weight buttons (reject as easy/visible as accept — GBA requirement) */
.btn-consent { padding: 12px 20px; font-size: .95rem; }
.btn-consent[data-consent="reject"],
.btn-consent[data-consent="settings"] {
  background: var(--slate-100); color: var(--slate-800); border-color: var(--slate-200);
}
.btn-consent[data-consent="reject"]:hover,
.btn-consent[data-consent="settings"]:hover { background: var(--slate-200); transform: translateY(-2px); }

/* ---------- Cookie preferences modal ---------- */
.cookie-modal { position: fixed; inset: 0; z-index: 200; display: none; }
.cookie-modal.open { display: block; }
.cm-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); backdrop-filter: blur(2px); }
.cm-box {
  position: relative; max-width: 560px; margin: 8vh auto 0; background: var(--white);
  border-radius: var(--radius-lg); box-shadow: 0 40px 80px -20px rgba(15, 23, 42, .5);
  max-height: 84vh; display: flex; flex-direction: column; overflow: hidden;
  animation: cmIn .2s ease;
}
@keyframes cmIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cm-head { display: flex; align-items: center; gap: 12px; padding: 22px 24px; border-bottom: 1px solid var(--slate-100); }
.cm-head svg { width: 26px; height: 26px; color: var(--indigo-600); }
.cm-head h3 { font-size: 1.25rem; flex: 1; }
.cm-x { background: none; border: 0; color: var(--slate-500); padding: 4px; border-radius: 8px; }
.cm-x svg { width: 24px; height: 24px; color: currentColor; }
.cm-x:hover { color: var(--slate-900); background: var(--slate-100); }
.cm-body { padding: 22px 24px; overflow-y: auto; }
.cm-body > p { color: var(--slate-600); margin-bottom: 18px; font-size: .96rem; }
.cm-cat {
  display: flex; align-items: flex-start; gap: 16px; justify-content: space-between;
  padding: 16px 18px; border: 1px solid var(--slate-200); border-radius: var(--radius); margin-bottom: 12px;
}
.cm-cat strong { color: var(--slate-900); display: block; margin-bottom: 4px; }
.cm-cat p { color: var(--slate-500); font-size: .88rem; margin: 0; }
.cm-cat input { width: 22px; height: 22px; accent-color: var(--indigo-600); flex: none; margin-top: 2px; }
.cm-cat input:disabled { accent-color: var(--slate-400); cursor: not-allowed; }
.cm-foot { display: flex; gap: 10px; padding: 18px 24px; border-top: 1px solid var(--slate-100); flex-wrap: wrap; }
.cm-foot .btn { flex: 1 1 auto; justify-content: center; padding: 12px 16px; font-size: .95rem; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); background: #fff; z-index: 180;
  transform: translateX(100%); transition: transform .25s ease; box-shadow: -20px 0 50px -20px rgba(15,23,42,.3);
  padding: 28px 24px; display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a:not(.btn) { padding: 14px 16px; border-radius: 12px; font-weight: 600; color: var(--slate-700); }
.mobile-menu a:not(.btn):hover { background: var(--indigo-50); color: var(--indigo-700); }
.mobile-menu a.btn-primary { color: #fff; }
.mobile-menu .btn { margin-top: 14px; justify-content: center; }
.menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.menu-head button { background: none; border: 0; color: var(--slate-700); }
.menu-head button svg { width: 26px; height: 26px; }
.overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, .4); z-index: 170; opacity: 0; visibility: hidden; transition: .2s; }
.overlay.show { opacity: 1; visibility: visible; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-badges, .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual img { width: min(300px, 70%); }
  .cards, .feature-grid { grid-template-columns: 1fr; }
  .detail-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .options, .form-row, .tabs { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner .cb-actions { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
