  /* ============================================
   Lincoln Foot & Ankle Center — Homepage Mockup
   Brand match: lincolnfootandankle.com
   Accent #4c9880 for links/buttons only; neutral surfaces
   ============================================ */

:root {
  /* Brand — from lincolnfootandankle.com */
  --teal: #4c9880;           /* primary brand accent (links, icons, highlights) */
  --teal-dark: #31645c;      /* filled buttons / hover (AA white text: 6.76:1) */
  --teal-heading: #008080;   /* section titles (matches live h1/h5; 4.77:1) */
  --teal-light: #e7f8f6;     /* sparse mint only (header/footer accents) */
  --teal-muted: #9cc4b6;     /* soft borders / muted icons */
  --teal-deep: #1d4b41;
  --teal-ink: #26312d;

  /* Neutrals — readable, not green-washed */
  --white: #ffffff;
  --mint: #f7faf9;
  --gray-50: #f6f8fa;        /* muted section bg (neutral) */
  --gray-100: #eef2f5;
  --gray-200: #dde4ea;
  --gray-400: #8a9aab;
  --gray-600: #4a5560;       /* secondary text */
  --gray-800: #333333;       /* body copy (12.63:1 on white) */
  --gray-900: #1f2933;       /* strong emphasis (14.76:1) */

  /* Dark surfaces (hero) — deep green, not navy blue */
  --navy: #1d4b41;
  --navy-dark: #26312d;

  /* Soft accents (hero highlights) */
  --gold: #c8e4da;
  --gold-light: #e7f8f6;

  --shadow-sm: 0 1px 3px rgba(31, 41, 51, 0.06);
  --shadow-md: 0 4px 20px rgba(31, 41, 51, 0.08);
  --shadow-lg: 0 12px 40px rgba(31, 41, 51, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --utility-bar-height: 40px;
  --header-height: 76px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

img, iframe { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section--muted { background: var(--gray-50); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--teal-heading);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

.section-header { text-align: center; margin-bottom: 48px; }

.lead { font-size: 1.0625rem; color: var(--gray-600); margin-bottom: 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  appearance: none;
}


.btn--schedule {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn--schedule svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--schedule:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}


.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.25);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal-muted);
}
.btn--outline:hover {
  background: var(--teal-light);
  border-color: var(--teal-dark);
}

.btn--white {
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--white);
}
.btn--white:hover { background: var(--gray-50); color: var(--navy); }

.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* Utility top bar — brand chrome (darker teal for AA white text) */
.utility-bar {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8125rem;
  min-height: var(--utility-bar-height);
  display: flex;
  align-items: center;
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.utility-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  transition: color var(--transition);
}
.utility-bar__item:hover { color: var(--white); }

.utility-bar__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.85;
}

.utility-bar__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  :root {
    --utility-bar-height: 72px;
  }
  .utility-bar {
    font-size: 0.75rem;
  }
  .utility-bar__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    overflow-x: hidden;
  }
  .utility-bar__item--address {
    min-width: 0;
    width: 100%;
  }
  .utility-bar__item--address span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .utility-bar__actions {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .utility-bar__actions .utility-bar__item {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
  }
  .utility-bar__actions .utility-bar__item:last-child {
    justify-content: flex-end;
  }
  .utility-bar__actions .utility-bar__item span {
    white-space: nowrap;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  height: var(--header-height);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.header__mobile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--teal);
  border-radius: var(--radius-sm);
}
.header__phone-icon svg { width: 22px; height: 22px; }
.header__phone-icon:hover { background: var(--teal-light); }

@media (min-width: 992px) {
  .header__mobile-actions { display: none; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-900);
  flex-shrink: 1;
  min-width: 0;
  max-width: min(240px, 58vw);
  text-decoration: none;
}
.logo:hover { opacity: 0.88; }

.logo__img {
  height: 70px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}
@media (max-width: 991px) {
  .logo__img { height: 42px; }
}
@media (max-width: 480px) {
  .logo__img { height: 60px; }
  .logo { max-width: 52vw; }
}
.logo--footer {
  max-width: 260px;
}
.logo--footer .logo__img {
  height: 100px;
}

/* Navigation */
.nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.nav__link:hover,
.nav__link--active { color: var(--teal-dark); background: var(--gray-50); }

.nav__dropdown-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  flex-shrink: 0;
}

.nav__dropdown { position: relative; }
.nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 50;
}
.nav__dropdown:hover .nav__submenu,
.nav__dropdown:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--gray-800);
  border-radius: var(--radius-sm);
}
.nav__submenu a:hover { background: var(--gray-50); color: var(--teal-dark); }

.nav__cta { margin-left: 12px; }

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav open state */
@media (max-width: 991px) {
  .nav.nav--open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: calc(var(--utility-bar-height) + var(--header-height)) 0 0 0;
    background: var(--white);
    padding: 24px 20px 100px;
    overflow-y: auto;
    align-items: stretch;
    z-index: 99;
  }
  .nav.nav--open .nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav.nav--open .nav__link {
    padding: 14px 16px;
    font-size: 1rem;
    width: 100%;
    justify-content: space-between;
  }
  .nav.nav--open .nav__dropdown { width: 100%; }
  .nav.nav--open .nav__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--gray-50);
    margin-top: 4px;
    display: none;
  }
  .nav.nav--open .nav__dropdown.is-open .nav__submenu { display: block; }
  .nav.nav--open .nav__cta {
    margin: 16px 0 0;
    width: 100%;
    padding: 16px;
  }
}

@media (min-width: 992px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(520px, 82vh, 720px);
  overflow: hidden;
  background: var(--navy-dark);
}

.hero__slides { position: relative; height: 100%; min-height: inherit; }

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
  display: flex;
  align-items: center;
}
.hero__slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: 70% center;
  transform: scale(1.06);
  transition: transform 8s ease;
}
.hero__slide--active .hero__bg { transform: scale(1); }

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 49, 45, 0.90) 0%, rgba(29, 75, 65, 0.72) 38%, rgba(49, 100, 92, 0.28) 64%, rgba(76, 152, 128, 0.10) 100%),
    linear-gradient(180deg, rgba(38, 49, 45, 0.18) 0%, transparent 35%, rgba(29, 75, 65, 0.50) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 56px 20px 120px;
  max-width: 640px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 6.4vw, 4rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 18px;
  text-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__desc {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.play-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(76, 152, 128, 0.28);
}

.hero__controls {
  position: absolute;
  bottom: 88px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__pager { display: flex; align-items: center; gap: 16px; }

.hero__index {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.hero__index em {
  font-style: normal;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.hero__dots { display: flex; gap: 8px; }

.hero__dot {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  border: 0;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}
.hero__dot--active,
.hero__dot:hover {
  background: var(--teal);
  width: 40px;
}

.hero__arrows { display: flex; gap: 8px; }

.hero__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all var(--transition);
}
.hero__arrow:hover {
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--white);
}

/* Trust bar */
.trust-wrap {
  position: relative;
  z-index: 4;
  margin-top: -56px;
  margin-bottom: 8px;
}

.trust-bar {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.trust-bar li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 20px 18px;
  border-bottom: 1px solid var(--gray-100);
  border-right: 1px solid var(--gray-100);
}
.trust-bar li:nth-child(2n) { border-right: none; }
.trust-bar li:nth-last-child(-n+2) { border-bottom: none; }

.trust-bar svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-bar strong {
  display: block;
  color: var(--gray-900);
  font-size: 0.9375rem;
  line-height: 1.3;
}
.trust-bar span {
  display: block;
  color: var(--gray-600);
  font-size: 0.8125rem;
  margin-top: 2px;
}

@media (min-width: 900px) {
  .trust-bar { grid-template-columns: repeat(4, 1fr); }
  .trust-bar li {
    border-bottom: none;
    border-right: 1px solid var(--gray-100);
    padding: 24px 20px;
  }
  .trust-bar li:last-child { border-right: none; }
}

/* Conditions */
.conditions {
  padding-top: 48px;
  padding-bottom: 16px;
}

.doctors {
  padding-top: 16px;
}

.conditions__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 900px) {
  .conditions__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 1100px) {
  .conditions__grid { grid-template-columns: repeat(6, 1fr); }
}

.condition-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 22px 18px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  color: inherit;
  min-height: 220px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.condition-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-muted);
  color: inherit;
}

.condition-card__icon {
  width: 40px;
  height: 40px;
  color: var(--teal);
  margin-bottom: 14px;
}
.condition-card__icon svg { width: 100%; height: 100%; }

.condition-card h3 {
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.condition-card p {
  font-size: 0.8125rem;
  color: var(--gray-600);
  flex: 1;
}

.condition-card__arrow {
  margin-top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-50);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}


.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal[hidden] { display: none; }

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 75, 65, 0.78);
}

.video-modal__dialog {
  position: relative;
  width: min(960px, 100%);
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: var(--white);
}
.video-modal__bar h2 { font-size: 0.9375rem; font-weight: 600; }

.video-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.video-modal__frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.info-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.info-card--accent {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--navy) 100%);
  border: none;
  color: rgba(255,255,255,0.9);
}
.info-card--accent .info-card__title { color: var(--white); }
.info-card--accent p { margin-bottom: 16px; font-size: 0.9375rem; }

.info-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}



/* Doctors */
.doctors__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .doctors__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .doctors__grid { grid-template-columns: repeat(3, 1fr); }
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}


.doctor-card__photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--gray-100);
}
.doctor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

  
.doctor-card__photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--gray-100);
}

.doctor-card__photo__ani {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--gray-100);
}

.doctor-card__photo__ani img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  animation: doctor-card__photo__ani__zoom 15s infinite;
}

.doctor-card__photo__ani img:nth-child(1) {
    animation-delay: 0s;
  }
.doctor-card__photo__ani img:nth-child(2) {
    animation-delay: 5s;
  }
.doctor-card__photo__ani img:nth-child(3) {
    animation-delay: 10s;
  }

@keyframes doctor-card__photo__ani__zoom {
	0% { opacity: 0; }
	8% { opacity: 1; }
	33% { opacity: 1; }
	41% { opacity: 0; }
    100% { opacity: 0; }
}


.doctor-card__coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.875rem;
}
.doctor-card__coming-soon svg { width: 64px; height: 64px; opacity: 0.5; }

.doctor-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.doctor-card__role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.doctor-card__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.doctor-card__body p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 12px;
  flex: 1;
}

.doctor-card__focus {
  font-size: 0.8125rem !important;
  color: var(--gray-800) !important;
  padding: 10px 14px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  margin-bottom: 16px !important;
}


.doctor-card__link {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: auto;
}

/* Reviews marquee */
.reviews {
  overflow: hidden;
  padding-bottom: 72px;
}

.reviews .section-header {
  margin-bottom: 36px;
}

.reviews__track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reviews__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: reviews-scroll 45s linear infinite;
  padding: 8px 20px;
}

.reviews__track:hover {
  animation-play-state: paused;
}

@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-card {
  flex: 0 0 min(320px, 78vw);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card__stars {
  color: var(--teal);
  letter-spacing: 2px;
  font-size: 0.9375rem;
  line-height: 1;
}

.review-card p {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.45;
  color: var(--gray-900);
  flex: 1;
}

.review-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.review-card__author strong {
  color: var(--gray-900);
  font-size: 0.875rem;
}

@media (prefers-reduced-motion: reduce) {
  .reviews__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
  }
  .review-card[aria-hidden="true"] { display: none; }
}

/* Community */
.community__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .community__grid { grid-template-columns: 1.2fr 1fr; }
}

.community__content p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 0.9375rem;
}
.community__content .btn { margin-top: 8px; }

.community__support-label {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 16px;
}

.community__logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.community__logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
  min-height: 72px;
}

/* CTA section */
.cta-section__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .cta-section__grid { grid-template-columns: repeat(3, 1fr); }
}

.cta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
}

.cta-card__visual {
  height: 160px;
  background: var(--gray-100);
  background-size: cover;
  background-position: center;
}
.cta-card__visual--payment {
  background-image: linear-gradient(rgba(0,128,128,0.3), rgba(0,128,128,0.3)),
    url('./assets/online_payment.jpg');
}
.cta-card__visual--portal {
  background-image: linear-gradient(rgba(0,128,128,0.3), rgba(0,128,128,0.3)),
    url('./assets/patient_portal_footer.jpg');
}
.cta-card__visual--map {
  height: 160px;
  padding: 0;
}
.cta-card__visual--map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cta-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.cta-card__body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.cta-card__body p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  flex: 1;
  margin-bottom: 16px;
}
.cta-card__link {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: auto;
}

/* Footer — deep teal-navy so the logo footprint contrast is clear */
.footer {
  background: var(--teal-ink);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 56px;
}

.footer__grid {
  display: grid;
  gap: 32px;
  padding-bottom: 40px;
}

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.footer__tagline {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.72);
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.footer__social-link svg { width: 18px; height: 18px; }
.footer__social-link:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.footer__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
}
.footer__links a:hover { color: var(--teal-muted); }

.footer__hours {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.footer__hours dt {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.footer__hours dd {
  text-align: right;
  color: rgba(255, 255, 255, 0.65);
}

.footer__contact {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
}
.footer__contact a { color: var(--teal-muted); }
.footer__contact a:hover { color: var(--white); }

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__badge {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}
.footer__bottom-inner p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* Mobile sticky CTA */
.mobile-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(29, 75, 65, 0.10);
}

@media (min-width: 992px) {
  .mobile-cta { display: none; }
}

body { padding-bottom: 64px; }

@media (min-width: 992px) {
  body { padding-bottom: 0; }
}

.mobile-cta__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 8px;
  text-align: center;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  border-right: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.mobile-cta__btn:last-child { border-right: none; }
.mobile-cta__btn svg { width: 20px; height: 20px; }
.mobile-cta__btn:hover { background: var(--gray-50); }

.mobile-cta__btn--primary {
  background: var(--teal-dark);
  color: var(--white);
}
.mobile-cta__btn--primary:hover {
  background: var(--navy);
  color: var(--white);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 95;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}
.back-to-top svg { width: 22px; height: 22px; }

.back-to-top.is-visible {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--navy);
}

@media (min-width: 992px) {
  .back-to-top { bottom: 28px; }
}

/* ============================================
   Interior pages (e.g. bunions.html)
   ============================================ */

.nav__submenu a.nav__submenu-link--active,
.nav__submenu-link--active {
  color: var(--teal-dark);
  background: var(--gray-50);
  font-weight: 600;
}

.nav__dropdown--active > .nav__dropdown-toggle {
  color: var(--teal-dark);
  background: var(--gray-50);
}

/* Page hero — full-bleed, homepage-caliber */
.page-hero {
  position: relative;
  min-height: clamp(360px, 52vh, 520px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--navy-dark);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
  animation: page-hero-zoom 14s ease forwards;
}

@keyframes page-hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(38, 49, 45, 0.94) 0%, rgba(29, 75, 65, 0.78) 38%, rgba(49, 100, 92, 0.4) 68%, rgba(76, 152, 128, 0.18) 100%),
    linear-gradient(180deg, rgba(38, 49, 45, 0.25) 0%, transparent 42%, rgba(29, 75, 65, 0.55) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 56px 20px 64px;
  max-width: 720px;
  animation: page-hero-rise 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes page-hero-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}
.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--white);
}

.breadcrumb [aria-current="page"] {
  color: var(--gold);
}

.page-hero__eyebrow.hero__eyebrow {
  color: var(--gold);
  margin-bottom: 14px;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}
.page-hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.page-hero__desc {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  line-height: 1.65;
  margin: 0 0 28px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Content band */
.content-block--page {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(76, 152, 128, 0.08), transparent 55%),
    var(--gray-50);
  padding-top: 56px;
  padding-bottom: 72px;
}

.content-block__grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .content-block__grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 40px;
  }
}

/* Main article panel */
.content-block__panel {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 48px);
}

.content-block__body h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 400;
  color: var(--gray-900);
  line-height: 1.25;
  /* margin: 48px 0 16px; */
  padding-top: 8px;
  /* border-top: 1px solid var(--gray-100); */
}
.content-block__body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content-block__body h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: 14px;
}
.content-block__body h2:first-child::before { margin-bottom: 14px; }

.content-block__body p {
  color: var(--gray-800);
  margin-bottom: 18px;
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.content-block__list {
  list-style: none;
  margin: 8px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 68ch;
}

.content-block__list li {
  position: relative;
  padding: 14px 18px 14px 48px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  color: var(--gray-800);
  font-size: 0.975rem;
  line-height: 1.55;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition), background var(--transition);
}

.content-block__list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 1.15em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(76, 152, 128, 0.15);
}

.content-block__list li:hover {
  border-color: var(--teal-muted);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
  background: var(--white);
}

.content-block__list strong {
  color: var(--gray-900);
  font-weight: 700;
}

.content-block__list--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: none;
}

@media (min-width: 640px) {
  .content-block__list--grid {
    grid-template-columns: 1fr 1fr;
  }
}

.content-block__list--grid li {
  padding: 18px 18px 18px 48px;
  min-height: 72px;
  display: flex;
  align-items: center;
}

.content-block__list--grid li::before {
  top: 50%;
  transform: translateY(-50%);
}

.content-block__list--cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: none;
}

@media (min-width: 640px) {
  .content-block__list--cards {
    grid-template-columns: 1fr 1fr;
  }
}

.content-block__list--cards li {
  padding: 20px 20px 20px 52px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.content-block__list--cards li::before {
  width: 10px;
  height: 10px;
  left: 20px;
  top: 1.4em;
  background: var(--teal-dark);
  box-shadow: 0 0 0 5px rgba(49, 100, 92, 0.12);
}

.content-block__list--cards li:hover {
  border-color: var(--teal-muted);
  box-shadow: var(--shadow-md);
}

.content-block__callout {
  margin: 0;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(231, 248, 246, 0.95) 0%, var(--gray-50) 100%);
  border: 1px solid var(--gray-100);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-md);
  color: var(--gray-800);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: none;
}

.content-block__body small,
.content-block__attribution {
  display: block;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--gray-600);
}

/* Sticky sidebar */
.content-block__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 900px) {
  .content-block__sidebar {
    position: sticky;
    top: calc(var(--utility-bar-height) + var(--header-height) + 28px);
  }
}

.content-block__sidebar .info-card {
  margin-bottom: 0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.content-block__related {
  padding: 28px 24px;
}

.content-block__related .info-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 18px;
}

.content-block__sidebar .info-card:not(.info-card--accent):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-muted);
}

.content-block__cta {
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.content-block__cta::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.content-block__cta .info-card__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.content-block__cta p {
  margin-bottom: 20px;
  line-height: 1.6;
  opacity: 0.92;
}

.content-block__cta .btn--white {
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  padding: 14px 20px;
}

.content-block__cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(29, 75, 65, 0.28);
}

.content-block__cta-phone {
  display: block;
  margin-top: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.content-block__cta-phone:hover,
.content-block__cta-phone:focus-visible {
  color: var(--white);
}

.content-block__related-links {
  gap: 0;
}

.content-block__related-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px;
  margin: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color var(--transition), padding var(--transition);
}

.content-block__related-links li:last-child a {
  border-bottom: none;
  padding-bottom: 0;
}

.content-block__related-links a::after {
  content: "→";
  color: var(--teal);
  font-weight: 500;
  transition: transform var(--transition);
}

.content-block__related-links a:hover,
.content-block__related-links a:focus-visible {
  background: transparent;
  color: var(--teal-dark);
  padding-left: 6px;
}

.content-block__related-links a:hover::after,
.content-block__related-links a:focus-visible::after {
  transform: translateX(4px);
}

/* Focus rings */
.btn:focus-visible,
.nav__link:focus-visible,
.back-to-top:focus-visible,
.header__phone-icon:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.content-block--page .doctors__grid {
  margin-top: 32px;
}

/* Physician profile — Heidi (and reusable) */
.profile-intro {
  background:
    radial-gradient(ellipse 70% 80% at 0% 20%, rgba(76, 152, 128, 0.12), transparent 55%),
    linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
  padding: 28px 0 8px;
  border-bottom: 1px solid var(--gray-100);
}

.profile-intro__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .profile-intro__grid {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.2fr);
    gap: 56px;
    min-height: 520px;
  }
}

.profile-intro__photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-100);
  aspect-ratio: 4 / 5;
  max-height: 560px;
}

.profile-intro__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.profile-intro__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--teal-muted);
  box-shadow: none;
  background: linear-gradient(160deg, var(--gray-50) 0%, var(--gray-100) 100%);
}

.profile-intro__photo-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
}

.profile-intro__copy {
  padding: 8px 0 32px;
}

.breadcrumb--on-light {
  color: var(--gray-400);
}
.breadcrumb--on-light a {
  color: var(--teal-dark);
}
.breadcrumb--on-light a:hover,
.breadcrumb--on-light a:focus-visible {
  color: var(--navy);
}
.breadcrumb--on-light [aria-current="page"] {
  color: var(--gray-600);
}

.profile-intro__copy .section-label {
  margin-bottom: 10px;
}

.profile-intro__name {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 400;
  color: var(--gray-900);
  line-height: 1.08;
  margin-bottom: 12px;
}

.profile-intro__role {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 36em;
  margin-bottom: 22px;
  line-height: 1.65;
}

.profile-intro__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.profile-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-stats {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0;
}

.profile-stats__grid {
  display: grid;
  gap: 20px 24px;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 800px) {
  .profile-stats__grid { grid-template-columns: repeat(4, 1fr); gap: 16px 32px; }
}

.profile-stat {
  padding-right: 8px;
}
@media (min-width: 800px) {
  .profile-stat {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 24px;
  }
  .profile-stat:last-child { border-right: none; padding-right: 0; }
}

.profile-stat__value {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  color: var(--gold);
  margin-bottom: 6px;
}

.profile-stat__label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.profile-story {
  background: var(--gray-50);
  padding: 64px 0 72px;
}

.profile-story__lead {
  max-width: 720px;
  margin-bottom: 40px;
}

.profile-story__lead h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  color: var(--teal-heading);
  margin-bottom: 16px;
}

.profile-story__lead p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.profile-story__grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .profile-story__grid { grid-template-columns: 1fr 1fr; }
}

.profile-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}

.profile-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.profile-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.profile-card--wide {
  grid-column: 1 / -1;
}

.profile-cta {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 48px 0;
}

.profile-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.profile-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 8px;
}

.profile-cta p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 36em;
}

.profile-cta .btn--ghost {
  color: var(--white);
}

/* Patient information */
.visit-strip {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0;
}

.visit-strip__grid {
  display: grid;
  gap: 20px 24px;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 900px) {
  .visit-strip__grid { grid-template-columns: repeat(4, 1fr); gap: 16px 32px; }
}

.visit-strip__item {
  padding-right: 8px;
}

@media (min-width: 900px) {
  .visit-strip__item {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 24px;
  }
  .visit-strip__item:last-child { border-right: none; padding-right: 0; }
}

.visit-strip__value {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  color: var(--gold);
  margin-bottom: 6px;
}

.visit-strip__item p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.visit-prep {
  padding: 32px 0 32px;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(76, 152, 128, 0.08), transparent 55%),
    var(--white);
}

.visit-prep__lead {
  max-width: 680px;
  margin-bottom: 40px;
}

.visit-prep__lead h1,
.visit-prep__lead h2,
.visit-resources .visit-prep__lead h2,
.visit-lang__copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  font-weight: 400;
  color: var(--teal-heading);
  line-height: 1.2;
  margin-bottom: 14px;
}

.visit-prep__lead p,
.visit-lang__copy p {
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.visit-timeline {
  list-style: none;
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .visit-timeline { grid-template-columns: repeat(3, 1fr); }
}

.visit-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.visit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-dark) 100%);
}

.visit-card__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 16px;
}

.visit-card h2,
.visit-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.visit-card > p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 18px;
}

.visit-form {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--mint);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
}

.visit-form strong {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-900);
}

.visit-form span {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-600);
  margin-top: 2px;
}

.visit-checklist {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.visit-checklist li {
  position: relative;
  padding: 10px 12px 10px 36px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.4;
}

.visit-checklist li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--teal-light);
  box-shadow: inset 0 0 0 1.5px var(--teal);
}

.visit-checklist li::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--teal-dark);
  border-bottom: 1.5px solid var(--teal-dark);
  transform: rotate(-45deg);
}

.visit-checklist--muted li {
  font-weight: 500;
  color: var(--gray-600);
  background: var(--mint);
}

.visit-resources {
  padding: 32px 0 32px;
  background: var(--gray-50);
}

.visit-resource-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .visit-resource-grid { grid-template-columns: 1fr 1fr; }
}

.visit-resource {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

a.visit-resource:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-muted);
  color: inherit;
}

.visit-resource__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-dark);
  margin-bottom: 16px;
}

.visit-resource__icon svg {
  width: 22px;
  height: 22px;
}

.visit-resource h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.visit-resource p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.visit-resource__link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.visit-lang {
  padding: 32px 0 72px;
  background: var(--white);
}

.visit-lang__layout {
  display: grid;
  gap: 28px;
}

.visit-lang__note {
  margin-top: 16px;
  font-size: 0.9375rem !important;
  color: var(--teal-dark) !important;
  font-weight: 600;
}

.visit-langs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


.visit-langs li {
  padding: 8px 14px;
  background: var(--mint);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-dark);
}

.visit-lang__legal {
  padding: 18px 20px;
  background: var(--gray-50);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
  }
}

.contact-map {
  overflow: hidden;
  padding: 0;
  min-height: 320px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

@media (min-width: 900px) {
  .contact-map,
  .contact-map iframe {
    min-height: 100%;
  }
}

.contact-details {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .contact-details {
    grid-template-rows: 1fr 1fr;
  }
}

.contact-details address {
  font-size: 0.9375rem;
  color: var(--gray-800);
  line-height: 1.7;
  margin-bottom: 10px;
}

.contact-details .visit-card p {
  margin-bottom: 12px;
}

.contact-hours {
  display: grid;
  gap: 0;
}

.contact-hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9375rem;
}

.contact-hours div:last-child { border-bottom: none; }
.contact-hours dt { font-weight: 600; color: var(--gray-900); }
.contact-hours dd { text-align: right; color: var(--gray-600); line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .page-hero__bg,
  .page-hero__content { animation: none; transform: none; opacity: 1; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
