/* =========================================
   Leo de Bruin Fysiotherapie — Stylesheet
   ========================================= */

/* 1. TOKENS */
:root {
  --navy:         #0f2d5a;
  --navy-mid:     #1a4480;
  --navy-light:   #2a5fad;
  --teal:         #1a9396;
  --teal-dark:    #137577;
  --teal-light:   #e6f5f5;
  --teal-pale:    #f0fafa;
  --white:        #ffffff;
  --bg:           #f5f8fb;
  --text:         #1a2332;
  --text-mid:     #374a60;
  --text-muted:   #6b7a8d;
  --border:       #dde4ed;
  --amber:        #f59e0b;

  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --container:    1140px;
  --section-py:   100px;
  --radius:       10px;
  --radius-md:    16px;
  --radius-lg:    24px;

  --shadow-sm:  0 2px 8px rgba(15,45,90,0.06);
  --shadow:     0 4px 20px rgba(15,45,90,0.10);
  --shadow-lg:  0 12px 40px rgba(15,45,90,0.14);
  --shadow-xl:  0 24px 64px rgba(15,45,90,0.18);

  --ease:  cubic-bezier(0.4, 0, 0.2, 1);
  --dur:   0.3s;
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* 3. UTILITIES */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-py) 0; }
.section--alt { background: var(--bg); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,147,150,0.35);
}
.btn--primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,147,150,0.45);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
}
.btn--white:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

.btn--full { width: 100%; margin-top: 8px; }

/* 4. HEADER */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all var(--dur) var(--ease);
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
}
.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex-shrink: 0;
  margin-right: auto;
}
.nav__logo-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  transition: color var(--dur) var(--ease);
}
.nav__logo-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur) var(--ease);
}
.header.scrolled .nav__logo-name { color: var(--navy); }
.header.scrolled .nav__logo-sub  { color: var(--text-muted); }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 8px 13px;
  border-radius: 7px;
  transition: all var(--dur) var(--ease);
}
.nav__link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.header.scrolled .nav__link {
  color: var(--text-mid);
}
.header.scrolled .nav__link:hover {
  color: var(--navy);
  background: var(--bg);
}

.nav__link--cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 8px 18px;
  margin-left: 8px;
}
.nav__link--cta:hover {
  background: var(--teal-dark) !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.header.scrolled .nav__burger span { background: var(--navy); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 5. HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    url('https://images.pexels.com/photos/29807423/pexels-photo-29807423.jpeg?auto=compress&cs=tinysrgb&w=1920')
    center / cover no-repeat;
  overflow: hidden;
  padding-top: 80px;
}
/* Dark gradient overlay — left very dark for text, right shows photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 22, 48, 0.93) 0%,
    rgba(10, 28, 60, 0.88) 40%,
    rgba(13, 35, 72, 0.72) 65%,
    rgba(15, 45, 90, 0.45) 100%
  );
}
/* Subtle teal glow at bottom-left */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 5% 90%, rgba(26,147,150,0.15) 0%, transparent 45%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: 60px;
  padding-bottom: 80px;
  width: 100%;
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 6px 16px;
  background: rgba(26,147,150,0.14);
  border: 1px solid rgba(26,147,150,0.3);
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--teal);
}

.hero__sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.8;
}

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

/* Stats bar */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 20px 32px;
  width: fit-content;
}
.hero__stat {
  text-align: center;
  padding: 0 28px;
}
.hero__stat:first-child { padding-left: 0; }
.hero__stat:last-child  { padding-right: 0; }
.hero__stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}
.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero__scroll-dot {
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%       { transform: translateY(10px); opacity: 0.9; }
}

/* 6. SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.service-card:hover::after { transform: scaleX(1); }

.service-card__icon {
  width: 52px;
  height: 52px;
  background: var(--teal-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 18px;
}
.service-card__icon svg { width: 24px; height: 24px; }

.service-card__num {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.service-card__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.service-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--teal-dark);
  background: var(--teal-pale);
  border: 1px solid var(--teal-light);
  border-radius: 5px;
  padding: 4px 10px;
  letter-spacing: 0.02em;
}

/* 7. ABOUT */
.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__title { text-align: left; }
.about__content .section-eyebrow { display: block; text-align: left; }

.about__intro {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-top: 6px;
  margin-bottom: 16px;
}
.about__body {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.timeline { margin-bottom: 32px; }
.timeline__item {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.timeline__item:first-child { border-top: 1px solid var(--border); }

.timeline__year {
  flex-shrink: 0;
  width: 42px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  padding-top: 2px;
}
.timeline__body strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1px;
}
.timeline__body p {
  font-size: 13px;
  color: var(--text-muted);
}

.about__credentials { display: flex; gap: 10px; flex-wrap: wrap; }
.credential {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
}

.about__media { position: sticky; top: 100px; }
.about__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.about__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(9,29,62,0.2) 100%);
}
.about__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* 8. REASONS */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--dur) var(--ease);
}
.reason-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--teal-light);
  transform: translateY(-4px);
}
.reason-card__icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
}
.reason-card__icon svg { width: 21px; height: 21px; }
.reason-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.reason-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* 9. REVIEWS */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  transition: all var(--dur) var(--ease);
  box-shadow: var(--shadow-sm);
}
.review-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.review-card__quote {
  position: absolute;
  top: 16px; right: 24px;
  font-family: var(--font-serif);
  font-size: 64px;
  color: var(--teal-light);
  line-height: 1;
  user-select: none;
}
.review-card__stars {
  color: var(--amber);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.review-card__text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.review-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.review-card__footer strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.review-card__footer span {
  font-size: 12px;
  color: var(--text-muted);
}

.reviews-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
}

/* 10. CONTACT */
.contact-wrap {
  display: flex;
  justify-content: center;
}
.contact-card {
  width: 100%;
  max-width: 560px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.contact-card__row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-card__row:last-of-type { border-bottom: none; margin-bottom: 8px; }
.contact-card__icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--teal-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.contact-card__icon-wrap svg { width: 20px; height: 20px; }
.contact-card__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-card__value {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.contact-card__value--link { transition: color var(--dur); }
.contact-card__value--link:hover { color: var(--teal); }

/* 11. FOOTER */
.footer {
  background: var(--navy);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.footer__name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.footer__sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}
.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer__nav { display: flex; gap: 24px; }
.footer__nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--dur);
}
.footer__nav a:hover { color: var(--white); }

/* 12. SCROLL ANIMATIONS */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.anim.visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; }

/* 13. RESPONSIVE */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --section-py: 72px; }

  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__media { position: static; }

  .reasons-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 24px; }
}

@media (max-width: 600px) {
  .hero__stats { flex-direction: column; gap: 16px; padding: 20px 24px; width: 100%; }
  .hero__stat { padding: 0; }
  .hero__stat-divider { width: 60px; height: 1px; }
}

@media (max-width: 768px) {
  .nav__list {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 96px 28px 48px;
    box-shadow: var(--shadow-xl);
    transition: right var(--dur) var(--ease);
    z-index: 99;
    gap: 0;
  }
  .nav__list.open { right: 0; }
  .nav__list .nav__link {
    color: var(--text-mid);
    font-size: 16px;
    padding: 14px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav__list .nav__link:hover {
    background: none;
    color: var(--teal);
  }
  .nav__list .nav__link--cta {
    margin-top: 20px;
    margin-left: 0;
    border-radius: 50px;
    text-align: center;
    border-bottom: none;
    padding: 13px 20px;
  }
  .nav__burger { display: flex; }

  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about__stats { grid-template-columns: repeat(3, 1fr); }
  .reasons-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-card { padding: 32px 24px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .about__stats { grid-template-columns: repeat(3, 1fr); }
}
