:root {
  --pearl: #f8fdff;
  --white: #ffffff;
  --ice: #eafaff;
  --aqua: #53d6e9;
  --aqua-deep: #16adc7;
  --sky: #9be5fb;
  --navy: #0a2540;
  --soft-navy: #173b59;
  --silver: #d8e5ed;
  --glass: rgba(255, 255, 255, 0.66);
  --stroke: rgba(121, 189, 209, 0.28);
  --shadow: 0 24px 70px rgba(20, 77, 108, 0.16);
  --radius: 8px;
  --mx: 0;
  --my: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at 12% 10%, rgba(96, 218, 236, 0.18), transparent 30rem),
    radial-gradient(circle at 86% 8%, rgba(167, 224, 244, 0.38), transparent 26rem),
    linear-gradient(180deg, #f8fdff 0%, #eefaff 42%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body::selection {
  color: var(--navy);
  background: rgba(83, 214, 233, 0.32);
}

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

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background: linear-gradient(135deg, #ffffff, #ddf8ff, #f8fdff);
  transform: translateY(0);
  animation: pageLift 1.05s cubic-bezier(0.76, 0, 0.24, 1) 0.2s forwards;
}

.page-transition.is-hidden {
  display: none;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-bg span {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(109, 225, 240, 0.26), transparent 66%);
  filter: blur(14px);
  animation: ambientFloat 18s ease-in-out infinite;
}

.ambient-bg span:nth-child(1) {
  left: -12rem;
  top: 22rem;
}

.ambient-bg span:nth-child(2) {
  right: -11rem;
  top: 58rem;
  animation-delay: -5s;
}

.ambient-bg span:nth-child(3) {
  left: 38%;
  bottom: 18rem;
  animation-delay: -10s;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 226, 241, 0.17), rgba(255, 255, 255, 0.05) 34%, transparent 68%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(calc(var(--cursor-x, 50vw) - 160px), calc(var(--cursor-y, 50vh) - 160px), 0);
  transition: opacity 0.3s ease;
}

body:hover .cursor-glow {
  opacity: 1;
}

.navbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;
  width: min(1120px, calc(100% - 32px));
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 50px rgba(15, 70, 103, 0.13);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.navbar.scrolled {
  height: 62px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(15, 70, 103, 0.18);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #d5f7ff 48%, #92def0);
  box-shadow: inset 0 1px 0 #fff, 0 14px 26px rgba(34, 174, 207, 0.25);
}

.brand-mark svg {
  width: 23px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.75;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: rgba(10, 37, 64, 0.62);
  font-size: 0.72rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  padding: 12px 15px;
  color: rgba(10, 37, 64, 0.68);
  border-radius: 999px;
  font-size: 0.93rem;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: rgba(87, 208, 230, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 173, 199, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 999px;
  transition: transform 0.25s ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

main {
  overflow: hidden;
}

section {
  position: relative;
  padding: 112px max(24px, calc((100vw - 1120px) / 2));
}

.section-fade::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(232, 250, 255, 0.58), rgba(255, 255, 255, 0));
  transform: translateY(42px);
  transition: opacity 1s ease, transform 1s ease;
}

.section-fade.in-view::before {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  padding-top: 132px;
  padding-bottom: 70px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: cinematicDrift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 253, 255, 0.96) 0%, rgba(248, 253, 255, 0.82) 34%, rgba(248, 253, 255, 0.44) 70%, rgba(248, 253, 255, 0.82) 100%),
    radial-gradient(circle at 73% 45%, rgba(91, 213, 234, 0.28), transparent 26rem);
}

.particle-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle-field span {
  position: absolute;
  width: var(--size);
  height: var(--size);
  left: var(--left);
  top: var(--top);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 18px rgba(69, 216, 238, 0.62);
  animation: particleRise var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-visual {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(43vw, 500px);
  min-width: 380px;
  min-height: 620px;
  perspective: 1200px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 34px 18px auto;
  height: 84%;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 48% 48% 8px 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(211, 249, 255, 0.22)),
    radial-gradient(circle at 50% 22%, rgba(83, 214, 233, 0.35), transparent 21rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 36px 90px rgba(15, 70, 103, 0.16);
  backdrop-filter: blur(18px);
  animation: premiumPanelBreathe 6s ease-in-out infinite;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 22px 8px;
  border-radius: 42% 42% 8px 8px;
  background: linear-gradient(115deg, transparent 24%, rgba(255, 255, 255, 0.52) 44%, transparent 61%);
  opacity: 0.42;
  transform: translateX(-80%);
  animation: luxurySweep 5.8s cubic-bezier(0.76, 0, 0.24, 1) infinite;
  pointer-events: none;
}

.hero-doctor-card {
  position: absolute;
  top: -8px;
  right: 22px;
  z-index: 4;
  width: min(92%, 430px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 34px 90px rgba(15, 70, 103, 0.22);
  backdrop-filter: blur(22px);
  transform: translate3d(var(--move-x, 0), var(--move-y, 0), 0) rotateY(calc(var(--mx) * -0.045deg));
  animation: doctorFloat 6.4s ease-in-out infinite;
}

.hero-doctor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 54%, rgba(7, 35, 60, 0.5)),
    linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.45) 48%, transparent 62%);
  background-size: 100% 100%, 230% 100%;
  background-position: center, -120% center;
  animation: portraitShine 4.8s ease-in-out infinite;
  pointer-events: none;
}

.hero-doctor-card img {
  width: 100%;
  height: min(55vw, 548px);
  min-height: 500px;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.03);
  animation: portraitDepth 8s ease-in-out infinite alternate;
}

.doctor-orbit {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  pointer-events: none;
}

.orbit-one {
  inset: 34px 28px auto auto;
  width: 74px;
  height: 74px;
  box-shadow: 0 0 28px rgba(83, 214, 233, 0.28);
  animation: orbitPulse 2.8s ease-in-out infinite;
}

.orbit-two {
  left: 24px;
  bottom: 108px;
  width: 48px;
  height: 48px;
  animation: orbitPulse 2.8s ease-in-out infinite 0.9s;
}

.hero-doctor-info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(9, 44, 72, 0.45);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.16);
  backdrop-filter: blur(16px);
}

.hero-doctor-info strong,
.hero-doctor-info span {
  display: block;
}

.hero-doctor-info span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--aqua-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.35rem, 8vw, 7.25rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 4.4vw, 4.15rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  font-size: 1.13rem;
}

.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px) rotateX(35deg);
  transform-origin: left bottom;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i) * 70ms);
}

.in-view .word,
.hero .word {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 34px;
  color: rgba(10, 37, 64, 0.74);
  font-size: clamp(1.02rem, 1.8vw, 1.3rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.btn,
.whatsapp,
.floating-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn-primary,
.whatsapp,
.floating-cta {
  color: #ffffff;
  background: linear-gradient(135deg, #0c3655, #19b4cf 58%, #87edf8);
  box-shadow: 0 18px 38px rgba(22, 173, 199, 0.29);
}

.btn-secondary {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(34, 174, 207, 0.2);
  box-shadow: inset 0 1px 0 #fff, 0 14px 34px rgba(15, 70, 103, 0.1);
  backdrop-filter: blur(14px);
}

.liquid::before {
  content: "";
  position: absolute;
  inset: -65% -25%;
  z-index: -1;
  background: radial-gradient(circle at var(--button-x, 50%) var(--button-y, 50%), rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 25%);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.liquid:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(22, 173, 199, 0.34);
}

.liquid:hover::before {
  opacity: 0.42;
  transform: scale(1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 #ffffff, 0 16px 34px rgba(15, 70, 103, 0.1);
  backdrop-filter: blur(18px);
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--soft-navy);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
}

.hero-stats span {
  color: rgba(10, 37, 64, 0.62);
  font-size: 0.82rem;
}

.hero-tooth {
  position: absolute;
  right: -92px;
  bottom: 18px;
  z-index: 3;
  width: min(31vw, 350px);
  min-width: 270px;
  aspect-ratio: 1 / 1.06;
  transform: translate3d(var(--move-x, 0), var(--move-y, 0), 0);
  animation: toothFloat 5.8s ease-in-out infinite;
  opacity: 0.9;
}

.tooth-halo {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.94), rgba(124, 228, 242, 0.34) 42%, transparent 66%),
    conic-gradient(from 90deg, rgba(255, 255, 255, 0), rgba(111, 224, 240, 0.55), rgba(255, 255, 255, 0));
  filter: blur(6px);
  animation: haloSpin 14s linear infinite;
}

.tooth-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 30px 44px rgba(12, 65, 96, 0.24));
  transform: rotateY(calc(var(--mx) * -0.08deg)) rotateX(calc(var(--my) * 0.08deg));
}

.tooth-body {
  fill: url(#toothGradient);
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 4;
}

.tooth-edge,
.tooth-shine,
.smile-curve {
  fill: none;
  stroke-linecap: round;
}

.tooth-edge {
  stroke: url(#toothEdge);
  stroke-width: 5;
  opacity: 0.58;
}

.tooth-shine {
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 8;
  stroke-dasharray: 92;
  stroke-dashoffset: 92;
  animation: shineSweep 3.8s ease-in-out infinite;
}

.smile-curve {
  stroke: #16adc7;
  stroke-width: 5;
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  animation: smileDraw 4.4s ease-in-out infinite;
}

.sparkle {
  position: absolute;
  z-index: 3;
  width: 17px;
  height: 17px;
  transform: rotate(45deg);
  background: #ffffff;
  box-shadow: 0 0 22px rgba(102, 224, 240, 0.95);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: sparklePulse 2.6s ease-in-out infinite;
}

.sparkle-a {
  top: 19%;
  left: 22%;
}

.sparkle-b {
  top: 42%;
  right: 14%;
  animation-delay: 0.8s;
}

.sparkle-c {
  left: 42%;
  bottom: 16%;
  animation-delay: 1.5s;
}

.floating-icon {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translate3d(var(--move-x, 0), var(--move-y, 0), 0);
  animation: iconFloat 7s ease-in-out infinite;
}

.floating-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--aqua-deep);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-one {
  top: 24%;
  right: 43%;
}

.icon-two {
  right: 9%;
  bottom: 23%;
  animation-delay: -2s;
}

.icon-three {
  top: 17%;
  right: 12%;
  animation-delay: -4s;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 54px;
  border: 1px solid rgba(22, 173, 199, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.scroll-cue span {
  width: 5px;
  height: 10px;
  border-radius: 999px;
  background: var(--aqua-deep);
  animation: cueDrop 1.8s ease-in-out infinite;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.booking-copy p {
  color: rgba(10, 37, 64, 0.66);
  font-size: 1.04rem;
  line-height: 1.75;
}

.services {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(233, 250, 255, 0.74));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  perspective: 1200px;
}

.service-card,
.why-item,
.testimonial-card,
.booking-form,
.contact-card,
.map-placeholder,
.profile-board,
.faq-list {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(231, 249, 255, 0.48));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.service-card {
  position: relative;
  min-height: 258px;
  padding: 28px;
  overflow: hidden;
  transform: translateY(60px) rotateX(12deg) rotateZ(-2deg);
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.75s ease, box-shadow 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.58) 44%, transparent 65%);
  opacity: 0;
  transform: translateX(-120%);
  transition: transform 0.75s ease, opacity 0.35s ease;
}

.service-card.in-view {
  transform: translateY(0) rotateX(0) rotateZ(0);
}

.service-card:hover {
  box-shadow: 0 30px 80px rgba(21, 135, 163, 0.2);
  transform: translateY(-8px) rotateX(0) rotateZ(0);
}

.service-card:hover::before {
  opacity: 1;
  transform: translateX(120%);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 44px;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #dbf8ff);
  box-shadow: inset 0 1px 0 #ffffff, 0 12px 28px rgba(22, 173, 199, 0.16);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--aqua-deep);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p,
.why-item p,
.testimonial-card span {
  color: rgba(10, 37, 64, 0.63);
  line-height: 1.68;
}

.about {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.profile-board {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 30px;
  isolation: isolate;
}

.profile-board::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(222, 249, 255, 0.28)),
    url("assets/luxury-dental-clinic-hero.png") center / cover;
  opacity: 0.9;
}

.profile-board::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(248, 253, 255, 0.55), rgba(248, 253, 255, 0.92)),
    radial-gradient(circle at 65% 24%, rgba(83, 214, 233, 0.28), transparent 15rem);
  backdrop-filter: blur(3px);
}

.profile-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(22, 173, 199, 0.18);
}

.profile-topline span,
.profile-note span {
  color: var(--aqua-deep);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.profile-topline strong {
  display: block;
  max-width: 190px;
  text-align: right;
  font-size: 1.15rem;
}

.profile-monogram {
  display: grid;
  place-items: center;
  width: min(260px, 72%);
  aspect-ratio: 1;
  margin: 50px auto 44px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.94), rgba(221, 249, 255, 0.64) 56%, rgba(255, 255, 255, 0.2)),
    conic-gradient(from 180deg, rgba(83, 214, 233, 0.05), rgba(83, 214, 233, 0.5), rgba(255, 255, 255, 0.1));
  box-shadow: inset 0 1px 0 #ffffff, 0 28px 70px rgba(22, 173, 199, 0.2);
  animation: premiumPanelBreathe 6s ease-in-out infinite;
}

.profile-monogram svg {
  width: 58%;
  fill: none;
  stroke: var(--soft-navy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  filter: drop-shadow(0 12px 18px rgba(22, 173, 199, 0.18));
}

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

.profile-metrics div,
.profile-note,
.signature-panel div {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 16px 34px rgba(15, 70, 103, 0.08);
  backdrop-filter: blur(14px);
}

.profile-metrics div {
  padding: 18px;
}

.profile-metrics strong {
  display: block;
  margin-bottom: 5px;
  color: var(--soft-navy);
  font-size: 1.7rem;
}

.profile-metrics span {
  color: rgba(10, 37, 64, 0.62);
  line-height: 1.45;
}

.profile-note {
  margin-top: 12px;
  padding: 20px;
}

.profile-note p {
  margin: 12px 0 0;
  color: rgba(10, 37, 64, 0.68);
  line-height: 1.68;
}

.about-copy {
  max-width: 760px;
}

.about-copy h2 {
  max-width: 720px;
  font-size: clamp(2.25rem, 5vw, 4.8rem);
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.credential-list span {
  padding: 11px 14px;
  border: 1px solid rgba(22, 173, 199, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(10, 37, 64, 0.72);
  font-size: 0.9rem;
}

.signature-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.signature-panel div {
  padding: 22px;
}

.signature-panel span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--aqua-deep);
  font-weight: 900;
}

.signature-panel strong {
  display: block;
  margin-bottom: 9px;
}

.signature-panel p {
  margin: 0;
  color: rgba(10, 37, 64, 0.62);
  font-size: 0.94rem;
  line-height: 1.65;
}

.why {
  background:
    linear-gradient(180deg, rgba(239, 251, 255, 0.2), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 76% 15%, rgba(93, 221, 239, 0.18), transparent 30rem);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.why-item {
  min-height: 210px;
  padding: 24px;
  transition: transform 0.28s ease, background 0.28s ease;
}

.why-item:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.84);
}

.why-item span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--aqua-deep);
  font-weight: 900;
}

.why-item strong {
  display: block;
  margin-bottom: 9px;
}

.video-experience {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(233, 250, 255, 0.76)),
    radial-gradient(circle at 72% 28%, rgba(83, 214, 233, 0.18), transparent 28rem);
}

.video-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.82fr;
  grid-template-rows: repeat(2, minmax(230px, 1fr));
  gap: 18px;
}

.video-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(220, 249, 255, 0.4));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.video-card-large {
  grid-row: span 2;
}

.video-screen {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.7), transparent 16rem),
    linear-gradient(135deg, rgba(10, 37, 64, 0.82), rgba(22, 173, 199, 0.26));
}

.video-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.38;
  animation: videoGridMove 10s linear infinite;
}

.video-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.3) 50%, transparent 68%);
  transform: translateX(-120%);
  animation: videoLightSweep 5.4s ease-in-out infinite;
}

.scan-screen {
  display: grid;
  place-items: center;
  min-height: 478px;
}

.scan-screen::before {
  opacity: 0.22;
}

.scan-line {
  position: absolute;
  left: 13%;
  right: 13%;
  top: 50%;
  z-index: 2;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(139, 239, 248, 0.95), transparent);
  box-shadow: 0 0 24px rgba(83, 214, 233, 0.78);
  animation: scanLinePass 3.2s ease-in-out infinite;
}

.scan-arc {
  position: absolute;
  z-index: 2;
  width: min(310px, 62%);
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-top-color: rgba(83, 214, 233, 0.95);
  border-right-color: rgba(83, 214, 233, 0.38);
  border-radius: 50%;
  filter: drop-shadow(0 0 24px rgba(83, 214, 233, 0.38));
  animation: scanOrbit 7.5s linear infinite;
}

.arc-b {
  width: min(210px, 44%);
  animation-direction: reverse;
  animation-duration: 5.8s;
  opacity: 0.58;
}

.scan-dot {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 22px rgba(131, 238, 249, 0.95);
  animation: scanDotFloat 4s ease-in-out infinite;
}

.dot-a {
  left: 31%;
  top: 33%;
}

.dot-b {
  right: 28%;
  bottom: 29%;
  animation-delay: -1.4s;
}

.smile-reel {
  min-height: 230px;
}

.smile-reel img {
  position: absolute;
  inset: 0;
  width: 115%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.04);
  animation: reelPan 7.5s ease-in-out infinite alternate;
}

.reel-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 37, 64, 0.32), transparent 34%, transparent 66%, rgba(10, 37, 64, 0.22)),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.16), transparent 18rem);
}

.tech-pulse {
  display: grid;
  place-items: center;
  min-height: 230px;
}

.tech-pulse span {
  position: absolute;
  width: 56%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: techPulseRing 3.8s ease-out infinite;
}

.tech-pulse span:nth-child(2) {
  animation-delay: 1.2s;
}

.tech-pulse span:nth-child(3) {
  animation-delay: 2.4s;
}

.tech-pulse i {
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #81e5f3);
  box-shadow: 0 0 38px rgba(83, 214, 233, 0.5);
}

.video-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  color: #ffffff;
  text-align: left;
  background: rgba(8, 35, 59, 0.42);
  box-shadow: 0 20px 42px rgba(10, 37, 64, 0.16);
  backdrop-filter: blur(16px);
}

.video-meta span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #8cecf8;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.video-meta strong {
  display: block;
  font-size: 1.06rem;
}

.video-meta p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.transformation {
  text-align: center;
}

.transformation .section-heading {
  margin-inline: auto;
}

.case-study {
  position: relative;
  width: min(960px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(224, 249, 255, 0.34));
  box-shadow: 0 32px 90px rgba(15, 70, 103, 0.17);
  backdrop-filter: blur(18px);
}

.case-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 8.4;
  margin: 14px;
  border-radius: 6px;
  background: #e9f7fb;
}

.case-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 37, 64, 0.08), transparent 24%, transparent 76%, rgba(10, 37, 64, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%, rgba(7, 35, 60, 0.16));
  pointer-events: none;
}

.case-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03);
  transform: scale(1.025);
  transition: transform 1.2s ease, filter 0.5s ease;
}

.case-study:hover .case-image-wrap img {
  filter: saturate(1.02) contrast(1.06);
  transform: scale(1.055);
}

.case-label {
  position: absolute;
  top: 20px;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(15, 70, 103, 0.12);
  font-size: 0.84rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.case-before {
  left: 20px;
}

.case-after {
  right: 20px;
}

.case-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 2px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 28px rgba(22, 173, 199, 0.82);
}

.case-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(15, 70, 103, 0.18);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(14px);
}

.case-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 4px;
  height: 34px;
  border-radius: 999px;
  background: var(--aqua-deep);
  transform: translate(-50%, -50%);
}

.case-caption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 18px;
  align-items: center;
  padding: 4px 24px 24px;
  text-align: left;
}

.case-caption span {
  grid-row: span 2;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--aqua-deep);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-caption strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.case-caption p {
  margin: 0;
  color: rgba(10, 37, 64, 0.62);
  line-height: 1.55;
}

.testimonial-shell {
  overflow: hidden;
  padding: 14px;
}

.testimonial-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: testimonialMarquee 28s linear infinite;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: min(430px, calc(100vw - 72px));
  min-height: 250px;
  padding: 30px;
}

.testimonial-card p {
  color: rgba(10, 37, 64, 0.78);
  font-size: 1.04rem;
  line-height: 1.75;
}

.testimonial-card strong {
  display: block;
  margin-top: 24px;
}

.booking {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: start;
  background: linear-gradient(180deg, rgba(235, 250, 255, 0.55), rgba(255, 255, 255, 0.7));
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: rgba(10, 37, 64, 0.72);
  font-size: 0.88rem;
  font-weight: 800;
}

.booking-form .full {
  grid-column: 1 / -1;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 173, 199, 0.18);
  border-radius: var(--radius);
  outline: 0;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.booking-form input,
.booking-form select {
  height: 52px;
  padding: 0 14px;
}

.booking-form textarea {
  resize: vertical;
  min-height: 116px;
  padding: 14px;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: rgba(22, 173, 199, 0.58);
  box-shadow: 0 0 0 4px rgba(83, 214, 233, 0.16);
  transform: translateY(-1px);
}

.booking-form button {
  border: 0;
  cursor: pointer;
}

.faq-list {
  padding: 12px;
}

details {
  border-bottom: 1px solid rgba(22, 173, 199, 0.13);
}

details:last-child {
  border-bottom: 0;
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 18px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--aqua-deep);
  font-size: 1.4rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: -7px 18px 22px;
  color: rgba(10, 37, 64, 0.64);
  line-height: 1.72;
}

.contact {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 20px;
  padding-bottom: 138px;
}

.contact-card {
  padding: 32px;
}

.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-card p {
  color: rgba(10, 37, 64, 0.66);
  line-height: 1.7;
}

.whatsapp {
  margin-top: 18px;
}

.map-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  overflow: hidden;
}

.map-grid {
  position: absolute;
  inset: -40%;
  background:
    linear-gradient(rgba(22, 173, 199, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 173, 199, 0.12) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: rotate(-8deg);
  animation: mapDrift 16s linear infinite;
}

.map-pin {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, #0c3655, #37cde2);
  box-shadow: 0 0 0 12px rgba(83, 214, 233, 0.16), 0 22px 40px rgba(22, 173, 199, 0.26);
  transform: rotate(-45deg);
  animation: pinPulse 2.2s ease-in-out infinite;
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #ffffff;
}

.map-placeholder strong {
  position: absolute;
  bottom: 32px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(15, 70, 103, 0.14);
  backdrop-filter: blur(12px);
}

.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  min-height: 56px;
  padding: 0 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pageLift {
  to {
    transform: translateY(-100%);
  }
}

@keyframes ambientFloat {
  50% {
    transform: translate3d(8vw, -7vh, 0) scale(1.16);
  }
}

@keyframes cinematicDrift {
  from {
    transform: scale(1.06) translate3d(-1.5%, -1%, 0);
  }
  to {
    transform: scale(1.12) translate3d(1.5%, 1%, 0);
  }
}

@keyframes particleRise {
  from {
    transform: translateY(52px) scale(0.7);
    opacity: 0;
  }
  20% {
    opacity: 0.72;
  }
  to {
    transform: translateY(-120px) scale(1);
    opacity: 0;
  }
}

@keyframes premiumPanelBreathe {
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 46px 110px rgba(22, 173, 199, 0.21);
    transform: translateY(-8px) scale(1.012);
  }
}

@keyframes luxurySweep {
  0%,
  32% {
    opacity: 0;
    transform: translateX(-80%);
  }
  52% {
    opacity: 0.58;
  }
  78%,
  100% {
    opacity: 0;
    transform: translateX(80%);
  }
}

@keyframes doctorFloat {
  50% {
    translate: 0 -14px;
  }
}

@keyframes portraitShine {
  0%,
  36% {
    background-position: center, -120% center;
  }
  64%,
  100% {
    background-position: center, 130% center;
  }
}

@keyframes portraitDepth {
  to {
    transform: scale(1.075) translateY(-7px);
  }
}

@keyframes orbitPulse {
  50% {
    opacity: 0.35;
    transform: scale(1.18);
    box-shadow: 0 0 38px rgba(83, 214, 233, 0.42);
  }
}

@keyframes videoGridMove {
  to {
    background-position: 34px 34px;
  }
}

@keyframes videoLightSweep {
  0%,
  38% {
    opacity: 0;
    transform: translateX(-120%);
  }
  58% {
    opacity: 0.8;
  }
  86%,
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes scanLinePass {
  0%,
  100% {
    transform: translateY(-130px);
    opacity: 0;
  }
  20%,
  80% {
    opacity: 1;
  }
  50% {
    transform: translateY(130px);
  }
}

@keyframes scanOrbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scanDotFloat {
  50% {
    transform: translate3d(18px, -16px, 0);
    opacity: 0.45;
  }
}

@keyframes reelPan {
  from {
    transform: translateX(-4%) scale(1.04);
  }
  to {
    transform: translateX(-11%) scale(1.09);
  }
}

@keyframes techPulseRing {
  from {
    transform: scale(0.5);
    opacity: 0.75;
  }
  to {
    transform: scale(1.42);
    opacity: 0;
  }
}

@keyframes toothFloat {
  50% {
    translate: 0 -18px;
  }
}

@keyframes haloSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shineSweep {
  0%,
  38% {
    stroke-dashoffset: 92;
    opacity: 0.35;
  }
  62%,
  100% {
    stroke-dashoffset: -92;
    opacity: 0.95;
  }
}

@keyframes smileDraw {
  0%,
  35% {
    stroke-dashoffset: 130;
  }
  58%,
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes sparklePulse {
  0%,
  100% {
    transform: scale(0.55) rotate(45deg);
    opacity: 0.2;
  }
  45% {
    transform: scale(1.2) rotate(45deg);
    opacity: 1;
  }
}

@keyframes iconFloat {
  50% {
    translate: 0 -18px;
    rotate: 4deg;
  }
}

@keyframes cueDrop {
  50% {
    transform: translateY(14px);
    opacity: 0.45;
  }
}

@keyframes testimonialMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

@keyframes mapDrift {
  to {
    transform: rotate(-8deg) translateX(46px);
  }
}

@keyframes pinPulse {
  50% {
    box-shadow: 0 0 0 20px rgba(83, 214, 233, 0.07), 0 22px 40px rgba(22, 173, 199, 0.26);
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-visual {
    justify-self: center;
    width: min(92vw, 510px);
    min-width: 0;
    min-height: 590px;
    margin-top: 8px;
  }

  .hero-doctor-card {
    right: 50%;
    width: min(88vw, 420px);
    transform: translate3d(calc(50% + var(--move-x, 0px)), var(--move-y, 0), 0);
  }

  .hero-tooth {
    right: -26px;
    bottom: 8px;
    width: min(54vw, 330px);
    min-width: 270px;
  }

  .floating-icon {
    display: none;
  }

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

  .video-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .video-card-large {
    grid-row: auto;
  }

  .scan-screen,
  .smile-reel,
  .tech-pulse {
    min-height: 320px;
  }

  .about,
  .booking,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .navbar {
    top: 12px;
    width: calc(100% - 24px);
    height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 82px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 60px rgba(15, 70, 103, 0.16);
    backdrop-filter: blur(22px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .nav-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px;
  }

  section {
    padding: 86px 18px;
  }

  .hero {
    position: relative;
    padding-top: 118px;
    padding-bottom: 96px;
  }

  .hero-content {
    grid-row: 2;
  }

  .hero-visual {
    grid-row: 1;
    width: min(100%, 390px);
    min-height: 430px;
    margin: 8px auto 0;
  }

  .hero-visual::before {
    inset: 24px 6px auto;
    height: 88%;
  }

  .hero-doctor-card {
    top: 0;
    width: min(88vw, 330px);
  }

  .hero-doctor-card img {
    min-height: 372px;
    height: 372px;
  }

  .hero-doctor-info {
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: block;
    padding: 13px 14px;
  }

  h1 {
    font-size: clamp(2.72rem, 13.4vw, 4.05rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-tooth {
    position: absolute;
    top: 170px;
    right: -82px;
    z-index: 2;
    width: 250px;
    min-width: 0;
    opacity: 0.68;
  }

  .service-grid,
  .why-grid,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .scan-screen,
  .smile-reel,
  .tech-pulse {
    min-height: 270px;
  }

  .video-meta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 15px;
  }

  .profile-board {
    min-height: auto;
    padding: 24px;
  }

  .signature-panel {
    grid-template-columns: 1fr;
  }

  .case-image-wrap {
    aspect-ratio: 4 / 3;
  }

  .case-caption {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .floating-cta {
    right: 18px;
    bottom: 14px;
    min-height: 50px;
    padding: 0 20px;
    box-shadow: 0 16px 32px rgba(22, 173, 199, 0.34);
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    display: none;
  }

  .hero-actions {
    display: grid;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.25rem);
  }

  .btn {
    width: 100%;
  }

  .service-card,
  .why-item,
  .testimonial-card,
  .booking-form,
  .contact-card {
    padding: 22px;
  }

  .case-image-wrap {
    margin: 10px;
    aspect-ratio: 1 / 1;
  }

  .case-label {
    top: 12px;
    padding: 8px 12px;
  }

  .case-before {
    left: 12px;
  }

  .case-after {
    right: 12px;
  }
}

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