/* =========================================================
   Dr Ajit Kishor — General Physician, Patna
   Premium light & luxurious theme — cream + gold
   ========================================================= */

:root {
  /* Palette — ivory cream + warm gold, fully light */
  --cream: #faf6ec;
  --cream-2: #f3ebd9;
  --surface: #ffffff;

  --ink: #2c2415;        /* warm brown — text */
  --ink-soft: #6a5f4b;
  --ink-faint: #a3987f;

  --gold: #b88a32;       /* primary gold accent */
  --gold-deep: #946d22;  /* hover / strong accent */
  --gold-2: #cda85f;
  --gold-soft: #ecdcb1;
  --gold-tint: #f5edd8;  /* light gold tint backgrounds */

  --grad-gold: linear-gradient(135deg, #d9b760, #c49a3f);
  --grad-gold-deep: linear-gradient(135deg, #cda74e, #b1872f);

  --line: rgba(44, 36, 21, 0.1);
  --line-soft: rgba(44, 36, 21, 0.06);

  --shadow-sm: 0 2px 10px rgba(44, 36, 21, 0.05);
  --shadow-md: 0 18px 40px -22px rgba(44, 36, 21, 0.32);
  --shadow-lg: 0 40px 80px -40px rgba(120, 90, 30, 0.4);
  --shadow-gold: 0 16px 30px -14px rgba(184, 138, 50, 0.55);

  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  --container: 1180px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Icons ---------- */
.ico {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-style: normal;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); }
h1 .hl { color: var(--gold-deep); font-style: normal; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; }

p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow .ico { width: 16px; height: 16px; stroke: var(--gold); }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--gold-deep); }
.eyebrow-line {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.center .eyebrow-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---------- Layout ---------- */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 118px) 24px;
}
.section-heading {
  max-width: 640px;
  margin: 0 auto clamp(44px, 5vw, 60px);
  text-align: center;
}
.section-heading p { margin-top: 16px; font-size: 1.05rem; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold-deep);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  z-index: 1200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; }
.btn.full { width: 100%; }

.btn.primary {
  background: var(--grad-gold);
  color: #3a2c0e;
  box-shadow: var(--shadow-gold);
}
.btn.primary:hover {
  background: var(--grad-gold-deep);
  transform: translateY(-3px);
  box-shadow: 0 24px 40px -16px rgba(184, 138, 50, 0.6);
}

.btn.ghost {
  background: transparent;
  color: var(--gold-deep);
  border-color: rgba(148, 109, 34, 0.32);
}
.btn.ghost:hover {
  background: var(--gold-tint);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.btn.light { background: #fff; color: var(--gold-deep); box-shadow: var(--shadow-sm); }
.btn.light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- Top strip ---------- */
.top-strip {
  background: linear-gradient(90deg, #f0e6c6, #ebdcae);
  color: #6a5b2f;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--gold-soft);
}
.strip-item { display: inline-flex; align-items: center; gap: 7px; }
.strip-item .ico { width: 14px; height: 14px; stroke: var(--gold-deep); }
.top-strip a:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(250, 246, 236, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease),
    background 0.4s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--line-soft);
  background: rgba(250, 246, 236, 0.94);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gold-soft);
  overflow: hidden;
}
.brand-mark img { width: 34px; height: 34px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}
.brand-copy small {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.main-nav { display: flex; align-items: center; gap: 6px; }
/* Hidden on desktop; shown inside the mobile drawer (see 860px breakpoint). */
.main-nav .nav-mobile-only { display: none; }
.main-nav a {
  padding: 9px 15px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  transition: color 0.25s, background 0.25s;
}
.main-nav a:hover { color: var(--gold-deep); background: var(--gold-tint); }
.main-nav .header-cta {
  margin-left: 8px;
  background: var(--grad-gold);
  color: #3a2c0e;
  padding: 11px 24px;
  font-weight: 600;
  box-shadow: var(--shadow-gold);
}
.main-nav .header-cta:hover { background: var(--grad-gold-deep); color: #3a2c0e; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1120; /* stay above the open drawer so it can close the menu */
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) 24px clamp(40px, 5vw, 68px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero h1 { margin-bottom: 22px; }
.hero-text { font-size: 1.13rem; max-width: 500px; text-align: left; text-justify: inter-word; hyphens: manual; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 38px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-trust div:not(.trust-divider) { display: flex; flex-direction: column; }
.hero-trust strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold-deep);
}
.hero-trust span { font-size: 0.82rem; color: var(--ink-faint); }
.trust-divider { width: 1px; height: 38px; background: var(--line); }

/* ---------- Framed portrait (hero + doctor) ---------- */
.hero-visual, .doctor-visual { position: relative; }
.portrait-frame {
  position: relative;
  margin: 0;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-soft);
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  pointer-events: none;
  z-index: 2;
}
.portrait-frame img {
  width: 100%;
  border-radius: 13px;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  object-position: top center;
}

/* ---------- Quick actions ---------- */
.quick-actions {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.quick-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s;
}
.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.quick-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--gold-tint);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.quick-icon .ico { width: 22px; height: 22px; }
.quick-text { display: flex; flex-direction: column; }
.quick-text small {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.quick-text strong { font-size: 0.98rem; color: var(--ink); font-weight: 600; }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: svc;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff, #fffdf7);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s;
  position: relative;
  overflow: hidden;
  counter-increment: svc;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.service-card::after {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold-soft);
  opacity: 0.8;
  transition: color 0.4s var(--ease), opacity 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { color: var(--gold); opacity: 1; }
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(145deg, #f9eecb, var(--gold-tint));
  color: var(--gold-deep);
  border: 1px solid var(--gold-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-sm);
  margin-bottom: 22px;
  transition: transform 0.45s var(--ease), background 0.4s var(--ease),
    color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-icon .ico { width: 28px; height: 28px; }
.service-card:hover .service-icon {
  background: var(--grad-gold);
  color: #3a2c0e;
  transform: rotate(-5deg) scale(1.06);
  box-shadow: var(--shadow-gold);
}
.service-card h3 { margin-bottom: 10px; font-size: 1.2rem; color: var(--ink); }
.service-card p {
  font-size: 0.93rem;
  line-height: 1.62;
  text-align: left;
  text-justify: inter-word;
  hyphens: manual;
}
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-deep);
}
.service-more .ico {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.service-card:hover .service-more .ico { transform: translateX(4px); }

/* ---------- Doctor ---------- */
.doctor-section { padding-top: clamp(40px, 5vw, 70px); }
.doctor-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.doctor-copy h2 { margin-bottom: 18px; }
.doctor-copy > p { text-align: left; text-justify: inter-word; hyphens: manual; }
.doctor-points { list-style: none; margin: 24px 0; display: grid; gap: 12px; }
.doctor-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.check {
  color: var(--gold-deep);
  background: var(--gold-tint);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.check .ico { width: 14px; height: 14px; stroke-width: 2.2; }
.doctor-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
}
.doctor-stats div { background: var(--surface); padding: 18px 22px; }
.doctor-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}
.doctor-stats span { font-size: 0.82rem; color: var(--ink-faint); }

/* ---------- Approach ---------- */
/* ---------- In-house diagnostics (Dr Lal PathLabs) ---------- */
.lab-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, var(--gold-tint), #fbf6e7);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.lab-copy .eyebrow { justify-content: flex-start; }
.lab-copy h2 { margin: 12px 0 14px; }
.lab-copy h2 .hl { color: var(--gold-deep); }
.lab-copy > p { color: var(--muted, #5d5236); max-width: 46ch; }
.lab-points {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.lab-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--ink);
}
.lab-points .ico {
  flex: none;
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--gold-soft);
  stroke: var(--gold-deep);
}
.lab-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lab-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.lab-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lab-figure.is-empty { background: linear-gradient(135deg, #f4e8c6, #e8d49b); }
.lab-figure.is-empty img { display: none; }
.lab-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.lab-badge .ico { width: 16px; height: 16px; stroke: var(--gold-deep); }

.approach-layout {
  display: block;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.approach-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 30px 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s;
}
.approach-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.approach-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.approach-card:hover::before { transform: scaleX(1); }
/* Illustration slot (replace placeholder by adding assets/approach-N.png) */
.approach-figure {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: var(--gold-tint);
  overflow: hidden;
  margin: 0 auto 22px;
  transition: transform 0.45s var(--ease), box-shadow 0.4s var(--ease);
}
.approach-figure img { width: 100%; height: 100%; object-fit: cover; }
.approach-figure.is-empty img { display: none; }
.approach-ph { display: none; }
.approach-figure.is-empty .approach-ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--gold-deep);
}
.approach-ph .ico { width: 28px; height: 28px; stroke-width: 1.6; opacity: 0.85; }
.approach-card:hover .approach-figure {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-gold);
}
.approach-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.approach-card p { font-size: 0.92rem; text-align: left; text-justify: inter-word; hyphens: manual; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* ---------- Review us on Google ---------- */
.review-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: linear-gradient(135deg, var(--gold-tint), #fbf6e7);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}
.review-cta-copy { max-width: 48ch; }
.review-cta-copy .stars { margin-bottom: 12px; }
.review-cta-copy h3 { margin: 0 0 8px; }
.review-cta-copy p { color: var(--muted, #5d5236); margin: 0 0 20px; }
.review-cta-qr {
  margin: 0;
  flex: none;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 14px 14px 10px;
  box-shadow: var(--shadow-sm);
}
.review-cta-qr img { display: block; width: 168px; height: 168px; }
.review-cta-qr figcaption {
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-deep);
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 14px;
  right: 26px;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold-soft);
}
.stars { display: inline-flex; gap: 4px; }
.star { width: 17px; height: 17px; fill: var(--gold); }
.review-card blockquote {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.45;
  color: var(--ink);
  font-style: normal;
}
.review-card figcaption { display: flex; flex-direction: column; margin-top: auto; }
.review-card figcaption strong { color: var(--ink); font-size: 0.95rem; }
.review-card figcaption span { font-size: 0.82rem; color: var(--ink-faint); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gold-tint);
  border: 1px solid var(--gold-soft);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* show the whole image, never crop */
  background: #faf7f0;          /* soft matte behind letterboxed photos */
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.02); }

.gallery-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(44, 36, 21, 0.62));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: none; }

/* Placeholder tile (image not yet added) */
.gallery-ph { display: none; }
.gallery-item.is-empty { cursor: default; background: linear-gradient(135deg, #f4e8c6, #e8d49b); }
.gallery-item.is-empty img,
.gallery-item.is-empty .gallery-cap { display: none; }
.gallery-item.is-empty:hover { transform: none; box-shadow: var(--shadow-sm); }
.gallery-ph {
  position: absolute;
  inset: 0;
  flex-direction: column;
  gap: 10px;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 14px;
}
.gallery-item.is-empty .gallery-ph { display: flex; align-items: center; justify-content: center; }
.gallery-ph .ico { width: 30px; height: 30px; stroke-width: 1.6; opacity: 0.85; }

/* Carousel navigation (shown on mobile only) */
.gallery-nav { display: none; }
.gallery-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: #fff;
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.gallery-btn .ico { width: 22px; height: 22px; stroke-width: 2; }
.gallery-btn:hover,
.gallery-btn:active {
  background: var(--grad-gold);
  color: #3a2c0e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(44, 36, 21, 0.82);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-stage {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(92vw, 900px);
}
.lightbox img {
  max-width: min(86vw, 880px);
  max-height: 78vh;
  border-radius: 14px;
  border: 6px solid #fff;
  background: #faf7f0;
  box-shadow: var(--shadow-lg);
}
.lightbox-cap {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
  z-index: 2;
}
.lightbox-nav .ico { width: 24px; height: 24px; stroke-width: 2; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s;
}
.lightbox-close:hover { transform: rotate(90deg); background: #fff; }

/* ---------- Appointment ---------- */
.appointment-section {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(184, 138, 50, 0.06), transparent 55%),
    linear-gradient(180deg, var(--cream), var(--cream-2));
  max-width: 100%;
  margin: 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.appointment-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.appointment-copy { position: sticky; top: 120px; }
.appointment-copy h2 { margin-bottom: 16px; }

.consult-card {
  background: linear-gradient(135deg, #efdca6, #e3c87d);
  color: #4a3a14;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 28px 0;
  box-shadow: var(--shadow-md);
}
.consult-fee {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(74, 58, 20, 0.18);
  margin-bottom: 12px;
}
.consult-fee span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a6634;
}
.consult-fee strong {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: #7d5a1f;
}
.consult-card p { color: #6a5731; font-size: 0.88rem; margin: 0; }

.appointment-points { list-style: none; display: grid; gap: 12px; }
.appointment-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.appointment-form {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.appointment-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.appointment-form label.full { grid-column: 1 / -1; }
.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--ink);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  width: 100%;
}
.appointment-form textarea { resize: vertical; }
.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(184, 138, 50, 0.12);
}
.appointment-form input:invalid:not(:placeholder-shown) { border-color: #d4827a; }
.checkbox-row {
  flex-direction: row !important;
  align-items: center;
  gap: 11px !important;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  color: var(--ink-soft);
}
.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.form-status {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: center;
  margin: 0;
}

/* Loading state on the submit button */
.btn.is-loading { position: relative; color: transparent !important; cursor: progress; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(58, 44, 14, 0.35);
  border-top-color: #3a2c0e;
  border-radius: 50%;
  animation: btnSpin 0.7s linear infinite;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* Prominent post-submit confirmation card */
.form-success {
  margin-top: 18px;
  padding: 28px 26px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f3f7ee, #fbfdf8);
  border: 1px solid #d9e6c8;
  box-shadow: var(--shadow-sm);
  animation: successPop 0.5s var(--ease) both;
}
.form-success[hidden] { display: none; }
.success-check {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e3efd3;
  color: #4f7a2f;
  margin-bottom: 14px;
  animation: checkPop 0.45s 0.12s var(--ease) both;
}
.success-check .ico { width: 30px; height: 30px; stroke-width: 2.6; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--ink); }
.success-code {
  display: block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  background: var(--gold-tint);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
}
.success-code:empty { display: none; }
@keyframes successPop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes checkPop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: none; }
}
.form-whatsapp {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding: 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 109, 34, 0.3);
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.25s, transform 0.25s;
}
.form-whatsapp:hover { background: var(--gold-tint); transform: translateY(-2px); }
.form-whatsapp[hidden] { display: none; }

.form-calendar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  margin-top: 14px;
  padding: 13px;
  border-radius: var(--radius-pill);
  background: var(--grad-gold);
  color: #3a2c0e;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-gold);
  transition: background 0.25s, transform 0.25s;
}
.form-calendar .ico { width: 18px; height: 18px; }
.form-calendar:hover { background: var(--grad-gold-deep); transform: translateY(-2px); }
.form-calendar[hidden] { display: none; }

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}
.location-copy h2 { margin-bottom: 16px; }
.location-copy > p { text-align: left; text-justify: inter-word; hyphens: manual; }
.location-list { list-style: none; margin: 24px 0 30px; display: grid; gap: 14px; }
.location-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.pin {
  color: var(--gold);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pin .ico { width: 20px; height: 20px; }
.location-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hours-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-md);
}
.hours-card h3 {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  font-size: 0.95rem;
}
.time-row span { color: var(--ink-soft); }
.time-row strong { color: var(--gold-deep); font-weight: 600; }
.time-row strong.muted { color: var(--ink-faint); }
.hours-divider { height: 1px; background: var(--line); margin: 14px 0; }
.text-link { color: var(--gold-deep); font-weight: 600; font-size: 0.92rem; transition: color 0.2s; }
.text-link:hover { color: var(--gold); }

.map-frame {
  position: relative;
  margin-top: clamp(34px, 4vw, 52px);
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 42vw, 420px);
  border: 0;
  border-radius: 14px;
}
.map-open {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--gold-deep);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--gold-soft);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.map-open .ico { width: 17px; height: 17px; }
.map-open:hover { background: var(--grad-gold); color: #3a2c0e; transform: translateY(-2px); }

.areas-served {
  margin-top: clamp(34px, 4vw, 52px);
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.areas-served h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 10px;
}
.areas-served p {
  font-size: 0.96rem;
  max-width: 760px;
  text-align: left;
  text-justify: inter-word;
  hyphens: manual;
}
.area-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
}
.area-chips li {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--gold-tint);
  border: 1px solid var(--gold-soft);
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 500;
}
.areas-note { margin-top: 4px; }
.areas-note a { color: var(--gold-deep); font-weight: 600; }
.areas-note a:hover { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 4px 24px;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-list details[open] { box-shadow: var(--shadow-sm); border-color: var(--gold-soft); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-deep);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-icon::after { top: 0; left: 9px; width: 2px; height: 20px; }
.faq-list details[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-list details p { padding: 0 0 20px; font-size: 0.96rem; color: var(--ink-soft); max-width: 92%; text-align: left; text-justify: inter-word; hyphens: manual; }

/* ---------- Doctor's Insights page ---------- */
.insights-hero {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(184, 138, 50, 0.08), transparent 55%),
    linear-gradient(180deg, var(--cream), var(--cream-2));
  border-bottom: 1px solid var(--line-soft);
}
.insights-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(56px, 8vw, 104px) 24px clamp(48px, 6vw, 84px);
}
.insights-hero h1 { margin: 6px 0 20px; }
.insights-hero p { font-size: 1.1rem; max-width: 620px; margin: 0 auto; }
.insights-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.insight-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s;
}
.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
.insight-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-tint);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.insight-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.insight-card p { font-size: 0.93rem; }
.insights-note {
  max-width: 620px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  text-align: center;
}
.insights-note p { font-size: 1rem; }
.insights-note a { color: var(--gold-deep); font-weight: 600; }
.insights-note a:hover { color: var(--gold); }

/* ---------- Condition / care pages ---------- */
.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 24px 0;
  font-size: 0.82rem;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--gold-deep); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--ink-faint); }

.condition-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px) 24px clamp(40px, 5vw, 68px);
}
.condition-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.condition-hero h1 { margin: 8px 0 20px; }
.condition-lead {
  font-size: 1.12rem;
  text-align: left;
  text-justify: inter-word;
  hyphens: manual;
  max-width: 560px;
}
.condition-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* Placeholder image frame (used until real images are added) */
.ph-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #f4e8c6, #e8d49b);
  border: 1px solid var(--gold-soft);
  box-shadow: var(--shadow-md);
}
.ph-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-icon { display: none; }
.ph-figure.is-empty img { display: none; }
.ph-figure.is-empty .ph-icon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 16px;
}
.ph-icon .ico { width: 34px; height: 34px; stroke-width: 1.5; opacity: 0.85; }
.ph-figure.tall { aspect-ratio: 3 / 4; }

/* Prose blocks (justified, as requested) */
.care-prose { max-width: 760px; }
.care-prose p {
  text-align: left;
  text-justify: inter-word;
  hyphens: manual;
  margin-bottom: 16px;
  font-size: 1.02rem;
}
.care-prose p:last-child { margin-bottom: 0; }

.care-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.care-split.reverse .care-prose { order: 2; }

.care-section h2 { margin-bottom: 18px; }
.care-section + .care-section { padding-top: 0; }

/* Symptom / coverage list */
.symptom-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 760px;
}
.symptom-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.96rem;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.symptom-list li .dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--grad-gold);
}

/* Do's & Don'ts */
.dos-donts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.dd-card {
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.dd-card.do { background: linear-gradient(180deg, #f3f7ee, #fbfdf8); border-color: #d9e6c8; }
.dd-card.dont { background: linear-gradient(180deg, #fbeee9, #fdf8f6); border-color: #efd4c8; }
.dd-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.dd-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.dd-card.do .dd-badge { background: #e3efd3; color: #4f7a2f; }
.dd-card.dont .dd-badge { background: #f6dcd1; color: #b5532f; }
.dd-badge .ico { width: 22px; height: 22px; stroke-width: 2.2; }
.dd-head h3 { font-size: 1.25rem; }
.dd-list { list-style: none; display: grid; gap: 12px; }
.dd-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.97rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.dd-list li .ico { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; stroke-width: 2.2; }
.dd-card.do .dd-list li .ico { stroke: #5a8a37; }
.dd-card.dont .dd-list li .ico { stroke: #c25a33; }

/* Red-flag callout */
.care-callout {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff4e3, #ffe9cd);
  border: 1px solid #f1c797;
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.care-callout .callout-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #fff;
  color: #b5532f;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.care-callout .callout-icon .ico { width: 24px; height: 24px; }
.care-callout h3 { color: #7a3c1c; margin-bottom: 8px; font-size: 1.2rem; }
.care-callout p { color: #7a4a2c; font-size: 0.98rem; margin: 0; }

/* ---------- Contact CTA ---------- */
.contact-section {
  background:
    radial-gradient(110% 130% at 100% 0%, rgba(184, 138, 50, 0.22), transparent 52%),
    linear-gradient(150deg, #f5e9c6, #efe0b3);
  color: var(--ink);
  text-align: center;
  padding: clamp(70px, 9vw, 118px) 24px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
}
.contact-inner { max-width: 620px; margin: 0 auto; position: relative; }
.contact-section h2 { color: var(--ink); margin-bottom: 16px; }
.contact-section p { color: var(--ink-soft); font-size: 1.05rem; }
.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  padding: 54px 24px 30px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 6px; }
.footer-nav a {
  padding: 8px 14px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}
.footer-nav a:hover { color: var(--gold-deep); background: var(--gold-tint); }
.footer-base { max-width: var(--container); margin: 26px auto 0; text-align: center; }
.footer-base p { font-size: 0.85rem; color: var(--ink-faint); }
.footer-base .disclaimer { margin-top: 6px; font-size: 0.8rem; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin-bottom: 16px;
}
.footer-legal a {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold-deep); }
.footer-wordmark {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.footer-wordmark strong { color: var(--gold-deep); font-weight: 700; letter-spacing: 0.04em; }
.footer-wordmark a { transition: color 0.2s; }
.footer-wordmark a:hover strong { color: var(--gold); }

/* ---------- Legal pages ---------- */
.legal-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 24px clamp(20px, 3vw, 32px);
  text-align: center;
}
.legal-hero h1 { margin-bottom: 12px; }
.legal-updated { color: var(--ink-faint); font-size: 0.9rem; }
.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 24px clamp(60px, 8vw, 100px);
}
.legal-body h2 {
  font-size: 1.45rem;
  margin: 34px 0 12px;
  scroll-margin-top: 110px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p,
.legal-body li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.72;
  text-align: left;
  text-justify: inter-word;
  hyphens: manual;
}
.legal-body p { margin-bottom: 14px; }
.legal-body ul { margin: 6px 0 18px; padding-left: 1.2rem; display: grid; gap: 9px; }
.legal-body li { padding-left: 4px; }
.legal-body a { color: var(--gold-deep); font-weight: 600; }
.legal-body a:hover { color: var(--gold); }
.legal-contact {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}
.legal-contact p { text-align: left; margin-bottom: 6px; }

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-gold);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.whatsapp-fab:hover { transform: scale(1.08) translateY(-2px); }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-content { max-width: none; order: 2; }
  .hero-visual { order: 1; max-width: 400px; margin: 0 auto; }
  .doctor-grid { grid-template-columns: 1fr; }
  .doctor-visual { max-width: 380px; margin: 0 auto; }
  .appointment-grid { grid-template-columns: 1fr; }
  .appointment-copy { position: static; }
  .location-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-band { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .lab-figure { order: -1; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-cta { flex-direction: column-reverse; text-align: center; gap: 24px; padding: 28px; }
  .review-cta-copy .stars { justify-content: center; }
  .insights-grid { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .condition-hero-grid { grid-template-columns: 1fr; }
  .condition-hero .ph-figure { max-width: 460px; margin-inline: auto; order: -1; }
  .care-split { grid-template-columns: 1fr; }
  .care-split.reverse .care-prose { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .lab-badge { display: none; }
  .main-nav .nav-mobile-only { display: block; }
  /* Drop backdrop-filter so the fixed drawer is contained by the viewport,
     not the header (a filtered ancestor becomes the containing block). */
  .site-header,
  .site-header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(250, 246, 236, 0.97);
  }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 92px 26px 40px;
    box-shadow: -20px 0 60px -30px rgba(120, 90, 30, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: transform 0.4s var(--ease), opacity 0.35s var(--ease),
      visibility 0.35s var(--ease);
    z-index: 1100;
  }
  .site-header.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav a { padding: 14px 16px; font-size: 1.02rem; border-radius: 12px; }
  .main-nav .header-cta { margin: 12px 0 0; text-align: center; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  body.nav-open { overflow: hidden; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(44, 36, 21, 0.3);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
    z-index: 1050;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 880;
    padding: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
  }
  .mobile-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
  }
  .mobile-cta a .ico { width: 18px; height: 18px; }
  .mobile-cta .mc-call { color: var(--gold-deep); background: var(--gold-tint); }
  .mobile-cta .mc-book { color: #3a2c0e; background: var(--grad-gold); }
  .whatsapp-fab { bottom: 84px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 90px; }
  .top-strip { gap: 14px; font-size: 0.72rem; }
  .top-strip .strip-item:first-child { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid,
  .approach-layout .approach-grid { grid-template-columns: 1fr; }
  .quick-actions { grid-template-columns: 1fr; }

  /* Gallery becomes a framed, swipeable carousel on mobile */
  .gallery-carousel {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--gold-soft);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-md);
  }
  .gallery-carousel::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid var(--gold-soft);
    border-radius: 13px;
    pointer-events: none;
    z-index: 3;
  }
  .gallery-grid {
    display: flex;
    grid-template-columns: none;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
    border-radius: 13px;
    scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    border-radius: 13px;
  }
  .gallery-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
  }
  .form-grid { grid-template-columns: 1fr; }
  .doctor-stats { grid-template-columns: 1fr; }
  .symptom-list { grid-template-columns: 1fr; }
  .dos-donts { grid-template-columns: 1fr; }
  .care-callout { flex-direction: column; gap: 12px; }
  /* Compact, above-the-fold hero on phones */
  .hero { padding: 18px 24px 32px; }
  .hero-grid { gap: 22px; }
  .hero-visual { max-width: 232px; }
  .portrait-frame { padding: 8px; border-radius: 18px; }
  .portrait-frame::after { inset: 13px; border-radius: 10px; }
  .portrait-frame img { aspect-ratio: 1 / 1; border-radius: 11px; }
  .hero h1 { font-size: 2.05rem; margin-bottom: 16px; }
  .hero-text { font-size: 1rem; }
  .hero-actions { margin: 22px 0 26px; }
  .hero-trust { padding-top: 22px; }
  /* Slimmer header so it doesn't eat the first screen */
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 1.18rem; }
  .brand-copy small { font-size: 0.6rem; letter-spacing: 0.08em; white-space: nowrap; }

  .hero-actions .btn { flex: 1; }
  .hero-trust { gap: 14px; }
  .trust-divider { display: none; }

  /* Justified body copy on mobile */
  .hero-text,
  .location-copy > p,
  .review-card blockquote,
  .section-heading > p {
    text-align: left;
    text-justify: inter-word;
    hyphens: manual;
  }
}

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