:root {
  --brand: #bf1c63;
  --brand-dark: #8f1349;
  --brand-soft: #fde8f1;
  --text-main: #2f2941;
  --text-muted: #7d728d;
  --line: #eee7f3;
  --bg: #fffafc;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

section {
  padding: 0px !important;
}

a {
  color: var(--brand);
  text-decoration: none;
}

.doctor-page {
  min-height: 100vh;
}

.container {
  max-width: 1280px;
}

.page-shell {
  background: transparent;
}

.breadcrumb-row {
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.content-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
}

.hero-card {
  padding: 0 12px;
  background: #fff;
}

.hero-layout {
  display: grid;
  grid-template-columns: 23% 40.5% 36.5%;
  min-height: 280px;
}

.doctor-photo-wrap {
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #fff0f4, #f7eef5);
}

.doctor-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.doctor-summary {
  padding: 35px 28px 16px;
}

.doctor-name {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 6px;
  color: #17131a;
  font-size: 40px;
  line-height: 1.08;
  font-weight: 700;
}

.doctor-role {
  margin: 0 0 3px;
  color: #c21f62;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 600;
}

.doctor-speciality {
  margin: 0;
  color: #c21f62;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 600;
}

.verified {
  color: #ed3c7c;
  font-size: 20px;
}

.doctor-stats {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 34px;
}

.doctor-stat {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 62px;
  border-right: 1px solid #eee8ec;
}

.doctor-stat > i,
.doctor-locations i {
  color: #d42a6d;
  font-size: 12px;
}

.doctor-stat strong,
.doctor-locations > strong {
  display: block;
  color: #2d2730;
  font-size: 13px;
  font-weight: 700;
}

.doctor-stat span,
.doctor-locations span {
  display: block;
  color: #5e5661;
  font-size: 10px;
  line-height: 1.5;
}

.doctor-locations span i {
  margin-right: 3px;
  font-size: 9px;
}

.appointment-card {
  margin-left: 8px;
  padding: 15px 18px 14px;
  border: 1px solid #f0e8ed;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(71, 35, 51, 0.04);
}

.appointment-card h2 {
  margin: 0 0 3px;
  color: #a9114e;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}

.appointment-card > p {
  margin: 0 0 11px;
  color: #39333c;
  font-size: 10px;
}

.appointment-field {
  margin-bottom: 9px;
}

.appointment-field label {
  display: block;
  margin-bottom: 4px;
  color: #302a33;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 600;
}

.appointment-card .form-select,
.appointment-card .form-control {
  width: 100%;
  min-height: 35px;
  padding: 6px 10px;
  border: 1px solid #e8e0e5;
  border-radius: 2px;
  background-color: #fff;
  color: #39323a;
  font-family: inherit;
  font-size: 10px;
  box-shadow: 0 1px 4px rgba(43, 25, 34, 0.03);
}

.date-field {
  position: relative;
}

.date-field .form-control {
  padding-right: 32px;
}

.date-field i {
  position: absolute;
  top: 50%;
  right: 10px;
  color: #c92261;
  font-size: 13px;
  transform: translateY(-50%);
}

.appointment-card .btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  margin-top: 1px;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #bd0752 0%, #d31668 100%);
  color: #fff;
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  width: 100%;
}

.appointment-card .btn-book:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--brand-dark) 0%, #b81f65 100%);
}

.section-title {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  color: #ba1d62;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.view-link {
  font-size: 0.86rem;
  font-weight: 600;
}

.credentials-section {
  padding: 0 1.5rem;
}

.credentials-panel {
  padding: 0.25rem 0;
}

.credentials-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  border: 1px solid #eadfe6;
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}

.credentials-tabs .nav-item {
  min-width: 0;
}

.credentials-tabs .nav-link {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #332d38;
  font-size: 12px;
  font-weight: 600;
  padding: 0.45rem 0.25rem;
  white-space: nowrap;
}

.credentials-tabs .nav-link i {
  margin-right: 5px;
  font-size: 12px;
}

.credentials-tabs .nav-link.active {
  background: #fff8fb;
  color: var(--brand);
  box-shadow: inset 0 -2px 0 var(--brand);
}

.credentials-list {
  padding-left: 0.75rem;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.55rem 0;
  background: transparent;
}

.credential-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff0f5;
  color: #e33c78;
  font-size: 12px;
  flex: 0 0 auto;
}

.credential-item h6 {
  margin: 0 0 2px;
  color: #29232e;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}

.credential-item h6 span {
  margin-left: 7px;
  color: #d02a69;
  font-size: 10px;
  font-weight: 600;
}

.credential-item p {
  margin: 0;
  color: #4f4855;
  font-size: 11px;
  line-height: 1.35;
}

.credential-item small {
  display: block;
  margin-top: 2px;
  color: #777079;
  font-size: 10px;
  line-height: 1.3;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 100px;
  padding: 16px 13px;
  border: 1px solid #f1edf0;
  border-radius: 5px;
}

.highlight-icon {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 15px;
  background: #fff;
}

.highlight-card h3 {
  margin: 1px 0 5px;
  color: #302a34;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.highlight-card p {
  margin: 0;
  color: #615a64;
  font-size: 10px;
  line-height: 1.35;
}

.highlight-card.gold { background: #fffaf0; }
.highlight-card.gold .highlight-icon { color: #f1a500; }
.highlight-card.violet { background: #fbf7ff; }
.highlight-card.violet .highlight-icon { color: #8054c7; }
.highlight-card.pink { background: #fff7fa; }
.highlight-card.pink .highlight-icon { color: #ff4f8a; }
.highlight-card.green { background: #f7fff7; }
.highlight-card.green .highlight-icon { color: #42b95c; }
.highlight-card.blue { background: #f5faff; }
.highlight-card.blue .highlight-icon { color: #318df4; }
.highlight-card.purple { background: #fbf7ff; }
.highlight-card.purple .highlight-icon { color: #9354cd; }

.body-copy {
  margin: 0;
  color: #60556f;
  font-size: 0.95rem;
  line-height: 1.75;
}

.video-thumbnail {
  position: relative;
  min-height: 285px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(rgba(32, 24, 36, 0.35), rgba(32, 24, 36, 0.35)),
    linear-gradient(120deg, #d8b1bf 0%, #f7e6dd 35%, #d5e2db 100%);
}

.video-thumbnail::before,
.video-thumbnail::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 38%;
  height: 78%;
  border-radius: 120px 120px 0 0;
  background: rgba(255, 255, 255, 0.85);
  filter: blur(0.2px);
}

.video-thumbnail::before {
  left: 8%;
}

.video-thumbnail::after {
  right: 6%;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.play-btn {
  font-size: 1.9rem;
}

.treatment-column {
  height: 100%;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff9fc 0%, #fff 100%);
  border: 1px solid #f3e6ee;
}

.treatment-column h6 {
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.treatment-column ul {
  padding-left: 1rem;
  margin: 0;
  color: #665b74;
  line-height: 1.8;
  font-size: 0.9rem;
}

.schedule-table {
  border: 1px solid #efdfeb;
  border-radius: 16px;
  overflow: hidden;
}

.schedule-table thead th {
  background: #fff2f7;
  color: var(--brand);
  font-weight: 700;
  border-bottom-color: #efdfeb;
}

.schedule-table td,
.schedule-table th {
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  border-color: #f3e7ee;
}

.review-card {
  height: 100%;
  padding: 1.1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.stars {
  letter-spacing: 2px;
  color: #ffb400;
  margin-bottom: 0.75rem;
}

.review-card p {
  color: #60556f;
  font-size: 0.92rem;
  line-height: 1.7;
}

.blog-card {
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.blog-image {
  height: 180px;
}

.tone-1 { background: linear-gradient(135deg, #e9bac8, #fce8d8); }
.tone-2 { background: linear-gradient(135deg, #ebd3b7, #f5f1dc); }
.tone-3 { background: linear-gradient(135deg, #d7c5f4, #f6e1ef); }
.tone-4 { background: linear-gradient(135deg, #f1cad6, #ded6f8); }

.blog-body {
  padding: 1rem;
}

.blog-tag {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fff3f8;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.blog-body h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
}

.faq-help-section {
  border: 1px solid #ece4ea;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.faq-panel {
  padding: 22px 24px 18px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.faq-item {
  border: 1px solid #e8e0e6;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  background: #fff;
  color: #2f2a34;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.faq-chevron {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

.faq-chevron::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 1px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron::before {
  top: 5px;
  transform: rotate(225deg);
}

.faq-answer {
  display: none;
  padding: 0 16px 14px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
  color: #655c6b;
  font-size: 12px;
  line-height: 1.6;
}

.help-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  background: #fff3f7;
  border-top: 1px solid #f3e4eb;
}

.help-copy h3 {
  margin: 0 0 4px;
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.help-copy p {
  margin: 0;
  color: #5f5768;
  font-size: 12px;
  line-height: 1.4;
}

.help-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.help-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.help-actions .btn i {
  font-size: 14px;
}

.btn-book,
.btn-whatsapp,
.btn-call {
  border-radius: 6px;
  min-height: 40px;
  font-weight: 600;
}

.btn-book {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
}

.btn-book:hover {
  color: #fff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-whatsapp {
  background: #25b35a;
  border: 1px solid #25b35a;
  color: #fff;
}

.btn-whatsapp:hover {
  color: #fff;
  background: #1c984a;
  border-color: #1c984a;
}

.btn-call {
  background: #fff;
  border: 1px solid var(--brand);
  color: var(--brand);
}

.btn-call:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

@media (max-width: 991.98px) {
  .hero-layout {
    grid-template-columns: 34% 66%;
  }

  .appointment-card {
    grid-column: 1 / -1;
    margin: 16px 0 0;
  }

  .doctor-name {
    font-size: 25px;
  }

  .doctor-role,
  .doctor-speciality {
    font-size: 16px;
  }

  .credentials-section {
    padding: 0;
  }

  .highlights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(100px, auto));
  }

  .help-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .content-card .card-body {
    padding: 1.25rem !important;
  }

  .hero-card {
    padding: 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .doctor-photo-wrap {
    height: 340px;
  }

  .doctor-photo {
    object-position: center 25%;
  }

  .doctor-summary {
    padding: 20px 16px;
  }

  .doctor-name {
    font-size: 23px;
  }

  .doctor-role,
  .doctor-speciality {
    font-size: 14px;
  }

  .doctor-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor-locations {
    grid-column: 1 / -1;
  }

  .appointment-card {
    margin-top: 0;
    padding: 20px 16px;
  }

  .credentials-tabs {
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 0;
  }

  .credentials-tabs .nav-link {
    border-bottom: 1px solid #eadfe6;
  }

  .credentials-list {
    padding-left: 0;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .faq-panel {
    padding: 18px 16px 14px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .help-banner {
    padding: 16px;
  }

  .help-actions {
    width: 100%;
  }

  .help-actions .btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 420px) {
  .doctor-photo-wrap {
    height: 310px;
  }

  .doctor-rating {
    flex-wrap: wrap;
  }

  .appointment-slots {
    grid-template-columns: 1fr;
  }

  .credentials-tabs {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }
}
