:root {
  --bg: #f7f9ff;
  --bg-soft: #eef5ff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.97);
  --line: rgba(121, 146, 180, 0.16);
  --text: #18334b;
  --muted: #657d95;
  --primary: #89d0ff;
  --primary-strong: #53b5f2;
  --secondary: #b8acf8;
  --accent: #ffe3cc;
  --accent-strong: #ffc89e;
  --shadow: 0 20px 55px rgba(105, 132, 171, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1140px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  background:
    radial-gradient(circle at 9% 10%, rgba(184, 172, 248, 0.20), transparent 25%),
    radial-gradient(circle at 88% 12%, rgba(137, 208, 255, 0.22), transparent 24%),
    radial-gradient(circle at 78% 72%, rgba(255, 227, 204, 0.28), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, #f5f8ff 42%, #eef4ff 100%);
  color: var(--text);
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.12), rgba(255,255,255,0.12)),
    linear-gradient(90deg, rgba(133,154,188,0.028) 1px, transparent 1px),
    linear-gradient(rgba(133,154,188,0.024) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.08));
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
section[id] { scroll-margin-top: 110px; }

.container { width: var(--container); margin: 0 auto; }
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(246,251,251,0.86));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.soft-card {
  position: relative;
  overflow: hidden;
}
.soft-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,172,248,0.08), transparent 42%, rgba(137,208,255,0.08));
  pointer-events: none;
}

.page-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: .55;
  z-index: 0;
}
.glow-1 { top: -140px; left: -70px; background: rgba(184, 172, 248, 0.22); }
.glow-2 { bottom: 12%; right: -80px; background: rgba(137, 208, 255, 0.18); }
.glow-3 { top: 42%; left: 35%; background: rgba(255, 227, 204, 0.18); width: 260px; height: 260px; }


.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 12px;
  transition: .35s ease;
  background: linear-gradient(180deg, rgba(251,253,255,.94), rgba(251,253,255,0));
}
.site-header.scrolled {
  background: linear-gradient(180deg, rgba(248,251,255,.96), rgba(248,251,255,.24));
  backdrop-filter: blur(18px);
}
.nav-shell {
  border-radius: 28px;
  border: 1px solid rgba(121,146,180,.12);
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(241,248,255,.88) 52%, rgba(247,243,255,.84));
  box-shadow: 0 18px 42px rgba(108,134,172,.10);
  backdrop-filter: blur(20px);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 60;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(137,208,255,.24), rgba(184,172,248,.22));
  border: 1px solid rgba(121,146,180,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.brand strong { display: block; font-size: 1rem; }
.brand small { color: var(--muted); font-size: .74rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-links a {
  color: var(--muted);
  position: relative;
  font-weight: 700;
  font-size: .92rem;
  transition: .25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transition: .25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #a9dbff, #dcecff);
  color: #123651;
  font-size: .88rem;
  font-weight: 800;
  border: 1px solid rgba(83,181,242,.16);
  box-shadow: 0 12px 24px rgba(137,208,255,.16);
  transition: transform .25s ease, box-shadow .25s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(137,208,255,.2);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  border-radius: 14px;
  padding: 9px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(110,149,164,.08);
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: .3s ease;
}

.hero,
.service-strip,
.why-us,
.doctors,
.testimonials,
.faq,
.contact { position: relative; z-index: 1; }
.hero { padding: 30px 0 24px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 34px;
}
.eyebrow, .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #24546d;
  background: rgba(104, 210, 196, 0.14);
  border: 1px solid rgba(104, 210, 196, 0.22);
  margin-bottom: 18px;
  font-size: .88rem;
  font-weight: 700;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 4.7vw, 4.45rem);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.hero-copy h1 span {
  display: inline-block;
  background: linear-gradient(90deg, #8a81e6, #f0b28b 42%, #59b8ec);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy p,
.section-copy p,
.contact-copy p,
.section-heading p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.9; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 800;
  font-size: .98rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:focus-visible { outline: 3px solid rgba(104,210,196,.34); outline-offset: 3px; }
.btn-primary {
  color: #143751;
  background: linear-gradient(90deg, #99dcff, #d1edff);
  border: 1px solid rgba(83, 181, 242, 0.16);
  box-shadow: 0 16px 30px rgba(137, 208, 255, .22);
}
.btn-secondary {
  color: #18374f;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(103,141,156,0.14);
}
.btn.full { width: 100%; }

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.hero-badges div {
  padding: 16px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(103,141,156,.10);
  text-align: center;
}
.hero-badges strong {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  font-size: 1.46rem;
  line-height: 1;
  margin-bottom: 8px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.hero-badges .metric-percent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 2px;
  direction: ltr;
}
.hero-badges strong [data-counter],
.hero-badges .metric-percent .percent-sign {
  color: inherit;
  font-size: 1em;
  line-height: 1;
}
.hero-badges > div > span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
  text-align: center;
}

.hero-visual { position: relative; }
.main-card {
  min-height: 590px;
  border-radius: 38px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(242,249,247,.98)),
    radial-gradient(circle at 78% 18%, rgba(149,181,255,.16), transparent 26%),
    radial-gradient(circle at 20% 85%, rgba(104,210,196,.14), transparent 26%);
  border: 1px solid rgba(103,141,156,.10);
  box-shadow: var(--shadow);
}
.tooth-bg {
  position: absolute;
  inset: 40px auto auto 50%;
  transform: translateX(-50%);
  width: min(76%, 410px);
  opacity: .22;
  animation: pulseSlow 7s ease-in-out infinite;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}
.orb-a {
  width: 170px; height: 170px; right: -50px; top: -50px;
  background: rgba(104, 210, 196, .20);
}
.orb-b {
  width: 150px; height: 150px; left: -40px; bottom: -30px;
  background: rgba(255, 191, 150, .18);
}
.appointment-card {
  position: absolute;
  inset: auto 26px 26px 26px;
  border-radius: 28px;
  padding: 26px;
}
.pill {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,191,150,.18);
  color: #87564a;
  border: 1px solid rgba(255,191,150,.22);
  margin-bottom: 14px;
  font-size: .82rem;
  font-weight: 700;
}
.appointment-card h3 {
  font-size: 1.88rem;
  line-height: 1.25;
  margin: 0 0 10px;
}
.appointment-card p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 18px;
}
.mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mini-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(103,141,156,.10);
  font-size: .86rem;
}
.small-card {
  position: absolute;
  top: 26px;
  left: 26px;
  width: 190px;
  border-radius: 24px;
  padding: 18px;
}
.small-card strong {
  display: block;
  font-size: 1.9rem;
  background: linear-gradient(90deg, #53b5f2, #8a81e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.small-card span {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.8;
}

.info-ribbon { padding: 6px 0 30px; position: relative; z-index: 1; }
.ribbon-grid {
  border-radius: 28px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ribbon-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ribbon-item > span {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(104,210,196,.12);
  flex: 0 0 auto;
}
.ribbon-item strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.ribbon-item p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }

.service-strip, .why-us, .doctors, .testimonials, .contact { padding: 28px 0 34px; }
.section-heading { text-align: center; margin-bottom: 22px; }
.section-heading-left { text-align: right; margin-bottom: 18px; }
.section-heading h2,
.section-copy h2,
.contact-copy h2,
.cta-wrap h2 {
  font-size: clamp(1.86rem, 3vw, 3rem);
  line-height: 1.28;
  margin: 0 0 10px;
}
.section-copy h2 span { color: #7b80db; }

.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
}
.service-chip img {
  width: 56px; height: 56px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(104,210,196,.10);
}
.service-chip h3 { margin: 0 0 6px; font-size: 1.06rem; }
.service-chip p { margin: 0; color: var(--muted); line-height: 1.8; font-size: .92rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 6px;
}
.service-card {
  padding: 22px 18px;
  border-radius: 24px;
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(149,181,255,.12);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.service-card h3 { margin: 0 0 8px; font-size: 1.04rem; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.8; font-size: .92rem; }

.section-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 28px;
  align-items: center;
}
.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.feature-item {
  border-radius: 22px;
  padding: 18px 20px;
}
.feature-item strong { display: block; margin-bottom: 6px; font-size: 1.02rem; }
.feature-item p { margin: 0; color: var(--muted); line-height: 1.8; }

.stack-cards {
  position: relative;
  min-height: 620px;
  padding-inline: 10px;
}
.stack-card {
  position: absolute;
  width: min(100%, 430px);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 28px;
  padding: 24px;
}
.stack-card span {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(104,210,196,.12);
  margin-bottom: 16px;
  font-weight: 800;
}
.stack-card h3 { margin: 0 0 8px; font-size: 1.28rem; }
.stack-card p { margin: 0; color: var(--muted); line-height: 1.8; }
.stack-card.one { top: 10px; right: 8px; z-index: 3; }
.stack-card.two { top: 210px; left: 0; z-index: 2; }
.stack-card.three { top: 410px; right: 52px; z-index: 1; }

.doctors-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.doctor-card,
.testimonial-card {
  text-align: center;
  padding: 26px 20px;
  border-radius: 28px;
}
.doctor-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 14px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  font-weight: 800;
  color: #17364d;
  background: linear-gradient(135deg, #c0f3ed, #dbe7ff);
}
.doctor-card h3 { margin: 0 0 8px; font-size: 1.06rem; }
.doctor-card p,
.testimonial-card p { margin: 0; color: var(--muted); line-height: 1.8; font-size: .92rem; }

.stars {
  color: #ffb15d;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.testimonial-card strong { display: block; margin-top: 14px; font-size: 1rem; }

.faq-wrap { position: relative; z-index: 1; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border-radius: 22px;
  padding: 0;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-weight: 800;
  font-size: 1rem;
  padding: 18px 20px;
  cursor: pointer;
}
.faq-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(149,181,255,.12);
  flex: 0 0 auto;
  transition: transform .25s ease;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: .94rem;
}
.faq-item.active .faq-answer { max-height: 180px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

.cta-band { padding: 18px 0 26px; position: relative; z-index: 1; }
.cta-wrap {
  border-radius: 34px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 26px;
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.contact-mini {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
}
.contact-mini > span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(104,210,196,.10);
  flex: 0 0 auto;
}
.contact-mini strong { display: block; margin-bottom: 4px; }
.contact-mini p { margin: 0; color: var(--muted); font-size: .92rem; }
.contact-form {
  border-radius: 30px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(242,246,255,.94));
}
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { color: #214861; font-weight: 700; font-size: .96rem; }
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(103,141,156,.15);
  background: rgba(255,255,255,.96);
  color: var(--text);
  border-radius: 16px;
  min-height: 54px;
  padding: 14px 16px;
  outline: none;
  transition: .2s ease;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(83,181,242,.58);
  box-shadow: 0 0 0 4px rgba(137,208,255,.14);
}
.field input::placeholder,
.field textarea::placeholder { color: #7f93a2; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #677d93 50%), linear-gradient(135deg, #677d93 50%, transparent 50%);
  background-position: left 18px center, left 12px center;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  padding-left: 38px;
}
.field select option { background: #ffffff; color: #17364d; }
.field select:invalid { color: #7f93a2; }
.form-note {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: .84rem;
  line-height: 1.75;
}
.contact-form .btn-primary {
  min-height: 58px;
  color: #133854;
  box-shadow: 0 18px 28px rgba(137,208,255,.20);
  white-space: nowrap;
  line-height: 1;
}
.contact-form .btn-primary:hover { box-shadow: 0 20px 36px rgba(137,208,255,.24); }
.contact-form .btn-primary.is-success {
  background: linear-gradient(90deg, #9fe7d9, #c6f2e9);
  color: #0f4a46;
  box-shadow: 0 18px 34px rgba(117, 214, 194, 0.28);
}

.form-feedback {
  min-height: 24px;
  margin: 10px 0 0;
  font-size: .84rem;
  font-weight: 700;
  color: #2e6e92;
}
.form-feedback.error {
  color: #c05f5f;
}


.site-footer {
  padding: 12px 0 84px;
  position: relative;
  z-index: 1;
}
.footer-wrap {
  border-top: 1px solid rgba(103,141,156,.10);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-wrap p { margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: .94rem;
}
.footer-links a:hover { color: var(--text); }

.mobile-book-btn {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  min-width: min(92vw, 330px);
  min-height: 50px;
  padding: 0 22px;
  border-radius: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #93d8ff, #cfeeff);
  color: #143751;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 18px 30px rgba(137,208,255,.24);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

.floating { animation: floaty 7s ease-in-out infinite; }
.tilt-card { transform-style: preserve-3d; transition: transform .18s ease, box-shadow .18s ease; }

@keyframes floaty {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes pulseSlow {
  0%,100% { transform: translateX(-50%) scale(1); opacity: .2; }
  50% { transform: translateX(-50%) scale(1.04); opacity: .28; }
}

@media (max-width: 1024px) {
  .hero-grid, .section-grid, .contact-grid, .strip-grid, .services-grid, .doctors-grid, .testimonials-grid, .ribbon-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 24px; }
  .stack-cards {
    min-height: auto;
    display: grid;
    gap: 16px;
  }
  .stack-card {
    position: static;
    width: 100%;
  }
  .cta-wrap, .footer-wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 780px) {
  :root { --container: calc(100% - 20px); }
  body { font-size: 14.2px; }
  section[id] { scroll-margin-top: 112px; }
  .nav-shell { border-radius: 22px; }
  .nav-links {
    position: fixed;
    top: 92px;
    right: 10px;
    left: 10px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(121,146,180,.14);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: .28s ease;
  }
  .nav-links a { font-size: .84rem; }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-wrap { min-height: 68px; padding: 0 12px; }
  .nav-cta { display: none; }
  .menu-btn { display: block; width: 38px; height: 38px; border-radius: 12px; }
  .hero { padding: 14px 0 22px; }
  .hero-copy h1 { font-size: clamp(1.44rem, 7.4vw, 2.18rem); margin-bottom: 12px; }
  .hero-copy p, .section-copy p, .contact-copy p, .section-heading p { font-size: .85rem; line-height: 1.72; }
  .eyebrow, .section-tag { font-size: .74rem; padding: 7px 11px; margin-bottom: 14px; }
  .hero-actions { gap: 10px; margin-top: 18px; }
  .btn { min-height: 45px; padding: 0 15px; font-size: .84rem; border-radius: 14px; }
  .hero-badges { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
  .hero-badges div { padding: 12px 9px; border-radius: 18px; }
  .hero-badges strong { min-height: 34px; font-size: 1.04rem; margin-bottom: 6px; }
  .hero-badges > div > span { font-size: .68rem; }
  .main-card { min-height: 420px; border-radius: 28px; }
  .tooth-bg { inset: 28px auto auto 50%; width: min(72%, 295px); }
  .appointment-card { inset: auto 14px 14px 14px; padding: 18px; border-radius: 22px; }
  .appointment-card h3 { font-size: 1.26rem; }
  .appointment-card p { font-size: .88rem; line-height: 1.72; }
  .mini-points { gap: 8px; }
  .mini-points span { padding: 8px 10px; font-size: .74rem; }
  .pill { font-size: .74rem; padding: 6px 10px; }
  .small-card { left: 14px; top: 14px; width: 132px; padding: 14px; border-radius: 18px; }
  .small-card strong { font-size: 1.4rem; }
  .small-card span { font-size: .72rem; line-height: 1.52; }
  .ribbon-grid { padding: 16px; gap: 12px; border-radius: 22px; }
  .ribbon-item > span { width: 40px; height: 40px; border-radius: 14px; }
  .ribbon-item strong { font-size: .9rem; }
  .ribbon-item p,
  .service-chip p,
  .service-card p,
  .feature-item p,
  .doctor-card p,
  .testimonial-card p,
  .stack-card p,
  .contact-mini p { font-size: .82rem; line-height: 1.68; }
  .service-chip,
  .service-card,
  .doctor-card,
  .testimonial-card,
  .contact-form,
  .feature-item,
  .cta-wrap,
  .stack-card,
  .faq-item,
  .contact-mini { border-radius: 20px; }
  .service-chip { gap: 12px; padding: 14px; }
  .service-chip img { width: 46px; height: 46px; padding: 10px; border-radius: 14px; }
  .service-chip h3,
  .service-card h3,
  .doctor-card h3,
  .stack-card h3 { font-size: .91rem; }
  .service-icon { width: 42px; height: 42px; border-radius: 13px; font-size: 1.02rem; margin-bottom: 10px; }
  .services-grid { gap: 12px; margin-top: 14px; }
  .service-card { padding: 16px 14px; }
  .feature-item { padding: 15px 16px; }
  .feature-item strong { font-size: .92rem; }
  .stack-cards { gap: 12px; padding-inline: 0; }
  .stack-card { min-height: auto; padding: 18px; }
  .stack-card span { width: 38px; height: 38px; border-radius: 13px; margin-bottom: 12px; font-size: .86rem; }
  .section-heading { margin-bottom: 18px; }
  .section-heading h2, .section-copy h2, .contact-copy h2, .cta-wrap h2 { font-size: 1.36rem; margin-bottom: 10px; }
  .doctor-card, .testimonial-card { padding: 18px 14px; }
  .doctor-avatar { width: 66px; height: 66px; border-radius: 20px; font-size: 1.34rem; margin-bottom: 12px; }
  .faq-question { font-size: .94rem; padding: 16px; }
  .faq-answer p { padding: 0 16px 16px; font-size: .88rem; }
  .faq-icon { width: 30px; height: 30px; border-radius: 10px; }
  .cta-wrap { padding: 20px 16px; gap: 14px; }
  .cta-wrap .btn { min-width: 150px; }
  .contact-form { padding: 18px 14px; }
  .field { gap: 6px; margin-bottom: 14px; }
  .field label { font-size: .86rem; }
  .field input, .field textarea, .field select { min-height: 45px; padding: 10px 12px; font-size: .84rem; border-radius: 14px; }
  .field textarea { min-height: 110px; }
  .form-note { font-size: .8rem; line-height: 1.68; }
  .footer-wrap p, .footer-links { font-size: .84rem; }
  .mobile-book-btn { display: inline-flex; }
}

@media (max-width: 480px) {
  :root { --container: calc(100% - 16px); }
  body { font-size: 13.6px; }
  .nav-shell { border-radius: 20px; }
  .nav-wrap { min-height: 64px; gap: 10px; padding: 0 10px; }
  .brand { gap: 10px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 14px; }
  .brand strong { font-size: .9rem; }
  .brand small { font-size: .64rem; }
  .menu-btn { width: 36px; height: 36px; }
  .hero-copy p, .section-copy p, .contact-copy p, .section-heading p { font-size: .84rem; }
  .btn { width: 100%; min-height: 44px; font-size: .83rem; }
  .hero-actions { flex-direction: column; }
  .hero-badges { grid-template-columns: 1fr; }
  .hero-badges strong { min-height: 32px; font-size: .98rem; margin-bottom: 5px; }
  .main-card { min-height: 388px; }
  .small-card { width: 122px; }
  .appointment-card h3 { font-size: 1.12rem; }
  .section-heading h2, .section-copy h2, .contact-copy h2, .cta-wrap h2 { font-size: 1.24rem; }
  .cta-wrap .btn { width: 100%; min-width: 0; }
  .mobile-book-btn { min-width: calc(100vw - 20px); min-height: 46px; font-size: .84rem; bottom: 10px; }
}


.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: rgba(192,95,95,.58);
  box-shadow: 0 0 0 4px rgba(192,95,95,.10);
}
