:root {
  --container-width: 1440px;
  --wide-container: 1440px;
  --page-padding: 24px;
  --color-primary: #005d57;
  --color-primary-dark: #003f3d;
  --color-primary-deep: #102b35;
  --color-primary-light: #1b8076;
  --color-heading: #142e39;
  --color-text: #34484f;
  --color-muted: #66767b;
  --color-border: #dce5e2;
  --color-background: #fcfdfb;
  --color-white: #ffffff;
  --color-star: #ffb400;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-background);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(27, 128, 118, .38); outline-offset: 3px; }

.container {
  width: min(calc(100% - 48px), var(--container-width));
  margin-inline: auto;
}
.wide-container {
  width: min(calc(100% - 48px), var(--wide-container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(16,43,53,.06);
}
.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand img { width: 142px; height: 62px; object-fit: contain; object-position: left center; }
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
  color: #445b62;
}
.main-nav a { transition: color .22s ease; white-space: nowrap; }
.main-nav a:hover { color: var(--color-primary); }
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: var(--color-white); box-shadow: 0 12px 26px rgba(0,93,87,.18); }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-secondary { background: rgba(255,255,255,.82); color: var(--color-primary); border-color: rgba(0,93,87,.32); }
.btn-secondary:hover { background: var(--color-primary); color: var(--color-white); }
.btn-light { background: var(--color-white); color: var(--color-primary); }
.btn-white { background: var(--color-white); color: var(--color-primary); box-shadow: 0 18px 35px rgba(0,0,0,.16); }
.wa-icon {
  width: 17px;
  height: 17px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}
.btn-primary .wa-icon,
.floating-whatsapp .wa-icon {
  filter: brightness(0) invert(1);
}
.btn-white .wa-icon {
  filter: brightness(0) saturate(100%) invert(23%) sepia(46%) saturate(1201%) hue-rotate(139deg) brightness(94%) contrast(101%);
}
.menu-toggle { display: none; }

.hero {
  min-height: 750px;
  position: relative;
  overflow: hidden;
  background-color: #f8fbfa;
  background-image: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.9) 33%, rgba(255,255,255,.2) 60%, rgba(255,255,255,0) 100%), url("assets/hero-background.webp");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}
.hero-grid {
  min-height: 624px;
  display: grid;
  align-items: center;
  position: relative;
  z-index: 3;
}
.hero-copy {
  width: min(100%, 520px);
  padding-top: 28px;
}
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-body);
  color: var(--color-primary);
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 700;
  line-height: 1.25;
}
h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  margin: 0;
  font-weight: 600;
}
h1 {
  font-size: clamp(54px, 5.2vw, 76px);
  line-height: .95;
}
h1 span { color: var(--color-primary); }
.hero-copy h2 {
  font-size: clamp(46px, 4.35vw, 64px);
  line-height: .98;
}
.hero-copy h2 span { color: var(--color-primary); }
.hero-copy h2 .hero-gradient-text {
  display: inline;
  color: var(--color-primary);
  background: linear-gradient(110deg, #003f3d 0%, #007c72 24%, #55c9b9 50%, #007c72 76%, #003f3d 100%);
  background-size: 240% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-text-gradient 4s ease-in-out infinite;
}

@keyframes hero-text-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy h2 .hero-gradient-text {
    animation: none;
    background-position: 50% 50%;
  }
}
.hero-text {
  max-width: 475px;
  margin: 24px 0 30px;
  font-size: 17px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.doctor-photo {
  position: absolute;
  z-index: 4;
  right: max(12vw, calc((100vw - 1180px) / 2 + 185px));
  bottom: -2px;
  height: min(670px, 78vw);
  width: auto;
}
.doctor-card {
  position: absolute;
  z-index: 6;
  right: max(5vw, calc((100vw - 1180px) / 2 + 10px));
  bottom: 122px;
  width: 306px;
  min-height: 188px;
  padding: 24px 24px 22px;
  border-radius: 12px;
  color: var(--color-white);
  background: rgba(0,63,61,.92);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 22px 45px rgba(16,43,53,.22);
  overflow: hidden;
}
.doctor-card h2 { font-size: 27px; color: var(--color-white); line-height: 1.02; }
.doctor-card p { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.9); }
.doctor-card .crm { font-weight: 700; font-size: 11px; color: rgba(255,255,255,.74); }
.hero-features {
  position: relative;
  z-index: 7;
  display: flex;
  justify-content: flex-start;
  gap: 42px;
  padding-bottom: 34px;
}
.hero-features div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-heading);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  flex: 0 0 auto;
}
.hero-features img { width: 34px; height: 34px; object-fit: contain; }

.section { padding: 86px 0; }
.section-head { text-align: center; margin-bottom: 38px; }
.section h2, .about h2, .appointment h2 {
  font-size: clamp(38px, 4.4vw, 56px);
  line-height: .98;
}
.title-line {
  display: block;
  width: 58px;
  height: 2px;
  background: var(--color-primary);
  margin: 20px auto 0;
}
.treatments { background: var(--color-white); }
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.treatment-card {
  position: relative;
  min-height: 382px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(16,43,53,.08);
  overflow: hidden;
  padding: 0 0 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.treatment-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(16,43,53,.12); }
.treatment-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
}
.treatment-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: -29px 0 16px 24px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 24px rgba(16,43,53,.1);
  position: relative;
}
.treatment-icon img { width: 31px; height: 31px; }
.treatment-card h3 { text-align: left; font-size: 25px; line-height: 1; margin-bottom: 10px; }
.treatment-card h3,
.treatment-card p { padding-inline: 24px; }
.treatment-card p { margin: 0; text-align: left; color: var(--color-muted); font-size: 12px; line-height: 1.62; }
.center-action { text-align: center; margin-top: 34px; }

.about {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 60%);
  background: var(--color-primary-dark);
  height: 600px;
  overflow: hidden;
  position: relative;
}
.about-copy {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  padding: 40px 92px 40px 0;
  margin-right: -92px;
  position: relative;
  z-index: 2;
  background:
    linear-gradient(90deg, #004c47 0%, #004c47 58%, rgba(0,76,71,.82) 76%, rgba(0,76,71,0) 100%);
}
.about-inner {
  width: min(100% - var(--page-padding), 470px);
  margin-left: var(--page-padding);
  margin-right: 64px;
  color: rgba(255,255,255,.86);
}
.about .eyebrow { color: rgba(255,255,255,.72); }
.about h2 { color: var(--color-white); }
.about p { font-size: 15px; line-height: 1.65; }
.about ul { list-style: none; padding: 0; margin: 22px 0 24px; display: grid; gap: 11px; }
.about li { position: relative; padding-left: 31px; font-size: 14px; font-weight: 600; }
.about li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.32);
}
.about li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(40deg);
}
.about-image {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  position: relative;
  margin-left: -92px;
  width: calc(100% + 92px);
}
.about-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 66% 28%;
}

.reviews { background: #f7faf8; }
.reviews-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}
.review-controls { display: flex; gap: 10px; }
.review-controls--mobile { display: none; }
.review-counter {
  min-width: 54px;
  text-align: center;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
}
.carousel-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background .22s ease, color .22s ease;
}
.carousel-btn:hover { background: var(--color-primary); color: var(--color-white); }
.google-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  color: var(--color-muted);
  font-size: 14px;
}
.google-logo {
  width: 92px;
  height: auto;
  object-fit: contain;
}
.stars { color: var(--color-star); letter-spacing: 0; font-size: 14px; }
.review-viewport { overflow: hidden; }
.review-track {
  display: flex;
  gap: 20px;
  transition: transform .3s ease;
}
.review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  height: 245px;
  padding: 24px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(16,43,53,.06);
  display: flex;
  flex-direction: column;
}
.review-author { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.review-author strong { display: block; color: var(--color-heading); font-size: 14px; margin-bottom: 4px; }
.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6f0ed;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 13px;
}
.g-mark {
  width: 22px;
  height: 22px;
  margin-left: auto;
  object-fit: contain;
}
.review-card p {
  margin: 0;
  max-height: 132px;
  overflow-y: auto;
  padding-right: 8px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text);
}
.review-card p::-webkit-scrollbar { width: 4px; }
.review-card p::-webkit-scrollbar-track { background: transparent; }
.review-card p::-webkit-scrollbar-thumb {
  background: rgba(0, 93, 87, .28);
  border-radius: 999px;
}

.insurance { text-align: center; background: var(--color-white); padding: 72px 0; }
.insurance h2 { margin-bottom: 14px; }
.insurance p { margin: 0 auto; max-width: 640px; line-height: 1.7; }
.insurance-list {
  margin: 31px auto 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  justify-content: center;
  align-items: center;
  gap: 28px;
  max-width: 980px;
}
.insurance-card {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid rgba(0,93,87,.1);
  border-radius: 10px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 28px rgba(16,43,53,.06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.insurance-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,93,87,.2);
  box-shadow: 0 18px 40px rgba(16,43,53,.1);
}
.insurance-card img {
  width: 100%;
  max-width: 178px;
  height: auto;
  object-fit: contain;
}
.insurance-carousel {
  position: relative;
  max-width: 980px;
  margin: 31px auto 20px;
  overflow: hidden;
}
.insurance-list--carousel {
  display: flex;
  grid-template-columns: none;
  gap: 18px;
  max-width: none;
  margin: 0;
  transition: transform .3s ease;
}
.insurance-list--carousel .insurance-card {
  flex: 0 0 calc((100% - 54px) / 4);
}
.insurance-prev,
.insurance-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--color-primary);
  font-size: 42px;
  font-weight: 500;
}
.insurance-prev { left: 10px; }
.insurance-next { right: 10px; }
.insurance-prev:hover,
.insurance-next:hover {
  background: transparent;
  color: var(--color-primary-dark);
}
.insurance-action {
  margin-top: 18px;
}
.small-note { font-size: 13px; color: var(--color-muted); }

.structure { background: #f7faf8; }
.structure-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.structure-copy p:not(.eyebrow) { font-size: 15px; line-height: 1.8; margin: 22px 0 26px; max-width: 430px; }
.structure-gallery { position: relative; overflow: hidden; }
.structure-track {
  display: flex;
  gap: 16px;
  transition: transform .3s ease;
}
.structure-gallery-card {
  position: relative;
  flex: 0 0 calc((100% - 32px) / 3);
  height: 318px;
  overflow: hidden;
  border-radius: 10px;
  display: block;
  background: #eaf1ef;
  box-shadow: 0 14px 34px rgba(16,43,53,.08);
}
.structure-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease, filter .35s ease;
}
.structure-gallery-card span,
.structure-gallery-card::after {
  display: none;
}
.structure-gallery-card:focus-visible {
  outline: 3px solid rgba(27, 128, 118, .38);
  outline-offset: 4px;
}
.structure-gallery-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}
.clinic-placeholder {
  height: 292px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  color: rgba(255,255,255,.84);
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  background:
    linear-gradient(145deg, rgba(0,93,87,.82), rgba(16,43,53,.92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 16px);
}
.structure-next { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }

.appointment {
  position: relative;
  background: var(--color-primary-dark) url("assets/cta-background.webp") center/cover no-repeat;
  padding: 18px 0;
  color: var(--color-white);
}
.appointment::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 45, 43, .42);
  pointer-events: none;
}
.appointment-inner {
  width: min(calc(100% - (var(--page-padding) * 2)), 880px);
  min-height: 118px;
  display: grid;
  grid-template-columns: 70px minmax(360px, 1fr) auto;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.appointment h2 { color: var(--color-white); font-size: clamp(27px, 2.4vw, 34px); line-height: .98; }
.appointment p { margin: 6px 0 0; color: rgba(255,255,255,.82); font-size: 12px; }
.calendar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  border: 2px solid rgba(255,255,255,.7);
  display: grid;
  place-items: center;
}
.calendar-icon img {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
}

.site-footer {
  background: #08242c;
  color: rgba(255,255,255,.76);
  padding: 52px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr 1fr 1.35fr;
  gap: 42px;
}
.footer-logo {
  width: 150px;
  max-height: 108px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.footer-brand p {
  max-width: 310px;
}
.footer-crm {
  margin-top: 18px !important;
  color: #fff !important;
  font-weight: 700;
}
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  transition: background .22s ease, border-color .22s ease;
}
.socials a:hover {
  background: rgba(255,255,255,.1);
}
.socials img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}
.site-footer h3 {
  font-family: var(--font-body);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
  margin: 0 0 16px;
}
.site-footer a, .site-footer p {
  display: block;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
}
.site-footer strong {
  color: #fff;
  font-weight: 700;
}
.footer-contact a:hover,
.site-footer a:hover {
  color: #fff;
}
.contact-item {
  display: grid !important;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.contact-item img {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  object-fit: contain;
  color: currentColor;
  filter: brightness(0) invert(1);
  opacity: .86;
}
.contact-item span {
  min-width: 0;
}
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.footer-bottom p { margin: 0; font-size: 12px; color: rgba(255,255,255,.58); }
.webliza-credit {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin: 0 !important;
  font-size: 12px !important;
  color: rgba(255,255,255,.58);
}
.webliza-credit img {
  width: 76px;
  height: auto;
  opacity: .86;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 18px 36px rgba(0,63,61,.26);
  font-size: 13px;
  font-weight: 700;
  transition: transform .22s ease, background .22s ease;
}
.floating-whatsapp:hover {
  transform: translateY(-2px);
  background: var(--color-primary-dark);
}
.floating-whatsapp__icon {
  width: 24px;
  height: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1180px) {
  .main-nav { gap: 14px; font-size: 12px; }
  .header-cta { padding-inline: 14px; }
  .doctor-photo { right: 25%; transform: translateX(50%); height: 620px; }
  .doctor-card { right: 30px; }
  .treatment-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .header-inner { height: 76px; }
  .menu-toggle {
    width: 42px;
    height: 42px;
    margin-left: auto;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
  }
  .menu-toggle span { width: 20px; height: 2px; background: var(--color-primary); display: block; }
  .main-nav {
    position: absolute;
    left: var(--page-padding);
    right: var(--page-padding);
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(16,43,53,.12);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 12px; }
  .header-cta { display: none; }
  .treatment-grid { grid-template-columns: repeat(2, 1fr); }
  .hero {
    min-height: auto;
    padding-bottom: 0;
    background-position: 60% top;
  }
  .hero-grid { min-height: 510px; align-items: start; padding-top: 68px; }
  .hero-copy { max-width: 560px; }
  .doctor-photo {
    position: relative;
    right: auto;
    bottom: auto;
    transform: none;
    height: 560px;
    margin: -95px auto 0;
    z-index: 4;
  }
  .doctor-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(calc(100% - 48px), 340px);
    margin: -125px 24px 30px auto;
  }
  .hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 24px;
    padding-top: 10px;
  }
  .hero-features div { flex: initial; }
  .about, .structure-grid { grid-template-columns: 1fr; }
  .about { height: auto; }
  .about-copy {
    justify-content: center;
    padding: 62px 0;
    margin-right: 0;
    text-align: center;
    background:
      radial-gradient(circle at 12% 18%, rgba(255,255,255,.08), transparent 30%),
      linear-gradient(135deg, #004c47 0%, #07313a 100%);
  }
  .about-inner { width: min(calc(100% - 48px), 680px); margin: 0; }
  .about ul { text-align: left; width: fit-content; max-width: 100%; margin-inline: auto; }
  .about-image {
    margin-left: 0;
    width: 100%;
  }
  .about-image::after {
    display: none;
  }
  .about-image img { min-height: 340px; }
  .appointment-inner { width: min(calc(100% - 48px), 680px); grid-template-columns: 70px 1fr; min-height: 160px; }
  .appointment .btn { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root { --page-padding: 20px; }
  .container,
  .wide-container { width: min(calc(100% - 40px), var(--container-width)); }
  .section { padding: 64px 0; }
  .brand img { width: 126px; }
  h1 { font-size: clamp(40px, 10.8vw, 52px); line-height: .94; }
  .hero-copy h2 { font-size: clamp(40px, 10.8vw, 52px); line-height: .94; }
  .hero {
    background-image: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.8) 42%, rgba(255,255,255,.18) 100%), url("assets/hero-background.webp");
    background-position: 80% 76px;
    background-size: auto 1020px;
    padding-bottom: 48px;
  }
  .hero-grid { min-height: auto; padding-top: 34px; }
  .hero-copy {
    padding-top: 0;
    text-align: center;
    margin-inline: auto;
  }
  .hero-copy .eyebrow,
  .hero-copy h2,
  .hero-copy .hero-text {
    text-align: center;
  }
  .hero-text { font-size: 14px; line-height: 1.65; margin: 18px 0 24px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .doctor-photo { height: 405px; margin: 12px auto 0; }
  .doctor-card {
    width: min(calc(100% - 40px), 340px);
    margin: -70px auto 30px;
    padding: 22px 22px 20px;
    background: var(--color-primary-dark);
  }
  .doctor-card h2 { font-size: 26px; }
  .doctor-card p { font-size: 13px; }
  .hero-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding-top: 0;
    padding-bottom: 14px;
  }
  .hero-features div {
    flex-direction: column;
    justify-content: start;
    gap: 7px;
    text-align: center;
    font-size: 10px;
    line-height: 1.18;
    align-items: center;
  }
  .hero-features img { width: 28px; height: 28px; }
  .treatment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .treatment-card { min-height: 330px; }
  .treatment-image { height: auto; aspect-ratio: 1 / 1; }
  .treatment-icon {
    width: 52px;
    height: 52px;
    margin: -26px 0 14px 18px;
  }
  .treatment-icon img { width: 28px; height: 28px; }
  .treatment-card h3 { font-size: 22px; }
  .treatment-card h3,
  .treatment-card p { padding-inline: 18px; }
  .treatment-card p { font-size: 11px; line-height: 1.55; }
  .about-copy {
    padding-bottom: 86px;
    margin-bottom: -42px;
    background:
      radial-gradient(circle at 12% 18%, rgba(255,255,255,.08), transparent 30%),
      linear-gradient(180deg, #004c47 0%, #07313a 74%, rgba(7,49,58,.86) 88%, rgba(7,49,58,0) 100%);
  }
  .about-image {
    margin-top: -42px;
  }
  .about-image::after {
    display: block;
    background:
      linear-gradient(180deg, rgba(7,49,58,.92) 0%, rgba(7,49,58,.46) 20%, rgba(7,49,58,0) 48%);
  }
  .reviews-top { align-items: flex-start; }
  .review-controls--desktop { display: none; }
  .review-controls--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
  }
  .review-track { gap: 0; }
  .review-card {
    flex: 0 0 100%;
    height: 300px;
  }
  .review-card p { max-height: 180px; }
  .insurance .container {
    padding: 36px 18px;
  }
  .insurance-list {
    gap: 12px;
  }
  .insurance-carousel {
    margin-top: 26px;
  }
  .insurance-list--carousel {
    gap: 12px;
  }
  .insurance-list--carousel .insurance-card {
    flex: 0 0 calc((100% - 12px) / 2);
  }
  .insurance-card {
    min-height: 104px;
    padding: 16px;
  }
  .insurance-card img {
    max-width: 132px;
  }
  .insurance-page .insurance-card {
    min-height: 112px;
  }
  .insurance-page .insurance-card img {
    max-width: 142px;
  }
  .insurance-hero {
    padding: 76px 0 58px;
  }
  .insurance-hero h1 {
    font-size: clamp(42px, 11vw, 56px);
  }
  .structure-track {
    gap: 10px;
  }
  .structure-gallery-card {
    flex: 0 0 calc(100% - 54px);
    height: 250px;
  }
  .clinic-placeholder { flex: 0 0 calc(100% - 54px); height: 250px; }
  .appointment { padding: 54px 0; background-position: left center; }
  .appointment-inner { grid-template-columns: 1fr; text-align: left; }
  .appointment .btn { grid-column: auto; width: 100%; }
  .structure-copy { text-align: center; }
  .structure-copy p:not(.eyebrow) { margin-inline: auto; }
  .structure-copy .btn { width: 100%; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; }
  .footer-grid,
  .footer-bottom {
    justify-items: start;
    text-align: left;
  }
  .footer-brand p { margin-inline: 0; }
  .footer-brand p { max-width: none; }
  .socials { justify-content: flex-start; }
  .contact-item {
    width: auto;
    margin-inline: 0 !important;
    text-align: left;
  }
  .webliza-credit { justify-content: flex-start; }
  .footer-bottom p,
  .webliza-credit {
    font-size: 13px !important;
  }
  .site-footer a,
  .site-footer p {
    font-size: 15px;
    line-height: 1.65;
  }
  .site-footer h3 {
    font-size: 13px;
  }
  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
    min-height: 48px;
    padding-inline: 13px 16px;
    font-size: 12px;
  }
  .floating-whatsapp__icon { width: 22px; height: 22px; }
}

@media (max-width: 430px) {
  .container,
  .wide-container { width: min(calc(100% - 32px), var(--container-width)); }
  .treatment-grid { gap: 14px; }
  .treatment-card { min-height: 318px; }
  .treatment-card h3 { font-size: 20px; }
  .treatment-card h3,
  .treatment-card p { padding-inline: 14px; }
  .treatment-icon { margin-left: 14px; }
  .hero-features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .hero-features div { align-items: center; gap: 6px; font-size: 9px; }
  .hero-features img { width: 26px; height: 26px; }
  .doctor-photo { height: 388px; }
  .doctor-card { width: calc(100% - 32px); margin-inline: 16px; }
  .section h2, .about h2, .appointment h2 { font-size: 39px; }
  .insurance-list { gap: 16px 22px; }
  .insurance-list span { font-size: 21px; }
}

/* Premium polish layer */
:root {
  --shadow-soft: 0 18px 45px rgba(16, 43, 53, .08);
  --shadow-card: 0 20px 52px rgba(16, 43, 53, .1);
  --shadow-hover: 0 28px 70px rgba(16, 43, 53, .14);
  --stroke-soft: rgba(0, 93, 87, .12);
  --stroke-glass: rgba(255, 255, 255, .22);
  --surface-cool: #f5faf8;
  --surface-warm: #fbfdfb;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(27,128,118,.05), transparent 34%),
    linear-gradient(180deg, #fff 0%, var(--surface-warm) 100%);
}

.section {
  padding-block: 104px;
}

.eyebrow {
  color: #006c64;
  font-size: 11px;
  letter-spacing: .04em;
}

.btn {
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, #006f67, #00544f);
  box-shadow: 0 14px 34px rgba(0,93,87,.2);
}

.btn-primary:hover,
.floating-whatsapp:hover {
  box-shadow: 0 18px 42px rgba(0,93,87,.28);
}

.btn-secondary,
.btn-light,
.btn-white {
  border-color: rgba(0,93,87,.22);
}

.hero {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(250,253,252,.92) 31%, rgba(232,246,244,.34) 62%, rgba(255,255,255,0) 100%),
    radial-gradient(circle at 72% 34%, rgba(56,152,143,.14), transparent 28%),
    url("assets/hero-background.webp");
}

.hero-copy .eyebrow {
  margin-bottom: 18px;
}

.hero-text {
  margin-top: 28px;
  color: #415960;
}

.hero-actions {
  gap: 16px;
}

.doctor-card {
  background:
    linear-gradient(145deg, rgba(0,73,68,.86), rgba(6,51,57,.78)),
    radial-gradient(circle at 100% 100%, rgba(255,255,255,.08), transparent 36%);
  border-color: var(--stroke-glass);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 70px rgba(9, 38, 44, .24);
}

.hero-features {
  gap: 50px;
}

.hero-features div {
  color: #19343d;
}

.hero-features img {
  opacity: .88;
}

.treatments {
  background:
    radial-gradient(circle at 50% 0%, rgba(0,93,87,.045), transparent 34%),
    #fff;
}

.section-head {
  margin-bottom: 46px;
}

.title-line {
  width: 64px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.treatment-grid {
  gap: 18px;
}

.treatment-card {
  border-color: var(--stroke-soft);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(180deg, #fff, #fbfdfc);
}

.treatment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.treatment-card:hover {
  box-shadow: var(--shadow-hover);
}

.treatment-image {
  filter: saturate(.92) contrast(.98);
  transition: transform .45s ease, filter .45s ease;
}

.treatment-card:hover .treatment-image {
  transform: scale(1.045);
  filter: saturate(.98) contrast(1.02);
}

.treatment-icon {
  border-color: rgba(0,93,87,.14);
  box-shadow: 0 12px 30px rgba(16,43,53,.13);
}

.treatment-card:nth-child(6) {
  border-color: rgba(0,93,87,.2);
  box-shadow: 0 22px 58px rgba(16,43,53,.12);
}

.treatment-card p {
  color: #526970;
}

.about {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.08), transparent 30%),
    linear-gradient(135deg, #004c47 0%, #07313a 100%);
}

.about-copy {
  position: relative;
}

.about-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 72%, rgba(255,255,255,.055) 72% 73%, transparent 73%),
    repeating-linear-gradient(120deg, rgba(255,255,255,.035) 0 1px, transparent 1px 28px);
  opacity: .32;
  pointer-events: none;
}

.about-inner {
  position: relative;
  z-index: 1;
}

.about-image {
  position: relative;
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,63,61,.84) 0%, rgba(0,63,61,.38) 12%, rgba(0,63,61,.1) 25%, rgba(0,63,61,0) 42%),
    linear-gradient(180deg, rgba(7,49,58,.08), rgba(7,49,58,.03));
  pointer-events: none;
}

.about-image img {
  filter: saturate(.9) contrast(.98);
}

.reviews {
  background:
    radial-gradient(circle at 78% 12%, rgba(0,93,87,.06), transparent 30%),
    #f4f8f7;
}

.review-card {
  border-color: rgba(0,93,87,.1);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.review-card::before {
  content: "“";
  position: absolute;
  right: 22px;
  bottom: 12px;
  font-family: var(--font-heading);
  font-size: 70px;
  line-height: 1;
  color: rgba(0,93,87,.07);
  pointer-events: none;
}

.review-author {
  position: relative;
  z-index: 1;
}

.carousel-btn {
  border-color: rgba(0,93,87,.15);
  box-shadow: 0 10px 24px rgba(16,43,53,.08);
}

.insurance {
  background:
    linear-gradient(180deg, rgba(0,93,87,.045), rgba(255,255,255,.92)),
    #f8fbfa;
}

.insurance .container {
  padding: 44px 34px;
  border: 1px solid rgba(0,93,87,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow-soft);
}

.insurance-list {
  gap: 18px;
}

.insurance-page .insurance-list {
  max-width: 1040px;
}

.insurance-page .insurance-card {
  min-height: 146px;
}

.insurance-page .insurance-card img {
  max-width: 210px;
}

.structure {
  background:
    radial-gradient(circle at 12% 15%, rgba(0,93,87,.07), transparent 34%),
    #f7faf8;
}

.structure-grid {
  gap: 72px;
}

.clinic-placeholder {
  position: relative;
  overflow: hidden;
  align-items: end;
  justify-items: start;
  padding: 22px;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform .35s ease, box-shadow .35s ease;
}

.clinic-placeholder::before {
  counter-increment: clinic;
  content: "0" counter(clinic);
  position: absolute;
  top: 16px;
  left: 18px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.58);
}

.structure-track {
  counter-reset: clinic;
}

.clinic-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.appointment {
  padding: 34px 0;
  background-position: center;
}

.appointment::before {
  background:
    radial-gradient(circle at 73% 50%, rgba(255,255,255,.16), transparent 22%),
    linear-gradient(90deg, rgba(0,42,40,.72), rgba(0,75,70,.48), rgba(0,42,40,.7));
}

.appointment-inner {
  min-height: 148px;
}

.insurance-hero {
  padding: 112px 0 90px;
  background:
    radial-gradient(circle at 76% 18%, rgba(0,93,87,.08), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.98) 0%, rgba(244,250,248,.92) 100%);
}

.insurance-hero .container {
  max-width: 760px;
  text-align: center;
}

.insurance-hero h1 {
  margin: 0;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: clamp(48px, 5vw, 76px);
  line-height: .95;
}

.insurance-hero h1 span {
  color: var(--color-primary);
}

.insurance-hero .title-line {
  margin: 26px auto 28px;
}

.insurance-hero p:not(.eyebrow) {
  max-width: 610px;
  margin: 0 auto;
  color: var(--color-text);
  line-height: 1.8;
}

.insurance-catalog {
  background:
    linear-gradient(180deg, #fff 0%, #f7faf8 100%);
}

.insurance-catalog .small-note {
  margin: 26px auto 0;
  max-width: 620px;
  text-align: center;
}

.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(27,128,118,.18), transparent 34%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,.05), transparent 28%),
    #08242c;
  padding-top: 68px;
}

.footer-grid {
  gap: 56px;
}

.site-footer a,
.site-footer p {
  color: rgba(255,255,255,.74);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 46px;
}

@media (max-width: 960px) {
  .section {
    padding-block: 78px;
  }

  .hero-features {
    gap: 20px;
  }

  .insurance-list {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 767px) {
  .section {
    padding-block: 66px;
  }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.99) 0%, rgba(250,253,252,.88) 44%, rgba(255,255,255,.26) 100%),
      url("assets/hero-background.webp");
  }

  .doctor-card {
    background: var(--color-primary-dark);
    backdrop-filter: none;
  }

  .insurance .container {
    padding: 34px 20px;
    border-radius: 10px;
  }

  .insurance-list span {
    border-right: 0;
    padding: 4px 12px;
  }

  .appointment-inner {
    min-height: auto;
  }

  .review-card::before {
    font-size: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Contact page */
.contact-page .nav-active {
  color: var(--color-primary);
  position: relative;
}

.contact-page .nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--color-primary);
}

.contact-hero {
  background:
    radial-gradient(circle at 12% 16%, rgba(0,93,87,.055), transparent 32%),
    #fff;
  overflow: hidden;
}

.contact-hero__grid {
  height: 600px;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: stretch;
}

.contact-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 54px 54px 0;
  position: relative;
  z-index: 2;
}

.contact-hero__copy h1 {
  max-width: 610px;
  font-size: clamp(52px, 5vw, 76px);
  line-height: .96;
}

.contact-hero__copy h1 span {
  color: var(--color-primary);
}

.contact-hero__copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 28px 0 0;
  color: #405961;
  font-size: 16px;
  line-height: 1.85;
}

.contact-hero__media {
  position: relative;
  height: 600px;
  margin-right: calc((100vw - min(calc(100vw - 48px), var(--container-width))) / -2);
  overflow: hidden;
}

.contact-hero__media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.82) 30%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.contact-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,36,44,.08), rgba(8,36,44,.18));
  pointer-events: none;
}

.contact-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.9) contrast(.98) brightness(1.04);
}

.contact-channels {
  background:
    radial-gradient(circle at 50% 0%, rgba(0,93,87,.05), transparent 34%),
    #fbfdfb;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.contact-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 42px 30px 30px;
  border: 1px solid rgba(0,93,87,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,93,87,.18);
}

.contact-card__icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: rgba(0,93,87,.07);
}

.contact-card__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(23%) sepia(46%) saturate(1201%) hue-rotate(139deg) brightness(94%) contrast(101%);
}

.contact-card h2 {
  font-size: 31px;
  line-height: 1;
  margin-bottom: 18px;
}

.contact-card p {
  margin: 0 0 20px;
  color: #536970;
  font-size: 14px;
  line-height: 1.7;
}

.contact-card strong {
  margin-top: auto;
  color: var(--color-primary);
  font-size: 17px;
  line-height: 1.5;
}

.contact-card__action {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding: 0 16px;
  border-top: 1px solid rgba(0,93,87,.09);
  border-radius: 999px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
}

.contact-card__action span {
  transition: transform .22s ease;
}

.contact-card__action:hover span {
  transform: translateX(3px);
}

.contact-card--primary {
  color: #fff;
  border-color: rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.12), transparent 30%),
    linear-gradient(145deg, #007068, #003f3d);
  box-shadow: 0 24px 64px rgba(0,63,61,.22);
}

.contact-card--primary h2,
.contact-card--primary strong,
.contact-card--primary .contact-card__action {
  color: #fff;
}

.contact-card--primary p {
  color: rgba(255,255,255,.84);
}

.contact-card--primary .contact-card__icon {
  background: #fff;
}

.contact-card--primary .contact-card__icon img {
  filter: brightness(0) saturate(100%) invert(23%) sepia(46%) saturate(1201%) hue-rotate(139deg) brightness(94%) contrast(101%);
}

.contact-card--primary .contact-card__action {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}

.clinic-visit {
  background:
    linear-gradient(180deg, #fff, #f6faf8);
}

.clinic-visit__grid {
  display: grid;
  grid-template-columns: .78fr 1.42fr;
  gap: 70px;
  align-items: center;
}

.clinic-visit__copy h2 {
  font-size: clamp(44px, 4.2vw, 64px);
  line-height: 1;
}

.clinic-visit__copy p:not(.eyebrow) {
  max-width: 430px;
  margin: 24px 0 30px;
  color: #435a62;
  font-size: 15px;
  line-height: 1.8;
}

.clinic-benefits {
  display: grid;
  gap: 14px;
  max-width: 390px;
}

.clinic-benefits div {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(0,93,87,.09);
  border-radius: 9px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 28px rgba(16,43,53,.055);
  font-size: 13px;
  font-weight: 700;
  color: #19343d;
}

.clinic-benefits span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0,93,87,.18);
  flex: 0 0 auto;
}

.clinic-benefits span img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.clinic-map {
  position: relative;
  min-height: 520px;
  padding: 0 0 74px;
}

.clinic-map iframe {
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  filter: saturate(.84) contrast(.96);
}

.clinic-map__photo {
  position: absolute;
  right: -14px;
  bottom: 0;
  width: 48%;
  height: auto;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(16,43,53,.2);
  transition: transform .35s ease;
}

.clinic-map__photo:hover {
  transform: translateY(-4px) scale(1.01);
}

.contact-final-cta {
  padding: 0 0 78px;
  background: #f6faf8;
}

.contact-final-cta__inner {
  min-height: 174px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 38px;
  position: relative;
  overflow: hidden;
  padding: 28px 42px;
  border-radius: 14px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7,49,58,.92), rgba(0,93,87,.82)),
    url("assets/cta-background.webp") left center / cover no-repeat,
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.12), transparent 22%),
    linear-gradient(135deg, #07313a, #005d57);
  box-shadow: 0 24px 70px rgba(16,43,53,.18);
}

.contact-final-cta h2 {
  color: #fff;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1;
}

.contact-final-cta p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 15px;
}

@media (max-width: 1180px) {
  .contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .contact-hero__grid,
  .clinic-visit__grid {
    grid-template-columns: 1fr;
  }

  .contact-hero__grid {
    height: auto;
    min-height: 0;
    padding-top: 58px;
  }

  .contact-hero__copy {
    padding: 0 0 42px;
  }

  .contact-hero__media {
    height: auto;
    min-height: 420px;
    margin-inline: calc(var(--page-padding) * -1);
  }

  .contact-hero__media::before {
    display: none;
  }

  .clinic-map iframe,
  .clinic-map__photo {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1.72 / 1;
  }

  .clinic-map {
    display: grid;
    gap: 18px;
    min-height: 0;
    padding: 0;
  }

  .clinic-map iframe {
    height: 430px;
  }

  .clinic-map__photo {
    order: 2;
  }

  .contact-final-cta__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 767px) {
  .contact-page .nav-active::after {
    display: none;
  }

  .contact-hero__copy h1 {
    font-size: clamp(45px, 12vw, 58px);
  }

  .contact-hero__copy p:not(.eyebrow) {
    font-size: 14px;
  }

  .contact-hero__media {
    min-height: 300px;
    aspect-ratio: 4 / 3;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-card {
    min-height: 0;
    padding: 34px 24px 24px;
  }

  .clinic-visit__copy {
    text-align: center;
  }

  .clinic-visit__copy p:not(.eyebrow),
  .clinic-benefits {
    margin-inline: auto;
  }
  .clinic-benefits {
    width: 100%;
    max-width: 430px;
  }
  .clinic-benefits div {
    justify-content: flex-start;
    padding-inline: 18px;
  }

  .clinic-map iframe {
    height: 360px;
  }

  .contact-final-cta {
    padding-bottom: 58px;
  }

  .contact-final-cta__inner {
    padding: 30px 22px;
  }

}

/* Homepage appointment CTA using contact page banner layout */
body:not(.contact-page) .appointment {
  padding: 78px 0;
  background: #f6faf8;
  color: var(--color-white);
}

body:not(.contact-page) .appointment::before {
  display: none;
}

body:not(.contact-page) .appointment-inner {
  width: min(calc(100% - 48px), var(--container-width));
  min-height: 174px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 38px;
  overflow: hidden;
  padding: 34px 64px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(7,49,58,.94), rgba(0,93,87,.84)),
    url("assets/cta-background.webp") left center / cover no-repeat;
  box-shadow: 0 24px 70px rgba(16,43,53,.18);
}

body:not(.contact-page) .appointment .calendar-icon {
  display: none;
}

body:not(.contact-page) .appointment h2 {
  color: #fff;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1;
}

body:not(.contact-page) .appointment p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 15px;
}

body:not(.contact-page) .appointment .btn {
  justify-self: end;
  min-width: 190px;
}

@media (max-width: 960px) {
  body:not(.contact-page) .appointment-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 34px 28px;
  }

  body:not(.contact-page) .appointment .btn {
    justify-self: center;
  }
}

@media (max-width: 767px) {
  body:not(.contact-page) .appointment {
    padding: 58px 0;
  }

  body:not(.contact-page) .appointment-inner {
    width: min(calc(100% - 32px), var(--container-width));
    padding: 30px 22px;
  }
}

/* Structure page */
.structure-page .nav-active {
  color: var(--color-primary);
  position: relative;
}

.structure-page .nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--color-primary);
}

.structure-page {
  background:
    radial-gradient(circle at 15% 10%, rgba(0,93,87,.035), transparent 28%),
    var(--color-background);
}

.structure-hero {
  overflow: hidden;
  background: #fff;
}

.structure-hero__grid {
  height: 450px;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: stretch;
}

.structure-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 58px 32px 0;
  position: relative;
  z-index: 2;
}

.structure-hero__copy h1 {
  max-width: 610px;
  font-size: clamp(42px, 3.3vw, 52px);
  line-height: .95;
}

.structure-hero__copy h1 span {
  color: var(--color-primary);
}

.structure-tour__copy h2 span {
  color: #9be2d8;
}

.structure-hero__copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 0;
  color: #405961;
  font-size: 16px;
  line-height: 1.85;
}

.structure-hero__media {
  position: relative;
  height: 450px;
  margin-right: calc((100vw - min(calc(100vw - 48px), var(--container-width))) / -2);
  padding: 0;
  overflow: hidden;
}

.structure-hero__media img {
  width: 100%;
  height: 100%;
  max-height: 450px;
  object-fit: cover;
  object-position: center;
}

.structure-hero__media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 56%;
  z-index: 2;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 20%, rgba(255,255,255,.74) 48%, rgba(255,255,255,.28) 76%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.structure-placeholder {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  color: #6b7b80;
  border: 1px solid rgba(0,93,87,.12);
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(244,248,246,.86)),
    repeating-linear-gradient(135deg, rgba(0,93,87,.035) 0 1px, transparent 1px 16px);
}

.structure-placeholder__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-primary);
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 34px rgba(16,43,53,.08);
}

.structure-placeholder__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.structure-placeholder--hero {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  border-right: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
}

.structure-placeholder--hero > span:last-child {
  font-size: 13px;
  font-weight: 700;
}

.structure-environments {
  background:
    radial-gradient(circle at 50% 0%, rgba(0,93,87,.045), transparent 34%),
    #fbfdfb;
}

.structure-tour {
  background: #fff;
}

.structure-tour__inner {
  display: grid;
  grid-template-columns: 38% 62%;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #07313a, #005d57);
  box-shadow: 0 28px 80px rgba(16,43,53,.16);
}

.structure-tour__copy {
  padding: 64px 58px;
  color: #fff;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,.1), transparent 34%),
    linear-gradient(135deg, rgba(0,63,61,.96), rgba(0,93,87,.9));
}

.structure-tour__copy .eyebrow {
  color: rgba(255,255,255,.72);
}

.structure-tour__copy h2 {
  color: #fff;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1;
}

.structure-tour__copy p {
  margin: 22px 0 28px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
  line-height: 1.8;
}

.structure-tour__copy ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.structure-tour__copy li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 600;
}

.structure-tour__copy li span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.structure-tour__copy li span img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.virtual-tour-embed {
  min-height: 430px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(235,243,240,.86)),
    repeating-linear-gradient(135deg, rgba(0,93,87,.035) 0 1px, transparent 1px 18px);
}

.virtual-tour-embed iframe,
.virtual-tour-placeholder {
  width: 100%;
  height: 100%;
  min-height: 362px;
  border: 0;
  border-radius: 12px;
}

.virtual-tour-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
  color: var(--color-primary-deep);
  border: 1px solid rgba(0,93,87,.12);
  background: rgba(255,255,255,.68);
}

.virtual-tour-placeholder span {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(0,93,87,.24);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 29px;
  font-weight: 800;
}

.virtual-tour-placeholder strong {
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1;
  color: var(--color-heading);
}

.virtual-tour-placeholder p {
  max-width: 360px;
  margin: 0;
  color: #607075;
  font-size: 13px;
  line-height: 1.7;
}

.structure-mini-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.structure-mini-card {
  height: 174px;
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(16,43,53,.075);
}

@media (max-width: 1180px) {
  .structure-mini-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .structure-hero__grid {
    height: auto;
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .structure-hero__copy {
    padding: 0 0 42px;
  }

  .structure-hero__media {
    height: auto;
    min-height: 340px;
    margin-inline: calc(var(--page-padding) * -1);
    padding: 0;
  }

  .structure-hero__media::before {
    display: none;
  }

  .structure-placeholder--hero {
    min-height: 340px;
  }

  .structure-tour__inner {
    grid-template-columns: 1fr;
  }

  .structure-tour__copy {
    padding: 48px 34px;
  }

  .virtual-tour-embed {
    min-height: 360px;
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .structure-page .nav-active::after {
    display: none;
  }

  .structure-hero__copy {
    text-align: center;
  }

  .structure-hero__copy h1 {
    font-size: clamp(43px, 11vw, 56px);
  }

  .structure-hero__copy p:not(.eyebrow) {
    font-size: 14px;
  }

  .structure-tour__copy {
    padding: 40px 24px;
  }

  .structure-tour__copy h2 {
    font-size: clamp(32px, 8vw, 40px);
  }

  .virtual-tour-embed {
    min-height: 320px;
    padding: 18px;
  }

  .virtual-tour-placeholder span {
    width: 92px;
    height: 92px;
    font-size: 24px;
  }

  .virtual-tour-placeholder strong {
    font-size: 29px;
  }

  .structure-mini-gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 4px 16px;
    scroll-snap-type: x mandatory;
  }

  .structure-mini-card {
    min-width: 72%;
    height: 178px;
    scroll-snap-align: start;
  }
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(4, 28, 31, .84);
  backdrop-filter: blur(8px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox__dialog {
  width: min(100%, 1120px);
  max-height: min(86vh, 780px);
  position: relative;
  display: grid;
  gap: 12px;
}

.image-lightbox__image {
  width: 100%;
  max-height: calc(86vh - 48px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
  background: rgba(255,255,255,.06);
}

.image-lightbox__caption {
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.image-lightbox__caption:empty {
  display: none;
}

.image-lightbox__close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}

@media (max-width: 767px) {
  .image-lightbox {
    padding: 18px;
  }

  .image-lightbox__close {
    top: -12px;
    right: -8px;
  }
}

/* Specialties page */
.specialties-page .nav-active {
  color: var(--color-primary);
  position: relative;
}

.specialties-page .nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--color-primary);
}

.specialties-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(0,93,87,.04), transparent 32%),
    #fff;
}

.specialties-hero__grid {
  height: 450px;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: stretch;
}

.specialties-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 58px 34px 0;
  position: relative;
  z-index: 2;
}

.specialties-hero__copy h1 {
  max-width: 540px;
  font-size: clamp(40px, 3.55vw, 56px);
  line-height: .94;
}

.specialties-hero__copy h1 span {
  color: var(--color-primary);
}

.specialties-hero__copy .title-line {
  margin: 22px 0 0;
}

.specialties-hero__copy p:not(.eyebrow) {
  max-width: 520px;
  margin: 22px 0 0;
  color: #405961;
  font-size: 15px;
  line-height: 1.72;
}

.specialties-hero__media {
  position: relative;
  height: 450px;
  margin-right: calc((100vw - min(calc(100vw - 48px), var(--container-width))) / -2);
  overflow: hidden;
}

.specialties-hero__media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.86) 35%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.specialties-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,36,44,.03), rgba(8,36,44,.16));
  pointer-events: none;
}

.specialties-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  object-position: center;
  background: #eef8f7;
  filter: saturate(.98) contrast(1.02);
}

.specialties-list {
  background:
    radial-gradient(circle at 50% 0%, rgba(0,93,87,.045), transparent 34%),
    #fbfdfb;
}

.specialties-list__head {
  max-width: 760px;
  margin-inline: auto;
}

.specialties-list__head p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px auto 0;
  color: #465d64;
  font-size: 15px;
  line-height: 1.8;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.specialty-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border: 1px solid rgba(0,93,87,.09);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(16,43,53,.08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.specialty-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,93,87,.16);
  box-shadow: 0 26px 72px rgba(16,43,53,.13);
}

.specialty-card__media {
  height: 185px;
  overflow: hidden;
  background: #eaf3f2;
}

.specialty-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .34s ease;
}

.specialty-card:hover .specialty-card__media img {
  transform: scale(1.035);
}

.specialty-card__icon {
  position: absolute;
  top: 159px;
  left: 18px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,93,87,.13);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16,43,53,.11);
  transition: transform .28s ease;
}

.specialty-card:hover .specialty-card__icon {
  transform: translateY(-2px);
}

.specialty-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.specialty-card__body {
  padding: 42px 16px 22px;
}

.specialty-card__body h3 {
  font-size: 25px;
  line-height: 1;
  margin-bottom: 12px;
}

.specialty-card__body p {
  margin: 0;
  color: #425960;
  font-size: 11.5px;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .specialties-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .specialty-card {
    min-height: 440px;
  }

  .specialty-card__media {
    height: 240px;
  }

  .specialty-card__icon {
    top: 212px;
    left: 24px;
    width: 56px;
    height: 56px;
  }

  .specialty-card__body {
    padding: 46px 22px 26px;
  }

  .specialty-card__body h3 {
    font-size: 30px;
  }

  .specialty-card__body p {
    font-size: 13px;
  }
}

@media (max-width: 960px) {
  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .specialty-card__media {
    height: 250px;
  }

  .specialty-card__icon {
    top: 222px;
  }

  .specialties-hero__grid {
    height: auto;
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .specialties-hero__copy {
    padding: 0 0 42px;
  }

  .specialties-hero__media {
    min-height: 360px;
    margin-inline: calc(var(--page-padding) * -1);
  }

  .specialties-hero__media::before {
    display: none;
  }

  .specialties-hero__media img {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .specialties-page .nav-active::after {
    display: none;
  }

  .specialties-hero__copy {
    text-align: center;
  }

  .specialties-hero__copy h1 {
    font-size: clamp(42px, 11vw, 56px);
  }

  .specialties-hero__copy .title-line {
    margin-inline: auto;
  }

  .specialties-hero__copy p:not(.eyebrow) {
    font-size: 14px;
  }

  .specialties-hero__media,
  .specialties-hero__media img {
    min-height: 220px;
  }

  .specialties-hero__media {
    height: 220px;
  }

  .specialties-hero__media img {
    height: 220px;
    object-position: 70% center;
  }

  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .specialty-card {
    min-height: 0;
  }

  .specialty-card__media {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .specialty-card__icon {
    top: calc(((100vw - 54px) / 2) - 23px);
    left: 14px;
    width: 46px;
    height: 46px;
  }

  .specialty-card__icon img {
    width: 25px;
    height: 25px;
  }

  .specialty-card__body {
    padding: 38px 14px 20px;
  }

  .specialty-card__body h3 {
    font-size: clamp(20px, 5vw, 26px);
    margin-bottom: 11px;
  }

  .specialty-card__body p {
    font-size: 11px;
    line-height: 1.55;
  }
}

/* About page */
.about-page .nav-active {
  color: var(--color-primary);
  position: relative;
}

.about-page .nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--color-primary);
}

.about-hero {
  overflow: hidden;
  background: #fff;
}

.about-hero__grid {
  height: 600px;
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: stretch;
}

.about-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 58px 36px 0;
  position: relative;
  z-index: 2;
}

.about-hero__copy h1 {
  max-width: 600px;
  font-size: clamp(44px, 3.7vw, 58px);
  line-height: .98;
}

.about-hero__copy h1 span {
  color: var(--color-primary);
}

.about-hero__copy .title-line {
  margin: 22px 0 0;
}

.about-hero__copy p:not(.eyebrow) {
  max-width: 540px;
  margin: 22px 0 0;
  color: #405961;
  font-size: 14px;
  line-height: 1.78;
}

.about-hero__signature {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  color: #536970;
  font-size: 12px;
  line-height: 1.45;
}

.about-hero__signature strong {
  color: var(--color-primary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.about-hero__media {
  position: relative;
  height: 600px;
  margin-right: calc((100vw - min(calc(100vw - 48px), var(--container-width))) / -2);
  overflow: hidden;
}

.about-hero__media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 44%;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.86) 35%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  object-position: center;
}

.about-care {
  background:
    radial-gradient(circle at 50% 0%, rgba(0,93,87,.045), transparent 34%),
    #fbfdfb;
}

.about-care__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 10px;
}

.about-care__item {
  text-align: center;
  padding: 8px 24px;
  color: var(--color-text);
}

.about-care__item + .about-care__item {
  border-left: 1px solid rgba(0,93,87,.08);
}

.about-care__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  color: var(--color-primary);
  transition: transform .28s ease, color .28s ease;
}

.about-care__item:hover .about-care__icon {
  transform: translateY(-3px);
  color: var(--color-primary-light);
}

.about-care__icon img {
  width: 56px;
  height: 56px;
}

.about-care__item h3 {
  min-height: 52px;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 14px;
}

.about-care__item p {
  margin: 0;
  color: #5c6f75;
  font-size: 13px;
  line-height: 1.75;
}

.about-education {
  background: #fbfdfb;
  padding-top: 24px;
}

.about-education__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 72px;
  padding: 66px 72px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 40%, rgba(155,226,216,.12), transparent 26%),
    linear-gradient(135deg, #07313a, #005d57);
  box-shadow: 0 28px 80px rgba(16,43,53,.16);
}

.about-education__intro {
  position: relative;
  z-index: 2;
}

.about-education__intro .eyebrow {
  color: rgba(255,255,255,.72);
}

.about-education__intro h2 {
  color: #fff;
  font-size: clamp(38px, 3.5vw, 56px);
  line-height: 1;
}

.about-education__intro .title-line {
  margin: 24px 0 0;
  background: rgba(255,255,255,.72);
}

.about-education__intro p:not(.eyebrow) {
  max-width: 430px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.85;
}

.about-timeline {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  padding-left: 38px;
}

.about-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: rgba(255,255,255,.42);
}

.about-timeline article {
  position: relative;
}

.about-timeline article::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255,255,255,.86);
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255,255,255,.12);
}

.about-timeline h3 {
  color: #fff;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 6px;
}

.about-timeline p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  line-height: 1.65;
}

.about-education__decor {
  position: absolute;
  right: 34px;
  bottom: 24px;
  width: 260px;
  opacity: .12;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.about-commitment {
  background: #fbfdfb;
}

.about-commitment__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: center;
}

.about-commitment__media {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(16,43,53,.14);
}

.about-commitment__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.78 / 1;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.about-commitment__media:hover img {
  transform: scale(1.02);
}

.about-commitment__copy h2 {
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1;
}

.about-commitment__copy .title-line {
  margin: 24px 0 0;
}

.about-commitment__copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 26px 0 0;
  color: #405961;
  font-size: 15px;
  line-height: 1.85;
}

@media (max-width: 1180px) {
  .about-care__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-care__item + .about-care__item {
    border-left: 0;
  }

  .about-care__item:nth-child(even) {
    border-left: 1px solid rgba(0,93,87,.08);
  }
}

@media (max-width: 960px) {
  .about-hero__grid {
    height: auto;
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .about-hero__copy {
    padding: 0 0 42px;
  }

  .about-hero__media {
    height: auto;
    min-height: 380px;
    margin-inline: calc(var(--page-padding) * -1);
  }

  .about-hero__media::before {
    display: none;
  }

  .about-hero__media img {
    min-height: 380px;
    object-position: center top;
  }

  .about-education__panel,
  .about-commitment__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-education__panel {
    padding: 50px 36px;
  }
}

@media (max-width: 767px) {
  .about-page .nav-active::after {
    display: none;
  }

  .about-hero__copy {
    text-align: center;
  }

  .about-hero__copy h1 {
    font-size: clamp(42px, 11vw, 56px);
  }

  .about-hero__copy .title-line {
    margin-inline: auto;
  }

  .about-hero__signature {
    justify-items: center;
  }

  .about-hero__media,
  .about-hero__media img {
    min-height: 300px;
  }

  .about-care__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-care__item,
  .about-care__item:nth-child(even) {
    border-left: 0;
    padding-inline: 8px;
  }

  .about-care__item h3 {
    min-height: 0;
  }

  .about-education__panel {
    padding: 40px 24px;
  }

  .about-timeline {
    padding-left: 34px;
  }

  .about-education__decor {
    width: 190px;
    opacity: .08;
  }

  .about-commitment__copy {
    text-align: center;
  }

  .about-commitment__copy .title-line {
    margin-inline: auto;
  }

  .about-commitment__copy p:not(.eyebrow) {
    margin-inline: auto;
  }

  .about-commitment__media img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 767px) {
  .about {
    background: transparent;
  }

  .about-copy {
    margin-bottom: 0;
    padding-bottom: 62px;
    overflow: visible;
    background:
      radial-gradient(circle at 12% 18%, rgba(255,255,255,.08), transparent 30%),
      linear-gradient(180deg, #004c47 0%, #07313a 100%);
  }

  .about-copy::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -44px;
    height: 44px;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(7,49,58,.9) 0%, rgba(7,49,58,.38) 45%, rgba(7,49,58,0) 100%);
  }

  .about .about-image {
    height: clamp(240px, 70vw, 300px);
    min-height: 0;
    line-height: 0;
    background: transparent;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
  }

  .about .about-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 62% 28%;
  }

  .about .about-image::after {
    display: none;
  }
}

.insurance:not(.insurance-catalog) .insurance-carousel {
  overflow: hidden;
}

.insurance:not(.insurance-catalog) .insurance-list--carousel {
  display: flex;
  grid-template-columns: none;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 18px;
  max-width: none;
  width: 100%;
  margin: 0;
}

.insurance:not(.insurance-catalog) .insurance-list--carousel .insurance-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
}

@media (max-width: 767px) {
  .insurance:not(.insurance-catalog) .insurance-list--carousel {
    gap: 12px;
  }

  .insurance:not(.insurance-catalog) .insurance-list--carousel .insurance-card {
    flex-basis: calc((100% - 12px) / 2);
  }
}

/* Shared regenerative medicine and pediatric orthopedics sections */
.care-section.section {
  padding: 48px 0;
}

.care-section--regenerative {
  background:
    radial-gradient(circle at 88% 12%, rgba(111, 191, 184, .1), transparent 28%),
    #f8fbfa;
}

.care-section--pediatric {
  background:
    radial-gradient(circle at 12% 80%, rgba(211, 181, 135, .08), transparent 24%),
    #fff;
}

.care-section__panel {
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  min-height: 720px;
  overflow: hidden;
  border: 1px solid rgba(16, 43, 53, .11);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 28px 76px rgba(16, 43, 53, .11);
}

.care-section__content {
  position: relative;
  z-index: 2;
  padding: clamp(46px, 4.2vw, 68px);
}

.care-section__content .eyebrow {
  margin-bottom: 18px;
  letter-spacing: .12em;
}

.care-section__content h2 {
  max-width: 700px;
  font-size: clamp(42px, 3.55vw, 58px);
  line-height: .98;
}

.care-section__content h2 span {
  color: var(--color-primary);
}

.care-section__lead {
  max-width: 680px;
  margin: 24px 0 30px;
  color: #4b6067;
  font-size: 14px;
  line-height: 1.8;
}

.care-section__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.care-card {
  min-height: 126px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  border: 1px solid rgba(0, 93, 87, .1);
  border-radius: 13px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 13px 30px rgba(16, 43, 53, .07);
}

.care-card--wide {
  grid-column: 1 / -1;
  min-height: 104px;
}

.care-card--minimal {
  min-height: 142px;
  border-color: rgba(0, 93, 87, .08);
  background: rgba(251, 253, 251, .76);
  box-shadow: 0 10px 26px rgba(16, 43, 53, .045);
}

.care-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  overflow: hidden;
  border: 1px solid rgba(0, 93, 87, .1);
  border-radius: 50%;
  background: #f2f8f6;
}

.care-card__icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.care-card h3 {
  margin: 1px 0 7px;
  font-family: var(--font-body);
  color: var(--color-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.care-card p {
  margin: 0;
  color: #536970;
  font-size: 11.5px;
  line-height: 1.65;
}

.care-section__media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #edf7f5;
}

.care-section__media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 23%;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.care-section__media > img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: 72% center;
}

.care-section--pediatric .care-section__panel {
  background: linear-gradient(120deg, #fff 0%, #fff 54%, #fbf7f0 100%);
}

.care-section--pediatric .care-section__media {
  background: #fbf6ef;
}

@media (max-width: 1180px) {
  .care-section__panel {
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  }

  .care-section__content {
    padding: 44px 36px;
  }

  .care-section__content h2 {
    font-size: clamp(39px, 4vw, 50px);
  }

  .care-card {
    padding: 16px;
  }
}

@media (max-width: 960px) {
  .care-section.section {
    padding: 38px 0;
  }

  .care-section__panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .care-section__content {
    padding: 48px 42px;
  }

  .care-section__media {
    min-height: 430px;
  }

  .care-section__media::before {
    inset: 0 0 auto;
    width: 100%;
    height: 20%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, 0));
  }

  .care-section__media > img {
    min-height: 430px;
    object-position: 70% center;
  }
}

@media (max-width: 767px) {
  .care-section.section {
    padding: 28px 0;
  }

  .care-section .wide-container {
    width: min(calc(100% - 28px), var(--container-width));
  }

  .care-section__panel {
    border-radius: 14px;
  }

  .care-section__content {
    padding: 38px 22px 34px;
  }

  .care-section__content .eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: .1em;
  }

  .care-section__content h2 {
    font-size: clamp(36px, 10vw, 46px);
    line-height: .98;
  }

  .care-section__lead {
    margin: 20px 0 24px;
    font-size: 13px;
    line-height: 1.75;
  }

  .care-section__cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .care-card,
  .care-card--minimal,
  .care-card--wide {
    grid-column: auto;
    min-height: 0;
    padding: 16px;
  }

  .care-card__icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .care-card__icon img {
    width: 32px;
    height: 32px;
  }

  .care-section__media,
  .care-section__media > img {
    min-height: 300px;
  }

  .care-section__media > img {
    object-position: 68% center;
  }
}

@media (max-width: 430px) {
  .care-section__content h2 {
    font-size: 36px;
  }

  .care-card {
    gap: 12px;
  }

  .care-card h3 {
    font-size: 13px;
  }

  .care-card p {
    font-size: 11px;
  }

  .care-section__media,
  .care-section__media > img {
    min-height: 250px;
  }
}

/* Compact side-by-side presentation used only on the homepage */
.specialty-sections--compact {
  width: min(calc(100% - 48px), var(--wide-container));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  margin-inline: auto;
  padding: 52px 0;
}

.specialty-sections--compact .care-section.section {
  min-width: 0;
  padding: 0;
  background: transparent;
}

.specialty-sections--compact .wide-container {
  width: 100%;
  height: 100%;
}

.specialty-sections--compact .care-section__panel {
  height: 100%;
  min-height: 0;
  grid-template-columns: 1fr;
  grid-template-rows: 220px auto;
  grid-template-areas:
    "media"
    "content";
}

.specialty-sections--compact .care-section__content {
  grid-area: content;
  padding: 32px 30px 28px;
}

.specialty-sections--compact .care-section__content .eyebrow {
  margin-bottom: 12px;
  font-size: 10px;
}

.specialty-sections--compact .care-section__content h2 {
  font-size: clamp(35px, 3vw, 43px);
  line-height: 1;
}

.specialty-sections--compact .care-section__lead {
  margin: 18px 0 24px;
  font-size: 12.5px;
  line-height: 1.7;
}

.specialty-sections--compact .care-section__cards {
  gap: 10px;
}

.specialty-sections--compact .care-card,
.specialty-sections--compact .care-card--minimal {
  min-height: 82px;
  align-items: center;
  gap: 11px;
  padding: 12px;
}

.specialty-sections--compact .care-card--wide {
  min-height: 82px;
}

.specialty-sections--compact .care-card__icon {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.specialty-sections--compact .care-card__icon img {
  width: 31px;
  height: 31px;
}

.specialty-sections--compact .care-card h3 {
  font-size: 12px;
}

.specialty-sections--compact .care-card p {
  font-size: 10.5px;
  line-height: 1.55;
}

.specialty-sections--compact .care-section__media {
  grid-area: media;
  min-height: 220px;
  height: 220px;
}

.specialty-sections--compact .care-section__media::before {
  inset: auto 0 0;
  width: 100%;
  height: 28%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .96));
}

.specialty-sections--compact .care-section__media > img {
  min-height: 220px;
  height: 220px;
  object-position: 70% center;
}

@media (min-width: 961px) {
  .specialty-sections--compact .care-section__cards--regenerative {
    grid-template-rows: repeat(3, minmax(82px, auto));
  }

  .specialty-sections--compact .care-section--pediatric .care-section__cards {
    grid-template-rows: repeat(2, minmax(128px, auto));
  }

  .specialty-sections--compact .care-section--pediatric .care-card--minimal {
    min-height: 128px;
  }
}

@media (max-width: 960px) {
  .specialty-sections--compact {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0;
  }

  .specialty-sections--compact .care-section__content {
    padding: 38px 34px 40px;
  }
}

@media (max-width: 767px) {
  .specialty-sections--compact {
    width: min(calc(100% - 28px), var(--wide-container));
    padding: 36px 0;
  }

  .specialty-sections--compact .care-section__panel {
    grid-template-rows: 210px auto;
  }

  .specialty-sections--compact .care-section__media,
  .specialty-sections--compact .care-section__media > img {
    min-height: 210px;
    height: 210px;
  }

  .specialty-sections--compact .care-section__content {
    padding: 32px 22px 34px;
  }

  .specialty-sections--compact .care-section__content h2 {
    font-size: 36px;
  }

  .specialty-sections--compact .care-section__cards {
    grid-template-columns: 1fr;
  }
}

/* Detailed knee surgery section */
.specialty-card__link,
.treatment-card__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
}

.specialty-card__link {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(0, 93, 87, .28);
}

.treatment-card__link {
  margin-left: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(0, 93, 87, .28);
}

.specialty-card__link span,
.treatment-card__link span {
  transition: transform .2s ease;
}

.specialty-card__link:hover span,
.specialty-card__link:focus-visible span,
.treatment-card__link:hover span,
.treatment-card__link:focus-visible span {
  transform: translateX(3px);
}

.surgery-section {
  scroll-margin-top: 96px;
  background:
    radial-gradient(circle at 8% 12%, rgba(111, 191, 184, .11), transparent 28%),
    #f4f9f8;
}

.surgery-section__panel {
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(0, 44%);
  overflow: hidden;
  border: 1px solid rgba(16, 43, 53, .11);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 76px rgba(16, 43, 53, .11);
}

.surgery-section__content {
  padding: clamp(46px, 4.2vw, 68px);
}

.surgery-section__content .eyebrow {
  margin-bottom: 18px;
}

.surgery-section__content h2 {
  max-width: 650px;
  font-size: clamp(40px, 3.35vw, 56px);
  line-height: .98;
}

.surgery-section__content h2 span {
  color: var(--color-primary);
}

.surgery-section__lead {
  max-width: 660px;
  margin: 24px 0 30px;
  color: #4b6067;
  font-size: 14px;
  line-height: 1.8;
}

.surgery-groups {
  display: grid;
  gap: 13px;
}

.surgery-group {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(0, 93, 87, .1);
  border-radius: 13px;
  background: linear-gradient(135deg, #fff 0%, #f8fbfa 100%);
  box-shadow: 0 12px 28px rgba(16, 43, 53, .055);
}

.surgery-group__number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 93, 87, .13);
  border-radius: 50%;
  background: #edf7f5;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.surgery-group h3 {
  margin: 1px 0 10px;
  font-family: var(--font-body);
  color: var(--color-heading);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.3;
}

.surgery-group ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.surgery-group li {
  position: relative;
  padding-left: 15px;
  color: #536970;
  font-size: 12px;
  line-height: 1.55;
}

.surgery-group li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
}

.surgery-section__media {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 3.3vw, 52px);
  background:
    radial-gradient(circle at 88% 8%, rgba(0, 93, 87, .12), transparent 27%),
    radial-gradient(circle at 8% 92%, rgba(111, 191, 184, .16), transparent 26%),
    linear-gradient(145deg, #edf7f4 0%, #dfeeea 100%);
}

.surgery-section__media::before {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .56);
  border-radius: 26px;
  pointer-events: none;
}

.surgery-media-shell {
  position: relative;
  width: min(100%, 500px);
  margin-inline: auto;
  padding: clamp(20px, 2vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(0, 93, 87, .12);
  border-radius: 24px;
  outline: none;
  background: rgba(255, 255, 255, .88);
  box-shadow:
    0 30px 70px rgba(16, 43, 53, .14),
    inset 0 1px 0 rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
}

.surgery-media-shell::before {
  content: "";
  position: absolute;
  inset: 0 24% auto;
  height: 3px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #66b5ae, var(--color-primary));
}

.surgery-media-shell:focus-visible {
  box-shadow:
    0 0 0 3px rgba(0, 93, 87, .17),
    0 30px 70px rgba(16, 43, 53, .14);
}

.surgery-section__media-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.surgery-section__media-head .eyebrow {
  margin-bottom: 7px;
  color: var(--color-primary);
}

.surgery-section__media-head h3 {
  margin: 0;
  color: var(--color-heading);
  font-size: clamp(27px, 2vw, 34px);
  line-height: 1.05;
}

.surgery-gallery {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
}

.surgery-gallery__viewport {
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(16, 43, 53, .1);
  border-radius: 18px;
  background: #082e34;
  box-shadow:
    0 22px 48px rgba(16, 43, 53, .2),
    0 0 0 5px rgba(255, 255, 255, .7);
}

.surgery-gallery__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(.985);
  transition: opacity .34s ease, transform .34s ease, visibility .34s;
  pointer-events: none;
}

.surgery-gallery__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
}

.surgery-gallery__slide img,
.surgery-gallery__slide video {
  width: 100%;
  height: 100%;
  display: block;
}

.surgery-gallery__slide img {
  object-fit: cover;
}

.surgery-gallery__slide video {
  background: #082e34;
  object-fit: contain;
}

.surgery-gallery__slide figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 42px 16px 15px;
  background: linear-gradient(180deg, transparent, rgba(3, 28, 33, .86));
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}

.surgery-gallery__slide--video figcaption {
  inset: 0 0 auto;
  padding: 15px 16px 42px;
  background: linear-gradient(180deg, rgba(3, 28, 33, .84), transparent);
}

.surgery-gallery__slide figcaption span {
  display: inline-flex;
  margin-right: 7px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}

.surgery-gallery__arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(0, 93, 87, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--color-primary);
  box-shadow: 0 10px 24px rgba(16, 43, 53, .11);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.surgery-gallery__arrow:hover,
.surgery-gallery__arrow:focus-visible {
  transform: translateY(-2px);
  outline: none;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 93, 87, .22);
}

.surgery-gallery__arrow span {
  font-size: 19px;
  line-height: 1;
}

.surgery-gallery__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
}

.surgery-gallery__status {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.surgery-gallery__status span {
  color: #64787d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.surgery-gallery__status strong {
  color: var(--color-heading);
  font-size: 12px;
  letter-spacing: .08em;
}

.surgery-gallery__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.surgery-gallery__dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(0, 93, 87, .2);
  cursor: pointer;
  transition: width .22s ease, background .22s ease;
}

.surgery-gallery__dots button.is-active {
  width: 24px;
  background: var(--color-primary);
}

.surgery-gallery__dots button:focus-visible {
  outline: 2px solid rgba(0, 93, 87, .35);
  outline-offset: 3px;
}

.surgery-section__note {
  margin: 15px 0 0;
  color: #667a7f;
  font-size: 10.5px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .surgery-section__panel {
    grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  }

  .surgery-section__content {
    padding: 44px 36px;
  }

  .surgery-section__media {
    padding: 34px 28px;
  }
}

@media (max-width: 960px) {
  .surgery-section__panel {
    grid-template-columns: 1fr;
  }

  .surgery-section__content {
    padding: 48px 42px;
  }

  .surgery-section__media {
    padding: 44px;
  }
}

@media (max-width: 767px) {
  .surgery-section.section {
    padding: 28px 0;
  }

  .surgery-section .wide-container {
    width: min(calc(100% - 28px), var(--container-width));
  }

  .surgery-section__panel {
    border-radius: 14px;
  }

  .surgery-section__content {
    padding: 38px 22px 34px;
  }

  .surgery-section__content h2 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .surgery-section__lead {
    margin: 20px 0 24px;
    font-size: 13px;
    line-height: 1.75;
  }

  .surgery-group {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    padding: 16px;
  }

  .surgery-group__number {
    width: 42px;
    height: 42px;
  }

  .surgery-group h3 {
    font-size: 15px;
  }

  .surgery-section__media {
    padding: 30px 16px;
  }

  .surgery-section__media::before {
    inset: 12px;
    border-radius: 20px;
  }

  .surgery-media-shell {
    padding: 20px 18px;
    border-radius: 19px;
  }

  .surgery-section__media-head {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .surgery-section__media-head h3 {
    font-size: 27px;
  }

  .surgery-gallery {
    position: relative;
    display: block;
  }

  .surgery-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 39px;
    height: 39px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .9);
  }

  .surgery-gallery__arrow:hover,
  .surgery-gallery__arrow:focus-visible {
    transform: translateY(calc(-50% - 2px));
  }

  .surgery-gallery__arrow--prev {
    left: 10px;
  }

  .surgery-gallery__arrow--next {
    right: 10px;
  }

  .surgery-gallery__slide figcaption {
    padding-inline: 14px;
    font-size: 10px;
  }

  .surgery-gallery__slide--video figcaption {
    padding: 14px 14px 38px;
  }

  .treatment-card__link {
    margin-left: 18px;
  }
}

/* Regenerative medicine gallery shown only on the specialties page */
.care-section--detailed .care-section__media {
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 2.6vw, 42px);
}

.care-section--detailed .care-section__media > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  filter: saturate(.92) contrast(.98);
}

.care-section--detailed .care-section__media::before {
  inset: 0;
  width: 100%;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .1) 34%, rgba(0, 63, 61, .11)),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(16, 43, 53, .1));
}

.regenerative-media-shell {
  z-index: 2;
  width: min(100%, 500px);
  padding: clamp(20px, 1.8vw, 26px);
  border-color: rgba(0, 93, 87, .16);
  background: rgba(255, 255, 255, .9);
  box-shadow:
    0 32px 80px rgba(16, 43, 53, .2),
    inset 0 1px 0 rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

.regenerative-media-head {
  margin-bottom: 17px;
}

.regenerative-media-head h3 {
  font-size: clamp(25px, 1.8vw, 31px);
}

.regenerative-gallery .surgery-gallery__viewport {
  box-shadow:
    0 20px 44px rgba(16, 43, 53, .19),
    0 0 0 4px rgba(255, 255, 255, .76);
}

@media (max-width: 960px) {
  .care-section--detailed .care-section__media {
    min-height: 0;
    padding: 44px;
  }

  .care-section--detailed .care-section__media > img {
    object-position: 68% center;
  }
}

@media (max-width: 767px) {
  .care-section--detailed .care-section__media {
    min-height: 0;
    padding: 30px 16px;
  }

  .regenerative-media-shell {
    padding: 20px 18px;
    border-radius: 19px;
  }

  .regenerative-media-head {
    align-items: flex-start;
  }

  .regenerative-media-head h3 {
    font-size: 26px;
  }
}
