:root {
  --ink: #16394a;
  --ink-soft: #315363;
  --muted: #6d8590;
  --blue: #2585b2;
  --blue-deep: #176487;
  --sky: #e7f5fb;
  --mint: #43a99b;
  --mint-soft: #e7f6f2;
  --white: #ffffff;
  --paper: #f7fbfd;
  --line: rgba(31, 94, 120, .13);
  --line-strong: rgba(31, 94, 120, .23);
  --shadow: 0 28px 80px rgba(38, 89, 108, .13);
  --shell: min(1320px, calc(100% - 72px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Tajawal", system-ui, sans-serif;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 10px; right: 10px; padding: 10px 14px; color: white; background: var(--blue-deep); border-radius: 9px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  right: max(24px, calc((100% - 1440px) / 2));
  left: max(24px, calc((100% - 1440px) / 2));
  min-height: 76px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(31,94,120,.1);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(39,89,108,.1);
  backdrop-filter: blur(18px);
  transition: top .3s ease, background .3s ease, border-color .3s ease;
}
.site-header.scrolled { top: 8px; background: rgba(255,255,255,.97); border-color: rgba(37,133,178,.2); }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font-size: 21px; font-weight: 500; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand b { color: var(--blue-deep); font-weight: 900; }
.brand small { margin-top: 6px; color: #879aa3; font: 700 7px/1 Arial, sans-serif; letter-spacing: .17em; }
.brand-mark { position: relative; width: 40px; height: 40px; border: 1px solid rgba(37,133,178,.22); border-radius: 50%; }
.brand-mark::before, .brand-mark::after, .brand-mark i { content: ""; position: absolute; }
.brand-mark::before { inset: 7px; border: 2px solid var(--blue); border-top-color: transparent; border-radius: 50%; transform: rotate(-22deg); }
.brand-mark::after { width: 8px; height: 8px; top: 4px; left: 4px; background: var(--mint); border: 3px solid white; border-radius: 50%; box-shadow: 0 0 15px rgba(67,169,155,.35); }
.brand-mark i { width: 6px; height: 6px; inset: 0; margin: auto; background: var(--blue); border-radius: 50%; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 3px; }
.main-nav a { position: relative; padding: 11px 10px; color: #607985; font-size: 12px; font-weight: 700; transition: color .25s ease; }
.main-nav a::after { content: ""; position: absolute; right: 10px; bottom: 4px; width: 0; height: 2px; background: var(--mint); border-radius: 2px; transition: width .25s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active::after { width: calc(100% - 20px); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.back-link { padding: 11px 15px; color: var(--blue-deep); border: 1px solid var(--line-strong); border-radius: 11px; font-size: 12px; font-weight: 700; transition: border-color .25s ease, background .25s ease; }
.back-link:hover { background: var(--sky); border-color: rgba(37,133,178,.36); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-strong); border-radius: 11px; background: #f1f8fb; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--blue); transition: transform .25s ease; }

.button {
  min-height: 52px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: white; background: linear-gradient(135deg, #1d769f, #36a2c6); box-shadow: 0 15px 36px rgba(37,133,178,.23); }
.button-primary:hover { box-shadow: 0 20px 44px rgba(37,133,178,.32); }
.button-ghost { color: var(--blue-deep); background: rgba(255,255,255,.8); border-color: var(--line-strong); box-shadow: 0 12px 28px rgba(45,91,109,.06); }
.button-ghost:hover { background: var(--sky); border-color: rgba(37,133,178,.36); }

.hero { position: relative; min-height: 100svh; padding: 132px 0 35px; display: grid; align-content: center; overflow: hidden; background: radial-gradient(circle at 9% 34%, rgba(67,169,155,.13), transparent 30%), radial-gradient(circle at 90% 13%, rgba(71,166,207,.15), transparent 28%), linear-gradient(145deg, #f7fbfd 0%, #ffffff 53%, #eaf7fb 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 24%; background: linear-gradient(transparent, rgba(232,246,250,.9)); pointer-events: none; }
.hero-orb { position: absolute; border: 1px solid rgba(37,133,178,.08); border-radius: 50%; }
.orb-a { width: 510px; height: 510px; top: -185px; right: -120px; box-shadow: 0 0 0 75px rgba(37,133,178,.022), 0 0 0 150px rgba(37,133,178,.014); }
.orb-b { width: 380px; height: 380px; left: -145px; bottom: -150px; box-shadow: 0 0 0 55px rgba(67,169,155,.025); }
.hero-grid { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: stretch; gap: 30px; }
.hero-copy { position: relative; z-index: 3; width: min(850px, 100%); margin-inline: auto; text-align: center; }
.hero-copy .eyebrow { justify-content: center; }
.eyebrow { margin: 0 0 17px; display: flex; align-items: center; gap: 9px; color: var(--blue); font-size: 15px; font-weight: 800; }
.eyebrow span { width: 25px; height: 2px; background: var(--mint); border-radius: 2px; box-shadow: 0 0 12px rgba(67,169,155,.35); }
.hero h1, .section-heading h2, .team-copy h2, .faq-copy h2, .booking-copy h2 { margin: 0; font-size: clamp(36px, 3.45vw, 54px); font-weight: 900; line-height: 1.16; letter-spacing: -.035em; }
.hero h1 em, .section-heading h2 em, .team-copy h2 em, .faq-copy h2 em, .booking-copy h2 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 650px; margin: 23px auto 0; color: #5f7884; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.9; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.trust-list { margin: 23px 0 0; padding: 0; display: flex; justify-content: center; gap: 22px; list-style: none; color: #5f7884; font-size: 13px; }
.trust-list li { display: flex; align-items: center; gap: 7px; }
.trust-list b { display: grid; place-items: center; width: 20px; height: 20px; color: var(--mint); background: var(--mint-soft); border-radius: 50%; font-size: 10px; }
.hero-media { position: relative; width: 100%; min-height: 455px; display: grid; place-items: center; }
.hero-frame { position: relative; width: 100%; height: 440px; overflow: hidden; border: 8px solid rgba(255,255,255,.92); border-radius: 34px 34px 100px 34px; box-shadow: 0 36px 95px rgba(40,90,109,.2); }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 55%, rgba(38,151,181,.09)); pointer-events: none; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; animation: clinicFloat 8s ease-in-out infinite; }
.floating-card { position: absolute; z-index: 4; background: rgba(255,255,255,.93); border: 1px solid rgba(37,133,178,.14); box-shadow: 0 18px 50px rgba(39,88,107,.14); backdrop-filter: blur(14px); }
.card-rating { top: 9%; left: 4%; width: 108px; min-height: 107px; padding: 13px; display: grid; text-align: center; border-radius: 18px; }
.card-rating span, .card-rating small { color: var(--muted); font-size: 9px; }
.card-rating strong { color: var(--ink); font: 900 27px/1 Arial, sans-serif; }
.card-rating b { color: #eab857; font: 700 9px/1 Arial, sans-serif; letter-spacing: .05em; }
.card-ready { right: 4%; left: auto; bottom: 8%; padding: 12px 15px; display: flex; align-items: center; gap: 9px; border-radius: 14px; }
.card-ready i { width: 31px; height: 31px; display: grid; place-items: center; color: white; background: var(--mint); border-radius: 9px; font-style: normal; font-size: 12px; }
.card-ready span { color: #637b86; font-size: 10px; line-height: 1.5; }
.card-ready b { color: var(--ink); font-size: 11px; }
.hero-spark { position: absolute; z-index: 5; color: var(--mint); filter: drop-shadow(0 4px 9px rgba(67,169,155,.25)); animation: sparkle 3s ease-in-out infinite; }
.spark-one { top: 3%; right: 10%; font-size: 23px; }
.spark-two { bottom: 7%; right: 4%; font-size: 15px; animation-delay: 1.2s; }
.hero-stats { position: relative; z-index: 4; width: min(1050px, calc(100% - 90px)); margin-top: -42px; padding: 18px 26px; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 19px; box-shadow: 0 22px 60px rgba(42,89,107,.13); backdrop-filter: blur(14px); }
.hero-stats article { min-height: 47px; padding: 2px 25px; display: grid; align-content: center; border-left: 1px solid var(--line); }
.hero-stats article:last-child { border-left: 0; }
.hero-stats strong { color: var(--ink); font-size: 18px; }
.hero-stats span { margin-top: 4px; color: var(--muted); font-size: 11px; }

.section { position: relative; padding: 106px 0; }
.section-heading { margin-bottom: 34px; display: block; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { font-size: clamp(30px, 2.7vw, 42px); }
.section-heading > p { width: min(620px, 100%); margin: 16px auto 4px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.section-heading.compact { margin-bottom: 31px; }

.services { background: #f0f8fb; }
.services-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 20px; }
.service-tabs { display: grid; gap: 10px; }
.service-tab { width: 100%; min-height: 118px; padding: 13px 15px; display: grid; grid-template-columns: 33px 66px 1fr 24px; align-items: center; gap: 12px; text-align: right; background: rgba(255,255,255,.86); border: 1px solid #dce8ed; border-radius: 16px; box-shadow: 0 14px 38px rgba(41,87,104,.05); transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease; }
.service-tab:hover, .service-tab.active { transform: translateX(-6px); background: white; border-color: rgba(37,133,178,.3); box-shadow: 0 20px 48px rgba(41,87,104,.1); }
.service-tab > span { color: #91a5ae; font: 800 10px/1 Arial, sans-serif; }
.service-tab > img { width: 66px; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 9px 22px rgba(41,87,104,.12); transition: transform .28s ease; }
.service-tab:hover > img, .service-tab.active > img { transform: scale(1.045); }
.service-tab strong { display: block; font-size: 16px; }
.service-tab p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.service-tab > b { color: #9eafb6; font-size: 17px; transition: transform .25s ease, color .25s ease; }
.service-tab.active > span, .service-tab.active > b { color: var(--blue); }
.service-tab.active > b { transform: translateX(-4px); }
.service-detail { position: relative; min-height: 445px; padding: 38px; overflow: hidden; background: linear-gradient(145deg, white, #f7fcfd); border: 1px solid rgba(37,133,178,.16); border-radius: 25px; box-shadow: var(--shadow); transition: opacity .2s ease, transform .2s ease; }
.service-detail.changing { opacity: .45; transform: translateY(5px); }
.service-detail::before { content: ""; position: absolute; width: 230px; height: 230px; left: -100px; bottom: -100px; background: rgba(67,169,155,.08); border-radius: 50%; }
.detail-number { position: absolute; top: 24px; left: 25px; color: #a6b7bd; font: 800 11px/1 Arial, sans-serif; }
.detail-icon { width: 66px; height: 66px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--blue), #41a8c9); border-radius: 19px; box-shadow: 0 16px 35px rgba(37,133,178,.23); font-style: normal; font-size: 29px; }
.service-detail .eyebrow { margin-top: 36px; }
.service-detail h3 { margin: 0; font-size: clamp(28px, 2.3vw, 36px); }
.service-detail > p:not(.eyebrow) { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.service-detail ul { margin: 22px 0 25px; padding: 0; display: grid; gap: 10px; list-style: none; color: #536e79; font-size: 13px; }
.service-detail li::before { content: "✓"; display: inline-grid; place-items: center; width: 21px; height: 21px; margin-left: 8px; color: var(--mint); background: var(--mint-soft); border-radius: 50%; font-size: 10px; }

.team { overflow: hidden; background: white; }
.team::before { content: ""; position: absolute; width: 430px; height: 430px; right: -210px; top: -200px; background: rgba(37,133,178,.055); border-radius: 50%; }
.team-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(48px, 7vw, 105px); }
.doctor-photo { position: relative; min-height: 570px; overflow: hidden; border: 8px solid white; border-radius: 34px 34px 100px 34px; box-shadow: var(--shadow); }
.doctor-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 37%; background: linear-gradient(transparent, rgba(16,57,74,.62)); pointer-events: none; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-label { position: absolute; z-index: 2; right: 25px; bottom: 23px; color: white; }
.doctor-label span, .doctor-label strong { display: block; }
.doctor-label span { color: #d9eef5; font-size: 11px; }
.doctor-label strong { margin-top: 5px; font-size: 19px; }
.team-copy h2, .faq-copy h2, .booking-copy h2 { font-size: clamp(31px, 2.9vw, 44px); }
.team-copy > p:not(.eyebrow), .faq-copy > p:not(.eyebrow), .booking-copy > p:not(.eyebrow) { max-width: 570px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.doctor-list { margin-top: 25px; display: grid; gap: 9px; }
.doctor-list article { min-height: 73px; padding: 12px 14px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 11px; background: #f7fbfc; border: 1px solid #e0eaee; border-radius: 13px; }
.doctor-list article > span { color: #9aaeb6; font: 800 9px/1 Arial, sans-serif; }
.doctor-list strong { display: block; font-size: 14px; }
.doctor-list p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.doctor-list i { padding: 7px 9px; color: var(--blue); background: var(--sky); border-radius: 8px; font-style: normal; font-size: 9px; font-weight: 800; }
.demo-disclaimer { margin-top: 12px !important; color: #93a2a8 !important; font-size: 9px !important; }

.experience { background: linear-gradient(145deg, #eaf6fa, #f8fcfd); }
.experience-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; }
.experience-steps li { position: relative; min-height: 285px; padding: 0 23px 23px; overflow: hidden; background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 19px; box-shadow: 0 16px 42px rgba(41,87,104,.06); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.experience-steps li:hover { transform: translateY(-7px); border-color: rgba(37,133,178,.27); box-shadow: 0 24px 56px rgba(41,87,104,.11); }
.experience-steps li > img { width: calc(100% + 46px); max-width: none; height: 118px; margin-inline: -23px; object-fit: cover; transition: transform .35s ease; }
.experience-steps li:hover > img { transform: scale(1.04); }
.experience-steps li > span { position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; display: grid; place-items: center; color: white; background: rgba(21,65,82,.72); border-radius: 50%; font: 800 10px/1 Arial, sans-serif; }
.experience-steps i { position: relative; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--blue), #41a8c9); border: 4px solid white; border-radius: 14px; box-shadow: 0 9px 22px rgba(41,87,104,.18); font-style: normal; font-size: 18px; }
.experience-steps strong { display: block; margin-top: 20px; font-size: 17px; }
.experience-steps p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

.faq { background: #f8fbfc; }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: clamp(50px, 8vw, 120px); }
.text-link { margin-top: 24px; display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 13px; font-weight: 800; }
.text-link span { transition: transform .25s ease; }
.text-link:hover span { transform: translateX(-5px); }
.accordion { display: grid; gap: 9px; }
.faq-item { overflow: hidden; background: white; border: 1px solid #dfe9ed; border-radius: 15px; box-shadow: 0 12px 34px rgba(42,86,103,.05); }
.faq-item button { width: 100%; min-height: 70px; padding: 14px 17px; display: grid; grid-template-columns: 31px 1fr 30px; align-items: center; gap: 10px; text-align: right; background: transparent; border: 0; }
.faq-item button span { color: #99abb3; font: 800 9px/1 Arial, sans-serif; }
.faq-item button strong { font-size: 14px; }
.faq-item button i { width: 29px; height: 29px; display: grid; place-items: center; color: var(--blue); background: var(--sky); border-radius: 9px; font-style: normal; font-size: 18px; transition: transform .3s ease, color .3s ease, background .3s ease; }
.faq-item.open button i { color: white; background: var(--blue); transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s ease; }
.faq-answer p { min-height: 0; margin: 0; padding: 0 58px 0 46px; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.85; transition: padding .32s ease; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer p { padding-top: 2px; padding-bottom: 18px; }

.booking { background: linear-gradient(145deg, #e7f4f8, #f5fafc); }
.booking-panel { padding: 40px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(45px, 7vw, 95px); background: white; border: 1px solid #dce8ec; border-radius: 28px; box-shadow: 0 26px 70px rgba(38,87,104,.09); }
.clinic-hours { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.clinic-hours span { padding: 13px; display: grid; gap: 4px; color: #667e88; background: #f2f8fa; border-radius: 11px; font-size: 11px; }
.clinic-hours b { color: var(--ink); font-size: 12px; }
.booking-form { padding: 25px; background: #f6fafb; border: 1px solid #e0eaee; border-radius: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking-form label { display: block; margin-bottom: 13px; color: #5e7681; font-size: 11px; font-weight: 700; }
.booking-form input, .booking-form select { width: 100%; height: 48px; margin-top: 7px; padding: 0 12px; color: var(--ink); background: white; border: 1px solid #d7e3e8; border-radius: 10px; outline: 0; }
.booking-form input:focus, .booking-form select:focus { border-color: rgba(37,133,178,.5); box-shadow: 0 0 0 3px rgba(37,133,178,.08); }
.booking-form .button { width: 100%; }
.form-note { margin: 10px 0 0; color: #899ca4; text-align: center; font-size: 9px; }

.site-footer { padding: 29px 0; background: white; border-top: 1px solid var(--line); }
.site-footer .shell { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-brand { font-size: 17px; }
.footer-brand .brand-mark { width: 31px; height: 31px; }
.site-footer p { margin: 0; color: var(--muted); font-size: 11px; }
.site-footer .shell > a:last-child { justify-self: end; color: var(--blue); font-size: 11px; font-weight: 700; }

.toast { position: fixed; z-index: 200; left: 22px; bottom: 22px; max-width: 390px; padding: 13px; display: flex; align-items: center; gap: 11px; color: var(--ink); background: white; border: 1px solid #dce7eb; border-radius: 15px; box-shadow: 0 25px 70px rgba(31,74,91,.2); transform: translateY(140%); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.toast.show { transform: none; opacity: 1; }
.toast > span { width: 35px; height: 35px; display: grid; place-items: center; color: white; background: var(--mint); border-radius: 10px; font-weight: 900; }
.toast strong { display: block; font-size: 12px; }
.toast small { display: block; margin-top: 3px; color: #758c96; font-size: 9px; }
.toast button { margin-right: auto; color: #899ca4; background: transparent; border: 0; font-size: 22px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(.2,.8,.2,1), transform .75s cubic-bezier(.2,.8,.2,1); }
[data-reveal].revealed { opacity: 1; transform: none; }
@keyframes clinicFloat { 0%,100% { transform: scale(1.01) translateY(0); } 50% { transform: scale(1.025) translateY(-4px); } }
@keyframes sparkle { 0%,100% { opacity: .45; transform: scale(.85) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(18deg); } }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 46px, 1030px); }
  .site-header { right: 15px; left: 15px; }
  .main-nav a { padding-inline: 7px; font-size: 10px; }
  .back-link { display: none; }
  .hero-grid { gap: 27px; }
  .hero-frame { height: 400px; }
  .hero-media { min-height: 415px; }
  .doctor-photo { min-height: 510px; }
}

@media (max-width: 850px) {
  :root { --shell: min(100% - 32px, 740px); }
  html { scroll-padding-top: 90px; }
  .site-header { top: 10px; min-height: 66px; padding: 0 15px; }
  .site-header.scrolled { top: 5px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; }
  .menu-toggle { display: block; }
  .menu-toggle.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: fixed; top: 86px; right: 10px; left: 10px; padding: 8px; display: grid; background: rgba(255,255,255,.98); border: 1px solid var(--line-strong); border-radius: 15px; box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility .25s ease; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px; border-bottom: 1px solid var(--line); font-size: 12px; }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .hero { padding-top: 105px; }
  .hero-grid, .services-layout, .team-grid, .faq-grid, .booking-panel { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-actions, .trust-list { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-media { order: 0; min-height: 410px; }
  .hero-frame { width: 100%; height: 395px; border-radius: 28px 28px 28px 80px; }
  .card-rating { left: 1%; }
  .hero-stats { width: var(--shell); margin-top: -28px; grid-template-columns: repeat(2, 1fr); }
  .hero-stats article:nth-child(2) { border-left: 0; }
  .hero-stats article { border-bottom: 1px solid var(--line); }
  .hero-stats article:nth-child(n+3) { border-bottom: 0; }
  .section { padding: 82px 0; }
  .section-heading { display: block; }
  .section-heading > p { width: auto; margin-top: 15px; }
  .service-detail { min-height: 400px; }
  .doctor-photo { min-height: 500px; }
  .team-copy { text-align: center; }
  .team-copy .eyebrow { justify-content: center; }
  .team-copy > p:not(.eyebrow) { margin-inline: auto; }
  .doctor-list { text-align: right; }
  .experience-steps { grid-template-columns: 1fr 1fr; }
  .experience-steps li { min-height: 270px; }
  .faq-copy { text-align: center; }
  .faq-copy .eyebrow { justify-content: center; }
  .faq-copy > p:not(.eyebrow) { margin-inline: auto; }
  .accordion { margin-top: 12px; }
  .booking-panel { padding: 28px; }
}

@media (max-width: 520px) {
  :root { --shell: calc(100% - 24px); }
  .site-header { right: 7px; left: 7px; padding-inline: 12px; border-radius: 14px; }
  .brand small { display: none; }
  .hero h1 { font-size: clamp(34px, 10.5vw, 44px); }
  .hero-grid { gap: 22px; }
  .hero-media { min-height: 315px; }
  .hero-frame { height: 300px; border-width: 5px; border-radius: 22px 22px 22px 55px; }
  .card-rating { width: 88px; min-height: 87px; top: 2%; }
  .card-rating strong { font-size: 21px; }
  .card-rating small { display: none; }
  .card-ready { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-list { flex-wrap: wrap; gap: 11px; }
  .hero-stats { margin-top: 14px; padding: 13px; }
  .hero-stats article { padding-inline: 9px; }
  .hero-stats strong { font-size: 15px; }
  .section { padding: 70px 0; }
  .service-tab { grid-template-columns: 27px 54px 1fr; padding: 12px; }
  .service-tab > b { display: none; }
  .service-tab > img { width: 54px; }
  .service-detail { min-height: 0; padding: 25px 21px; }
  .service-detail h3 { font-size: 27px; }
  .doctor-photo { min-height: 360px; border-width: 5px; border-radius: 24px 24px 60px 24px; }
  .doctor-list article { grid-template-columns: 26px 1fr; }
  .doctor-list i { grid-column: 2; justify-self: start; }
  .experience-steps { grid-template-columns: 1fr; }
  .experience-steps li { min-height: 260px; }
  .faq-answer p { padding-right: 48px; padding-left: 34px; }
  .booking-panel, .booking-form { padding: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .clinic-hours { grid-template-columns: 1fr; }
  .site-footer .shell { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .site-footer .shell > a:last-child { justify-self: center; }
  .toast { right: 12px; left: 12px; bottom: 12px; max-width: none; }
}

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

/* Phone layout: calm clinical rhythm, readable cards and compact imagery. */
@media (max-width: 767px) {
  :root { --shell: calc(100% - 24px); }
  html { scroll-padding-top: 80px; }
  body { overflow-x: clip; }
  a, button, select, input { touch-action: manipulation; }

  .site-header {
    top: 8px;
    right: 8px;
    left: 8px;
    min-height: 64px;
    padding: 0 12px;
    gap: 8px;
    border-radius: 16px;
  }

  .site-header.scrolled { top: 4px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions { gap: 0; }
  .menu-toggle { flex: 0 0 44px; width: 44px; height: 44px; }

  .main-nav {
    top: 79px;
    right: 8px;
    left: 8px;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 15px;
  }

  .main-nav a {
    min-height: 47px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    font-size: 14px;
  }

  .hero { min-height: 0; padding: 92px 0 58px; }
  .hero-orb, .hero-spark { display: none; }
  .hero-grid { gap: 20px; }
  .hero h1 { font-size: clamp(29px, 8.8vw, 35px); line-height: 1.27; letter-spacing: -.025em; }
  .hero-lead { margin-top: 16px; font-size: 16px; line-height: 1.8; }
  .eyebrow { margin-bottom: 13px; font-size: 14px; line-height: 1.6; }
  .hero-actions { margin-top: 21px; gap: 9px; }
  .button { min-height: 50px; font-size: 14px; }
  .trust-list { margin-top: 18px; gap: 9px 14px; font-size: 13px; }

  .hero-media { min-height: 276px; }
  .hero-frame {
    height: 265px;
    border-width: 4px;
    border-radius: 22px 22px 22px 46px;
  }

  .hero-frame img { animation: none; }
  .floating-card { display: none; }
  .card-rating { display: grid; width: 78px; min-height: 76px; top: 8px; left: 8px; padding: 8px; }
  .card-rating strong { font-size: 19px; }
  .card-rating span { font-size: 10px; }

  .hero-stats {
    width: var(--shell);
    margin-top: 16px;
    padding: 10px;
    border-radius: 16px;
  }

  .hero-stats article { min-height: 58px; padding: 9px; }
  .hero-stats strong { font-size: 16px; }
  .hero-stats span { font-size: 12px; }

  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 25px; }
  .section-heading h2, .team-copy h2, .faq-copy h2, .booking-copy h2 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.3;
    letter-spacing: -.02em;
  }

  .section-heading > p, .team-copy > p:not(.eyebrow):not(.demo-disclaimer), .faq-copy > p:not(.eyebrow), .booking-copy > p:not(.eyebrow) {
    margin-top: 13px;
    font-size: 16px;
    line-height: 1.8;
  }

  .services-layout, .team-grid, .faq-grid, .booking-panel { gap: 25px; }
  .service-tabs { gap: 9px; }
  .service-tab {
    min-height: 98px;
    padding: 10px;
    grid-template-columns: 28px 66px minmax(0, 1fr);
    gap: 9px;
  }

  .service-tab > img { width: 66px; height: 66px; border-radius: 12px; object-fit: cover; }
  .service-tab strong { font-size: 15px; }
  .service-tab p { font-size: 13px; line-height: 1.55; }
  .service-detail { min-height: 0; padding: 24px 19px; border-radius: 19px; }
  .service-detail h3 { font-size: 25px; line-height: 1.35; }
  .service-detail > p:not(.eyebrow) { font-size: 15px; line-height: 1.8; }
  .service-detail li { font-size: 14px; }
  .service-detail .button { width: 100%; }

  .doctor-photo { min-height: 0; height: auto; aspect-ratio: 4 / 3; border-width: 4px; border-radius: 22px 22px 44px 22px; }
  .doctor-photo img { animation: none; }
  .doctor-label { right: 10px; left: 10px; bottom: 10px; padding: 12px; }
  .doctor-label strong { font-size: 15px; }
  .doctor-list article { min-height: 82px; padding: 13px; gap: 9px; }
  .doctor-list strong { font-size: 15px; }
  .doctor-list p { font-size: 13px; }
  .doctor-list i { font-size: 12px; }
  .demo-disclaimer { font-size: 13px; line-height: 1.7; }

  .experience-steps { gap: 11px; }
  .experience-steps li { min-height: 0; padding: 0 18px 20px; border-radius: 17px; }
  .experience-steps li > img { height: 155px; margin-inline: -18px; width: calc(100% + 36px); object-fit: cover; }
  .experience-steps strong { font-size: 18px; }
  .experience-steps p { font-size: 14px; line-height: 1.7; }

  .faq-item button { min-height: 64px; padding: 12px; grid-template-columns: 28px minmax(0, 1fr) 28px; }
  .faq-item button strong { font-size: 15px; line-height: 1.55; }
  .faq-answer p { padding-right: 44px; padding-left: 32px; font-size: 14px; line-height: 1.75; }

  .booking-panel, .booking-form { padding: 20px; border-radius: 19px; }
  .booking-form label { font-size: 14px; }
  .booking-form input, .booking-form select { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .clinic-hours { grid-template-columns: 1fr; }
  .clinic-hours span { font-size: 14px; }
  .booking-form .button { width: 100%; }

  .site-footer { padding: 25px 0; }
  .site-footer .shell { gap: 14px; }
  .site-footer p, .site-footer .shell > a:last-child { font-size: 13px; line-height: 1.7; }
}

@media (max-width: 380px) {
  .brand-mark { display: none; }
  .hero h1 { font-size: 28px; }
  .hero-media { min-height: 240px; }
  .hero-frame { height: 230px; }
  .card-rating { display: none; }
  .service-tab { grid-template-columns: 24px 56px minmax(0, 1fr); }
  .service-tab > img { width: 56px; height: 56px; }
}
