/* ==========================================================================
   NavChetna Clinic theme
   Palette taken from the clinic brochure: navy, teal, Ayurveda green, saffron.
   ========================================================================== */

:root {
	--navy: #123a63;
	--navy-900: #0b2846;
	--teal: #0b7a85;
	--teal-300: #9fe3e8;
	--green: #2e8b57;
	--saffron: #e08a1e;
	--ink: #1d2b3a;
	--muted: #5b6b7c;
	--line: #d6e3ec;
	--sky: #eaf4fa;
	--sky-50: #f5fafd;
	--mint: #edf7ef;
	--white: #fff;
	--radius: 18px;
	--shadow: 0 10px 30px rgba(18, 58, 99, .08);
	--shadow-lg: 0 18px 50px rgba(18, 58, 99, .14);
	--font-body: "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;
	--font-head: "Fraunces", Georgia, "Times New Roman", serif;
	--header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.075rem; line-height: 1.65; color: var(--ink); background: var(--sky-50); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h3, h4 { font-family: var(--font-body); letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.container--content { width: min(820px, 100% - 2.5rem); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.eyebrow { margin: 0 0 .75rem; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.eyebrow--pill { display: inline-block; padding: .35rem .9rem; border-radius: 999px; background: rgba(11, 122, 133, .1); letter-spacing: .06em; }
.lead { font-size: 1.2rem; color: var(--muted); }

.nc-btn--lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.nc-btn--green { background: var(--green); color: #fff !important; }
.nc-btn--green:hover { background: #24714a; }
.nc-btn--outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff !important; }
.nc-btn--outline-light:hover { background: rgba(255,255,255,.12); }
.nc-link--light { color: #fff; }

/* Announcement & top bar ---------------------------------------------------- */
.announcement { background: var(--saffron); color: #fff; text-align: center; font-weight: 600; padding: .45rem 0; font-size: .95rem; }
.topbar { background: var(--navy-900); color: rgba(255,255,255,.85); font-size: .9rem; }
.topbar__inner { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; padding: .45rem 0; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__item .nc-icon { color: var(--teal-300); width: 1rem; height: 1rem; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar__phone { margin-left: auto; }

/* Header -------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(18,58,99,.08); border-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy); }
.brand__logo { width: 62px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--navy); letter-spacing: .01em; }
.brand__tag { font-size: .85rem; font-weight: 600; color: var(--teal); letter-spacing: .08em; text-transform: uppercase; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__tag { color: var(--teal-300); }
.brand--light .brand__logo { background: #fff; border-radius: 14px; padding: 6px; width: 72px; }

.primary-nav { display: flex; align-items: center; gap: 1.25rem; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu a { display: block; padding: .55rem .8rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.02rem; }
.primary-nav .menu a:hover, .primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current_page_item > a { color: var(--teal); background: var(--sky); }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: .5rem; position: absolute; left: 0; top: 100%; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .menu-item-has-children > a::after { content: "▾"; margin-left: .35rem; font-size: .8em; color: var(--muted); }
.nav-toggle { display: none; border: 0; background: var(--sky); color: var(--navy); width: 46px; height: 46px; border-radius: 12px; cursor: pointer; }
.nav-toggle .nc-icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle__close { display: none; }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-grid; place-items: center; }
	.primary-nav { position: fixed; inset: calc(var(--header-h)) 0 0 0; flex-direction: column; align-items: stretch; gap: 1rem; padding: 1.25rem 1.25rem 6rem; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
	.nav-open .primary-nav { transform: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav .menu a { padding: .85rem 1rem; font-size: 1.1rem; border-bottom: 1px solid var(--sky); border-radius: 0; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; }
	.primary-nav .menu-item-has-children > a::after { content: none; }
	.topbar__address { display: none; }
	body.nav-open { overflow: hidden; }
}

/* Hero ---------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(5rem, 9vw, 8rem); background: linear-gradient(160deg, #fff 0%, var(--sky) 55%, #e3f3ef 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; background:
	radial-gradient(600px 400px at 85% 20%, rgba(11,122,133,.13), transparent 70%),
	radial-gradient(500px 380px at 5% 90%, rgba(46,139,87,.12), transparent 70%),
	radial-gradient(300px 220px at 60% 100%, rgba(224,138,30,.1), transparent 70%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.4rem, 5.2vw, 4rem); margin-bottom: 1.25rem; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 36em; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2rem; }
.hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--navy); font-weight: 600; }
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust .nc-icon { color: var(--teal); }
.hero__visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero__emblem { position: relative; width: min(420px, 90%); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg); }
.hero__emblem img { width: 74%; position: relative; z-index: 1; animation: nc-float 7s ease-in-out infinite; }
.hero__ring { position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed rgba(11,122,133,.25); animation: nc-spin 60s linear infinite; }
.hero__photo { width: 100%; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.hero__doc { position: absolute; z-index: 2; display: flex; align-items: center; gap: .75rem; padding: .6rem 1.1rem .6rem .6rem; background: #fff; border-radius: 999px; box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); max-width: 320px; transition: transform .2s ease; }
.hero__doc:hover { transform: translateY(-3px); }
.hero__doc img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.hero__doc strong { display: block; font-size: .98rem; color: var(--navy); line-height: 1.2; }
.hero__doc small { display: block; font-size: .82rem; color: var(--teal); font-weight: 600; }
.hero__doc--0 { left: -4%; bottom: 14%; }
.hero__doc--1 { right: -4%; top: 8%; }
.hero__doc--1 small { color: var(--green); }
@keyframes nc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes nc-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { min-height: 0; padding: 1rem 0 5rem; }
	.hero__emblem { width: min(320px, 80%); }
	.hero__doc--0 { left: 0; bottom: 0; }
	.hero__doc--1 { right: 0; top: auto; bottom: -3.5rem; }
}

/* Info strip ---------------------------------------------------------------- */
.infostrip { position: relative; z-index: 3; margin-top: clamp(-4rem, -6vw, -3rem); }
.infostrip__grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.infostrip__item { display: flex; gap: 1rem; padding: 1.6rem 1.75rem; align-items: flex-start; }
.infostrip__item + .infostrip__item { border-left: 1px solid var(--line); }
.infostrip__item > .nc-icon { width: 2.8rem; height: 2.8rem; padding: .65rem; border-radius: 14px; background: var(--sky); color: var(--teal); }
.infostrip__item h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.infostrip__item p { margin: 0 0 .25rem; color: var(--muted); }
.infostrip__item--accent { background: var(--navy); color: #fff; }
.infostrip__item--accent h3 { color: var(--teal-300); }
.infostrip__item--accent > .nc-icon { background: rgba(255,255,255,.12); color: #fff; }
.infostrip__phone a { font-size: 1.75rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .02em; }
@media (max-width: 860px) {
	.infostrip__grid { grid-template-columns: 1fr; }
	.infostrip__item + .infostrip__item { border-left: 0; border-top: 1px solid var(--line); }
}

/* Sections ------------------------------------------------------------------ */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tint { background: linear-gradient(180deg, var(--sky) 0%, #f1f8f6 100%); }
.section--navy { background: radial-gradient(800px 400px at 10% 0%, rgba(11,122,133,.45), transparent 70%), var(--navy); color: #fff; }
.section--page { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.section-head .lead { margin: 0; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; text-align: left; }
.section-head--split h2 { margin: 0; }
.section-head__aside { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.section__more { text-align: center; margin: 2.5rem 0 0; }
.block-title { margin-top: 2.5rem; font-size: 1.6rem; }

/* About */
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__content h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.about__values { display: grid; gap: 1rem; }
.value-card { display: flex; gap: 1rem; padding: 1.35rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.value-card__icon { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: linear-gradient(135deg, var(--teal), var(--green)); color: #fff; }
.value-card h3 { margin: 0 0 .2rem; font-size: 1.15rem; }
.value-card p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* Departments */
.departments__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.dept { position: relative; overflow: hidden; padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.dept::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--sky); z-index: 0; }
.dept > * { position: relative; z-index: 1; }
.dept__icon { display: inline-grid; place-items: center; width: 3.75rem; height: 3.75rem; border-radius: 18px; background: var(--teal); color: #fff; margin-bottom: 1.25rem; }
.dept__icon .nc-icon { width: 1.9rem; height: 1.9rem; }
.dept h3 { font-family: var(--font-head); font-size: 1.65rem; }
.dept p { color: var(--muted); }
.dept .nc-checklist { margin: 1.25rem 0 1.75rem; }
.dept--green .dept__icon { background: var(--green); }
.dept--green::after { background: var(--mint); }
.dept--green h3 { color: #226b43; }
.dept--green .nc-checklist li::before { background-color: var(--green); }
@media (max-width: 860px) { .departments__grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding: 2rem 1.5rem 1.5rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); text-align: center; }
.step__num { position: absolute; top: -1rem; left: 50%; transform: translateX(-50%); width: 2rem; height: 2rem; border-radius: 50%; background: var(--saffron); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step__icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--sky); color: var(--teal); margin-bottom: .75rem; }
.step h3 { margin: 0 0 .4rem; font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* Stats band */
.stats-band { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* FAQ & contact layouts */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .faq-layout, .contact-layout { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { padding: clamp(2.5rem, 5vw, 3.5rem) 0; background: linear-gradient(120deg, var(--teal) 0%, var(--navy) 100%); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .35rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); max-width: 40em; }
.cta-band__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Page hero ----------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); background: linear-gradient(140deg, var(--navy) 0%, #15507a 60%, var(--teal) 100%); color: #fff; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 0%, rgba(159,227,232,.25), transparent 70%), radial-gradient(400px 260px at 0% 100%, rgba(46,139,87,.3), transparent 70%); }
.page-hero .container { position: relative; }
.page-hero__title { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin: 0 0 .5rem; }
.page-hero__lead { color: rgba(255,255,255,.88); font-size: 1.2rem; max-width: 46em; margin: 0; }
.page-hero .eyebrow { color: var(--teal-300); }
.page-hero .post-meta { color: rgba(255,255,255,.8); margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .92rem; margin-bottom: 1rem; color: rgba(255,255,255,.7); }
.breadcrumbs a { color: rgba(255,255,255,.9); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.page-figure { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Profile (doctor) */
.profile-hero { padding: clamp(2.5rem, 5vw, 4rem) 0; background: linear-gradient(160deg, #fff 0%, var(--sky) 100%); }
.profile-hero--green { background: linear-gradient(160deg, #fff 0%, var(--mint) 100%); }
.profile-hero__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.profile-hero__photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.profile-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.profile-hero .breadcrumbs, .profile-hero .breadcrumbs a { color: var(--muted); }
.profile-hero .page-hero__title { color: var(--navy); }
.profile-hero__qual { font-size: 1.25rem; font-weight: 700; color: var(--teal); }
.profile-hero--green .profile-hero__qual, .profile-hero--green .eyebrow { color: var(--green); }
.profile-hero--green .page-hero__title { color: #226b43; }
.profile-facts { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .5rem; color: var(--muted); }
.profile-facts li { display: flex; gap: .6rem; align-items: center; }
.profile-facts .nc-icon { color: var(--teal); }
.profile-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.profile-aside { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.aside-card h2 { font-family: var(--font-body); font-size: 1.15rem; margin-bottom: .9rem; }
.aside-card--blue { background: var(--sky); border-color: transparent; }
.aside-card--green { background: var(--mint); border-color: transparent; }
.aside-card--green .nc-checklist li::before { background-color: var(--green); }
.aside-card--cta { background: linear-gradient(140deg, var(--navy), var(--teal)); color: #fff; border: 0; display: grid; gap: .75rem; justify-items: start; }
.aside-card--cta h2 { color: #fff; margin: 0; }
.aside-card--cta p { margin: 0; color: rgba(255,255,255,.85); }
.aside-doctor { display: flex; gap: 1rem; align-items: center; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.aside-doctor img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.aside-doctor small { display: block; color: var(--muted); }
.aside-doctor strong { display: block; color: var(--navy); }
.aside-doctor em { display: block; font-style: normal; color: var(--teal); font-size: .9rem; font-weight: 600; }
@media (max-width: 960px) {
	.profile-hero__grid, .profile-layout { grid-template-columns: 1fr; }
	.profile-aside { position: static; }
}

/* Entry content ------------------------------------------------------------- */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.8em; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.6em; }
.entry-content ul:not([class]), .entry-content ol:not([class]) { padding-left: 1.3rem; }
.entry-content li + li { margin-top: .35em; }
.entry-content blockquote { margin: 1.5em 0; padding: 1rem 1.5rem; border-left: 4px solid var(--teal); background: var(--sky); border-radius: 0 12px 12px 0; }
.entry-content img { border-radius: 14px; }
.entry-content .alignwide { width: min(1100px, 100vw - 2.5rem); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .wp-block-button__link { border-radius: 999px; padding: .8rem 1.4rem; font-weight: 700; background: var(--teal); }
.entry-content .wp-block-columns { gap: 2rem; }
.entry-content .wp-block-group.has-background { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); }
.entry-content .wp-block-embed { margin: 1.5em 0; }
.entry-content .wp-block-embed iframe { border-radius: 14px; }
.has-navy-color { color: var(--navy) !important; } .has-navy-background-color { background-color: var(--navy) !important; }
.has-teal-color { color: var(--teal) !important; } .has-teal-background-color { background-color: var(--teal) !important; }
.has-green-color { color: var(--green) !important; } .has-green-background-color { background-color: var(--green) !important; }
.has-saffron-color { color: var(--saffron) !important; } .has-saffron-background-color { background-color: var(--saffron) !important; }
.has-sky-background-color { background-color: var(--sky) !important; } .has-mint-background-color { background-color: var(--mint) !important; }
.has-white-color { color: #fff !important; } .has-ink-color { color: var(--ink) !important; }
.lead-text { font-size: 1.2rem; color: var(--muted); }
.article-note { margin-top: 2.5rem; padding: 1rem 1.25rem; border-radius: 12px; background: #fff8ec; border: 1px solid #f3dcb5; color: #7a5212; font-size: .95rem; }
.post-navigation { margin-top: 2.5rem; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 1rem; }
.post-navigation a { font-weight: 700; text-decoration: none; }

/* Posts --------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.75rem; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(135deg, var(--sky), var(--mint)); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: block; height: 100%; background: url("../images/logo.png") center / 38% no-repeat; opacity: .55; mix-blend-mode: multiply; }
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font-family: var(--font-body); font-size: 1.25rem; margin: 0 0 .5rem; }
.post-card__title a { color: var(--navy); text-decoration: none; }
.post-card__body p { color: var(--muted); }
.post-meta { margin: auto 0 0; font-size: .88rem; color: var(--muted); }

/* Filter chips */
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-chips a { padding: .45rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 600; }
.filter-chips a.is-active, .filter-chips a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Search form */
.search-form { display: flex; gap: .5rem; margin-bottom: 2rem; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; }
.search-submit { padding: .8rem 1.4rem; border-radius: 999px; border: 0; background: var(--teal); color: #fff; font-weight: 700; cursor: pointer; }
.error-links { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Comments */
.comments-area { margin-top: 3rem; }
.comment-list { list-style: none; padding: 0; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.comment-form .submit { padding: .8rem 1.4rem; border-radius: 999px; border: 0; background: var(--teal); color: #fff; font-weight: 700; cursor: pointer; }

/* Footer -------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.78); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--teal-300); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr .8fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer__title { font-family: var(--font-body); color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer__title--sm { margin-top: 1.5rem; font-size: .9rem; }
.site-footer__values { margin: 1.25rem 0; color: var(--teal-300); font-weight: 600; }
.site-footer__line { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; }
.site-footer__line .nc-icon { color: var(--teal-300); margin-top: .2rem; }
.site-footer .nc-hours li { border-color: rgba(255,255,255,.12); }
.site-footer .nc-hours strong { color: #fff; }
.site-footer .nc-hours .is-closed strong { color: #ffb4a8; }
.footer-menu, .site-footer .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer__qr img { width: 140px; border-radius: 12px; background: #fff; padding: 8px; margin-bottom: .75rem; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255,255,255,.1); }
.social a:hover { background: var(--teal); color: #fff; }
.site-footer__emergency { display: flex; gap: .6rem; align-items: center; margin: 0 0 1.5rem; padding: .9rem 1.2rem; border-radius: 12px; background: rgba(255,255,255,.07); color: #ffd9d3; font-size: .95rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; font-size: .9rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer__bottom p { margin: 0; }
.site-footer__disclaimer { color: rgba(255,255,255,.55); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Floating contact & mobile bar ------------------------------------------- */
.floating-actions { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; display: grid; gap: .75rem; }
.floating-actions__btn { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.2); transition: transform .2s ease; }
.floating-actions__btn:hover { transform: scale(1.08); color: #fff; }
.floating-actions__btn .nc-icon { width: 1.6rem; height: 1.6rem; }
.floating-actions__btn--wa { background: #1fa855; animation: nc-pulse 2.8s infinite; }
.floating-actions__btn--call { background: var(--teal); }
@keyframes nc-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,168,85,.5); } 70% { box-shadow: 0 0 0 16px rgba(31,168,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,168,85,0); } }
.mobile-bar { display: none; }
@media (max-width: 720px) {
	.floating-actions { display: none; }
	.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(18,58,99,.08); padding-bottom: env(safe-area-inset-bottom); }
	.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem 0; font-size: .78rem; font-weight: 700; color: var(--navy); text-decoration: none; }
	.mobile-bar a .nc-icon { width: 1.35rem; height: 1.35rem; color: var(--teal); }
	.mobile-bar__primary { background: var(--teal); color: #fff !important; }
	.mobile-bar__primary .nc-icon { color: #fff !important; }
	body { padding-bottom: 64px; }
	.topbar { display: none; }
	.brand__logo { width: 50px; }
	.brand__name { font-size: 1.2rem; }
	.brand__tag { font-size: .72rem; }
	:root { --header-h: 70px; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; }
}

@media print {
	.topbar, .site-header, .floating-actions, .mobile-bar, .cta-band, .site-footer__qr { display: none !important; }
	body { background: #fff; }
}

/* Eyebrow directly above a heading inside editor content. */
.entry-content .eyebrow { margin-bottom: 0; }
.entry-content .eyebrow + h2 { margin-top: .5rem; }

/* Layout fixes: wide pages, header button, mobile hero doctor cards. */
.container--wide { width: min(1200px, 100% - 2.5rem); }
.container--wide .entry-content > p, .container--wide .entry-content > h2, .container--wide .entry-content > ul { max-width: 820px; }
.entry-content .wp-block-columns { align-items: flex-start; }
.primary-nav__cta { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 1081px) {
	.primary-nav .menu a { padding: .55rem .55rem; font-size: .98rem; }
	.primary-nav { gap: .75rem; }
}
@media (max-width: 900px) {
	.hero__visual { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1rem 0 4.5rem; }
	.hero__emblem { margin-bottom: 1rem; }
	.hero__doc { position: static; width: min(360px, 100%); max-width: none; }
}

/* ==========================================================================
   Interactive layer
   ========================================================================== */

/* Scroll progress & back-to-top */
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 200; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--teal), var(--green), var(--saffron)); pointer-events: none; }
.admin-bar .scroll-progress { top: 32px; }
.to-top { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 90; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: #fff; color: var(--navy); box-shadow: var(--shadow-lg); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--teal); stroke-width: 3; stroke-dasharray: 138; stroke-dashoffset: calc(138 - 138 * var(--p, 0)); }
.to-top span { font-size: 1.2rem; line-height: 1; }
@media (max-width: 720px) { .to-top { bottom: 5rem; left: auto; right: 1rem; } }

/* Shrinking header */
.site-header__inner { transition: min-height .25s ease; }
.site-header.is-scrolled .site-header__inner { min-height: 66px; }
.brand__logo { transition: width .25s ease; }
.site-header.is-scrolled .brand__logo { width: 50px; }

/* Hero butterflies & parallax */
.hero__butterflies { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.butterfly { position: absolute; width: 26px; height: 21px; color: var(--c); opacity: .0; left: calc(8% + var(--i) * 11%); bottom: -40px; animation: nc-flutter-up calc(16s + var(--i) * 2.3s) linear infinite; animation-delay: calc(var(--i) * -2.7s); }
.butterfly svg { width: 100%; height: 100%; fill: currentColor; animation: nc-wings .35s ease-in-out infinite alternate; transform-origin: 50% 50%; }
.butterfly:nth-child(odd) { width: 18px; height: 15px; }
@keyframes nc-flutter-up {
	0% { transform: translate(0, 0) rotate(-8deg); opacity: 0; }
	10% { opacity: .55; }
	50% { transform: translate(40px, -55vh) rotate(10deg); }
	90% { opacity: .45; }
	100% { transform: translate(-30px, -110vh) rotate(-6deg); opacity: 0; }
}
@keyframes nc-wings { from { transform: scaleX(1); } to { transform: scaleX(.35); } }
.hero__emblem { transition: transform .4s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.hero__inner { position: relative; z-index: 1; }

/* Cursor spotlight on cards (pointer devices) */
@media (hover: hover) and (pointer: fine) {
	.nc-service, .nc-doctor, .dept, .value-card, .post-card, .step { --mx: 50%; --my: 50%; }
	.nc-service::before, .dept::before, .value-card::before, .step::before, .post-card::before {
		content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s ease; z-index: 0;
		background: radial-gradient(320px circle at var(--mx) var(--my), rgba(11, 122, 133, .10), transparent 60%);
	}
	.nc-service:hover::before, .dept:hover::before, .value-card:hover::before, .step:hover::before, .post-card:hover::before { opacity: 1; }
	.value-card, .post-card { position: relative; }
	.value-card > *, .step > *, .post-card > * { position: relative; z-index: 1; }
}

/* Filter tabs */
.filter-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin: -1rem 0 2rem; }
.filter-tabs button { font: inherit; font-weight: 700; padding: .6rem 1.25rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: all .2s ease; }
.filter-tabs button:hover { border-color: var(--teal); color: var(--teal); }
.filter-tabs button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow); }
.nc-services .nc-service { transition: opacity .3s ease, transform .3s ease, box-shadow .2s ease, border-color .2s ease; }
.nc-service.is-filtered-out { display: none; }
.nc-service.is-entering { opacity: 0; transform: translateY(12px) scale(.98); }

/* Care finder */
.finder__box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; background: #fff; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.finder__chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: .55rem; padding: clamp(1.25rem, 3vw, 2rem); background: linear-gradient(160deg, var(--sky), #f1f8f4); }
.finder__chip { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 999px; background: #fff; border: 1.5px solid transparent; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; box-shadow: 0 2px 8px rgba(18, 58, 99, .06); transition: all .2s ease; }
.finder__chip .nc-icon { color: var(--teal); width: 1.1rem; height: 1.1rem; }
.finder__chip:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--navy); }
.finder__chip.is-active { background: var(--navy); color: #fff; }
.finder__chip.is-active .nc-icon { color: var(--teal-300); }
.finder__panels { position: relative; padding: clamp(1.5rem, 3vw, 2.5rem); }
.finder__panel { display: grid; gap: 1.5rem; }
.finder__panel.is-entering { animation: nc-panel-in .35s ease; }
.finder__panel[hidden] { display: none; }
@keyframes nc-panel-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.finder__info h3 { font-family: var(--font-head); font-size: 1.7rem; margin-bottom: .5rem; }
.finder__info p { color: var(--muted); }
.finder__panel--green .nc-eyebrow, .finder__panel--green .nc-link { color: var(--green); }
.finder__panel--green .nc-checklist li::before { background-color: var(--green); }
.finder__panel--green .nc-btn--primary { background: var(--green); }
.finder__action { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; padding-top: 1.25rem; border-top: 1px dashed var(--line); }
.finder__doctor { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); flex: 1 1 100%; }
.finder__doctor img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sky); }
.finder__doctor small { display: block; color: var(--muted); font-size: .82rem; }
.finder__doctor strong { display: block; color: var(--navy); }
.finder__doctor em { display: block; font-style: normal; color: var(--teal); font-size: .9rem; font-weight: 600; }
@media (max-width: 900px) {
	.finder__box { grid-template-columns: 1fr; }
	.finder__chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
	.finder__chips::-webkit-scrollbar { display: none; }
	.finder__chip { flex: none; scroll-snap-align: start; }
}

/* Count-up numbers keep width stable */
.nc-stat strong { font-variant-numeric: tabular-nums; }

/* Review slider dots */
.nc-slider-dots { display: flex; justify-content: center; gap: .45rem; margin-top: .9rem; }
.nc-slider-dots button { width: .6rem; height: .6rem; padding: 0; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; transition: width .25s ease, background .25s ease; }
.nc-slider-dots button.is-active { width: 1.75rem; background: var(--teal); }

/* Smooth FAQ open */
.nc-faq__answer { animation: nc-faq-in .3s ease; }
@keyframes nc-faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.hero__butterflies, .scroll-progress { display: none; }
	.hero__emblem { transform: none !important; }
}

/* Doctor experience timeline */
.timeline { list-style: none; margin: 1rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7.25rem; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(var(--teal), var(--green)); opacity: .35; }
.timeline__item { position: relative; display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.75rem; padding: .8rem 0; }
.timeline__item::before { content: ""; position: absolute; left: calc(7.25rem - 6px); top: 1.2rem; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); box-shadow: 0 0 0 4px var(--sky-50); }
.timeline__years { font-weight: 700; color: var(--teal); white-space: nowrap; padding-top: .05rem; }
.timeline__body { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1.1rem; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.timeline__body:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.timeline__body strong { display: block; color: var(--navy); }
.timeline__body span { color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) {
	.timeline::before { left: 6px; }
	.timeline__item { grid-template-columns: 1fr; gap: .35rem; padding-left: 1.75rem; }
	.timeline__item::before { left: 0; }
}

/* Headline numbers in the hero */
.hero__stats { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.75rem; }
.hero__stat { flex: 1 1 140px; max-width: 220px; padding: .9rem 1.1rem; border-radius: 16px; background: rgba(255, 255, 255, .8); border: 1px solid rgba(214, 227, 236, .9); box-shadow: 0 6px 18px rgba(18, 58, 99, .06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__stat dt { font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero__stat dd { margin: .2rem 0 0; font-size: .9rem; font-weight: 600; color: var(--teal); line-height: 1.3; }
.hero__stat:nth-child(3n+2) dd { color: var(--green); }
@media (max-width: 540px) { .hero__stat { flex-basis: calc(50% - .4rem); max-width: none; } }
.hero__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 600px; }
.hero__stats--1 { grid-template-columns: minmax(0, 220px); }
.hero__stats--2 { grid-template-columns: repeat(2, minmax(0, 220px)); }
.hero__stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 470px; }
.hero__stat { max-width: none; }
@media (max-width: 540px) { .hero__stats, .hero__stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Mobile menu: the blur on the sticky header would trap the fixed panel inside the header, so drop it on small screens and place the panel below the header. */
@media (max-width: 1080px) {
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.primary-nav { top: var(--nav-top, var(--header-h)); right: 0; bottom: 0; left: 0; height: auto; max-height: none; z-index: 99; box-shadow: 0 12px 30px rgba(18, 58, 99, .12); }
	.primary-nav .menu { flex: none; }
	.primary-nav__cta { margin-top: .5rem; justify-content: center; }
}

/* Language switcher */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.lang-switch__item { padding: .2rem .7rem; border-radius: 999px; font-size: .85rem; font-weight: 600; line-height: 1.4; text-decoration: none; color: rgba(255, 255, 255, .85) !important; transition: background .15s ease, color .15s ease; }
.lang-switch__item:hover { background: rgba(255, 255, 255, .15); color: #fff !important; }
.lang-switch__item.is-current { background: #fff; color: var(--navy) !important; }
.lang-switch__short { display: none; }
.lang-switch--topbar { margin-left: auto; }
.lang-switch--topbar + .topbar__phone { margin-left: 0; }
.lang-switch--compact { display: none; background: var(--sky); }
.lang-switch--compact .lang-switch__item { color: var(--navy) !important; padding: .35rem .55rem; }
.lang-switch--compact .lang-switch__item.is-current { background: var(--navy); color: #fff !important; }
.lang-switch--compact .lang-switch__full { display: none; }
.lang-switch--compact .lang-switch__short { display: inline; }
@media (max-width: 720px) {
	.lang-switch--compact { display: inline-flex; margin-left: auto; }
	.site-header__inner { gap: .6rem; }
}

/* Devanagari: Fraunces has no Devanagari glyphs, so headings use Mukta in Hindi/Marathi. */
html[lang^="hi"], html[lang^="mr"] { --font-head: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif; }
html[lang^="hi"] h1, html[lang^="hi"] h2, html[lang^="mr"] h1, html[lang^="mr"] h2 { font-weight: 800; letter-spacing: 0; line-height: 1.25; }
html[lang^="hi"] .eyebrow, html[lang^="mr"] .eyebrow, html[lang^="hi"] .nc-eyebrow, html[lang^="mr"] .nc-eyebrow { letter-spacing: .02em; }
html[lang^="hi"] body, html[lang^="mr"] body { line-height: 1.75; }
