/* =====================================================================
   Janata Dental Clinic — Design System
   Royal purple + gold · mobile-first · system fonts for instant load
   ===================================================================== */

:root {
  /* Brand (from logo dominant colour) */
  --c-primary: #5b2a8c;
  --c-primary-600: #4c2277;
  --c-primary-700: #3a1a5e;
  --c-primary-800: #2c1248;
  --c-primary-900: #210d38;
  --c-primary-050: #f3edfa;
  --c-primary-100: #e7dcf4;
  --c-primary-200: #cdb7e6;

  --c-accent: #e7a93a; /* gold */
  --c-accent-600: #cf9526;
  --c-accent-050: #fdf4e2;

  --c-wa: #25d366; /* whatsapp */
  --c-wa-600: #1ebe5a;

  --c-ink: #1f1430;
  --c-body: #463a57;
  --c-muted: #6f6580;
  --c-line: #e9e3f1;
  --c-bg: #ffffff;
  --c-bg-soft: #faf8fd;
  --c-bg-tint: #f3edfa;
  --c-white: #ffffff;
  --c-star: #f5a623;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(33, 13, 56, 0.06), 0 1px 3px rgba(33, 13, 56, 0.08);
  --shadow: 0 6px 18px rgba(33, 13, 56, 0.08), 0 2px 6px rgba(33, 13, 56, 0.06);
  --shadow-lg: 0 18px 50px rgba(33, 13, 56, 0.16);
  --shadow-primary: 0 12px 28px rgba(91, 42, 140, 0.28);

  --container: 1160px;
  --gap: clamp(1rem, 3vw, 2rem);
  --section-y: clamp(3rem, 7vw, 6rem);

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", "Noto Sans",
    "Noto Sans Devanagari", Roboto, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------- Reset ------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  font-family: var(--font);
  color: var(--c-body);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
picture,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: var(--c-primary-600);
  text-decoration: none;
}
a:hover {
  color: var(--c-primary);
}
h1,
h2,
h3,
h4 {
  color: var(--c-ink);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem);
}
h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.7vw, 2.4rem);
}
h3 {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
}
p {
  text-wrap: pretty;
}
ul {
  list-style: none;
  padding: 0;
}
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ----------------------------- Utilities ----------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section {
  padding-block: var(--section-y);
}
.section--soft {
  background: var(--c-bg-soft);
}
.section--tint {
  background: linear-gradient(180deg, var(--c-bg-tint), #fbfaff);
}
.eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--c-primary);
  background: var(--c-primary-050);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.9rem;
}
.sec-head {
  margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}
.sec-head--center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.sec-sub {
  color: var(--c-muted);
  font-size: 1.08rem;
  margin-top: 0.7rem;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}
.ic {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* ------------------------------ Buttons ------------------------------ */
.btn {
  --btn-bg: var(--c-primary);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
  white-space: nowrap;
}
.btn .ic {
  width: 1.15em;
  height: 1.15em;
}
.btn:hover {
  transform: translateY(-2px);
  color: var(--btn-fg);
}
.btn:active {
  transform: translateY(0);
}
.btn--primary {
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover {
  background: var(--c-primary-600);
}
.btn--accent {
  --btn-bg: var(--c-accent);
  --btn-fg: #3a2a00;
  box-shadow: 0 12px 24px rgba(231, 169, 58, 0.32);
}
.btn--accent:hover {
  background: var(--c-accent-600);
  color: #3a2a00;
}
.btn--wa {
  --btn-bg: var(--c-wa);
  --btn-fg: #06351a;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.3);
}
.btn--wa:hover {
  background: var(--c-wa-600);
  color: #06351a;
}
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--c-primary-700);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-primary-700);
  border-color: var(--c-line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  border-color: var(--c-primary-200);
  background: var(--c-primary-050);
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.btn--sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.92rem;
}
.btn--lg {
  padding: 1.1rem 1.8rem;
  font-size: 1.08rem;
}
.btn--block {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ------------------------------ Header ------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--c-ink);
  margin-right: auto;
}
.brand__logo,
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__text strong {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--c-primary-700);
  letter-spacing: -0.02em;
}
.brand__text small {
  font-size: 0.72rem;
  color: var(--c-muted);
  letter-spacing: 0.02em;
}
.mainnav {
  display: none;
}
.mainnav ul {
  display: flex;
  gap: 0.35rem;
}
.mainnav a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--c-ink);
  font-weight: 600;
  font-size: 0.97rem;
  transition: background 0.18s, color 0.18s;
}
.mainnav a:hover,
.mainnav a.is-active {
  background: var(--c-primary-050);
  color: var(--c-primary-700);
}
.site-header__cta {
  display: none;
  gap: 0.5rem;
  align-items: center;
}
.site-header__mobtools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.langtoggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  font-weight: 800;
  font-size: 0.78rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
  line-height: 1;
  flex: none;
}
.langtoggle__cur {
  background: var(--c-primary);
  color: #fff;
  padding: 0.5rem 0.6rem;
}
.langtoggle__alt {
  color: var(--c-primary-700);
  padding: 0.5rem 0.6rem;
}
.langtoggle:hover .langtoggle__alt {
  background: var(--c-primary-050);
  color: var(--c-primary);
}
.navtoggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: 12px;
  color: var(--c-primary-700);
  cursor: pointer;
}
.navtoggle .ic {
  width: 26px;
  height: 26px;
}
.navtoggle__close {
  display: none;
}
.navtoggle[aria-expanded="true"] .navtoggle__open {
  display: none;
}
.navtoggle[aria-expanded="true"] .navtoggle__close {
  display: block;
}
.mobilemenu {
  border-top: 1px solid var(--c-line);
  background: #fff;
  animation: fadeDown 0.2s var(--ease);
}
.mobilemenu nav ul {
  display: flex;
  flex-direction: column;
  padding: 0.6rem clamp(1rem, 4vw, 2rem);
}
.mobilemenu nav a {
  display: block;
  padding: 0.9rem 0.4rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}
.mobilemenu nav a.is-active {
  color: var(--c-primary);
}
.mobilemenu__cta {
  display: grid;
  gap: 0.6rem;
  padding: 1rem clamp(1rem, 4vw, 2rem) 1.4rem;
}
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------- Hero -------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 85% 0%, var(--c-primary-050), #fff 55%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  gap: clamp(1.6rem, 5vw, 3rem);
  padding-block: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--c-primary-700);
  margin-bottom: 1.1rem;
}
.hero__badge .stars {
  color: var(--c-star);
  letter-spacing: 1px;
}
.hero h1 {
  margin-bottom: 0.8rem;
}
.hero h1 .accent {
  color: var(--c-primary);
}
.hero__lead {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem);
  color: var(--c-body);
  max-width: 36ch;
  margin-bottom: 1.5rem;
}
.hero .btn-row {
  margin-bottom: 1.4rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.92rem;
  color: var(--c-muted);
  font-weight: 600;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero__trust .ic {
  color: var(--c-primary);
  width: 1.1em;
  height: 1.1em;
}
.hero__media {
  position: relative;
}
.hero__media picture img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.hero__floatcard {
  position: absolute;
  left: -6px;
  bottom: -14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 250px;
}
.hero__floatcard .ic {
  color: var(--c-primary);
  width: 2rem;
  height: 2rem;
}
.hero__floatcard strong {
  display: block;
  color: var(--c-ink);
  font-size: 1.05rem;
}
.hero__floatcard small {
  color: var(--c-muted);
  font-size: 0.8rem;
}

/* ------------------------------ Stat bar ----------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stats__item {
  background: #fff;
  padding: clamp(1.1rem, 4vw, 1.8rem) 1rem;
  text-align: center;
}
.stats__value {
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.3rem);
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
}
.stats__label {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--c-muted);
  font-weight: 600;
}

/* ------------------------------- Grids ------------------------------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.6rem);
}
.grid--3 {
  grid-template-columns: 1fr;
}
.grid--4 {
  grid-template-columns: 1fr;
}
.grid--2 {
  grid-template-columns: 1fr;
}

/* ---------------------------- Service cards -------------------------- */
.scard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.scard::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.scard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-primary-100);
}
.scard:hover::after {
  transform: scaleX(1);
}
.scard__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--c-primary-050);
  color: var(--c-primary);
  margin-bottom: 1rem;
}
.scard__icon .ic {
  width: 30px;
  height: 30px;
}
.scard h3 {
  margin-bottom: 0.45rem;
}
.scard h3 a {
  color: var(--c-ink);
}
.scard h3 a:hover {
  color: var(--c-primary);
}
.scard p {
  color: var(--c-muted);
  font-size: 0.98rem;
  flex: 1;
}
.scard__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  font-size: 0.95rem;
}
.scard__link .ic {
  transition: transform 0.2s var(--ease);
}
.scard:hover .scard__link .ic {
  transform: translateX(4px);
}

/* ------------------------------ Why-us ------------------------------- */
.feature {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-700));
  color: #fff;
  margin-bottom: 0.9rem;
}
.feature__icon .ic {
  width: 26px;
  height: 26px;
}
.feature h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
}
.feature p {
  color: var(--c-muted);
  font-size: 0.96rem;
}

/* --------------------------- Doctor section -------------------------- */
.doctor {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  align-items: center;
}
.doctor__media {
  position: relative;
}
.doctor__card {
  background: linear-gradient(160deg, var(--c-primary), var(--c-primary-800));
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.doctor__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 3px solid rgba(255, 255, 255, 0.4);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
}
.doctor__card h3 {
  color: #fff;
  font-size: 1.45rem;
}
.doctor__card .deg {
  color: var(--c-accent);
  font-weight: 700;
  margin-top: 0.3rem;
}
.doctor__card .spec {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.2rem;
  font-size: 0.95rem;
}
.doctor__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.2rem;
}
.doctor__chips span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
}
.doctor__body h2 {
  margin-bottom: 0.8rem;
}
.doctor__body p {
  color: var(--c-body);
  margin-bottom: 1rem;
}
.checklist {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0;
}
.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 600;
  color: var(--c-ink);
}
.checklist .ic {
  color: #fff;
  background: var(--c-primary);
  border-radius: 50%;
  padding: 3px;
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
}

/* ------------------------------ Reviews ------------------------------ */
.reviews {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}
.review {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review .stars {
  color: var(--c-star);
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 0.7rem;
}
.review__text {
  color: var(--c-body);
  font-style: italic;
  flex: 1;
}
.review__by {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
}
.review__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-primary-100);
  color: var(--c-primary-700);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.review__by strong {
  color: var(--c-ink);
  display: block;
  font-size: 0.96rem;
}
.review__by small {
  color: var(--c-muted);
}
.gverify {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-weight: 700;
  color: var(--c-ink);
  box-shadow: var(--shadow-sm);
}
.gverify b {
  color: var(--c-primary);
}

/* -------------------------------- FAQ -------------------------------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  color: var(--c-ink);
  font-size: 1.05rem;
}
.faq__q::-webkit-details-marker {
  display: none;
}
.faq__chev {
  transition: transform 0.2s var(--ease);
  color: var(--c-primary);
  flex: none;
}
.faq__item[open] .faq__chev {
  transform: rotate(90deg);
}
.faq__a {
  padding: 0 1.3rem 1.2rem;
  color: var(--c-muted);
}

/* ------------------------------ CTA band ----------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-800));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -180px;
  right: -120px;
}
.cta-band__inner {
  position: relative;
  padding-block: clamp(2.2rem, 6vw, 3.6rem);
  display: grid;
  gap: 1.6rem;
  align-items: center;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  margin-top: 0.6rem;
}
.cta-band__rating {
  font-weight: 600;
}
.cta-band__rating .stars {
  color: var(--c-accent);
  letter-spacing: 1px;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ----------------------------- Breadcrumbs --------------------------- */
.crumbs {
  padding-block: 0.9rem;
  font-size: 0.88rem;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.crumbs li {
  color: var(--c-muted);
}
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--c-line);
}
.crumbs a {
  color: var(--c-primary-600);
  font-weight: 600;
}

/* --------------------------- Page sub-hero --------------------------- */
.pagehero {
  background: linear-gradient(160deg, var(--c-primary-050), #fff);
  border-bottom: 1px solid var(--c-line);
}
.pagehero__inner {
  padding-block: clamp(1.6rem, 5vw, 3rem);
}
.pagehero h1 {
  margin-bottom: 0.6rem;
}
.pagehero p {
  color: var(--c-body);
  max-width: 62ch;
  font-size: 1.1rem;
}

/* --------------------------- Service detail -------------------------- */
.prose {
  max-width: 760px;
}
.prose p,
.prose ul li {
  color: var(--c-body);
}
.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}
.prose h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}
.prose ul.ticks {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0;
}
.prose ul.ticks li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.prose ul.ticks .ic {
  color: var(--c-primary);
  flex: none;
  margin-top: 2px;
}
.layout-2col {
  display: grid;
  gap: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: start;
}
.sidecard {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
}
.sidecard h3 {
  margin-bottom: 0.8rem;
}
.sidecard .btn {
  width: 100%;
  margin-bottom: 0.6rem;
}
.sidecard__hours {
  margin-top: 1rem;
  border-top: 1px solid var(--c-line);
  padding-top: 1rem;
  font-size: 0.92rem;
}
.sidecard__hours div {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
  color: var(--c-muted);
}
.sidecard--alert {
  background: var(--c-accent-050);
  border-color: #f0d9a8;
  border-left: 4px solid var(--c-accent);
}
.sidecard--alert h3 {
  color: var(--c-primary-700);
}
.sidecard--alert h3 .ic {
  color: var(--c-accent-600);
}

/* ------------------------------- Steps ------------------------------- */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.step {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.step__num {
  counter-increment: step;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.step__num::before {
  content: counter(step);
}
.step h3 {
  font-size: 1.08rem;
  margin-bottom: 0.25rem;
}
.step p {
  color: var(--c-muted);
  font-size: 0.96rem;
}

/* ------------------------------- Pills ------------------------------- */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pill {
  background: var(--c-primary-050);
  color: var(--c-primary-700);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.95rem;
  font-size: 0.86rem;
  font-weight: 600;
}

/* --------------------------- Contact / forms ------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.4rem);
  grid-template-columns: 1fr;
}
.infocard {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.infocard .ic {
  color: var(--c-primary);
  width: 1.8rem;
  height: 1.8rem;
  flex: none;
}
.infocard h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.infocard p,
.infocard a {
  color: var(--c-body);
  font-size: 0.98rem;
}
.infocard a {
  font-weight: 700;
  color: var(--c-primary-700);
}
.form {
  display: grid;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}
.field {
  display: grid;
  gap: 0.35rem;
}
.field label {
  font-weight: 700;
  color: var(--c-ink);
  font-size: 0.92rem;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-bg-soft);
  color: var(--c-ink);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-050);
  background: #fff;
}
.form__note {
  font-size: 0.85rem;
  color: var(--c-muted);
}
.mapframe {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ------------------------------ Hours table -------------------------- */
.hours {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
}
.hours th,
.hours td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.96rem;
}
.hours tr:last-child td {
  border-bottom: 0;
}
.hours td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--c-primary-700);
}
.hours tr.is-today {
  background: var(--c-primary-050);
}

/* ------------------------------- Blog -------------------------------- */
.postcard {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  display: flex;
  flex-direction: column;
}
.postcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.postcard__body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.postcard__tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-primary);
}
.postcard h3 {
  margin: 0.4rem 0 0.5rem;
}
.postcard h3 a {
  color: var(--c-ink);
}
.postcard h3 a:hover {
  color: var(--c-primary);
}
.postcard p {
  color: var(--c-muted);
  font-size: 0.96rem;
  flex: 1;
}
.postcard__meta {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--c-muted);
}
.article {
  max-width: 760px;
  margin-inline: auto;
}
.article h2 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
}
.article h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.article p,
.article li {
  color: var(--c-body);
  margin-bottom: 0.9rem;
}
.article ul,
.article ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}
.article ul li {
  list-style: disc;
}
.article ol li {
  list-style: decimal;
}
.article .lead {
  font-size: 1.15rem;
  color: var(--c-ink);
}
.callout {
  background: var(--c-accent-050);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin: 1.4rem 0;
}
.callout strong {
  color: var(--c-ink);
}

/* ------------------------------- Footer ------------------------------ */
.site-footer {
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(231, 169, 58, 0.14), transparent 55%),
    linear-gradient(180deg, var(--c-primary-900), #160826 80%);
  color: #d2c7e4;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Main columns */
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 5vw, 2.6rem);
  padding-block: clamp(2.2rem, 6vw, 3.4rem);
}
.site-footer__about .brand--footer {
  margin-bottom: 1rem;
}
.brand--footer img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  padding: 3px;
}
.brand--footer .brand__text strong {
  color: #fff;
  font-size: 1.2rem;
}
.brand--footer .brand__text small {
  color: #b6a7d2;
}
.site-footer__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 1.1rem;
}
.site-footer__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.site-footer__rating:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(231, 169, 58, 0.5);
  color: #fff;
}
.site-footer__rating .stars {
  color: var(--c-accent);
  letter-spacing: 1px;
}

.site-footer__col h3 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.site-footer__col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: var(--c-accent);
}
.site-footer__col ul {
  display: grid;
  gap: 0.15rem;
}
.site-footer__col li a {
  display: inline-flex;
  align-items: center;
  color: #cbbfe2;
  font-size: 0.96rem;
  padding: 0.5rem 0;
  min-height: 40px;
  transition: color 0.18s, padding-left 0.18s;
}
.site-footer__col li a:hover {
  color: #fff;
  padding-left: 4px;
}

/* Visit Us / contact column */
.site-footer__contact address {
  font-style: normal;
  display: grid;
  gap: 0.25rem;
}
.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #cbbfe2;
  padding: 0.55rem 0;
  font-size: 0.96rem;
  line-height: 1.5;
  transition: color 0.18s;
}
a.site-footer__contact-item:hover {
  color: #fff;
}
.site-footer__contact-item .ic {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--c-accent);
  margin-top: 2px;
}

.site-footer__areas {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 1.3rem;
  font-size: 0.86rem;
  color: #a294c4;
  text-align: center;
}

/* Bottom bar */
.site-footer__bottom {
  background: rgba(0, 0, 0, 0.25);
}
.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
  padding-block: 1.1rem;
  font-size: 0.85rem;
  color: #b3a6cf;
}
.site-footer__emergency {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.site-footer__emergency .ic {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--c-accent);
}
.site-footer__bottom a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 2.4rem;
  }
  .site-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --------------------------- Sticky action bar ----------------------- */
.actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -6px 20px rgba(33, 13, 56, 0.12);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0.6rem 0.3rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--c-ink);
}
.actionbar__btn .ic {
  width: 1.4rem;
  height: 1.4rem;
}
.actionbar__btn--call {
  color: var(--c-primary-700);
}
.actionbar__btn--wa {
  color: var(--c-wa-600);
}
.actionbar__btn--book {
  background: var(--c-primary);
  color: #fff;
}
body {
  padding-bottom: 64px;
}

/* ----------------------------- Reveal anim --------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ------------------------------ Mixed lang --------------------------- */
.hindi {
  font-family: "Noto Sans Devanagari", var(--font);
}
.hindi-line {
  font-family: "Noto Sans Devanagari", var(--font);
  color: var(--c-primary-700);
  font-weight: 600;
}
.trans {
  color: var(--c-muted);
  font-size: 0.92em;
}

/* --------------------------- Doctor photo ---------------------------- */
.doctor__photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.12);
}
.doctor__photo img,
.doctor__photo picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doctor__card .verified {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
}
.doctor__card .verified .ic {
  width: 1.1em;
  height: 1.1em;
  color: var(--c-accent);
}

/* ----------------------------- Media frame --------------------------- */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame--tall {
  aspect-ratio: 4 / 5;
}
.media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(33, 13, 56, 0.78));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ------------------------------- Gallery ----------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.6rem, 2vw, 1rem);
}
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  background: var(--c-bg-tint);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery__item:hover img {
  transform: scale(1.06);
}
.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}
.gallery__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 1.1rem 0.9rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(33, 13, 56, 0.7));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

/* -------------------------- Trust / credentials ---------------------- */
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1.4rem;
}
.cred {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--c-primary-700);
}
.cred .ic {
  color: var(--c-accent);
  width: 1.15em;
  height: 1.15em;
}

/* ------------------------- Emergency strip --------------------------- */
.emergency {
  background: linear-gradient(135deg, #b3261e, #7a1410);
  color: #fff;
}
.emergency__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  padding-block: 0.9rem;
  text-align: center;
  font-weight: 600;
}
.emergency a {
  color: #fff;
  text-decoration: underline;
  font-weight: 800;
}

/* ---------------------------- Inline note ---------------------------- */
.leadrow {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  align-items: center;
}
@media (min-width: 800px) {
  .leadrow {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .leadrow--rev .leadrow__media {
    order: -1;
  }
  .gallery__item--wide {
    grid-column: span 2;
  }
}

/* ============================ Breakpoints ============================ */
@media (min-width: 600px) {
  .grid--2 {
    grid-template-columns: 1fr 1fr;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .reviews {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 800px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .doctor {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .layout-2col {
    grid-template-columns: 1fr 340px;
  }
}
@media (min-width: 960px) {
  body {
    padding-bottom: 0;
  }
  .actionbar {
    display: none;
  }
  .mainnav {
    display: block;
  }
  .site-header__cta {
    display: flex;
  }
  .site-header__mobtools {
    display: none;
  }
  .navtoggle {
    display: none;
  }
  .mobilemenu {
    display: none !important;
  }
  .grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }
  .cta-band__inner {
    grid-template-columns: 1.4fr 1fr;
  }
  .cta-band__actions {
    justify-content: flex-end;
  }
}
@media (min-width: 1100px) {
  .grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
