/* ============================================================
   Baxenden Therapy Hub — Shared Stylesheet
   ============================================================ */

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

:root {
  --green:      #3d5a3e;
  --green-dark: #2e4430;
  --cream:      #f5f0e8;
  --cream-dark: #ede7d8;
  --white:      #ffffff;
  --text:       #2c2c2c;
  --text-muted: #6b6b6b;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', 'Helvetica Neue', sans-serif;
  --font-ui:    'Montserrat', 'Helvetica Neue', sans-serif;
  --max-w:      1200px;
  --nav-h:      72px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-weight: 300; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

/* ── BUTTONS ── */
.btn { display: inline-block; font-family: var(--font-ui); font-size: 0.78rem; font-weight: 500; letter-spacing: 1.2px; padding: 12px 26px; border-radius: 100px; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-primary       { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-outline-dark  { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline-dark:hover { background: var(--text); color: var(--white); }
.btn-outline-green { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline-green:hover { background: var(--green); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--green); }

/* ── NAV ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--white); border-bottom: 1px solid rgba(61,90,62,.1); height: var(--nav-h); box-shadow: 0 1px 12px rgba(0,0,0,.06); }
.nav { display: flex; align-items: center; height: var(--nav-h); gap: 0; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin-left: auto; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: flex; align-items: center; gap: 4px; padding: 8px 11px; font-family: var(--font-ui); font-size: 0.7rem; font-weight: 500; letter-spacing: .6px; color: var(--text); border-radius: 4px; transition: color .15s; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--green); }
.chevron { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; flex-shrink: 0; }
.nav-dropdown { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border: 1px solid rgba(61,90,62,.12); border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.1); min-width: 220px; padding: 6px; list-style: none; opacity: 0; pointer-events: none; transform: translateY(-6px); transition: opacity .18s, transform .18s; }
.has-dropdown:hover .nav-dropdown, .has-dropdown:focus-within .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.has-dropdown:hover .chevron { transform: rotate(180deg); }
.nav-dropdown a { display: block; padding: 9px 14px; font-family: var(--font-ui); font-size: 0.72rem; color: var(--text); border-radius: 5px; transition: background .12s, color .12s; }
.nav-dropdown a:hover { background: var(--cream); color: var(--green); }
.nav-cta { margin-left: 20px; flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--green); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { margin-top: var(--nav-h); background: var(--green); padding: 80px 0 72px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -20px; top: -20px; width: 260px; height: 270px; background-image: url('assets/botanical/botanical-corner-tr.svg'); background-size: contain; background-repeat: no-repeat; opacity: .15; pointer-events: none; }
.page-eyebrow { font-family: var(--font-ui); font-size: .65rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.page-title { font-family: var(--font-serif); font-size: clamp(2rem,4vw,3rem); font-weight: 500; color: var(--white); margin-bottom: 16px; line-height: 1.15; }
.page-title em { font-style: italic; opacity: .85; }
.page-subtitle { font-size: .92rem; line-height: 1.75; color: rgba(255,255,255,.7); max-width: 580px; }

/* ── SECTION UTILITIES ── */
.section        { padding: 80px 0; }
.section-sm     { padding: 56px 0; }
.section-lg     { padding: 110px 0; }
.section-cream  { background: var(--cream); }
.section-white  { background: var(--white); }
.section-green  { background: var(--green); color: var(--white); }
.section-green-dark { background: var(--green-dark); color: var(--white); }

.section-label { font-family: var(--font-ui); font-size: .65rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--green); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.section-label::before { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--green); }
.section-label-white { font-family: var(--font-ui); font-size: .65rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.section-label-white::before { content: ''; display: inline-block; width: 24px; height: 1px; background: rgba(255,255,255,.4); }

.section-heading { font-family: var(--font-serif); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 500; line-height: 1.2; color: var(--text); margin-bottom: 20px; }
.section-heading em { font-style: italic; color: var(--green); }
.section-heading-white { font-family: var(--font-serif); font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 500; line-height: 1.2; color: var(--white); margin-bottom: 20px; }
.section-heading-white em { font-style: italic; opacity: .8; }

.section-body { font-size: .92rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 24px; }
.section-body-white { font-size: .92rem; line-height: 1.8; color: rgba(255,255,255,.75); margin-bottom: 24px; }

/* ── CHECK LIST ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.5; color: var(--text); }
.check-list li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%233d5a3e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='8'/%3E%3Cpath d='M7 10l2 2 4-4'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }
.check-list-white li { color: rgba(255,255,255,.85); }
.check-list-white li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='rgba(255,255,255,0.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='8'/%3E%3Cpath d='M7 10l2 2 4-4'/%3E%3C/svg%3E"); }

/* ── GRID 2-COL ── */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-grid-reverse { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-grid-reverse .split-media { order: -1; }

/* ── QUOTE BANNER ── */
.quote-banner { background: var(--green); padding: 48px 0; text-align: center; position: relative; overflow: hidden; }
.quote-banner::before, .quote-banner::after { content: ''; position: absolute; top: 50%; transform: translateY(-50%); width: 180px; height: 140px; background-image: url('assets/botanical/botanical-footer.svg'); background-size: contain; background-repeat: no-repeat; opacity: .2; pointer-events: none; }
.quote-banner::before { left: 40px; }
.quote-banner::after  { right: 40px; transform: translateY(-50%) scaleX(-1); }
.quote-text { font-family: var(--font-serif); font-size: clamp(1.3rem,2.2vw,1.8rem); font-style: italic; font-weight: 400; color: var(--white); position: relative; z-index: 1; }

/* ── FOOTER ── */
.site-footer { background: var(--green-dark); color: var(--white); padding: 64px 0 0; position: relative; overflow: hidden; }
.site-footer::after { content: ''; position: absolute; bottom: 40px; right: -20px; width: 300px; height: 160px; background-image: url('assets/botanical/botanical-footer.svg'); background-size: contain; background-repeat: no-repeat; pointer-events: none; opacity: .12; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { height: 48px; margin-bottom: 18px; }
.footer-tagline { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.6); margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s; }
.footer-social a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.footer-social svg { width: 15px; height: 15px; fill: white; }
.footer-col h4 { font-family: var(--font-ui); font-size: .63rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .82rem; color: rgba(255,255,255,.7); transition: color .15s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-hours li { display: flex; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.7); padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 8px !important; }
.footer-hours li span:last-child { color: rgba(255,255,255,.45); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p, .footer-bottom a { font-family: var(--font-ui); font-size: .68rem; color: rgba(255,255,255,.38); letter-spacing: .3px; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.footer-legal { display: flex; gap: 20px; }

/* ── RESPONSIVE — TABLET ── */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split-grid, .split-grid-reverse { gap: 48px; }
}

/* ── RESPONSIVE — MOBILE ── */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 0 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 0; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; }
  .nav-open .nav-links { transform: translateX(0); }
  .nav-links > li { width: 100%; border-bottom: 1px solid var(--cream-dark); }
  .nav-links > li > a { padding: 16px 0; font-size: .85rem; }
  .nav-dropdown { position: static; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; border: none; border-radius: 0; padding: 0 0 8px 12px; display: none; }
  .has-dropdown.open .nav-dropdown { display: block; }
  .has-dropdown.open .chevron { transform: rotate(180deg); }
  .nav-cta { display: none; }
  .page-hero { padding: 56px 0 50px; }
  .section, .section-lg { padding: 56px 0; }
  .split-grid, .split-grid-reverse { grid-template-columns: 1fr; gap: 40px; }
  .split-grid-reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  .page-title { font-size: 1.8rem; }
}
