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

:root {
  --sage:        #9C7A52;
  --sage-dark:   #6B4F2E;
  --sage-light:  #C4A07A;
  --sage-pale:   #F5EDE0;
  --cream:       #FAF4EC;
  --warm-white:  #FFFDF8;
  --text:        #2D2519;
  --text-muted:  #7A6550;
  --text-light:  #A89880;
  --border:      #E8D5BC;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.13);
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --transition:  0.2s ease;
  --max-width:   1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--sage-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--sage); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4em; margin-bottom: 1.1em; }
li { margin-bottom: 0.3em; }

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

/* ── NAVIGATION ───────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px 0;
  position: relative;
}

.nav-logo {
  margin-bottom: 12px;
}

.nav-logo img {
  height: 72px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  padding: 0 0 4px;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a,
.nav-menu > li > span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li > span:hover,
.nav-menu > li.active > a {
  background: var(--sage-pale);
  color: var(--sage-dark);
}

.nav-menu > li > span::after {
  content: '▾';
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 6px 0;
  padding-top: 12px;
  min-width: 200px;
  z-index: 200;
}

.nav-menu > li:hover .nav-dropdown,
.nav-menu > li:focus-within .nav-dropdown {
  display: block;
}

.nav-dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.87rem;
  color: var(--text);
  transition: background var(--transition);
}
.nav-dropdown li a:hover { background: var(--sage-pale); color: var(--sage-dark); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  position: absolute;
  top: 18px;
  right: 24px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--sage-pale) 0%, #EDE0CC 50%, #E5D4B8 100%);
  padding: 48px 24px 52px;
  text-align: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 { margin-bottom: 20px; color: var(--sage-dark); }

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}
.btn-primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--sage-dark);
  border-color: var(--sage);
}
.btn-outline:hover { background: var(--sage); color: #fff; }

/* ── SECTIONS ─────────────────────────────────────────────── */
.section { padding: 72px 24px; }
.section-alt { background: var(--warm-white); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

/* ── CARDS ────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}
.card-body h3 { margin-bottom: 10px; }
.card-body p  { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }

.card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sage-dark);
  letter-spacing: 0.03em;
}
.card-link::after { content: ' →'; }

/* ── PAGE HERO (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--sage-pale) 0%, #EDE0CC 100%);
  padding: 52px 24px;
  text-align: center;
}
.page-hero h1 { color: var(--sage-dark); margin-bottom: 10px; }
.page-hero p  { color: var(--text-muted); font-size: 1.05rem; max-width: 900px; margin: 0 auto; }

/* ── CONTENT LAYOUT (inner pages) ────────────────────────── */
.content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

.content-wrap.no-sidebar {
  grid-template-columns: 1fr;
  max-width: 780px;
}

.content-main h2 { margin: 1.6em 0 0.5em; color: var(--sage-dark); }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { margin: 1.4em 0 0.4em; }

.content-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

/* ── SIDEBAR ──────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}

.sidebar-card p, .sidebar-card address {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: normal;
}

.sidebar-card a { color: var(--sage-dark); font-weight: 600; }

.sidebar-card .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.contact-item:last-child { margin-bottom: 0; }
.contact-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

/* ── PRACTITIONER PROFILE ─────────────────────────────────── */
.practitioner-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 36px;
}

.practitioner-photo {
  width: 200px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.practitioner-intro h2 { margin-bottom: 8px; color: var(--sage-dark); }

.credentials {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.credentials li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.credentials li:last-child { border-bottom: none; }
.credentials li::before { content: '✓'; color: var(--sage); font-weight: 700; flex-shrink: 0; }

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

.contact-info-block { display: flex; flex-direction: column; gap: 28px; }

.info-group h3 {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.info-group p, .info-group address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.7;
}

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours-table td { padding: 5px 0; color: var(--text-muted); }
.hours-table td:first-child { font-weight: 700; color: var(--text); width: 140px; }

.map-placeholder {
  background: var(--sage-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.map-placeholder a { color: var(--sage-dark); font-weight: 700; }

/* ── DIVIDER ──────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── NOTICE BANNER ────────────────────────────────────────── */
.notice {
  background: var(--sage-pale);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 28px 0;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--sage-dark);
  color: rgba(255,255,255,0.75);
  padding: 52px 24px 28px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  text-align: right;
}

.footer-brand img { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 1rem; line-height: 1.6; }

.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 1rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; }

.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  transition: background var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,0.25); }
.footer-social img { width: 22px; height: 22px; filter: brightness(0) invert(1); display: block; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .content-wrap { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .practitioner-header { grid-template-columns: 1fr; }
  .practitioner-photo { width: 160px; height: 175px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr auto; }
}

@media (max-width: 700px) {
  .nav-menu { display: none; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--warm-white);
    border-top: 1px solid var(--border); box-shadow: var(--shadow-md);
    padding: 12px 0; gap: 0; }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a, .nav-menu > li > span { border-radius: 0; padding: 12px 24px; }
  .nav-dropdown { position: static; box-shadow: none; border: none;
    border-left: 3px solid var(--sage-pale); margin: 0 0 4px 24px; display: none; }
  .nav-menu > li.open .nav-dropdown { display: block; }
  .nav-toggle { display: flex; }
  .hero { padding: 56px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
