/* ==========================================================================
   muizenbestrijder-arnhem.nl — stylesheet
   Palette: navy (autoriteit) / fris groen (hygiëne) / wit-grijs (rust) /
   oranje-rood (uitsluitend voor CTA's, spoed)
   ========================================================================== */

:root {
  --navy-900: #0b2545;
  --navy-800: #123163;
  --navy-700: #1a3f7a;
  --green-500: #2fa84f;
  --green-100: #e6f6ea;
  --grey-50: #f5f7f9;
  --grey-100: #eef1f4;
  --grey-300: #d8dee4;
  --ink: #16233b;
  --ink-soft: #45566f;
  --white: #ffffff;
  --accent-600: #e0501f;
  --accent-700: #c43e14;
  --accent-100: #fdeae2;

  --font-head: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-s: 6px;
  --radius-m: 12px;
  --shadow-card: 0 10px 30px rgba(11, 37, 69, 0.10);
  --max-w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 0; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--ink-soft); max-width: 68ch; }
a { color: var(--navy-700); }

ul.plain { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}
.section--tight { padding: 40px 0; }
.section--grey { background: var(--grey-50); }
.section--navy {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}
.section--navy h2, .section--navy h3, .section--navy p { color: var(--white); }
.section--navy p { color: #cfe0f5; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent-600);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-900);
  color: #d7e3f5;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: #d7e3f5; text-decoration: none; }
.topbar .topbar-badge {
  color: var(--green-500);
  font-weight: 600;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-300);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-900);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--green-500);
  text-transform: none;
  letter-spacing: 0.02em;
}

.main-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--navy-900);
  border-bottom-color: var(--green-500);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 12px 20px;
  border-radius: var(--radius-s);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn--cta {
  background: var(--accent-600);
  color: #fff;
}
.btn--cta:hover { background: var(--accent-700); }
.btn--ghost {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn--ghost:hover { background: var(--navy-900); color: #fff; }
.btn--whatsapp {
  background: #25d366;
  color: #fff;
}
.btn--whatsapp:hover { background: #1fb958; }
.btn--outline-white {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn--outline-white:hover { background: #fff; color: var(--navy-900); }
.btn--sm { padding: 9px 14px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47, 168, 79, 0.18);
  color: #a9edbd;
  border: 1px solid rgba(47, 168, 79, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; }
.hero p.lead { color: #d3e2f7; font-size: 1.08rem; max-width: 52ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero-figure {
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(11,37,69,.85), transparent);
  color: #dbe7f8;
  font-size: 0.78rem;
  padding: 28px 14px 10px;
}

.hero-trustbar {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-trustbar .stat b { display: block; font-family: var(--font-head); font-size: 1.3rem; color: #fff; }
.hero-trustbar .stat span { font-size: 0.78rem; color: #b9cbe8; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding: 16px 0 0;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy-900); }

/* ---------- Sub-page hero (smaller) ---------- */
.page-hero {
  background: var(--navy-900);
  color: #fff;
  padding: 34px 0 44px;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p.lead { color: #cfe0f5; max-width: 60ch; margin-bottom: 0; }
.page-hero-media {
  margin-top: 26px;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.page-hero-media img { width: 100%; max-height: 360px; object-fit: cover; }

/* ---------- Problem grid (cards) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-m);
  padding: 22px;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
  display: block;
}
.card:hover { border-color: var(--green-500); transform: translateY(-2px); }
.card h3 { margin-bottom: 6px; color: var(--navy-900); }
.card p { margin-bottom: 0; font-size: 0.92rem; }
.card .card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

/* ---------- Two-column content + image ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.split img { border-radius: var(--radius-m); box-shadow: var(--shadow-card); }
.split.reverse .split-media { order: 2; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 26px;
}
.step {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 24px;
  border: 1px solid var(--grey-300);
  position: relative;
}
.step .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-500);
  font-family: var(--font-head);
  font-weight: 800;
  margin-bottom: 14px;
}

/* ---------- USP row ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.usp { text-align: left; }
.usp .usp-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(47,168,79,0.15);
  color: var(--green-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-m);
  padding: 26px;
}
.price-card.is-primary {
  border-color: var(--green-500);
  box-shadow: var(--shadow-card);
}
.price-card .price {
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--navy-900);
  margin: 6px 0 10px;
}
.price-card .price small { font-size: 0.95rem; color: var(--ink-soft); font-weight: 500; }
.price-card ul { padding-left: 18px; margin: 0; color: var(--ink-soft); }
.price-card li { margin-bottom: 6px; }

/* ---------- FAQ accordion ---------- */
.faq-list { margin-top: 24px; border-top: 1px solid var(--grey-300); }
.faq-item { border-bottom: 1px solid var(--grey-300); }
.faq-item button.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 4px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
}
.faq-trigger .faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: transform .2s ease;
}
.faq-item[data-open="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-answer p { padding: 0 4px 18px; margin: 0; }

/* ---------- Reviews ---------- */
.reviews-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.review-badge {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-m);
  padding: 16px 20px;
  font-size: 0.9rem;
}
.review-badge b { color: var(--navy-900); display:block; font-size:1.1rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-m);
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h3 { color: #fff; margin-bottom: 6px; }
.cta-banner p { color: #cfe0f5; margin-bottom: 0; }
.cta-banner .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Related grid (footer of subpages) ---------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.related-grid a {
  display: block;
  background: var(--grey-50);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
  text-decoration: none;
}
.related-grid a:hover { border-color: var(--green-500); }

/* ---------- Werkgebied chips ---------- */
.place-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.place-chips a {
  background: var(--white);
  border: 1px solid var(--grey-300);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-900);
  text-decoration: none;
}
.place-chips a:hover { background: var(--green-100); border-color: var(--green-500); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #b9cbe8;
  padding: 48px 0 24px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer a { color: #b9cbe8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: #8ea4c7;
}

/* ---------- Sticky mobile action bar + WhatsApp bubble ---------- */
.whatsapp-bubble {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  text-decoration: none;
}
.whatsapp-bubble svg { width: 28px; height: 28px; }

.mobile-action-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 149;
  background: #fff;
  border-top: 1px solid var(--grey-300);
  padding: 10px 14px;
  gap: 10px;
}
.mobile-action-bar .btn { flex: 1; justify-content: center; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.eyebrow-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-500);
  background: var(--green-100);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1 !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { padding: 0 28px; }
  .main-nav { display: none; }
  .nav-actions .btn--ghost { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .mobile-action-bar { display: flex; }
  body { padding-bottom: 66px; }
  .whatsapp-bubble { bottom: 150px; }

  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--grey-300);
    box-shadow: var(--shadow-card);
    padding: 10px 24px 20px;
  }
  .main-nav.is-open ul { flex-direction: column; gap: 4px; }
  .main-nav.is-open a { display: block; padding: 10px 0; border-bottom: 1px solid var(--grey-100); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq-answer, .card, .nav-toggle span { transition: none; }
}
