/*
Theme Name: Favor Health Clinic
Author: Abdul Fatha
Description: A clean, custom base theme with full HTML flexibility.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: #
*/

 :root {
  /* Favor Health Care: deep purple #5D0C7D, light purple #A953CA, white,
     warmed with ivory + soft lavender + blush for a gentle, personal feel */
  --plum: #5D0C7D;
  --plum-deep: #47095E;
  --plum-soft: #8A3EA8;
  --orchid: #A953CA;
  --orchid-deep: #8E3FB0;
  --orchid-soft: #C98FE0;
  --lilac: #EADBF7;
  --lilac-deep: #E0CDEF;
  --blush: #F1E6FB;
  --cream: #F6EFFC;
  --cream-deep: #EDE0F7;
  --ink: #3A2740;
  --ink-soft: #6E5C74;
  --line: rgba(93, 12, 125, 0.12);
  --line-warm: rgba(122, 74, 110, 0.16);
  --white: #FFFFFF;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Mulish', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.005em;
  color: var(--plum-deep);
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }

p { color: var(--ink-soft); line-height: 1.8; font-weight: 400; }
a { color: var(--plum-deep); text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; display: block; }

.shell { max-width: 1240px; margin: 0 auto; padding: 0 52px; }
.accent { font-style: italic; color: var(--orchid-deep); font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--orchid-deep); font-weight: 700; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orchid); box-shadow: 0 0 0 4px rgba(169,83,202,0.16); }
.eyebrow.center { justify-content: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  padding: 15px 30px; border-radius: 999px; cursor: pointer;
  transition: all 0.25s ease; border: 1px solid transparent; letter-spacing: 0.01em;
}
.btn-primary { background: var(--plum); color: var(--white); box-shadow: 0 10px 24px rgba(93,12,125,0.18); }
.btn-primary:hover { background: var(--plum-deep); color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(93,12,125,0.24); }
.btn-ghost { background: transparent; color: var(--plum-deep); border-color: var(--orchid-soft); }
.btn-ghost:hover { background: var(--lilac); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 44px); max-width: 1240px; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 26px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px);
  border: 1px solid var(--line-warm);
  box-shadow: 0 8px 30px rgba(93, 12, 125, 0.08);
}
.nav-mark { display: flex; align-items: center; gap: 13px; }
.nav-mark .mono { width: 44px; height: 44px; }
.nav-mark-text { display: flex; flex-direction: column; line-height: 1; }
.nav-mark-text .n1 {
  font-family: var(--font-display); font-size: 1.26rem; color: var(--plum-deep);
  letter-spacing: 0.04em; font-weight: 600;
}
.nav-mark-text .n2 {
  font-size: 0.56rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--orchid-deep); font-weight: 700; margin-top: 5px;
}
.nav-menu { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-menu a {
  font-size: 0.88rem; color: var(--ink-soft); font-weight: 600;
  padding: 9px 15px; border-radius: 999px; transition: all 0.2s;
}
.nav-menu a:hover { color: var(--plum-deep); background: var(--lilac); }
.nav-book {
  background: var(--plum); color: var(--white) !important; padding: 11px 24px !important;
  border-radius: 999px; font-size: 0.86rem; font-weight: 600;
}
.nav-book:hover { background: var(--plum-deep); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--plum-deep); border-radius: 2px; }
/* nav dropdown */
.nav-dd { position: relative; }
.nav-dd > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { width: 9px; height: 9px; transition: transform 0.2s; }
.nav-dd:hover .nav-caret, .nav-dd:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; display: none; }
.nav-dd:hover::after, .nav-dd:focus-within::after { display: block; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 188px; background: var(--white); border: 1px solid var(--line-warm);
  border-radius: 16px; box-shadow: 0 16px 36px rgba(93,12,125,0.16); padding: 8px;
  list-style: none; display: none; flex-direction: column; gap: 2px; z-index: 120;
}
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { display: flex; }
.nav-dd-menu a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 0.88rem; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }
.nav-dd-menu a:hover { background: var(--lilac); color: var(--plum-deep); }

/* ============ FOOTER ============ */
.site-footer { background: var(--plum-deep); padding: 80px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
.foot-brand .nav-mark-text .n1 { color: var(--white); }
.foot-brand p { color: rgba(255,255,255,0.62); font-size: 0.9rem; margin-top: 20px; max-width: 32ch; }
.foot-col h4 { font-family: var(--font-display); font-size: 0.98rem; font-weight: 600; color: var(--orchid-soft); margin-bottom: 20px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { color: rgba(255,255,255,0.68); font-size: 0.9rem; }
.foot-col a:hover { color: var(--white); }
.foot-col li { color: rgba(255,255,255,0.68); font-size: 0.9rem; }
.foot-disclaimer { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 30px; }
.foot-disclaimer p { color: rgba(255,255,255,0.46); font-size: 0.76rem; line-height: 1.75; margin-bottom: 16px; max-width: 92ch; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 8px; }
.foot-bottom p { color: rgba(255,255,255,0.52); font-size: 0.82rem; }
.foot-legal { display: flex; gap: 22px; }
.foot-legal a { color: rgba(255,255,255,0.52); font-size: 0.82rem; }
.foot-legal a:hover { color: var(--white); }

/* ============ SIGNATURE MOTIFS (unique to Favor) ============ */
.price-band, .bcta { position: relative; }
.wave-top { position: absolute; left: 0; top: 0; width: 100%; line-height: 0; transform: translateY(-98%); pointer-events: none; z-index: 1; }
.wave-top svg { display: block; width: 100%; height: 52px; }
/* hand-drawn "smile" swash, echoing the brand mark */
.swash { display: block; width: 172px; height: 15px; margin: -4px 0 2px; }
.swash.center { margin-left: auto; margin-right: auto; }
.hero-blob { position: absolute; border-radius: 50%; z-index: 0; }
.hero-blob.b1 { width: 340px; height: 340px; right: 3%; top: 16%; background: radial-gradient(circle, rgba(201,143,224,0.34), transparent 68%); }
.hero-blob.b2 { width: 280px; height: 280px; left: -70px; bottom: -50px; background: radial-gradient(circle, rgba(251,239,243,0.85), transparent 70%); }


@media (max-width: 768px) {
  .wave-top svg { height: 32px; }
  .swash { width: 140px; }
  .hero-blob.b1 { width: 220px; height: 220px; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .shell, .hero-shell { padding: 0 34px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .shell, .hero-shell { padding: 0 22px; }
  .nav { width: calc(100% - 26px); padding: 10px 12px 10px 18px; }
  .nav-menu { display: none; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: var(--cream); border: 1px solid var(--line-warm); border-radius: 22px; padding: 14px; gap: 4px; box-shadow: 0 14px 34px rgba(93,12,125,0.14); }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; padding:5px 0 ; text-align:center;}
  .nav-toggle { display: flex; }
  .nav-book { display: none; }
  .nav-dd-menu { position: static; transform: none; display: flex; min-width: 0; padding: 0px; margin-top: 0; background: transparent; border: none; box-shadow: none; }
  .nav-caret { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
/* numbers in a clean, professional sans (headings stay serif) */
.method-num, .why-num, .value-card .vnum,
.price-point .pp-num, .svc-price b, .member-price b,
.dose-row .d-price, .flatprice .fp .fp-num, .plan-price b {
  font-family: var(--font-body); font-style: normal; font-weight: 700; letter-spacing: -0.01em;
}