:root {
  --navy: #143f4a;
  --teal: #226b66;
  --teal-light: #2d7a75;
  --gray: #4b5563;
}

html {
  scroll-padding-top: 116px;
}

.announcement-bar a {
  display: inline-block;
  white-space: nowrap;
}

nav {
  height: 104px;
}

.nav-logo img {
  max-height: 94px;
}

.lang-switch,
.page-hero p,
.hero p,
.hero-stat-label,
.cta-box p {
  opacity: 0.96;
}

.nav-links a[aria-current="page"] {
  color: var(--teal);
  font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--teal);
  padding-bottom: 5px;
}

.mob-overlay a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.gallery-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.gallery-card img[src$="STC_current.webp"] {
  object-fit: contain;
  background: #e7f1f0;
  padding: 8px;
}

.gallery-overlay {
  display: none;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.location-actions a,
.map-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.location-actions .map-link,
.map-link {
  background: #fff;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.cta-section {
  background: linear-gradient(135deg, #0e7490, #226b66);
}

.phone-cta a[href*="wa.me"] {
  color: #fff !important;
}

footer p,
footer a,
.footer-grid p,
.footer-grid a {
  opacity: 0.92 !important;
}

.footer-bottom {
  opacity: 0.84;
}

.seo-tags {
  font-size: 12px;
  opacity: 0.78;
}

.faq-q {
  line-height: 1.4;
}

.faq-a a {
  color: var(--teal);
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 1180px) {
  nav {
    height: 82px !important;
    padding: 6px 18px !important;
  }

  .nav-logo img {
    max-height: 66px !important;
    max-width: 190px;
  }

  .nav-logo .nav-tagline,
  .nav-links {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 92px;
  }

  .announcement-bar {
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.35;
  }

  nav {
    height: 82px !important;
    padding: 6px 14px !important;
  }

  .nav-logo img {
    max-height: 66px !important;
    max-width: 190px;
  }

  .hero {
    padding: 44px 20px;
    gap: 28px;
  }

  .page-hero {
    padding: 56px 20px 44px;
  }

  section,
  .section-inner {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .cta-box {
    padding: 36px 20px;
    margin-top: 20px;
  }

  .case-card {
    padding: 28px 20px;
  }

  .associate-grid,
  .clinic-location-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .associate-grid {
    padding: 24px 20px;
  }

  .mob-overlay a {
    padding: 16px 0;
  }

  .mob-overlay .mob-cta {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
