/* =========================================
   Brussels Osteopath — Shared Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage: #7a9e7e;
  --sage-light: #a8c5ac;
  --sage-dark: #4f7454;
  --cream: #faf8f4;
  --warm-white: #f5f2ec;
  --charcoal: #2a2a2a;
  --mid: #555;
  --light-text: #767676;
  --border: #e2ddd5;
  --max-w: 1060px;
}

html { scroll-behavior: smooth; font-size: 90%; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: rgba(250,248,244,0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--charcoal); text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--mid); text-decoration: none; font-size: 0.875rem;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); }
.nav-cta {
  background: var(--charcoal) !important; color: var(--cream) !important;
  padding: 0.5rem 1.25rem; border-radius: 2rem; font-weight: 500;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--sage-dark) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.4rem; color: var(--charcoal); }

/* ---- PAGE HEADER ---- */
.page-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(122,158,126,0.07), transparent);
  border-bottom: 1px solid var(--border);
}
.page-header .label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage-dark); margin-bottom: 1rem;
}
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 300; line-height: 1.15;
}
.page-header h1 em { font-style: italic; color: var(--sage-dark); }
.page-header p {
  color: var(--mid); font-size: 1.05rem; font-weight: 300;
  max-width: 520px; margin: 1rem auto 0; line-height: 1.7;
}

/* ---- LAYOUT ---- */
.section { padding: 5rem 2rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-alt { background: var(--warm-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--charcoal); color: var(--cream); }

.section-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage-dark); margin-bottom: 0.75rem;
}
.section-dark .section-label { color: var(--sage-light); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem); font-weight: 400; line-height: 1.2;
  color: var(--charcoal);
}
.section-dark .section-title { color: var(--cream); }
.section-title em { font-style: italic; color: var(--sage-dark); }
.section-dark .section-title em { color: var(--sage-light); }

.section-body {
  font-size: 1rem; color: var(--mid); line-height: 1.8; font-weight: 300;
  max-width: 640px; margin-top: 1rem;
}
.section-dark .section-body { color: rgba(255,255,255,0.6); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block; text-decoration: none; font-size: 0.9rem; font-weight: 500;
  padding: 0.8rem 2rem; border-radius: 2rem; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--charcoal); color: var(--cream); }
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-1px); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--sage-dark); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--border); color: var(--charcoal); background: transparent; }
.btn-outline:hover { border-color: var(--sage); transform: translateY(-1px); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,0.25); color: var(--cream); background: transparent; }
.btn-outline-light:hover { border-color: rgba(255,255,255,0.6); transform: translateY(-1px); }

/* ---- CARDS ---- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 1rem; padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.06); transform: translateY(-2px); }

/* ---- GRID UTILS ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--charcoal);
  padding: 3rem 2.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo {
  font-family: 'Cormorant Garamond', serif; color: var(--cream);
  font-size: 1.15rem; font-weight: 500; display: block; margin-bottom: 0.75rem;
}
.footer-brand p { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.7; font-weight: 300; max-width: 220px; }
.footer-col h4 { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; font-weight: 300; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom span { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ---- BOOKING BAR ---- */
.booking-bar {
  background: var(--sage-dark); color: #fff;
  padding: 1rem 2rem; text-align: center;
  font-size: 0.875rem; font-weight: 400;
  display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
}
.booking-bar a { color: #fff; font-weight: 500; text-decoration: none; background: rgba(255,255,255,0.2); padding: 0.35rem 1rem; border-radius: 2rem; transition: background 0.2s; }
.booking-bar a:hover { background: rgba(255,255,255,0.35); }

/* ---- REVEAL ANIMATION ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.5rem 1.25rem; }
  .page-header { padding: 6rem 1.25rem 3rem; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
