/* ═══════════════════════════════════════════════════════
   PRAKTIJK M.M. DE WIT — STYLESHEET
   Palette: #1a2e6e (navy) · #ffffff · #b0c4de · #f5f5f5 · #2a2a2a
   ═══════════════════════════════════════════════════════ */

/* ─── Reset & tokens ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #1a2e6e;
  --navy-dark: #122254;
  --blue-lt:   #b0c4de;
  --blue-pale: #e8eef7;
  --white:     #ffffff;
  --off-white: #f5f5f5;
  --text:      #2a2a2a;
  --text-muted:#5a6472;
  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 2px 12px rgba(26,46,110,.10);
  --shadow-lg: 0 8px 32px rgba(26,46,110,.16);
  --transition:220ms cubic-bezier(.4,0,.2,1);
  --header-h:  68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

/* Fill helpers — every content photo MUST use these */
.media, .img-fill, figure.photo { position: relative; overflow: hidden; }
.media > img, .img-fill > img, figure.photo > img,
.gallery img, .card__media img, .hero__img,
.about-img__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Typography ─── */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
p  { color: var(--text-muted); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-dark); }

.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: #e8eef7; }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn--ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--ghost-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn--nav { background: var(--navy); color: var(--white); padding: 9px 20px; font-size: .875rem; }
.btn--nav:hover { background: var(--navy-dark); }

.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(26,46,110,.10);
  box-shadow: 0 2px 12px rgba(26,46,110,.07);
  height: var(--header-h);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-size: .95rem; font-weight: 700; color: var(--navy); }
.logo__sub  { font-size: .75rem; color: var(--text-muted); font-weight: 500; letter-spacing: .02em; }

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.desktop-nav a:not(.btn) {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 2px;
}
.desktop-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--navy);
  transition: width var(--transition);
}
.desktop-nav a:not(.btn):hover::after { width: 100%; }

/* Mobile trigger */
.mobile-menu__trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  color: var(--navy);
  flex-shrink: 0;
}
.hamburger { display: flex; flex-direction: column; gap: 5px; }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ─── Mobile menu overlay (kit component) ─── */
.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  background: var(--white);
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
.mobile-menu__overlay.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu__panel--root {
  display: flex;
  flex-direction: column;
  padding: 0 24px 40px;
  min-height: 100%;
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--off-white);
  margin-bottom: 16px;
}
.mobile-menu__brand { font-weight: 700; font-size: 1rem; color: var(--navy); }
.mobile-menu__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  padding: 6px;
  border-radius: 6px;
}
.mobile-menu__close:hover { background: var(--off-white); }

.mobile-menu__list { flex: 1; }
.mobile-menu__list li { border-bottom: 1px solid var(--off-white); }

.mobile-menu__item {
  display: block;
  padding: 18px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.mobile-menu__item:hover { color: var(--navy); }

.mobile-menu__cta { margin-top: 24px; width: 100%; justify-content: center; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,46,110,.82) 0%,
    rgba(26,46,110,.65) 50%,
    rgba(26,46,110,.42) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 24px 40px;
  margin: 0 auto 0 max(24px, calc((100vw - 1160px)/2));
}

.hero__badge {
  display: inline-block;
  background: rgba(176,196,222,.25);
  border: 1px solid rgba(176,196,222,.5);
  color: var(--blue-lt);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero__title {
  color: var(--white);
  margin-bottom: 18px;
}

.hero__lead {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__accred {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px max(24px, calc((100vw - 1160px)/2));
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}

.accred-badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
  font-size: .75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: .04em;
}

/* ─── USP Bar ─── */
.usp-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(26,46,110,.08);
  padding: 28px 0;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-right: 1px solid rgba(26,46,110,.08);
}
.usp-item:last-child { border-right: none; }
.usp-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.usp-item strong { display: block; font-size: .9rem; font-weight: 700; color: var(--text); line-height: 1.2; }
.usp-item span   { font-size: .8rem; color: var(--text-muted); }

/* ─── Sections ─── */
.section {
  padding: 80px 0;
}
.section--light  { background: var(--off-white); }
.section--white  { background: var(--white); }
.section--navy-subtle { background: var(--blue-pale); }

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
}
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
  padding: 4px 12px;
  background: var(--blue-pale);
  border-radius: 100px;
}
.section-header h2 { color: var(--text); margin-bottom: 12px; }
.section-header p  { font-size: 1.05rem; }

/* ─── Card grid ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--blue-lt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--blue-pale);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.card:hover .card__media img { transform: scale(1.04); }

.card__body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--blue-pale);
  border-radius: 10px;
  color: var(--navy);
  margin-bottom: 4px;
}
.card__body h3 { color: var(--text); }
.card__body p  { font-size: .9rem; flex: 1; }

/* CTA card */
.card--cta {
  background: var(--navy);
  border-color: var(--navy);
  align-items: center;
  justify-content: center;
}
.card__cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px;
  gap: 14px;
}
.card__cta-icon { color: var(--blue-lt); }
.card--cta h3 { color: var(--white); }
.card--cta p  { color: rgba(255,255,255,.75); font-size: .9rem; }

/* ─── CTA Band ─── */
.cta-band {
  background: var(--navy);
  padding: 72px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band__text h2 { color: var(--white); margin-bottom: 8px; }
.cta-band__text p  { color: rgba(255,255,255,.75); font-size: 1.05rem; }
.cta-band__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ─── About ─── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img { position: relative; }
.about-img__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.about-img__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-img__badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
}

.about-text h2 { color: var(--text); margin-bottom: 16px; }
.about-text p  { margin-bottom: 12px; font-size: .975rem; }

.about-accred {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}
.accred-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
}

/* ─── Reviews ─── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--blue-lt);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-lg); }

.review-card__stars { display: flex; gap: 3px; }

.review-card__text {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
  font-style: italic;
}

.review-card__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--off-white);
}
.review-card__name {
  font-weight: 700;
  font-size: .875rem;
  color: var(--text);
}
.review-card__type {
  font-size: .8rem;
  color: var(--text-muted);
  background: var(--blue-pale);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 4px;
}

/* ─── Contact ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,46,110,.07);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}
.form-group label span { color: var(--navy); }

.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid #d0d9ea;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,46,110,.1); }
.form-group textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: .8rem; text-align: center; color: var(--text-muted); }

/* Info sidebar */
.contact-info { display: flex; flex-direction: column; gap: 24px; }

.info-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26,46,110,.07);
}
.info-block h3 { color: var(--navy); margin-bottom: 16px; font-size: 1rem; }

.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
}
.info-list li a { color: var(--navy); font-weight: 500; }
.info-list li a:hover { text-decoration: underline; }
.info-icon {
  flex-shrink: 0;
  color: var(--navy);
  margin-top: 2px;
}

.hours-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.hours-table td {
  padding: 6px 0;
  border-bottom: 1px solid var(--off-white);
  color: var(--text);
}
.hours-table td:last-child { text-align: right; font-weight: 500; color: var(--navy); }

.map-embed { border-radius: 8px; overflow: hidden; }

/* ─── Footer ─── */
.footer-kit {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}
.footer-logo small { font-size: .75rem; font-weight: 400; color: rgba(255,255,255,.6); }
.footer-brand > p { font-size: .875rem; color: rgba(255,255,255,.65); max-width: 260px; }

.footer-col h4 {
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-col--contact address p {
  font-size: .875rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 8px;
}
.footer-col--contact address a { color: var(--blue-lt); }
.footer-col--contact address a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); }

.footer-accred-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-accred-bar span {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.2);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
  .about-layout {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-menu__trigger { display: flex; }

  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(26,46,110,.08);
  }
  .usp-item {
    background: var(--white);
    border-right: none;
    padding: 16px 18px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-img__badge {
    right: 10px;
    bottom: 10px;
  }
  .cta-band__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero__content {
    padding: 60px 20px 32px;
    margin: 0;
  }
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .form-row--two {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap { padding: 24px 20px; }

  .about-accred { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ─── Rating summary ─── */
.rating-summary {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.rating-summary__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.rating-summary__num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.rating-summary__stars {
  display: flex;
  gap: 4px;
}
.rating-summary__label {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 500;
}
