/* =========================================================
   DOCTOR PROFILE SPECIFIC CSS
   ========================================================= */
.doctor-profile-wrapper {
  --dp-navy:#241E4E;
  --dp-navy-ink:#1A1640;
  --dp-navy-soft:#3B3577;
  --dp-green:#2AA876;
  --dp-green-dark:#1F8C60;
  --dp-lavender:#F5F3FC;
  --dp-lavender-deep:#EDE9FA;
  --dp-border:#E7E3F6;
  --dp-white:#FFFFFF;
  --dp-text:#1F2430;
  --dp-muted:#6B7280;
  --dp-muted-soft:#9CA0AE;

  --dp-radius-lg:22px;
  --dp-radius-md:16px;
  --dp-radius-sm:10px;
  --dp-radius-pill:999px;

  --dp-shadow-soft:0 6px 24px rgba(36,30,78,.08);
  --dp-shadow-card:0 4px 14px rgba(36,30,78,.06);

  --dp-font-head:'Fraunces', serif;
  --dp-font-body:'Inter', sans-serif;

  --dp-container:1200px;
  
  font-family:var(--dp-font-body);
  color:var(--dp-text);
  background:var(--dp-white);
  -webkit-font-smoothing:antialiased;
}

.doctor-profile-wrapper h1, 
.doctor-profile-wrapper h2, 
.doctor-profile-wrapper h3 {
  font-family:var(--dp-font-head);
  margin:0;
  color:var(--dp-navy);
}

.doctor-profile-wrapper .section-inner,
.doctor-profile-wrapper .breadcrumb-inner,
.doctor-profile-wrapper .hero-inner,
.doctor-profile-wrapper .stats-inner,
.doctor-profile-wrapper .final-cta-inner {
  max-width:var(--dp-container);
  margin:0 auto;
  padding-left:24px;
  padding-right:24px;
}

.doctor-profile-wrapper .section {padding:72px 0;}
.doctor-profile-wrapper .section.lavender-surface {background:var(--dp-lavender);}
.doctor-profile-wrapper .section-heading {font-size:32px;font-weight:600;line-height:1.2;margin-bottom:10px;}
.doctor-profile-wrapper .section-heading.small {font-size:24px;}
.doctor-profile-wrapper .section-sub {color:var(--dp-muted);margin:10px 0 32px;font-size:15.5px;max-width:60ch;}

/* BUTTONS */
.doctor-profile-wrapper .dp-btn {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 26px;border-radius:var(--dp-radius-pill);
  font-family:var(--dp-font-body);font-weight:600;font-size:15px;
  border:1.5px solid transparent;cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space:nowrap;
  text-decoration:none;
}
.doctor-profile-wrapper .dp-btn:hover {transform:translateY(-1px);}
.doctor-profile-wrapper .dp-btn-primary {background:var(--dp-green);color:#fff;box-shadow:0 6px 16px rgba(42,168,118,.28);}
.doctor-profile-wrapper .dp-btn-primary:hover {background:var(--dp-green-dark);color:#fff;}
.doctor-profile-wrapper .dp-btn-outline {background:#fff;color:var(--dp-navy);border-color:var(--dp-navy);}
.doctor-profile-wrapper .dp-btn-outline:hover {background:var(--dp-navy);color:#fff;}
.doctor-profile-wrapper .dp-btn-outline-inverse {background:transparent;color:#fff;border-color:rgba(255,255,255,.55);}
.doctor-profile-wrapper .dp-btn-outline-inverse:hover {background:rgba(255,255,255,.12);color:#fff;}
.doctor-profile-wrapper .dp-btn-ghost {background:transparent;color:var(--dp-navy);border-color:var(--dp-border);}
.doctor-profile-wrapper .dp-btn-ghost:hover {background:var(--dp-lavender);color:var(--dp-navy);}
.doctor-profile-wrapper .dp-btn-sm {padding:10px 20px;font-size:14px;}
.doctor-profile-wrapper .dp-btn-lg {padding:16px 34px;font-size:16px;}
.doctor-profile-wrapper .dp-btn-icon svg {flex-shrink:0;}
.doctor-profile-wrapper .dp-btn-block {width:100%;}

/* BREADCRUMB */
.doctor-profile-wrapper .breadcrumb {padding:16px 0;border-bottom:1px solid var(--dp-border);background:#fff;}
.doctor-profile-wrapper .breadcrumb-inner {display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--dp-muted-soft);}
.doctor-profile-wrapper .breadcrumb a {color:inherit;text-decoration:none;}
.doctor-profile-wrapper .breadcrumb a:hover {color:var(--dp-navy);}
.doctor-profile-wrapper .crumb-sep {opacity:.6;}
.doctor-profile-wrapper .crumb-current {color:var(--dp-navy);font-weight:600;}

/* HERO */
.doctor-profile-wrapper .hero {padding:56px 0 64px;background:linear-gradient(180deg,var(--dp-lavender) 0%, #fff 100%);}
.doctor-profile-wrapper .hero-inner {display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;}

.doctor-profile-wrapper .reveal-up {opacity:0;transform:translateY(18px);animation:dpRevealUp .7s ease forwards;}
.doctor-profile-wrapper .hero-visual.reveal-up {animation-delay:.12s;}
@keyframes dpRevealUp {to{opacity:1;transform:translateY(0);}}

.doctor-profile-wrapper .pill {
  display:inline-flex;align-items:center;
  padding:7px 16px;border-radius:var(--dp-radius-pill);
  font-size:12.5px;font-weight:700;letter-spacing:.2px;
}
.doctor-profile-wrapper .pill-specialty {background:var(--dp-navy);color:#fff;margin-bottom:18px;}

.doctor-profile-wrapper .doctor-name {font-size:42px;font-weight:600;line-height:1.1;margin-bottom:8px;}
.doctor-profile-wrapper .doctor-qual {font-size:16px;font-weight:600;color:var(--dp-green-dark);margin:0 0 4px;}
.doctor-profile-wrapper .doctor-designation {font-size:15.5px;color:var(--dp-muted);margin:0 0 18px;}
.doctor-profile-wrapper .hero-intro {font-size:15.5px;line-height:1.7;color:var(--dp-text);max-width:52ch;margin:0 0 24px;}

.doctor-profile-wrapper .hero-meta-row {display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px;}
.doctor-profile-wrapper .meta-chip {
  display:inline-flex;align-items:center;gap:7px;
  background:#fff;border:1px solid var(--dp-border);
  padding:9px 15px;border-radius:var(--dp-radius-pill);
  font-size:13.5px;font-weight:600;color:var(--dp-navy);
}
.doctor-profile-wrapper .meta-chip svg {color:var(--dp-green-dark);}
.doctor-profile-wrapper .meta-chip-status {background:rgba(42,168,118,.1);border-color:transparent;color:var(--dp-green-dark);}
.doctor-profile-wrapper .meta-chip-status::before {content:"";width:7px;height:7px;border-radius:50%;background:var(--dp-green);margin-right:2px;}

.doctor-profile-wrapper .hero-cta-row {display:flex;flex-wrap:wrap;gap:12px;}

.doctor-profile-wrapper .hero-photo-frame {
  position:relative;border-radius:var(--dp-radius-lg);overflow:hidden;
  aspect-ratio:4/5;box-shadow:var(--dp-shadow-soft);
}
.doctor-profile-wrapper .hero-photo-backdrop {
  position:absolute;inset:0;
  background:linear-gradient(135deg, var(--dp-navy) 0 38%, var(--dp-lavender-deep) 38% 100%);
}
.doctor-profile-wrapper .hero-photo {
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
}
.doctor-profile-wrapper .hero-medical-badge {
  position:absolute;bottom:18px;left:18px;
  width:46px;height:46px;border-radius:50%;background:#fff;
  display:flex;align-items:center;justify-content:center;box-shadow:var(--dp-shadow-card);
}

/* STATS */
.doctor-profile-wrapper .stats-band {background:var(--dp-navy);padding:0;}
.doctor-profile-wrapper .stats-inner {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  text-align:center;
}
.doctor-profile-wrapper .stat-item {padding:36px 12px;border-right:1px solid rgba(255,255,255,.1);}
.doctor-profile-wrapper .stat-item:last-child {border-right:none;}
.doctor-profile-wrapper .stat-number {font-family:var(--dp-font-head);font-size:32px;font-weight:600;color:#fff;}
.doctor-profile-wrapper .stat-label {font-size:13px;color:rgba(255,255,255,.65);margin-top:4px;font-weight:600;}

/* ABOUT */
.doctor-profile-wrapper .about-grid {display:grid;grid-template-columns:1.5fr .9fr;gap:56px;align-items:start;}
.doctor-profile-wrapper .bio-content {margin-top:20px;color:var(--dp-text);font-size:15.5px;line-height:1.75;max-width:65ch;}
.doctor-profile-wrapper .bio-content p {margin:0 0 16px;}
.doctor-profile-wrapper .bio-content.collapsed p:nth-child(n+3) {display:none;}
.doctor-profile-wrapper .read-more-btn {
  margin-top:6px;background:none;border:none;color:var(--dp-green-dark);
  font-weight:700;font-size:14.5px;cursor:pointer;padding:0;
}
.doctor-profile-wrapper .read-more-btn:hover {text-decoration:underline;}

.doctor-profile-wrapper .about-card {
  background:var(--dp-lavender);border:1px solid var(--dp-border);
  border-radius:var(--dp-radius-md);padding:28px;
}
.doctor-profile-wrapper .about-card h3 {font-size:17px;font-weight:600;margin-bottom:16px;}
.doctor-profile-wrapper .about-facts {list-style:none;padding:0;margin:0;}
.doctor-profile-wrapper .about-facts li {
  display:flex;justify-content:space-between;gap:12px;
  padding:11px 0;border-bottom:1px solid var(--dp-border);font-size:14px;
}
.doctor-profile-wrapper .about-facts li:last-child {border-bottom:none;}
.doctor-profile-wrapper .about-facts .fact-label {color:var(--dp-muted);}
.doctor-profile-wrapper .about-facts .fact-value {font-weight:600;color:var(--dp-navy);text-align:right;}

/* TIMELINE */
.doctor-profile-wrapper .timeline {position:relative;max-width:760px;margin:0 auto;padding-left:28px;list-style:none;}
.doctor-profile-wrapper .timeline::before {
  content:"";position:absolute;left:6px;top:6px;bottom:6px;width:2px;
  background:var(--dp-border);
}
.doctor-profile-wrapper .timeline-item {position:relative;padding-bottom:36px;}
.doctor-profile-wrapper .timeline-item:last-child {padding-bottom:0;}
.doctor-profile-wrapper .timeline-item::before {
  content:"";position:absolute;left:-28px;top:4px;width:14px;height:14px;border-radius:50%;
  background:var(--dp-green);border:3px solid var(--dp-lavender);box-shadow:0 0 0 2px var(--dp-green);
}
.doctor-profile-wrapper .timeline-year {font-family:var(--dp-font-head);font-weight:600;color:var(--dp-navy);font-size:19px;}
.doctor-profile-wrapper .timeline-title {font-weight:700;font-size:15.5px;margin:4px 0 2px;}
.doctor-profile-wrapper .timeline-org {color:var(--dp-muted);font-size:14px;}

/* EXPERTISE */
.doctor-profile-wrapper .expertise-grid {display:flex;flex-wrap:wrap;gap:12px;}
.doctor-profile-wrapper .expertise-pill {
  padding:12px 20px;border-radius:var(--dp-radius-pill);
  background:#fff;border:1.5px solid var(--dp-border);
  font-weight:600;font-size:14.5px;color:var(--dp-navy);
  transition:border-color .15s, background-color .15s;
}
.doctor-profile-wrapper .expertise-pill:hover {border-color:var(--dp-green);background:rgba(42,168,118,.06);}

/* PROCEDURES */
.doctor-profile-wrapper .procedure-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;}
.doctor-profile-wrapper .procedure-card {
  background:#fff;border:1px solid var(--dp-border);border-radius:var(--dp-radius-md);
  padding:26px;box-shadow:var(--dp-shadow-card);
  transition:transform .18s ease, box-shadow .18s ease;
}
.doctor-profile-wrapper .procedure-card:hover {transform:translateY(-4px);box-shadow:var(--dp-shadow-soft);}
.doctor-profile-wrapper .procedure-icon {
  width:46px;height:46px;border-radius:12px;background:var(--dp-lavender);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;color:var(--dp-green-dark);
}
.doctor-profile-wrapper .procedure-card h3 {font-size:16.5px;font-weight:700;margin-bottom:8px;color:var(--dp-navy);}
.doctor-profile-wrapper .procedure-card p {font-size:14px;color:var(--dp-muted);line-height:1.6;margin:0 0 14px;}
.doctor-profile-wrapper .procedure-link {font-size:13.5px;font-weight:700;color:var(--dp-green-dark);text-decoration:none;}
.doctor-profile-wrapper .procedure-link:hover {text-decoration:underline;}

/* CONSULTATION */
.doctor-profile-wrapper .consultation-grid {display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:stretch;}
.doctor-profile-wrapper .consultation-card {
  background:#fff;border:1px solid var(--dp-border);border-radius:var(--dp-radius-lg);
  padding:36px;box-shadow:var(--dp-shadow-card);
}
.doctor-profile-wrapper .consultation-list {display:grid;grid-template-columns:1fr 1fr;gap:22px 24px;margin:24px 0 28px;}
.doctor-profile-wrapper .consultation-list div {display:flex;flex-direction:column;gap:4px;}
.doctor-profile-wrapper .consultation-list dt {font-size:12.5px;text-transform:uppercase;letter-spacing:.5px;color:var(--dp-muted-soft);font-weight:700;margin:0;}
.doctor-profile-wrapper .consultation-list dd {margin:0;font-weight:600;color:var(--dp-navy);font-size:15px;}
.doctor-profile-wrapper .consultation-map-placeholder {
  background:var(--dp-lavender);border-radius:var(--dp-radius-lg);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  color:var(--dp-navy);font-weight:600;font-size:14px;text-align:center;padding:24px;min-height:220px;
}

/* WHY CONSULT */
.doctor-profile-wrapper .why-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-top:28px;list-style:none;padding:0;}
.doctor-profile-wrapper .why-list li {
  background:#fff;border:1px solid var(--dp-border);border-radius:var(--dp-radius-md);
  padding:22px;font-weight:600;font-size:15px;color:var(--dp-navy);
  display:flex;gap:12px;align-items:flex-start;
}
.doctor-profile-wrapper .why-list li::before {
  content:"";flex-shrink:0;width:22px;height:22px;margin-top:2px;border-radius:50%;
  background:var(--dp-green);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/60% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* REVIEWS */
.doctor-profile-wrapper .review-carousel {max-width:720px;margin:32px auto 0;}
.doctor-profile-wrapper .review-track {overflow:hidden;position:relative;min-height:190px;}
.doctor-profile-wrapper .review-slide {
  background:var(--dp-lavender);border-radius:var(--dp-radius-lg);
  padding:32px 36px;display:none;
}
.doctor-profile-wrapper .review-slide.active {display:block;animation:dpFadeIn .4s ease;}
@keyframes dpFadeIn {from{opacity:0;}to{opacity:1;}}
.doctor-profile-wrapper .review-stars {color:var(--dp-green-dark);font-size:15px;margin-bottom:14px;letter-spacing:2px;}
.doctor-profile-wrapper .review-quote {font-size:16px;line-height:1.7;color:var(--dp-text);margin:0 0 18px;font-style:italic;}
.doctor-profile-wrapper .review-meta {display:flex;justify-content:space-between;font-size:13.5px;color:var(--dp-muted);font-weight:600;}
.doctor-profile-wrapper .review-meta .review-name {color:var(--dp-navy);}
.doctor-profile-wrapper .review-controls {display:flex;align-items:center;justify-content:center;gap:16px;margin-top:20px;}
.doctor-profile-wrapper .review-nav {
  width:38px;height:38px;border-radius:50%;border:1px solid var(--dp-border);background:#fff;
  display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--dp-navy);
}
.doctor-profile-wrapper .review-nav:hover {background:var(--dp-lavender);}
.doctor-profile-wrapper .review-dots {display:flex;gap:8px;}
.doctor-profile-wrapper .review-dot {width:8px;height:8px;border-radius:50%;background:var(--dp-border);cursor:pointer;border:none;padding:0;}
.doctor-profile-wrapper .review-dot.active {background:var(--dp-green);}

/* FAQ */
.doctor-profile-wrapper .faq-list {max-width:800px;margin:28px auto 0;}
.doctor-profile-wrapper .faq-item {background:#fff;border:1px solid var(--dp-border);border-radius:var(--dp-radius-md);margin-bottom:12px;overflow:hidden;}
.doctor-profile-wrapper .faq-question {
  width:100%;text-align:left;background:none;border:none;cursor:pointer;
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  padding:19px 22px;font-family:var(--dp-font-body);font-weight:700;font-size:15.5px;color:var(--dp-navy);
}
.doctor-profile-wrapper .faq-icon {flex-shrink:0;transition:transform .25s ease;color:var(--dp-green-dark);}
.doctor-profile-wrapper .faq-item.open .faq-icon {transform:rotate(45deg);}
.doctor-profile-wrapper .faq-answer {max-height:0;overflow:hidden;transition:max-height .28s ease;}
.doctor-profile-wrapper .faq-answer p {margin:0;padding:0 22px 20px;color:var(--dp-muted);font-size:14.5px;line-height:1.65;}

/* FINAL CTA */
.doctor-profile-wrapper .final-cta {background:var(--dp-navy);padding:72px 0;text-align:center;}
.doctor-profile-wrapper .final-cta-inner h2 {color:#fff;font-size:32px;font-weight:600;margin-bottom:12px;}
.doctor-profile-wrapper .final-cta-inner p {color:rgba(255,255,255,.72);font-size:16px;margin:0 0 32px;}
.doctor-profile-wrapper .final-cta-actions {display:flex;justify-content:center;gap:14px;flex-wrap:wrap;}

/* Sticky mobile CTA */
.doctor-profile-wrapper .sticky-mobile-cta {
  display:none;position:fixed;bottom:0;left:0;right:0;z-index:90;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:#fff;border-top:1px solid var(--dp-border);box-shadow:0 -6px 20px rgba(0,0,0,.06);
}

/* RESPONSIVE — TABLET */
@media (max-width:1024px){
  .doctor-profile-wrapper .hero-inner {gap:36px;}
  .doctor-profile-wrapper .doctor-name {font-size:36px;}
  .doctor-profile-wrapper .about-grid {grid-template-columns:1fr;}
  .doctor-profile-wrapper .about-card {order:-1;}
  .doctor-profile-wrapper .consultation-grid {grid-template-columns:1fr;}
  .doctor-profile-wrapper .consultation-map-placeholder {min-height:160px;}
}

/* RESPONSIVE — MOBILE */
@media (max-width:760px){
  .doctor-profile-wrapper .section {padding:52px 0;}
  .doctor-profile-wrapper .section-heading {font-size:25px;}

  .doctor-profile-wrapper .hero {padding:28px 0 40px;}
  .doctor-profile-wrapper .hero-inner {grid-template-columns:1fr;gap:24px;}
  .doctor-profile-wrapper .hero-visual {order:-1;}
  .doctor-profile-wrapper .hero-photo-frame {aspect-ratio:5/4;border-radius:var(--dp-radius-md);}
  .doctor-profile-wrapper .hero-content {text-align:center;display:flex;flex-direction:column;align-items:center;}
  .doctor-profile-wrapper .pill-specialty {margin-bottom:14px;}
  .doctor-profile-wrapper .doctor-name {font-size:28px;}
  .doctor-profile-wrapper .hero-intro {font-size:14.5px;}
  .doctor-profile-wrapper .hero-meta-row {justify-content:center;}
  .doctor-profile-wrapper .hero-cta-row {flex-direction:column;width:100%;}
  .doctor-profile-wrapper .hero-cta-row .dp-btn {width:100%;}

  .doctor-profile-wrapper .stats-inner {grid-template-columns:repeat(2,1fr);}
  .doctor-profile-wrapper .stat-item {border-right:1px solid rgba(255,255,255,.1);border-bottom:1px solid rgba(255,255,255,.1);padding:26px 8px;}
  .doctor-profile-wrapper .stat-item:nth-child(2n) {border-right:none;}

  .doctor-profile-wrapper .consultation-list {grid-template-columns:1fr;}
  .doctor-profile-wrapper .why-list {grid-template-columns:1fr;}

  .doctor-profile-wrapper .procedure-grid {
    display:flex;overflow-x:auto;gap:16px;scroll-snap-type:x mandatory;
    margin:0 -24px;padding:4px 24px 8px;
  }
  .doctor-profile-wrapper .procedure-card {min-width:78%;scroll-snap-align:start;}

  .doctor-profile-wrapper .final-cta-inner h2 {font-size:24px;}
  .doctor-profile-wrapper .final-cta-actions {flex-direction:column;}
  .doctor-profile-wrapper .final-cta-actions .dp-btn {width:100%;}

  .doctor-profile-wrapper .sticky-mobile-cta {display:block;}
  .doctor-profile-wrapper {padding-bottom:78px;}
}

@media (max-width:400px){
  .doctor-profile-wrapper .doctor-name {font-size:25px;}
  .doctor-profile-wrapper .section-inner,
  .doctor-profile-wrapper .breadcrumb-inner,
  .doctor-profile-wrapper .hero-inner,
  .doctor-profile-wrapper .stats-inner,
  .doctor-profile-wrapper .final-cta-inner {
    padding-left:16px;padding-right:16px;
  }
}
