/* ============================================================
   dhaara-warm.css — "warm trust" theme (mia-ai inspired)
   Scope: liver/HPB section pages only (explicit <link> per page)
   Ivory/pearl neutrals + champagne gold accents; trust blue kept.
   Additive only — no content/structure changes depend on this file.
   ============================================================ */

:root {
  --dw-ivory: #f8f4ef;
  --dw-cream: #f1e9df;
  --dw-surface: #fffdfa;
  --dw-surface-2: #faf6f0;
  --dw-line: rgba(92, 70, 42, .14);
  --dw-line-2: rgba(92, 70, 42, .26);
  --dw-ink: #1d1a17;
  --dw-muted: #62584e;
  --dw-dim: #95897c;
  --dw-gold: #a4804c;
  --dw-gold-deep: #7a5a2e;
  --dw-gold-light: #e8d3a6;
  --dw-gold-metal: linear-gradient(100deg, #6b4d26 0%, #9a763f 22%, #c7a266 42%, #e2c893 50%, #b8914f 62%, #8e6b37 82%, #6b4d26 100%);
  --dw-gold-btn: linear-gradient(135deg, #e8d3a6 0%, #c7a266 34%, #a4804c 68%, #7a5a2e 100%);
  --dw-blue: #0F4C81;
  --dw-shadow: 0 20px 46px -24px rgba(60, 44, 24, .38);
  --dw-shadow-sm: 0 8px 22px -14px rgba(60, 44, 24, .3);
  --dw-radius: 22px;
  --dw-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── Page ground: warm ivory everywhere ───────────────────────────── */
body {
  background: var(--dw-ivory) !important;
}
.boxed_wrapper,
.blog-v2-area,
#service-single-area {
  background: var(--dw-ivory) !important;
}
.blog-v2-area {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(56px, 7vw, 80px);
}
.blog-v2-area .blog-post {
  border-right: 1px solid var(--dw-line);
}

/* ── Film grain (mia feTurbulence texture) ────────────────────────── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ── Headings: warm ink + champagne sheen rule ────────────────────── */
body h2 {
  position: relative;
  color: var(--dw-ink) !important;
  font-weight: 700;
  letter-spacing: -.01em;
  padding-bottom: 13px;
  margin-bottom: 22px !important;
}
body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: 2px;
  background: var(--dw-gold-metal);
}
.footer-area h2,
.footer-bottom h2,
.footer-contact-info h2 {
  color: inherit !important;
  padding-bottom: 0;
  margin-bottom: 10px !important;
}
.footer-area h2::after,
.footer-bottom h2::after,
.footer-contact-info h2::after {
  display: none;
}
/* Content sub-heads that carry inline `color:green` (h6) — same warm treatment */
#blog-area h6[style*="green"],
#service-single-area h6[style*="green"] {
  position: relative;
  color: var(--dw-ink) !important;
  padding-bottom: 13px;
  margin-bottom: 20px !important;
}
#blog-area h6[style*="green"]::after,
#service-single-area h6[style*="green"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: var(--dw-gold-metal);
}
/* Service pages use centered section titles — center the gold rule to match */
#service-single-area h2::after,
#service-single-area h6[style*="green"]::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ── Breadcrumb banner: champagne edge ────────────────────────────── */
.breadcrumb-area {
  border-bottom: 1px solid rgba(164, 128, 76, .55);
}

/* ── Content body: mia reading rhythm ─────────────────────────────── */
#blog-area,
#service-single-area {
  color: var(--dw-muted);
}
#blog-area p,
#blog-area li,
#service-single-area p,
#service-single-area li {
  line-height: 1.85;
}
#blog-area a:not(.dh-btn-call):not(.dh-btn-appt):not(.schedule-link):hover,
#service-single-area a:not(.dh-btn-call):not(.dh-btn-appt):not(.schedule-link):hover {
  color: var(--dw-gold-deep);
}
#blog-area strong,
#blog-area b,
#service-single-area strong,
#service-single-area b {
  color: var(--dw-ink);
}

/* ── Sidebar widgets as pearl cards ───────────────────────────────── */
.single-sidebar {
  background: var(--dw-surface);
  border: 1px solid var(--dw-line);
  border-radius: 18px;
  box-shadow: var(--dw-shadow-sm);
  padding: 24px 22px;
  margin-bottom: 26px;
}
.single-sidebar .sec-title {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--dw-line);
}
.single-sidebar .sec-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46px;
  height: 2px;
  background: var(--dw-gold-metal);
}
.single-sidebar .sec-title h3 {
  color: var(--dw-ink) !important;
  font-weight: 700;
}
.single-sidebar .categories a {
  color: var(--dw-muted);
  border-bottom: 1px solid var(--dw-line);
  transition: color .25s var(--dw-ease), padding-left .25s var(--dw-ease);
}
.single-sidebar .categories li:last-child a {
  border-bottom: 0;
}
.single-sidebar .categories a:hover {
  color: var(--dw-gold-deep);
}

/* ── Content cards / post holders ─────────────────────────────────── */
.box,
.img-holder,
.title-holder {
  background: linear-gradient(180deg, #fffefb, #fdf9f3);
  border: 1px solid var(--dw-line);
  border-radius: 16px;
  box-shadow: var(--dw-shadow-sm);
  transition: transform .5s var(--dw-ease), box-shadow .4s var(--dw-ease), border-color .4s;
}
.box {
  overflow: hidden;
}
.img-holder {
  overflow: hidden;
}
.box:hover,
.title-holder:hover {
  transform: translateY(-3px);
  box-shadow: var(--dw-shadow);
  border-color: rgba(164, 128, 76, .38);
}
.post-title a {
  color: var(--dw-ink) !important;
  transition: color .25s var(--dw-ease);
}
.post-title a:hover {
  color: var(--dw-gold-deep) !important;
}
.post-date {
  color: var(--dw-dim) !important;
}
.schedule-link {
  background: var(--dw-gold-btn) !important;
  background-size: 200% 100% !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px -12px rgba(164, 128, 76, .8), inset 0 1px 0 rgba(255, 255, 255, .55) !important;
  transition: background-position .8s var(--dw-ease), box-shadow .3s var(--dw-ease) !important;
}
.schedule-link:hover {
  background-position: 100% 0 !important;
  box-shadow: 0 16px 34px -12px rgba(164, 128, 76, .85), inset 0 1px 0 rgba(255, 255, 255, .55) !important;
}

/* ── Buttons: pill shape, gold-hover ghost, lifted primary ────────── */
.dh-btn-appt,
.dh-btn-call,
.sb-appt,
.sb-call,
.sb-wa {
  border-radius: 999px !important;
}
.dh-btn-appt {
  transition: transform .3s var(--dw-ease), box-shadow .3s var(--dw-ease) !important;
}
.dh-btn-appt:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(15, 76, 129, .75) !important;
}
.dh-btn-call:hover {
  border-color: var(--dw-gold) !important;
  color: var(--dw-gold-deep) !important;
  background: var(--dw-surface) !important;
}

/* ── Footer: untouched (kept uniform with the rest of the site) ───── */

/* ══════════════════════════════════════════════════════════════════
   DOCTOR PAGE (Dr. Srinivas Bojanapu)
   ══════════════════════════════════════════════════════════════════ */

/* ── Hero: keep trust blue, add champagne edge ────────────────────── */
.dh-hero {
  border-bottom: 1px solid rgba(164, 128, 76, .5);
}
.dh-hero .tag {
  border: 1px solid rgba(232, 211, 166, .38) !important;
  background: rgba(255, 253, 250, .1) !important;
  border-radius: 999px !important;
  transition: border-color .3s var(--dw-ease);
}
.dh-hero .tag:hover {
  border-color: rgba(243, 225, 179, .75) !important;
}

/* ── Gold-leaf medallion (mia signature portrait treatment) ───────── */
figure.dw-medallion {
  display: block;
  box-sizing: content-box; /* width below = content box so the photo fits exactly; ring stays concentric under Bootstrap's border-box */
  width: 180px;
  margin: 6px auto 18px;
  padding: 9px;
  position: relative;
  isolation: isolate;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #7a5a2e, #c9a567, #f3e1b3, #b8914f, #7a5a2e, #d8bb82, #fff0c8, #a4804c, #7a5a2e);
  box-shadow: 0 26px 54px -24px rgba(20, 30, 60, .65), 0 0 0 1px rgba(255, 240, 200, .25);
}
figure.dw-medallion img {
  display: block;
  width: 180px;
  height: 180px;
  box-sizing: border-box;
  object-fit: cover !important;
  object-position: 50% 0 !important; /* portrait source: keep full head, crop the coat at the bottom */
  margin: 0 auto;
  border: 5px solid #fffdfa !important;
  box-shadow: 0 6px 18px -8px rgba(20, 30, 60, .55) !important;
}
figure.dw-medallion::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 14%, rgba(255, 255, 255, .55), transparent 42%);
}

/* ── Stat cards on trust-blue band ────────────────────────────────── */
.stat-box {
  background: linear-gradient(180deg, #fffefb, #fdf9f3) !important;
  border: 1px solid var(--dw-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--dw-shadow-sm);
}
.stat-box .lbl {
  color: var(--dw-gold-deep) !important;
  letter-spacing: .16em;
}

/* ── Expertise cards: keep category colour bars, warm the shells ──── */
.dh-card {
  background: linear-gradient(180deg, #fffefb, #fdf9f3) !important;
  border-radius: 18px !important;
  box-shadow: var(--dw-shadow-sm);
  transition: transform .5s var(--dw-ease), box-shadow .4s var(--dw-ease);
}
.dh-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--dw-shadow);
}
.dh-check {
  color: var(--dw-gold) !important;
}

/* ── Service pages: warm the service sidebar internals ────────────── */
#service-single-area .single-sidebar .all-service li,
#service-single-area .single-sidebar .all-service li a,
#service-single-area .single-sidebar .opening-time li {
  border-color: var(--dw-line);
}
#service-single-area .single-sidebar .all-service li a {
  color: var(--dw-muted);
}
#service-single-area .single-sidebar .all-service li a:hover {
  color: var(--dw-gold-deep);
  background: var(--dw-surface-2);
}

/* ── Timeline + tags + FAQ + testimonials ─────────────────────────── */
.timeline-dot {
  background: var(--dw-gold) !important;
  box-shadow: 0 0 0 4px rgba(164, 128, 76, .18) !important;
  border: 0 !important;
}
.tag {
  background: var(--dw-surface-2) !important;
  border: 1px solid var(--dw-line) !important;
  border-radius: 999px !important;
  color: var(--dw-muted) !important;
}
.dh-faq-item {
  background: var(--dw-surface);
  border: 1px solid var(--dw-line);
  border-radius: 14px;
  box-shadow: var(--dw-shadow-sm);
}
.dh-testimonial {
  background: var(--dw-cream);
  border: 1px solid var(--dw-line);
  border-radius: 18px;
}
.stars {
  color: var(--dw-gold) !important;
}
.sidebar-card {
  background: linear-gradient(180deg, #fffefb, #fdf9f3) !important;
  border: 1px solid var(--dw-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--dw-shadow-sm);
}
.sb-appt,
.sb-call,
.sb-wa {
  transition: transform .3s var(--dw-ease), box-shadow .3s var(--dw-ease);
}
.sb-appt:hover,
.sb-call:hover,
.sb-wa:hover {
  transform: translateY(-2px);
}

/* ── Scroll reveal (fail-open: .dw-r added only by JS) ────────────── */
.dw-r {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s var(--dw-ease), transform .75s var(--dw-ease);
}
.dw-r.dw-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .dw-r {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  figure.dw-medallion,
  .schedule-link,
  .dh-card,
  .box {
    transition: none !important;
  }
}

/* ── Responsive touches ───────────────────────────────────────────── */
@media (max-width: 767px) {
  .blog-v2-area .blog-post {
    border-right: 0;
  }
  .single-sidebar {
    padding: 20px 16px;
  }
  body h2 {
    font-size: clamp(1.3rem, 5.4vw, 1.6rem);
  }
}
