:root {
  --blue: #0e57ae;
  --blue-deep: #083f88;
  --blue-soft: #eaf3fb;
  --green: #6f8e50;
  --green-deep: #58783c;
  --gold: #f3ad2c;
  --ink: #24313f;
  --muted: #5f6d7c;
  --line: #dce7ef;
  --cream: #fffaf1;
  --white: #fff;
  --shadow: 0 8px 24px rgba(26, 67, 105, .10);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(220,231,239,.75);
  backdrop-filter: blur(10px);
}
.header-inner {
  min-height: 118px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto auto;
  gap: 28px;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}
.brand-mark { width: 106px; height: 94px; object-fit: cover; object-position: center; }
.brand-wordmark { width: 250px; margin-left: -8px; }
.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav a { color: var(--blue-deep); font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; gap: 14px; align-items: center; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 14px rgba(14,87,174,.18); }
.button-primary:hover { transform: translateY(-1px); background: var(--blue-deep); box-shadow: 0 8px 18px rgba(14,87,174,.24); }
.button-secondary { color: var(--green-deep); border: 1.5px solid var(--green); background: #fff; }
.button-secondary:hover { transform: translateY(-1px); background: #f8fbf5; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 72px;
  background: linear-gradient(180deg, #fff 0%, #fff 75%, #f3f8fc 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -5%; right: -5%; bottom: -85px;
  height: 150px;
  border-radius: 50% 50% 0 0;
  background: rgba(229,240,249,.75);
  transform: rotate(-2deg);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { padding: 20px 0 12px; }
h1, h2 { font-family: var(--serif); color: var(--blue-deep); font-weight: 400; margin: 0; }
h1 { font-size: clamp(52px, 5vw, 74px); line-height: .98; letter-spacing: -.035em; }
.hero-subtitle {
  margin: 22px 0 24px;
  color: var(--green-deep);
  font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1.32;
  font-weight: 450;
}
.intro-copy {
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  max-width: 620px;
  color: #303944;
  font-size: 16px;
  line-height: 1.72;
}
.intro-copy p { margin: 0 0 20px; }
.intro-copy p:last-child { margin-bottom: 0; }
.hero-actions { display: flex; gap: 18px; margin-top: 30px; flex-wrap: wrap; }

.hero-visual {
  justify-self: end;
  width: min(100%, 570px);
  position: relative;
}
.hero-visual::after {
  content: "";
  position: absolute;
  width: 130px; height: 90px;
  left: -45px; bottom: 52px;
  background:
    radial-gradient(ellipse at 25% 70%, rgba(111,142,80,.22) 0 26%, transparent 28%),
    radial-gradient(ellipse at 60% 30%, rgba(111,142,80,.14) 0 24%, transparent 26%),
    radial-gradient(ellipse at 83% 75%, rgba(111,142,80,.14) 0 22%, transparent 24%);
  transform: rotate(-18deg);
  pointer-events: none;
}
.hero-visual img {
  width: 100%;
  border-radius: 34px;
  box-shadow: 0 12px 40px rgba(34,66,88,.08);
}

.section { padding: 58px 0 64px; }
.section-heading { text-align: center; margin-bottom: 34px; }
.section-heading h2 { font-size: clamp(42px, 4.2vw, 58px); line-height: 1.1; }
.heading-flourish, .footer-flourish { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; color: var(--gold); }
.heading-flourish span, .footer-flourish span { width: 66px; height: 1px; background: var(--gold); }
.heading-flourish b, .footer-flourish b { font-size: 13px; transform: rotate(45deg); display: inline-block; }

.treatments { background: #fff; }
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.treatment-card {
  min-height: 206px;
  border: 1px solid #e0e8ee;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(38,75,107,.04);
  padding: 20px 12px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.treatment-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #fff 0 25%, #fff9ef 66%, #f7f2e9 100%);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.treatment-icon svg { width: 52px; height: 52px; fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.treatment-card:nth-child(2n) .treatment-icon svg { stroke: #5b84b8; }
.treatment-card:nth-child(3n) .treatment-icon svg { stroke: var(--green); }
.treatment-card h3 { margin: 0; color: #194f82; font-weight: 500; font-size: 15px; line-height: 1.35; }

.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff 0 43%, #f2f7fb 100%);
  border-top: 1px solid #edf3f7;
}
.contact::after {
  content: "";
  position: absolute;
  right: -12%; bottom: -56%;
  width: 70%; height: 110%;
  border-radius: 50%;
  background: rgba(224,237,248,.7);
  transform: rotate(-16deg);
}
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.section-heading-left { text-align: left; margin-bottom: 20px; }
.section-heading-left .heading-flourish { justify-content: flex-start; }
.contact-list { display: grid; gap: 18px; color: #144f84; font-size: 18px; }
.contact-row { display: grid; grid-template-columns: 30px 1fr; gap: 15px; align-items: start; }
.contact-row svg { width: 28px; height: 28px; fill: var(--blue); stroke: none; }
.contact-row a:hover { color: var(--gold); }
.contact-botanical { min-height: 240px; display: grid; place-items: center; opacity: .65; }
.contact-botanical svg { width: min(100%, 430px); height: auto; }
.contact-botanical path { fill: none; stroke: #6ea0ce; stroke-width: 2; stroke-linecap: round; }
.contact-botanical path.leaf { fill: rgba(103,158,204,.22); stroke: rgba(103,158,204,.35); }

.site-footer { padding: 22px 0 26px; text-align: center; background: #fff; color: var(--blue); }
.site-footer p { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.site-footer p span { color: #8ca2b5; margin: 0 8px; }
.footer-flourish { margin-top: 7px; }
.footer-flourish span { width: 54px; }

@media (max-width: 1120px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .brand-wordmark { width: 230px; }
  .treatment-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .shell { width: min(100% - 32px, 760px); }
  .site-header { position: static; }
  .header-inner { display: flex; flex-wrap: wrap; justify-content: center; padding: 12px 0 16px; gap: 12px 20px; }
  .brand { flex: 1 1 100%; justify-content: center; }
  .brand-mark { width: 86px; height: 78px; }
  .brand-wordmark { width: 214px; }
  .header-actions { width: 100%; justify-content: center; flex-wrap: wrap; }
  .hero { padding-top: 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { text-align: center; }
  .intro-copy { text-align: left; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { justify-self: center; max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-botanical { display: none; }
  .section-heading-left { text-align: center; }
  .section-heading-left .heading-flourish { justify-content: center; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 540px); }
  .brand-mark { width: 72px; height: 67px; }
  .brand-wordmark { width: 190px; }
  .header-actions .button { flex: 1 1 160px; }
  .hero { padding-bottom: 46px; }
  h1 { font-size: 50px; }
  .hero-subtitle { font-size: 22px; }
  .intro-copy { font-size: 15px; padding-left: 15px; }
  .hero-actions .button { width: 100%; }
  .treatment-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .treatment-card { min-height: 186px; }
  .contact-list { font-size: 16px; }
}

/* Header layout refinement */
@media (min-width: 1121px) {
  .header-inner {
    min-height: 132px;
    padding: 18px 0 16px;
    grid-template-columns: minmax(340px, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 36px;
    row-gap: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
  }

  .main-nav {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    align-self: end;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-end;
    align-self: start;
  }
}

@media (min-width: 1121px) {
  .header-inner {
    row-gap: 18px;
  }
}

/* Offset anchor scrolling for sticky header */
html {
  scroll-padding-top: 165px;
}

section[id] {
  scroll-margin-top: 165px;
}

/* Keep anchor offset without affecting normal page scrolling */
html {
  scroll-padding-top: 0;
}

#behandelingen,
#over-mij,
#bedrijven,
#contact {
  scroll-margin-top: 165px;
}

/* Anchor scrolling is handled by site.js */
html {
  scroll-padding-top: 0 !important;
}

#top,
#behandelingen,
#over-mij,
#bedrijven,
#contact {
  scroll-margin-top: 0 !important;
}
