@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  --ink: #173638;
  --muted: #65797a;
  --teal: #0b6e70;
  --teal-dark: #084c50;
  --mint: #dcefeb;
  --paper: #f7f8f5;
  --line: #dce5e1;
  --white: #fff;
  --gold: #c8a46b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --display: Manrope, "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  height: 84px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 229, 225, 0.8);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  height: 43px;
  width: 43px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 26px var(--display);
  color: var(--teal);
  position: relative;
}
.brand-mark span {
  font-size: 16px;
  position: absolute;
  right: 5px;
  top: 2px;
  color: var(--gold);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-copy strong {
  font: 800 20px var(--display);
  letter-spacing: -0.5px;
}
.brand-copy em {
  font-style: normal;
  color: var(--teal);
}
.brand-copy small {
  font-size: 14px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 700;
  color: #375556;
}
.main-nav > a:not(.nav-cta):hover,
.footer-bottom a:hover {
  color: var(--teal);
}
.nav-cta {
  background: var(--teal);
  color: #fff;
  padding: 13px 17px;
  border-radius: 3px;
}
.nav-cta span,
.button span {
  margin-left: 12px;
}
.nav-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 31px;
}
.hero {
  background: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 90px 0 0;
}
.hero-image {
  position: absolute;
  inset: 0 0 80px 54%;
  background: linear-gradient(
      90deg,
      var(--paper) 0%,
      rgba(247, 248, 245, 0.2) 35%,
      rgba(9, 49, 50, 0.04) 100%
    ),
    url("https://images.unsplash.com/photo-1606811971618-4486d14f3f99?auto=format&fit=crop&w=1500&q=85")
      center/cover no-repeat;
  opacity: 0.9;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 70px;
  align-items: center;
  min-height: 510px;
}
.hero-copy {
  padding: 10px 0 40px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--teal);
  margin: 0 0 17px;
}
.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 9px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--display);
  letter-spacing: -2px;
  line-height: 1.14;
  font-weight: 600;
}
h1 {
  font-size: clamp(40px, 5.1vw, 67px);
  max-width: 650px;
  margin-bottom: 22px;
}
h1 span {
  color: var(--teal);
}
h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  margin-bottom: 20px;
}
h2 em,
h1 em {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--teal);
  letter-spacing: -1px;
}
.hero-lede {
  max-width: 470px;
  color: #536d6e;
  font-size: 21px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 3px;
  padding: 14px 19px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s, background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--teal);
  color: white;
}
.button-primary:hover {
  background: var(--teal-dark);
}
.button-outline {
  border-color: #9cb7b3;
  color: var(--teal);
  background: transparent;
}
.text-link {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
}
.text-link span {
  margin-left: 10px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 53px;
}
.note-icon {
  width: 35px;
  height: 35px;
  border: 1px solid #c8d9d4;
  color: var(--teal);
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.hero-note strong,
.hero-note small {
  display: block;
}
.hero-note strong {
  font-size: 16px;
}
.hero-note small {
  font-size: 15px;
  color: var(--muted);
  margin-top: 2px;
}
.hero-card {
  background: #fff;
  padding: 29px 29px 24px;
  box-shadow: 0 22px 60px rgba(21, 61, 60, 0.12);
  border: 1px solid #e6ece9;
  margin-top: 20px;
  position: relative;
}
.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mini-label {
  font-size: 13px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: var(--muted);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6da89b;
}
.hero-card h2 {
  font-size: 28px;
  letter-spacing: -0.8px;
  margin: 20px 0 2px;
}
.hero-card > p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
}
.card-rule,
.sidebar-rule {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.hero-card-detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 0;
  color: #536a6a;
  font-size: 15px;
  line-height: 1.65;
}
.detail-icon {
  color: var(--teal);
  font-size: 24px;
  line-height: 1.2;
}
.card-link {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
}
.fine-print {
  font-size: 14px;
  color: #829291;
  line-height: 1.6;
  display: block;
  margin-top: 12px;
}
.hero-bottom {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 25px 0 27px;
  font-size: 13px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: #738583;
}
.hero-bottom i {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.section-pad {
  padding: 105px 0;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.intro h2 {
  margin-bottom: 0;
}
.intro-copy {
  max-width: 510px;
  color: #617575;
  font-size: 18px;
}
.intro-copy p {
  margin-bottom: 17px;
}
.dark-link {
  display: inline-block;
  margin-top: 12px;
}
.treatments {
  background: #f5f7f4;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: end;
  margin-bottom: 43px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 345px;
  color: #687b7b;
  font-size: 17px;
  margin-bottom: 4px;
}
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.treatment-card {
  background: #fff;
  border: 1px solid #e6ece8;
  min-width: 0;
}
.treatment-photo {
  height: 190px;
  background-size: cover;
  background-position: center;
}
.photo-braces {
  background-image: url("https://images.unsplash.com/photo-1609840114035-3c981b782dfe?auto=format&fit=crop&w=900&q=80");
}
.photo-gums {
  background-image: url("https://images.unsplash.com/photo-1606811841689-23dfddce3e95?auto=format&fit=crop&w=900&q=80");
}
.photo-smile {
  background-image: url("https://images.unsplash.com/photo-1606811971618-4486d14f3f99?auto=format&fit=crop&w=900&q=80");
}
.treatment-content {
  padding: 25px 25px 27px;
}
.treatment-no {
  font-size: 13px;
  letter-spacing: 1.4px;
  color: #80908f;
}
.treatment-content h3 {
  font: 700 23px var(--display);
  letter-spacing: -0.5px;
  margin: 12px 0;
}
.treatment-content p {
  font-size: 16px;
  color: #6b7e7d;
  min-height: 63px;
}
.arrow-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.arrow-link span {
  font-size: 20px;
  transition: transform 0.2s;
}
.arrow-link:hover span {
  transform: translate(3px, -2px);
}
.disclaimer {
  font-size: 14px;
  color: #899795;
  margin: 22px 0 0;
}
.team {
  background: #fff;
}
.doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.doctor-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border: 1px solid var(--line);
  background: white;
  min-height: 320px;
}
.doctor-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 280px;
  background: radial-gradient(circle at 50% 35%, #f8f4ec 0 19%, transparent 20%),
    linear-gradient(140deg, #dce9e4, #b4d0c8);
}
.doctor-art:before {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  border: 1px solid rgba(11, 110, 112, 0.22);
  top: 15%;
  left: calc(50% - 72px);
}
.doctor-art:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(11, 110, 112, 0.15);
  top: 9%;
  left: calc(50% - 90px);
}
.doctor-art span {
  font: 500 55px var(--serif);
  color: var(--teal);
  z-index: 1;
  letter-spacing: -3px;
}
.doctor-art small {
  z-index: 1;
  position: absolute;
  bottom: 20px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #3f6d69;
}
.doctor-art-s {
  background: radial-gradient(circle at 50% 35%, #fbf1e7 0 19%, transparent 20%),
    linear-gradient(140deg, #eee4d8, #d5c6b6);
}
.doctor-art-s span {
  color: #85694f;
}
.doctor-art-v {
  display: flex;
  align-items: center;      /* Aligns the image vertically in the center */
  justify-content: center;   /* Optional: Aligns the image horizontally in the center */
}
.doctor-info {
  padding: 28px 25px;
  align-self: center;
}
.doctor-info .eyebrow {
  font-size: 13px;
  margin-bottom: 8px;
}
.doctor-info h3 {
  font: 700 25px var(--display);
  letter-spacing: -0.7px;
  margin: 0 0 4px;
}
.credentials {
  font-size: 15px;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 15px;
}
.doctor-info > p:not(.eyebrow):not(.credentials) {
  font-size: 15px;
  color: #71817f;
  line-height: 1.8;
}
.doctor-info .arrow-link {
  margin-top: 7px;
}
.clinic {
  background: #f5f7f4;
}
.clinic-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 95px;
  align-items: center;
}
.clinic-photo-wrap {
  position: relative;
  padding: 0 0 0 0;
}
.clinic-photo-wrap:before {
  content: "";
  position: absolute;
  inset: 28px 28px 0 0;
  border: none;
  z-index: 0;
}
.clinic-photo {
  height: 430px;
  width: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--teal-dark);
  color: #fff;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 14px 19px;
  z-index: 2;
  font-size: 13px;
  letter-spacing: 1.3px;
}
.photo-caption span:first-child {
  color: #d8b780;
}
.clinic-copy > p:not(.eyebrow) {
  color: #687b7a;
  font-size: 17px;
}
.address-block {
  display: flex;
  gap: 14px;
  margin: 28px 0;
  align-items: flex-start;
}
.address-block strong {
  font-size: 16px;
}
.address-block p {
  font-size: 16px;
  color: #6a7c7b;
  line-height: 1.8;
  margin: 6px 0 0;
}
.clinic-copy .fine-print {
  max-width: 300px;
}
.contact {
  background: var(--teal-dark);
  color: white;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 100px;
  align-items: start;
}
.contact .eyebrow {
  color: #a9d3c9;
}
.contact h2 em {
  color: #a9d3c9;
}
.contact-copy > p:not(.eyebrow) {
  color: #c2d5d1;
  max-width: 400px;
  font-size: 17px;
}
.contact-method {
  display: flex;
  gap: 17px;
  margin-top: 28px;
  align-items: flex-start;
}
.contact-symbol {
  height: 38px;
  width: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #b2dcd2;
  flex-shrink: 0;
}
.contact-method div {
  display: flex;
  flex-direction: column;
}
.contact-method small {
  font-size: 13px;
  letter-spacing: 1.4px;
  color: #a8c8c2;
}
.contact-method a,
.contact-method div > span {
  font-size: 17px;
  margin-top: 3px;
}
.contact-method a:hover {
  text-decoration: underline;
}
.contact-method .muted {
  font-size: 14px;
  letter-spacing: 0;
  color: #a8c8c2;
  margin-top: 4px;
}
.contact-form {
  background: #fff;
  color: var(--ink);
  padding: 34px 34px 26px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}
.contact-form h3 {
  font: 700 26px var(--display);
  letter-spacing: -0.8px;
  margin-bottom: 7px;
}
.contact-form > p {
  font-size: 15px;
  color: #7b8c8a;
  margin-bottom: 22px;
}
.contact-form label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin: 14px 0 6px;
}
.contact-form label span {
  font-weight: 400;
  color: #879694;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9e3df;
  background: #fbfcfa;
  border-radius: 2px;
  padding: 12px 13px;
  color: var(--ink);
  font: 16px var(--sans);
  outline-color: var(--teal);
}
.contact-form textarea {
  resize: vertical;
}
.form-submit {
  width: 100%;
  margin-top: 20px;
  cursor: pointer;
}
.contact-form .fine-print {
  font-size: 13px;
}
.form-feedback {
  font-size: 15px;
  color: var(--teal);
  margin: 7px 0 0;
}
.site-footer {
  background: #073b3e;
  color: #d5e3df;
  padding: 32px 0 18px;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.brand-light .brand-mark {
  border-color: #9ac8be;
  color: #d4e8e1;
}
.brand-light .brand-copy strong {
  color: white;
}
.brand-light .brand-copy em {
  color: #a9d3c9;
}
.brand-light .brand-copy small {
  color: #9ebdb6;
}
.footer-main > p {
  font-size: 15px;
  color: #a9c4bd;
  margin: 0;
}
.back-top {
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 38px;
  width: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 18px;
  font-size: 13px;
  color: #92b1a9;
}
.footer-bottom div {
  display: flex;
  gap: 15px;
}
.profile-hero {
  background: var(--paper);
  padding: 35px 0 70px;
}
.back-link {
  font-size: 15px;
  color: var(--teal);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 35px;
}
.profile-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 90px;
  align-items: center;
  max-width: 930px;
  margin: auto;
}
.profile-portrait {
  min-height: 440px;
}
.profile-intro h1 {
  font-size: clamp(43px, 5vw, 64px);
  margin-bottom: 15px;
}
.profile-subtitle {
  font-weight: 700;
  color: var(--teal);
  font-size: 17px;
}
.profile-lede {
  font-size: 19px;
  color: #667b79;
  max-width: 500px;
  margin: 22px 0;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 28px;
}
.profile-tags span {
  font-size: 14px;
  color: #426967;
  background: #e4efeb;
  padding: 7px 12px;
  border-radius: 30px;
}
.profile-content-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 90px;
  align-items: start;
}
.profile-content h2 {
  font-size: 38px;
}
.profile-content article > p:not(.eyebrow) {
  font-size: 17px;
  color: #687c7b;
  line-height: 1.95;
}
.profile-content h3 {
  font: 700 22px var(--display);
  margin-top: 35px;
}
.profile-callout {
  display: flex;
  gap: 15px;
  background: #f3f7f4;
  border-left: 3px solid var(--teal);
  padding: 19px;
  margin: 28px 0;
}
.profile-callout strong {
  font-size: 16px;
}
.profile-callout p {
  font-size: 15px;
  color: #6d807e;
  margin: 5px 0 0;
}
.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.profile-list li {
  padding: 17px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-list li > span {
  font-size: 13px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #7d908e;
}
.profile-list strong {
  font-size: 16px;
}
.profile-list small {
  font-size: 15px;
  color: #718481;
  line-height: 1.7;
}
.profile-sidebar {
  background: #f5f7f4;
  padding: 28px;
  position: sticky;
  top: 110px;
}
.profile-sidebar h3 {
  font: 700 24px var(--display);
  margin: 0 0 3px;
}
.profile-sidebar > p {
  font-size: 15px;
  color: #647a78;
  line-height: 1.8;
}
.profile-sidebar p strong {
  color: var(--ink);
}
.profile-sidebar a:not(.button) {
  color: var(--teal);
}
.profile-sidebar .button {
  width: 100%;
  margin-top: 12px;
}
.profile-sidebar .fine-print {
  font-size: 13px;
}
.profile-source {
  background: #f5f7f4;
  padding: 35px 0;
}
.profile-source p:not(.eyebrow) {
  font-size: 15px;
  color: #667b79;
}
.profile-source a {
  color: var(--teal);
  font-weight: 700;
}
.profile-source .fine-print {
  margin-top: 8px;
}
@media (max-width: 980px) {
  .main-nav {
    gap: 15px;
  }
  .nav-cta {
    padding: 11px;
  }
  .hero-grid {
    gap: 30px;
  }
  .hero-image {
    left: 48%;
  }
  .intro-grid,
  .clinic-grid {
    gap: 55px;
  }
  .doctor-card {
    grid-template-columns: 0.75fr 1.25fr;
  }
  .doctor-info {
    padding: 22px 19px;
  }
  .contact-grid {
    gap: 50px;
  }
  .profile-layout {
    gap: 55px;
  }
  .profile-content-grid {
    gap: 45px;
  }
}
@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, 560px);
  }
  .site-header {
    height: 72px;
  }
  .nav-toggle {
    display: block;
    cursor: pointer;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    background: white;
    padding: 18px 24px 25px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 22px rgba(0, 0, 0, 0.06);
    align-items: stretch;
    gap: 0;
    flex-direction: column;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav > a {
    padding: 13px 0;
  }
  .main-nav .nav-cta {
    padding: 13px 15px;
    margin-top: 7px;
    text-align: center;
  }
  .hero {
    padding-top: 55px;
  }
  .hero-image {
    inset: 0 0 auto 0;
    height: 280px;
    opacity: 0.23;
    background-position: center 45%;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-copy h1 {
    font-size: clamp(39px, 10vw, 55px);
  }
  .hero-lede {
    font-size: 19px;
    max-width: 430px;
  }
  .hero-note {
    margin-top: 32px;
  }
  .hero-card {
    max-width: 430px;
    margin: 0 0 10px;
  }
  .hero-bottom {
    flex-wrap: wrap;
    gap: 10px 15px;
    font-size: 12px;
    padding-top: 20px;
  }
  .section-pad {
    padding: 72px 0;
  }
  .intro-grid,
  .clinic-grid,
  .contact-grid,
  .profile-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .intro-grid {
    gap: 23px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    margin-top: 20px;
  }
  .treatment-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .treatment-photo {
    height: 205px;
  }
  .treatment-content p {
    min-height: 0;
  }
  .doctor-grid {
    grid-template-columns: 1fr;
  }
  .doctor-card {
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 260px;
  }
  .doctor-art {
    min-height: 280px;
  }
  .clinic-photo {
    height: 330px;
  }
  .clinic-grid {
    gap: 42px;
  }
  .contact-grid {
    gap: 40px;
  }
  .contact-form {
    padding: 26px 22px;
  }
  .footer-main {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-main > p {
    order: 3;
    width: 100%;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .profile-portrait {
    min-height: 310px;
    max-width: 360px;
    width: 100%;
    margin: auto;
  }
  .profile-intro h1 {
    font-size: 48px;
  }
  .profile-hero {
    padding-bottom: 48px;
  }
  .back-link {
    margin-bottom: 25px;
  }
  .profile-content-grid {
    gap: 35px;
  }
  .profile-sidebar {
    position: static;
  }
  .profile-content h2 {
    font-size: 38px;
  }
}
@media (max-width: 440px) {
  .brand-copy strong {
    font-size: 18px;
  }
  .brand-copy small {
    font-size: 12px;
    letter-spacing: 1.2px;
  }
  .brand-mark {
    height: 38px;
    width: 38px;
  }
  .hero-actions {
    gap: 17px;
    flex-wrap: wrap;
  }
  .hero-card {
    padding: 23px;
  }
  .hero-bottom i {
    display: none;
  }
  .hero-bottom {
    column-gap: 15px;
  }
  .doctor-card {
    grid-template-columns: 1fr;
  }
  .doctor-art {
    min-height: 210px;
  }
  .doctor-info {
    padding: 25px;
  }
  .clinic-photo-wrap {
    padding-left: 16px;
  }
  .clinic-photo-wrap:before {
    inset: 17px 16px 0 0;
  }
  .clinic-photo {
    height: 270px;
  }
  .photo-caption {
    font-size: 12px;
    gap: 10px;
  }
  .contact-method a,
  .contact-method div > span {
    font-size: 16px;
  }
}

/* Expanded treatment directory: fluid columns on desktop and smaller screens. */
.treatment-grid-expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.treatment-grid-expanded .treatment-card {
  display: flex;
  flex-direction: column;
}
.treatment-grid-expanded .treatment-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.treatment-grid-expanded .treatment-content p {
  min-height: 0;
  flex: 1;
}
@media (max-width: 980px) {
  .treatment-grid-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .treatment-grid-expanded {
    grid-template-columns: 1fr;
  }
  .treatment-grid-expanded .treatment-photo {
    height: 190px;
  }
}





.clinic-slider {
  width: 100%;
  overflow: hidden;
}

.clinic-slide {
  display: none;
}

.clinic-slide.active {
  display: block;
}

.clinic-slide img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
}

.clinic-slide-caption {
  margin: 0;
  padding: 2px 2px;
  text-align: center;
  font-size: 12px;
  color: #084c50;
  background: #f4f8f6;
}

.clinic-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  padding: 2px 0;
}

.clinic-slider-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  min-height: 20px;
  border: none;
  background: #084c50;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.clinic-slider-controls button:hover {
  background: #06383b;
}

#clinicCounter {
  font-size: 10px;
  color: #555;
}

@media (max-width: 600px) {
  .clinic-slide img {
    height: 270px;
  }

  .clinic-slider-controls button {
    padding: 6px 8px;
    font-size: 13px;
  }
}
