/* Responsive review, equipment and provider refinements; final single-video hero rules follow. */
/* Reviews: visible hierarchy, predictable two-column reading, and clear source labels. */
.review-section {
  background: var(--light);
}
.review-section .container {
  max-width: 1160px;
}
.review-section .section-heading {
  margin-bottom: 32px;
}
.review-section .rv-summary {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(17, 20, 19, 0.045);
}
.review-section .rv-score {
  color: var(--ink);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}
.review-section .rv-stars {
  color: #b77700;
  font-size: 19px;
  letter-spacing: 2px;
  line-height: 1.2;
  white-space: nowrap;
}
.review-section .rv-count {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}
.review-section .rv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  margin: 0 0 28px;
}
.review-section .rv-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.3vw, 30px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(17, 20, 19, 0.045);
}
.review-section .rv-card::before {
  color: var(--green);
  content: '“';
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 0.7;
}
.review-section .rv-card .rv-stars {
  align-self: flex-start;
  font-size: 16px;
}
.review-section .rv-text {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--charcoal);
}
.review-section .rv-text p {
  margin: 0 0 12px;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.review-section .rv-text p:last-child {
  margin-bottom: 0;
}
.review-section .rv-author {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: auto 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}
.review-section .rv-author span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.review-section .button-row {
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 760px) {
  .review-section .rv-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .review-section .rv-summary {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 16px 18px;
  }
  .review-section .rv-score {
    font-size: 34px;
  }
  .review-section .rv-card {
    padding: 21px;
  }
}

/* Equipment highlight: make the content fill the section without an isolated black box. */
.equipment-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 20, 19, 0.055);
}
.equipment-feature-copy h2 {
  max-width: 15ch;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
}
.equipment-feature-copy > p:not(.eyebrow) {
  max-width: 48ch;
  color: var(--muted);
}
.equipment-feature-list {
  min-width: 0;
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--line);
}
.equipment-feature-list .eyebrow {
  margin-bottom: 12px;
}
.equipment-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.equipment-items li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.equipment-items li::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--green);
  content: '';
}
.equipment-feature .text-link {
  margin-top: 8px;
}
@media (max-width: 760px) {
  .equipment-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 24px 20px;
  }
  .equipment-feature-list {
    padding-left: 0;
    border-left: 0;
  }
  .equipment-items {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Nick Hondros profile, with the supplied real image from the practice's video. */
.provider-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(200px, 0.8fr);
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}
.provider-profile .provider-panel {
  height: 100%;
  margin: 0;
}
.doctor-portrait {
  min-width: 0;
  margin: 0;
}
.doctor-portrait img {
  width: 100%;
  max-width: 330px;
  aspect-ratio: 264 / 305;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
}
.doctor-portrait figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 760px) {
  .provider-profile {
    grid-template-columns: minmax(0, 1fr);
  }
  .doctor-portrait img {
    max-width: 280px;
  }
}


/* Final hero correction: one real, high-resolution Reel fills the complete section. */
.home-hero.has-video {
  overflow: hidden;
  isolation: isolate;
  background: #081a2e;
  color: #fff;
}
.home-hero.has-video .hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #081a2e url('/assets/media/hero-instagram-poster.jpg') center 36% / cover no-repeat;
}
.home-hero.has-video .hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.84) contrast(1.04) saturate(1.02);
}
.home-hero.has-video .hero-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 26, 46, 0.86) 0%, rgba(8, 26, 46, 0.76) 32%, rgba(8, 26, 46, 0.50) 64%, rgba(8, 26, 46, 0.32) 100%),
    linear-gradient(0deg, rgba(8, 26, 46, 0.30) 0%, rgba(8, 26, 46, 0) 54%);
}
.home-hero.has-video .hero-inner {
  position: relative;
  z-index: 2;
  min-height: clamp(650px, 82svh, 900px);
  grid-template-columns: minmax(0, 1fr);
}
.home-hero.has-video .hero-copy,
.home-hero.has-video .fact-row {
  position: relative;
  z-index: 2;
}
.home-hero.has-video .hero-copy {
  max-width: 720px;
}
.home-hero.has-video .hero-art {
  display: none !important;
}
.home-hero.has-video h1 {
  background: transparent;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.38);
}
.home-hero.has-video .lead,
.home-hero.has-video .hero-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.92);
}
@media (max-width: 1100px) {
  .home-hero.has-video .hero-video {
    object-position: center 35%;
    filter: brightness(0.75) contrast(1.03) saturate(1.02);
  }
  .home-hero.has-video .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 26, 46, 0.82) 0%, rgba(8, 26, 46, 0.60) 62%, rgba(8, 26, 46, 0.36) 100%),
      linear-gradient(0deg, rgba(8, 26, 46, 0.32) 0%, rgba(8, 26, 46, 0.08) 62%);
  }
  .home-hero.has-video .hero-inner {
    min-height: clamp(620px, 78svh, 820px);
  }
}
@media (max-width: 760px) {
  .home-hero.has-video .hero-video {
    object-position: center 38%;
    filter: brightness(0.66) contrast(1.03) saturate(1.02);
  }
  .home-hero.has-video .hero-overlay {
    background: linear-gradient(180deg, rgba(8, 26, 46, 0.70) 0%, rgba(8, 26, 46, 0.54) 52%, rgba(8, 26, 46, 0.76) 100%);
  }
  .home-hero.has-video .hero-inner {
    min-height: clamp(640px, 86svh, 900px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero.has-video .hero-video {
    display: none !important;
  }
  .home-hero.has-video .hero-media {
    background-image: url('/assets/media/hero-instagram-poster.jpg');
  }
}
