/* ===== Oralyn — Design tokens ===== */
:root {
  --blue: #4a72ff;
  --blue-dark: #3a5ee0;
  --blue-light: #e8edff;
  --black: #1a1a1a;
  --gray-900: #2d2d2d;
  --gray-600: #6b6b6b;
  --gray-500: #8a8a8a;
  --gray-400: #a3a3a3;
  --gray-200: #e8e8e8;
  --gray-100: #f3f3f3;
  --gray-50: #f9f9f9;
  --white: #ffffff;
  --orange: #ff8c42;
  --yellow: #f5b301;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 12px 40px rgba(74, 114, 255, 0.12);
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

main {
  overflow-x: hidden;
  max-width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: clip;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--outline {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
}

.btn--outline:hover {
  border-color: var(--gray-400);
  box-shadow: var(--shadow-sm);
}

.btn--contact {
  padding: 12px 22px;
  font-size: 14px;
}

.btn--dark {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 16px 28px;
}

.btn--dark:hover {
  background: #333;
  box-shadow: var(--shadow-md);
}

.btn--lg {
  padding: 18px 32px;
  font-size: 16px;
}

.btn--sm {
  padding: 14px 22px;
  font-size: 14px;
  margin-top: auto;
}

.btn--white {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius-pill);
  padding: 16px 28px;
  flex-shrink: 0;
}

.btn--white:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn__arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn__arrow--white {
  color: var(--white);
}

/* ===== Logo ===== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo__text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
}

.logo--footer .logo__text {
  font-size: 20px;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  max-width: 100%;
  overflow-x: clip;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link--active {
  color: var(--black);
}

/* Hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 120;
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover {
  border-color: var(--blue);
  background: var(--gray-50);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.header.is-menu-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.header.is-menu-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.header.is-menu-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile menu drawer */
.mobile-menu {
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 105;
}

.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu__panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  height: 100dvh;
  background: var(--white);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  z-index: 110;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.mobile-menu__close:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mobile-menu__link {
  display: block;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.mobile-menu__link:hover,
.mobile-menu__link--active {
  color: var(--black);
  background: var(--blue-light);
}

.mobile-menu__cta {
  width: 100%;
  margin-top: 24px;
}

body.menu-open {
  overflow: hidden;
}

/* ===== Badge ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 8px 16px 8px 8px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.badge:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.badge--sm {
  margin-bottom: 20px;
  padding: 6px 14px 6px 6px;
}

.badge__avatars {
  display: flex;
  align-items: center;
}

.badge__avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  margin-left: -10px;
}

.badge__avatars img:first-child {
  margin-left: 0;
}

.badge--sm .badge__avatars img {
  width: 28px;
  height: 28px;
}

.badge__text {
  font-size: 13px;
  color: var(--gray-600);
  white-space: nowrap;
}

.badge__text strong {
  color: var(--black);
  font-weight: 700;
}

/* ===== Hero ===== */
.hero {
  padding: 48px 0 72px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 20px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
}

.hero__title-line {
  display: block;
}

.hero__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 440px;
  margin-bottom: 32px;
}

.hero__visual {
  position: relative;
}

.hero__image-wrap {
  position: relative;
}

.hero__image {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  height: auto;
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

/* Hero overlay cards */
.hero-card {
  position: absolute;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.hero-card--doctor {
  left: -24px;
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 12px 16px;
  min-width: 220px;
}

.hero-card__photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-card__info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hero-card__label {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}

.hero-card__icon {
  flex-shrink: 0;
}

.hero-card--treatment {
  right: -16px;
  bottom: 24px;
  width: 200px;
  padding: 20px;
  background: linear-gradient(145deg, var(--blue) 0%, #5b82ff 50%, var(--orange) 120%);
  color: var(--white);
}

.hero-card__treatment-icon {
  font-size: 36px;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.hero-card__treatment-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-card__treatment-desc {
  font-size: 11px;
  line-height: 1.5;
  opacity: 0.92;
}

/* ===== Stats ===== */
.stats {
  padding: 56px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.stats__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.stats__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.stats__desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  max-width: 280px;
}

.stats__item {
  text-align: left;
  padding-top: 4px;
}

.stats__number {
  display: block;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  min-width: 2.5ch;
  transition: color 0.35s ease, transform 0.35s ease;
}

.stats__number.is-counting {
  color: var(--blue);
  transform: scale(1.05);
}

.stats__item:hover .stats__number {
  color: var(--blue);
  transition: color 0.3s ease;
}

.stats__label {
  font-size: 14px;
  color: var(--gray-500);
}

/* ===== Services ===== */
.services {
  padding: 80px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.service-card--intro {
  display: flex;
  flex-direction: column;
  padding: 8px 8px 0 0;
}

.service-card__tagline {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 280px;
}

.service-card__link {
  font-size: 14px;
  color: var(--gray-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 28px;
  display: inline-block;
}

.service-card__link:hover {
  color: var(--blue);
}

.service-card--detail {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.service-card--detail:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-sm);
}

.hover-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(74, 114, 255, 0.14);
}

.hover-card:hover .service-card__image {
  transform: scale(1.04);
}

.service-card__image {
  transition: transform 0.5s ease;
}

.hover-lift {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
}

.hover-lift:hover .hero__image,
.hover-lift:hover .commitment__image {
  transform: scale(1.02);
}

.hero__image,
.commitment__image {
  transition: transform 0.5s ease;
}

.service-card__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.service-card__image-wrap {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ===== Commitment ===== */
.commitment {
  padding: 40px 0 80px;
}

.commitment__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.commitment__image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.commitment__title {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.commitment__desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 460px;
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 80px 0 64px;
  background: var(--gray-50);
}

.testimonials__header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials__title {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.testimonials__subtitle {
  font-size: 15px;
  color: var(--gray-600);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: box-shadow 0.25s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--blue);
}

.testimonial-card:hover .testimonial-card__quote {
  transform: scale(1.08);
}

.testimonial-card__quote {
  transition: transform 0.3s ease;
}

.testimonial-card__quote {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--blue);
  font-family: Georgia, serif;
  margin-bottom: 12px;
}

.testimonial-card__text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}

.stars {
  display: flex;
  gap: 2px;
  font-size: 14px;
  color: var(--yellow);
  letter-spacing: 1px;
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
}

.dot--active {
  background: var(--blue);
  width: 24px;
  border-radius: var(--radius-pill);
}

/* ===== CTA ===== */
.cta {
  padding: 0 0 80px;
}

.cta__banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 48px 56px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--blue) 0%, #5a7fff 45%, var(--blue-dark) 100%);
  overflow: hidden;
}

.cta__content {
  flex: 1;
  min-width: 260px;
  z-index: 1;
}

.cta__title {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cta__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 400px;
  line-height: 1.6;
}

.cta__banner .btn--white {
  z-index: 1;
}

.cta__tooth {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
  pointer-events: none;
}

.cta__tooth svg {
  width: 140px;
  height: 140px;
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-50);
  padding-top: 64px;
  max-width: 100%;
  overflow-x: clip;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__about {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.social-icon:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--blue-light);
}

.footer__heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--black);
}

.footer__list li {
  margin-bottom: 12px;
}

.footer__list a {
  font-size: 14px;
  color: var(--gray-600);
  transition: color 0.2s;
}

.footer__list a:hover {
  color: var(--blue);
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer__contact-icon {
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 2px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 24px 32px;
  border-top: 1px solid var(--gray-200);
}

.footer__copy {
  font-size: 13px;
  color: var(--gray-500);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 13px;
  color: var(--gray-500);
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: var(--black);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero__grid,
  .commitment__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual,
  .hero__image-wrap {
    overflow: hidden;
    max-width: 100%;
  }

  .hero__image {
    margin: 0 auto;
    min-height: 400px;
    max-width: 100%;
    width: 100%;
  }

  .hero-card--doctor,
  .hero-card--treatment {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 16px;
    width: 100%;
    min-width: 0;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .stats__intro {
    grid-column: 1 / -1;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .cta__tooth {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav--desktop,
  .header__contact--desktop {
    display: none !important;
  }

  .nav-toggle {
    display: flex;
  }

  .header__inner {
    height: 72px;
    gap: 12px;
  }

  .logo__text {
    font-size: 20px;
  }

  .container {
    padding: 0 16px;
  }

  /* Prevent horizontal scroll from slide-in reveals */
  .reveal--left,
  .reveal--right {
    transform: translateY(32px);
  }

  .reveal--left.is-visible,
  .reveal--right.is-visible {
    transform: translate(0, 0);
  }

  .hero__title {
    font-size: clamp(32px, 8vw, 42px);
    max-width: 100%;
  }

  .hero__desc {
    font-size: 15px;
    max-width: 100%;
  }

  .hero__content {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .badge {
    max-width: 100%;
  }

  .badge__text {
    white-space: normal;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }

  .service-card__tagline {
    font-size: 22px;
    max-width: 100%;
  }

  .service-card__link {
    word-break: break-word;
  }

  .cta__banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 28px 20px;
    overflow: hidden;
  }

  .cta__banner .btn--white {
    width: 100%;
    justify-content: center;
  }

  .cta__content {
    min-width: 0;
    max-width: 100%;
  }

  .hero {
    padding-top: 32px;
    overflow-x: clip;
  }

  .hero__grid {
    gap: 28px;
  }

  .hero__visual {
    overflow: hidden;
    width: 100%;
  }

  .hero-card--doctor,
  .hero-card--treatment {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 16px;
    width: 100%;
    min-width: 0;
  }

  .hero__image-wrap {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
  }

  .hero__image {
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    min-height: 280px;
  }

  .commitment__image-wrap {
    overflow: hidden;
    border-radius: var(--radius-xl);
  }

  .commitment__image {
    width: 100%;
    max-width: 100%;
  }

  .footer__contact li {
    word-break: break-word;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stats__desc {
    max-width: none;
    margin: 0 auto;
  }

  .stats__item {
    text-align: center;
  }

  .commitment__image {
    height: 320px;
  }

  .footer__main {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero: show content immediately (text must be readable before JS runs) */
.hero.reveal-section .reveal {
  opacity: 1;
  transform: none;
}

/* ===== Scroll reveal animations (section-wise) ===== */
.reveal-section {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal--left {
  transform: translateX(-48px);
}

.reveal--right {
  transform: translateX(48px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hover-card:hover,
  .hover-lift:hover,
  .hero-card:hover,
  .btn:hover {
    transform: none;
  }
}
