/**
 * Matrix Dental & Skin Lounge — Homepage styles
 * Naming convention: BEM (block__element--modifier).
 * Architecture: tokens → reset → utilities → components → page sections → responsive.
 * To rebrand, edit the variables in :root; avoid scattered hard-coded colors.
 */
:root {
  /* Global type controls: rem-based typography follows this fluid root size across the site. */
  --font-scale: 1;
  --font-size-root-min: 14px;
  --font-size-root-fluid: 1.1vw;
  --font-size-root-max: 16px;
  /* Fluid heading tokens: adjust these values to tune heading hierarchy site-wide. */
  --font-size-heading-xl: clamp(2.1rem, 3.7vw, 3.55rem);
  --font-size-heading-lg: clamp(1.7rem, 2.65vw, 2.55rem);
  --font-size-heading-md: clamp(1.05rem, 1.45vw, 1.2rem);
  --font-size-heading-card: clamp(.95rem, 1.2vw, 1.1rem);
  --color-primary: #5b1166;
  --color-primary-dark: #24212b;
  --color-primary-hover: #5b1166;
  --color-accent: #5b1166;
  --color-text: #28252e;
  --color-muted: #6d6873;
  --color-border: #e4e0e8;
  --color-surface: #ffffff;
  --color-surface-soft: #f5f3f7;
  --color-surface-blue: #f0edf4;
  --font-heading: 'Plus Jakarta Sans', Arial, sans-serif;
  --font-body: 'DM Sans', Arial, sans-serif;
  --container-width: 1600px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-card: 0 16px 40px rgba(7, 59, 90, .08);
  --transition: 220ms ease;
}

/* Base and accessibility */
*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  font-size: clamp(calc(var(--font-size-root-min) * var(--font-scale)),
      calc(var(--font-size-root-fluid) * var(--font-scale)),
      calc(var(--font-size-root-max) * var(--font-scale)));
  scroll-behavior: smooth;
  scroll-padding-top: 105px
}

body {
  margin: 0;
  max-width: 2560px;
  margin-inline: auto;
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65
}

img {
  display: block;
  max-width: 100%
}

iframe,
video {
  max-width: 100%
}

button,
input,
textarea {
  font: inherit
}

button {
  cursor: pointer
}

a {
  color: inherit;
  text-decoration: none
}

a:hover {
  text-decoration: none
}

h1,
h2,
h3,
p {
  margin-top: 0
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.18;
  letter-spacing: -.045em
}

h2 {
  font-size: var(--font-size-heading-lg)
}

h3 {
  font-size: var(--font-size-heading-md)
}

:focus-visible {
  outline: 3px solid #ad78d2;
  outline-offset: 3px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.skip-link {
  position: absolute;
  z-index: 999;
  top: -100px;
  left: 20px;
  background: #fff;
  color: var(--color-primary);
  padding: 12px
}

.skip-link:focus {
  top: 15px
}

.container {
  width: min(calc(100% - 48px), var(--container-width));
  margin-inline: auto
}

.section {
  padding-block: 72px
}

/* Shared visual separation for every top-level content section after the hero. */
main> :is(.section, .treatments):not(.hero) {
  border-top: 1px solid var(--color-border)
}

.text-accent {
  color: var(--color-accent)
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: .73rem;
  letter-spacing: .17em;
  font-weight: 800;
  color: var(--color-primary-hover);
  text-transform: uppercase
}

.eyebrow--light {
  color: #cbb5df
}

.eyebrow__line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 9px
}

.section-heading {
  max-width: 780px;
  margin-bottom: 45px
}

.section-heading :is(h1, h2) {
  margin-bottom: 14px
}

.section-heading h1 {
  font-size: var(--font-size-heading-lg)
}

.why-choose .section-heading {
  max-width: 1100px
}

.section-heading p:last-child {
  color: var(--color-muted)
}

.section-heading--center {
  text-align: center;
  margin-inline: auto
}

.section-heading--center p:last-child {
  max-width: 700px;
  margin-inline: auto
}

.editorial-note {
  font-size: .78rem;
  color: #77717d;
  text-align: center;
  margin: 26px 0 0
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .84rem;
  line-height: 1.3;
  border: 1px solid transparent;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition)
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(7, 59, 90, .12)
}

.button--primary {
  background: var(--color-primary);
  color: #fff
}

.button--primary:hover {
  background: var(--color-primary-hover)
}

.button--outline {
  background: #fff;
  color: var(--color-primary);
  border-color: #ded8e5
}

.button--white {
  background: #fff;
  color: var(--color-primary)
}

.button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 800;
  font-size: .88rem;
  color: var(--color-primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px
}

.text-link:hover {
  color: var(--color-primary-hover)
}

/* 01 Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  box-shadow: 0 2px 18px rgba(7, 59, 90, .05)
}

html { scroll-padding-top: 90px; }

.site-header__utility {
  background: var(--color-primary);
  color: #fff;
  font-size: .76rem
}

.site-header__utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 9px
}

.site-header__utility-right,
.site-header__social-links {
  display: flex;
  align-items: center
}

.site-header__utility-right {
  gap: 14px
}

.site-header__utility-links {
  display: flex;
  gap: 22px
}

.site-header__social-links {
  gap: 5px
}

.site-header__social-link {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #fff;
  color: var(--color-primary-dark);
  font-size: 1rem
}

.site-header__social-link--whatsapp {
  width: 38px;
  height: 38px;
  margin-right: 20px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.65rem
}

.site-header__utility a:hover {
  text-decoration: underline
}

.site-header__utility .site-header__social-link:hover {
  background: #eee9f3;
  color: var(--color-primary-dark);
  text-decoration: none
}

.site-header__utility .site-header__social-link--whatsapp:hover {
  background: #1faa53;
  color: #fff
}

.site-header__main {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0
}

.brand__logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: 199px;
  object-fit: contain
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-primary);
  border-radius: 14px;
  color: var(--color-primary);
  font-size: 2rem
}

.brand__name {
  font-family: Georgia, serif;
  color: var(--color-primary-dark);
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .015em
}

.brand__name small {
  display: block;
  font-family: var(--font-heading);
  font-size: .56rem;
  letter-spacing: .12em;
  margin-top: 7px;
  font-weight: 700
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 21px
}

.site-nav>a:not(.button) {
  color: inherit;
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color var(--transition)
}

.site-nav>a:not(.button):hover {
  color: var(--color-primary-hover)
}

@media (min-width: 901px) and (max-width: 1200px) {
  .menu-toggle { display: block }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 20px 24px;
    background: #fff;
    box-shadow: 0 15px 20px #24212b20;
    flex-direction: column;
    align-items: stretch;
    gap: 0
  }
  .site-nav.is-open { display: flex }
  .site-nav>a:not(.button) { font-size: .95rem; padding: 10px 0; border-bottom: 1px solid var(--color-border) }
  .site-nav__cta { margin-top: 15px }
}

.site-nav__cta {
  white-space: nowrap
}

.site-nav__cta.button {
  font-size: .88rem;
  padding: 15px 22px
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px
}

.menu-toggle__line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-primary-dark);
  margin: 5px 0
}

/* 02 Hero */
.hero {
  background-image: url('assets/herobgimgpurple.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 95px
}

.hero__grid {
  display: block
}

.hero__content {
  max-width: 700px;
  width: 58%
}

.hero__content h1 {
  font-size: var(--font-size-heading-xl);
  max-width: 720px;
  margin: 28px 0
}

.hero__description {
  color: var(--color-muted);
  font-size: 1.04rem;
  max-width: 590px;
  margin-bottom: 28px
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  max-width: 470px;
  margin: 20px 0 32px;
  padding: 11px 8px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 8px 18px rgba(27, 88, 123, .1);
  list-style: none
}

.hero__feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 0 4px;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.2
}

.hero__feature+.hero__feature {
  border-left: 1px solid #d1c3dc
}

.hero__feature img {
  display: block;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  object-fit: contain
}

.hero__feature span {
  flex: 0 1 auto;
  min-width: 0;
  text-wrap: balance;
  white-space: normal
}

/* Mobile clinic image — hidden on desktop, shown on mobile */
.hero__clinic-image {
  display: none
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 7px;
  color: #74697f
}

.image-placeholder__icon {
  font-size: 3rem;
  opacity: .4
}

.image-placeholder strong {
  font-family: var(--font-heading);
  font-size: 1rem
}

.image-placeholder>span:last-child {
  font-size: .74rem
}

/* 03 Awards */
.awards {
  background: linear-gradient(180deg, #faf9fb 0%, #f0edf4 100%)
}

.awards__header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(4px, .7vw, 8px);
  max-width: 980px;
  margin-bottom: 24px
}

.awards__title-group {
  position: relative;
  z-index: 1
}

.awards__header .eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 11px
}

.awards__header .eyebrow::before,
.awards__header .eyebrow::after {
  content: "";
  width: 58px;
  height: 2px;
  background: currentColor
}

.awards__header h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.1vw, 3.15rem)
}

.awards__header h2 .text-accent {
  position: relative;
  display: inline-block;
  font-weight: 800
}

.awards__heading-laurel {
  flex: 0 0 auto;
  width: clamp(52px, 6.5vw, 95px);
  max-height: 108px;
  transform: translateY(15px);
  object-fit: contain;
  opacity: .42
}

.awards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 22px;
  max-width: 980px;
  margin-inline: auto
}

.award-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 13px 20px;
  box-shadow: var(--shadow-card)
}

.award-card__heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  min-height: 64px;
  margin-bottom: 4px
}

.award-card__heading img {
  flex: 0 0 45px;
  width: 45px;
  max-height: 62px;
  object-fit: contain
}

.award-card h3 {
  font-size: var(--font-size-heading-card);
  max-width: 175px;
  min-width: 0;
  margin: 0
}

.award-card__stars {
  display: flex;
  justify-content: center;
  gap: .32rem;
  margin-bottom: 4px;
  color: #efa900;
  font-size: .72rem;
  line-height: 1
}

.award-card__ribbon {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 56px;
  margin: 0 -10px 4px;
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .01em
}

.award-card__ribbon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0
}

.award-card__ribbon span {
  position: relative;
  z-index: 1;
  max-width: 76%;
  line-height: 1.15;
  text-align: center
}

.award-card small {
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .awards__grid {
    grid-template-rows: repeat(4, auto);
    row-gap: 0
  }

  .award-card {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0
  }
}

/* 04 Dentist */
.dentist__grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.08fr);
  max-width: 1200px;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch
}

.dentist__content {
  min-width: 0;
  max-width: 700px;
  overflow-wrap: break-word;
}

.dentist__portrait {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  background: linear-gradient(145deg, #f3f0f6, #e6ddec);
  border-radius: 16px
}

.dentist__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top
}

.dentist__content > p:last-child { margin-bottom: 0; }

.dentist__content h2 {
  max-width: 590px
}

.dentist__content>p:not(.eyebrow):not(.dentist__name):not(.dentist__credential) {
  color: var(--color-muted);
  font-size: .94rem
}

.dentist__name {
  font-weight: 800;
  color: var(--color-primary);
  margin: 22px 0 0
}

.dentist__credential {
  color: var(--color-primary-hover);
  font-size: .84rem;
  font-weight: 700;
  margin: 2px 0 18px
}

.dentist__content .text-link {
  margin-top: 12px
}

/* 05 Why choose */
.why-choose {
  background: #f8f7f9
}

.why-choose__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px
}

.feature-spotlight {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  padding: 30px 32px;
  background: linear-gradient(115deg, #fff 0%, #fff 58%, #eee8f4 100%);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: var(--shadow-card)
}

.feature-spotlight__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 1
}

.feature-spotlight__icon {
  display: grid;
  place-items: center;
  width: 67px;
  height: 67px;
  background: #eee8f4;
  color: var(--color-primary);
  border-radius: 16px;
  font-size: 2rem
}

.feature-spotlight__index {
  font-size: .75rem;
  color: var(--color-primary-hover);
  font-weight: 800;
  letter-spacing: .07em
}

.feature-spotlight h3 {
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  max-width: 360px;
  margin: 44px 0 12px;
  position: relative;
  z-index: 1
}

.feature-spotlight p {
  color: var(--color-muted);
  max-width: 365px;
  position: relative;
  z-index: 1
}

.feature-spotlight__progress {
  position: absolute;
  left: 38px;
  bottom: 34px;
  width: 230px;
  height: 5px;
  border-radius: 5px;
  background: #e6ddec;
  overflow: hidden;
  z-index: 1
}

.feature-spotlight__progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--color-primary);
  transition: width var(--transition)
}

.feature-spotlight__art {
  position: absolute;
  right: -30px;
  bottom: -115px;
  font-size: 24rem;
  color: #e5d9ed;
  line-height: 1;
  opacity: .5;
  pointer-events: none
}

.feature-list {
  display: grid;
  gap: 10px
}

.feature-list__item {
  display: grid;
  grid-template-columns: 56px 1fr 25px;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 13px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  box-shadow: 0 4px 12px rgba(7, 59, 90, .03);
  transition: transform var(--transition), border-color var(--transition), background var(--transition)
}

.feature-list__item:hover,
.feature-list__item.is-active {
  transform: translateX(-4px);
  border-color: #bda7d0;
  background: #f0edf4
}

.feature-list__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #f0eaf5;
  color: var(--color-primary);
  border-radius: 12px;
  font-size: 1.45rem
}

.feature-list__item small,
.feature-list__item strong {
  display: block
}

.feature-list__item small {
  font-size: .62rem;
  letter-spacing: .06em;
  color: var(--color-primary-hover);
  font-weight: 800
}

.feature-list__item strong {
  font-family: var(--font-heading);
  font-size: .89rem;
  line-height: 1.35;
  margin-top: 3px
}

.feature-list__arrow {
  color: var(--color-primary)
}

/* Why Choose Matrix: active feature photography is visually separated with a curved light panel. */
.why-choose__grid {
  grid-template-columns: 1.16fr .84fr;
  gap: 24px
}

.feature-spotlight {
  min-height: 425px;
  padding: 0;
  background: #fff;
  border-radius: 20px
}

.feature-spotlight__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden
}

.feature-spotlight__media::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -8%;
  bottom: -8%;
  left: -68px;
  width: 125px;
  border-radius: 50%;
  background: #fff
}

.feature-spotlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.feature-spotlight__content {
  position: relative;
  z-index: 2;
  width: 60%;
  padding: 30px 32px
}

.feature-spotlight__top {
  display: block
}

.feature-spotlight__icon {
  width: 74px;
  height: 74px;
  margin-bottom: 14px;
  background: #eee8f4
}

.feature-spotlight__icon img,
.feature-list__icon img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  border-radius: 22%
}

.feature-spotlight__index {
  display: block;
  font-size: .76rem
}

.feature-spotlight h3 {
  margin: 12px 0;
  max-width: 385px;
  font-size: clamp(1.55rem, 2.25vw, 2.2rem)
}

.feature-spotlight p {
  max-width: 360px;
  font-size: .96rem
}

.feature-spotlight__progress {
  right: auto;
  bottom: 28px;
  width: 44%;
  max-width: 260px;
  left: 32px
}

.feature-spotlight__progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 17%, #e6ddec 17% 19.5%, transparent 19.5% 20.5%);
  pointer-events: none
}

.feature-spotlight__progress span {
  position: relative;
  z-index: 1
}

.feature-spotlight__art {
  display: none
}

.feature-list {
  height: 425px;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  align-content: stretch;
  gap: 8px
}

.feature-list__item {
  grid-template-columns: 54px 1fr 30px;
  min-height: 0;
  padding: 9px 14px;
  border-radius: 15px
}

.feature-list__item:hover {
  transform: translateX(-3px);
  border-color: #bda7d0;
  background: #faf8fc
}

.feature-list__icon {
  width: 44px;
  height: 44px;
  background: #eee8f4
}

.feature-list__item small {
  font-size: .63rem
}

.feature-list__item strong {
  font-size: .86rem
}

.feature-list__arrow {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #c9dce7;
  border-radius: 50%
}

/* 06 Treatments */
.treatments {
  padding: 42px 0 72px;
  background: #f9f8fa
}

.treatments__intro {
  text-align: center;
  margin-bottom: 38px
}

.treatments__intro h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin: 18px 0 10px
}

.treatments__intro h2 span {
  color: var(--color-accent)
}

.treatments__description {
  color: var(--color-muted);
  font-size: 1.05rem
}

.treatments__intro .eyebrow {
  display: inline-flex;
  margin: 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: #f2edf6;
  color: var(--color-primary);
  border: 0
}

.treatments__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1060px;
  gap: 20px;
  margin-top: 0
}

.treatment-card {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #292330;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 400px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition)
}

.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card)
}

.treatment-card__image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-color: #e6ddec;
}

.treatment-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(40, 30, 50, .28) 58%, rgba(35, 28, 43, .96) 100%)
}

.treatment-card__image--implant {
  background-image: url('assets/dental-implants.webp')
}

.treatment-card__image--cosmetic {
  background-image: url('assets/cosmetic-dentistry.webp')
}

.treatment-card__image--general {
  background-image: url('assets/general-dental-care.webp')
}

.treatment-card__content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  color: #fff
}

.treatment-card h3 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0
}

.treatment-card__content p {
  max-width: 260px;
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: #eee9f2;
  font-size: .92rem;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: max-height .35s ease, margin .3s ease, opacity .25s ease, transform .3s ease
}

.treatment-card__link {
  display: flex;
  width: 100%;
  max-height: 0;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: max-height .35s ease, opacity .25s ease, transform .3s ease
}

.treatment-card:is(:hover, :focus-within) .treatment-card__content p {
  max-height: 100px;
  margin-bottom: 16px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0)
}

.treatment-card:is(:hover, :focus-within) .treatment-card__link {
  max-height: 32px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0)
}

.treatment-card:is(:hover, :focus-within) h3 {
  margin-bottom: 8px
}

@media (hover: none),
(max-width: 767px) {
  .treatment-card__content p {
    max-height: 100px;
    margin-bottom: 16px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none
  }

  .treatment-card__link {
    max-height: 32px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none
  }

  .treatment-card h3 {
    margin-bottom: 8px
  }
}

@media (prefers-reduced-motion: reduce) {

  .treatment-card__content p,
  .treatment-card__link {
    transition: none
  }
}

/* 07 Results */
.results {
  background: linear-gradient(145deg, #faf8fc, #f0eaf5);
  padding-block: 42px 48px
}

.results .section-heading {
  max-width: 1000px;
  margin-bottom: 28px
}

.results .section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  margin: 12px 0 0
}

.results__eyebrow {
  display: inline-flex;
  margin: 0;
  align-items: center;
  gap: 16px;
  color: var(--color-primary);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em
}

.results__eyebrow::before,
.results__eyebrow::after {
  content: "";
  width: 46px;
  height: 1px;
  background: #bca5cc
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 1000px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 22px rgba(27, 88, 123, .12)
}

.result-card {
  min-height: 132px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
  text-align: center
}

.result-card:not(:last-child) {
  border-right: 1px solid #cbb9d9
}

.result-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center
}

.result-card__body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  letter-spacing: -.055em;
  line-height: 1;
  color: var(--color-primary-dark)
}

.result-card__body strong span {
  color: var(--color-primary-hover)
}

.result-card__body h3 {
  font-size: .98rem;
  margin: 8px 0 0;
  color: var(--color-muted);
  letter-spacing: 0
}

/* 08 Gallery */
.gallery {
  background: #fff
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1.1fr .55fr .55fr;
  grid-template-rows: 215px 215px;
  gap: 14px
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  padding: 0;
  background: #eae4ef
}

.gallery__item--large {
  grid-row: span 2
}

.gallery__item--team {
  grid-column: span 2
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease
}

.gallery__item:hover img {
  transform: scale(1.045)
}

.gallery__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--color-primary);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px #0002
}

.gallery__footer {
  text-align: center;
  margin-top: 27px
}

/* 09 Testimonials */
.testimonials {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #f9f8fa, #f0edf4)
}

.testimonials .container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1380px)
}

.testimonials__map {
  position: absolute;
  top: 155px;
  left: 50%;
  z-index: 0;
  width: min(1480px, 100%);
  height: auto;
  opacity: .2;
  pointer-events: none;
  transform: translateX(-50%)
}

.testimonials .section-heading {
  max-width: 900px;
  margin-bottom: 48px
}

.testimonials .section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: #f2edf6;
  color: var(--color-primary);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none
}

.testimonials .section-heading h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  margin-bottom: 20px
}

.testimonials__title-accent {
  position: relative;
  white-space: nowrap
}

.testimonials__title-accent img {
  position: absolute;
  right: 12%;
  bottom: -.35em;
  width: clamp(72px, 8vw, 108px);
  height: auto
}

.testimonials .section-heading p:last-child {
  color: var(--color-muted);
  font-size: 1.15rem
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin-inline: auto
}

.testimonial-card {
  min-width: 0;
  padding: 10px 10px 20px;
  border: 1px solid #eeeaf1;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 59, 90, .08);
  transition: transform var(--transition), box-shadow var(--transition)
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card)
}

.testimonial-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.55;
  border-radius: 19px;
  background: #eae4ef
}

.testimonial-card__image>img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.testimonial-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%)
}

.testimonial-card__play img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35))
}

.testimonial-card__info {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 14px 12px 0
}

.testimonial-card__flag {
  width: 44px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  flex: 0 0 auto
}

.testimonial-card__info h3 {
  margin: 0 0 3px;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  letter-spacing: -.025em
}

.testimonial-card__info p {
  margin: 0;
  color: var(--color-muted);
  font-size: .95rem
}

.testimonials__bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 35px
}

.testimonials__see-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.testimonials__see-all:hover { text-decoration: underline; }

.testimonials__subtitle {
  margin: 0;
  color: var(--color-muted);
  text-align: center;
}

.testimonials__claim {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 800;
  color: var(--color-primary-dark);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  text-align: center;
}

.testimonials__claim-accent { color: var(--color-primary); }

.testimonials__claim img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.testimonials__disclaimer {
  margin: 20px 0 0;
  color: var(--color-muted);
  font-size: .75rem;
  text-align: center
}

@media(max-width:1100px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

/* 10 FAQ */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(420px, 1.28fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start
}

.faq__intro {
  padding-top: 6px
}

.faq__intro .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px
}

.faq__intro .eyebrow::after {
  content: "";
  width: 46px;
  height: 1px;
  background: #bda4d0
}

.faq__intro h2 {
  max-width: 100%;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4vw, 3.15rem);
  line-height: 1.04
}

.faq__title-first { white-space: nowrap }
.faq__intro h2 .text-accent { display: block }

.faq__intro p:not(.eyebrow) {
  color: var(--color-muted);
  max-width: 360px;
  line-height: 1.55
}

.faq__contact {
  max-width: 370px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border)
}

.faq__contact h3 { margin: 0 0 4px; font-size: 1rem; letter-spacing: 0 }
.faq__contact p { margin: 0 0 16px }

.faq__intro .text-link {
  display: inline-flex;
  margin-top: 14px;
  gap: 10px
}

.faq__categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  max-width: 370px;
  margin: 28px 0 18px
}

.faq__category {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  border-right: 1px solid #cec3d5;
  color: var(--color-primary-dark);
  font-size: .88rem;
  font-weight: 800;
  text-align: center
}

.faq__category:last-child {
  border-right: 0
}

.faq__category img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain
}

.faq__list {
  min-width: 0
}

.faq__item {
  border-bottom: 1px solid #cdc4d1;
  padding: 20px 0
}

.faq__item summary {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.faq__item summary::-webkit-details-marker {
  display: none
}

.faq__item summary::after {
  content: "\f067";
  font-family: "Font Awesome 6 Free";
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-primary)
}

.faq__item[open] summary::after {
  content: "\f068"
}

.faq__item p {
  color: var(--color-muted);
  font-size: .92rem;
  margin: 13px 36px 0 0
}

/* 11 Contact */
.contact {
  background: #f5f2f7
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1000px;
  margin: auto
}

.contact__card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  padding: 30px
}

.contact__card>h3 {
  margin-bottom: 5px
}

.contact__card>p {
  font-size: .84rem;
  color: var(--color-muted)
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 20px
}

.form-field label {
  display: block;
  font-size: .79rem;
  font-weight: 800;
  margin-bottom: 6px
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--color-text);
  font-size: .87rem
}

.form-field textarea {
  resize: vertical
}

.contact-form .button {
  justify-self: start
}

.contact-form__status {
  margin: 0;
  font-size: .8rem;
  color: var(--color-primary)
}

.contact__card--location {
  padding: 0
}

.location-map {
  display: block;
  width: 100%;
  height: 285px;
  border: 0
}

.location-details {
  padding: 28px 30px
}

.location-details h3 {
  margin-bottom: 8px
}

.location-details p {
  font-size: .87rem;
  color: var(--color-muted)
}

.location-hours {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border)
}

.location-hours h4 {
  margin: 0 0 8px;
  color: var(--color-primary-dark);
  font-size: .92rem
}

.location-hours dl {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--color-muted);
  font-size: .82rem
}

.location-hours dl div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px
}

.location-hours dt {
  font-weight: 700;
  color: var(--color-primary-dark)
}

.location-hours dd {
  margin: 0
}

/* 12 Footer */
.site-footer {
  background: #211e27;
  color: #eee9f2;
  padding: 72px 0 0
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr 1fr 1.25fr;
  gap: clamp(24px, 3vw, 58px)
}

.site-footer__logo {
  display: block;
  width: min(100%, 210px);
  height: auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff
}

.site-footer__logo-link {
  display: inline-block;
  border-radius: 8px
}

.site-footer__brand>p {
  font-size: .87rem;
  color: #eee9f2;
  max-width: 330px;
  margin: 20px 0 0
}

.site-footer h3 {
  font-size: var(--font-size-heading-card);
  color: #fff;
  letter-spacing: 0;
  margin-bottom: 20px
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.site-footer li {
  margin-bottom: 0
}

@media (max-width: 1023px) {
  .site-footer li {
    margin-bottom: 0
  }

  .site-footer li a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    min-width: 44px
  }
}

.site-footer li a,
.site-footer address {
  font-size: .85rem;
  line-height: 1.75;
  font-style: normal;
  color: #eee9f2
}

.site-footer li a,
.site-footer__contact-item a {
  color: #fff
}

.site-footer__address {
  margin-bottom: 16px
}

.site-footer__contact-item {
  margin-bottom: 16px;
  font-size: .85rem;
  line-height: 1.75;
  color: #eee9f2
}

.site-footer__contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: #fff
}

.site-footer__contact-item p {
  margin: 0
}

.site-footer a:hover {
  color: #fff
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid #ffffff29;
  margin-top: 0;
  padding: 25px 0;
  font-size: .76rem;
  color: #eee9f2
}

/* Dialogs */
.lightbox,
.testimonial-dialog {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 25px 90px #0005;
  padding: 25px;
  max-width: min(90vw, 900px);
  background: #fff;
  color: var(--color-text)
}

.lightbox::backdrop,
.testimonial-dialog::backdrop {
  background: rgba(28, 24, 33, .78)
}

.lightbox img {
  max-height: 75vh;
  max-width: 100%;
  margin: auto;
  border-radius: 9px
}

.lightbox p {
  margin: 12px 0 0;
  text-align: center
}

.lightbox__close {
  position: absolute;
  top: 5px;
  right: 9px;
  background: #fff;
  color: var(--color-primary-dark);
  border: 0;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  width: 38px;
  height: 38px
}

.testimonial-dialog {
  width: min(90vw, 900px, calc(177.78vh - 57px));
  max-width: none;
  max-height: calc(100vh - 32px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  background: #000
}

.testimonial-dialog .lightbox__close {
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 2px 8px #0005;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease
}

.testimonial-dialog .lightbox__close:hover,
.testimonial-dialog .lightbox__close:focus-visible {
  background: #dc2626;
  color: #fff
}

.testimonial-dialog .lightbox__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px
}

.testimonial-dialog__video {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  background: #000
}

.testimonial-dialog__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

/* Responsive */
@media(max-width:1100px) {
  .hero__content {
    width: 66%
  }

  .site-nav {
    gap: 12px
  }

  .site-nav>a:not(.button) {
    font-size: .84rem
  }

  .site-nav__cta {
    padding-inline: 12px
  }

  .dentist__grid {
    gap: 50px
  }

  .site-footer__grid {
    gap: 25px
  }
}

@media(max-width:1023px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media(max-width:950px) {
  .site-header__utility-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
  }

  .site-header__location {
    width: 100%;
    text-align: center
  }

  .site-header__utility-right {
    width: 100%;
    justify-content: center
  }
}

@media(max-width:900px) {
  .section {
    padding-block: 60px
  }

  .hero {
    padding-top: 45px;
    padding-bottom: 65px
  }

  .hero__content {
    width: 72%
  }

  .hero__description {
    max-width: 540px
  }

  .hero__features {
    width: 100%;
    max-width: 470px
  }

  .menu-toggle {
    display: block
  }

  .site-header__main {
    min-height: 75px
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 20px 24px;
    background: #fff;
    box-shadow: 0 15px 20px #24212b20;
    flex-direction: column;
    align-items: stretch;
    gap: 0
  }

  .site-nav.is-open {
    display: flex
  }

  .site-nav>a:not(.button) {
    font-size: .95rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border)
  }

  .site-nav__cta {
    margin-top: 15px
  }

  .dentist__grid,
  .why-choose__grid,
  .treatments__intro-grid,
  .testimonials__grid,
  .faq__grid {
    gap: 35px
  }

  .hero__content h1 {
    font-size: 2.45rem
  }

  .awards {
    padding-bottom: 100px
  }

  .feature-list__item {
    padding: 12px
  }

  .feature-spotlight {
    padding: 26px
  }

  .feature-spotlight h3 {
    margin-top: 42px
  }
}

@media (min-width:701px) and (max-width:900px) {
  .hero {
    background-position: 58% center
  }

  .hero__content {
    width: 82%;
    max-width: 600px
  }

  .hero__content h1 {
    font-size: clamp(2.15rem, 5vw, 2.45rem);
    line-height: 1.12
  }

  .hero__description {
    max-width: 520px
  }

  .hero__features {
    max-width: 470px
  }
}

/* Keep the clinic image separate from the text on tablet screens. */
@media (min-width: 901px) and (max-width: 1100px) {
  .hero {
    background-image: none;
    background-color: #f5f2f9;
    padding-block: 48px
  }

  .hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    column-gap: 24px;
    align-items: center;
    width: 100%;
    max-width: none
  }

  .hero__content> :not(.hero__clinic-image) {
    grid-column: 1
  }

  .hero__content h1 {
    font-size: clamp(2rem, 3.7vw, 2.7rem);
    line-height: 1.12;
    margin: 20px 0
  }

  .hero__clinic-image {
    display: block;
    grid-column: 2;
    grid-row: 1 / 6
  }

  .hero__clinic-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(112, 64, 162, .18)
  }

  .hero__features {
    margin-bottom: 0
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .hero {
    background-image: none;
    background-color: #f5f2f9;
    padding-block: 48px
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: none
  }

  .hero__clinic-image {
    display: block;
    width: 100%;
    margin: 24px 0 20px
  }

  .hero__clinic-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(112, 64, 162, .18)
  }

  .hero__features {
    margin: 0
  }
}

@media(max-width:767px) {
  .awards__grid {
    grid-template-columns: 1fr;
    max-width: 390px
  }
}

@media(max-width:700px) {
  .container {
    width: min(calc(100% - 34px), var(--container-width))
  }

  .section {
    padding-block: 48px
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 36px;
    background-image: none;
    background-color: #f5f2f9
  }

  .hero__grid {
    display: block
  }

  .hero__content {
    width: 100%;
    display: flex;
    flex-direction: column
  }

  .hero__content .eyebrow {
    order: 0
  }

  .hero__content h1 {
    order: 1
  }

  .hero__content .hero__description {
    order: 2
  }

  .hero__content .hero__cta-group {
    order: 3
  }

  .hero__content .hero__clinic-image {
    order: 4
  }

  .hero__content .hero__features {
    order: 5
  }

  .hero__clinic-image {
    display: block;
    width: 100%;
    margin: 24px 0 20px
  }

  .hero__clinic-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    box-shadow: 0 8px 32px rgba(112, 64, 162, .18)
  }

  .hero__features {
    margin: 0;
    max-width: 100%
  }

  .site-header__utility-links {
    display: none
  }

  .site-header__social-link {
    width: 30px;
    height: 30px;
    font-size: .9rem
  }

  .site-header__social-link--whatsapp {
    width: 36px;
    height: 36px;
    margin-right: 12px;
    font-size: 1.55rem
  }

  .site-header__utility {
    font-size: .68rem
  }

  .brand__name {
    font-size: 1.4rem
  }

  .brand__logo {
    height: 48px;
    max-width: 155px
  }

  .dentist__grid,
  .why-choose__grid,
  .treatments__intro-grid,
  .testimonials__grid,
  .faq__grid,
  .contact__grid {
    grid-template-columns: 1fr
  }

  .hero__content {
    width: 100%;
    display: flex;
    flex-direction: column
  }

  .hero__content .eyebrow {
    order: 0
  }

  .hero__content h1 {
    order: 1
  }

  .hero__content .hero__description {
    order: 2
  }

  .hero__content .hero__cta-group {
    order: 3
  }

  .hero__content .hero__clinic-image {
    order: 4
  }

  .hero__content .hero__features {
    order: 5
  }

  .hero__features {
    margin: 0;
    max-width: 100%
  }

  .hero__feature {
    flex-direction: column;
    gap: 5px;
    padding: 0 6px;
    text-align: center;
    font-size: .74rem
  }

  .hero__feature span {
    flex: 0 1 auto
  }

  .hero__feature img {
    flex-basis: 34px;
    width: 34px;
    height: 34px
  }

  .hero__content h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
    margin: 20px 0 16px
  }

  .hero__description {
    margin-bottom: 20px
  }

  .awards {
    padding-bottom: 82px
  }

  .awards__header {
    margin-bottom: 24px
  }

  .awards__grid,
  .treatments__cards,
  .results__grid {
    grid-template-columns: 1fr
  }

  .result-card:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #cbb9d9
  }

  .award-card {
    padding: 13px 20px
  }

  .dentist__portrait {
    min-height: 350px
  }

  .feature-spotlight {
    min-height: 360px
  }

  .feature-spotlight h3 {
    margin-top: 40px
  }

  .feature-spotlight__progress {
    bottom: 22px
  }

  .treatments__intro {
    margin-bottom: 28px
  }

  .treatments__cards {
    gap: 18px
  }

  .treatment-card h3 {
    min-height: auto
  }

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 230px 170px 170px
  }

  .gallery__item--large {
    grid-column: span 2;
    grid-row: span 1
  }

  .gallery__item--team {
    grid-column: span 2
  }

  .testimonials__bottom {
    flex-direction: column;
    gap: 20px
  }

  .testimonials__claim {
    padding: 0;
    border: 0
  }

  .faq__grid {
    gap: 28px
  }

  .faq__intro h2 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 2.65rem)
  }

  .faq__categories {
    max-width: 340px;
    margin: 24px 0 14px
  }

  .faq__category {
    min-height: 92px
  }

  .faq__item {
    padding: 17px 0
  }

  .faq__item summary {
    font-size: .96rem
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px
  }

  .site-footer__brand {
    grid-column: span 2
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start
  }

  .contact__card {
    padding: 22px
  }

  .contact__card--location {
    padding: 0
  }
}

@media(max-width:420px) {
  .button-group {
    flex-direction: column;
    align-items: stretch
  }

  .button-group .button {
    width: 100%
  }

  .hero__features {
    padding-inline: 5px;
    max-width: 100%
  }

  .hero__feature {
    padding-inline: 3px;
    font-size: .64rem
  }

  .hero__feature img {
    flex-basis: 30px;
    width: 30px;
    height: 30px
  }

  .hero__clinic-image img {
    border-radius: 16px
  }

  .feature-list__item {
    grid-template-columns: 44px 1fr 15px;
    gap: 8px
  }

  .feature-list__icon {
    width: 40px;
    height: 40px
  }

  .feature-list__item strong {
    font-size: .8rem
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    column-gap: 20px
  }

  .site-footer__brand,
  .site-footer__contact {
    grid-column: 1 / -1
  }
}

@media(max-width:1023px) {
  .why-choose__grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 18px
  }

  .feature-spotlight__content {
    width: 64%;
    padding: 26px
  }

  .feature-spotlight__progress {
    left: 26px
  }
}

@media(max-width:767px) {
  .awards__heading-laurel {
    display: none
  }

  .why-choose__grid {
    grid-template-columns: 1fr
  }

  .feature-spotlight {
    min-height: 0;
    display: flex;
    flex-direction: column
  }

  .feature-spotlight__content {
    width: 100%;
    padding: 26px 24px 22px
  }

  .feature-spotlight__media {
    position: relative;
    width: 100%;
    height: 205px;
    order: 2
  }

  .feature-spotlight__media::before {
    top: -46px;
    right: -8%;
    bottom: auto;
    left: -8%;
    width: auto;
    height: 72px;
    border-radius: 50% 50% 0 0
  }

  .feature-spotlight__progress {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin-top: 22px
  }

  .feature-list__item {
    min-height: 70px
  }

  .feature-list {
    height: auto;
    grid-template-rows: none
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important
  }
}

/* Contact layout */
.contact__grid {
  max-width: 1400px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.contact__visual {
  position: relative;
  min-height: 620px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.contact__visual>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__visual .location-details {
  position: relative;
  width: min(100%, 350px);
  padding: 24px;
  border-radius: 16px;
  background: rgba(32, 27, 38, .94);
  color: #fff;
}

.contact__visual .location-details p,
.contact__visual .location-hours dl,
.contact__visual .location-hours h4,
.contact__visual .location-hours dt {
  color: #fff;
}

.contact__visual .location-hours {
  border-color: rgba(255, 255, 255, .45);
}

.contact__right {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
}

.contact__card h2 {
  margin-bottom: 5px;
}

.contact__card .eyebrow {
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form .form-field:nth-child(n+3),
.contact-form__status {
  grid-column: 1 / -1;
}

.contact__location {
  min-height: 170px;
}

.contact__location .location-map {
  height: 100%;
  min-height: 170px;
  border-radius: 14px;
}

@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact__visual {
    min-height: 480px;
  }
}

@media (max-width: 560px) {
  .contact__visual {
    min-height: 420px;
  }

  .contact-form,
  .contact__location {
    grid-template-columns: 1fr;
  }

  .contact-form .form-field:nth-child(n+3),
  .contact-form__status {
    grid-column: auto;
  }

  .contact__location .location-map {
    height: 220px;
  }
}

/* Why Choose Us: two-column introduction and benefits */
.why-choose__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.why-choose__intro h2 {
  max-width: 520px;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.025em;
  margin: 18px 0 28px;
}

.why-choose__intro>p:not(.eyebrow) {
  color: var(--color-muted);
  max-width: 500px;
  margin-bottom: 28px;
}

.why-choose__photo {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 14px;
}

.why-choose__benefits {
  background: #f0edf4;
  border-radius: 20px;
  padding: clamp(24px, 3vw, 36px);
}

.why-choose__benefits h2 {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.025em;
}

.why-choose__benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-choose__benefit {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
}

.why-choose__benefit+.why-choose__benefit {
  border-top: 1px solid var(--color-border);
}

.why-choose__benefit-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e6d9f0;
}

.why-choose__benefit-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 50%;
}

.why-choose__benefit h3 {
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.why-choose__benefit p {
  margin: 0;
  color: var(--color-muted);
  font-size: .9rem;
  line-height: 1.5;
}

@media (min-width: 901px) {
  .why-choose__layout {
    align-items: stretch;
  }

  .why-choose__intro {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .why-choose__intro h2 { margin-top: 0; }

  .why-choose__photo {
    flex: 1 1 0;
    min-height: 260px;
    height: 0;
    aspect-ratio: auto;
  }

  .why-choose__benefits {
    display: flex;
    flex-direction: column;
  }

  .why-choose__benefits ul {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .why-choose__benefit {
    flex: 1;
  }
}

@media (max-width: 900px) {
  .why-choose__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .why-choose__benefit {
    gap: 16px;
  }
}

/* The responsive artwork is a full hero background, not an inset image. */
@media (max-width: 1100px) {
  .hero {
    position: relative;
    isolation: isolate;
    background-image: none;
    background-color: #f2edf9;
    padding-bottom: 70vw
  }

  .hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: url('assets/tabletbgpurple.png') center bottom / 100% auto no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%);
    mask-image: linear-gradient(to bottom, transparent, #000 18%);
    pointer-events: none
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 650px
  }

  .hero__clinic-image {
    display: none
  }

  .hero__features {
    margin: 20px 0 0
  }
}

@media (max-width: 700px) {
  .hero {
    padding-bottom: 110vw
  }

  .hero::before {
    aspect-ratio: 4 / 5;
    background-image: url('assets/mobilebgpurple.png')
  }
}

/* Stack the artwork between the calls to action and the highlights. */
@media (max-width: 1100px) {
  .hero {
    padding-bottom: 0
  }

  .hero::before {
    display: none
  }

  .hero__content {
    max-width: none
  }

  .hero__clinic-image {
    display: block;
    width: 100%;
    margin: 6px 0 0;
    overflow: hidden;
    border-radius: 0;
    -webkit-mask-image: radial-gradient(ellipse 65% 68% at center, #000 58%, transparent 100%);
    mask-image: radial-gradient(ellipse 65% 68% at center, #000 58%, transparent 100%)
  }

  .hero__clinic-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none
  }

  .hero__features {
    margin: 0;
    max-width: 470px
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .hero__features {
    width: 100%;
    max-width: none
  }
}

/* Give wide displays more usable space without changing laptop layouts. */
@media (min-width: 1101px) {
  .awards__grid,
  .treatments__cards,
  .results__grid,
  .testimonials__grid,
  .contact__grid {
    max-width: 1600px
  }

  .testimonials .container {
    width: min(calc(100% - 48px), 1600px)
  }

  .site-header__utility-inner,
  .site-header__main,
  .hero__grid,
  .site-footer > .container {
    width: min(calc(100% - 48px), 2560px)
  }

  .hero {
    background: #f2edf9 url('assets/herobgimgpurple.png') center / cover no-repeat;
    padding-block: 0
  }

  .hero__grid {
    padding-block: 48px 95px
  }

  .hero__content {
    width: 45%;
    max-width: 700px
  }
}

@media (min-width: 1600px) {
  :root {
    --container-width: 1600px
  }

  .awards__header {
    max-width: clamp(980px, 64vw, 1320px)
  }

  .awards__grid,
  .treatments__cards,
  .results__grid,
  .testimonials__grid,
  .contact__grid {
    max-width: 1600px
  }

  .testimonials .container {
    width: min(calc(100% - 48px), 1600px)
  }

  .hero__content {
    width: 45%;
    max-width: 700px
  }

}

@media (min-width: 1101px) {
  .awards__header,
  .awards__grid {
    max-width: 980px
  }
}

/* Awards carousel: keep every title, ribbon and location aligned. */
.awards__slider {
  max-width: 1020px;
  margin-inline: auto;
}

.awards__swiper {
  padding: 12px 12px 24px;
}

.awards__swiper .awards__grid {
  max-width: none;
  margin: 0;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
}

.awards__swiper.swiper-initialized .awards__grid {
  display: flex;
  gap: 0;
  transition-timing-function: ease-in-out;
}

.awards__swiper .award-card {
  display: flex;
  flex-direction: column;
  grid-row: auto;
  height: auto;
  min-width: 0;
  padding: 8px 10px;
  box-shadow: 0 6px 16px rgba(36, 33, 43, .06);
}

.awards__swiper .award-card__heading {
  min-height: 84px;
  align-items: center;
}

.awards__swiper .award-card__heading img {
  flex-basis: 24px;
  width: 24px;
}

.awards__swiper .award-card h3 {
  max-width: none;
  font-size: .875rem;
  line-height: 1.2;
}

.awards__swiper .award-card__ribbon { min-height: 44px; }

.awards__swiper .award-card small {
  margin-top: auto;
}

.awards__controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.awards__slider.is-ready .awards__controls { display: flex; }

.awards__controls button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: #5b1166;
  font-size: .75rem;
  cursor: pointer;
}

.awards__pagination { width: auto !important; }
.awards__pagination .swiper-pagination-bullet-active { background: #5b1166; }

@media (max-width: 1023px) {
  .awards__swiper .awards__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .awards__swiper .awards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .awards__slider { max-width: 300px; }
  .awards__swiper .awards__grid { grid-template-columns: 1fr; }
  .awards__swiper .award-card__heading { min-height: 76px; }
}

/* Shared section label, matching the patient testimonials pill. */
.purple-theme .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: #f2edf6;
  color: var(--color-primary);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.purple-theme .eyebrow::before,
.purple-theme .eyebrow::after {
  content: none;
}

/* Consistent, compact main section headings. */
.purple-theme :is(#awards-title, #dentist-title, #why-choose-title, #treatments-title, #results-title, #gallery-title, #testimonials-title, #faq-title, #contact-title) {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.18;
}

.purple-theme #awards-title .text-accent { font-weight: inherit; }

.purple-theme .hero__content .eyebrow {
  padding: 6px 12px;
  margin: 0 0 0 -12px;
  font-size: .85rem;
}
.purple-theme .hero__content h1 { margin-top: 12px; }

.hero__content .hero__features { margin: 20px 0; }

@media (max-width: 1100px) {
  .hero__content .hero__features { order: 3; }
  .hero__content .hero__cta-group { order: 4; }
  .hero__content .hero__clinic-image {
    order: 5;
    width: calc(100% + 48px);
    max-width: none;
    margin-inline: -24px;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 767px) {
  .hero__content .hero__clinic-image {
    width: calc(100% + 34px);
    margin-inline: -17px;
  }
}

.testimonials__swiper { padding: 8px 8px 24px; }
.testimonials__swiper .testimonials__grid { max-width: none; margin: 0; }
.testimonials__swiper.swiper-initialized .testimonials__grid { display: flex; gap: 0; }
.testimonials__swiper .testimonial-card { height: auto; }
.testimonials__controls { display: none; justify-content: center; gap: 12px; }
.testimonials--slider-ready .testimonials__controls { display: flex; }
.testimonials__controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  font-size: .75rem;
  cursor: pointer;
}

.faq .faq__grid {
  display: block;
  max-width: 1000px;
}

.faq .faq__intro {
  padding: 0;
  margin-bottom: 32px;
  text-align: center;
}

.faq .faq__intro h2 { margin: 0; }
.faq .faq__intro h2 .text-accent { display: inline; }
.faq .faq__title-first { white-space: normal; }

/* The mobile and tablet artwork includes space for the hero copy. */
@media (max-width: 1100px) {
  .hero {
    min-height: max(660px, 115.625vw);
    background: #f2edf9 url('assets/tabletbgforpurple.webp') center bottom / 100% auto no-repeat;
    padding-bottom: 0;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: max(580px, 183.333vw);
    background-image: url('assets/mobilebgforpurple.webp');
  }
}

.faq__item {
  padding: 0;
  transition: background-color 180ms ease;
}

.faq__item summary { padding: 20px 14px; }
.faq__item p { margin: 0; padding: 0 50px 20px 14px; }

@media (hover: hover) {
  .faq__item:hover { background-color: #f2f2f2; }
}

@media (prefers-reduced-motion: reduce) {
  .faq__item { transition: none; }
}

.treatments__cards { max-width: 1080px; }
.results__grid { max-width: 900px; }
.result-card { min-height: 105px; padding: 14px; }
.result-card__body strong { font-size: clamp(1.8rem, 2.7vw, 2.4rem); }

@media (min-width: 768px) {
  .treatment-card { min-height: 410px; }
}
