:root {
  --teal-900: #064f4f;
  --teal-800: #087676;
  --teal-700: #009696;
  --teal-500: #00aabe;
  --teal-100: #e7f8f7;
  --orange: #fa7800;
  --orange-dark: #d95f00;
  --ink: #172426;
  --muted: #647173;
  --line: #dbe8e8;
  --paper: #ffffff;
  --soft: #f5fbfa;
  --warm: #fff7ef;
  --shadow: 0 24px 70px rgba(6, 79, 79, 0.12);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 170, 190, 0.12), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
  font-family: var(--sans);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(0, 150, 150, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 150, 150, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(219, 232, 232, 0.9);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: 156px;
  height: 58px;
  align-items: center;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: #405052;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--teal-800);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.header-cta {
  padding: 0 24px;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 14px 28px rgba(250, 120, 0, 0.18);
}

.button {
  padding: 0 26px;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 18px 36px rgba(250, 120, 0, 0.22);
}

.button--primary:hover,
.header-cta:hover {
  background: var(--orange-dark);
}

.button--secondary {
  border: 1px solid rgba(0, 150, 150, 0.24);
  background: #fff;
  color: var(--teal-800);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 70px max(24px, calc((100vw - 1180px) / 2));
}

.hero__copy {
  max-width: 680px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  color: var(--teal-900);
  font-size: clamp(48px, 6.6vw, 88px);
  line-height: 0.92;
}

.hero__copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 24px;
  color: #435255;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__media {
  position: relative;
  min-height: 610px;
}

.portrait-card {
  position: absolute;
  inset: 0 0 0 48px;
  overflow: hidden;
  border-radius: 38px;
  background: var(--teal-100);
  box-shadow: var(--shadow);
}

.portrait-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 79, 79, 0.18));
  content: "";
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 20%;
}

.trust-card {
  position: absolute;
  left: 0;
  bottom: 56px;
  width: min(310px, 75%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.trust-card strong {
  display: block;
  color: var(--teal-900);
  font-size: 18px;
}

.trust-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 96px max(24px, calc((100vw - 1180px) / 2));
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 max(24px, calc((100vw - 1180px) / 2));
  padding: 18px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(6, 79, 79, 0.96), rgba(0, 150, 150, 0.84)),
    var(--teal-900);
  box-shadow: var(--shadow);
}

.intro-strip article {
  min-height: 150px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  color: #fff;
}

.intro-strip strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
}

.intro-strip span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 78px;
  align-items: start;
  background: var(--paper);
}

.split h2,
.section-heading h2,
.assessment h2,
.location h2,
.proof h2 {
  color: var(--teal-900);
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 0.98;
}

.copy-stack {
  display: grid;
  gap: 22px;
}

.copy-stack p,
.assessment p,
.proof__copy p,
.location__details p {
  color: #455356;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
}

.team {
  background: var(--soft);
}

.section-heading {
  display: grid;
  max-width: 760px;
  gap: 4px;
}

.section-heading--center {
  margin: 0 auto;
  text-align: center;
}

.team-carousel {
  position: relative;
  margin-top: 42px;
}

.team-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 4px 4px 24px;
  scroll-padding-left: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.team-grid::-webkit-scrollbar {
  display: none;
}

.member {
  flex: 0 0 min(82vw, 430px);
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(6, 79, 79, 0.08);
  scroll-snap-align: start;
}

.member--featured {
  flex-basis: min(82vw, 430px);
}

.member--featured img,
.member--photo img,
.member--wide img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
}

.member--featured div,
.member--placeholder,
.member--photo div {
  padding: 34px;
}

.member span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member h3 {
  margin-top: 14px;
  color: var(--teal-900);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.member p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.65;
}

.member--placeholder {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(0, 150, 150, 0.12), transparent),
    #fff;
}

.member--featured img {
  object-position: 52% 15%;
}

.team-grid .member--photo:nth-child(2) img {
  object-position: 50% 22%;
}

.member--wide {
  flex-basis: min(82vw, 430px);
}

.carousel-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(0, 150, 150, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-900);
  cursor: pointer;
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 16px 34px rgba(6, 79, 79, 0.16);
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.carousel-button:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.carousel-button--prev {
  left: -12px;
}

.carousel-button--next {
  right: -12px;
}

.avatar-placeholder {
  display: grid;
  width: 84px;
  height: 84px;
  margin-bottom: auto;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-800);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 800;
}

.treatments {
  background: #fff;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.treatment-grid article {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f8fdfd);
}

.treatment-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--warm);
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.treatment-grid h3 {
  margin-top: 28px;
  color: var(--teal-900);
  font-size: 20px;
  line-height: 1.15;
}

.treatment-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.clinical-results {
  margin-top: 72px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(0, 150, 150, 0.08), transparent 38%),
    #fff;
  box-shadow: 0 16px 42px rgba(6, 79, 79, 0.06);
}

.clinical-results__heading {
  display: grid;
  max-width: 760px;
  gap: 12px;
}

.clinical-results__heading .eyebrow {
  margin-bottom: 0;
}

.clinical-results__heading h3 {
  color: var(--teal-900);
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1;
}

.clinical-results__heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}

.clinical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.clinical-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}

.clinical-grid img {
  width: 100%;
  height: 255px;
  object-fit: cover;
}

.clinical-grid figure:nth-child(2) img,
.clinical-grid figure:nth-child(3) img {
  object-position: center 46%;
}

.clinical-grid figcaption {
  padding: 16px 18px 18px;
  color: var(--teal-900);
  font-size: 14px;
  font-weight: 900;
}

.proof {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(6, 79, 79, 0.96), rgba(0, 150, 150, 0.86)),
    var(--teal-900);
  color: #fff;
}

.proof h2,
.proof .eyebrow,
.proof__copy p {
  color: #fff;
}

.proof__copy p {
  opacity: 0.82;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 6px;
}

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

.review-card {
  display: flex;
  min-height: 254px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.review-card__top {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
}

.review-card__avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-800);
  font-size: 20px;
  font-weight: 900;
}

.review-card:nth-child(2) .review-card__avatar,
.review-card:nth-child(4) .review-card__avatar {
  color: var(--orange);
}

.review-card strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
}

.review-card__top div > span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.stars {
  margin-top: 20px;
  color: #ffb000;
  font-size: 18px;
  letter-spacing: 2px;
}

.review-card p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.assessment {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  background: var(--warm);
}

.assessment div {
  max-width: 760px;
}

.assessment p {
  margin-top: 20px;
}

.location {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  background: #fff;
}

.location__details p {
  margin-top: 20px;
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.map-card {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(0, 150, 150, 0.18);
  border-radius: 32px;
  background: var(--teal-100);
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.map-card a {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(250, 120, 0, 0.24);
}

footer {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: var(--teal-900);
  color: #fff;
}

footer img {
  width: 132px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.16));
}

footer p,
footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

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

  nav {
    display: none;
  }

  .header-cta {
    justify-self: end;
  }

  .hero,
  .split,
  .proof,
  .assessment,
  .location {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
  }

  .hero__media {
    min-height: 620px;
  }

  .portrait-card {
    inset: 0;
  }

  .treatment-grid,
  .intro-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .assessment .button {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 72px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    width: 124px;
    height: 48px;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero__copy > p:not(.eyebrow),
  .copy-stack p,
  .assessment p,
  .proof__copy p,
  .location__details p {
    font-size: 16px;
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
  }

  .hero__actions,
  .location__actions {
    width: 100%;
  }

  .hero__media {
    min-height: 530px;
  }

  .trust-card {
    width: calc(100% - 28px);
    bottom: 18px;
  }

  .intro-strip,
  .treatment-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-right: 18px;
    margin-left: 18px;
    padding: 14px;
    border-radius: 28px;
  }

  .intro-strip article {
    min-height: 126px;
    padding: 26px;
    border-radius: 20px;
  }

  .member,
  .member--featured,
  .member--wide {
    flex-basis: min(86vw, 360px);
  }

  .team-grid {
    padding-bottom: 64px;
  }

  .carousel-button {
    top: auto;
    bottom: -4px;
    width: 44px;
    height: 44px;
    font-size: 32px;
    transform: none;
  }

  .carousel-button:hover {
    transform: none;
  }

  .carousel-button--prev {
    left: 10px;
  }

  .carousel-button--next {
    right: 10px;
  }

  .member--featured img,
  .member--photo img,
  .member--wide img {
    height: 360px;
  }

  .member--featured div,
  .member--placeholder,
  .reviews article,
  .map-card {
    padding: 24px;
  }

  .treatment-grid article {
    min-height: auto;
  }

  .clinical-results {
    margin-top: 46px;
    padding: 24px;
    border-radius: 26px;
  }

  .clinical-grid {
    display: flex;
    gap: 14px;
    margin-right: -24px;
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .clinical-grid figure {
    width: min(78vw, 300px);
    min-width: min(78vw, 300px);
    scroll-snap-align: start;
  }

  .clinical-grid img {
    height: 250px;
  }

  .proof {
    overflow: hidden;
  }

  .reviews {
    display: flex;
    gap: 14px;
    margin-right: -18px;
    margin-left: -18px;
    padding: 0 18px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .review-card {
    width: min(82vw, 340px);
    min-width: min(82vw, 340px);
    scroll-snap-align: start;
  }

  .map-card {
    min-height: 350px;
  }

  .map-card iframe {
    min-height: 350px;
  }

  .map-card a {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  footer {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }
}
