.doctor-profile,
.reviews-section {
  margin: 18px 14px;
  border: 1px solid rgba(14, 104, 98, .1);
  border-radius: 28px;
  overflow: hidden;
}

.doctor-profile {
  padding: 12px 12px 24px;
  background: linear-gradient(155deg, #fff 0%, #fbfaf6 56%, #eef8f5 100%);
  box-shadow: 0 20px 52px rgba(14, 69, 67, .08);
}

.doctor-portrait {
  position: relative;
  min-height: 235px;
  padding: 26px 25px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 86% 18%, rgba(244, 207, 119, .18), transparent 30%),
    linear-gradient(135deg, #27bba5 0%, #087a73 55%, #004e50 100%);
  color: #fff;
  overflow: hidden;
}

.doctor-portrait::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -75px;
  top: -72px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}

.doctor-portrait > span {
  color: rgba(255, 255, 255, .16);
  font: 500 78px/1 "Cormorant Garamond", serif;
  letter-spacing: -5px;
}

.doctor-portrait small {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15px;
}

.doctor-profile-copy {
  padding: 29px 8px 0;
}

.profile-eyebrow,
.reviews-heading > div:first-child > p {
  margin: 0 0 10px;
  color: #ad741f;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.doctor-profile h2,
.reviews-heading h2 {
  margin: 0;
  color: #173c3d;
  font: 500 29px/1.16 "Playfair Display", serif;
  letter-spacing: -.35px;
}

.doctor-profile-copy > p:not(.profile-eyebrow) {
  margin: 18px 0;
  color: #5c7071;
  font-size: 14.5px;
  line-height: 1.7;
}

.profile-details {
  border: 1px solid rgba(14, 104, 98, .12);
  border-radius: 17px;
  background: rgba(255, 255, 255, .82);
  overflow: hidden;
}

.profile-details summary {
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #08756f;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.profile-details summary::-webkit-details-marker { display: none; }
.profile-details summary svg { width: 18px; transition: transform .2s ease; }
.profile-details[open] summary svg { transform: rotate(180deg); }

.profile-timeline {
  padding: 3px 16px 17px;
  border-top: 1px solid rgba(14, 104, 98, .09);
}

.profile-timeline p {
  margin: 15px 0 0;
  display: grid;
  grid-template-columns: 67px 1fr;
  gap: 10px;
  color: #607273;
  font-size: 12.5px;
  line-height: 1.52;
}

.profile-timeline strong { color: #ae741f; }

.reviews-section {
  padding: 28px 20px 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(229, 190, 102, .13), transparent 30%),
    linear-gradient(145deg, #f1faf7, #fffdf8 62%, #fff);
  box-shadow: 0 18px 46px rgba(14, 69, 67, .07);
}

.reviews-heading { display: grid; gap: 18px; }
.google-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.google-rating strong { color: #173c3d; font: 600 27px/1 "DM Sans", sans-serif; }
.google-rating span, .review-stars { color: #e1a329; letter-spacing: 1px; }
.google-rating small { width: 100%; color: #718182; font-size: 11px; }

.review-list {
  margin-top: 22px;
  display: grid;
  gap: 11px;
}

.review-card {
  padding: 17px;
  border: 1px solid rgba(14, 104, 98, .1);
  border-radius: 17px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 9px 24px rgba(14, 69, 67, .055);
}

.review-stars { font-size: 11px; }
.review-card blockquote,
.review-card .review-summary { margin: 10px 0 13px; color: #345557; font: 500 15px/1.55 "Playfair Display", serif; }
.review-source-note { display: block; margin: -3px 0 12px; color: #879495; font-size: 9.5px; line-height: 1.35; }
.review-card p { margin: 0; color: #456264; font-size: 11.5px; font-weight: 600; }
.review-card p span { color: #859293; font-weight: 400; }
.reviews-note { margin: 15px 2px; color: #7a898a; font-size: 10.5px; line-height: 1.5; }

.reviews-link {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: linear-gradient(100deg, #057970, #05a087);
  color: #fff;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
}

.reviews-link svg { width: 17px; }

@media (prefers-reduced-motion: reduce) {
  .profile-details summary svg { transition: none; }
}
