h1,
h2,
h3 {
  text-wrap: balance;
}

.mobile-contact-bar {
  display: none;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-social-link img {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  filter: brightness(0) invert(1);
  opacity: .62;
  transition: opacity .2s ease;
}

.footer-social-link:hover img {
  opacity: 1;
}

.clinic-grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
}

.proof-card {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 64px;
  min-height: 190px;
  padding: 40px 48px;
  border-radius: 28px;
  background: linear-gradient(115deg, var(--navy), #0d5a7f);
  color: #fff;
  box-shadow: var(--shadow);
}

.proof-card .eyebrow.light {
  margin-bottom: 14px;
  color: #9ed0df;
}

.proof-card h2 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(34px, 3.55vw, 44px);
  font-weight: 650;
  white-space: nowrap;
}

.review-summary {
  width: max-content;
  min-width: 248px;
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-self: end;
  gap: 18px;
  padding: 15px 20px;
  border: 1px solid #d9e3e6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 59, 89, .09);
}

.review-summary-score {
  display: grid;
  gap: 3px;
}

.review-summary-score strong {
  color: var(--navy);
  font: 700 40px/1 Manrope, sans-serif;
}

.review-summary-score span {
  color: #e7ae2f;
  font-size: 12px;
  letter-spacing: 1px;
}

.review-summary-copy {
  display: grid;
  grid-auto-flow: row;
  align-content: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.review-summary-copy strong,
.review-summary-copy span {
  display: block;
  white-space: nowrap;
}

.review-summary-copy strong {
  color: var(--navy);
  font-weight: 700;
}

.review-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.platform-rating {
  display: grid;
  align-content: center;
  padding: 2px 28px;
}

.platform-rating + .platform-rating {
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.platform-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.google-mark,
.facebook-mark {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font: 800 13px Manrope, sans-serif;
}

.google-mark {
  color: #4285f4;
}

.facebook-mark {
  color: #1877f2;
}

.platform-rating strong {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: #a9d5df;
  font: 700 38px/1 Manrope, sans-serif;
}

.platform-rating strong small {
  color: #f4c95d;
  font-size: 10px;
  letter-spacing: 1px;
}

.platform-rating > span {
  margin-top: 8px;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
}

.review-actions {
  display: grid;
  justify-items: stretch;
  align-content: center;
  gap: 13px;
  min-width: 176px;
}

.review-actions .button {
  min-height: 48px;
  padding-inline: 20px;
}

.review-actions .button span,
.review-secondary span {
  margin-left: 8px;
}

.review-secondary {
  color: rgba(255, 255, 255, .78);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.review-secondary:hover {
  color: #fff;
}

.review-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.review-quote {
  min-height: 255px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(7, 59, 89, .12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 59, 89, .08);
}

.review-quote-top,
.review-quote footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.review-stars {
  color: #e7ae2f;
  font-size: 13px;
  letter-spacing: 2px;
}

.review-topic {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.review-quote blockquote {
  margin: 25px 0 30px;
}

.review-quote blockquote p {
  margin: 0;
  color: var(--navy);
  font: 500 17px/1.55 Manrope, sans-serif;
}

.review-quote footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.review-quote footer strong {
  color: var(--navy);
  font: 700 14px Manrope, sans-serif;
}

.review-source {
  color: var(--muted);
  font-size: 10px;
}

.review-verification {
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

@media (max-width: 980px) {
  .clinic-grid {
    grid-template-columns: 1fr;
  }

  .proof-card {
    grid-template-columns: 1fr;
  }

  .review-summary {
    justify-self: start;
  }

  .proof-card h2 {
    white-space: normal;
  }

  .review-platforms {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding-top: 24px;
  }

  .platform-rating:first-child {
    padding-left: 0;
  }

  .review-actions {
    grid-column: auto;
    justify-self: start;
    width: min(100%, 360px);
  }

  .proof-card .review-actions .button {
    grid-column: auto;
    justify-self: stretch;
  }

  .review-quotes {
    grid-template-columns: 1fr 1fr;
  }

  .review-quote:last-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .clinic-grid {
    gap: 50px;
  }

  .clinic h2 {
    font-size: clamp(43px, 4.6vw, 54px);
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .whatsapp-fab {
    display: none;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 130;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(7, 59, 89, .12);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -10px 30px rgba(7, 59, 89, .12);
    backdrop-filter: blur(16px);
  }

  .mobile-contact-bar a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-call-action {
    background: var(--navy);
    color: #fff;
    box-shadow: none;
  }

  .mobile-call-action span {
    width: 18px;
    height: 18px;
    display: block;
  }

  .mobile-wa-action {
    border: 0;
    background: #25bd67;
    color: #fff;
  }

  .mobile-wa-action span {
    width: 17px;
    height: 17px;
    display: block;
  }

  .mobile-contact-bar img {
    width: 100%;
    height: 100%;
    display: block;
    filter: brightness(0) invert(1);
  }

  .proof-card h2 {
    font-size: 34px;
  }

  .review-summary {
    width: 100%;
    min-width: 0;
  }
  .review-platforms {
    grid-template-columns: 1fr;
  }

  .platform-rating {
    padding: 20px 0;
  }

  .platform-rating + .platform-rating {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  .review-quotes {
    grid-template-columns: 1fr;
  }

  .review-quote:last-child {
    grid-column: auto;
  }

  .review-quote {
    min-height: 0;
    padding: 25px 22px;
  }

  .review-quote-top,
  .review-quote footer {
    align-items: flex-start;
  }

  .review-quote footer {
    flex-direction: column;
    gap: 4px;
  }

  .review-verification {
    text-align: left;
  }

  .proof-card {
    gap: 26px;
    min-height: 0;
    padding: 32px 24px;
    border-radius: 22px;
  }
}
