/*
Theme Name: JunglerDev
Theme URI: https://junglerdev.com
Author: JunglerDev
Author URI: https://junglerdev.com
Description: A performance-first WordPress barebones theme built on Bootstrap 5.3.3. Designed as a clean, extensible baseline for any project — with built-in structured data, llms.txt generation, and developer-friendly integrations.
Version: 1.0.1
Tested up to: 6.8
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: junglerdev
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, bootstrap, developer, barebones
*/

/* ============================================================
   DR. GIT — THEME STYLES
   [JDev - JESR 20260530]
   ============================================================ */

/* ──────────────────────────────────────────
   BRAND TOKENS
────────────────────────────────────────── */
:root {
  --dg-crimson:       #520284;
  --dg-crimson-hover: #3f0165;
  --dg-navy:          #2a82fe;
  --dg-pink:          #fd3378;
  --dg-cream:         #FBFAF8;
  --dg-soft-blue:     #EEF5FF;
  --dg-text-dark:     #0F1C38;
  --dg-text-mid:      #4A5568;
  --dg-text-light:    #8896A4;
}

/* ──────────────────────────────────────────
   BASE
────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; } /* [JDev - JESR 20260607] reserve scrollbar lane always — prevents layout shift on modal open */
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--dg-crimson); /* [JDev - JESR 20260531] matches footer bg — prevents cream gap on tall viewports (1920px+) */
  color: var(--dg-text-dark);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }

/* ──────────────────────────────────────────
   TOPBAR
────────────────────────────────────────── */
.dg-topbar {
  background: var(--dg-navy);
  padding: 9px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,.78);
}
.dg-topbar a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: color .2s;
}
.dg-topbar a:hover { color: #fff; }
.dg-topbar-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.dg-topbar-socials a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  line-height: 1;
  margin: 0;
}
.dg-topbar-socials a:hover {
  background: var(--dg-pink);
  color: #fff;
}
.dg-top-divider {
  display: inline-block;
  width: 1px; height: 14px;
  background: rgba(255,255,255,.22);
  vertical-align: middle;
}

/* ──────────────────────────────────────────
   NAVBAR
────────────────────────────────────────── */
.navbar-dg {
  background: #fff;
  border-bottom: 1px solid rgba(42,130,254,.10);
  box-shadow: 0 2px 20px rgba(42,130,254,.06);
}
.navbar-dg .nav-link {
  font-size: 16px; font-weight: 600;
  color: var(--dg-text-mid);
  padding: 6px 14px; border-radius: 8px;
  transition: color .2s, background .2s;
}
.navbar-dg .nav-link:hover {
  color: var(--dg-navy);
  background: rgba(82,2,132,.06);
}
.navbar-dg .navbar-toggler { border: none; box-shadow: none; }
/* [JDev - JESR 20260531] btn-dg-nav is outside the <ul align-items-center>; in collapsed state it renders full-width with left-aligned text. Center and inset it to match the nav items above. */
@media (max-width: 991px) {
  .navbar-collapse .btn-dg-nav {
    display: block;
    text-align: center;
    margin: 6px 1rem 2px;
  }
}

/* ──────────────────────────────────────────
   BUTTONS
────────────────────────────────────────── */
.btn-dg-primary {
  background-image: linear-gradient(to right, var(--dg-crimson-hover) 50%, var(--dg-crimson) 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: #fff;
  border: none; font-family: inherit; font-weight: 700;
  padding: 12px 28px; border-radius: 10px; font-size: 15px;
  letter-spacing: -.01em; cursor: pointer;
  transition: background-position .38s ease, color .2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-dg-primary:hover, .btn-dg-primary:focus {
  background-position: left center;
  color: #fff;
}
.btn-dg-outline {
  background-image: linear-gradient(to right, var(--dg-soft-blue) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: var(--dg-navy);
  border: 1.5px solid rgba(42,130,254,.22);
  font-family: inherit; font-weight: 600;
  padding: 11px 24px; border-radius: 10px; font-size: 15px;
  letter-spacing: -.01em; cursor: pointer;
  transition: background-position .38s ease, border-color .2s, color .2s;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-dg-outline:hover {
  background-position: left center;
  border-color: var(--dg-navy);
  color: var(--dg-navy);
}
.btn-dg-outline.light {
  background-image: linear-gradient(to right, rgba(255,255,255,.14) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right center;
  border-color: rgba(255,255,255,.30); color: #fff;
}
.btn-dg-outline.light:hover {
  background-position: left center;
  border-color: rgba(255,255,255,.55); color: #fff;
}
.btn-dg-nav {
  background-image: linear-gradient(to right, var(--dg-crimson-hover) 50%, var(--dg-crimson) 50%) !important;
  background-size: 200% 100% !important;
  background-position: right center !important;
  color: #fff !important;
  font-weight: 700 !important; padding: 9px 20px !important;
  border-radius: 10px !important; font-size: 14px !important;
  transition: background-position .38s ease !important;
}
.btn-dg-nav:hover { background-position: left center !important; }

/* ──────────────────────────────────────────
   SECTION LABELS / HEADINGS
────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--dg-crimson); margin-bottom: 10px;
}
.section-label { display: none !important; }
.section-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800; letter-spacing: -.032em; line-height: 1.12;
  color: var(--dg-text-dark);
}
.section-desc {
  font-size: 16.5px; color: var(--dg-text-mid);
  line-height: 1.68; max-width: 560px;
}
.section-py { padding: 96px 0; }

/* ──────────────────────────────────────────
   HERO
────────────────────────────────────────── */
.dg-hero {
  background: var(--dg-cream);
  position: relative; overflow: hidden;
  min-height: calc(100vh - 104px);
  display: flex; align-items: center;
  padding: 80px 0;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(42,130,254,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,130,254,.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 75% at 65% 40%, black, transparent);
}
.hero-blob {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.hero-blob-1 {
  top: -100px; right: -80px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(42,130,254,.055) 0%, transparent 70%);
}
.hero-blob-2 {
  bottom: -60px; left: -60px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(82,2,132,.048) 0%, transparent 70%);
}
.hero-title {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 800; line-height: 1.07; letter-spacing: -.038em;
  color: var(--dg-text-dark);
}
.hero-title .hl-navy  { color: var(--dg-navy); }
.hero-title .hl-red   { color: var(--dg-pink); }

/* Stats strip */
.hero-stats {
  background: #fff; border-radius: 16px;
  border: 1px solid rgba(42,130,254,.08);
  box-shadow: 0 4px 24px rgba(42,130,254,.07);
  overflow: hidden;
}
.hstat {
  padding: 18px 22px; position: relative;
}
.hstat + .hstat {
  border-left: 1px solid rgba(42,130,254,.09);
}
.hstat-num {
  font-size: 24px; font-weight: 800; color: var(--dg-navy);
  letter-spacing: -.04em; line-height: 1;
}
.hstat-lbl {
  font-size: 12px; font-weight: 500; color: var(--dg-text-light); margin-top: 3px;
}
.hstat { display: flex; flex-direction: column; justify-content: center; }

/* Doctor image + bubbles */
.doctor-visual {
  position: relative; height: 580px;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.doctor-photo {
  width: 260px; height: 360px; border-radius: 24px;
  overflow: hidden; position: relative;
  box-shadow: 0 32px 80px rgba(42,130,254,.22), 0 8px 24px rgba(0,0,0,.08);
  border: 3px solid rgba(255,255,255,.85);
  flex-shrink: 0; z-index: 2;
}
.doctor-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.doctor-photo::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 5px; background: var(--dg-crimson);
}

/* Floating bubble cards */
.fcard {
  position: absolute; background: #fff;
  border-radius: 13px; padding: 10px 15px;
  box-shadow: 0 8px 32px rgba(42,130,254,.13), 0 1px 4px rgba(0,0,0,.04);
  display: flex; align-items: center; gap: 9px;
  white-space: nowrap; z-index: 3;
}
.fcard-ico {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 15px;
}
.fv { font-size: 13px; font-weight: 800; color: var(--dg-navy); line-height: 1.1; }
.fl { font-size: 10.5px; font-weight: 500; color: var(--dg-text-light); margin-top: 1px; }

.fc1 { top: 50px;   left: calc(50% - 310px); animation: fb 4.0s ease-in-out infinite; }
.fc2 { top: 60px;   right: calc(50% - 310px); animation: fb 4.0s ease-in-out infinite; animation-delay: -1.4s; }
.fc3 { top: 230px;  left: calc(50% - 340px); animation: fb 4.2s ease-in-out infinite; animation-delay: -0.8s; }
.fc4 { top: 200px;  right: calc(50% - 330px); animation: fb 3.8s ease-in-out infinite; animation-delay: -2.1s; }
.fc5 { bottom: 80px; left: calc(50% - 320px); animation: fb 4.0s ease-in-out infinite; animation-delay: -1.9s; }
.fc6 { bottom: 65px; right: calc(50% - 315px); animation: fb 4.4s ease-in-out infinite; animation-delay: -0.4s; }

@keyframes fb {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-8px); }
}

/* [JDev - JESR 20260531] At lg-only (992-1199px) the col-lg-7 doctor column is ~560px wide,
   so the default 310-340px offsets push bubbles 30-60px outside the column on both sides.
   Reduce offsets so all 6 cards stay within the column boundary at iPad Pro (1024px). */
@media (max-width: 1199px) {
  .fc1 { left:  calc(50% - 225px); }
  .fc2 { right: calc(50% - 225px); }
  .fc3 { left:  calc(50% - 240px); }
  .fc4 { right: calc(50% - 235px); }
  .fc5 { left:  calc(50% - 230px); }
  .fc6 { right: calc(50% - 225px); }
}

/* ──────────────────────────────────────────
   HOW IT WORKS — staggered 4 steps
────────────────────────────────────────── */
.hiw-outer {
  display: flex; align-items: flex-start; gap: 0; position: relative;
}
.hiw-step {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative;
}
.hiw-step.up   { padding-top: 0; }
.hiw-step.down { padding-top: 90px; }
.hiw-circle-wrap {
  position: relative; display: inline-block;
  margin-bottom: 22px;
}
.hiw-circle {
  width: 158px; height: 158px; border-radius: 50%;
  overflow: hidden; position: relative;
  border: 5px solid #fff;
  box-shadow: 0 8px 30px rgba(42,130,254,.14);
  margin-bottom: 0; flex-shrink: 0;
}
.hiw-circle img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hiw-badge {
  position: absolute; bottom: 2px; right: 2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--dg-pink); color: #fff;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(42,130,254,.30);
  z-index: 4;
}
.hiw-title { font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--dg-text-dark); margin-bottom: 8px; }
.hiw-desc  { font-size: 13.5px; color: var(--dg-text-mid); line-height: 1.65; max-width: 180px; margin: 0 auto; }
.hiw-arrow { width: 78px; flex-shrink: 0; display: flex; align-items: flex-start; justify-content: center; }
.hiw-arrow.da { padding-top: 62px; }
.hiw-arrow.ua { padding-top: 96px; }

/* ──────────────────────────────────────────
   BENEFIT CARDS
────────────────────────────────────────── */
.benefit-card {
  background: #fff; border-radius: 16px;
  padding: 26px 22px; height: 100%;
  border: 1px solid rgba(42,130,254,.08);
  transition: box-shadow .2s;
}
.benefit-card:hover {
  box-shadow: 0 14px 36px rgba(42,130,254,.09);
}
.benefit-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}

/* ──────────────────────────────────────────
   FOR WHOM LIST
────────────────────────────────────────── */
.fwitem {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(42,130,254,.06);
  font-size: 15px; color: var(--dg-text-mid);
}
.fwitem:last-child { border-bottom: none; }
.fwitem i { color: var(--dg-crimson); font-size: 17px; flex-shrink: 0; margin-top: 2px; }

/* ──────────────────────────────────────────
   PLAN CARDS
────────────────────────────────────────── */
.plan-card {
  background: #fff; border-radius: 22px;
  border: 1.5px solid rgba(42,130,254,.10);
  overflow: hidden; height: 100%;
  transition: box-shadow .25s;
  display: flex; flex-direction: column;
}
.plan-card:hover {
  box-shadow: 0 24px 56px rgba(42,130,254,.12);
}
.plan-card.featured {
  border-color: var(--dg-navy);
  box-shadow: 0 12px 40px rgba(42,130,254,.14);
}
.plan-card:not(.featured):hover {
  border-color: var(--dg-pink);
  box-shadow: 0 14px 42px rgba(253,51,120,.18), 0 0 0 3px rgba(253,51,120,.12);
}
.plan-head {
  padding: 32px 32px 24px;
}
.plan-head.ft { background: var(--dg-navy); }
.plan-card:not(.featured) .plan-head {
  background: #fff;
}
.plan-card:not(.featured) .plan-body {
  border-top: 1px solid rgba(15, 28, 56, .10);
}
.plan-name {
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.plan-price {
  font-size: 50px; font-weight: 800; letter-spacing: -.04em; line-height: 1;
}
.plan-body { padding: 26px 32px 32px; display:flex; flex-direction:column; flex:1; }
.plan-body .mt-4 { margin-top: auto !important; }
.plan-body .btn-dg-primary,
.plan-body .btn-dg-outline { min-height: 52px; align-items:center; }
.plan-feat {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; font-size: 14.5px; font-weight: 500; color: var(--dg-text-mid);
  border-bottom: 1px solid rgba(42,130,254,.055);
}
.plan-feat:last-of-type { border-bottom: none; }
.plan-body > .plan-feat:nth-last-child(2) { border-bottom: none; }
.plan-feat i { color: var(--dg-crimson); font-size: 15px; flex-shrink: 0; margin-top: 3px; }
.plan-tag-basic {
  background: var(--dg-pink);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.plan-tag {
  background: var(--dg-pink); color: #fff;
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 3px 11px; border-radius: 20px;
}

/* ──────────────────────────────────────────
   DOCTOR SECTION
────────────────────────────────────────── */
.doctor-showcase {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(115deg, #f7f9fc 0%, #f1f4f8 48%, #edf1f6 100%);
  box-shadow: 0 26px 70px rgba(15,30,62,.10);
  border: 1px solid rgba(42,130,254,.06);
}
.doctor-showcase::before,
.doctor-showcase::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.doctor-showcase::before {
  width: 480px;
  height: 480px;
  left: -220px;
  top: -120px;
  background: radial-gradient(circle, rgba(42,130,254,.14) 0%, rgba(42,130,254,.06) 44%, rgba(42,130,254,0) 72%);
}
.doctor-showcase::after {
  width: 420px;
  height: 420px;
  right: -180px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(82,2,132,.12) 0%, rgba(82,2,132,.05) 44%, rgba(82,2,132,0) 72%);
}
.doctor-showcase-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 36px 18px 0 28px;
  background: transparent;
}
.doctor-showcase-visual::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 84px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,130,254,.14) 0%, rgba(42,130,254,0) 70%);
  filter: blur(2px);
}
.doctor-showcase-visual img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
  display: block;
  transform: translateY(14px);
}
.doctor-showcase-copy {
  position: relative;
  z-index: 1;
  padding: 52px 50px 52px 20px;
  color: var(--dg-text-dark);
}
.doctor-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6d7890;
  margin-bottom: 12px;
}
.doctor-showcase-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.04em;
  margin-bottom: 8px;
  color: var(--dg-navy);
}
.doctor-showcase-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dg-crimson);
  margin-bottom: 20px;
}
.doctor-showcase-copy p {
  font-size: 17px;
  line-height: 1.8;
  color: #445168;
  max-width: 560px;
  margin-bottom: 28px;
}
.doctor-feature-card {
  position: relative;
  background: #f2f5f8;
  color: var(--dg-text-dark);
  border-radius: 24px;
  padding: 28px 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  max-width: 620px;
  box-shadow: 0 12px 28px rgba(27,42,73,.06);
  border: 1px solid rgba(42,130,254,.07);
}
.doctor-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #445168;
}
.doctor-feature-item i {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--dg-pink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
  flex-shrink: 0;
}
@media (max-width: 991px) {
  .doctor-showcase-visual {
    min-height: 420px;
    padding: 36px 24px 32px; /* [JDev - JESR 20260607] bottom pad so image doesn't sit flush against divider */
  }
  .doctor-showcase-visual img {
    max-height: 410px;
  }
  .doctor-showcase-copy {
    padding: 28px 28px 34px;
    border-top: 1px solid rgba(42,130,254,.18); /* [JDev - JESR 20260607] separator below doctor image on mobile */
  }
}
@media (max-width: 767px) {
  .doctor-showcase {
    border-radius: 22px;
  }
  .doctor-showcase-visual {
    min-height: 340px;
    padding: 28px 20px 32px;
  }
  .doctor-showcase-visual::before {
    width: 240px;
    height: 240px;
    bottom: 58px;
  }
  .doctor-showcase-visual img {
    max-height: 330px;
    transform: translateY(8px);
  }
  .doctor-showcase-copy {
    padding: 20px 20px 24px;
  }
  .doctor-showcase-copy p {
    font-size: 15px;
  }
  .doctor-feature-card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 10px;
  }
}

/* ──────────────────────────────────────────
   TESTIMONIALS
────────────────────────────────────────── */
.tcard {
  background: #fff; border-radius: 18px;
  padding: 28px; border: 1px solid rgba(42,130,254,.08);
  box-shadow: 0 4px 20px rgba(42,130,254,.06); height: 100%;
  display: flex; flex-direction: column; /* [JDev - JESR 20260607] names aligned to bottom */
}
.tcard-stars { color: #F59E0B; font-size: 13px; letter-spacing: 2px; }
.tcard-text {
  font-size: 14.5px; color: var(--dg-text-mid);
  line-height: 1.7; font-style: italic; margin: 12px 0 18px;
  flex: 1; /* push author block to bottom */
}
.tcard-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--dg-soft-blue); color: var(--dg-navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; flex-shrink: 0;
}

/* Reviews carousel <LG [JDev - JESR 20260607] */
.tcard-carousel { padding: 0 16px 44px; overflow-x: clip; } /* [JDev - JESR 20260607] clip horizontal bleed without hiding shadows or indicators */
.tcard-carousel .carousel-inner { overflow: visible;padding: 10px 35px; }
.tcard-carousel .carousel-item { padding: 4px 2px; }
.tcard-carousel .carousel-control-prev,
.tcard-carousel .carousel-control-next {
  width: 36px; height: 36px; top: 40%; bottom: auto; transform: translateY(-50%);
  background: var(--dg-navy); border-radius: 50%; opacity: .9;
}
.tcard-carousel .carousel-control-prev { left: 0px; }
.tcard-carousel .carousel-control-next { right: 0px; }
.tcard-carousel .carousel-control-prev-icon,
.tcard-carousel .carousel-control-next-icon { width: 14px; height: 14px; }
.tcard-carousel .carousel-indicators { bottom: 4px; margin: 0; }
.tcard-carousel .carousel-indicators [data-bs-target] {
  width: 8px; height: 8px; border-radius: 50%;
  border-top: none; border-bottom: none;
  background-color: var(--dg-navy); opacity: .28;
  transition: opacity .2s;
}
.tcard-carousel .carousel-indicators .active { opacity: 1; }

/* Stats row */
.stat-row {
  background: #fff; border-radius: 20px;
  border: 1px solid rgba(42,130,254,.08);
  box-shadow: 0 4px 24px rgba(42,130,254,.06);
  overflow: hidden;
}
.stat-item {
  padding: 36px 24px; text-align: center;
  border-right: 1px solid rgba(42,130,254,.08);
}
.stat-item:last-child { border-right: none; }
.stat-big { font-size: 44px; font-weight: 800; color: var(--dg-navy); letter-spacing: -.04em; line-height: 1; }
.stat-lbl { font-size: 13px; font-weight: 500; color: var(--dg-text-light); margin-top: 6px; }

/* ──────────────────────────────────────────
   FAQ ACCORDION
────────────────────────────────────────── */
.acc-dg .accordion-item {
  border: 0 !important;
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 22px;
  background: #f7f7f8;
  box-shadow: none;
}
.acc-dg .accordion-header {
  margin: 0;
}
.acc-dg .accordion-button {
  position: relative;
  font-family: inherit;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  color: var(--dg-navy);
  background: #f7f7f8;
  padding: 26px 70px 26px 28px;
  border-radius: 16px !important;
  box-shadow: none;
  align-items: flex-start;
}
.acc-dg .accordion-button::after {
  position: absolute;
  top: 20px;
  right: 24px;
  background-image: none !important;
  content: "+";
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  font-weight: 500;
  color: var(--dg-crimson);
  transform: none !important;
  margin-left: 0;
}
.acc-dg .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}
.acc-dg .accordion-button:not(.collapsed) {
  color: #fff;
  background: var(--dg-navy);
  box-shadow: none;
  border-radius: 16px 16px 0 0 !important;
}
.acc-dg .accordion-button:not(.collapsed)::after {
  content: "–";
  color: #fff;
}
.acc-dg .accordion-collapse.show {
  background: var(--dg-navy);
}
.acc-dg .accordion-body {
  font-size: 15px;
  color: rgba(255,255,255,.92);
  line-height: 1.75;
  padding: 0 28px 26px;
  background: var(--dg-navy);
}
@media (max-width: 767px) {
  .acc-dg .accordion-item {
    margin-bottom: 14px;
    border-radius: 14px !important;
  }
  .acc-dg .accordion-button {
    font-size: 16px;
    padding: 20px 58px 20px 20px;
  }
  .acc-dg .accordion-button::after {
    top: 15px;
    right: 18px;
  }
  .acc-dg .accordion-body {
    font-size: 14px;
    padding: 0 20px 22px;
  }
}

/* ──────────────────────────────────────────
   CTA STRIP
   Background is gradient-only (no external photo).
────────────────────────────────────────── */
.cta-strip {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(10,34,84,.96) 0%, rgba(42,130,254,.78) 46%, rgba(82,2,132,.62) 78%, rgba(253,51,120,.28) 100%),
    url('/wp-content/themes/junglerdev/images/Clinica-Dr-Git.jpg') center/cover no-repeat; /* [JDev - JESR 20260607] */
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at right center, rgba(253,51,120,.26) 0%, rgba(253,51,120,0) 34%);
  pointer-events: none;
}
.cta-strip .container {
  position: relative;
  z-index: 1;
}
.cta-final-grid {
  display: block;
  max-width: 720px;
  text-align: left;
}
.cta-final-copy p {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.cta-strip .cta-white-btn {
  background-image: none !important;
  background: #fff !important;
  color: var(--dg-crimson) !important;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}
.cta-strip .cta-white-btn:hover,
.cta-strip .cta-white-btn:focus {
  color: var(--dg-crimson) !important;
  background: #fff !important;
}
.cta-final-actions {
  justify-content: flex-start !important;
}
.cta-final-img { display: none; }
@media (max-width: 991px) {
  .cta-strip {
    background:
      linear-gradient(180deg, rgba(10,34,84,.96) 0%, rgba(42,130,254,.76) 55%, rgba(82,2,132,.58) 88%, rgba(253,51,120,.22) 100%),
      url('/wp-content/themes/junglerdev/images/Clinica-Dr-Git.jpg') center/cover no-repeat;
  }
  .cta-final-grid {
    text-align: center;
    margin: 0 auto;
  }
  .cta-final-copy p {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .cta-final-actions {
    justify-content: center !important;
  }
}

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
.dg-footer { background: var(--dg-crimson); color: rgba(255,255,255,.78); }
.dg-footer .footer-brand p { max-width: none !important; }
.dg-footer .footer-col { display:flex; flex-direction:column; height:100%; }
.dg-footer .footer-logo { height: 44px; width: auto; max-width: 170px; display:block; object-fit:contain; }
.dg-footer .footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.dg-footer .footer-logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
.dg-footer .footer-logo-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  filter: none !important;
}
@media (min-width: 992px) {
  .dg-footer .footer-wide { flex: 0 0 42%; max-width: 42%; }
  .dg-footer .footer-narrow { flex: 0 0 29%; max-width: 29%; }
}
.dg-footer h6 {
  color: #fff; font-weight: 700; font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px;
}
.dg-footer a {
  display: block; font-size: 13.5px; margin-bottom: 9px;
  color: rgba(255,255,255,.60); text-decoration: none; transition: color .2s;
}
.dg-footer a:hover { color: #fff; }
.dg-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0; font-size: 12px; color: rgba(255,255,255,.38);
}
.dg-footer .soc-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.dg-footer .soc-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: inline-flex !important; align-items: center; justify-content: center;
  color: rgba(255,255,255,.78) !important; font-size: 16px;
  margin: 0 !important; text-decoration: none !important;
  transition: background .2s, color .2s, transform .2s;
}
.dg-footer .soc-btn:hover {
  background: var(--dg-pink);
  color: #fff !important;
  transform: translateY(-2px);
}

/* WhatsApp float */
.wa-fab {
  position: fixed; bottom: 10px; right: 10px; z-index: 9999;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,.42);
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover { transform: scale(1.1); color: #fff; box-shadow: 0 12px 32px rgba(37,211,102,.54); }

/* ──────────────────────────────────────────
   MODAL
────────────────────────────────────────── */
.modal-dg .modal-content { border-radius: 22px; border: none; overflow: hidden; }
.modal-dg .modal-header {
  background: var(--dg-navy); border: none;
  padding: 52px 28px 24px 28px; /* [JDev - JESR 20260607] top clears absolute X; rows: [X] / title / subtitle */
  position: relative;
  display: block;
}
.modal-dg .modal-title { color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1.22; margin-bottom: 6px; }
.modal-dg .modal-subtitle { color: rgba(255,255,255,.62); font-size: 13.5px; line-height: 1.55; margin: 0; }
.modal-dg .btn-close {
  filter: invert(1); opacity: .65;
  position: absolute; top: 16px; right: 16px; margin: 0;
}
.modal-dg .modal-body  { padding: 28px 32px; }
.modal-dg .modal-footer { border: none; padding: 0 32px 26px; }
.form-dg .form-label {
  font-weight: 600; font-size: 13.5px; color: var(--dg-text-dark); margin-bottom: 6px;
}
.form-dg .form-control,
.form-dg .form-select {
  font-family: inherit; font-size: 14px;
  border: 1.5px solid rgba(42,130,254,.15);
  border-radius: 10px; padding: 11px 15px;
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-dg .form-control:focus,
.form-dg .form-select:focus {
  border-color: var(--dg-navy);
  box-shadow: 0 0 0 3px rgba(42,130,254,.10); outline: none;
}

/* ──────────────────────────────────────────
   GALLERY STRIP
────────────────────────────────────────── */
.gallery-strip-wrap {
  overflow: hidden; position: relative;
}
.gallery-strip-wrap::before,
.gallery-strip-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 110px;
  z-index: 2; pointer-events: none;
}
.gallery-strip-wrap::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.gallery-strip-wrap::after  { right: 0; background: linear-gradient(to left, #fff, transparent); }
.gallery-strip {
  display: flex; gap: 18px;
  animation: gscroll 140s linear infinite;
  width: max-content; padding: 10px 0;
}
.gallery-strip:hover { animation-play-state: paused; }
.gallery-item {
  width: clamp(250px, 24vw, 340px);
  aspect-ratio: 1031 / 1023;
  flex: 0 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: #f4f7fb;
  box-shadow: 0 16px 42px rgba(42,130,254,.10);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes gscroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────
   BENEFIT TABS v2
────────────────────────────────────────── */
.btabs2-wrap {
  display: flex; gap: 20px; align-items: stretch; min-height: 520px;
}
.btabs2-imgcol {
  flex: 0 0 32%; position: relative;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(42,130,254,.13);
}
.btabs2-imgcol img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.btabs2-box {
  flex: 1; background: #fff; border-radius: 20px;
  border: 1px solid rgba(42,130,254,.09);
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 4px 24px rgba(42,130,254,.06);
}
.btabs2-nav { display: flex; border-bottom: 1px solid rgba(42,130,254,.09); }
.btabs2-tab {
  flex: 1; padding: 20px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  cursor: pointer; text-align: center;
  border-bottom: 3px solid transparent;
  transition: background .22s, border-color .22s;
}
.btabs2-tab + .btabs2-tab { border-left: 1px solid rgba(42,130,254,.07); }
.btabs2-tab:hover:not(.active) { background: var(--dg-soft-blue); }
.btabs2-tab.active { background: var(--dg-crimson); border-bottom-color: var(--dg-navy); }
.btabs2-ico {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
  background: #fff; color: var(--dg-pink);
  box-shadow: inset 0 0 0 1px rgba(82,2,132,.08);
  transition: background .22s, color .22s;
}
.btabs2-tab.active .btabs2-ico { background: rgba(255,255,255,.14); color: #fff; box-shadow:none; }
.btabs2-name {
  font-size: 12px; font-weight: 700; color: var(--dg-text-mid);
  letter-spacing: .01em; line-height: 1.3; transition: color .22s;
}
.btabs2-tab.active .btabs2-name { color: rgba(255,255,255,.82); }
.btabs2-content { flex: 1; padding: 32px 36px; display: flex; flex-direction: column; }
.btabs2-panel { display: none; flex-direction: column; }
.btabs2-panel.bp2-active { display: flex; }
.btabs2-desc {
  font-size: 14.5px; color: var(--dg-text-mid); line-height: 1.72;
  padding-bottom: 22px; margin-bottom: 22px; margin-top: 0;
  border-bottom: 1px solid rgba(42,130,254,.07);
}
.btabs2-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(42,130,254,.06);
}
.btabs2-item:last-child { border-bottom: none; padding-bottom: 0; }
.btabs2-item-ico {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.btabs2-item-title {
  font-size: 14.5px; font-weight: 800; color: var(--dg-text-dark);
  letter-spacing: -.01em; margin-bottom: 3px;
}
.btabs2-item-desc { font-size: 13px; color: var(--dg-text-mid); line-height: 1.62; margin: 0; }
@media (max-width: 767px) {
  .btabs2-wrap { flex-direction: column-reverse; min-height: auto; }
  .btabs2-imgcol { height: 220px; flex: none; }
  .btabs2-imgcol img { object-position: center center !important; } /* [JDev - JESR 20260607] override data-pos JS on small screens */
  .btabs2-tab { padding: 12px 6px; } /* [JDev - JESR 20260531] tighten to fit 3 tabs + visible labels */
  .btabs2-name { font-size: 10px; line-height: 1.25; } /* show labels — hide was removing context on mobile */
  .btabs2-content { padding: 24px 20px; }
}

/* ──────────────────────────────────────────
   BENEFICIOS COMPARATIVOS
────────────────────────────────────────── */
.dg-compare-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfbfd 0%, #f3f5f8 100%) !important;
}
.dg-compare-section::before,
.dg-compare-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.dg-compare-section::before {
  width: 420px;
  height: 420px;
  left: -180px;
  top: 70px;
  background: radial-gradient(circle, rgba(42,130,254,.08) 0%, rgba(42,130,254,.035) 45%, rgba(42,130,254,0) 72%);
}
.dg-compare-section::after {
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: 55px;
  background: radial-gradient(circle, rgba(82,2,132,.08) 0%, rgba(82,2,132,.035) 45%, rgba(82,2,132,0) 72%);
}
.dg-compare-section .container {
  position: relative;
  z-index: 1;
}
.dg-compare-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 30%) minmax(320px, 58%);
  gap: 58px;
  align-items: start;
  justify-content: center;
}
.dg-compare-left {
  position: relative;
  padding: 24px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(42,130,254,.08);
}
.dg-compare-head {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 0;
}
.dg-compare-brand {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--dg-text-dark);
  margin-bottom: 10px;
  max-width: none;
  white-space: nowrap;
}
.dg-compare-intro {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dg-text-mid);
  margin: 0;
  max-width: 280px;
}
.dg-compare-list,
.dg-compare-side-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dg-compare-row,
.dg-compare-side-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  min-height: 66px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(42,130,254,.10);
}
.dg-compare-row:last-child,
.dg-compare-side-row:last-child {
  border-bottom: none;
}
.dg-compare-icon,
.dg-compare-side-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.dg-compare-icon {
  background: var(--dg-pink);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(253,51,120,.12);
}
.dg-compare-side-icon {
  background: #F4F5F7;
  color: #B7BDC7;
}
.dg-compare-text {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--dg-text-dark);
  letter-spacing: -.01em;
  margin: 0;
}
.dg-compare-side-text {
  font-size: 15px;
  line-height: 1.45;
  color: #7F8998;
  margin: 0;
}
.dg-compare-cta {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
.dg-compare-right {
  min-width: 0;
  padding-top: 24px;
}
.dg-compare-tabs {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  margin-bottom: 0;
  padding-left: 0;
  min-height: 96px;
  border-bottom: 1px solid rgba(42,130,254,.10);
}
.dg-compare-tab {
  flex: 1 1 50%;
  border: 0;
  background: transparent;
  padding: 0 16px 14px;
  margin: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #A9B1BD;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: color .2s ease;
}
.dg-compare-tab + .dg-compare-tab {
  border-left: 1px solid rgba(42,130,254,.08);
}
.dg-compare-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  transition: background .2s ease;
}
.dg-compare-tab-dot { display:none; }
.dg-compare-tab.active {
  color: var(--dg-crimson);
  font-weight: 800;
}
.dg-compare-tab.active::after {
  background: var(--dg-navy);
}
.dg-compare-panel {
  display: none;
  padding-top: 0;
  animation: dgFade .22s ease;
}
.dg-compare-panel.is-active {
  display: block;
}
.dg-compare-label {
  display: none;
}
@keyframes dgFade {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 991px) {
  .dg-compare-wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .dg-compare-brand {
    max-width: none;
  }
  .dg-compare-intro {
    max-width: none;
  }
}
@media (max-width: 767px) {
  .dg-compare-section::before {
    width: 260px;
    height: 260px;
    left: -130px;
    top: 46px;
  }
  .dg-compare-section::after {
    width: 220px;
    height: 220px;
    right: -110px;
    bottom: 30px;
  }
  .dg-compare-left {
    padding: 22px;
  }
  .dg-compare-head {
    min-height: auto;
    margin-bottom: 18px;
  }
  .dg-compare-brand {
    font-size: 26px;
    min-height: auto;
    margin-bottom: 10px;
    white-space: nowrap;
  }
  .dg-compare-tabs {
    overflow-x: hidden;
    white-space: normal;
    min-height: 62px;
  }
  .dg-compare-row,
  .dg-compare-side-row {
    min-height: auto;
    align-items: flex-start;
  }
  .dg-compare-text,
  .dg-compare-side-text {
    font-size: 14px;
  }
  .dg-compare-cta .btn-dg-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ──────────────────────────────────────────
   COMPARE MOBILE ACCORDION [JDev - JESR 20260607]
────────────────────────────────────────── */
.dg-compare-mobile { }
.dg-cmp-legend {
  display: flex;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #f7f7fb;
  margin-bottom: 0;
}
.dg-cmp-leg {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--dg-text-mid);
}
.dg-cmp-leg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dg-cmp-leg-dot.drgit { background: var(--dg-navy); }
.dg-cmp-leg-dot.other { background: #c5c5d3; }
.dg-cmp-item { border-bottom: 1px solid rgba(0,0,0,.08); }
.dg-cmp-item:last-child { border-bottom: none; }
.dg-cmp-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.dg-cmp-trig-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.dg-cmp-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(42,130,254,.09);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dg-cmp-ico svg {
  width: 15px;
  height: 15px;
  stroke: var(--dg-navy);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dg-cmp-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dg-text-dark);
  line-height: 1.3;
}
.dg-cmp-badges {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.dg-cmp-bdg {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dg-cmp-bdg svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dg-cmp-bdg.yes { background: var(--dg-navy); }
.dg-cmp-bdg.yes svg { stroke: #fff; }
.dg-cmp-bdg.no,
.dg-cmp-bdg.part { background: #e3e3ee; }
.dg-cmp-bdg.no svg,
.dg-cmp-bdg.part svg { stroke: #aaa; }
.dg-cmp-chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: #9292a0;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.dg-cmp-item.open .dg-cmp-chevron { transform: rotate(180deg); }
.dg-cmp-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .32s cubic-bezier(.4,0,.2,1);
}
.dg-cmp-item.open .dg-cmp-body { max-height: 520px; }
.dg-cmp-inner {
  padding: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dg-cmp-rcard {
  border-radius: 9px;
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.dg-cmp-rcard.drgit {
  background: rgba(42,130,254,.09);
  border: 1px solid rgba(42,130,254,.22);
  border-left: 3px solid var(--dg-navy);
}
.dg-cmp-rcard.other {
  background: #f7f7fb;
  border: 1px solid rgba(0,0,0,.08);
  border-left: 3px solid #d0d0df;
}
.dg-cmp-pill {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 2px 7px;
  border-radius: 10px;
  flex-shrink: 0;
  margin-top: 1px;
  white-space: nowrap;
}
.dg-cmp-pill.drgit { background: var(--dg-pink); color: #fff; }
.dg-cmp-pill.other { background: #e3e3ee; color: #666; }
.dg-cmp-rcard-text {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--dg-text-mid);
  flex: 1;
  margin: 0;
}
.dg-cmp-rcard.drgit .dg-cmp-rcard-text {
  color: #1E3366;
  font-weight: 500;
}
.dg-cmp-mobile-cta {
  padding: 18px 0 6px;
  border-top: 1px solid rgba(0,0,0,.08);
}
.dg-cmp-mobile-cta .btn-dg-primary {
  width: 100%;
  justify-content: center;
}
.dg-cmp-cta-note {
  text-align: center;
  font-size: 11px;
  color: #9292a0;
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.dg-cmp-cta-note svg {
  width: 11px;
  height: 11px;
  stroke: var(--dg-pink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 991px) {
  .dg-hero { min-height: auto; } /* [JDev - JESR 20260531] hero was 100vh-tall on tablet due to calc(); auto collapses to content */
  .doctor-visual { display: none; }

  /* How It Works — left-rail vertical timeline [JDev - JESR 20260531]
     Replaces center-stacked circles with a numbered rail + text-right grid.
     Applies to all viewports where the horizontal staggered layout is hidden (≤991px). */
  .hiw-outer {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: relative;
  }
  /* Continuous gradient rail line running through all steps */
  .hiw-outer::before {
    content: '';
    position: absolute;
    left: 39px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(to bottom, var(--dg-pink), var(--dg-navy));
    opacity: 0.15;
    border-radius: 2px;
    z-index: 0;
  }
  /* Each step: 2-col grid — 80px circle rail | 1fr text */
  .hiw-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
    column-gap: 18px;
    text-align: left;
    padding: 0 0 32px 0;
    position: relative;
  }
  .hiw-step.up,
  .hiw-step.down { padding-top: 0; }
  /* Circle spans both text rows on the left */
  .hiw-circle-wrap {
    grid-row: 1 / 3;
    width: 80px;
    margin: 0;
    position: relative;
    z-index: 2;
  }
  .hiw-circle { width: 80px; height: 80px; }
  .hiw-badge  { width: 26px; height: 26px; font-size: 10px; bottom: 0; right: 0; }
  .hiw-title  { font-size: 16px; margin-bottom: 4px; padding-top: 10px; }
  .hiw-desc   { max-width: 100%; font-size: 13.5px; text-align: left; }
  /* Arrows become invisible spacers — rail line passes through them */
  .hiw-arrow {
    display: block;
    height: 8px;
    overflow: hidden;
  }
  .hiw-arrow svg { display: none; }
}
@media (max-width: 767px) {
  .dg-hero { padding: 60px 0; min-height: auto; }
  .section-py { padding: 64px 0; }
  .hero-stats { flex-direction: column !important; }
  .hstat + .hstat { border-left: none; border-top: 1px solid rgba(42,130,254,.09); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(42,130,254,.08); }
  .stat-item:last-child { border-bottom: none; }
}
@media (max-width: 576px) {
  .hero-title { font-size: 34px; }
  .plan-price { font-size: 40px; }
}
