/* =============================================================
   Charlotte Hazeldine Chinese Medicine — site-wide stylesheet
   Design tokens from Colours.png + 2026 CNC advert/landing page
   ============================================================= */

:root {
  --cream: #f6f3ec;      /* page background */
  --panel: #fbf9f4;      /* light section */
  --alt: #efece3;        /* alternate section */
  --card: #fffdf9;       /* card background */
  --ink: #4a4a45;        /* body text */
  --muted: #6b6b63;      /* secondary text */
  --forest: #40593c;     /* heading green */
  --olive: #6f7d4a;      /* buttons / accents */
  --olive-dark: #5e6b3d;
  --olive-soft: #a8b18b;
  --sage: #93a26b;
  --peach: #e0a183;
  --pink: #e3bfb8;
  --sand: #d9b98c;
  --gold: #c9964b;
  --border: #ddd8c8;
  --border-soft: #e5e0d1;
  --shadow: 0 8px 22px rgba(64, 89, 60, .08);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forest);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 18px;
}

h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: 20px; }

p { margin: 0 0 16px; }

a { color: var(--olive-dark); }
a:hover { color: var(--forest); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.lead { font-size: 1.2em; font-weight: 600; color: var(--forest); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--olive);
  color: #fffdf9 !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--olive);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.btn.btn-outline { background: transparent; color: var(--forest) !important; border-color: var(--olive-soft); }
.btn.btn-outline:hover { background: #eef0e4; }
.btn .arr { font-family: Arial, sans-serif; }

/* ---------- Header ---------- */

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand img { height: 58px; width: auto; }
.brand span {
  font-family: Georgia, serif;
  color: var(--forest);
  font-size: 19px;
  line-height: 1.15;
}
.brand span em { display: block; font-style: normal; font-size: 14px; color: var(--olive); letter-spacing: .06em; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 16px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--forest); border-bottom-color: var(--olive-soft); }
.site-nav a.active { color: var(--forest); border-bottom-color: var(--olive); font-weight: 600; }
.site-nav .btn { padding: 10px 22px; font-size: 15px; }

.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; padding: 6px; }
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--forest); margin: 5px 0;
}

@media (max-width: 880px) {
  .nav-burger { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 18px 24px 24px;
    gap: 14px;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* ---------- Page title band ---------- */

.page-hero {
  background: var(--alt);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { margin-bottom: 6px; }
.page-hero p { color: var(--muted); margin: 0; }
.page-hero::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--pink);
  opacity: .45;
  right: -60px; bottom: -90px;
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--sage);
  opacity: .3;
  left: -50px; top: -50px;
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-panel { background: var(--panel); }
.section-alt { background: var(--alt); }
.section-olive { background: var(--olive); color: #f4f2e8; }
.section-olive h2 { color: #fffdf9; }
.section-olive p { color: #f4f2e8; }
.section-center { text-align: center; }

/* ---------- Hero (home / landing) ---------- */

.hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #5f6b4a; font-size: 15px; }
.hero-img { position: relative; }
.hero-img img {
  border-radius: 46% 54% 52% 48% / 55% 48% 52% 45%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 18px 40px rgba(64, 89, 60, .14);
  position: relative;
  z-index: 1;
}
.dot { position: absolute; border-radius: 50%; z-index: 0; }
.dot-peach { width: 120px; height: 120px; background: var(--peach); left: -30px; bottom: 30px; opacity: .85; }
.dot-green { width: 90px; height: 90px; background: var(--sage); right: -18px; bottom: -14px; opacity: .8; }

/* ---------- Two-column split rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-img img {
  border-radius: 24px;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}
.split-img.blob img { border-radius: 46% 54% 52% 48% / 55% 48% 52% 45%; aspect-ratio: 1 / 1; }

/* ---------- Circular portrait ---------- */

.portrait { position: relative; max-width: 360px; margin: 0 auto; }
.portrait img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 10px solid #f2c4b0;
  box-shadow: 0 14px 34px rgba(64, 89, 60, .12);
}
.portrait.ring-olive img { border-color: var(--olive); }

/* ---------- Card circles (treatment previews) ---------- */

.circle-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
}
.circle-card { text-align: center; text-decoration: none; }
.circle-card img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 8px solid var(--olive);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  transition: transform .25s;
}
.circle-card:hover img { transform: scale(1.03); }
.circle-card h3 { font-size: 22px; margin-bottom: 4px; }

/* ---------- Pills (support icons) ---------- */

.pills {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.pill {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 28px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 230px;
  justify-content: center;
}
.pill h3 { font-size: 16px; margin: 6px 0 2px; }
.pill p { font-size: 13px; color: var(--muted); margin: 0; }
.pill svg { width: 40px; height: 40px; }

/* ---------- Testimonials ---------- */

.quote-featured { max-width: 760px; margin: 0 auto 44px; font-size: 19px; }
.qmark { font-family: Georgia, serif; font-size: 56px; line-height: 0; color: var(--olive); display: block; margin: 26px 0 8px; }
.stars { color: var(--gold); font-size: 18px; letter-spacing: 3px; }
.quote-name { font-weight: 600; color: var(--forest); margin-top: 6px; }
.quote-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  text-align: center;
}
.quote-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 30px 24px;
  box-shadow: 0 8px 22px rgba(64, 89, 60, .06);
}
.quote-card .qmark { font-size: 40px; margin: 18px 0 4px; }
.quote-card p { font-size: 15px; }

/* ---------- Numbered steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.step .num {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: #fffdf9;
  font-weight: 700; font-size: 20px;
  font-family: Georgia, serif;
}
.step:nth-child(1) .num { background: var(--olive); }
.step:nth-child(2) .num { background: var(--peach); }
.step:nth-child(3) .num { background: var(--gold); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- CTA band ---------- */

.cta-band { background: var(--panel); }
.cta-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; }
.cta-img { min-height: 380px; background-size: cover; background-position: center 25%; }
.cta-body { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Pullquote ---------- */

.pullquote {
  border-left: 4px solid var(--peach);
  background: var(--card);
  border-radius: 0 16px 16px 0;
  margin: 32px 0;
  padding: 26px 30px;
  font-family: Georgia, serif;
  font-size: 20px;
  color: var(--forest);
}
.pullquote p { margin: 0; }

/* ---------- FAQ accordion ---------- */

.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 0;
  box-shadow: 0 4px 14px rgba(64, 89, 60, .04);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-family: Georgia, serif;
  font-size: 18px;
  color: var(--forest);
  font-weight: 600;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--olive);
  font-family: Georgia, serif;
}
.faq-list details[open] summary::after { content: "\2013"; }
.faq-body { padding: 0 22px 20px; }
.faq-body img { border-radius: 14px; margin: 12px auto; }

/* ---------- Prose (legal pages) ---------- */

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin-top: 44px; }
.prose h3 { font-size: 20px; margin-top: 30px; }
.prose ul { padding-left: 24px; }
.prose li { margin-bottom: 8px; }

/* ---------- Booking card ---------- */

.booking-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  display: block;
  text-decoration: none !important;
  transition: transform .25s;
}
.booking-card:hover { transform: translateY(-4px); }
.booking-card img { width: 100%; }
.booking-card h3 { font-size: 24px; margin: 22px 0 4px; }
.booking-card .price { font-size: 1.2em; color: var(--ink); padding-bottom: 24px; }

/* ---------- Footer ---------- */

.site-footer { margin-top: 0; }
.footer-main {
  background: var(--alt);
  border-top: 1px solid var(--border);
  padding: 56px 0 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
  align-items: start;
}
.footer-grid h3 { font-size: 18px; margin-bottom: 12px; }
.footer-grid p, .footer-grid li { font-size: 15px; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.footer-brand img { height: 52px; }
.footer-brand span { font-family: Georgia, serif; color: var(--forest); font-size: 18px; line-height: 1.2; }
.accreditations { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.accreditations img { height: 74px; width: auto; border-radius: 8px; }

.footer-bar { background: var(--olive); color: #f4f2e8; padding: 18px 0; }
.footer-bar .wrap {
  display: flex;
  gap: 12px 40px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 15px;
}
.footer-bar a { color: #f4f2e8 !important; text-decoration: none !important; }
.footer-bar span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .hero-img { order: -1; max-width: 420px; margin: 0 auto; }
  /* Single-column: image always sits above its text, regardless of DOM order */
  .split > .split-img, .split > .portrait { order: -1; }
  .split-img { max-width: 480px; margin: 0 auto; width: 100%; }
  .pills { grid-template-columns: repeat(3, 1fr); }
  .circle-cards, .quote-cards, .steps { grid-template-columns: 1fr; }
  .circle-cards { max-width: 340px; margin-left: auto; margin-right: auto; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-img { min-height: 260px; }
  .cta-body { padding: 44px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pills { grid-template-columns: repeat(2, 1fr); }
  .pill { min-height: 210px; }
}
