/* ============================================================
   DrAyurvedas — Shared Stylesheet
   Same design tokens as the original single-page site.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --beige:        #F5F0E8;
  --beige2:       #EDE6D6;
  --beige3:       #E4DCCB;
  --green:        #3A6B47;
  --green2:       #2D5238;
  --green3:       #5A8C68;
  --green-light:  #E8F0EB;
  --white:        #FDFCF9;
  --text:         #1A2820;
  --text2:        #4A5E52;
  --text3:        #7A8E82;
  --gold:         #C4973A;
  --vata:         #7C97AC;
  --shadow:       0 2px 24px rgba(58,107,71,0.09);
  --shadow-md:    0 4px 32px rgba(58,107,71,0.13);
  --r:            12px;
  --r-sm:         8px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--beige);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: 'DM Sans', sans-serif; border: none; }
input, select, textarea { font-family: 'DM Sans', sans-serif; }
* { -webkit-tap-highlight-color: transparent; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
:focus-visible { outline: 2.5px solid var(--green3); outline-offset: 2px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: all 0.2s ease; border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary   { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green2); border-color: var(--green2); }
.btn-outline   { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green-light); }
.btn-ghost     { background: transparent; color: var(--text2); border-color: var(--beige3); }
.btn-ghost:hover { background: var(--beige2); }
.btn-gold      { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { filter: brightness(0.92); }
.btn-sm        { padding: 7px 16px; font-size: 0.8rem; }
.btn-lg        { padding: 13px 30px; font-size: 0.95rem; }
.btn-block     { width: 100%; }
.btn:disabled  { opacity: 0.55; cursor: not-allowed; }

/* ── NAVIGATION ── */
#nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(253,252,249,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--beige2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; flex-shrink: 0; }
.logo-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; }
.logo-wordmark { display: flex; flex-direction: column; }
.logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 600; color: var(--green2); line-height: 1.1; }
.logo-tagline { font-size: 0.62rem; color: var(--text3); letter-spacing: 0.1em; text-transform: uppercase; }
.nav-links { display: flex; gap: 0.15rem; align-items: center; }
.nav-links a { font-size: 0.86rem; color: var(--text2); padding: 6px 11px; border-radius: 6px; transition: all 0.15s; cursor: pointer; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--green); background: var(--green-light); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 5px;
  font-family: 'DM Sans', sans-serif; font-size: 0.86rem; color: var(--text2);
  background: none; border: none; padding: 6px 11px; border-radius: 6px;
  cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle[aria-expanded="true"], .nav-dropdown-toggle.active { color: var(--green); background: var(--green-light); }
.nav-caret { transition: transform 0.18s ease; flex-shrink: 0; }
.nav-dropdown-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px;
  background: var(--white); border: 1px solid var(--beige2); border-radius: var(--r-sm);
  box-shadow: var(--shadow-md); padding: 6px; z-index: 250;
  display: none; flex-direction: column; gap: 2px;
}
.nav-dropdown.open .nav-dropdown-menu { display: flex; animation: dropIn 0.15s ease; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.nav-dropdown-menu a { font-size: 0.85rem; color: var(--text2); padding: 9px 12px; border-radius: 6px; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active { background: var(--green-light); color: var(--green); }
.nav-actions { display: flex; gap: 8px; flex-shrink: 0; }
.nav-mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.nav-mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.2s; }
#mobile-nav { display: none; border-top: 1px solid var(--beige2); background: var(--white); padding: 1rem 1.25rem; }
#mobile-nav a { display: block; padding: 10px 0; font-size: 0.9rem; color: var(--text2); border-bottom: 1px solid var(--beige2); cursor: pointer; }
#mobile-nav .mnav-actions { display: flex; gap: 8px; margin-top: 12px; }

/* ── HERO ── */
.hero { background: linear-gradient(150deg, var(--white) 0%, var(--green-light) 55%, var(--beige2) 100%); padding: 5rem 0 4rem; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--green-light); border: 1px solid rgba(58,107,71,0.22); border-radius: 20px; padding: 6px 16px; font-size: 0.78rem; color: var(--green2); margin-bottom: 1.25rem; }
.hero-badge-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; }
.hero-hindi { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--text3); margin-bottom: 0.5rem; }
.hero h1 { font-size: 3rem; color: var(--text); margin-bottom: 1rem; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-sub { font-size: 1rem; color: var(--text2); line-height: 1.75; margin-bottom: 2rem; max-width: 480px; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.search-widget { background: var(--white); border-radius: var(--r); padding: 1.25rem; box-shadow: var(--shadow-md); border: 1px solid var(--beige2); }
.search-widget-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text3); display: block; margin-bottom: 8px; }
.search-row { display: flex; gap: 8px; }
.search-input { flex: 1; padding: 10px 14px; border: 1.5px solid var(--beige2); border-radius: var(--r-sm); font-size: 0.875rem; background: var(--beige); color: var(--text); outline: none; transition: border 0.2s; }
.search-input:focus { border-color: var(--green); background: var(--white); }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card-wrap { position: relative; width: 320px; }
.hero-doctor-card { background: var(--white); border-radius: var(--r); padding: 1.5rem; box-shadow: 0 12px 48px rgba(58,107,71,0.18); border: 1px solid var(--beige2); }
.doc-avatar-sm { width: 54px; height: 54px; border-radius: 50%; background: var(--green-light); border: 2px solid var(--green3); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; color: var(--green2); margin-bottom: 0.75rem; flex-shrink: 0; }
.stars { color: var(--gold); letter-spacing: 2px; }
.float-stat { position: absolute; background: var(--white); border-radius: 10px; padding: 0.75rem 1rem; box-shadow: 0 4px 20px rgba(0,0,0,0.1); border: 1px solid var(--beige2); }
.float-stat.top-right { top: -18px; right: -28px; }
.float-stat.bottom-left { bottom: -16px; left: -24px; }
.float-num { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--green); display: block; line-height: 1.1; }
.float-label { font-size: 0.72rem; color: var(--text3); }

/* ── DOSHA WHEEL (hero signature element) ── */
.dosha-wheel-eyebrow { text-align: center; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green3); margin-bottom: 0.9rem; }
.dosha-wheel-svg { display: block; width: 100%; height: auto; animation: wheelIn 0.85s cubic-bezier(.16,.84,.44,1) both; transform-origin: center; }
@keyframes wheelIn { from { transform: scale(0.94) rotate(-4deg); } to { transform: scale(1) rotate(0deg); } }
.dosha-wheel-caption { font-size: 0.82rem; color: var(--text2); line-height: 1.6; text-align: center; margin: 1.1rem 0 1.25rem; }
.dosha-legend { display: flex; justify-content: center; gap: 14px; margin-top: 0.25rem; }
.dosha-legend-item { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: var(--text3); }
.dosha-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── PAGE HEADER (non-home pages) ── */
.page-header { background: linear-gradient(150deg, var(--white) 0%, var(--green-light) 100%); padding: 2.75rem 0 2.5rem; border-bottom: 1px solid var(--beige2); }
.page-header h1 { font-size: 2.4rem; color: var(--text); margin: 0.5rem 0 0.6rem; }
.page-header p { font-size: 0.95rem; color: var(--text2); max-width: 680px; line-height: 1.7; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--green); padding: 1.25rem 0; }
.trust-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.trust-stat { display: flex; align-items: center; gap: 10px; color: #fff; }
.trust-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; line-height: 1; }
.trust-stat-label { font-size: 0.78rem; opacity: 0.75; }
.trust-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.2); }

/* ── SECTION BASE ── */
.section { padding: 5rem 0; }
.section-tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--green3); margin-bottom: 0.5rem; display: block; }
.section-title { font-size: 2.25rem; color: var(--text); margin-bottom: 0.75rem; }
.section-sub { font-size: 0.95rem; color: var(--text2); line-height: 1.7; max-width: 560px; }
.section-head { margin-bottom: 2.5rem; }
.section-head.centered { text-align: center; }
.section-head.centered .section-sub { margin: 0 auto; }

/* ── LISTING CARDS ── */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
.listing-card { background: var(--white); border: 1.5px solid var(--beige2); border-radius: var(--r); padding: 1.35rem; cursor: pointer; transition: all 0.2s ease; position: relative; display: flex; flex-direction: column; }
.listing-card:hover { border-color: var(--green3); box-shadow: var(--shadow); transform: translateY(-3px); }
.listing-card.premium { border-color: rgba(196,151,58,0.4); }
.listing-card.premium:hover { border-color: var(--gold); }
.premium-badge { position: absolute; top: 12px; right: 12px; background: var(--gold); color: #fff; font-size: 0.62rem; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 500; }
.card-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--green-light); border: 2px solid var(--green-light); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--green2); margin-bottom: 0.75rem; transition: border-color 0.2s; overflow: hidden; }
.card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.listing-card:hover .card-avatar { border-color: var(--green3); }
.card-avatar.hospital { border-radius: var(--r-sm); }
.card-name { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.card-cred { font-size: 0.76rem; color: var(--text3); margin-bottom: 4px; }
.card-loc { font-size: 0.8rem; color: var(--text2); margin-bottom: 6px; display: flex; align-items: center; gap: 4px; }
.card-stars { font-size: 0.8rem; margin-bottom: 0; }
.card-stars .stars { font-size: 0.75rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.tag { background: var(--green-light); color: var(--green2); font-size: 0.7rem; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--beige2); }
.verify-chip { font-size: 0.72rem; color: var(--green3); display: flex; align-items: center; gap: 3px; }

/* ── CONDITIONS GRID ── */
.cond-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.cond-card { background: var(--white); border: 1.5px solid var(--beige2); border-radius: var(--r); padding: 1.25rem; text-align: center; cursor: pointer; transition: all 0.2s ease; }
.cond-card:hover { border-color: var(--green3); background: var(--green-light); transform: translateY(-2px); }
.cond-icon { font-size: 1.75rem; margin-bottom: 8px; }
.cond-name { font-size: 0.875rem; font-weight: 500; color: var(--text); line-height: 1.3; }
.cond-count { font-size: 0.7rem; color: var(--text3); margin-top: 4px; }

/* ── ABOUT / TIMELINE ── */
.about-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.prose p { font-size: 0.95rem; color: var(--text2); line-height: 1.8; margin-bottom: 1rem; }
.prose h2 { font-size: 1.75rem; color: var(--text); margin: 1.75rem 0 0.75rem; }
.prose h3 { font-size: 1.25rem; color: var(--green2); margin: 1.25rem 0 0.5rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1rem; list-style: disc; }
.prose ul li { font-size: 0.9rem; color: var(--text2); margin-bottom: 5px; line-height: 1.6; }
.prose ol { padding-left: 1.25rem; margin-bottom: 1rem; list-style: decimal; }
.prose ol li { font-size: 0.9rem; color: var(--text2); margin-bottom: 5px; line-height: 1.6; }
.timeline-wrap { position: relative; padding-left: 2rem; }
.timeline-wrap::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--green) 0%, transparent 100%); }
.tl-item { position: relative; margin-bottom: 2rem; }
.tl-dot { position: absolute; left: -2rem; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--green3); }
.tl-year { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--green3); margin-bottom: 4px; }
.tl-title { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.tl-desc { font-size: 0.84rem; color: var(--text2); line-height: 1.6; }

/* ── FAQ ── */
.faq-list { border: 1.5px solid var(--beige2); border-radius: var(--r); overflow: hidden; background: var(--white); margin-bottom: 1.5rem; }
.faq-item { border-bottom: 1px solid var(--beige2); }
.faq-item:last-child { border-bottom: none; }
.faq-q-btn { width: 100%; text-align: left; background: none; border: none; padding: 1.1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; font-weight: 500; color: var(--text); cursor: pointer; transition: background 0.15s; gap: 1rem; }
.faq-q-btn:hover { background: var(--beige); }
.faq-q-btn[aria-expanded="true"] { background: var(--green-light); color: var(--green2); }
.faq-icon { flex-shrink: 0; font-size: 1.1rem; font-weight: 400; color: var(--green3); transition: transform 0.2s; }
.faq-q-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.25rem 1.1rem; font-size: 0.875rem; color: var(--text2); line-height: 1.75; }
.faq-answer.open { display: block; }
.faq-cat-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem; }
.faq-cat-btn { background: var(--white); border: 1.5px solid var(--beige2); color: var(--text2); padding: 7px 16px; border-radius: 20px; font-size: 0.82rem; transition: all 0.15s; }
.faq-cat-btn:hover { border-color: var(--green3); }
.faq-cat-btn.active { background: var(--green); color: #fff; border-color: var(--green); }
.faq-search { margin-bottom: 1.75rem; }
.faq-count-note { font-size: 0.82rem; color: var(--text3); margin-bottom: 1rem; }
.faq-group-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--green2); margin: 2rem 0 1rem; }
.faq-group-title:first-child { margin-top: 0; }

/* ── INVENTOR CARDS ── */
.inventor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.inventor-card { background: var(--white); border: 1.5px solid var(--beige2); border-radius: var(--r); overflow: hidden; }
.inventor-header { padding: 2rem; color: #fff; text-align: center; }
.inventor-header.charaka { background: var(--green); }
.inventor-header.sushruta { background: var(--green2); }
.inventor-avatar-lg { width: 82px; height: 82px; border-radius: 50%; margin: 0 auto 1rem; background: rgba(255,255,255,0.18); border: 3px solid rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; color: #fff; }
.inventor-name { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600; }
.inventor-era { font-size: 0.78rem; opacity: 0.72; margin-top: 4px; letter-spacing: 0.04em; }
.inventor-body { padding: 1.75rem; }
.contrib-pill { display: inline-block; background: var(--green-light); color: var(--green2); font-size: 0.7rem; padding: 4px 12px; border-radius: 20px; margin: 3px; }

/* ── DIRECTORY ── */
.filter-bar { background: var(--white); border: 1.5px solid var(--beige2); border-radius: var(--r); padding: 1.5rem; margin-bottom: 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 1rem; align-items: end; }
.filter-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text3); display: block; margin-bottom: 6px; }
.filter-select, .filter-input { width: 100%; padding: 9px 12px; border: 1.5px solid var(--beige2); border-radius: var(--r-sm); font-size: 0.85rem; background: var(--beige); color: var(--text); outline: none; cursor: pointer; transition: border 0.2s; }
.filter-select:focus, .filter-input:focus { border-color: var(--green); }
.results-meta { font-size: 0.82rem; color: var(--text3); margin-bottom: 1.25rem; }
.dir-card { background: var(--white); border: 1.5px solid var(--beige2); border-radius: var(--r); padding: 1.5rem; margin-bottom: 1rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: start; cursor: pointer; transition: all 0.2s ease; }
.dir-card:hover { border-color: var(--green3); box-shadow: var(--shadow); }
.dir-avatar { width: 66px; height: 66px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--green2); border: 2px solid rgba(58,107,71,0.15); flex-shrink: 0; overflow: hidden; }
.dir-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dir-avatar.hospital { border-radius: var(--r-sm); }
.dir-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.dir-cred { font-size: 0.78rem; color: var(--green3); margin-bottom: 5px; }
.dir-loc { font-size: 0.82rem; color: var(--text3); margin-bottom: 8px; }
.dir-meta { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.rating-pill { background: var(--green); color: #fff; padding: 4px 10px; border-radius: 6px; font-size: 0.82rem; font-weight: 500; }
.verified-pill { background: var(--green-light); color: var(--green2); font-size: 0.72rem; padding: 3px 10px; border-radius: 20px; display: flex; align-items: center; gap: 3px; }
.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--text3); }
.empty-state .cond-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* ── PROFILE ── */
.profile-header-card { background: var(--white); border: 1.5px solid var(--beige2); border-radius: var(--r); padding: 2rem; margin-bottom: 1.75rem; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.profile-avatar-lg { width: 100px; height: 100px; border-radius: 50%; background: var(--green-light); border: 3px solid var(--green3); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; color: var(--green2); flex-shrink: 0; overflow: hidden; }
.profile-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.profile-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; align-items: start; }
.profile-box { background: var(--white); border: 1.5px solid var(--beige2); border-radius: var(--r); padding: 1.5rem; margin-bottom: 1.5rem; }
.profile-box:last-child { margin-bottom: 0; }
.profile-box-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--text); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--beige2); }
.review-item { border-bottom: 1px solid var(--beige2); padding: 1rem 0; }
.review-item:last-child { border-bottom: none; padding-bottom: 0; }
.review-item:first-child { padding-top: 0; }
.review-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.review-author { font-weight: 500; font-size: 0.875rem; color: var(--text); }
.review-text { font-size: 0.85rem; color: var(--text2); line-height: 1.65; }
.treatment-tag { display: inline-block; background: var(--green-light); color: var(--green2); font-size: 0.78rem; padding: 5px 14px; border-radius: 6px; margin: 4px; }
.cred-row { padding: 8px 0; border-bottom: 1px solid var(--beige2); font-size: 0.85rem; color: var(--text2); }
.cred-row:last-child { border-bottom: none; }
.cred-row strong { font-weight: 500; color: var(--text); display: block; }

/* ── FORMS / REGISTER ── */
.register-wrap { max-width: 720px; margin: 0 auto; }
.form-card { background: var(--white); border: 1.5px solid var(--beige2); border-radius: var(--r); padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text3); display: block; margin-bottom: 6px; }
.form-label .req { color: var(--gold); }
.form-hint { font-size: 0.76rem; color: var(--text3); margin-top: 5px; }
.form-input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--beige2); border-radius: var(--r-sm); font-size: 0.9rem; background: var(--beige); color: var(--text); outline: none; transition: border 0.2s, background 0.2s; }
.form-input:focus { border-color: var(--green); background: var(--white); }
.form-input.invalid { border-color: #c0524a; }
.form-error { font-size: 0.76rem; color: #c0524a; margin-top: 5px; display: none; }
.form-error.show { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-textarea { resize: vertical; min-height: 90px; }
.trust-badges { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--beige2); }
.trust-badge-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text2); }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.84rem; color: var(--text2); }
.checkbox-row input { margin-top: 3px; }
.gbp-callout { background: var(--green-light); border: 1px solid rgba(58,107,71,0.22); border-radius: var(--r-sm); padding: 1rem 1.1rem; font-size: 0.84rem; color: var(--green2); margin-bottom: 1.5rem; line-height: 1.6; }

/* ── BLOG ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--white); border: 1.5px solid var(--beige2); border-radius: var(--r); overflow: hidden; cursor: pointer; transition: all 0.2s ease; display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--green3); }
.blog-img { height: 165px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.blog-img.green   { background: linear-gradient(135deg, #d4e8da, #e8f0eb); }
.blog-img.gold    { background: linear-gradient(135deg, #f5e8cc, #f0dba8); }
.blog-img.rose    { background: linear-gradient(135deg, #f5e0e0, #f8d4d4); }
.blog-img.blue    { background: linear-gradient(135deg, #dce8f5, #ccddf0); }
.blog-img.purple  { background: linear-gradient(135deg, #e8ddf5, #ddd0f0); }
.blog-img.sage    { background: linear-gradient(135deg, #e2ecd8, #d8eacc); }
.blog-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--green3); margin-bottom: 6px; }
.blog-title { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--text); line-height: 1.35; margin-bottom: 8px; }
.blog-excerpt { font-size: 0.82rem; color: var(--text2); line-height: 1.65; margin-bottom: auto; padding-bottom: 1rem; }
.blog-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--text3); padding-top: 1rem; border-top: 1px solid var(--beige2); }
.article-body { max-width: 760px; }
.article-meta { display: flex; gap: 1rem; align-items: center; font-size: 0.82rem; color: var(--text3); margin-bottom: 1.5rem; flex-wrap: wrap; }
.article-cta { background: var(--green-light); border: 1px solid rgba(58,107,71,0.22); border-radius: var(--r); padding: 1.5rem; margin: 2rem 0; }

/* ── FLOATING CTA ── */
#floating-cta { position: fixed; bottom: 24px; right: 24px; z-index: 500; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.float-btn { display: flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 30px; font-size: 0.82rem; font-weight: 500; box-shadow: 0 4px 18px rgba(58,107,71,0.28); border: none; transition: all 0.2s ease; white-space: nowrap; cursor: pointer; }
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 26px rgba(58,107,71,0.35); }
.float-btn.primary { background: var(--green); color: #fff; }
.float-btn.secondary { background: var(--white); color: var(--green); border: 1.5px solid var(--green3); }

/* ── INSTANT-DOCTOR POPUP ── */
#instant-popup-overlay { position: fixed; inset: 0; background: rgba(26,40,32,0.45); z-index: 900; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
#instant-popup-overlay.show { display: flex; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.instant-popup { background: var(--white); border-radius: var(--r); max-width: 440px; width: 100%; padding: 2rem; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.25); animation: popIn 0.3s ease; }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.instant-popup-close { position: absolute; top: 14px; right: 14px; background: var(--beige); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text2); }
.instant-popup-close:hover { background: var(--beige2); }
.instant-popup-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.instant-popup h3 { font-size: 1.5rem; color: var(--text); margin-bottom: 0.5rem; }
.instant-popup p { font-size: 0.87rem; color: var(--text2); line-height: 1.65; margin-bottom: 1.25rem; }
.instant-popup-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 1.25rem; }
.instant-popup-price .amt { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 600; color: var(--green); }
.instant-popup-price .per { font-size: 0.8rem; color: var(--text3); }
.instant-popup-actions { display: flex; flex-direction: column; gap: 8px; }
.instant-popup-or { text-align: center; font-size: 0.75rem; color: var(--text3); margin: 4px 0; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── STATS GRID ── */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card { border-radius: var(--r); padding: 1.5rem; }
.stat-card.dark { background: var(--green); color: #fff; }
.stat-card.light { background: var(--beige); border: 1.5px solid var(--beige2); }
.stat-card.accent { background: var(--green-light); }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.75rem; font-weight: 600; line-height: 1; margin-bottom: 6px; }
.stat-card.dark .stat-num { color: #fff; }
.stat-card.light .stat-num, .stat-card.accent .stat-num { color: var(--green); }
.stat-card.gold-card { background: rgba(196,151,58,0.1); border: 1.5px solid rgba(196,151,58,0.25); }
.stat-card.gold-card .stat-num { color: var(--gold); }
.stat-desc { font-size: 0.82rem; line-height: 1.4; }
.stat-card.dark .stat-desc { color: rgba(255,255,255,0.7); }
.stat-card.light .stat-desc, .stat-card.accent .stat-desc { color: var(--text2); }
.stat-card.gold-card .stat-desc { color: var(--text2); }

/* ── BOOKING PAGE ── */
.booking-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: start; }
.booking-option { background: var(--white); border: 1.5px solid var(--beige2); border-radius: var(--r); padding: 1.75rem; margin-bottom: 1.5rem; }
.booking-option.featured { border-color: var(--gold); background: rgba(196,151,58,0.05); }
.booking-option h3 { font-size: 1.3rem; color: var(--text); margin-bottom: 0.5rem; }
.calendly-embed { border: 1.5px solid var(--beige2); border-radius: var(--r); overflow: hidden; min-height: 620px; background: var(--white); display: flex; align-items: center; justify-content: center; }

/* ── LEGAL PAGES ── */
.legal-body { max-width: 820px; }
.legal-body h2 { font-size: 1.5rem; color: var(--text); margin: 2rem 0 0.75rem; }
.legal-body h3 { font-size: 1.15rem; color: var(--green2); margin: 1.25rem 0 0.5rem; }
.legal-body p, .legal-body li { font-size: 0.9rem; color: var(--text2); line-height: 1.8; margin-bottom: 0.85rem; }
.legal-body ul, .legal-body ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-toc { background: var(--white); border: 1.5px solid var(--beige2); border-radius: var(--r); padding: 1.5rem; margin-bottom: 2rem; }
.legal-toc a { display: block; font-size: 0.85rem; color: var(--green); padding: 4px 0; }
.legal-toc a:hover { text-decoration: underline; }
.updated-note { font-size: 0.8rem; color: var(--text3); margin-bottom: 2rem; }
.region-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.85rem; }
.region-table th, .region-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--beige2); color: var(--text2); }
.region-table th { color: var(--text); font-weight: 600; background: var(--beige); }

/* ── FOOTER ── */
footer { background: var(--text); color: #fff; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-brand-logo .logo-name { color: #fff; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.48); line-height: 1.75; }
.footer-col h4 { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: #fff; margin-bottom: 1rem; font-weight: 600; }
.footer-col ul li { font-size: 0.8rem; margin-bottom: 7px; }
.footer-col ul li a { color: rgba(255,255,255,0.48); cursor: pointer; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--green3); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 0.5rem; }
.footer-geo { font-size: 0.76rem; color: rgba(255,255,255,0.35); margin-top: 0.5rem; line-height: 1.7; }

/* ── MISC ── */
.breadcrumb { font-size: 0.8rem; color: var(--text3); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--green); cursor: pointer; }
.breadcrumb a:hover { text-decoration: underline; }
.divider { border: none; border-top: 1px solid var(--beige2); margin: 2rem 0; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; }
.badge-green { background: var(--green-light); color: var(--green2); }
.badge-gold  { background: rgba(196,151,58,0.12); color: var(--gold); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; }
.flex-center { display: flex; justify-content: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-2 { gap: 0.5rem; } .gap-3 { gap: 0.75rem; }
.info-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.info-item { font-size: 0.82rem; color: var(--text2); display: flex; align-items: center; gap: 5px; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.city-chip { background: var(--white); border: 1.5px solid var(--beige2); border-radius: var(--r-sm); padding: 0.8rem 1rem; font-size: 0.85rem; color: var(--text2); transition: all 0.15s; }
.city-chip:hover { border-color: var(--green3); color: var(--green2); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .nav-links, .nav-actions .btn-outline { display: none; }
  .nav-mobile-toggle { display: flex; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { font-size: 2.25rem; }
  .hero-visual { display: none; }
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.9rem; }
  .about-two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .inventor-grid { grid-template-columns: 1fr; }
  .profile-header-card { grid-template-columns: auto 1fr; }
  .profile-header-card > div:last-child, .profile-header-card > div:nth-child(3) { grid-column: 1 / -1; }
  .profile-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .dir-card { grid-template-columns: auto 1fr; }
  .dir-meta { grid-column: 2; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar-inner { justify-content: center; gap: 1.5rem; }
  .trust-divider { display: none; }
  #floating-cta { bottom: 16px; right: 16px; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 1.9rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .cond-grid { grid-template-columns: 1fr 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
