.fit-home-why {
  width: min(100%, 1360px);
  padding: clamp(48px, 7vw, 110px) clamp(20px, 5vw, 60px);
  color: #0F172A;
}

.fit-home-why header {
  text-align: center;
  margin: 0 auto clamp(32px, 4vw, 60px);
}

.fit-home-why :is(h2, h3) {
  font-family: "Hedvig Letters Serif", Georgia, serif;
  font-weight: 400;
  margin: 0;
}

.fit-home-why h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.1;
}

.fit-home-why p {
  margin: 10px 0 0;
  color: #475569;
  font: 400 16px/1.5 "General Sans", Arial, sans-serif;
}

.fit-home-why header p {
  max-width: 62ch;
  margin: 16px auto 0;
  text-wrap: balance;
}

.fit-why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}

.fit-why-photo {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 9;
  object-fit: cover;
  object-position: 43% center;
  border-radius: 999px;
  grid-area: 1 / 2 / 3 / 3;
}

.fit-why-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  align-self: stretch;
  align-content: center;
}

.fit-why-card h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
}

.fit-why-card :first-child { min-width: 0; }
.fit-why-card .fit-why-badge { order: -1; }
.fit-why-card-1, .fit-why-card-3 {
  grid-template-columns: minmax(0, 1fr) auto;
  text-align: right;
}
.fit-why-card-1 .fit-why-badge, .fit-why-card-3 .fit-why-badge { order: 0; }

.fit-why-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fffaf4;
}

/* Match the Why section pictograms to the service-directory icons. */
.fit-why-badge img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 24px;
}

@media (max-width: 900px) {
  .fit-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr 1fr; }
  .fit-why-photo { grid-area: 1 / 1 / 2 / -1; max-width: 290px; justify-self: center; }
  .fit-why-card-1, .fit-why-card-3 { grid-template-columns: auto minmax(0, 1fr); text-align: left; }
  .fit-why-card-1 .fit-why-badge, .fit-why-card-3 .fit-why-badge { order: -1; }
}

@media (max-width: 540px) {
  .fit-why-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .fit-why-photo { max-width: min(75%, 250px); }
}

.fit-why-photo-main, .fit-why-photo-alt { transition: opacity .35s ease; }
.fit-why-photo-alt { opacity: 0; pointer-events: none; }
@media (hover: hover) {
  .fit-why-photo-main:hover { opacity: 0; }
  .fit-why-photo-main:hover + .fit-why-photo-alt { opacity: 1; }
}


/* Tighten the main treatment photo crop and move the face left within the oval. */
.fit-why-photo-main {
  object-view-box: inset(0 0 0 28%);
}

/* Remove the Framer attribution and template promo badges from this preview. */
#__framer-badge-container,
.framer-xxhg1r-container {
  display: none !important;
  visibility: hidden !important;
}
