/* ============ Design tokens ============ */
:root {
  --sand: #F6F1E9;
  --sand-input: #FBF8F3;
  --sage: #2F4A3A;
  --sage-light: #DDE7DA;
  --sage-line: #8FA595;
  --clay: #A8472A;
  --peach: #E9B99F;
  --ink: #23302A;
  --muted: #4A5751;
  --muted-2: #3F4C45;
  --on-dark: #D3DDD2;
  --line: #E4DCCD;
  --input-line: #C9C1B2;
  --white: #FFFFFF;
  --radius: 24px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
}
img, svg { display: block; }
a { color: var(--sage); }
a:hover { color: var(--clay); }
h1, h2, h3 { font-family: var(--font-display); color: var(--sage); margin: 0; line-height: 1.15; }
p { margin: 0; }
input, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--sage); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; color: var(--white); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.bg-white { background: var(--white); }
.bg-sage { background: var(--sage); color: var(--sand); }
.bg-sage-light { background: var(--sage-light); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; }
.align-center { align-items: center; }
.align-start { align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; }

.eyebrow {
  font-weight: 700; color: var(--clay); font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.eyebrow--light { color: var(--peach); }
.section-title { font-size: clamp(30px, 4vw, 40px); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; max-width: 640px; }
.lead { color: var(--muted); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--clay); color: var(--white); }
.btn--primary:hover { background: #8F3B22; color: var(--white); }
.btn--sage { background: var(--sage); color: var(--white); }
.btn--sage:hover { background: #243A2D; color: var(--white); }
.btn--outline { background: var(--white); color: var(--sage); border-color: var(--sage); }
.btn--outline:hover { color: var(--sage); background: var(--sage-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============ Header / nav ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--sand); border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sage); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%; background: var(--sage);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.nav-menu { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 16px; }
.nav-menu a { text-decoration: none; }
.nav-menu .btn { padding: 10px 22px; min-height: 44px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px;
  border: 1.5px solid var(--sage); background: var(--white); color: var(--sage);
  align-items: center; justify-content: center; cursor: pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--sand); border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a:not(.btn) { padding: 12px 0; }
  .nav-menu .btn { margin-top: 8px; }
}

/* ============ Hero ============ */
.hero { padding: 80px 0 72px; }
.hero h1 { font-weight: 700; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
.hero .lead { font-size: 19px; max-width: 520px; }
.pill-tag {
  align-self: flex-start; background: var(--sage-light); color: var(--sage);
  font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px;
}
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--muted); list-style: none; padding: 0; margin: 0; }
.hero-art { position: relative; min-height: 420px; }
.hero-art .shape-a { position: absolute; inset: 0 40px 40px 0; background: var(--sage-light); border-radius: 200px 200px 32px 32px; }
.hero-art .shape-b { position: absolute; right: 0; bottom: 0; width: 62%; height: 58%; background: var(--sage); border-radius: 32px 32px 200px 32px; }
.hero-art .shape-c { position: absolute; left: 12%; top: 18%; width: 120px; height: 120px; border-radius: 50%; background: var(--peach); }
.hero-badge {
  position: absolute; left: 8%; bottom: 14%; max-width: 84%; background: var(--white); border-radius: 20px;
  padding: 20px 26px; box-shadow: 0 12px 32px rgba(47, 74, 58, .14);
}

/* Doctor name card (hero badge + about section) */
.doctor-card { display: flex; flex-direction: column; gap: 2px; }
.doctor-card--about { background: var(--sand); border-radius: 20px; padding: 20px 26px; align-self: flex-start; }
.doctor-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; color: var(--sage); margin-bottom: 4px; }
.doctor-role { font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (max-width: 760px) { .doctor-card--about { display: none; } }
@media (max-width: 700px) { .hero { padding: 48px 0; } .hero-art { min-height: 300px; } }

/* ============ Cards ============ */
.card-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.card-grid--sm { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.card { background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card--sand { background: var(--sand); padding: 24px; gap: 6px; }
.card h3 { font-size: 21px; }
.card--sand h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 15px; }
.icon-tile {
  width: 48px; height: 48px; border-radius: 16px; background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
}

/* ============ Pain selector ============ */
.pain-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pain-btn {
  min-height: 44px; font-size: 15px; font-weight: 700; padding: 10px 20px; border-radius: 999px;
  cursor: pointer; background: transparent; color: var(--sand); border: 1.5px solid var(--sage-line);
}
.pain-btn:hover { border-color: var(--sand); }
.pain-btn[aria-pressed="true"] { background: var(--sand); color: var(--sage); border-color: var(--sand); }
.bg-sage h2 { color: var(--white); }
.bg-sage .lead { color: var(--on-dark); }
.pain-panel { background: var(--sand); color: var(--ink); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.pain-panel h3 { font-size: 28px; }
.pain-panel p { color: var(--muted); }
.pain-panel .btn { align-self: flex-start; margin-top: 6px; }

/* ============ Process ============ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.steps li { display: flex; flex-direction: column; gap: 8px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--clay); color: var(--white);
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps strong { font-family: var(--font-display); font-size: 20px; color: var(--sage); }
.steps span:last-child { color: var(--muted); font-size: 15px; }
.note-box { margin-top: 32px; background: var(--white); border-radius: 20px; padding: 20px 24px; color: var(--muted); font-size: 15px; }
.note-box strong { color: var(--sage); }

/* ============ Fees enquiry ============ */
.enquiry {
  background: var(--sand); border-radius: 28px; padding: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.enquiry .stack { flex: 1 1 420px; gap: 10px; }
.enquiry h2 { font-size: clamp(28px, 3.4vw, 36px); }
@media (max-width: 600px) { .enquiry { padding: 28px 22px; } }

/* ============ Testimonials ============ */
.quote { margin: 0; background: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; }
.quote figcaption { color: var(--muted); font-size: 15px; }

/* ============ Booking form ============ */
.form-card { background: var(--white); border-radius: 28px; padding: 32px; }
@media (max-width: 600px) { .form-card { padding: 24px 20px; } }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 6px; }
.field input, .field textarea {
  font-size: 16px; padding: 14px 16px; border: 1.5px solid var(--input-line);
  border-radius: 14px; background: var(--sand-input); color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { border-color: var(--sage); outline: none; box-shadow: 0 0 0 3px var(--sage-light); }
.field input[aria-invalid="true"] { border-color: var(--clay); }
.field-error { color: var(--clay); font-size: 14px; font-weight: 600; min-height: 0; }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills label { position: relative; }
.radio-pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-pills span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; font-size: 15px; font-weight: 700; cursor: pointer;
  background: var(--white); color: var(--sage); border: 1.5px solid var(--input-line);
}
.radio-pills input:checked + span { background: var(--sage); color: var(--white); border-color: var(--sage); }
.radio-pills input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.form .btn { width: 100%; font-size: 17px; }
.form-hint { font-size: 14px; color: var(--muted); text-align: center; }
.form-success { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 24px 0; }
.form-success[hidden] { display: none; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--sage); display: flex; align-items: center; justify-content: center; }
.form-success h3 { font-size: 26px; }
.form-success p { color: var(--muted); }
.link-btn { background: none; border: 0; color: var(--sage); font-weight: 700; text-decoration: underline; padding: 12px 0; cursor: pointer; }

/* ============ FAQ ============ */
.faq { max-width: 880px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: 20px; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-size: 18px; font-weight: 700; color: var(--sage);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 24px 22px; color: var(--muted); }

/* ============ Tips ============ */
.tips-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.tip-card {
  text-decoration: none; color: inherit; background: var(--sand); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 10px; min-height: 180px;
}
.tip-card .eyebrow { font-size: 13px; }
.tip-card .tip-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--sage); line-height: 1.25; }
.tip-card .tip-more { margin-top: auto; font-weight: 700; color: var(--sage); }

/* ============ Contact ============ */
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex-shrink: 0; margin-top: 2px; }

/* ============ Footer ============ */
.site-footer { background: var(--ink); color: var(--on-dark); }
.footer-grid { padding: 56px 24px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--white); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--white); }
.footer-title { color: var(--white); font-weight: 700; margin-bottom: 8px; }
.footer-legal { padding: 0 24px 32px; font-size: 13px; color: #A9B5AE; }

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.wa-float:hover { background: #243A2D; }

/* ============ 404 ============ */
.not-found { min-height: 70vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; }

/* ============ Utilities ============ */
.mt-32 { margin-top: 32px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-20 { gap: 20px; }
.self-start { align-self: start; }

/* ============ Booking: send options ============ */
.optional { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send-options { display: flex; flex-direction: column; gap: 10px; }
.send-label { font-weight: 600; font-size: 15px; }
.send-options .btn { gap: 10px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.form-error { background: #FBEAE4; color: #7A2F18; border-radius: 12px; padding: 12px 16px; font-size: 15px; font-weight: 600; }
.form-error[hidden] { display: none; }
