:root {
  --blue-950: #062760;
  --blue-900: #073482;
  --blue-800: #0645ad;
  --blue-700: #0759d6;
  --blue-100: #eaf3ff;
  --blue-50: #f5f9ff;
  --silver: #dce5f0;
  --line: rgba(7, 52, 130, 0.16);
  --text: #12203a;
  --muted: #5d6b82;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 45, 94, 0.13);
  --shadow-soft: 0 10px 30px rgba(11, 45, 94, 0.1);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
  --hero-loop-duration: 6.7s;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Tahoma, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(7, 89, 214, 0.12), transparent 32rem),
    radial-gradient(circle at 88% 22%, rgba(126, 174, 230, 0.18), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 40%, #f2f7ff 100%);
}

html,
body {
  overflow-x: hidden;
}

html[lang="en"] body {
  font-family: "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  overflow: hidden;
}

.section-pad {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: min(calc(100% - 28px), var(--container));
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 84px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  object-position: center top;
}

.brand__text {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--blue-900);
}

.phone-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.brand__text strong {
  font-size: clamp(1.05rem, 3.6vw, 1.55rem);
  line-height: 1.1;
}

.brand__text small {
  font-size: clamp(0.68rem, 2.2vw, 0.92rem);
  letter-spacing: 0.08em;
  font-weight: 700;
}

html[dir="rtl"] .brand__text small {
  letter-spacing: 0.06em;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-950);
  font-size: clamp(0.82rem, 2.4vw, 0.98rem);
  white-space: nowrap;
}

.language-switch a {
  color: var(--muted);
  transition: color 180ms ease;
}

.language-switch a:hover {
  color: var(--blue-800);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-800);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(7, 52, 130, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.icon-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.hero {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 48px 0 28px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0.32;
}

.hero::before {
  inset-inline-start: -90px;
  bottom: -10px;
  width: 270px;
  height: 360px;
  background: url("../images/logoonly.png") center / contain no-repeat;
  filter: grayscale(1) sepia(1) hue-rotate(175deg) saturate(2);
  opacity: 0.08;
}

.hero::after {
  inset-inline-end: -60px;
  top: 120px;
  width: 190px;
  height: 190px;
  border: 4px solid rgba(7, 52, 130, 0.08);
  border-radius: 44% 56% 50% 50%;
  transform: rotate(20deg);
}

.hero__copy {
  position: relative;
  z-index: 2;
  text-align: center;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-800);
  font-size: 0.88rem;
  font-weight: 800;
}

.eyebrow span {
  color: var(--muted);
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(2.25rem, 9.5vw, 5.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--text);
  font-size: clamp(1.05rem, 3.7vw, 1.5rem);
  line-height: 1.85;
}

.hero__english {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 8px;
  color: #56627a;
  font-size: clamp(1rem, 3vw, 1.28rem);
}

.hero__english::before,
.hero__english::after {
  content: "";
  width: clamp(38px, 13vw, 92px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(7, 52, 130, 0.35));
}

.hero__english::after {
  background: linear-gradient(90deg, rgba(7, 52, 130, 0.35), transparent);
}

.cta-stack {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin: 18px auto 0;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 92px;
  padding: 18px;
  border-radius: 22px;
  text-align: center;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cta > span:not(.cta__icon),
.social-card > span:not(.social-icon) {
  min-width: 0;
}

.cta strong,
.cta small {
  display: block;
  min-width: 0;
}

.cta strong {
  font-size: clamp(1.4rem, 5.8vw, 2.1rem);
  line-height: 1.2;
}

.cta small {
  margin-top: 4px;
  font-size: clamp(1.2rem, 5vw, 1.9rem);
  font-weight: 800;
}

.cta--primary {
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(135deg, var(--blue-700), var(--blue-950));
  box-shadow: 0 22px 42px rgba(6, 69, 173, 0.24);
}

.cta--outline {
  color: var(--blue-900);
  border: 2px solid rgba(7, 69, 173, 0.7);
  background: rgba(255, 255, 255, 0.82);
}

.cta__icon,
.social-icon,
.service-icon {
  flex: 0 0 auto;
}

.cta__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.whatsapp-svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.cta--outline .cta__icon {
  border-color: var(--line);
  background: var(--blue-50);
}

.phone-icon::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
}

.phone-icon::before {
  content: "☎";
}

.mini-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 14px auto 0;
}

.mini-contact {
  display: grid;
  gap: 4px;
  min-height: 80px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.mini-contact span {
  color: var(--blue-800);
  font-weight: 800;
}

.mini-contact strong {
  color: var(--blue-950);
  font-size: clamp(0.98rem, 3.6vw, 1.26rem);
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 290px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92), rgba(234, 243, 255, 0.72) 48%, rgba(219, 234, 254, 0.6) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(234, 243, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(7, 89, 214, 0.13), transparent 68%);
  opacity: 0.55;
  filter: blur(2px);
}

.hero-glow {
  position: absolute;
  width: min(68%, 330px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(7, 89, 214, 0.24), rgba(7, 89, 214, 0.08) 42%, transparent 70%);
  opacity: 0;
  filter: blur(8px);
  animation: heroGlowSequence var(--hero-loop-duration) ease-in-out infinite;
}

.hero-final-logo {
  position: absolute;
  z-index: 3;
  width: min(62%, 320px);
  max-height: 78%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 20px 30px rgba(7, 52, 130, 0.12));
  transform: translateY(16px) scale(0.92);
  animation: finalLogoReveal var(--hero-loop-duration) cubic-bezier(0.55, 0, 0.2, 1) infinite;
}

.hero-tooth-svg {
  position: relative;
  z-index: 2;
  width: min(70%, 330px);
  fill: none;
  color: var(--blue-800);
  filter: drop-shadow(0 18px 28px rgba(7, 52, 130, 0.15));
  animation: toothSvgFadeOut var(--hero-loop-duration) ease-in-out infinite;
}

.tooth-outline,
.tooth-detail,
.tooth-spark {
  stroke: currentColor;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tooth-outline {
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  animation: toothDraw var(--hero-loop-duration) cubic-bezier(0.55, 0, 0.2, 1) infinite;
}

.tooth-detail {
  stroke-width: 5;
  stroke: rgba(7, 52, 130, 0.5);
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: detailDraw var(--hero-loop-duration) ease-in-out infinite;
}

.detail-two {
  animation-delay: 0s;
}

.tooth-spark {
  stroke-width: 4;
  stroke: rgba(7, 89, 214, 0.65);
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  opacity: 0;
  animation: sparkReveal var(--hero-loop-duration) ease-in-out infinite;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 18px;
  text-align: center;
}

.section-heading img {
  width: 28px;
  opacity: 0.95;
}

.section-heading h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(1.45rem, 5vw, 2rem);
}

.section-heading--line::before,
.section-heading--line::after {
  content: "";
  width: clamp(44px, 12vw, 110px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(7, 52, 130, 0.35));
}

.section-heading--line::after {
  background: linear-gradient(90deg, rgba(7, 52, 130, 0.35), transparent);
}

.card-grid {
  display: grid;
  gap: 12px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.social-card strong,
.social-card small {
  display: block;
}

.social-card strong {
  color: var(--text);
  font-size: 1rem;
}

.social-card small {
  margin-top: 5px;
  color: var(--blue-900);
  font-weight: 800;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  color: var(--white);
  font-weight: 900;
}

.social-icon--instagram {
  background: radial-gradient(circle at 25% 95%, #ffd776, #f04d4d 35%, #a734cb 65%, #365ce8);
}

.social-icon--facebook {
  font-family: Arial, sans-serif;
  font-size: 2.15rem;
  background: #1877f2;
}

.social-icon--maps {
  position: relative;
  background: linear-gradient(135deg, var(--blue-800), var(--blue-950));
  border-radius: 999px 999px 999px 8px;
  transform: rotate(-45deg);
}

.social-icon--maps::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--white);
}

.doctor-section {
  padding-top: 20px;
}

.doctor-card {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 255, 0.9)),
    radial-gradient(circle at 16% 25%, rgba(7, 89, 214, 0.1), transparent 25rem);
  box-shadow: var(--shadow);
}

.doctor-card__photo {
  width: min(190px, 54vw);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 8px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(220, 229, 240, 0.8));
  box-shadow: 0 16px 34px rgba(8, 34, 74, 0.16);
}

.doctor-card__photo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.doctor-card__content {
  text-align: center;
}

.doctor-card h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.7rem, 6vw, 2.35rem);
}

.doctor-card__en {
  margin: 6px 0 14px;
  color: var(--blue-800);
  font-size: 1.1rem;
  font-weight: 800;
}

.doctor-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--text);
  font-size: clamp(1rem, 3.4vw, 1.17rem);
  line-height: 1.65;
  list-style: none;
}

.doctor-card__social {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.tiktok-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: var(--white);
  background: #101318;
  box-shadow: 7px 0 0 rgba(0, 242, 234, 0.8), -7px 0 0 rgba(255, 0, 80, 0.65);
  font-size: 2rem;
  font-weight: 900;
}

.doctor-card__social p,
.doctor-card__social small {
  margin: 0;
}

.doctor-card__social p {
  color: var(--text);
  font-weight: 800;
}

.doctor-card__social a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-950));
  font-weight: 900;
}

.doctor-card__social small {
  color: var(--blue-800);
  font-weight: 800;
}

.services {
  padding-top: 24px;
}

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

.service-card {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 142px;
  padding: 20px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% 0%, rgba(234, 243, 255, 0.8), transparent 58%),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(0.95rem, 3.1vw, 1.08rem);
  line-height: 1.35;
}

.service-icon {
  width: 74px;
  height: 74px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 9px 14px rgba(7, 52, 130, 0.08));
}

.location-section {
  padding-top: 30px;
}

.location-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.location-card__details {
  display: grid;
  gap: 13px;
  align-content: center;
  padding: clamp(24px, 6vw, 42px);
  color: var(--white);
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, 0.26), transparent 23%),
    linear-gradient(135deg, var(--blue-700), var(--blue-950));
}

.location-card__details .eyebrow,
.location-card__details h2,
.location-card__details p {
  margin: 0;
  color: var(--white);
}

.location-card__details h2 {
  font-size: clamp(1.55rem, 5vw, 2.25rem);
}

.location-card__details p {
  font-size: clamp(1rem, 3.5vw, 1.3rem);
  line-height: 1.75;
}

.license {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 1rem !important;
  opacity: 0.92;
}

.map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 50px;
  margin-top: 4px;
  padding: 12px 24px;
  border-radius: 999px;
  color: var(--blue-900);
  background: var(--white);
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.13);
}

.map-preview {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: #edf3fa;
}

.map-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.map-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 39, 96, 0.02), rgba(6, 39, 96, 0.12)),
    radial-gradient(circle at 50% 48%, transparent 0 28%, rgba(255, 255, 255, 0.16) 70%);
  pointer-events: none;
}

.map-label {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(7, 69, 173, 0.94), rgba(6, 39, 96, 0.94));
  box-shadow: 0 12px 22px rgba(6, 39, 96, 0.2);
  font-weight: 900;
}

.site-footer {
  display: grid;
  gap: 18px;
  align-items: center;
  justify-items: center;
  margin-top: 36px;
  padding: 28px 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-950));
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 58px;
  filter: brightness(0) invert(1);
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  font-size: 1.22rem;
}

.footer-brand small {
  margin-top: 2px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

.footer-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

@media (hover: hover) {
  .icon-button:hover,
  .cta:hover,
  .social-card:hover,
  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(11, 45, 94, 0.16);
  }
}

@media (min-width: 680px) {
  .card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .doctor-card {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .doctor-card__social {
    grid-column: 1 / -1;
  }

  .doctor-card__content {
    text-align: start;
  }
}

@media (min-width: 960px) {
  .site-header {
    min-height: 104px;
    padding: 16px 24px;
    border-radius: 30px;
  }

  .brand__logo {
    width: 82px;
    height: 72px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
    gap: 42px;
    padding-top: 72px;
  }

  .hero__copy {
    text-align: start;
  }

  .hero__lead {
    margin-inline: 0;
  }

  .hero__english {
    justify-content: flex-start;
  }

  .cta-stack,
  .mini-contact-grid {
    margin-inline: 0;
  }

  .hero__visual {
    min-height: 520px;
  }

  .hero-tooth-svg {
    width: min(72%, 360px);
  }

  .hero-final-logo {
    width: min(66%, 360px);
  }

  .doctor-card {
    grid-template-columns: 210px minmax(0, 1fr) 250px;
    padding: 26px;
  }

  .doctor-card__photo {
    width: 210px;
  }

  .doctor-card__social {
    grid-column: auto;
    min-height: 220px;
  }

  .location-card {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    grid-template-columns: auto 1fr auto;
    justify-items: stretch;
    text-align: start;
    padding-inline: max(28px, calc((100vw - var(--container)) / 2));
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .section-pad {
    width: min(calc(100% - 22px), var(--container));
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: calc(100% - 18px);
    top: 8px;
    min-height: 78px;
    padding: 10px;
    border-radius: 22px;
  }

  .brand {
    gap: 7px;
    min-width: 0;
  }

  .brand__logo {
    width: 44px;
    height: 50px;
  }

  .brand__text {
    max-width: 122px;
  }

  .brand__text strong {
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand__text small {
    font-size: 0.55rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    gap: 6px;
  }

  .language-switch {
    gap: 6px;
    font-size: 0.78rem;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    font-size: 1.86rem;
    line-height: 1.18;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .cta {
    min-height: 86px;
    gap: 12px;
    padding: 14px;
  }

  .cta strong {
    font-size: 1.22rem;
  }

  .cta small {
    font-size: 1.1rem;
  }

  .cta__icon {
    width: 48px;
    height: 48px;
  }

  .mini-contact-grid {
    gap: 10px;
  }

  .mini-contact {
    padding: 13px 10px;
  }

  .social-card {
    padding: 15px;
  }
}

@media (max-width: 360px) {
  .brand__text small {
    display: none;
  }

  .language-switch {
    font-size: 0.72rem;
  }

  .cta {
    flex-direction: column;
  }

  .mini-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-tooth-svg {
    opacity: 0 !important;
  }

  .hero-final-logo {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-glow {
    opacity: 0.16 !important;
  }
}

@keyframes floatGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -16px, 0) scale(1.08);
  }
}

@keyframes lotusFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(-2deg);
  }
}

@keyframes toothTrace {
  0%,
  100% {
    stroke-dashoffset: 0;
    transform: translateY(0);
  }
  50% {
    stroke-dashoffset: 120;
    transform: translateY(8px);
  }
}

@keyframes toothDraw {
  0%,
  94%,
  100% {
    stroke-dashoffset: 760;
    opacity: 0;
  }
  4% {
    stroke-dashoffset: 760;
    opacity: 0.72;
  }
  30%,
  62% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  72% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes detailDraw {
  0%,
  27%,
  94%,
  100% {
    stroke-dashoffset: 140;
    opacity: 0;
  }
  42%,
  62% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  72% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes sparkReveal {
  0%,
  34%,
  94%,
  100% {
    stroke-dashoffset: 90;
    opacity: 0;
  }
  45%,
  62% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  72% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes toothSvgFadeOut {
  0%,
  62% {
    opacity: 1;
    transform: scale(1);
  }
  72%,
  100% {
    opacity: 0;
    transform: scale(0.985);
  }
}

@keyframes heroGlowSequence {
  0%,
  30%,
  94%,
  100% {
    opacity: 0;
    transform: scale(0.82);
  }
  42% {
    opacity: 0.78;
    transform: scale(1.04);
  }
  62% {
    opacity: 0.28;
    transform: scale(1);
  }
  72% {
    opacity: 0.12;
    transform: scale(0.98);
  }
}

@keyframes finalLogoReveal {
  0%,
  55% {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
  70%,
  88% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  96%,
  100% {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
}

@keyframes heroGlowIn {
  0%,
  58% {
    opacity: 0;
    transform: scale(0.82);
  }
  100% {
    opacity: 0.72;
    transform: scale(1);
  }
}

@keyframes heroGlowBreath {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(1);
  }
  50% {
    opacity: 0.78;
    transform: scale(1.05);
  }
}

@keyframes lotusReveal {
  0%,
  60% {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  100% {
    opacity: 0.13;
    transform: translateY(0) scale(1);
  }
}

@keyframes lotusDrift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.015);
  }
}
