/* ==========================================================
   Samriddhi Hospital & Fertility Center - UI
   One typeface (Poppins) everywhere. Palette from the lotus logo.
   ========================================================== */
:root {
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* single brand colour taken from the logo wordmark */
  --brand: #dc1785;
  --brand-dark: #b30f6b;
  --purple: var(--brand);          /* legacy alias */
  --magenta: var(--brand);         /* legacy alias */
  --grad: var(--brand);            /* no gradients - solid brand */
  --purple-deep: #1b1722;          /* charcoal for dark sections + headings */
  --purple-dark: #3a3441;
  --lilac: #fdeaf4;                /* brand tint */
  --blush: #fff6fa;                /* lightest brand tint */
  --blue: #3b3744;
  --green: #1fa24f;                /* only for WhatsApp / status */
  --ink: #1d1822;
  --muted: #6d6672;
  --line: #f0e3eb;
  --radius: 20px;
  --shadow: 0 24px 50px -24px rgba(27, 23, 34, .28);
  --shadow-sm: 0 8px 24px -14px rgba(27, 23, 34, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: clip; overflow-y: auto; max-width: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: clip; overflow-y: auto; max-width: 100%; width: 100%; }
button, input, select, textarea { font-family: var(--font); }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--purple-deep); letter-spacing: -.015em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.section--tint { background: var(--blush); }
.center { text-align: center; }
.muted { color: var(--muted); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--magenta); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--magenta); border-radius: 2px; }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--magenta); border-radius: 2px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; }
.section-head p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px; border: 2px solid transparent; font: 600 .95rem var(--font); cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px -10px rgba(220, 23, 133, .6); }
.btn--primary:hover { box-shadow: 0 18px 34px -10px rgba(220, 23, 133, .7); }
.btn--ghost { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn--ghost:hover { background: var(--purple); color: #fff; }
.btn--white { background: #fff; color: var(--purple); }
.btn--outline-white { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn--outline-white:hover { background: #fff; color: var(--purple); }
.btn--sm { padding: 10px 20px; font-size: .85rem; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--magenta); font: 600 .92rem var(--font); cursor: pointer; text-decoration: underline; margin-top: 18px; }
.pill { display: inline-block; background: var(--lilac); color: var(--purple); font-size: .72rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--purple-deep); color: #d9d5df; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar i { color: #ff6fb8; margin-right: 6px; }
.topbar a:hover { color: #fff; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #3be38a; display: inline-block; margin-right: 8px; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(59, 227, 138, .7); } 70% { box-shadow: 0 0 0 9px rgba(59, 227, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 227, 138, 0); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 18px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > li > a, .nav > li > button { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; font: 500 .92rem var(--font); color: var(--ink); background: none; border: 0; cursor: pointer; transition: .2s; }
.nav > li > a:hover, .nav > li > button:hover, .nav > li > a.active, .nav > li > button.active { color: var(--magenta); background: var(--blush); }
.has-drop { position: relative; }
.has-drop > button i { font-size: .65rem; transition: transform .25s; }
.has-drop:hover > button i { transform: rotate(180deg); }
.drop { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 12px); background: #fff; border-radius: 18px; padding: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .25s; z-index: 5; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 4px); }
.has-drop.mega .drop { width: 720px; }
.has-drop.small .drop { width: 230px; }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.drop a { padding: 9px 12px; border-radius: 12px; font-size: .86rem; color: var(--ink); display: flex; gap: 12px; align-items: center; }
.drop a i { width: 30px; height: 30px; border-radius: 10px; background: var(--lilac); color: var(--purple); display: grid; place-items: center; font-size: .8rem; flex: none; transition: .2s; }
.drop a:hover { background: var(--lilac); color: var(--purple); }
.drop a:hover i { background: var(--grad); color: #fff; }
.drop .drop-all { margin-top: 8px; background: var(--grad); color: #fff; justify-content: center; font-weight: 600; }
.drop .drop-all i { background: none; color: #fff; width: auto; height: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--purple); cursor: pointer; font-size: .95rem; transition: .2s; }
.icon-btn:hover { background: var(--lilac); border-color: var(--purple); }
.menu-toggle { display: none; background: var(--lilac); border: 0; width: 46px; height: 46px; border-radius: 14px; font-size: 1.2rem; color: var(--purple); cursor: pointer; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(20, 16, 26, .5); z-index: 55; opacity: 0; visibility: hidden; transition: .3s; }
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 74px 0 80px; background: var(--purple-deep); }
.page-hero::before { content: ""; position: absolute; right: -80px; top: -120px; width: 520px; height: 520px; background: url('../images/logo-icon.png') center/contain no-repeat; opacity: .09; filter: brightness(8); transform: rotate(-10deg); }
.page-hero::after { content: ""; position: absolute; right: 8%; bottom: -330px; width: 460px; height: 460px; border-radius: 50%; background: var(--brand); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; max-width: 880px; margin-bottom: 14px; }
.ph-sub { color: #d9d5df; max-width: 640px; font-size: 1.04rem; margin: 0; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: #bdb7c6; margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: .6rem; opacity: .7; }
.crumbs span { color: #fff; font-weight: 500; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 0 150px; background: var(--blush); }
.hero::before { content: ""; position: absolute; right: -140px; top: -80px; width: 620px; height: 620px; background: url('../images/logo-icon.png') center/contain no-repeat; opacity: .035; transform: rotate(12deg); }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 8px 18px 8px 8px; border-radius: 999px; font-size: .84rem; font-weight: 500; box-shadow: var(--shadow-sm); margin-bottom: 26px; }
.hero-badge span { background: var(--grad); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 1.08rem; color: var(--muted); max-width: 540px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-proof { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; margin-left: -12px; display: grid; place-items: center; font-weight: 600; font-size: .82rem; color: #fff; }
.avatars span:first-child { margin-left: 0; }
.hero-proof small { color: var(--muted); display: block; line-height: 1.35; }
.hero-proof strong { color: var(--purple-deep); font-size: 1rem; font-weight: 600; }
.stars { color: #ffb400; letter-spacing: 2px; font-size: .85rem; }
.hero-visual { position: relative; height: 560px; }
.hv-main { position: absolute; right: 0; top: 0; width: 80%; height: 440px; border-radius: 220px 220px 28px 28px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.hv-main img, .hv-side img { width: 100%; height: 100%; object-fit: cover; }
.hv-side { position: absolute; left: 0; bottom: 20px; width: 50%; height: 240px; border-radius: 28px 100px 28px 28px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.float-card { position: absolute; background: #fff; border-radius: 18px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; z-index: 2; }
.float-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.1rem; }
.float-card strong { display: block; font-size: 1.15rem; line-height: 1.15; color: var(--purple-deep); font-weight: 700; }
.float-card small { color: var(--muted); font-size: .78rem; }
.fc-1 { top: 60px; left: -10px; } .fc-1 .ic { background: var(--grad); }
.fc-2 { bottom: 0; right: 10px; animation-delay: -2.5s; } .fc-2 .ic { background: var(--purple-deep); }
@keyframes float { 50% { transform: translateY(-10px); } }
.hv-dots { position: absolute; right: -20px; bottom: 90px; width: 120px; height: 120px; border: 3px dashed var(--brand); border-radius: 50%; opacity: .35; }

/* ---------- Quick strip ---------- */
.quick { margin-top: -90px; position: relative; z-index: 5; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.quick-item { padding: 30px 28px; display: flex; gap: 18px; align-items: flex-start; border-right: 1px solid var(--line); transition: background .3s; }
.quick-item:last-child { border: 0; }
.quick-item:hover { background: var(--blush); }
.quick-item .ic { width: 54px; height: 54px; border-radius: 16px; flex: none; display: grid; place-items: center; font-size: 1.3rem; color: #fff; }
.quick-item .ic { background: var(--brand); }
.quick-item h4 { font-size: 1rem; margin-bottom: 4px; }
.quick-item p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.quick-item a.more { color: var(--magenta); font-size: .82rem; font-weight: 600; display: inline-block; margin-top: 6px; }

/* ---------- About ---------- */
.about .container, .split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about-visual { position: relative; height: 560px; }
.about-visual .a1 { position: absolute; left: 0; top: 0; width: 72%; height: 400px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.about-visual .a2 { position: absolute; right: 0; bottom: 0; width: 56%; height: 300px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; left: 20px; bottom: 40px; background: var(--grad); color: #fff; border-radius: 24px; padding: 22px 26px; box-shadow: var(--shadow); max-width: 190px; }
.about-badge strong { font-size: 2.4rem; font-weight: 700; line-height: 1; display: block; }
.about-badge span { font-size: .82rem; opacity: .95; line-height: 1.4; display: block; margin-top: 4px; }
.about h2, .split h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; }
.about p, .split p { color: var(--muted); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 28px 0 36px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: .93rem; }
.checks i { width: 26px; height: 26px; border-radius: 50%; background: var(--lilac); color: var(--purple); display: grid; place-items: center; font-size: .7rem; flex: none; }
.img-card { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; }
.img-card img { width: 100%; height: 100%; object-fit: cover; }

/* values / feature cards */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px; transition: .3s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value i { width: 60px; height: 60px; border-radius: 18px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 20px; }
.value h3 { font-size: 1.2rem; } .value p { color: var(--muted); font-size: .92rem; margin: 0; }
.facilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facility { position: relative; border-radius: 22px; overflow: hidden; height: 260px; color: #fff; }
.facility img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.facility:hover img { transform: scale(1.08); }
.facility::after { content: ""; position: absolute; inset: 0; background: rgba(27, 23, 34, .5); }
.facility div { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.facility h4 { color: #fff; font-size: 1.05rem; margin: 0; } .facility small { opacity: .85; }
.timeline-h { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.tl-item { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px 24px; position: relative; }
.tl-item .y { font-size: 1.7rem; font-weight: 700; color: var(--magenta); }
.tl-item h4 { margin: 6px 0; font-size: 1rem; } .tl-item p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ---------- Services ---------- */
.services { background: var(--purple-deep); color: #fff; overflow: hidden; }
.services::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: var(--brand); opacity: .14; }
.services .container { position: relative; }
.services h2 { color: #fff; }
.services .section-head p { color: #bdb7c6; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 30px 24px; transition: .3s; backdrop-filter: blur(6px); }
.svc:hover { background: rgba(255, 255, 255, .13); transform: translateY(-6px); border-color: rgba(255, 122, 194, .6); }
.svc i, .svc-card i { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 18px; color: #fff; }
.svc h4 { font-size: 1.02rem; color: #fff; margin-bottom: 6px; }
.svc p { font-size: .85rem; color: #bdb7c6; margin: 0; line-height: 1.55; }
.svc-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; transition: .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card h4 { font-size: 1.12rem; } .svc-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Tabs / filters ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.search-input { position: relative; flex: 0 1 380px; width: 100%; }
.search-input i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-input input { width: 100%; padding: 14px 20px 14px 48px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .93rem; outline: none; transition: .2s; }
.search-input input:focus { border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(220, 23, 133, .1); }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.tabs.center { justify-content: center; margin-bottom: 40px; }
.tab { padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 500 .88rem var(--font); color: var(--muted); cursor: pointer; transition: .25s; }
.tab span { background: var(--lilac); color: var(--purple); border-radius: 999px; font-size: .7rem; padding: 1px 8px; margin-left: 6px; }
.tab:hover { border-color: var(--purple); color: var(--purple); }
.tab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -10px rgba(220, 23, 133, .6); }
.tab.active span { background: rgba(255, 255, 255, .25); color: #fff; }
.result-count { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }
.empty i { font-size: 2.4rem; color: var(--magenta); margin-bottom: 12px; }

/* ---------- Treatment cards ---------- */
.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.treat { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); transition: .35s; display: flex; flex-direction: column; }
.treat:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.treat .img { height: 210px; overflow: hidden; position: relative; background: var(--lilac); display: block; }
.treat .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.treat:hover .img img { transform: scale(1.08); }
.treat .tag { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .95); color: var(--purple); font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.treat .ic { position: absolute; right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 15px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .5); z-index: 2; }
.treat .body { padding: 26px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.treat h3 { font-size: 1.2rem; margin-bottom: 8px; }
.treat h3 a:hover { color: var(--magenta); }
.treat p { color: var(--muted); font-size: .9rem; flex: 1; }
.link { color: var(--magenta); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 8px; transition: gap .25s; }
.treat:hover .link, .blog:hover .link { gap: 14px; }

/* ---------- Doctor cards ---------- */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1020px; margin-inline: auto; }
.doc-card { background: #fff; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .3s; display: flex; flex-direction: column; }
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.doc-photo { height: 300px; background: var(--lilac); position: relative; display: grid; place-items: center; overflow: hidden; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.avatar-ph { display: grid; place-items: center; background: var(--brand); color: #fff; }
.doc-photo .avatar-ph { width: 100%; height: 100%; font-size: 5rem; background: var(--lilac); color: var(--brand); }
.exp-badge { position: absolute; right: 16px; bottom: 16px; background: var(--grad); color: #fff; border-radius: 18px; padding: 10px 16px; font-size: .74rem; line-height: 1.3; text-align: center; box-shadow: var(--shadow-sm); }
.exp-badge b { font-size: 1.5rem; font-weight: 700; }
.doc-body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.doc-body h3 { font-size: 1.5rem; margin-bottom: 4px; }
.role { color: var(--magenta); font-weight: 600; font-size: .9rem; margin-bottom: 16px; line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips li { background: var(--lilac); color: var(--purple-dark); font-size: .78rem; font-weight: 500; padding: 6px 14px; border-radius: 999px; }
.chips.big li { font-size: .88rem; padding: 9px 18px; }
.doc-meta { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-bottom: 22px; color: var(--muted); font-size: .82rem; flex: 1; align-content: flex-start; }
.doc-meta i { color: var(--magenta); margin-right: 6px; }
.doc-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats { background: var(--grad); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; left: -100px; top: -100px; width: 400px; height: 400px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; position: relative; }
.stats strong { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.1; display: block; }
.stats span { font-size: .92rem; opacity: .92; }
.stats-grid > div + div { border-left: 1px solid rgba(255, 255, 255, .25); }

/* ---------- cards / timings / map ---------- */
.card { background: #fff; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 38px; }
.visit .container { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; }
.timings h3 { font-size: 1.6rem; display: flex; gap: 12px; align-items: center; }
.timings h3 i { color: var(--magenta); font-size: 1.2rem; }
.time-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.time-row:last-child { border: 0; }
.time-row b { font-weight: 600; }
.time-row b em { font-style: normal; background: var(--grad); color: #fff; font-size: .65rem; padding: 2px 9px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.time-row span { color: var(--muted); text-align: right; }
.time-row.today { background: var(--blush); margin: 0 -16px; padding: 14px 16px; border-radius: 14px; border: 0; }
.time-row.today b { color: var(--magenta); }
.doc-hours { margin-top: 18px; display: grid; gap: 12px; }
.doc-hour { background: var(--lilac); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; }
.doc-hour b { font-size: .9rem; color: var(--purple-deep); }
.doc-hour span { display: block; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.doc-opd { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.doc-opd li { color: var(--ink); font-size: .95rem; }
.emergency { margin-top: 22px; background: var(--purple-deep); color: #fff; border-radius: 18px; padding: 18px 22px; display: flex; gap: 14px; align-items: center; }
.emergency i { font-size: 1.5rem; color: #ff6fb8; }
.emergency small { display: block; opacity: .75; font-size: .78rem; }
.emergency strong { font-size: 1.05rem; font-weight: 600; }
.map-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.map-card iframe { width: 100%; flex: 1; min-height: 340px; border: 0; }
.map-info { padding: 26px 32px; display: grid; gap: 14px; }
.map-info p { margin: 0; display: flex; gap: 14px; font-size: .92rem; color: var(--muted); }
.map-info i { color: var(--magenta); margin-top: 5px; width: 18px; flex: none; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- Testimonials ---------- */
.testi { overflow: hidden; }
.testi-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 30px; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.t-card { flex: 0 0 min(390px, 86%); scroll-snap-align: start; background: #fff; border-radius: 26px; padding: 34px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; }
.t-card::before { content: "\201C"; position: absolute; top: 6px; right: 26px; font: 700 6rem/1 var(--font); color: var(--lilac); }
.t-card p { color: var(--muted); font-size: .93rem; position: relative; margin: 14px 0 24px; }
.t-user { display: flex; align-items: center; gap: 14px; }
.t-user .av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: .9rem; background: var(--grad); flex: none; }
.t-user strong { display: block; font-size: .95rem; line-height: 1.2; font-weight: 600; }
.t-user small { color: var(--muted); font-size: .78rem; }
.t-nav { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }
.t-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--purple); background: #fff; color: var(--purple); cursor: pointer; font-size: 1rem; transition: .25s; }
.t-nav button:hover { background: var(--purple); color: #fff; }
.t-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-grid-3 .t-card { flex: none; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 18px; }
.g-item { position: relative; border-radius: 22px; overflow: hidden; cursor: zoom-in; background: var(--lilac); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item:hover img { transform: scale(1.1); }
.g-item::after { content: ""; position: absolute; inset: 0; background: rgba(27, 23, 34, .55); opacity: 0; transition: .3s; }
.g-item:hover::after { opacity: 1; }
.g-item .cap { position: absolute; left: 18px; right: 18px; bottom: 14px; color: #fff; font-size: .85rem; font-weight: 500; z-index: 1; opacity: 0; transform: translateY(8px); transition: .3s; }
.g-item:hover .cap { opacity: 1; transform: none; }
.g-item.tall { grid-row: span 2; }
.g-item.wide { grid-column: span 2; }
.lightbox { position: fixed; inset: 0; background: rgba(20, 16, 26, .94); z-index: 120; display: none; place-items: center; padding: 30px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; max-width: min(92vw, 1100px); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-close, .lb-nav { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--purple); font-size: 1.05rem; cursor: pointer; transition: .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--magenta); color: #fff; }
.lb-close { top: 24px; right: 28px; }
.lb-nav { top: 50%; transform: translateY(-50%); } .lb-nav.prev { left: 24px; } .lb-nav.next { right: 24px; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .85rem; background: rgba(255, 255, 255, .15); padding: 5px 16px; border-radius: 999px; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); transition: .35s; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.blog:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #f0b9d6; }
.blog .img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--lilac); }
.blog .img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s; }
.blog:hover .img img { transform: scale(1.05); }
.blog .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog .meta { font-size: .76rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.blog .meta i { color: var(--magenta); margin-right: 4px; }
.blog h3 { font-size: 1.08rem; line-height: 1.4; font-weight: 650; margin: 0 0 8px; color: var(--purple-deep); }
.blog-ex { color: var(--muted); font-size: .88rem; line-height: 1.55; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.blog .link { margin-top: auto; }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 40px; transition: .35s; }
.feature:hover { box-shadow: var(--shadow); border-color: #f0b9d6; transform: translateY(-3px); }
.feature .img { background: var(--lilac); min-height: 300px; overflow: hidden; }
.feature .img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s; }
.feature:hover .img img { transform: scale(1.04); }
.feature .body { padding: 40px 42px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0; }
.feature h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin: 12px 0 10px; line-height: 1.25; letter-spacing: -.02em; }
.feature p { color: var(--muted); margin: 0 0 14px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feature .meta-line { color: var(--muted); font-size: .84rem; margin-bottom: 18px; }
.feature .meta-line i { color: var(--brand); margin-right: 6px; }

/* ---------- Detail layouts (treatment, blog, doctor) ---------- */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.detail aside { position: sticky; top: 108px; display: grid; gap: 22px; }
.td-banner { position: relative; border-radius: 28px; overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow); max-height: 420px; }
.td-banner img { width: 100%; height: 420px; object-fit: cover; }
.td-banner .tag { position: absolute; top: 20px; left: 20px; background: #fff; color: var(--purple); font-size: .78rem; font-weight: 600; padding: 6px 16px; border-radius: 999px; }
.article h2 { font-size: 1.7rem; margin-bottom: 18px; }
.article h3 { font-size: 1.28rem; margin: 34px 0 12px; color: var(--purple); scroll-margin-top: 110px; }
.article p { color: #4a4553; font-size: 1.02rem; line-height: 1.85; }
.article strong { color: var(--purple-deep); font-weight: 600; }
.tick { margin: 0 0 22px; display: grid; gap: 10px; }
.tick li { position: relative; padding-left: 34px; color: #4a4553; line-height: 1.7; }
.tick li::before { content: "\f00c"; font: 900 .7rem 'Font Awesome 6 Free'; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--lilac); color: var(--purple); display: grid; place-items: center; }
.highlight-box { background: var(--blush); border: 1px solid var(--line); border-radius: 26px; padding: 34px; margin: 40px 0; }
.highlight-box h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 20px; }
.highlight-box h3 i { width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.05rem; }
.grid-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.grid-ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .93rem; }
.grid-ticks i { width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: .65rem; flex: none; margin-top: 2px; }
.block-title { font-size: 1.5rem; margin: 48px 0 22px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 20px; text-align: center; position: relative; transition: .3s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.step .n { position: absolute; top: 12px; left: 14px; font-size: .75rem; font-weight: 700; color: var(--magenta); }
.step > i { width: 54px; height: 54px; border-radius: 50%; background: var(--lilac); color: var(--purple); display: grid; place-items: center; margin: 0 auto 14px; font-size: 1.2rem; }
.step h4 { font-size: .98rem; margin-bottom: 6px; } .step p { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.55; }
.pn-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 50px; }
.pn-nav a { border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; transition: .25s; display: block; }
.pn-nav a:hover { border-color: var(--magenta); background: var(--blush); }
.pn-nav a.r { text-align: right; }
.pn-nav small { color: var(--muted); display: block; font-size: .75rem; } .pn-nav b { font-size: .92rem; font-weight: 600; color: var(--purple-deep); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-sm); }
.side-card h4 { font-size: 1.05rem; margin-bottom: 16px; }
.side-card.cta-card { background: var(--grad); color: #fff; border: 0; text-align: center; display: grid; gap: 10px; justify-items: stretch; }
.side-card.cta-card h4 { color: #fff; margin: 0; } .side-card.cta-card p { opacity: .92; font-size: .88rem; margin: 0 0 6px; }
.cta-card .modal-icon { margin: 0 auto 4px; background: rgba(255, 255, 255, .2); color: #fff; }
.emerg { display: flex; gap: 12px; align-items: center; background: rgba(0, 0, 0, .18); border-radius: 16px; padding: 12px 16px; text-align: left; margin-top: 6px; }
.emerg i { font-size: 1.3rem; } .emerg small { display: block; opacity: .8; font-size: .72rem; } .emerg b { font-size: .95rem; font-weight: 600; }
.sum-card .emerg { background: var(--purple-deep); color: #fff; }
.side-list { display: grid; gap: 2px; }
.side-list a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; font-size: .88rem; color: #4a4553; transition: .2s; }
.side-list a i { color: var(--magenta); width: 18px; text-align: center; }
.side-list a:hover { background: var(--lilac); color: var(--purple); }
.side-list small { margin-left: auto; background: var(--lilac); border-radius: 999px; padding: 0 9px; color: var(--purple); }
.toc .side-list a { padding: 7px 12px; font-size: .84rem; border-left: 2px solid var(--line); border-radius: 0 10px 10px 0; }
.toc .side-list a:hover { border-color: var(--magenta); }
.mini-doc { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; transition: .2s; }
.mini-doc:hover { background: var(--lilac); }
.mini-doc img, .mini-doc .avatar-ph { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 15%; flex: none; font-size: 1.2rem; }
.mini-doc span { flex: 1; } .mini-doc b { display: block; font-size: .92rem; line-height: 1.3; font-weight: 600; } .mini-doc small { color: var(--muted); font-size: .76rem; line-height: 1.3; display: block; }
.mini-doc > i { color: var(--muted); font-size: .7rem; }

/* blog article */
.bl-meta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .86rem; margin-bottom: 24px; }
.bl-meta i { color: var(--magenta); margin-right: 5px; }
.bl-cover { background: var(--lilac); border-radius: 26px; overflow: hidden; margin-bottom: 36px; border: 1px solid var(--line); }
.bl-cover img { width: 100%; max-height: 440px; object-fit: contain; }
.share { display: flex; align-items: center; gap: 12px; margin: 44px 0 24px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.share b { font-size: .92rem; margin-right: 6px; }
.share a, .share button { width: 42px; height: 42px; border-radius: 50%; background: var(--lilac); color: var(--purple); display: grid; place-items: center; border: 0; cursor: pointer; transition: .2s; font-size: 1rem; }
.share a:hover, .share button:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }
.author-box { display: flex; gap: 18px; background: var(--blush); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.author-box .a-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.author-box p { margin: 4px 0 0; font-size: .85rem; color: var(--muted); line-height: 1.6; }
.read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--grad); z-index: 200; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: .25s; }
.faq-item.open { border-color: var(--magenta); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; background: none; border: 0; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 600 .98rem var(--font); color: var(--purple-deep); }
.faq-q i { width: 30px; height: 30px; border-radius: 50%; background: var(--lilac); color: var(--purple); display: grid; place-items: center; font-size: .75rem; flex: none; transition: .3s; }
.faq-item.open .faq-q i { background: var(--grad); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a > div { padding: 0 24px 20px; color: var(--muted); font-size: .94rem; }
.faq-a p { margin: 0 0 .7em; } .faq-a ul { list-style: disc; padding-left: 20px; }
.faq-a b, .faq-a strong { color: var(--purple-deep); font-weight: 600; }

/* ---------- Doctor profile ---------- */
.dp { display: grid; grid-template-columns: 370px 1fr; gap: 48px; align-items: start; }
.dp-card { position: sticky; top: 108px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.dp-photo { border-radius: 22px; overflow: hidden; height: 340px; background: var(--lilac); }
.dp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.dp-photo .avatar-ph { width: 100%; height: 100%; font-size: 6rem; background: var(--lilac); color: var(--brand); }
.dp-card h2 { font-size: 1.6rem; margin: 6px 0 0; } .dp-card .role { margin: 0; }
.dp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dp-stats div { background: var(--lilac); border-radius: 16px; padding: 12px 6px; text-align: center; }
.dp-stats b { display: block; font-size: 1.15rem; color: var(--purple); font-weight: 700; } .dp-stats small { color: var(--muted); font-size: .7rem; }
.dp-contact { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.dp-contact li { display: flex; gap: 12px; font-size: .86rem; color: var(--muted); }
.dp-contact i { color: var(--magenta); margin-top: 4px; width: 16px; } .dp-contact small { font-size: .76rem; }
.dp-block { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 32px; margin-bottom: 24px; }
.dp-block h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin-bottom: 18px; }
.dp-block h3 i { width: 40px; height: 40px; border-radius: 12px; background: var(--lilac); color: var(--purple); display: grid; place-items: center; font-size: .95rem; }
.dp-block p { color: #4a4553; }
.timeline { position: relative; display: grid; gap: 22px; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 41px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: flex; gap: 22px; align-items: flex-start; position: relative; }
.timeline .yr { background: var(--grad); color: #fff; border-radius: 999px; font-size: .78rem; font-weight: 600; padding: 4px 0; width: 66px; text-align: center; flex: none; z-index: 1; }
.timeline b { display: block; font-size: .98rem; font-weight: 600; } .timeline small { color: var(--muted); }
.member { margin: 18px 0 0; font-size: .9rem; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-t { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; font-size: .88rem; font-weight: 500; transition: .2s; }
.mini-t i { width: 36px; height: 36px; border-radius: 12px; background: var(--lilac); color: var(--purple); display: grid; place-items: center; flex: none; }
.mini-t:hover { border-color: var(--magenta); background: var(--blush); }
.stories { display: grid; gap: 16px; } .stories .t-card { flex: none; box-shadow: none; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -60px; position: relative; z-index: 3; }
.c-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; box-shadow: var(--shadow); transition: .3s; }
.c-card:hover { transform: translateY(-6px); }
.c-card i { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 16px; }
.c-card h4 { font-size: 1rem; margin-bottom: 6px; } .c-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; } .c-card a:hover { color: var(--magenta); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; color: var(--purple-dark); }
.field input, .field select, .field textarea { font: 400 .93rem var(--font); padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fffafc; color: var(--ink); outline: none; transition: .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--magenta); background: #fff; box-shadow: 0 0 0 4px rgba(220, 23, 133, .1); }
.field textarea { resize: vertical; min-height: 110px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e5484d; background: #fff7f7; }
.field .err { color: #e5484d; font-size: .75rem; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: var(--muted); cursor: pointer; margin: 6px 0 22px; }
.check input { margin-top: 4px; accent-color: var(--magenta); width: 17px; height: 17px; }
form .btn { width: auto; }

/* ---------- Appointment (home CTA form) ---------- */
.appt { background: var(--lilac); }
.appt-wrap { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--grad); border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.appt-info { padding: 60px 54px; color: #fff; position: relative; overflow: hidden; }
.appt-info::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; background: url('../images/logo-icon.png') center/contain no-repeat; opacity: .16; filter: brightness(10); }
.appt-info h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.appt-info .eyebrow { color: #fff; } .appt-info .eyebrow::before { background: #fff; }
.appt-info p { opacity: .92; }
.appt-info ul { margin-top: 30px; display: grid; gap: 18px; position: relative; z-index: 1; }
.appt-info li { display: flex; gap: 16px; align-items: center; }
.appt-info li i { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.appt-info li small { display: block; opacity: .8; font-size: .78rem; } .appt-info li strong { font-weight: 600; }
.form { background: #fff; margin: 14px; border-radius: 26px; padding: 40px; }
.form h3 { font-size: 1.6rem; }

/* ---------- Appointment booking page ---------- */
.appt-section { padding: 70px 0 120px; background: var(--blush); overflow-x: clip; }
.appt-section .container { width: min(1100px, calc(100% - 32px)); max-width: 100%; }
.stepper { display: flex; justify-content: space-between; max-width: 820px; margin: 0 auto 44px; position: relative; counter-reset: s; }
.stepper::before { content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 3px; background: var(--line); }
.stepper li { position: relative; z-index: 1; text-align: center; flex: 1; }
.stepper li span { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; margin: 0 auto 10px; font-weight: 600; color: var(--muted); transition: .3s; }
.stepper li b { font-size: .8rem; font-weight: 500; color: var(--muted); }
.stepper li.on span { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -8px rgba(220, 23, 133, .7); }
.stepper li.on b { color: var(--purple-deep); font-weight: 600; }
.stepper li.done span { background: var(--purple-deep); color: #fff; border-color: transparent; }
.appt-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: 24px; align-items: start; width: 100%; max-width: 100%; }
.appt-main, .sum-card { min-width: 0; max-width: 100%; }
.appt-main.card { overflow: hidden; }
.appt-main h2 { font-size: 1.2rem; margin: 30px 0 16px; } .appt-main h2:first-child { margin-top: 0; }
.step-actions { flex-wrap: wrap; }
.step-actions .btn { max-width: 100%; }
.pick-docs { display: grid; gap: 12px; }
.pick { display: flex; align-items: center; gap: 16px; border: 1.5px solid var(--line); border-radius: 20px; padding: 14px 18px; cursor: pointer; transition: .2s; position: relative; }
.pick:hover { border-color: var(--purple); }
.pick input { position: absolute; opacity: 0; }
.pick img, .pick .avatar-ph { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: center 15%; font-size: 1.3rem; flex: none; }
.pick span:not(.avatar-ph) { flex: 1; } .pick b { display: block; font-weight: 600; } .pick small { color: var(--muted); font-size: .8rem; }
.pick > i { color: var(--line); font-size: 1.4rem; transition: .2s; }
.pick.sel { border-color: var(--magenta); background: var(--blush); } .pick.sel > i { color: var(--magenta); }
.chip-select { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font: 500 .86rem var(--font); cursor: pointer; transition: .2s; color: var(--ink); }
.chip:hover { border-color: var(--purple); } .chip.sel { background: var(--grad); color: #fff; border-color: transparent; }
.seg { display: inline-flex; background: var(--lilac); border-radius: 999px; padding: 5px; }
.seg button { border: 0; background: none; padding: 10px 24px; border-radius: 999px; font: 500 .88rem var(--font); cursor: pointer; color: var(--muted); }
.seg button.sel { background: #fff; color: var(--purple); box-shadow: var(--shadow-sm); font-weight: 600; }
.step-actions { display: flex; justify-content: space-between; margin-top: 34px; gap: 12px; }
.date-strip { display: flex; gap: 10px; overflow-x: auto; padding: 16px 2px 12px; scrollbar-width: thin; max-width: 100%; -webkit-overflow-scrolling: touch; }
.date { flex: 0 0 74px; border: 1.5px solid var(--line); background: #fff; border-radius: 18px; padding: 12px 0 10px; cursor: pointer; display: grid; justify-items: center; line-height: 1.3; position: relative; transition: .2s; font-family: var(--font); overflow: visible; }
.date b { font-size: 1.35rem; font-weight: 700; color: var(--purple-deep); } .date small { color: var(--muted); font-size: .72rem; text-transform: capitalize; }
.date em { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--purple-deep); color: #fff; font-style: normal; font-size: .62rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; z-index: 2; }
.date:hover { border-color: var(--purple); }
.date.sel { background: var(--grad); border-color: transparent; box-shadow: 0 10px 22px -8px rgba(220, 23, 133, .7); } .date.sel b, .date.sel small { color: #fff; }
.slot-group { margin-bottom: 20px; } .slot-group h4 { font-size: .95rem; margin-bottom: 12px; } .slot-group h4 i { color: var(--magenta); margin-right: 6px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.slot { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 0; font: 500 .84rem var(--font); cursor: pointer; transition: .2s; color: var(--ink); }
.slot:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); background: var(--blush); }
.slot:disabled { background: #f5f3f6; color: #b7b1c0; cursor: not-allowed; text-decoration: line-through; border-color: transparent; }
.slot.sel { background: var(--grad); color: #fff; border-color: transparent; }
.legend { display: flex; gap: 20px; font-size: .78rem; color: var(--muted); flex-wrap: wrap; margin-top: 8px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; } .dot.a { background: #fff; border: 2px solid var(--brand); } .dot.b { background: #cfc9d6; } .dot.c { background: var(--magenta); }
.sum-card { position: sticky; top: 108px; }
.sum-list { display: grid; gap: 16px; margin-bottom: 18px; }
.sum-list li { display: flex; gap: 14px; align-items: flex-start; }
.sum-list li > i { width: 38px; height: 38px; border-radius: 12px; background: var(--lilac); color: var(--purple); display: grid; place-items: center; flex: none; font-size: .9rem; }
.sum-list small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.2; } .sum-list b { font-size: .9rem; font-weight: 600; line-height: 1.35; display: block; }
.fee { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px dashed var(--line); font-size: .88rem; } .fee b { color: var(--magenta); font-size: 1.05rem; }
.success { text-align: center; }
.tick-anim { width: 90px; height: 90px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 22px; animation: pop .6s cubic-bezier(.2, 1.4, .4, 1); box-shadow: 0 16px 36px -10px rgba(220, 23, 133, .6); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.ticket { border: 2px dashed var(--line); border-radius: 24px; margin: 26px 0; overflow: hidden; text-align: left; }
.t-head { background: var(--lilac); display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; flex-wrap: wrap; gap: 6px; } .t-head span { color: var(--muted); font-size: .85rem; } .t-head b { color: var(--purple); letter-spacing: .08em; font-size: 1.1rem; }
.t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; padding: 24px; } .t-grid small { color: var(--muted); font-size: .74rem; display: block; } .t-grid b { font-size: .92rem; font-weight: 600; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Tools ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.tool { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 34px 30px; box-shadow: var(--shadow-sm); }
.tool > i { width: 60px; height: 60px; border-radius: 18px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; }
.tool h3 { font-size: 1.3rem; } .tool > p { color: var(--muted); font-size: .9rem; }
.tool .form-grid { grid-template-columns: 1fr; margin: 18px 0; } .tool .form-grid.two { grid-template-columns: 1fr 1fr; }
.tool .btn { width: 100%; }
.tool-out { max-height: 0; overflow: hidden; opacity: 0; transition: .4s; }
.tool-out.show { max-height: 600px; opacity: 1; margin-top: 22px; }
.res-big { background: var(--blush); border-radius: 20px; padding: 18px 20px; text-align: center; } .res-big small { color: var(--muted); display: block; font-size: .78rem; } .res-big b { font-size: 1.5rem; color: var(--purple); font-weight: 700; display: block; line-height: 1.3; }
.res-big em { display: inline-block; font-style: normal; font-size: .72rem; padding: 3px 12px; border-radius: 999px; vertical-align: middle; color: #fff; margin-left: 4px; font-weight: 600; }
em.green { background: var(--green); } em.blue { background: var(--blue); } em.amber { background: #e89a0c; } em.red { background: #e5484d; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; } .res-grid div { background: var(--lilac); border-radius: 14px; padding: 10px; text-align: center; } .res-grid small { display: block; color: var(--muted); font-size: .7rem; } .res-grid b { font-size: .84rem; font-weight: 600; color: var(--purple-deep); }
.progress { height: 10px; background: var(--lilac); border-radius: 999px; margin: 16px 0 4px; overflow: hidden; } .progress span { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.note { font-size: .76rem; color: var(--muted); margin: 14px 0 0; line-height: 1.55; } .warn { color: #e5484d; font-size: .88rem; }
.bmi-bar { height: 12px; margin-top: 18px; position: relative; display: flex; gap: 3px; }
.bmi-bar i { height: 100%; } .bmi-bar i:nth-child(1) { background: var(--blue); border-radius: 999px 0 0 999px; flex: 17; } .bmi-bar i:nth-child(2) { background: var(--green); flex: 18; } .bmi-bar i:nth-child(3) { background: #e89a0c; flex: 20; } .bmi-bar i:nth-child(4) { background: #e5484d; border-radius: 0 999px 999px 0; flex: 45; }
.bmi-scale { display: flex; justify-content: space-between; margin-top: 6px; color: var(--muted); }

/* ---------- CTA band + Footer ---------- */
.cta-band { background: var(--brand); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: 5%; top: -80px; width: 340px; height: 340px; background: url('../images/logo-icon.png') center/contain no-repeat; opacity: .12; filter: brightness(10); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; } .cta-inner p { margin: 0; opacity: .9; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.footer { background: var(--purple-deep); color: #bdb7c6; padding: 80px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 50px; padding-bottom: 60px; }
.footer .logo-box { background: #fff; display: inline-block; padding: 10px 18px; border-radius: 16px; margin-bottom: 20px; }
.footer .logo-box img { height: 58px; }
.footer h4 { font-size: 1rem; color: #fff; margin-bottom: 20px; }
.footer li { margin-bottom: 11px; }
.footer a:hover { color: #ff6fb8; }
.footer .contact li { display: flex; gap: 12px; }
.footer .contact i { color: #ff6fb8; margin-top: 5px; width: 16px; flex: none; }
.newsletter { display: flex; margin-top: 18px; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 5px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; padding: 0 16px; font-size: .85rem; }
.newsletter input::placeholder { color: #9a94a6; }
.newsletter button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; cursor: pointer; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; transition: .25s; color: #fff; }
.socials a:hover { background: var(--magenta); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; }

/* Floating buttons */
.social-rail {
  position: fixed; left: 12px; top: 62%; transform: translateY(-50%); z-index: 35;
  display: flex; flex-direction: column; gap: 6px; padding: 7px;
  background: #fff; border: 1px solid rgba(20, 16, 22, .06); border-radius: 999px;
  box-shadow: 0 14px 30px -16px rgba(20, 16, 22, .45);
}
.social-rail a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: .95rem; transition: transform .2s;
}
.social-rail a:hover { transform: translateY(-2px); }
.social-rail .ig { background: linear-gradient(140deg, #f9ce34, #ee2a7b 52%, #6228d7); }
.social-rail .fb { background: #1877f2; }
.social-rail .yt { background: #ff0033; }
.social-rail .pin { background: #e60023; }
.fab { position: fixed; right: 22px; bottom: 22px; display: flex; flex-direction: column; gap: 12px; z-index: 40; align-items: flex-end; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.4rem; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .4); transition: transform .25s, opacity .3s; }
.fab a:hover { transform: scale(1.1); }
.fab .wa { background: #25d366; }
.fab .call { background: var(--brand); animation: ring 2.4s infinite; }
.fab .to-top { width: 46px; height: 46px; background: #fff; color: var(--purple); font-size: 1rem; display: none; transform: translateY(10px); }
.fab .to-top.show { display: grid; pointer-events: auto; transform: none; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(220, 23, 133, .5); } 50% { box-shadow: 0 0 0 14px rgba(220, 23, 133, 0); } }

/* ---------- Overlays / modal / toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(20, 16, 26, .6); backdrop-filter: blur(6px); z-index: 110; display: grid; place-items: start center; padding: 10vh 16px 16px; opacity: 0; visibility: hidden; transition: .25s; overflow-y: auto; }
.overlay.open { opacity: 1; visibility: visible; }
.modal { background: #fff; border-radius: 28px; width: min(480px, 100%); padding: 36px; position: relative; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .5); transform: translateY(20px); transition: .3s; }
.overlay.open .modal { transform: none; }
.modal h3 { font-size: 1.5rem; margin-bottom: 4px; } .modal > p { color: var(--muted); font-size: .9rem; }
.modal .field { margin-bottom: 14px; } .modal .btn { width: 100%; margin-top: 6px; }
.modal-icon { width: 60px; height: 60px; border-radius: 18px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px; }
.close-x { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--lilac); color: var(--purple); cursor: pointer; transition: .2s; }
.close-x:hover { background: var(--magenta); color: #fff; }
.search-modal { width: min(680px, 100%); padding: 0; overflow: hidden; }
.search-box { display: flex; align-items: center; gap: 14px; padding: 22px 28px; border-bottom: 1px solid var(--line); position: relative; }
.search-box > i { color: var(--magenta); font-size: 1.1rem; }
.search-box input { flex: 1; border: 0; outline: none; font: 500 1.05rem var(--font); background: none; padding-right: 44px; }
.search-box .close-x { top: 50%; transform: translateY(-50%); right: 20px; }
.search-results { max-height: 56vh; overflow-y: auto; padding: 12px 14px 18px; }
.sr-group h5 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 14px 6px; font-weight: 600; }
.sr-item { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 14px; transition: .15s; }
.sr-item:hover { background: var(--lilac); }
.sr-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--lilac); color: var(--purple); display: grid; place-items: center; flex: none; }
.sr-item > span:nth-child(2) { flex: 1; min-width: 0; } .sr-item b { display: block; font-size: .92rem; font-weight: 600; line-height: 1.35; } .sr-item small { color: var(--muted); font-size: .76rem; }
.sr-item > i { color: var(--muted); font-size: .7rem; }
.sr-empty { text-align: center; padding: 40px 0; color: var(--muted); } .sr-empty i { font-size: 2rem; color: var(--magenta); }
.toasts { position: fixed; top: 18px; right: 18px; z-index: 300; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; background: #fff; border-left: 5px solid var(--brand); border-radius: 14px; padding: 14px 20px; box-shadow: var(--shadow); font-size: .9rem; font-weight: 500; transform: translateX(120%); transition: transform .4s cubic-bezier(.2, 1, .3, 1); max-width: 360px; }
.toast.show { transform: none; } .toast i { color: var(--brand); font-size: 1.15rem; }
.toast.err { border-color: #e5484d; } .toast.err i { color: #e5484d; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Print (booking confirmation) */
@media print {
  .topbar, .header, .cta-band, .footer, .fab, .social-rail, .stepper, .success-actions, .link-btn, .page-hero, .sum-card { display: none !important; }
  .appt-layout { display: block; } .appt-section { padding: 0; background: #fff; } .card { box-shadow: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav > li > a, .nav > li > button { padding: 10px 11px; font-size: .88rem; }
  .brand img { height: 54px; }
}
@media (max-width: 1080px) {
  .hero .container, .about .container, .split, .visit .container, .appt-wrap, .contact-grid, .feature { grid-template-columns: 1fr; }
  .hero-visual, .about-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .quick-grid { grid-template-columns: 1fr 1fr; }
  .quick-item:nth-child(2) { border-right: 0; }
  .quick-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc-grid, .facilities, .timeline-h { grid-template-columns: repeat(2, 1fr); }
  .treat-grid, .blog-grid, .svc-card-grid, .values, .t-grid-3, .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail, .dp, .appt-layout { grid-template-columns: 1fr; }
  .detail aside, .dp-card, .sum-card { position: static; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .menu-toggle { display: grid; place-items: center; position: relative; z-index: 70; }
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(340px, 86%); max-width: 86%; margin: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 96px 20px 30px; gap: 4px; transform: none; clip-path: inset(0 0 0 100%); visibility: hidden; pointer-events: none; transition: clip-path .35s, visibility .35s; box-shadow: -20px 0 60px rgba(0, 0, 0, .2); overflow-y: auto; overflow-x: hidden; z-index: 60; }
  .nav.open { clip-path: inset(0 0 0 0); visibility: visible; pointer-events: auto; }
  .nav > li > a, .nav > li > button { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: .95rem; }
  .drop, .has-drop.mega .drop, .has-drop.small .drop { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 0 10px; opacity: 1; visibility: visible; display: none; }
  .has-drop.open .drop { display: block; } .has-drop:hover .drop { transform: none; }
  .drop-grid { grid-template-columns: 1fr; }
  .header-actions .hide-m { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .stats-grid > div:nth-child(3) { border-left: 0; }
  .doc-grid { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .topbar-right { display: none; }
  .hero { padding: 40px 0 120px; }
  .hero-visual { height: 460px; } .hv-main { height: 340px; } .hv-side { height: 180px; } .fc-1 { left: 0; top: 30px; }
  .quick-grid, .svc-grid, .treat-grid, .blog-grid, .footer-grid, .form-grid, .checks, .svc-card-grid, .values, .t-grid-3, .tools-grid, .facilities, .timeline-h, .grid-ticks, .mini-grid, .contact-cards, .steps, .pn-nav, .t-grid { grid-template-columns: 1fr; }
  .tool .form-grid.two { grid-template-columns: 1fr 1fr; }
  .quick-item { border-right: 0; border-bottom: 1px solid var(--line); } .quick-item:last-child { border-bottom: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .about-visual { height: 460px; } .about-visual .a1 { height: 300px; } .about-visual .a2 { height: 220px; }
  .appt-info, .form, .card { padding: 30px 22px; } .appt-wrap { border-radius: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .page-hero { padding: 50px 0 70px; }
  .page-hero::before { width: 240px; height: 240px; right: -70px; top: -80px; }
  .page-hero::after { width: 180px; height: 180px; right: -50px; bottom: -120px; }
  .page-hero .ph-sub { max-width: 34rem; }
  .feature .body { padding: 28px 24px; } .feature .img { min-height: 200px; }
  .stepper li b { display: none; }
  .dp-block, .highlight-box { padding: 24px 20px; }
  .td-banner img { height: 260px; }
  .cta-actions .btn { flex: 1; }
  .date { flex-basis: 66px; }
  .timeline::before { left: 33px; } .timeline .yr { width: 58px; }
  .lb-nav.prev { left: 8px; } .lb-nav.next { right: 8px; }
  .step-actions .btn { padding: 12px 18px; }
}

/* ==========================================================
   v2 enhancements — single brand colour, solid surfaces
   ========================================================== */
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: 8px; z-index: 500; background: var(--brand); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 600; transform: translateY(-160%); }
.skip:focus { transform: none; }
.bmi-bar span { position: absolute; top: -5px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--purple-deep); transform: translateX(-50%); box-shadow: var(--shadow-sm); z-index: 1; }

/* top bar in brand colour */
.topbar { background: var(--brand); color: #fff; }
.topbar i { color: #fff; opacity: .9; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.pulse-dot { background: #fff; animation: pulse-w 1.8s infinite; }
@keyframes pulse-w { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

/* header / nav */
.nav > li > a, .nav > li > button { position: relative; border-radius: 12px; font-weight: 500; }
.nav > li > a:hover, .nav > li > button:hover { background: var(--lilac); color: var(--brand); }
.nav > li > a.active, .nav > li > button.active { background: none; color: var(--brand); font-weight: 600; }
.nav > li > a.active::after, .nav > li > button.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; border-radius: 3px; background: var(--brand); transform: translateX(-50%); }
.drop a:hover i { background: var(--brand); }
.drop .drop-all { background: var(--brand); border-radius: 12px; }
.drop .drop-all:hover { background: var(--brand-dark); }

/* buttons */
.btn { border-radius: 14px; }
.btn--primary { background: var(--brand); box-shadow: 0 12px 24px -14px rgba(220, 23, 133, .85); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 16px 28px -14px rgba(220, 23, 133, .9); }
.btn--ghost { border-color: var(--purple-deep); color: var(--purple-deep); }
.btn--ghost:hover { background: var(--purple-deep); color: #fff; }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { background: var(--purple-deep); color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--brand); }
.icon-btn { border-radius: 14px; color: var(--purple-deep); }
.icon-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.menu-toggle { color: var(--purple-deep); }
.nav-btn-active { color: var(--brand); }

/* hero */
.hero h1 { font-weight: 700; }
.hero h1 em { position: relative; z-index: 0; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .22em; background: var(--brand); opacity: .18; border-radius: 6px; z-index: -1; }
.hero-badge span { background: var(--brand); }
.hero-visual::before { content: ""; position: absolute; right: -40px; top: 20px; width: 440px; height: 440px; border-radius: 50%; background: var(--lilac); }
.float-card { border: 1px solid var(--line); }
.float-card .ic { background: var(--brand); }
.fc-2 .ic { background: var(--purple-deep); }
.hv-main { border-color: #fff; }
.hero-proof strong { color: var(--ink); }
.avatars span:nth-child(odd) { background: var(--brand) !important; }
.avatars span:nth-child(even) { background: var(--purple-deep) !important; }

/* quick strip */
.quick-item .ic { border-radius: 16px; }
.quick-item:nth-child(even) .ic { background: var(--purple-deep); }
.quick-item:hover .ic { transform: translateY(-3px); }
.quick-item .ic { transition: transform .3s; }

/* cards: brand outline on hover */
.treat:hover, .blog:hover, .doc-card:hover, .svc-card:hover, .value:hover, .c-card:hover, .tool:hover { border-color: var(--brand); }
.treat .ic { border: 3px solid #fff; box-shadow: 0 10px 20px -10px rgba(27, 23, 34, .6); }
.treat .tag, .td-banner .tag { color: var(--brand); }
.link { color: var(--brand); }
.svc:hover { border-color: var(--brand); }
.doc-card .doc-photo { background: var(--lilac); }
.doc-photo { height: 340px; } .doc-photo img { object-position: center top; }
.dp-photo img, .pick img, .mini-doc img { object-position: center top; }
.exp-badge { background: var(--brand); border-radius: 16px; }
.chips li { background: var(--lilac); color: var(--brand-dark); }
.pill { background: var(--lilac); color: var(--brand-dark); }
.tab.active { background: var(--brand); box-shadow: 0 10px 22px -12px rgba(220, 23, 133, .8); }
.tab:hover { border-color: var(--brand); color: var(--brand); }
.seg button.sel { color: var(--brand); }
.chip.sel, .slot.sel, .date.sel { background: var(--brand); }
.date.sel { box-shadow: 0 10px 22px -10px rgba(220, 23, 133, .8); }
.date em { background: var(--purple-deep); }
.stepper li.on span { background: var(--brand); }
.t-user .av { background: var(--brand); }
.t-nav button { border-color: var(--purple-deep); color: var(--purple-deep); }
.t-nav button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.time-row b em { background: var(--brand); }
.res-big b { color: var(--brand); }
.progress span { background: var(--brand); }
.tool > i, .value i, .c-card i, .svc i, .svc-card i, .modal-icon, .author-box .a-ic, .timeline .yr { background: var(--brand); }
.highlight-box h3 i, .grid-ticks i { background: var(--brand); }
.faq-item.open .faq-q i { background: var(--brand); }
.share a:hover, .share button:hover { background: var(--brand); }
.read-progress { background: var(--brand); }
.stats { background: var(--brand); }
.appt-wrap { background: var(--brand); }
.page-hero .eyebrow { color: #fff; }
.side-card.cta-card { background: var(--brand); }
.side-card.cta-card .btn--white:hover { background: var(--purple-deep); }
.lb-close:hover, .lb-nav:hover { background: var(--brand); }
.newsletter button { background: var(--brand); }
.newsletter button:hover { background: var(--brand-dark); }
.socials a:hover { background: var(--brand); }
.footer a:hover { color: #ff8cc7; }
.footer h4 { position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--brand); }
.section-head h2 { color: var(--purple-deep); }
.services .section-head h2 { color: #fff; }

/* section divider accent */
.section-head .eyebrow { background: var(--lilac); padding: 6px 16px; border-radius: 999px; color: var(--brand-dark); }
.section-head .eyebrow::before, .section-head.center .eyebrow::after { display: none; }
.services .section-head .eyebrow { background: rgba(255, 255, 255, .1); color: #ff8cc7; }
.eyebrow { color: var(--brand); }

/* patient journey (home) */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.journey::before { content: ""; position: absolute; top: 44px; left: 12.5%; right: 12.5%; border-top: 2px dashed #efb4d6; }
.j-step { position: relative; text-align: center; padding: 0 8px; }
.j-ic { width: 88px; height: 88px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); color: var(--brand); display: grid; place-items: center; font-size: 1.7rem; margin: 0 auto 22px; position: relative; z-index: 1; transition: .3s; }
.j-step:hover .j-ic { background: var(--brand); color: #fff; transform: translateY(-4px); }
.j-n { position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%; background: var(--purple-deep); color: #fff; font-size: .78rem; font-weight: 600; display: grid; place-items: center; border: 3px solid #fff; }
.j-step h4 { font-size: 1.08rem; margin-bottom: 6px; }
.j-step p { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.6; }

/* trust ribbon */
.ribbon { background: var(--purple-deep); color: #fff; padding: 20px 0; overflow: hidden; }
.ribbon .container { display: flex; gap: 14px 38px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.ribbon span { display: inline-flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 500; }
.ribbon i { color: var(--brand); font-size: 1.1rem; background: #fff; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }

/* mobile action bar */
.mbar { display: none; }
@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .journey::before { display: none; }
}
@media (max-width: 640px) {
  .journey { grid-template-columns: 1fr; }
  .ribbon .container { justify-content: flex-start; }
  .mbar { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(27, 23, 34, .45); padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: .78rem; line-height: 1; padding: 13px 8px; border-radius: 14px; color: var(--purple-deep); background: var(--lilac); white-space: nowrap; min-width: 0; }
  .mbar a i { font-size: .95rem; flex: none; }
  .mbar a.main { background: var(--brand); color: #fff; }
  .fab .wa, .fab .call { display: none; }
  .fab { bottom: 96px; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: calc(168px + env(safe-area-inset-bottom)); }
  .footer-bottom { position: relative; z-index: 1; margin-bottom: 8px; }
}
@media print { .mbar, .ribbon, .social-rail { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* monochrome lotus watermarks */
.page-hero::before { filter: brightness(0) invert(1); opacity: .07; }
.appt-info::after, .cta-band::before { filter: brightness(0) invert(1); opacity: .12; }

/* keep menu items and short info lines on one line */
.nav > li > a, .nav > li > button { white-space: nowrap; }
.quick-item p { text-wrap: pretty; hyphens: none; }
@media (min-width: 1101px) and (max-width: 1260px) {
  .nav > li > a, .nav > li > button { padding: 10px 9px; font-size: .84rem; }
  .brand img { height: 50px; }
  .header-actions .btn { padding: 10px 14px; font-size: .8rem; }
}
.brand { flex: none; }
.brand img { max-width: none; }

/* ==========================================================
   v3 polish
   ========================================================== */
html { scrollbar-color: var(--brand) #f3edf1; }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: #f6f1f4; }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 10px; border: 2px solid #f6f1f4; }
main { animation: page-in .6s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* live OPD status */
.opd-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); white-space: nowrap; }
.opd-pill i { width: 8px; height: 8px; border-radius: 50%; background: #fff; margin: 0; opacity: 1; }
.opd-pill.is-open i { animation: pulse-w 1.8s infinite; }
.opd-pill.is-closed { background: rgba(0, 0, 0, .18); } .opd-pill.is-closed i { opacity: .55; }
.opd-pill.sm { background: var(--lilac); color: var(--brand-dark); margin: 6px 0 2px; font-size: .72rem; padding: 3px 10px; }
.opd-pill.sm i { background: var(--brand); }
.opd-pill.sm.is-open i { animation: pulse 1.8s infinite; }
.opd-pill.sm.is-closed { background: #f3f0f4; color: var(--muted); } .opd-pill.sm.is-closed i { background: #aaa3b2; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(220, 23, 133, .55); } 70% { box-shadow: 0 0 0 8px rgba(220, 23, 133, 0); } 100% { box-shadow: 0 0 0 0 rgba(220, 23, 133, 0); } }

/* header shrinks on scroll */
.header .container, .brand img { transition: height .3s; }
.header.scrolled .container { height: 70px; }
.header.scrolled .brand img { height: 50px; }

/* page hero: dotted texture + pill breadcrumbs */
.crumbs { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); width: fit-content; padding: 7px 16px; border-radius: 999px; }
.page-hero h1 { letter-spacing: -.02em; }

/* ribbon marquee */
.ribbon { padding: 18px 0; }
.ribbon-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; padding-left: 56px; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon span { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* treatment quick facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: -10px 0 40px; }
.facts li { display: flex; gap: 12px; align-items: center; background: var(--blush); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.facts i { width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .9rem; flex: none; }
.facts small { display: block; color: var(--muted); font-size: .7rem; line-height: 1.2; }
.facts b { font-size: .8rem; font-weight: 600; line-height: 1.3; display: block; }

/* testimonial rating summary */
.rating-sum { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 20px; box-shadow: var(--shadow-sm); }
.rating-sum b { font-size: .88rem; font-weight: 600; }

/* cards */
.treat, .blog, .doc-card, .svc-card, .value, .tool, .side-card, .dp-block, .c-card, .tl-item, .step { border-radius: 20px; }
.treat, .blog, .doc-card { transition: transform .35s, box-shadow .35s, border-color .35s; }
.treat:hover, .blog:hover, .doc-card:hover { box-shadow: 0 28px 50px -28px rgba(27, 23, 34, .35); }
.treat-grid > :nth-child(3n+2), .blog-grid > :nth-child(3n+2), .svc-grid > :nth-child(4n+2) { transition-delay: .08s; }
.treat-grid > :nth-child(3n), .blog-grid > :nth-child(3n), .svc-grid > :nth-child(4n+3) { transition-delay: .16s; }
.svc-grid > :nth-child(4n) { transition-delay: .24s; }
.btn i.fa-arrow-right { transition: transform .25s; }
.btn:hover i.fa-arrow-right { transform: translateX(5px); }
.treat .img::after { content: ""; position: absolute; inset: 0; background: rgba(27, 23, 34, 0); transition: background .35s; }
.treat:hover .img::after { background: rgba(27, 23, 34, .18); }
.treat .tag, .treat .ic { z-index: 2; }
.g-item::before { content: "\f00e"; font: 900 1.1rem 'Font Awesome 6 Free'; position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: .3s; }
.g-item:hover::before { opacity: 1; transform: none; }

/* sections */
.section { padding: 96px 0; }
.section-head { margin-bottom: 52px; }
.section-head h2 { letter-spacing: -.02em; }
.about h2, .split h2 { letter-spacing: -.02em; }

/* footer: rounded top edge sits over the CTA band */
.cta-band { padding-bottom: 96px; }
.footer { border-radius: 36px 36px 0 0; margin-top: -40px; position: relative; z-index: 2; }
.footer-bottom { color: #9a94a6; }

/* inputs */
.field input:hover, .field select:hover, .field textarea:hover { border-color: #e3c3d5; }
.search-input input:hover { border-color: #e3c3d5; }

@media (max-width: 960px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .opd-pill:not(.sm) { display: none; }
  .crumbs { border-radius: 14px; }
  .footer { border-radius: 26px 26px 0 0; }
}

/* ---------- Team of specialists (home) ---------- */
.team-wrap { display: grid; grid-template-columns: 340px 1fr; background: var(--blush); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; }
.team-side { background: var(--brand); color: #fff; padding: 52px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; position: relative; z-index: 1; }
.team-side::after { content: ""; position: absolute; left: -90px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .1); z-index: -1; }
.team-side .eyebrow { background: rgba(255, 255, 255, .18); color: #fff; padding: 6px 16px; border-radius: 999px; margin: 0; }
.team-side .eyebrow::before { display: none; }
.team-side h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 0; }
.team-side p { margin: 0; opacity: .94; font-size: .95rem; }
.team-call { display: flex; align-items: center; gap: 12px; background: var(--purple-deep); color: #fff; border-radius: 999px; padding: 8px 22px 8px 8px; margin-top: 10px; font-weight: 600; font-size: .92rem; transition: .25s; }
.team-call:hover { transform: translateY(-3px); }
.team-call i { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.team-call small { display: block; font-size: .68rem; font-weight: 400; opacity: .75; line-height: 1.2; }
.team-main { position: relative; z-index: 2; min-width: 0; padding: 24px 28px 28px 28px; }
.team-nav { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 10px; }
.team-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--purple-deep); background: #fff; color: var(--purple-deep); cursor: pointer; transition: .25s; }
.team-nav button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.team-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: 0; padding: 10px 6px 18px 6px; scrollbar-width: none; }
.team-track::-webkit-scrollbar { display: none; }
.tcard { flex: 0 0 258px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px 14px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s; display: flex; flex-direction: column; }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand); }
.tc-photo { display: block; aspect-ratio: 1 / 1.08; border-radius: 14px; overflow: hidden; background: var(--lilac); margin-bottom: 16px; }
.tc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% top; transition: transform .6s; }
.tcard:hover .tc-photo img { transform: scale(1.05); }
.tc-photo .avatar-ph { width: 100%; height: 100%; font-size: 4rem; background: var(--lilac); color: var(--brand); }
.tcard h3 { font-size: 1.05rem; margin: 0; }
.tc-line { display: block; width: 46px; height: 3px; border-radius: 3px; background: var(--brand); margin: 9px auto 10px; }
.tc-spec { color: var(--brand); font-weight: 600; font-size: .82rem; line-height: 1.45; min-height: 2.4em; }
.tc-role { font-weight: 600; font-size: .86rem; margin: 6px 0 18px; color: var(--ink); flex: 1; }
.tc-actions { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.tc-btn { background: #f1eef2; color: var(--ink); padding: 8px 16px; border-radius: 9px; font-weight: 600; font-size: .8rem; display: inline-flex; gap: 8px; align-items: center; transition: .25s; }
.tc-btn:hover { background: var(--brand); color: #fff; }
.tc-link { font-weight: 500; font-size: .82rem; display: inline-flex; gap: 8px; align-items: center; transition: color .2s; }
.tc-link:hover { color: var(--brand); }
.tc-cta { background: var(--purple-deep); color: #fff; justify-content: center; align-items: center; gap: 12px; padding: 30px 24px; border-color: var(--purple-deep); }
.tc-cta > i { width: 62px; height: 62px; border-radius: 18px; background: var(--brand); display: grid; place-items: center; font-size: 1.6rem; }
.tc-cta h3 { color: #fff; font-size: 1.15rem; }
.tc-cta p { color: #bdb7c6; font-size: .86rem; margin: 0; }
.tc-link.light { color: #fff; } .tc-link.light:hover { color: #ff8cc7; }
@media (max-width: 960px) {
  .team-wrap { grid-template-columns: 1fr; }
  .team-side { padding: 38px 28px; }
  .team-main { padding: 18px 18px 24px; }
  .team-track { margin-left: 0; }
}
@media (max-width: 640px) { .tcard { flex-basis: 78%; } }
.team-wrap { grid-template-columns: 380px 1fr; }
.team-side { padding-right: 40px; }
@media (max-width: 960px) {
  .team-wrap { grid-template-columns: 1fr; }
  .team-side { padding-right: 28px; }
  .team-main { padding: 18px 18px 24px; }
}
.team-track { margin-left: 0; }
@media (min-width: 1100px) { .topbar .container { flex-wrap: nowrap; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hero.hero-banner { padding: 0; background: #fff; }
.hero-slider { position: relative; overflow: hidden; width: 100%; }
.hero-slides { display: flex; transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.hero-slide { position: relative; flex: 0 0 100%; }
.hero-slide img { width: 100%; height: auto; display: block; }
.hero-banner-cta {
  position: absolute; left: 4.2%; top: 61%; width: 24%; height: 8%;
  color: transparent; font-size: 0; overflow: hidden;
}
.hero-nav {
  position: absolute; top: 46%; z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; color: #1c1614; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.45);
  display: grid; place-items: center;
}
.hero-nav.prev { left: 16px; }
.hero-nav.next { right: 16px; }
.hero-nav:hover { background: #ec008b; color: #fff; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2;
  display: flex; justify-content: center; gap: 8px;
}
.hero-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px;
  background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(0,0,0,.12);
  cursor: pointer;
}
.hero-dots button.is-on { width: 26px; background: #ec008b; }
.hero.hero-banner + .quick { margin-top: 0 !important; background: #fff; border-bottom: 1px solid var(--line); }
.hero.hero-banner + .quick .container { width: 100%; max-width: none; }
.hero.hero-banner + .quick .quick-grid {
  border: 0; border-radius: 0; box-shadow: none; background: transparent;
}
.hero.hero-banner + .quick .quick-item { align-items: center; padding: 22px 36px; }
.header .header-actions .btn--primary {
  background: #5bbe88;
  border-color: #5bbe88;
  box-shadow: none;
}
.header .header-actions .btn--primary:hover { background: #45a874; border-color: #45a874; }

.ai-launch {
  position: fixed; right: 90px; bottom: 22px; z-index: 46;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  max-width: calc(100% - 110px);
}
.ai-launch-card {
  display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: min(240px, calc(100vw - 40px));
  padding: 8px 12px 8px 8px;
  background: #fff; border: 1px solid rgba(20, 16, 22, .08);
  border-radius: 999px;
  box-shadow: 0 16px 36px -16px rgba(20, 16, 22, .55), 0 0 0 1px rgba(255,255,255,.6);
  transition: transform .2s, box-shadow .2s;
}
.ai-launch:hover .ai-launch-card {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -16px rgba(20, 16, 22, .6);
}
.ai-launch-photo {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  overflow: hidden; background: linear-gradient(160deg, #e8f7ef, #fde8f4);
  border: 2px solid #fff; box-shadow: 0 4px 10px rgba(20,16,22,.12);
}
.ai-launch-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.ai-launch-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; }
.ai-launch-copy strong { font: 700 .92rem/1.15 var(--font); color: #1b1722; letter-spacing: -.01em; }
.ai-launch-copy em { font: 500 .72rem/1.2 var(--font); color: #6e6874; font-style: normal; }
.ai-launch-go {
  margin-left: auto; width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #5bbe88; color: #fff; font-size: .9rem;
}
.ai-launch.is-open { display: none; }
body.ai-open { overflow: hidden; }
.ai-panel {
  position: fixed; top: 0; left: 0; right: 0; bottom: auto; z-index: 80;
  width: 100%; max-width: 100%; min-width: 0;
  height: 100svh; max-height: 100svh;
  background: #f4e7f6; border-radius: 0; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: none; border: 0;
}
.ai-panel[hidden] { display: none; }
.ai-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px; background: #f7eef8; color: #2a2030; min-width: 0; flex: none; }
.ai-head img { width: 42px; height: 42px; border-radius: 50%; background: #f6f1ea; object-fit: cover; object-position: center 8%; padding: 0; flex: none; box-shadow: 0 0 0 2px #fff; }
.ai-head > div { min-width: 0; }
.ai-head b { display: block; font-size: .98rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: #2a2030; }
.ai-head small { display: flex; align-items: center; gap: 6px; color: #8d7396; font-size: .72rem; min-width: 0; }
.ai-dot { width: 7px; height: 7px; border-radius: 50%; background: #3dce7a; box-shadow: 0 0 0 3px rgba(61,206,122,.22); }
.ai-x {
  margin-left: auto; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: #efe3f4; color: #6a4d74; cursor: pointer;
  display: grid; place-items: center;
}
.ai-x:hover { background: #e7d4ef; }
.ai-log {
  flex: 1 1 auto; overflow: auto; overflow-x: hidden; padding: 8px 14px 14px;
  display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0;
  background: #f4e7f6;
  scrollbar-width: thin; scrollbar-color: #e2c6ea transparent;
}
.ai-when {
  align-self: center; margin: 4px 0 2px; padding: 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,.72); color: #8a6496; font-size: .72rem; font-weight: 600;
}
.ai-log::-webkit-scrollbar { width: 8px; }
.ai-log::-webkit-scrollbar-track { background: transparent; }
.ai-log::-webkit-scrollbar-thumb { background: #d5d0d8; border-radius: 99px; }
.ai-msg { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 100%; min-width: 0; }
.ai-msg.me { align-items: flex-end; }
.ai-say {
  background: #fff; color: #2c2432; border: 0;
  border-radius: 16px; padding: 12px 14px;
  font-size: .9rem; line-height: 1.5; max-width: 100%; min-width: 0;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 18px -14px rgba(120, 50, 100, .55);
}
.ai-say b { font-weight: 700; color: #9a2068; }
.ai-msg.me .ai-say {
  background: #f7cfe4; color: #4a1834; border: 0;
  border-radius: 16px 16px 6px 16px; max-width: 86%;
}
.ai-say.is-title {
  background: transparent; border: 0; padding: 0 2px;
  font-weight: 600; font-size: .92rem; letter-spacing: -.01em;
}
.ai-days { display: flex; flex-direction: column; gap: 8px; width: 100%; min-width: 0; max-width: 100%; }
.ai-day { background: #fff; border: 1px solid #f3d7ec; border-radius: 16px; padding: 12px 12px 13px; box-shadow: 0 10px 20px -16px rgba(160, 60, 110, .45); }
.ai-day-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ai-day-top div { display: flex; flex-direction: column; gap: 1px; }
.ai-day-top b { font-size: .84rem; font-weight: 600; color: #1b1722; }
.ai-day-top span { font-size: .72rem; color: #7a7380; }
.ai-count {
  font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .01em;
  border-radius: 99px; padding: 4px 8px; background: #e7f6ee; color: #187a45; white-space: nowrap;
}
.ai-count.is-full, .ai-count.is-closed { background: #f3f1f4; color: #6e6874; }
.ai-times { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.ai-time {
  border-radius: 999px; border: 1px solid transparent;
  min-width: 74px; padding: 7px 10px; font: 600 .74rem var(--font); line-height: 1; cursor: pointer; text-align: center;
}
.ai-time:nth-child(5n+1) { background: #e7f8ee; color: #157a42; border-color: #b7e7c9; }
.ai-time:nth-child(5n+2) { background: #fde8f4; color: #b01270; border-color: #f6c0de; }
.ai-time:nth-child(5n+3) { background: #efe7fb; color: #6a3d9a; border-color: #d8c4f2; }
.ai-time:nth-child(5n+4) { background: #fff1e4; color: #b85a12; border-color: #f6d3ae; }
.ai-time:nth-child(5n+5) { background: #e7f4fc; color: #1a6fa3; border-color: #b9ddf3; }
.ai-time:hover { filter: brightness(.97); }
.ai-time.is-on { background: #dc1785; border-color: #dc1785; color: #fff; box-shadow: 0 8px 14px -8px rgba(220,23,133,.8); }
.ai-time:disabled { cursor: default; }
.ai-time:disabled:not(.is-on) { opacity: .4; }
.ai-sheet, .ai-receipt {
  width: 100%; background: #fff; border: 1px solid #ece8ee; border-radius: 16px;
  padding: 12px; box-shadow: 0 10px 22px -18px rgba(20,16,22,.7);
}
.ai-sheet-top { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.ai-sheet-top b { font-size: 1.15rem; letter-spacing: -.02em; color: #1b1722; }
.ai-sheet-top span { font-size: .75rem; color: #6e6874; }
.ai-book-form { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ai-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ai-field > span { font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #7a7380; }
.ai-book-form input {
  width: 100%; border: 1px solid #e3dee6; border-radius: 12px; background: #faf9fb;
  padding: 11px 12px; font: 500 .88rem var(--font); color: #1b1722; outline: none;
}
.ai-book-form input:focus { border-color: #5bbe88; background: #fff; }
.ai-split { display: grid; grid-template-columns: 1.4fr .6fr; gap: 8px; }
.ai-check { display: flex; gap: 8px; align-items: flex-start; font-size: .75rem; line-height: 1.4; color: #3d3742; }
.ai-check input { margin-top: 2px; accent-color: #5bbe88; }
.ai-err { margin: 0; color: #b42318; font-size: .75rem; }
.ai-book-form .ai-reply { width: 100%; border-radius: 12px; padding: 11px 12px; }
.ai-receipt-head { display: flex; gap: 10px; align-items: flex-start; }
.ai-receipt-head i { color: #187a45; font-size: 1.25rem; margin-top: 1px; }
.ai-receipt-head b { display: block; font-size: .95rem; color: #1b1722; }
.ai-receipt-head span { display: block; margin-top: 2px; color: #6e6874; font-size: .75rem; line-height: 1.4; }
.ai-id {
  margin: 12px 0 8px; padding: 8px 10px; border-radius: 10px;
  background: #f4f2f5; text-align: center; font: 700 .95rem/1.2 ui-monospace, Consolas, monospace;
  letter-spacing: .04em; color: #1b1722;
}
.ai-receipt dl { margin: 0; display: flex; flex-direction: column; }
.ai-receipt dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #f0eef2; }
.ai-receipt dt { color: #7a7380; font-size: .75rem; }
.ai-receipt dd { margin: 0; font-size: .82rem; font-weight: 600; color: #1b1722; text-align: right; }
.ai-detail, .ai-note { margin: 0; color: #6e6874; font-size: .78rem; line-height: 1.45; }
.ai-detail { margin-top: 6px; color: #3d3742; }
.ai-replies { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 100%; min-width: 0; }
.ai-replies .ai-reply:only-child { grid-column: 1 / -1; }
.ai-reply {
  display: flex; align-items: center; justify-content: center;
  background: #f8eefe; color: #7a3f93; border: 1.5px solid #e4c6f3; text-decoration: none;
  border-radius: 999px; padding: 10px 12px; font: 600 .8rem/1.25 var(--font); cursor: pointer;
  min-height: 42px; max-width: 100%; white-space: normal; text-align: center; overflow-wrap: anywhere;
}
.ai-reply:nth-child(2n) { background: #fdeef6; border-color: #f5c6df; color: #b42378; }
.ai-reply:hover { filter: brightness(.98); }
.ai-reply.is-go { background: #fff; border-color: #dc1785; color: #dc1785; }
.ai-reply.is-go:hover { background: #fff6fa; }
.ai-form {
  display: flex; gap: 8px; align-items: center; flex: none;
  padding: 10px 12px 16px; background: #f4e7f6; border-top: 0;
}
.ai-form input {
  flex: 1; min-width: 0; width: 100%; border: 1px solid #edd7f3; border-radius: 999px; background: #fff;
  padding: 13px 16px; font: 400 .9rem var(--font); color: #1b1722; outline: none;
  box-shadow: 0 8px 16px -12px rgba(120, 40, 90, .45);
}
.ai-form input::placeholder { color: #b39bb8; }
.ai-form button {
  width: 44px; height: 44px; flex: 0 0 44px; border: 0; border-radius: 50%;
  background: #dc1785; color: #fff; cursor: pointer;
}
.ai-form button:hover { background: #b30f6b; }
@media (max-width: 640px) {
  .ai-launch { right: 12px; bottom: 96px; max-width: calc(100% - 24px); }
  .ai-launch-card { max-width: min(200px, calc(100% - 24px)); padding: 7px 10px 7px 7px; }
  .ai-launch-photo { width: 46px; height: 46px; }
  .ai-launch-copy strong { font-size: .84rem; }
  .ai-launch-copy em { display: none; }
  .ai-launch-go { width: 30px; height: 30px; font-size: .8rem; }
  .social-rail { display: none; }
  body.ai-open { overflow: hidden; }
  body.ai-open .mbar { visibility: hidden; }
  .ai-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100svh;
    max-height: 100svh;
    border-radius: 0;
    border: 0;
    overflow: hidden;
  }
  .ai-head { padding: calc(12px + env(safe-area-inset-top)) 14px 10px; }
  .ai-log { padding: 8px 14px 12px; }
  .ai-replies { gap: 8px; }
  .ai-reply { padding: 10px 12px; }
  .ai-form { padding: 10px 12px calc(16px + env(safe-area-inset-bottom)); }
  .ai-form input { padding: 11px 12px; font-size: .84rem; }
  .ai-day-top { align-items: flex-start; }
  .ai-sheet-top span, .ai-day-top span { overflow-wrap: anywhere; }
  .appt-section { padding: 24px 0 100px; }
  .appt-section .container { width: calc(100% - 20px); }
  .form { margin: 0; padding: 20px 14px; border-radius: 18px; }
  .stepper { margin-bottom: 24px; }
  .stepper li span { width: 36px; height: 36px; font-size: .82rem; margin-bottom: 6px; }
  .stepper li b { font-size: .68rem; line-height: 1.25; display: block; }
  .pick { padding: 12px; gap: 12px; }
  .seg { display: flex; width: 100%; max-width: 100%; }
  .seg button { flex: 1; padding: 10px 8px; }
  .sum-card { width: 100%; }
}

/* Booking page: keep content clear of floating widgets */
body[data-page="appointment"] .social-rail { display: none; }
body[data-page="appointment"] .appt-section { padding-right: 0; }
@media (max-width: 1100px) {
  .appt-layout { grid-template-columns: 1fr; }
  .sum-card { position: static; }
}
.topbar { background: #000 !important; color: #f2f2f2; font-size: .75rem; }
.topbar .container { padding: 3px 0 !important; }
.topbar i { color: #fff; }
.topbar .opd-pill { padding: 1px 8px; font-size: .72rem; }
@media (max-width: 760px) {
  .hero-nav { width: 36px; height: 36px; top: 42%; }
  .hero-nav.prev { left: 8px; }
  .hero-nav.next { right: 8px; }
  .hero-banner-cta { height: 7%; }
}

/* Keep illustration treatment covers fully visible */
.treat .img img[src*="treat-gynae"] {
  object-fit: contain;
  object-position: center;
  background: #f4f8fc;
}
.td-banner img[src*="treat-gynae"] {
  object-fit: contain;
  background: #f4f8fc;
}

/* ---------- Doctors page ---------- */
.docs-top {
  position: relative; overflow: hidden; padding: 56px 0 72px;
  background: linear-gradient(160deg, #fff6fa 0%, #fdeaf4 42%, #fff 100%);
}
.docs-top-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(520px 320px at 92% 18%, rgba(220, 23, 133, .14), transparent 70%),
    radial-gradient(420px 280px at 8% 90%, rgba(220, 23, 133, .08), transparent 65%);
}
.docs-top-bg::after {
  content: ""; position: absolute; right: -6%; top: -18%; width: 420px; height: 420px;
  background: url('../images/logo-icon.png') center/contain no-repeat; opacity: .05;
  transform: rotate(-8deg);
}
.docs-top-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.docs-top-copy .crumbs { margin-bottom: 18px; }
.docs-top-copy .crumbs, .docs-top-copy .crumbs a { color: var(--muted); font-size: .84rem; }
.docs-top-copy .crumbs a:hover { color: var(--brand); }
.docs-top-copy .crumbs i { font-size: .55rem; margin: 0 8px; opacity: .55; }
.docs-brand {
  margin: 0 0 10px; font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 700;
  color: var(--brand); letter-spacing: -.01em;
}
.docs-top-copy h1 {
  margin: 0 0 14px; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.08; color: var(--purple-deep);
}
.docs-lead {
  margin: 0 0 28px; max-width: 36ch; color: var(--muted); font-size: 1.05rem; line-height: 1.6;
}
.docs-top-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.docs-top-portraits {
  position: relative; min-height: 340px; display: flex; align-items: center; justify-content: center;
}
.docs-portrait {
  position: absolute; width: min(240px, 42vw); aspect-ratio: 4/5; border-radius: 28px;
  overflow: hidden; border: 5px solid #fff; box-shadow: 0 22px 48px -20px rgba(27, 23, 34, .4);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.docs-portrait img, .docs-portrait .avatar-ph {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
}
.docs-portrait .avatar-ph { font-size: 3.5rem; background: var(--lilac); color: var(--brand); }
.docs-portrait.p0 { left: 8%; transform: rotate(-4deg); z-index: 2; }
.docs-portrait.p1 { right: 6%; transform: rotate(5deg) translateY(28px); z-index: 1; width: min(210px, 36vw); }
.docs-portrait:hover { z-index: 3; transform: rotate(0deg) translateY(-6px) scale(1.03); }

.docs-roster { padding: 8px 0 88px; background: #fff; }
.docs-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  max-width: 1040px; margin-inline: auto;
}
.doc-profile {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.doc-profile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #f0b9d6; }
.doc-profile.is-flip .doc-profile-photo { order: 0; }
.doc-profile-photo {
  position: relative; overflow: hidden; aspect-ratio: 5 / 4;
  background: var(--lilac); flex: none;
}
.doc-profile-photo a { display: block; height: 100%; }
.doc-profile-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform .7s ease;
}
.doc-profile:hover .doc-profile-photo img { transform: scale(1.04); }
.doc-profile-photo .avatar-ph {
  width: 100%; height: 100%; font-size: 4rem;
  background: var(--lilac); color: var(--brand);
}
.doc-years {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(27, 23, 34, .88); color: #fff; backdrop-filter: blur(8px);
  border-radius: 14px; padding: 8px 12px; font-size: .68rem; line-height: 1.2;
}
.doc-years b { display: block; font-size: 1.15rem; font-weight: 700; }
.doc-profile-info {
  padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1;
}
.doc-kicker {
  margin: 0 0 8px; color: var(--brand); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}
.doc-profile-info h2 {
  margin: 0 0 6px; font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700;
  letter-spacing: -.02em; line-height: 1.2;
}
.doc-profile-info h2 a:hover { color: var(--brand); }
.doc-title {
  margin: 0 0 10px; color: var(--muted); font-size: .9rem; font-weight: 500; line-height: 1.45;
}
.doc-focus {
  margin: 0 0 16px; color: var(--purple-dark); font-size: .82rem; line-height: 1.5;
}
.doc-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px;
  margin: 0 0 18px; padding-top: 14px; border-top: 1px solid var(--line);
}
.doc-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.doc-facts dt {
  font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.doc-facts dd { margin: 0; font-size: .84rem; font-weight: 500; color: var(--ink); line-height: 1.4; }
.doc-profile-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.doc-profile-cta .btn { flex: 1; min-width: 120px; padding: 11px 16px; font-size: .85rem; justify-content: center; }
.docs-testi { background: var(--blush); padding-top: 80px; padding-bottom: 90px; }

/* ---------- Blogs page ---------- */
.blogs-feat {
  display: grid; grid-template-columns: minmax(240px, 42%) 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .3s, box-shadow .3s, border-color .3s; margin-bottom: 36px;
}
.blogs-feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #f0b9d6; }
.blogs-feat-media {
  background: linear-gradient(145deg, #f3e8ff, #fdeaf4);
  display: grid; place-items: center; padding: 28px 24px; min-height: 260px;
}
.blogs-feat-media img {
  width: 100%; max-height: 260px; height: auto; object-fit: contain; display: block;
}
.blogs-feat-copy {
  padding: 32px 36px; display: flex; flex-direction: column; justify-content: center;
  min-width: 0;
}
.blogs-feat-copy .pill { align-self: flex-start; margin-bottom: 12px; }
.blogs-feat-copy h2 {
  margin: 0 0 10px; font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 700;
  line-height: 1.25; letter-spacing: -.02em; color: var(--purple-deep);
}
.blogs-feat-copy p {
  margin: 0 0 20px; color: var(--muted); font-size: .95rem; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blogs-feat-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--muted); font-size: .84rem;
}
.blogs-feat-foot i { color: var(--brand); margin-right: 6px; }

.blogs-body { padding-top: 56px; }
.blogs-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px; padding: 12px; background: var(--blush); border: 1px solid var(--line);
  border-radius: 18px;
}
.blogs-toolbar .tabs { gap: 8px; }
.blogs-toolbar .tab {
  border: 1px solid transparent; background: #fff; color: var(--muted);
  padding: 9px 16px; border-radius: 999px; font: 600 .82rem var(--font); cursor: pointer;
  transition: .2s;
}
.blogs-toolbar .tab:hover { color: var(--brand); border-color: #f0b9d6; }
.blogs-toolbar .tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.blogs-toolbar .search-input { flex: 0 1 280px; }
.blogs-toolbar .search-input input {
  background: #fff; border-radius: 999px; padding: 11px 16px 11px 42px; font-size: .88rem;
}
.blogs-more { margin-top: 40px; }
.blogs-more .btn { min-width: 180px; }

@media (max-width: 860px) {
  .blogs-feat { grid-template-columns: 1fr; }
  .blogs-feat-media { min-height: 200px; padding: 20px; }
  .blogs-feat-media img { max-height: 200px; }
  .blogs-feat-copy { padding: 24px 22px 28px; }
}
@media (max-width: 560px) {
  .blogs-toolbar { padding: 10px; }
  .blogs-toolbar .search-input { flex: 1 1 100%; }
}

@media (max-width: 960px) {
  .docs-top-grid { grid-template-columns: 1fr; gap: 36px; }
  .docs-top-portraits { min-height: 280px; order: -1; }
  .docs-portrait.p0 { left: 12%; }
  .docs-portrait.p1 { right: 10%; }
  .docs-list { gap: 22px; }
}
@media (max-width: 760px) {
  .docs-list { grid-template-columns: 1fr; max-width: 480px; }
}
@media (max-width: 560px) {
  .docs-top { padding: 36px 0 48px; }
  .docs-top-portraits { min-height: 220px; }
  .docs-portrait { border-width: 3px; border-radius: 20px; }
  .docs-roster { padding: 0 0 56px; }
  .doc-profile-cta { flex-direction: column; }
  .doc-profile-cta .btn { width: 100%; }
}

/* Mobile menu must sit above the dim layer. Header is its own layer, so the
   drawer was painting underneath the backdrop and the links looked washed out. */
@media (max-width: 1100px) {
  .header.menu-open { z-index: 90; }
  .nav {
    background: #fff;
    color: #1d1822;
    width: min(360px, 88%);
    padding: 92px 16px calc(28px + env(safe-area-inset-bottom));
  }
  .nav > li > a,
  .nav > li > button {
    color: #1d1822;
    background: transparent;
    white-space: normal;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
  }
  .nav > li > a:hover,
  .nav > li > button:hover,
  .nav > li > a.active,
  .nav > li > button.active {
    color: var(--brand);
    background: var(--lilac);
  }
  .nav > li > a.active::after,
  .nav > li > button.active::after { display: none; }
  .has-drop.open > button i { transform: rotate(180deg); }
  .drop a { color: #1d1822; white-space: normal; }
  body.no-scroll .mbar { visibility: hidden; }
}
@media (max-width: 640px) {
  .nav { width: 100%; max-width: 100%; }
  .mbar {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 8px;
    z-index: 40;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr) minmax(0, .82fr);
    gap: 6px;
  }
  .mbar a {
    min-width: 0;
    padding: 12px 4px;
    font-size: .72rem;
    gap: 4px;
    overflow: hidden;
  }
  .mbar a.main { font-size: .7rem; padding-inline: 8px; }
  .ai-launch,
  .fab { bottom: calc(84px + env(safe-area-inset-bottom)); }
}