/* ==========================================================================
   Dr. Varun Duggal – website styles
   Brand palette: bluish purple + orange.
   Layout: Bootstrap 5.3 containers/rows/columns + Flexbox only (no CSS Grid).
   ========================================================================== */

/* ---------- Fonts (self-hosted for speed) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/inter.woff2') format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/dm-serif-display.woff2') format('woff2'); }

:root {
  --brand: #3D35A8;          /* bluish purple */
  --brand-600: #2F2890;
  --brand-800: #221D6B;
  --brand-900: #171349;
  --brand-50: #F3F2FC;
  --brand-100: #E6E4F8;
  --accent: #F47B20;         /* orange */
  --accent-600: #DC6510;
  --accent-50: #FFF3E9;
  --ink: #1B1938;
  --muted: #5D5B7A;
  --line: #E4E3F1;
  --white: #fff;
  --wa: #1DA851;
  --radius: 20px;
  --shadow-sm: 0 4px 14px rgba(27, 25, 56, .06);
  --shadow: 0 14px 40px rgba(27, 25, 56, .10);
  --shadow-lg: 0 24px 60px rgba(23, 19, 73, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--sans); color: var(--ink); background: var(--white); font-size: 1rem; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent-600); }
[id] { scroll-margin-top: 104px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn { --bs-btn-font-weight: 500; border-radius: 999px; padding: .7rem 1.4rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); white-space: nowrap; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.02rem; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; border: 2px solid var(--accent); box-shadow: 0 8px 22px rgba(244, 123, 32, .32); }
.btn-accent:hover, .btn-accent:focus-visible { background: var(--accent-600); border-color: var(--accent-600); color: #fff; box-shadow: 0 12px 28px rgba(244, 123, 32, .42); }
.btn-brand { background: var(--brand); color: #fff; border: 2px solid var(--brand); box-shadow: 0 8px 22px rgba(61, 53, 168, .25); }
.btn-brand:hover, .btn-brand:focus-visible { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
.btn-outline-brand { color: var(--brand); border: 2px solid var(--brand-100); background: #fff; }
.btn-outline-brand:hover, .btn-outline-brand:focus-visible { border-color: var(--brand); background: var(--brand); color: #fff; }
.btn-outline-light { border-width: 2px; }
.btn-outline-light:hover { color: var(--brand-800); }
.btn-whatsapp { background: var(--wa); color: #fff; border: 2px solid var(--wa); }
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #178A43; border-color: #178A43; color: #fff; }
.btn-link-accent { color: var(--accent); padding-left: .4rem; padding-right: .4rem; }
.btn-link-accent i { transition: transform .3s var(--ease); }
.btn-link-accent:hover { color: #FFB27A; }
.btn-link-accent:hover i { transform: translateX(4px); }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600); margin-bottom: .75rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: #FFB27A; }
.head-center .eyebrow { justify-content: center; }
.head-center { max-width: 720px; }
.title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.85rem, 1.3rem + 2.1vw, 2.85rem); line-height: 1.15; color: var(--brand-900); margin-bottom: 1rem; letter-spacing: -.01em; }
.sub-title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--brand-900); margin-bottom: 1.5rem; }
.lead-sm { color: var(--muted); font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.section--tint { background: var(--brand-50); }
.section--brand { background: radial-gradient(900px 420px at 90% 0%, rgba(244, 123, 32, .18), transparent 60%), linear-gradient(160deg, var(--brand-900), var(--brand-800) 55%, var(--brand-600)); color: #fff; }

/* ==========================================================================
   Floating pill header
   ========================================================================== */
.pill-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 1030; transition: top .35s var(--ease); }
.pill-header.is-scrolled { top: 8px; }
.pill { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: rgba(255, 255, 255, .97); border-radius: 999px; padding: 7px 8px 7px 14px; box-shadow: 0 10px 34px rgba(23, 19, 73, .16); border: 1px solid rgba(255, 255, 255, .7); transition: box-shadow .35s var(--ease); }
.pill-header.is-scrolled .pill { box-shadow: 0 12px 34px rgba(23, 19, 73, .2); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .pill { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; gap: 5px; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--serif); font-size: 1.12rem; color: var(--brand-900); white-space: nowrap; }
.brand-tag { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-600); font-weight: 500; white-space: nowrap; }

.main-nav { gap: 2px; }
.main-nav .nav-link { color: var(--ink); font-weight: 400; font-size: 1rem; padding: .5rem .72rem; border-radius: 999px; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease); }
.main-nav .nav-link:hover, .main-nav .nav-link:focus-visible, .main-nav .nav-link.show { background: var(--brand-50); color: var(--brand); }
.main-nav .nav-link.active { background: var(--brand); color: #fff; }
.main-nav .dropdown-toggle::after { display: none; }
.nav-caret { font-size: .7rem; margin-left: 2px; display: inline-block; transition: transform .3s var(--ease); }
.nav-link.show .nav-caret { transform: rotate(180deg); }

.pill-call { width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--accent-50); color: var(--accent-600); font-size: 1.05rem; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.pill-call:hover { background: var(--accent); color: #fff; transform: rotate(-8deg); }
.nav-toggler { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.5rem; display: inline-flex; align-items: center; justify-content: center; transition: background-color .3s var(--ease); }
.nav-toggler:hover { background: var(--brand-800); }

/* Mega menu: positioned against the pill, solid background, slide-in only (no fade) */
.dropdown-mega { position: static; }
.pill .mega-menu { position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; width: min(760px, 94vw); margin: 0; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); }
.pill .mega-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.pill .mega-menu.show { animation: megaIn .35s var(--ease); }
@keyframes megaIn { from { translate: -50% 10px; } to { translate: -50% 0; } }
.mega-kicker { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent-600); margin: 0 0 10px 10px; }
.mega-item { display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; border-radius: 12px; color: var(--ink); font-size: 1rem; font-weight: 400; transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.mega-item i { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand); transition: background-color .25s var(--ease), color .25s var(--ease); }
.mega-item:hover, .mega-item:focus-visible { background: var(--brand-50); color: var(--brand); transform: translateX(3px); }
.mega-item:hover i, .mega-item:focus-visible i { background: var(--accent); color: #fff; }

/* Offcanvas */
.mobile-menu { --bs-offcanvas-width: min(340px, 88vw); }
.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--line); }
.mobile-nav li a { display: flex; align-items: center; gap: .75rem; padding: .7rem .4rem; color: var(--ink); font-weight: 500; border-bottom: 1px dashed var(--line); transition: color .25s var(--ease), padding .25s var(--ease); }
.mobile-nav li a i { color: var(--accent); font-size: 1.05rem; }
.mobile-nav li a:hover { color: var(--brand); padding-left: .8rem; }

/* ==========================================================================
   1. Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; color: #fff; padding: 132px 0 120px; background: radial-gradient(700px 420px at 100% 10%, rgba(244, 123, 32, .28), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(120, 110, 255, .35), transparent 60%), linear-gradient(150deg, var(--brand-900) 0%, var(--brand-800) 50%, var(--brand) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
/* Doctor photo blends into the hero: no frame, edges fade into the background */
.hero-portrait { position: relative; z-index: 1; margin-top: 1.5rem; }
.hero-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 988 / 724; object-fit: cover; object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%), linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%), linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect; }
@media (min-width: 992px) {
  .hero { min-height: 760px; display: flex; align-items: center; }
  .hero > .container { width: 100%; }
  .hero-portrait { position: absolute; right: 0; bottom: 40px; width: 58%; max-width: 980px; margin: 0; }
  .hero-portrait img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 14%, #000 32%), linear-gradient(180deg, transparent 0%, #000 24%, #000 86%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .5) 14%, #000 32%), linear-gradient(180deg, transparent 0%, #000 24%, #000 86%, transparent 100%); }
}
@media (min-width: 992px) and (max-width: 1199.98px) { .hero-portrait { width: 62%; bottom: 60px; } }
.hero-chip { position: absolute; z-index: 2; top: 22%; left: 12px; display: inline-flex; align-items: center; gap: .4rem; background: rgba(23, 19, 73, .72); color: #fff; font-size: 1rem; font-weight: 500; border-radius: 999px; padding: .45rem .9rem; border: 1px solid rgba(255, 255, 255, .25); }
.hero-chip i { color: var(--accent); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .hero-chip { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); background: rgba(23, 19, 73, .55); } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-seal { position: absolute; z-index: 2; left: 36%; bottom: 110px; display: inline-flex; align-items: center; gap: .7rem; background: #fff; color: var(--ink); border-radius: 16px; padding: .7rem 1rem; box-shadow: var(--shadow); font-size: 1rem; line-height: 1.25; }
.hero-seal i { font-size: 1.6rem; color: var(--accent); }
.hero-seal strong { display: block; color: var(--brand-900); }
.hero-kicker { display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: #FFD2AE; border: 1px solid rgba(255, 210, 174, .35); border-radius: 999px; padding: .35rem .9rem; margin-bottom: 1.1rem; }
.hero-kicker i { color: var(--accent); margin-right: .2rem; }
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.55rem); line-height: 1.08; margin-bottom: 1rem; letter-spacing: -.01em; }
.hero-title span { color: var(--accent); white-space: nowrap; }
.hero-sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); font-weight: 500; color: rgba(255, 255, 255, .92); margin-bottom: .8rem; }
.hero-lead { color: rgba(255, 255, 255, .78); max-width: 580px; margin-bottom: 1.8rem; }
.hero-figures { border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 1.4rem; row-gap: 1rem; }
.fig { flex: 1 1 25%; min-width: 120px; padding: 0 1rem; border-left: 1px solid rgba(255, 255, 255, .16); }
.fig:first-child { border-left: 0; padding-left: 0; }
.fig-num { font-family: var(--serif); font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.3rem); line-height: 1; margin: 0 0 .35rem; color: #fff; }
.fig-num::first-letter { color: inherit; }
.fig-label { font-size: 1rem; color: rgba(255, 255, 255, .7); margin: 0; line-height: 1.35; }
.hero-wave { position: absolute; z-index: 3; left: 0; bottom: -1px; width: 100%; height: 60px; display: block; }
@media (min-width: 992px) {
  .hero-chip { top: 20%; right: 32px; left: auto; }
  .hero-seal { left: 30%; bottom: 16%; }
}
@media (max-width: 991.98px) {
  .hero { padding-bottom: 0; }
  .hero-seal { left: 16px; bottom: 72px; }
}
@media (max-width: 575.98px) {
  .fig { flex: 1 1 50%; padding: 0 .75rem; }
  .fig:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero { padding: 116px 0 0; }
  .hero-chip { font-size: 1rem; }
  .hero-seal { bottom: 64px; font-size: 1rem; padding: .55rem .8rem; }
}

/* ==========================================================================
   2. Treatments – filter chips + image cards
   ========================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.chip { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 500; font-size: 1rem; padding: .5rem .8rem; border-radius: 999px; white-space: nowrap; flex: 0 0 auto; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.chip i { color: var(--accent); }
.chip span { font-size: .72rem; background: var(--brand-50); color: var(--brand); border-radius: 999px; padding: .1rem .5rem; transition: inherit; }
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(61, 53, 168, .28); }
.chip.is-active i { color: #FFB27A; }
.chip.is-active span { background: rgba(255, 255, 255, .18); color: #fff; }
@media (max-width: 991.98px) { .chips { justify-content: flex-start; } }
@media (max-width: 575.98px) { .chips { flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; } }

.tcol.is-hidden { display: none; }
.tcol.pop { animation: popIn .5s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.tcard { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; color: #fff; isolation: isolate; background: var(--brand-800); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 19, 73, 0) 48%, rgba(23, 19, 73, .35) 68%, rgba(23, 19, 73, .92) 100%); }
.tcard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--accent), #FFB27A); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tcard-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; }
.tcard-body small { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #FFB27A; font-weight: 600; }
.tcard-body strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.15; }
.tcard-cta { display: inline-flex; align-items: center; gap: .4rem; font-size: 1rem; font-weight: 500; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .45s var(--ease), margin .45s var(--ease); }
.tcard-cta i { transition: transform .3s var(--ease); }
.tcard:hover, .tcard:focus-visible { color: #fff; transform: translateY(-6px); box-shadow: 0 18px 36px rgba(23, 19, 73, .25); }
.tcard:hover img, .tcard:focus-visible img { transform: scale(1.08); }
.tcard:hover::after, .tcard:focus-visible::after { transform: scaleX(1); }
.tcard:hover .tcard-cta, .tcard:focus-visible .tcard-cta { max-height: 24px; opacity: 1; margin-top: .4rem; }
.tcard:hover .tcard-cta i { transform: translateX(4px); }
@media (hover: none) { .tcard-cta { max-height: 24px; opacity: 1; margin-top: .35rem; } }
@media (max-width: 575.98px) { .tcard-body { padding: .8rem; } .tcard-body strong { font-size: 1.08rem; } .tcard-cta { font-size: 1rem; } }
.treat-help { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.1rem 1.1rem 1.4rem; border-radius: 22px; background: var(--brand-50); border: 1px dashed #C9C5EE; }
.treat-help p { margin: 0; font-weight: 500; color: var(--brand-900); display: flex; align-items: center; gap: .7rem; }
.treat-help p i { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--accent); font-size: 1.25rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.is-target { animation: targetPulse 1.6s var(--ease); }
@keyframes targetPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(244, 123, 32, 0); } 30% { box-shadow: 0 0 0 6px rgba(244, 123, 32, .5); } }

/* ==========================================================================
   3. About – quote, framed photo, qualification cards
   ========================================================================== */
.about-quote { font-size: 1.1rem; line-height: 1.8; color: #3A3858; border-left: 4px solid var(--accent); padding: .2rem 0 .2rem 1.25rem; margin: 0 0 1.5rem; }
.about-sign { display: flex; align-items: center; gap: .9rem; }
.about-sign img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--brand-100); }
.about-sign strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--brand-900); line-height: 1.2; }
.about-sign span { font-size: 1rem; color: var(--muted); }
.about-photo { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 10px 34px rgba(27, 25, 56, .1); }
.about-frame { position: relative; padding: 0 18px 18px 0; }
.about-frame::before { content: ""; position: absolute; inset: 18px 0 0 18px; border-radius: 28px; background: linear-gradient(135deg, var(--brand), var(--accent)); }
.about-frame img { position: relative; display: block; width: 100%; border-radius: 28px; box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.about-frame:hover img { transform: translate(-4px, -4px); }

.quals { padding-top: 3rem; border-top: 1px solid #DCD9F3; }
.qstat { display: inline-flex; align-items: baseline; gap: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .5rem .9rem; font-size: 1rem; color: var(--muted); box-shadow: var(--shadow-sm); }
.qstat strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--accent-600); line-height: 1; }
.quals-label { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 1rem; }
.quals-label i { font-size: 1.1rem; color: var(--accent); }
.deg { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.2rem 1.2rem; display: flex; flex-direction: column; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.deg::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.deg-ico { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; font-size: 1.35rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; box-shadow: 0 8px 18px rgba(61, 53, 168, .3); transition: transform .45s var(--ease); }
.deg-level { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--accent-600); margin-bottom: .3rem; }
.deg h5 { font-size: 1rem; font-weight: 600; color: var(--brand-900); line-height: 1.38; margin-bottom: .4rem; }
.deg p { font-size: 1rem; color: var(--muted); line-height: 1.5; margin-bottom: 1rem; }
.loc { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .35rem; font-size: 1rem; font-weight: 500; color: var(--accent-600); background: var(--accent-50); border-radius: 999px; padding: .25rem .7rem; }
.deg:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.deg:hover .deg-ico { transform: rotate(-8deg) scale(1.06); }
.deg--feature { background: linear-gradient(150deg, var(--brand), var(--brand-900)); border-color: transparent; }
.deg--feature::before { background: linear-gradient(90deg, var(--accent), #FFB27A); }
.deg--feature h5 { color: #fff; }
.deg--feature p { color: rgba(255, 255, 255, .75); }
.deg--feature .deg-ico { background: var(--accent); box-shadow: 0 8px 18px rgba(244, 123, 32, .4); }
.deg--feature .deg-level { color: #FFB27A; }
.deg--feature .loc { background: rgba(255, 255, 255, .14); color: #fff; }
.dip { height: 100%; display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.dip > div { display: flex; flex-direction: column; min-width: 0; height: 100%; }
.dip-ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-50); color: var(--accent-600); font-size: 1.2rem; display: inline-flex; align-items: center; justify-content: center; transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.dip h5 { font-size: 1rem; font-weight: 600; color: var(--brand-900); line-height: 1.35; margin-bottom: .3rem; }
.dip p { font-size: 1rem; color: var(--muted); margin-bottom: .55rem; line-height: 1.45; }
.dip .loc { margin-top: .25rem; }
.dip:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.dip:hover .dip-ico { background: var(--accent); color: #fff; transform: scale(1.06); }
.dip--globe { background: linear-gradient(135deg, var(--accent), var(--accent-600)); border-color: transparent; }
.dip--globe h5 { color: #fff; }
.dip--globe p { color: rgba(255, 255, 255, .9); margin: 0; }
.dip--globe .dip-ico { background: rgba(255, 255, 255, .2); color: #fff; }
.dip--globe:hover .dip-ico { background: #fff; color: var(--accent-600); }

/* ==========================================================================
   4. Services – image cards
   ========================================================================== */
.js .svc-more:not(.is-shown) { display: none; }
.svc-more.is-shown { animation: popIn .5s var(--ease); }
.svc-card { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.svc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.svc-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-50); }
.svc-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .9s var(--ease); }
.svc-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(23, 19, 73, .35)); opacity: .6; transition: opacity .5s var(--ease); }
.svc-card-num { position: absolute; top: 14px; right: 14px; z-index: 1; font-size: .75rem; font-weight: 600; color: #fff; background: rgba(23, 19, 73, .6); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .2rem .65rem; }
.svc-card-body { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; padding: 2.4rem 1.5rem 1.4rem; }
.svc-card-ico { position: absolute; top: -30px; left: 1.5rem; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; border: 4px solid #fff; box-shadow: 0 10px 22px rgba(61, 53, 168, .3); transition: background .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
.svc-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.22; margin-bottom: .5rem; }
.svc-card h3 a { color: var(--brand-900); transition: color .3s var(--ease); }
.svc-card p { color: var(--muted); font-size: 1rem; line-height: 1.6; margin-bottom: 1.2rem; }
.svc-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.svc-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: 1rem; color: var(--accent-600); }
.svc-link i { transition: transform .3s var(--ease); }
.svc-link:hover { color: var(--brand); }
.svc-wa { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #E9F8EF; color: var(--wa); font-size: 1.1rem; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.svc-wa:hover { background: var(--wa); color: #fff; transform: scale(1.1); }
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(23, 19, 73, .14); border-color: var(--brand-100); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover .svc-card-media img { transform: scale(1.08); }
.svc-card:hover .svc-card-media::after { opacity: 1; }
.svc-card:hover .svc-card-ico { background: linear-gradient(135deg, var(--accent), var(--accent-600)); transform: rotate(-6deg) translateY(-3px); box-shadow: 0 12px 24px rgba(244, 123, 32, .4); }
.svc-card:hover h3 a { color: var(--brand); }
.svc-card:hover .svc-link i { transform: translateX(5px); }
#svcMoreBtn i { transition: transform .3s var(--ease); }

/* ==========================================================================
   5. Patient stories – three columns
   ========================================================================== */
.section--warm { background: linear-gradient(180deg, #FFF4EA 0%, #FFFAF6 60%, #FFFFFF 100%); }
.stories-row { padding-top: 16px; }
.story-card { position: relative; height: 100%; margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid #F3E4D6; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.story-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform .9s var(--ease); }
.story-quote-ico { position: absolute; left: 1.4rem; top: -27px; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.7rem; display: flex; align-items: center; justify-content: center; border: 4px solid #fff; box-shadow: 0 8px 18px rgba(244, 123, 32, .4); transition: transform .45s var(--ease); }
.story-card figcaption { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; padding: 2.4rem 1.5rem 1.5rem; }
.story-card blockquote { font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.32rem); line-height: 1.42; color: var(--brand-900); margin: .55rem 0 1.2rem; }
.story-meta { margin-top: auto; display: flex; align-items: center; gap: .5rem; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: 1rem; color: var(--muted); }
.story-meta i { color: var(--accent); }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 1rem; }
.story-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.story-card:hover .story-media img { transform: scale(1.05); }
.story-card:hover .story-quote-ico { transform: rotate(-10deg) scale(1.06); }
.story-card--feature { background: linear-gradient(160deg, var(--brand), var(--brand-900)); border-color: transparent; }
.story-card--feature blockquote { color: #fff; }
.story-card--feature .story-meta { color: rgba(255, 255, 255, .72); border-color: rgba(255, 255, 255, .2); }
.story-card--feature .story-quote-ico { border-color: var(--brand); }
.story-card--feature .stars { color: #FFB27A; }
@media (min-width: 768px) {
  .story-card--feature { transform: translateY(-16px); }
  .story-card--feature:hover { transform: translateY(-24px); }
}
.story-cta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; text-align: center; color: #3A3858; }
.story-cta strong { color: var(--brand-900); }

/* ==========================================================================
   6. Home physiotherapy – rounded feature card
   ========================================================================== */
.hp { padding-top: clamp(24px, 4vw, 48px); }
.hp-card { position: relative; overflow: hidden; border-radius: 32px; color: #fff; background: radial-gradient(600px 320px at 0% 100%, rgba(244, 123, 32, .25), transparent 60%), linear-gradient(150deg, var(--brand-900), var(--brand-800) 55%, var(--brand-600)); box-shadow: var(--shadow-lg); }
.hp-text { padding: clamp(28px, 5vw, 60px); }
.hp-text .eyebrow { color: #FFB27A; }
.hp-text .title { color: #fff; font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.45rem); }
.hp-text p { color: rgba(255, 255, 255, .8); }
.hp-feats { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5rem 0 1.8rem; }
.hp-feat { flex: 1 1 150px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .55rem; font-size: 1rem; font-weight: 500; line-height: 1.4; transition: background-color .35s var(--ease), transform .35s var(--ease); }
.hp-feat i { width: 38px; height: 38px; border-radius: 11px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.hp-feat:hover { background: rgba(255, 255, 255, .14); transform: translateY(-4px); }
.hp-media { position: relative; height: 100%; min-height: 340px; }
.hp-media img { position: absolute; top: 16px; right: 16px; bottom: 16px; left: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: cover; border-radius: 24px; display: block; }
.hp-badge { position: absolute; left: 32px; bottom: 32px; z-index: 1; background: #fff; color: var(--brand-900); font-weight: 600; font-size: 1rem; border-radius: 999px; padding: .55rem 1rem; display: inline-flex; gap: .5rem; align-items: center; box-shadow: var(--shadow); }
.hp-badge i { color: var(--accent); font-size: 1.1rem; }
@media (max-width: 991.98px) { .hp-media { min-height: 300px; } .hp-media img { bottom: 0; height: calc(100% - 16px); } .hp-badge { bottom: 16px; } }

/* ==========================================================================
   7. Recognition – photo wall
   ========================================================================== */
.wall { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: var(--brand-50); text-align: left; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.wall img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform .7s var(--ease); }
.wall-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .9rem; background: linear-gradient(transparent, rgba(23, 19, 73, .92)); color: #fff; display: flex; flex-direction: column; line-height: 1.3; }
.wall-cap small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #FFB27A; margin-bottom: .2rem; }
.wall-cap strong { font-weight: 500; font-size: 1rem; }
.wall:hover, .wall:focus-visible { transform: translateY(-5px); box-shadow: var(--shadow); }
.wall:hover img, .wall:focus-visible img { transform: scale(1.07); }
.wall--intro { cursor: default; height: 100%; padding: 1.4rem; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(150deg, var(--brand), var(--brand-900)); color: #fff; }
.wall--intro:hover { transform: none; box-shadow: var(--shadow-sm); }
.wall--intro i { font-size: 2rem; color: var(--accent); margin-bottom: auto; }
.wall--intro h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.25; margin: .6rem 0 .4rem; }
.wall--intro p { font-size: 1rem; color: rgba(255, 255, 255, .72); margin: 0; line-height: 1.5; }

/* ==========================================================================
   9. Certificates – continuous strip
   ========================================================================== */
.certs { padding-bottom: clamp(56px, 7vw, 88px); }
.cert-strip { overflow: hidden; padding: 10px 0 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cert-track { display: flex; gap: 20px; width: max-content; animation: certScroll 70s linear infinite; }
.cert-strip:hover .cert-track, .cert-strip:focus-within .cert-track { animation-play-state: paused; }
@keyframes certScroll { to { transform: translateX(calc(-50% - 10px)); } }
.cert-thumb { position: relative; flex: 0 0 auto; width: 250px; border: 0; padding: 10px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.cert-thumb img { display: block; width: 100%; aspect-ratio: 520 / 376; object-fit: contain; background: #fafafe; border-radius: 10px; }
.cert-zoom { position: absolute; inset: 10px; border-radius: 10px; background: rgba(61, 53, 168, .55); color: #fff; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .35s var(--ease); }
.cert-thumb:hover, .cert-thumb:focus-visible { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.cert-thumb:hover .cert-zoom, .cert-thumb:focus-visible .cert-zoom { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .cert-strip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .cert-track { animation: none; padding: 0 16px; }
  .cert-track [aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   10. CTA
   ========================================================================== */
.cta { padding: 0 0 clamp(64px, 8vw, 100px); }
.cta-card { position: relative; overflow: hidden; text-align: center; color: #fff; border-radius: 32px; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px); background: radial-gradient(500px 260px at 0% 0%, rgba(244, 123, 32, .45), transparent 60%), radial-gradient(500px 260px at 100% 100%, rgba(120, 110, 255, .45), transparent 60%), var(--brand-800); box-shadow: var(--shadow-lg); }
.cta-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); line-height: 1.15; margin-bottom: .7rem; }
.cta-card p { color: rgba(255, 255, 255, .8); margin-bottom: 1.8rem; }

/* ==========================================================================
   Footer (light)
   ========================================================================== */
.site-footer { background: var(--brand-50); border-top: 4px solid var(--accent); padding-top: clamp(56px, 7vw, 80px); color: #3A3858; font-size: 1rem; }
.f-brand { max-width: 640px; margin: 0 auto 3rem; }
.f-brand img { border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow-sm); margin-bottom: .8rem; }
.f-name { font-family: var(--serif); font-size: 1.6rem; color: var(--brand-900); margin-bottom: .4rem; }
.f-about { color: var(--muted); margin-bottom: 1.2rem; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--brand); border: 1px solid var(--line); font-size: 1.05rem; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.f-cols { padding: 2.5rem 0; border-top: 1px solid var(--line); }
.f-title { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--brand-900); margin-bottom: 1rem; }
.f-links li + li { margin-top: .45rem; }
.f-links a { display: inline-flex; align-items: center; gap: .55rem; color: #3A3858; max-width: 100%; transition: color .25s var(--ease), transform .25s var(--ease); }
.f-links a i { color: var(--accent); font-size: 1.2rem; line-height: 1; transition: transform .25s var(--ease); }
.f-links a:hover i { transform: translateX(3px); }
.f-links a:hover { color: var(--brand); transform: translateX(4px); }
.f-contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .8rem; line-height: 1.5; }
.f-contact i { color: var(--accent); margin-top: 3px; }
.f-contact a { color: #3A3858; }
.f-contact a:hover { color: var(--brand); }
.f-disclaimer { font-size: 1rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; margin-bottom: 2rem; }
.f-bottom { background: var(--brand-100); padding: 1rem 0; font-size: 1rem; color: #3A3858; }
.f-bottom strong { color: var(--brand); }
.f-count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 .45rem; margin-left: .3rem; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--sans); font-size: .72rem; font-weight: 600; vertical-align: middle; }
.f-links--2 { display: flex; flex-wrap: wrap; column-gap: 1rem; }
@media (max-width: 575.98px) { .f-col:first-child .f-links { display: flex; flex-wrap: wrap; column-gap: 1rem; } .f-col:first-child .f-links li { flex: 0 0 calc(50% - .5rem); margin-top: .45rem; } }
.f-links--2 li { flex: 0 0 calc(50% - .5rem); min-width: 0; margin-top: .45rem; }
.f-links--2 a { font-size: 1rem; line-height: 1.35; align-items: flex-start; }
.f-links--2 a i { margin-top: 1px; }
@media (max-width: 359.98px) { .f-col { flex: 0 0 100%; max-width: 100%; } .f-links--2 li { flex-basis: 100%; } }

/* ==========================================================================
   Floating contact + to-top
   ========================================================================== */
.float-contact { position: fixed; left: 14px; bottom: 18px; z-index: 1020; display: flex; flex-direction: column; gap: 10px; }
.fc-btn { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; box-shadow: 0 8px 20px rgba(23, 19, 73, .25); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.fc-btn:hover { color: #fff; transform: scale(1.1); }
.fc-call { background: var(--brand); }
.fc-wa { background: var(--wa); }
.fc-mail { background: var(--accent); }
.to-top { position: fixed; right: 16px; bottom: 18px; z-index: 1020; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand-900); color: #fff; font-size: 1.1rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background-color .3s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }
@media (max-width: 575.98px) { .fc-btn { width: 42px; height: 42px; font-size: 1.05rem; } }

/* ==========================================================================
   Modals
   ========================================================================== */
.appt-modal { border: 0; border-radius: 24px; padding: 1.6rem; border-top: 5px solid var(--accent); }
.appt-title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--brand-900); margin: 0; }
.appt-sub { color: var(--muted); font-size: 1rem; }
.appt-form .form-label { font-weight: 500; font-size: 1rem; }
.appt-form .form-control, .appt-form .form-select { border-radius: 12px; padding: .65rem .85rem; border-color: var(--line); }
.appt-form .form-control:focus, .appt-form .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(61, 53, 168, .15); }
.form-note { font-size: 1rem; color: var(--muted); text-align: center; margin-top: .6rem; }
.lightbox .modal-content { border: 0; border-radius: 20px; }
.lightbox .modal-body { position: relative; text-align: center; background: #F6F6FB; }
.lightbox .modal-body img { max-height: 76vh; width: auto; max-width: 100%; height: auto; object-fit: contain; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow); transition: background-color .3s var(--ease); z-index: 2; }
.lb-nav:hover { background: var(--accent); }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.ach-modal { border: 0; border-radius: 22px; }
.ach-modal .modal-title { font-family: var(--serif); font-weight: 400; color: var(--brand-900); }
.ach-modal-img { width: 100%; max-height: 60vh; object-fit: contain; background: var(--brand-50); border-radius: 14px; margin-bottom: 1rem; }

/* ==========================================================================
   Reveal
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-ring { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Header sizing at the edge of the desktop menu */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .brand-tag { display: none; }
  .main-nav .nav-link { padding: .5rem .58rem; font-size: .9rem; }
  .pill-call { display: none !important; }
}
@media (max-width: 380px) { .brand-tag { display: none; } .brand-name { font-size: 1.02rem; } }

/* ==========================================================================
   Blog – latest posts
   ========================================================================== */
/* Blog + CTA share one continuous top-to-bottom gradient (no hard edge between them) */
#blog { background: linear-gradient(180deg, #FFFFFF 0%, #F7F6FD 45%, var(--brand-50) 100%); padding-bottom: clamp(40px, 5vw, 64px); }
#blog + .cta { background: linear-gradient(180deg, var(--brand-50) 0%, #FBEFE6 55%, #FFFFFF 100%); padding-top: clamp(16px, 2vw, 24px); }
.blog-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.blog-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-50); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.blog-tag { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: .3rem .8rem; box-shadow: 0 6px 14px rgba(244, 123, 32, .35); }
.blog-date { position: absolute; right: 14px; bottom: 14px; width: 58px; padding: .4rem 0; border-radius: 14px; background: #fff; color: var(--muted); text-align: center; font-size: .72rem; font-weight: 500; text-transform: uppercase; line-height: 1.1; box-shadow: var(--shadow-sm); }
.blog-date strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--brand); line-height: 1; }
.blog-body { flex: 1 1 auto; display: flex; flex-direction: column; padding: 1.4rem 1.5rem 1.5rem; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: 1rem; color: var(--muted); margin-bottom: .8rem; }
.blog-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.blog-meta img { width: 24px; height: 24px; border-radius: 50%; }
.blog-meta i { color: var(--accent); }
.blog-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.28; margin-bottom: .6rem; }
.blog-card h3 a { color: var(--brand-900); transition: color .3s var(--ease); }
.blog-card h3 a:hover { color: var(--brand); }
.blog-body > p:not(.blog-meta) { color: var(--muted); font-size: 1rem; line-height: 1.6; margin-bottom: 1.2rem; }
.blog-more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--accent-600); }
.blog-more i { transition: transform .3s var(--ease); }
.blog-more:hover { color: var(--brand); }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(23, 19, 73, .14); }
.blog-card:hover .blog-media img { transform: scale(1.07); }
.blog-card:hover .blog-more i { transform: translateX(5px); }


/* ==========================================================================
   11. Inner pages – page hero, article, sidebar, index & one-off pages
   ========================================================================== */
.mega-all { display: inline-flex; align-items: center; gap: .4rem; margin: 12px 0 0 10px; font-weight: 600; font-size: 1rem; color: var(--accent-600); }
.mega-all i { transition: transform .3s var(--ease); }
.mega-all:hover i { transform: translateX(4px); }

/* Page hero */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 128px 0 96px; background: radial-gradient(700px 420px at 100% 0%, rgba(244, 123, 32, .26), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(120, 110, 255, .32), transparent 60%), linear-gradient(150deg, var(--brand-900) 0%, var(--brand-800) 50%, var(--brand) 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; }
.ph-crumbs { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .45); --bs-breadcrumb-item-active-color: #FFD2AE; font-size: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.ph-crumbs a { color: rgba(255, 255, 255, .78); }
.ph-crumbs a:hover { color: #fff; }
.ph-crumbs .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .45); }
.ph-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); line-height: 1.1; margin-bottom: 1rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ph-lead { color: rgba(255, 255, 255, .8); font-size: 1.06rem; max-width: 640px; margin-bottom: 0; }
.ph-trust { gap: .6rem 1.4rem; margin-top: 1.8rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 1rem; color: rgba(255, 255, 255, .85); }
.ph-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.ph-trust i { color: var(--accent); font-size: 1.05rem; }
.ph-media { position: relative; padding: 0 0 18px 18px; }
.ph-media::before { content: ""; position: absolute; inset: 18px 18px 0 0; border-radius: 28px; background: linear-gradient(135deg, var(--accent), rgba(255, 178, 122, .4)); }
.ph-media img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lg); border: 4px solid rgba(255, 255, 255, .14); }
.ph-badge { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: .7rem; background: #fff; color: var(--ink); border-radius: 16px; padding: .7rem 1rem; box-shadow: var(--shadow); font-size: 1rem; line-height: 1.25; }
.ph-badge i { font-size: 1.5rem; color: var(--accent); }
.ph-badge strong { display: block; color: var(--brand-900); font-size: 1rem; }
@media (max-width: 991.98px) { .page-hero { padding: 116px 0 84px; } .ph-media { max-width: 560px; } }

/* Article */
.detail { padding-top: clamp(40px, 5vw, 64px); }
.article { color: #3A3858; font-size: 1.02rem; }
.art-sec { padding-bottom: 2.2rem; margin-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.art-sec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.art-sec h2 { position: relative; font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; color: var(--brand-900); margin-bottom: 1rem; padding-left: 1.1rem; }
.art-sec h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--accent), var(--brand)); }
.art-sec--intro h2 { font-size: clamp(1.65rem, 1.3rem + 1.2vw, 2.25rem); }
.art-sec--intro > p:first-of-type { font-size: 1.12rem; color: var(--ink); }
.art-sec h3 { font-size: 1.08rem; font-weight: 600; color: var(--brand-900); margin: 1.4rem 0 .6rem; }
.article p { margin-bottom: 1rem; }
.article p strong, .ticks strong { color: var(--brand-900); }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-direction: column; gap: .55rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem; line-height: 1.55; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.ticks li:hover { border-color: var(--brand-100); transform: translateX(3px); }
.ticks li > i { flex: 0 0 auto; color: var(--accent); font-size: 1.1rem; line-height: 1.4; }
.ticks li > span { min-width: 0; }
@media (min-width: 768px) {
  .ticks:not(.ticks--kv):not(.ticks--alert) { flex-direction: row; flex-wrap: wrap; }
  .ticks:not(.ticks--kv):not(.ticks--alert) li { flex: 1 1 calc(50% - .3rem); }
  .ticks--2 li { flex: 1 1 calc(50% - .3rem); }
}
.alert-card { background: #FFF5F1; border: 1px solid #F8D3C3; border-left: 5px solid #E0522E; border-radius: 18px; padding: 1.1rem 1.2rem .4rem; margin: 0 0 1.2rem; }
.alert-card-title { display: flex; gap: .6rem; font-weight: 600; color: #8A2A12; margin-bottom: .8rem !important; }
.alert-card-title i { color: #E0522E; font-size: 1.15rem; }
.ticks--alert li { background: rgba(255, 255, 255, .8); border-color: #F8D3C3; }
.ticks--alert li > i { color: #E0522E; }

.kv-grid, .feat-grid { margin-bottom: 1.2rem; }
.kv-card, .feat { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.15rem 1.2rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.kv-card:hover, .feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.kv-ico, .feat-ico { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand); font-size: 1.15rem; margin-bottom: .7rem; transition: background-color .35s var(--ease), color .35s var(--ease); }
.kv-card:hover .kv-ico, .feat:hover .feat-ico { background: var(--accent); color: #fff; }
.kv-card h3, .feat h3 { font-size: 1.02rem !important; font-weight: 600; color: var(--brand-900); margin: 0 0 .4rem !important; line-height: 1.35; }
.kv-card p, .feat p { font-size: 1rem; color: var(--muted); margin-bottom: .5rem; line-height: 1.6; }
.kv-card p:last-child, .feat > :last-child { margin-bottom: 0; }
.feat .ticks li { padding: .45rem .6rem; font-size: 1rem; }
.feat { background: linear-gradient(180deg, #fff, #FBFAFF); }

.steps { list-style: none; padding: 0; margin: 0 0 1.2rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--brand)); opacity: .35; }
.steps li { position: relative; display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 1.1rem; }
.steps li:last-child { padding-bottom: 0; }
.steps-num { position: relative; z-index: 1; flex: 0 0 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; display: inline-flex; align-items: center; justify-content: center; text-align: center; font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; padding: 4px; box-shadow: 0 8px 18px rgba(61, 53, 168, .25); }
.steps li:nth-child(even) .steps-num { background: linear-gradient(135deg, var(--accent), var(--accent-600)); box-shadow: 0 8px 18px rgba(244, 123, 32, .3); }
.steps li > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1.1rem; flex: 1 1 auto; min-width: 0; }
.steps h3 { margin: 0 0 .3rem !important; font-size: 1.02rem !important; }
.steps p { margin: 0 !important; font-size: 1rem; color: var(--muted); }

/* Sidebar */
.side { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 1.2rem; }
@media (max-width: 991.98px) { .side { position: static; } }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem; box-shadow: var(--shadow-sm); }
.side-title { display: flex; align-items: center; gap: .5rem; font-size: 1.02rem; font-weight: 600; color: var(--brand-900); margin-bottom: .9rem; }
.side-title i { color: var(--accent); }
.side-book { position: relative; overflow: hidden; color: #fff; border: 0; background: radial-gradient(260px 160px at 100% 0%, rgba(244, 123, 32, .45), transparent 65%), linear-gradient(150deg, var(--brand-800), var(--brand)); box-shadow: var(--shadow-lg); }
.side-book .side-title { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.2; margin-bottom: .5rem; }
.side-book p { color: rgba(255, 255, 255, .8); font-size: 1rem; }
.side-kicker { font-size: .74rem !important; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #FFB27A !important; margin-bottom: .35rem; }
.toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; max-height: 340px; overflow-y: auto; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: .6rem; padding: .45rem .5rem; border-radius: 10px; color: var(--muted); font-size: 1rem; line-height: 1.4; border-left: 2px solid transparent; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 600; font-size: .78rem; color: var(--accent-600); line-height: 1.75; }
.toc a:hover, .toc a.is-active { background: var(--brand-50); color: var(--brand); border-left-color: var(--accent); }
.side-links { list-style: none; padding: 0; margin: 0; max-height: 320px; overflow-y: auto; }
.side-links a { display: flex; align-items: center; gap: .3rem; padding: .4rem .3rem; color: var(--ink); font-size: 1rem; border-bottom: 1px dashed var(--line); transition: color .25s var(--ease), padding .25s var(--ease); }
.side-links a i { color: var(--accent); font-size: 1.15rem; }
.side-links a:hover { color: var(--brand); padding-left: .6rem; }
.side-links a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.side-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-weight: 600; font-size: 1rem; color: var(--accent-600); }
.side-visit p { font-size: 1rem; color: var(--muted); }
.side-visit p i { color: var(--accent); }
/* Condition card (landscape image keeps the live images' built-in titles visible) */
.icard { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.icard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--accent), #FFB27A); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.icard-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--brand-50); }
.icard-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .8s var(--ease); }
.icard-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: .2rem; padding: .95rem 1.1rem 1.1rem; }
.icard-body small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--accent-600); }
.icard-body strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.2; color: var(--brand-900); }
.icard-cta { margin-top: auto; padding-top: .55rem; display: inline-flex; align-items: center; gap: .4rem; font-size: 1rem; font-weight: 600; color: var(--brand); }
.icard-cta i { transition: transform .3s var(--ease); }
.icard:hover, .icard:focus-visible { color: var(--ink); transform: translateY(-6px); box-shadow: 0 18px 36px rgba(23, 19, 73, .14); border-color: var(--brand-100); }
.icard:hover::after, .icard:focus-visible::after { transform: scaleX(1); }
.icard:hover img { transform: scale(1.06); }
.icard:hover .icard-cta { color: var(--accent-600); }
.icard:hover .icard-cta i { transform: translateX(4px); }
@media (max-width: 575.98px) { .icard { border-radius: 16px; } .icard-body { padding: .7rem .75rem .8rem; } .icard-body small { font-size: .58rem; letter-spacing: .06em; } .icard-body strong { font-size: 1.02rem; } .icard-cta { font-size: 1rem; } }
.related .svc-card-body { padding-top: 2.4rem; }
.cta--page { padding-top: clamp(56px, 7vw, 88px); }

/* Treatments index */
.search-box { position: relative; }
.search-box i { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--brand); }
.search-box input { width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: .85rem 1.2rem .85rem 2.8rem; font-size: 1rem; background: #fff; box-shadow: var(--shadow-sm); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.search-box input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(61, 53, 168, .12); }
.chips--start { justify-content: flex-start; }
.no-results { text-align: center; padding: 2.5rem 1rem; color: var(--muted); font-weight: 500; }
.no-results i { color: var(--accent); }

/* About / doctor / course / contact */
.stat-row .stat-card { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1rem; box-shadow: var(--shadow); }
.stat-row { position: relative; z-index: 3; margin-top: -84px; }
.stat-card i { font-size: 1.4rem; color: var(--accent); }
.stat-card strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.1; color: var(--brand); }
.stat-card span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.mv-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.mv-card h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--brand-900); }
.mv-card p { color: var(--muted); }
.mv-card--dark { background: radial-gradient(420px 220px at 100% 0%, rgba(244, 123, 32, .35), transparent 60%), linear-gradient(150deg, var(--brand-900), var(--brand)); border: 0; color: #fff; }
.mv-card--dark h2 { color: #fff; }
.mv-card--dark p, .mv-card--dark .mv-points li { color: rgba(255, 255, 255, .85); }
.mv-ico { position: absolute; top: 1.4rem; right: 1.4rem; width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-50); color: var(--accent-600); font-size: 1.4rem; }
.mv-card--dark .mv-ico { background: rgba(255, 255, 255, .14); color: #FFB27A; }
.mv-points li { display: flex; gap: .55rem; align-items: center; font-weight: 500; color: var(--brand-900); padding: .35rem 0; }
.mv-points i { color: var(--accent); }
.cred { height: 100%; display: flex; flex-direction: column; gap: .45rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cred > i { font-size: 1.4rem; color: var(--brand); }
.cred strong { color: var(--brand-900); font-size: 1rem; line-height: 1.4; }
.cred .loc { margin-top: auto; }
.cred:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cred--feature { background: linear-gradient(150deg, var(--brand), var(--brand-900)); border-color: transparent; }
.cred--feature > i { color: #FFB27A; }
.cred--feature strong { color: #fff; }
.cred--feature .loc { background: rgba(255, 255, 255, .14); color: #fff; }
.role-list li { display: inline-flex; align-items: center; gap: .45rem; background: var(--accent-50); color: var(--accent-600); border-radius: 999px; padding: .45rem .95rem; font-size: 1rem; font-weight: 500; }
.edu-list { padding-left: 1.3rem; margin: 0; }
.edu-list li { padding: .45rem 0 .45rem .3rem; border-bottom: 1px dashed var(--line); color: #3A3858; }
.edu-list li:last-child { border-bottom: 0; }
.edu-list li::marker { color: var(--accent-600); font-weight: 600; }
.reg-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.2rem; margin-bottom: .9rem; box-shadow: var(--shadow-sm); }
.reg-card > i { flex: 0 0 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; font-size: 1.25rem; }
.reg-card h3 { font-size: 1rem; font-weight: 600; color: var(--brand-900); margin-bottom: .25rem; }
.reg-card p { margin: 0; font-size: 1rem; color: var(--muted); }
.vision-note { background: var(--brand-50); border-radius: 18px; padding: 1.2rem 1.3rem; border-left: 4px solid var(--accent); }
.vision-note h3 { font-size: 1.05rem; font-weight: 600; color: var(--brand-900); display: flex; gap: .5rem; align-items: center; }
.vision-note h3 i { color: var(--accent); }
.map-frame { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 4px solid #fff; min-height: 340px; display: flex; }
.map-frame iframe { width: 100%; min-height: 340px; border: 0; flex: 1 1 auto; display: block; }
.social--brand a { background: var(--brand); color: #fff; border-color: var(--brand); }
.side-book .fee { font-family: var(--serif); font-size: 3rem; line-height: 1; color: #fff !important; margin-bottom: .5rem; }
.reg-open { color: #fff; border-radius: 28px; padding: clamp(1.6rem, 4vw, 2.8rem); background: radial-gradient(420px 220px at 0% 0%, rgba(244, 123, 32, .4), transparent 60%), linear-gradient(150deg, var(--brand-800), var(--brand)); box-shadow: var(--shadow-lg); }
.reg-open h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.reg-open p { color: rgba(255, 255, 255, .82); }
.reg-open p i { color: var(--accent); }
.course-note { margin: 1.5rem 0 0; font-size: 1rem; color: var(--muted); background: var(--brand-50); border-radius: 16px; padding: 1rem 1.2rem; }
.course-note i { color: var(--brand); }
.contact-card { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem; box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.contact-card:hover { transform: translateY(-5px); }
.contact-ico { width: 50px; height: 50px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--accent), var(--accent-600)); color: #fff; font-size: 1.3rem; margin-bottom: .9rem; box-shadow: 0 8px 18px rgba(244, 123, 32, .3); }
.contact-card h2 { font-size: 1.05rem; font-weight: 600; color: var(--brand-900); margin-bottom: .4rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.contact-note { margin: 1.4rem 0 0; text-align: center; color: var(--muted); font-size: 1rem; }
.contact-note i { color: var(--accent); }
.form-card { background: #fff; border-radius: 26px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card .form-control, .form-card .form-select { border-radius: 12px; padding: .7rem .9rem; }
.form-card .form-control:focus, .form-card .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(61, 53, 168, .12); }
.form-note { font-size: 1rem; color: var(--muted); margin-top: .6rem; }

/* ==========================================================================
   Inner pages – slim breadcrumb hero, content box, sticky menu
   ========================================================================== */

/* Slim hero: breadcrumb + label + heading + buttons only */
.page-hero--slim { padding: 124px 0 76px; text-align: center; }
.page-hero--slim .ph-crumbs { justify-content: center; }
.page-hero--slim .hero-kicker { justify-content: center; }
.page-hero--slim .ph-title { max-width: 900px; margin-left: auto; margin-right: auto; }
.page-hero--slim .ph-actions { justify-content: center; }
@media (max-width: 575.98px) { .page-hero--slim { padding: 108px 0 64px; } .page-hero--slim .btn-lg { padding: .75rem 1.2rem; font-size: 1rem; } }

/* White content box with a light shadow */
.content-box { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.1rem, 3vw, 2.4rem); box-shadow: 0 10px 34px rgba(27, 25, 56, .07); }
.content-figure { margin: 0 0 1.6rem; position: relative; }
.content-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; background: var(--brand-50); }
.content-figure figcaption { font-size: 1rem; color: var(--muted); margin-top: .6rem; }

/* Quick answer – short summary for readers and answer engines */
.quick-answer { background: linear-gradient(135deg, var(--brand-50), #fff); border: 1px solid var(--brand-100); border-left: 5px solid var(--accent); border-radius: 18px; padding: 1.1rem 1.25rem; margin-bottom: 2rem; }
.quick-answer p { margin: 0; color: var(--ink); font-size: 1.04rem; }
.quick-answer .qa-label { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-600); margin-bottom: .4rem; }

/* Plain article content coming from the database (h2, h3, p, ul, ol) */
.prose { color: #3A3858; font-size: 1.02rem; }
.prose h2 { position: relative; font-family: var(--serif); font-weight: 400; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); line-height: 1.2; color: var(--brand-900); margin: 2.2rem 0 1rem; padding-left: 1.1rem; }
.prose h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--accent), var(--brand)); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; font-weight: 600; color: var(--brand-900); margin: 1.5rem 0 .6rem; }
.prose p { margin-bottom: 1rem; }
.prose strong { color: var(--brand-900); }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.2rem; list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.prose ul li { position: relative; padding: .65rem .9rem .65rem 2.4rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; line-height: 1.55; }
.prose ul li::before { content: ""; position: absolute; left: .95rem; top: 1.05rem; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-50); }
.prose ol { counter-reset: step; }
.prose ol li { counter-increment: step; position: relative; padding: .75rem 1rem .75rem 3.4rem; background: var(--brand-50); border-radius: 14px; line-height: 1.55; }
.prose ol li::before { content: counter(step); position: absolute; left: .8rem; top: .7rem; width: 30px; height: 30px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center; }
.prose .note { background: #FFF5F1; border: 1px solid #F8D3C3; border-left: 5px solid #E0522E; border-radius: 16px; padding: 1rem 1.2rem; color: #6E2410; }
.prose .note strong { color: #8A2A12; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* "Reviewed by" box (E-E-A-T) */
.review-box { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding: 1rem 1.2rem; border-radius: 18px; background: var(--brand-50); }
.review-box img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.review-box p { margin: 0; font-size: 1rem; color: var(--muted); line-height: 1.5; }
.review-box strong { color: var(--brand-900); }

/* FAQs – native <details>, works without JavaScript */
.faq-block { margin-top: 2.4rem; }
.faq-block > h2 { margin-top: 0; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: .7rem; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.faq-item[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; font-weight: 500; color: var(--brand-900); line-height: 1.45; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand); font-size: 1.2rem; font-weight: 500; transition: transform .3s var(--ease), background-color .3s var(--ease); }
.faq-item[open] summary::after { content: "–"; background: var(--accent); color: #fff; }
.faq-answer { padding: 0 1.2rem 1.1rem; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }

/* Sticky right menu – treatments & services */
.side-sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 991.98px) { .side-sticky { position: static; } }
.svc-menu { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 34px rgba(27, 25, 56, .07); overflow: hidden; }
.svc-menu-head { padding: 1rem 1.2rem; background: linear-gradient(150deg, var(--brand-800), var(--brand)); color: #fff; }
.svc-menu-head p { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.svc-menu-head span { font-size: 1rem; color: rgba(255, 255, 255, .75); }
.svc-menu-body { max-height: calc(100vh - 330px); min-height: 240px; overflow-y: auto; padding: .5rem; scrollbar-width: thin; }
.svc-group { border-radius: 14px; }
.svc-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .55rem; padding: .7rem .75rem; border-radius: 12px; font-weight: 600; font-size: 1rem; color: var(--brand-900); }
.svc-group > summary::-webkit-details-marker { display: none; }
.svc-group > summary i { color: var(--accent); }
.svc-group > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s var(--ease); }
.svc-group[open] > summary::after { transform: rotate(-135deg); }
.svc-group > summary:hover { background: var(--brand-50); }
.svc-group[open] > summary { background: var(--brand-50); }
.svc-group ul { list-style: none; margin: .25rem 0 .5rem; padding: 0; }
.svc-group li a { display: flex; align-items: center; gap: .55rem; padding: .42rem .75rem; border-radius: 10px; color: var(--muted); font-size: 1rem; line-height: 1.4; transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.svc-group li a:hover { color: var(--brand); background: var(--brand-50); }
.svc-group li a[aria-current="page"] { color: var(--brand); font-weight: 600; background: var(--accent-50); }
.svc-menu-foot { padding: .9rem 1rem; border-top: 1px solid var(--line); display: flex; gap: .5rem; }
.svc-menu-foot .btn { flex: 1 1 0; padding: .6rem .5rem; font-size: 1rem; }
.side-help { background: var(--brand-50); border-radius: 18px; padding: 1rem 1.1rem; font-size: 1rem; color: var(--muted); }
.side-help strong { color: var(--brand-900); display: block; margin-bottom: .2rem; }

/* Contact page – form left, details right */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px dashed var(--line); }
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .contact-ico { flex: 0 0 48px; margin: 0; }
.contact-list h3 { font-size: 1rem; font-weight: 600; color: var(--brand-900); margin: 0 0 .25rem; }
.contact-list p { margin: 0; color: var(--muted); font-size: 1rem; }
.contact-list a { color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--accent-600); }
.form-alert { border-radius: 14px; padding: .9rem 1.1rem; margin-bottom: 1.2rem; font-weight: 500; }
.form-alert--ok { background: #EAF8EF; color: #145C30; border: 1px solid #BFE8CD; }
.form-alert--err { background: #FFF5F1; color: #8A2A12; border: 1px solid #F8D3C3; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Simple text pages (privacy, terms) and blog */
.text-page { max-width: 860px; margin: 0 auto; }
.page-link { border-radius: 10px !important; margin: 0 .2rem; color: var(--brand); }
.active > .page-link { background: var(--brand); border-color: var(--brand); }
.blog-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* Index pages – small intro text under the hero */
.intro-lead { max-width: 820px; margin: 0 auto 2.5rem; text-align: center; color: var(--muted); font-size: 1.05rem; }
.cat-title { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; font-weight: 600; color: var(--brand-900); margin: 2.4rem 0 1rem; }
.cat-title i { color: var(--accent); }

/* Services index uses h2 for card titles */
.svc-card h2 { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; line-height: 1.22; margin-bottom: .5rem; }
.svc-card h2 a { color: var(--brand-900); transition: color .3s var(--ease); }
.svc-card:hover h2 a { color: var(--brand); }

/* About page stat cards (without the overlap used on other pages) */
.stat-grid .stat-card { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1rem; box-shadow: var(--shadow); }

/* Home – Why choose us (dark brand section) */
.why-section .title { color: #fff; }
.why-lead { color: rgba(255, 255, 255, .8); margin-bottom: 1.6rem; }
.why-photo { position: relative; max-width: 440px; margin: 0 auto; }
.why-photo img { display: block; width: 100%; height: auto; border-radius: 28px; border: 4px solid rgba(255, 255, 255, .15); box-shadow: var(--shadow-lg); }
.why-photo-badge { position: absolute; left: -12px; bottom: 24px; background: #fff; color: var(--muted); border-radius: 16px; padding: .75rem 1rem; box-shadow: var(--shadow); font-size: 1rem; line-height: 1.35; }
.why-photo-badge strong { display: block; color: var(--brand-900); font-size: 1rem; }
@media (max-width: 575.98px) { .why-photo-badge { left: 12px; } }
.why-point { height: 100%; display: flex; gap: .85rem; align-items: flex-start; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 1rem 1.1rem; transition: background-color .3s var(--ease), transform .3s var(--ease); }
.why-point:hover { background: rgba(255, 255, 255, .13); transform: translateY(-3px); }
.why-point > i { flex: 0 0 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-size: 1.15rem; }
.why-point h3 { font-size: 1rem; font-weight: 600; color: #fff; margin: 0 0 .25rem; }
.why-point p { font-size: 1rem; color: rgba(255, 255, 255, .75); margin: 0; line-height: 1.55; }

/* All readable text at 16px (Bootstrap makes .small, <small> and form errors 14px) */
.small, small, .invalid-feedback, .form-text { font-size: 1rem; }

/* Home – Ozone therapy (signature treatment, dark section with image collage) */
.ozone-section { position: relative; overflow: hidden; color: #fff; background: radial-gradient(520px 320px at 8% 10%, rgba(120, 110, 255, .35), transparent 60%), radial-gradient(520px 320px at 95% 90%, rgba(244, 123, 32, .28), transparent 60%), linear-gradient(150deg, var(--brand-900), var(--brand-800) 55%, var(--brand)); }
.ozone-section::before, .ozone-section::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .06); pointer-events: none; }
.ozone-section::before { width: 260px; height: 260px; top: -80px; right: 18%; }
.ozone-section::after { width: 140px; height: 140px; bottom: 40px; left: 46%; }
.ozone-section .container { position: relative; z-index: 1; }
.ozone-section .title { color: #fff; }
.ozone-lead { color: rgba(255, 255, 255, .82); margin-bottom: 1.6rem; }
.ozone-collage { position: relative; padding: 0 0 70px 0; max-width: 560px; margin: 0 auto; }
.ozone-main { display: block; width: 88%; height: auto; border-radius: 28px; border: 4px solid rgba(255, 255, 255, .15); box-shadow: var(--shadow-lg); }
.ozone-small { position: absolute; right: 0; bottom: 0; width: 46%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; border: 5px solid #fff; box-shadow: var(--shadow-lg); }
.ozone-badge { position: absolute; left: 0; bottom: 14px; display: inline-flex; align-items: center; gap: .7rem; background: #fff; color: var(--muted); border-radius: 16px; padding: .75rem 1rem; box-shadow: var(--shadow); line-height: 1.3; max-width: 60%; }
.ozone-badge i { font-size: 1.6rem; color: var(--accent); }
.ozone-badge strong { display: block; color: var(--brand-900); }
.ozone-chip { position: absolute; top: 18px; right: 4%; background: var(--accent); color: #fff; font-weight: 600; border-radius: 999px; padding: .45rem 1rem; box-shadow: 0 10px 24px rgba(244, 123, 32, .4); }
.ozone-use { display: block; height: 100%; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: transform .35s var(--ease), background-color .35s var(--ease); }
.ozone-use img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.ozone-use span { display: block; padding: .65rem .8rem; font-weight: 500; line-height: 1.3; }
.ozone-use:hover { color: #fff; transform: translateY(-4px); background: rgba(255, 255, 255, .14); }
.ozone-steps { list-style: none; counter-reset: oz; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.ozone-steps li { counter-increment: oz; flex: 1 1 calc(50% - .6rem); min-width: 140px; position: relative; padding: .7rem .9rem .7rem 3rem; border-radius: 14px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78); line-height: 1.35; }
.ozone-steps li::before { content: counter(oz); position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.ozone-steps strong { display: block; color: #fff; }
@media (max-width: 575.98px) { .ozone-badge { max-width: 75%; } .ozone-collage { padding-bottom: 90px; } }

/* Lighter bold text across the website */
b, strong { font-weight: 600; }

/* Side menu item icons */
.svc-group li a i { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand); font-size: .95rem; transition: background-color .2s var(--ease), color .2s var(--ease); }
.svc-group li a:hover i, .svc-group li a[aria-current="page"] i { background: var(--accent); color: #fff; }

/* Detail pages: image fills the top of the box (no padding, no caption) */
.content-box--media { padding: 0; overflow: hidden; }
.content-box-img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center top; /* keep the name written at the top of the image */ background: var(--brand-50); }
.content-box-body { padding: clamp(1.1rem, 3vw, 2.4rem); }

/* Blog details: recent posts */
.recent-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.2rem; box-shadow: 0 10px 34px rgba(27, 25, 56, .07); }
.recent-title { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; font-weight: 600; color: var(--brand-900); margin-bottom: 1rem; }
.recent-title i { color: var(--accent); }
.recent-post { padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.recent-thumb { display: block; border-radius: 14px; overflow: hidden; margin-bottom: .7rem; }
.recent-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.recent-post:hover .recent-thumb img { transform: scale(1.05); }
.recent-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.25; margin: 0 0 .4rem; }
.recent-body h3 a { color: var(--brand-900); }
.recent-body h3 a:hover { color: var(--brand); }
.recent-body p { color: var(--muted); margin-bottom: .45rem; line-height: 1.55; }
.recent-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--muted); }
.recent-meta i { color: var(--accent); }
.recent-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--accent-600); }
.recent-more i { transition: transform .3s var(--ease); }
.recent-more:hover i { transform: translateX(4px); }

/* Mega menu: wide treatments menu grouped by body area */
.pill .mega-menu--wide { width: min(980px, 94vw); padding: 24px 26px; }
.mega-group { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--brand-900); margin: 0 0 .4rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.mega-group i { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand); }
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list a { display: block; padding: .28rem .5rem; border-radius: 8px; color: var(--muted); font-weight: 400; transition: background-color .2s var(--ease), color .2s var(--ease); }
.mega-list a:hover { background: var(--brand-50); color: var(--brand); }
.pill .mega-menu--small { width: min(420px, 94vw); }
.mega-menu--small .mega-item span { display: flex; flex-direction: column; line-height: 1.3; }
.mega-sub { color: var(--muted); }

/* Courses list */
.course-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.course-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(23, 19, 73, .14); }
.course-card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.course-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-card-badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: #fff; font-weight: 600; border-radius: 999px; padding: .3rem .9rem; }
.course-card-body { flex: 1 1 auto; display: flex; flex-direction: column; padding: 1.5rem; }
.course-card-body h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.2; margin-bottom: .6rem; }
.course-card-body h2 a { color: var(--brand-900); }
.course-card-body > p { color: var(--muted); }
.course-facts { list-style: none; padding: 0; margin: 0 0 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.course-facts li { flex: 1 1 calc(50% - .6rem); display: flex; gap: .6rem; align-items: flex-start; background: var(--brand-50); border-radius: 14px; padding: .65rem .8rem; }
.course-facts i { color: var(--accent); font-size: 1.15rem; line-height: 1.4; }
.course-facts strong { display: block; color: var(--brand-900); font-weight: 600; }

/* Course details */
.course-fact { height: 100%; display: flex; flex-direction: column; gap: .15rem; background: var(--brand-50); border-radius: 16px; padding: .9rem 1rem; }
.course-fact i { color: var(--accent); font-size: 1.3rem; }
.course-fact span { color: var(--muted); }
.course-fact strong { color: var(--brand-900); font-weight: 600; line-height: 1.35; }
.syllabus { margin-bottom: 1rem; }
.syllabus-topics { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.syllabus-topics li { display: flex; gap: .5rem; }
.syllabus-topics i { color: var(--accent); }
.fee-table { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 1.5rem; }
.fee-table thead th { background: var(--brand); color: #fff; font-weight: 600; padding: .8rem 1rem; }
.fee-table td { padding: .75rem 1rem; color: var(--ink); }
.fee-table tbody tr:nth-child(even) td { background: var(--brand-50); }
.fee-table td:last-child { font-weight: 600; color: var(--brand-900); white-space: nowrap; }
.course-side { display: flex; flex-direction: column; gap: 1.2rem; }
.side-form-title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--brand-900); margin-bottom: .4rem; }
.course-side .side-book p i { color: #FFB27A; margin-right: .3rem; }
.course-side .contact-list li { padding: .8rem 0; }
.course-side .contact-list .contact-ico { flex: 0 0 40px; width: 40px; height: 40px; font-size: 1.05rem; }
/* ===== Professional type scale & compact hero ===== */
/* ---------- Shorter hero ---------- */
.hero { padding: 108px 0 64px; }
.hero-title { font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.85rem); }
.hero-sub { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); }
.hero-lead { margin-bottom: 1.4rem; }
.fig-num { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.hero-figures { padding-top: 1.1rem; }
@media (min-width: 992px) {
  .hero { min-height: 600px; }
  .hero-portrait { width: 52%; bottom: 24px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) { .hero-portrait { width: 56%; bottom: 36px; } }
@media (max-width: 991.98px) { .hero { padding-bottom: 0; } }
@media (max-width: 575.98px) { .hero { padding-top: 100px; } }

/* ---------- Headings ---------- */
.title { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); }
.ph-title { font-size: clamp(1.75rem, 1.3rem + 1.7vw, 2.6rem); }
.page-hero--slim { padding: 112px 0 64px; }
.prose h2, .art-sec h2 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.7rem); }
.prose h3 { font-size: 1.05rem; }
.cta-card h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem); }
.mv-card h2 { font-size: 1.7rem; }
.sub-title { font-size: 1.25rem; }
.tcard-body strong { font-size: 1.15rem; }
.icard-body strong { font-size: 1.1rem; }
.svc-card h2, .svc-card h3 { font-size: 1.25rem; }
.blog-card h3 { font-size: 1.2rem; }
.story-card blockquote { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.course-card-body h2 { font-size: 1.4rem; }
.side-form-title { font-size: 1.4rem; }
.recent-body h3 { font-size: 1.08rem; }
.side-book .side-title { font-size: 1.35rem; }
.side-book .fee { font-size: 2.4rem; }
.stat-card strong { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }

/* ---------- Interface text: 15px ---------- */
.main-nav .nav-link, .mega-item, .mega-list a, .mega-group, .mega-all,
.svc-group > summary, .svc-group li a, .chiro-menu a, .side-links a, .toc a, .side-more,
.svc-card p, .svc-link, .kv-card p, .feat p, .why-point p, .wall--intro p, .wall-cap strong,
.blog-body > p:not(.blog-meta), .recent-body p, .hp-feat, .about-sign span,
.f-links a, .f-links--2 a, .f-contact, .f-about, .contact-list p, .reg-card p,
.course-facts, .course-fact, .fee-table, .faq-answer, .steps p, .side-book p, .side-visit p,
.appt-sub, .appt-form .form-label, .form-label, .lead-sm, .intro-lead, .ozone-lead, .why-lead,
.chips .chip, .btn, .dip p, .deg p, .cred strong, .stat-card span, .tcard-cta, .icard-cta, .chiro-card-cta,
.hero-chip, .hero-seal, .ph-badge, .hp-badge, .why-photo-badge, .ozone-badge, .doc-card p { font-size: .9375rem; }
.btn-lg { font-size: 1rem; }
.main-nav .nav-link { padding: .5rem .66rem; }

/* ---------- Small details: 13-14px ---------- */
.ph-crumbs, .blog-meta, .recent-meta, .story-meta, .fig-label, .qstat, .loc, .role-list li,
.f-disclaimer, .f-bottom, .form-note, .side-help, .svc-menu-head span, .svc-menu-foot .btn,
.review-box p, .content-figure figcaption, .small, small, .invalid-feedback, .form-text,
.mega-sub, .course-note, .contact-note, .ozone-steps li, .course-card-badge { font-size: .875rem; }
.ph-crumbs { margin-bottom: .8rem; }

/* ---------- Mega menu: item icons ---------- */
.mega-list a { display: flex; align-items: center; gap: .5rem; }
.mega-list a i { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand); font-size: .85rem; transition: background-color .2s var(--ease), color .2s var(--ease); }
.mega-list a:hover i { background: var(--accent); color: #fff; }
.mega-item i { width: 32px; height: 32px; flex: 0 0 32px; }

/* ---------- Chiropractic side menu ---------- */
.chiro-menu { list-style: none; margin: 0; padding: 0; }
.chiro-menu a { display: flex; align-items: center; gap: .6rem; padding: .5rem .65rem; border-radius: 10px; color: var(--muted); transition: background-color .2s var(--ease), color .2s var(--ease); }
.chiro-menu a i { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand); transition: background-color .2s var(--ease), color .2s var(--ease); }
.chiro-menu a:hover { background: var(--brand-50); color: var(--brand); }
.chiro-menu a:hover i, .chiro-menu a[aria-current="page"] i { background: var(--accent); color: #fff; }
.chiro-menu a[aria-current="page"] { background: var(--accent-50); color: var(--brand); font-weight: 600; }

/* ---------- Home: chiropractic cards ---------- */
.chiro-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.chiro-card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: 0 18px 36px rgba(23, 19, 73, .14); }
.chiro-card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--brand-50); }
.chiro-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform .8s var(--ease); }
.chiro-card:hover .chiro-card-media img { transform: scale(1.06); }
.chiro-card-body { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; gap: .3rem; padding: 1.9rem 1rem 1rem; }
.chiro-card-ico { position: absolute; top: -22px; left: 1rem; width: 44px; height: 44px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; font-size: 1.15rem; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(61, 53, 168, .28); transition: background .35s var(--ease); }
.chiro-card:hover .chiro-card-ico { background: linear-gradient(135deg, var(--accent), var(--accent-600)); }
.chiro-card-body strong { font-family: var(--serif); font-weight: 400; font-size: 1.12rem; line-height: 1.25; color: var(--brand-900); }
.chiro-card-cta { margin-top: auto; padding-top: .3rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--brand); }
.chiro-card:hover .chiro-card-cta { color: var(--accent-600); }

/* ---------- Home: doctors ---------- */
.doc-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.doc-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(23, 19, 73, .14); }
.doc-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-50); }
.doc-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.doc-card-body { flex: 1 1 auto; display: flex; flex-direction: column; padding: 1.4rem 1.5rem 1.5rem; }
.doc-card-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin-bottom: .2rem; }
.doc-card-body h3 a { color: var(--brand-900); }
.doc-card-job { color: var(--accent-600) !important; font-weight: 600; margin-bottom: .6rem; }
.doc-card-body > p { color: var(--muted); }
.doc-card-body .d-flex { margin-top: auto; }

/* Ozone section: taller left-side collage */
.ozone-section .row { align-items: stretch !important; }
.ozone-collage { height: 100%; min-height: 560px; max-width: 560px; padding: 0; }
.ozone-main { width: 74%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.ozone-small { width: 52%; aspect-ratio: 4 / 5; object-position: 62% 20%; bottom: 0; }
.ozone-badge { bottom: 26px; left: 0; }
.ozone-chip { top: 24px; right: 8%; }
@media (max-width: 991.98px) { .ozone-collage { min-height: 0; padding-bottom: 120px; } }
@media (max-width: 575.98px) { .ozone-main { width: 80%; } .ozone-small { width: 50%; } .ozone-collage { padding-bottom: 90px; } }

/* Inner page banner: straight bottom edge (no arch) */
.page-hero--slim { padding-bottom: 56px; }
@media (max-width: 575.98px) { .page-hero--slim { padding-bottom: 48px; } }

/* Treatments page: short description on each card */
.icard-text { display: block; color: var(--muted); font-size: .9375rem; line-height: 1.55; margin: .2rem 0 .3rem; }

/* ===== Doctor profile page ===== */
.deg h4 { font-size: 1rem; font-weight: 600; color: var(--brand-900); line-height: 1.38; margin-bottom: .4rem; }
.deg--feature h4 { color: #fff; }
.dip h4 { font-size: 1rem; font-weight: 600; color: var(--brand-900); line-height: 1.35; margin-bottom: .3rem; }
.dip--globe h4 { color: #fff; }
.quals-label { font-size: 1rem; }

.profile-photo { position: relative; max-width: 460px; margin: 0 auto; padding: 0 0 22px 22px; }
.profile-photo::before { content: ""; position: absolute; inset: 22px 22px 0 0; border-radius: 30px; background: linear-gradient(135deg, var(--accent), var(--brand)); opacity: .9; }
.profile-photo img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow-lg); border: 5px solid #fff; }
.profile-badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .65rem; background: #fff; border-radius: 16px; padding: .7rem 1rem; box-shadow: var(--shadow); font-size: .875rem; line-height: 1.3; color: var(--muted); }
.profile-badge i { font-size: 1.5rem; color: var(--accent); }
.profile-badge strong { display: block; color: var(--brand-900); font-size: .9375rem; }
.profile-badge--top { top: 28px; right: -10px; }
.profile-badge--bottom { left: 0; bottom: 40px; }
@media (max-width: 575.98px) { .profile-badge--top { right: 6px; } }

.discipline-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.discipline-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(23, 19, 73, .12); }
.discipline-ico { width: 58px; height: 58px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brand), var(--brand-600)); color: #fff; font-size: 1.5rem; margin-bottom: 1rem; box-shadow: 0 10px 22px rgba(61, 53, 168, .28); }
.discipline-card:hover .discipline-ico { background: linear-gradient(135deg, var(--accent), var(--accent-600)); }
.discipline-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: var(--brand-900); margin-bottom: .5rem; }
.discipline-card p { color: var(--muted); font-size: .9375rem; }
.discipline-link { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .9375rem; color: var(--accent-600); }

.journey .steps-num { font-size: .75rem; }
.journey li > div h3 { font-size: 1rem !important; font-weight: 600; color: var(--brand-900); }

.media-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.media-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(23, 19, 73, .12); }
.media-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-50); }
.media-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.media-card-body { padding: 1.1rem 1.2rem 1.3rem; }
.media-card-body small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--accent-600); margin-bottom: .3rem; }
.media-card-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.25; color: var(--brand-900); margin-bottom: .4rem; }
.media-card-body p { font-size: .9375rem; color: var(--muted); margin: 0; }

/* Keep the top menu on one line on smaller laptops */
@media (min-width: 1200px) and (max-width: 1399.98px) { .main-nav .nav-link { padding: .5rem .5rem; font-size: .875rem; } .pill .brand-tag { display: none; } }

/* Blog pagination */
.site-pagination { margin-top: 3rem; text-align: center; }
.site-pagination ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.page-num, .page-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--brand-900); font-size: .9375rem; font-weight: 500; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
a.page-num:hover, a.page-btn:hover { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand); }
.page-num.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(61, 53, 168, .25); }
.page-num.is-dots { border: 0; background: transparent; min-width: 24px; padding: 0; }
.page-btn.is-disabled { color: var(--muted); opacity: .55; }
.page-info { margin: 1rem 0 0; font-size: .875rem; color: var(--muted); }
@media (max-width: 575.98px) { .page-btn { padding: 0 .7rem; } }

/* Compact section spacing (home: chiropractic services, our doctors) */
.section--compact { padding: clamp(40px, 5vw, 64px) 0; }

/* reCAPTCHA: hide the floating badge (the required notice is shown under each form instead) */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-note { margin: .5rem 0 0; font-size: .8125rem; color: var(--muted); }
.recaptcha-note a { color: var(--muted); text-decoration: underline; }
