:root {
  --primary: #1779d3;
  --primary-dark: #0b5da7;
  --primary-soft: #e9f5ff;
  --secondary: #0fbaa4;
  --ink: #10233f;
  --muted: #64748b;
  --line: #dce8f3;
  --surface: #ffffff;
  --surface-alt: #f4f9fd;
  --shadow: 0 24px 70px rgba(16, 35, 63, 0.12);
  --shadow-sm: 0 12px 35px rgba(16, 35, 63, 0.09);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100% - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: "Cairo", "Tahoma", "Arial", sans-serif; line-height: 1.75; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 105px 0; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -80px; z-index: 9999; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px; transition: .2s; }
.skip-link:focus { top: 16px; }

.topbar { background: #0e2948; color: #e9f5ff; font-size: 13px; }
.topbar-inner { min-height: 39px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar-item, .topbar-links { display: flex; align-items: center; gap: 10px; }
.topbar a:hover { color: #87cbff; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.scrolled { border-bottom-color: rgba(23,121,211,.12); box-shadow: 0 10px 30px rgba(16,35,63,.07); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 220px; }
.brand img { width: 65px; height: 65px; object-fit: contain; filter: drop-shadow(0 7px 12px rgba(23,121,211,.16)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; color: var(--primary-dark); }
.brand-text small { font-size: 11px; color: var(--muted); margin-top: 4px; letter-spacing: .4px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 28px; flex: 1; }
.nav-link { position: relative; font-weight: 700; color: #354861; font-size: 14px; padding: 10px 0; }
.nav-link::after { content: ""; position: absolute; bottom: 2px; inset-inline-start: 0; width: 0; height: 2px; border-radius: 999px; background: var(--primary); transition: .25s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { min-width: 42px; height: 42px; border: 1px solid var(--line); color: var(--primary-dark); background: var(--surface); border-radius: 12px; font-weight: 800; }
.lang-toggle:hover { border-color: var(--primary); background: var(--primary-soft); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--primary-soft); padding: 11px; }
.menu-toggle span { display: block; height: 2px; background: var(--primary-dark); margin: 5px 0; border-radius: 3px; }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 0; border-radius: 13px; padding: 12px 22px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), #3aa6ef); color: #fff; box-shadow: 0 12px 25px rgba(23,121,211,.25); }
.btn-primary:hover { box-shadow: 0 16px 30px rgba(23,121,211,.34); }
.btn-secondary { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.84); color: var(--ink); border: 1px solid rgba(16,35,63,.1); box-shadow: 0 10px 25px rgba(16,35,63,.07); }
.btn-lg { min-height: 54px; padding-inline: 26px; }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 0; background: radial-gradient(circle at 15% 10%, #e1f3ff 0, transparent 38%), linear-gradient(180deg,#f9fcff 0%,#eef8ff 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .27; background-image: linear-gradient(rgba(23,121,211,.11) 1px,transparent 1px),linear-gradient(90deg,rgba(23,121,211,.11) 1px,transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom,#000,transparent 82%); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .8; z-index: -1; }
.hero-glow-one { width: 310px; height: 310px; background: rgba(15,186,164,.13); inset-inline-start: -160px; top: 140px; }
.hero-glow-two { width: 420px; height: 420px; background: rgba(23,121,211,.12); inset-inline-end: -160px; top: -90px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 65px; align-items: center; min-height: 590px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--primary); font-size: 13px; font-weight: 900; letter-spacing: .3px; margin-bottom: 16px; }
.eyebrow.light { color: #bce4ff; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 6px rgba(15,186,164,.13); }
.hero h1 { margin: 0 0 22px; font-size: clamp(42px,5.3vw,72px); line-height: 1.12; letter-spacing: -2.7px; }
.hero h1 span { color: var(--primary); position: relative; white-space: nowrap; }
.hero-copy > p { max-width: 640px; margin: 0 0 30px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.avatar-stack { display: flex; direction: ltr; }
.avatar-stack img { width: 43px; height: 43px; object-fit: cover; border-radius: 50%; border: 3px solid #fff; margin-left: -10px; }
.avatar-stack img:first-child { margin-left: 0; }
.stars { color: #ffb21c; letter-spacing: 2px; font-size: 14px; line-height: 1; }
.hero-trust small { color: #445973; font-weight: 700; }
.hero-visual { position: relative; }
.hero-image-wrap { position: relative; width: min(510px,100%); aspect-ratio: 1/1.03; margin-inline: auto; border-radius: 48% 48% 28% 28%; padding: 13px; background: linear-gradient(155deg,#fff,rgba(255,255,255,.35)); box-shadow: var(--shadow); }
.hero-image-wrap::after { content: ""; position: absolute; inset: 24px -22px -20px 20px; border: 2px dashed rgba(23,121,211,.21); border-radius: 47% 47% 28% 28%; z-index: -1; }
.hero-image-wrap > img { width: 100%; height: 100%; object-fit: cover; border-radius: 47% 47% 27% 27%; }
.hero-badge { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.75); border-radius: 16px; box-shadow: 0 16px 35px rgba(16,35,63,.14); }
.hero-badge-years { inset-inline-start: -30px; top: 72px; padding: 13px 18px; flex-direction: column; gap: 0; line-height: 1.2; }
.hero-badge-years strong { font-size: 29px; color: var(--primary); }
.hero-badge-years span { font-size: 12px; color: var(--muted); font-weight: 700; }
.hero-badge-hours { inset-inline-end: -25px; bottom: 72px; padding: 13px 16px; }
.badge-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--secondary); }
.hero-badge-hours div { display: flex; flex-direction: column; }
.hero-badge-hours strong { font-size: 13px; }
.hero-badge-hours small { font-size: 11px; color: var(--muted); }
.quick-info { margin-top: 55px; display: grid; grid-template-columns: repeat(3,1fr); background: #fff; border: 1px solid rgba(23,121,211,.11); border-radius: 22px 22px 0 0; box-shadow: 0 -10px 40px rgba(16,35,63,.06); overflow: hidden; }
.quick-card { display: flex; align-items: center; gap: 14px; padding: 25px 30px; transition: .2s; border-inline-end: 1px solid var(--line); }
.quick-card:last-child { border-inline-end: 0; }
.quick-card:hover { background: var(--primary-soft); }
.quick-icon { width: 47px; height: 47px; flex: 0 0 47px; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: var(--primary-soft); font-size: 23px; }
.quick-card span:last-child { display: flex; flex-direction: column; line-height: 1.4; }
.quick-card small { color: var(--muted); }
.quick-card strong { font-size: 14px; }

.section-heading { max-width: 720px; margin-bottom: 45px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.split { max-width: none; display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.section-heading.split > * { width: min(540px,100%); }
.section-heading h2, .about-copy h2, .booking-intro h2, .contact-info h2 { margin: 0 0 16px; font-size: clamp(31px,4vw,48px); line-height: 1.25; letter-spacing: -1.3px; }
.section-heading p, .about-copy p, .contact-info > p { color: var(--muted); margin: 0; }
.section-services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { border-radius: var(--radius-md); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(16,35,63,.045); transition: .3s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-sm); border-color: rgba(23,121,211,.28); }
.service-image { position: relative; aspect-ratio: 1.4/1; overflow: hidden; }
.service-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top,rgba(7,37,66,.28),transparent 55%); }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.service-card:hover .service-image img { transform: scale(1.06); }
.service-number { position: absolute; z-index: 2; inset-inline-end: 16px; bottom: 14px; font-weight: 900; font-size: 22px; color: #fff; }
.service-body { padding: 23px; }
.service-body h3 { margin: 0 0 8px; font-size: 21px; }
.service-body p { color: var(--muted); margin: 0 0 15px; font-size: 14px; min-height: 50px; }
.text-link { border: 0; background: none; color: var(--primary); padding: 0; font-weight: 900; }
.text-link::after { content: " ←"; }
html[dir="ltr"] .text-link::after { content: " →"; }

.section-about { background: var(--surface-alt); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .96fr 1.04fr; gap: 80px; align-items: center; }
.about-collage { position: relative; min-height: 530px; }
.about-main { position: absolute; inset-inline-start: 0; top: 0; width: 78%; height: 455px; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow); }
.about-small { position: absolute; inset-inline-end: 0; bottom: 0; width: 48%; height: 250px; object-fit: cover; border: 10px solid var(--surface-alt); border-radius: 28px; box-shadow: var(--shadow-sm); }
.about-since { position: absolute; inset-inline-start: 13px; bottom: 15px; width: 145px; height: 145px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff; background: linear-gradient(145deg,var(--primary),#39a6ef); box-shadow: 0 18px 40px rgba(23,121,211,.28); border: 7px solid var(--surface-alt); }
.about-since strong { font-size: 28px; line-height: 1; }
.about-since span { font-size: 11px; }
.check-list { list-style: none; padding: 0; margin: 25px 0 30px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-inline-start: 34px; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--secondary); font-size: 12px; }

.section-doctors { background: #fff; }
.doctors-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; }
.doctor-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; transition: .3s; }
.doctor-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-sm); }
.doctor-image { position: relative; height: 330px; overflow: hidden; background: #dff1ff; }
.doctor-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: .5s; }
.doctor-card:hover .doctor-image img { transform: scale(1.035); }
.doctor-dep { position: absolute; inset-inline-start: 16px; bottom: 15px; color: var(--primary-dark); background: rgba(255,255,255,.92); border-radius: 999px; padding: 6px 12px; font-size: 11px; font-weight: 900; backdrop-filter: blur(8px); }
.doctor-body { padding: 21px 22px 23px; }
.doctor-body h3 { margin: 0 0 4px; font-size: 19px; direction: ltr; text-align: start; }
.doctor-body p { color: var(--primary); font-weight: 800; margin: 0 0 4px; }
.doctor-body small { display: block; color: var(--muted); min-height: 29px; }
.doctor-book { display: inline-block; color: var(--ink); margin-top: 14px; font-weight: 900; border-bottom: 1px solid var(--ink); }
.doctor-book:hover { color: var(--primary); border-color: var(--primary); }

.section-booking { background: #fff; padding-top: 30px; }
.booking-shell { position: relative; overflow: hidden; display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; padding: 62px; color: #fff; background: linear-gradient(135deg,#0b365f 0%,#0b66a8 58%,#0e8ea4 120%); border-radius: 34px; box-shadow: var(--shadow); }
.booking-shell::before { content: ""; position: absolute; width: 400px; height: 400px; border: 65px solid rgba(255,255,255,.05); border-radius: 50%; inset-inline-start: -180px; bottom: -210px; }
.booking-intro, .booking-form { position: relative; z-index: 1; }
.booking-intro h2 { font-size: clamp(29px,3.4vw,44px); }
.booking-intro p { color: #d2e9f9; }
.booking-contact { margin-top: 33px; display: flex; align-items: center; gap: 13px; }
.booking-contact > span { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.booking-contact div { display: flex; flex-direction: column; }
.booking-contact small { color: #bce4ff; }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 25px; border-radius: 23px; color: var(--ink); background: rgba(255,255,255,.98); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .booking-form .full { grid-column: 1/-1; }
.field label { font-size: 12px; font-weight: 900; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #d5e2ee; color: var(--ink); background: #fbfdff; border-radius: 11px; padding: 11px 13px; outline: none; transition: .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(23,121,211,.1); background: #fff; }
.field textarea { resize: vertical; }
.form-note { color: var(--muted); text-align: center; font-size: 11px; margin: -3px 0 0; }

.section-contact { background: var(--surface-alt); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: center; }
.contact-list { display: grid; gap: 12px; margin: 30px 0; }
.contact-list a { display: flex; align-items: flex-start; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: #fff; box-shadow: 0 6px 18px rgba(16,35,63,.06); }
.contact-list div { display: flex; flex-direction: column; }
.contact-list small { color: var(--muted); }
.contact-list strong { font-size: 14px; }
.hours-card { background: #fff; padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.hours-card h3 { margin: 0 0 10px; }
.hours-card > div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; color: var(--muted); }
.hours-card strong { color: var(--ink); text-align: end; }
.map-wrap { position: relative; overflow: hidden; border-radius: 30px; min-height: 600px; background: #d9eaf6; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 600px; border: 0; filter: saturate(.82) contrast(.95); }
.map-button { position: absolute; inset-inline-start: 22px; bottom: 22px; color: #fff; background: var(--ink); padding: 11px 17px; border-radius: 12px; font-weight: 800; box-shadow: var(--shadow-sm); }

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.accordion { display: grid; gap: 12px; }
.accordion-item { border: 1px solid var(--line); border-radius: 15px; background: #fff; overflow: hidden; }
.accordion-item button { width: 100%; border: 0; background: none; padding: 18px 20px; display: flex; justify-content: space-between; gap: 20px; color: var(--ink); font-weight: 900; text-align: start; }
.accordion-item button b { color: var(--primary); font-size: 20px; transition: .25s; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-content p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.accordion-item.active { border-color: rgba(23,121,211,.35); background: #fbfdff; }
.accordion-item.active button b { transform: rotate(45deg); }

.site-footer { color: #d8e6f4; background: #081f38; padding: 75px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.1fr; gap: 55px; padding-bottom: 55px; }
.light-brand .brand-text strong { color: #fff; }
.light-brand .brand-text small { color: #9fb8ce; }
.footer-brand p { max-width: 370px; color: #9fb8ce; }
.footer-grid h3 { color: #fff; font-size: 15px; margin: 0 0 18px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid a, .footer-grid span { color: #9fb8ce; font-size: 13px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { min-height: 72px; border-top: 1px solid rgba(255,255,255,.09); display: flex; align-items: center; justify-content: space-between; color: #8fa9c0; font-size: 12px; }
.footer-bottom button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; }

.floating-whatsapp { position: fixed; z-index: 900; inset-inline-end: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px; background: #18b76a; color: #fff; border-radius: 999px; padding: 10px 15px; box-shadow: 0 15px 35px rgba(24,183,106,.32); font-weight: 900; }
.floating-whatsapp span { font-size: 24px; line-height: 1; }
.floating-whatsapp small { font-size: 12px; }

.service-modal { width: min(940px,calc(100% - 30px)); max-height: 88vh; border: 0; border-radius: 25px; padding: 0; overflow: auto; box-shadow: 0 40px 120px rgba(0,0,0,.3); }
.service-modal::backdrop { background: rgba(4,22,40,.72); backdrop-filter: blur(7px); }
.service-modal[open] { display: grid; grid-template-columns: .88fr 1.12fr; animation: modalIn .25s ease; }
.modal-media { min-height: 520px; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: 55px 45px; }
.modal-content h2 { font-size: 35px; margin: 0 0 15px; }
.modal-content p { color: var(--muted); }
.modal-close { position: absolute; z-index: 2; top: 14px; inset-inline-end: 14px; width: 39px; height: 39px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 22px; box-shadow: 0 7px 20px rgba(0,0,0,.12); }
.toast { position: fixed; z-index: 1500; left: 50%; bottom: 25px; transform: translate(-50%,120px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 11px; box-shadow: var(--shadow-sm); transition: .3s; }
.toast.show { transform: translate(-50%,0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes modalIn { from { opacity:0; transform: translateY(15px) scale(.985); } to { opacity:1; transform:none; } }

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  .header-book { display: none; }
  .hero-grid { gap: 35px; }
  .hero h1 { font-size: 50px; }
  .services-grid, .doctors-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { gap: 50px; }
  .booking-shell { padding: 45px; gap: 35px; }
  .contact-grid { gap: 40px; }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 680px); }
  .topbar { display: none; }
  .header-inner { min-height: 76px; }
  .brand { min-width: 0; flex: 1; }
  .brand img { width: 54px; height: 54px; }
  .brand-text strong { font-size: 16px; }
  .menu-toggle { display: block; order: 3; }
  .main-nav { position: fixed; top: 76px; inset-inline: 14px; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); transform: translateY(-20px); opacity: 0; visibility: hidden; transition: .25s; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 11px 13px; border-radius: 10px; }
  .nav-link:hover, .nav-link.active { background: var(--primary-soft); }
  .nav-link::after { display: none; }
  .header-actions { order: 2; }
  .hero { padding-top: 45px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 15px; }
  .hero-image-wrap { width: min(480px,88vw); }
  .quick-info { grid-template-columns: 1fr; border-radius: 20px 20px 0 0; }
  .quick-card { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .quick-card:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .about-grid, .booking-shell, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 42px; }
  .about-visual { order: 2; }
  .about-collage { min-height: 480px; }
  .section-heading.split { display: block; }
  .section-heading.split p { margin-top: 16px; }
  .booking-shell { padding: 37px 25px; }
  .map-wrap, .map-wrap iframe { min-height: 450px; height: 450px; }
  .faq-grid { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .header-inner { gap: 9px; }
  .brand-text { display: none; }
  .brand img { width: 50px; height: 50px; }
  .hero h1 { font-size: 39px; letter-spacing: -1.4px; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions .btn { width: 100%; }
  .hero-badge-years { inset-inline-start: -5px; top: 35px; }
  .hero-badge-hours { inset-inline-end: -4px; bottom: 30px; }
  .services-grid, .doctors-grid { grid-template-columns: 1fr; }
  .service-body p { min-height: 0; }
  .about-collage { min-height: 420px; }
  .about-main { height: 365px; width: 88%; }
  .about-small { height: 190px; width: 48%; }
  .about-since { width: 110px; height: 110px; }
  .doctor-image { height: 390px; }
  .booking-form { grid-template-columns: 1fr; padding: 19px; }
  .field.full, .booking-form .full { grid-column: auto; }
  .booking-shell { border-radius: 25px; }
  .hours-card > div { flex-direction: column; gap: 0; }
  .hours-card strong { text-align: start; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { gap: 15px; }
  .floating-whatsapp small { display: none; }
  .floating-whatsapp { width: 51px; height: 51px; justify-content: center; padding: 0; }
  .service-modal[open] { grid-template-columns: 1fr; }
  .modal-media { min-height: 230px; height: 230px; }
  .modal-content { padding: 32px 24px; }
}


/* Version 2: multi-page layouts */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(145deg,#eef8ff,#f9fcff 58%,#e8fbf7); padding: 75px 0 80px; border-bottom: 1px solid var(--line); }
.page-hero::before { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(23,121,211,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(23,121,211,.08) 1px,transparent 1px); background-size:42px 42px; mask-image:linear-gradient(to bottom,#000,transparent); }
.page-hero-glow { position:absolute; width:420px; height:420px; inset-inline-end:-150px; top:-180px; border-radius:50%; background:rgba(15,186,164,.14); filter:blur(8px); }
.page-hero-inner { position:relative; max-width:850px; }
.breadcrumbs { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:12px; margin-bottom:25px; }
.breadcrumbs a:hover { color:var(--primary); }
.page-hero h1 { margin:0 0 16px; font-size:clamp(38px,5.2vw,66px); line-height:1.15; letter-spacing:-2px; }
.page-hero p { margin:0; max-width:760px; color:var(--muted); font-size:17px; }
.compact-cta { padding-top:35px; padding-bottom:35px; }
.cta-card { display:flex; justify-content:space-between; align-items:center; gap:35px; border-radius:28px; padding:42px 48px; color:#fff; background:linear-gradient(135deg,#0b365f,#0b75ba 60%,#0fbaa4); box-shadow:var(--shadow); }
.cta-card h2 { margin:0 0 8px; font-size:clamp(27px,3vw,40px); }
.cta-card p { margin:0; color:#d5eafa; }
.story-grid { display:grid; grid-template-columns:1fr 1fr; gap:75px; align-items:center; }
.story-visual { position:relative; }
.story-visual img { width:100%; min-height:500px; object-fit:cover; border-radius:32px; box-shadow:var(--shadow); }
.metric-card { position:absolute; inset-inline-end:-24px; bottom:35px; display:flex; flex-direction:column; min-width:160px; padding:22px; color:#fff; background:linear-gradient(145deg,var(--primary),#39a6ef); border:7px solid #fff; border-radius:22px; box-shadow:var(--shadow-sm); }
.metric-card strong { font-size:34px; line-height:1; }
.story-copy h2 { font-size:clamp(32px,4vw,48px); line-height:1.25; margin:0 0 18px; }
.story-copy p { color:var(--muted); }
.notice-inline { padding:14px 16px; border-inline-start:4px solid var(--secondary); background:#eefbf8; border-radius:10px; font-size:13px; }
.section-values { background:var(--surface-alt); }
.values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.value-card { padding:30px; background:#fff; border:1px solid var(--line); border-radius:20px; }
.value-card > span { color:var(--primary); font-size:13px; font-weight:900; }
.value-card h3 { margin:10px 0 8px; }
.value-card p { margin:0; color:var(--muted); }
.departments-stack { display:grid; gap:35px; }
.department-detail { display:grid; grid-template-columns:.9fr 1.1fr; align-items:center; gap:52px; padding:28px; border:1px solid var(--line); border-radius:28px; background:#fff; box-shadow:0 10px 36px rgba(16,35,63,.05); scroll-margin-top:125px; }
.department-detail:nth-child(even) .department-media { order:2; }
.department-media { position:relative; overflow:hidden; min-height:390px; border-radius:22px; }
.department-media img { width:100%; height:390px; object-fit:cover; }
.department-media > span { position:absolute; inset-inline-end:18px; bottom:14px; color:#fff; font-size:42px; font-weight:900; text-shadow:0 3px 15px rgba(0,0,0,.3); }
.department-copy h2 { font-size:clamp(30px,3.6vw,45px); margin:0 0 13px; }
.department-copy > p { color:var(--muted); }
.section-note { padding-top:20px; background:var(--surface-alt); }
.info-banner { display:flex; align-items:center; gap:20px; padding:28px; background:#fff; border:1px solid var(--line); border-radius:20px; }
.info-banner > span { width:48px; height:48px; flex:0 0 48px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--primary); font-weight:900; }
.info-banner > div { flex:1; }
.info-banner h3,.info-banner p { margin:0; }
.info-banner p { color:var(--muted); }
.filter-bar { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:35px; }
.filter-button { border:1px solid var(--line); background:#fff; color:var(--muted); border-radius:999px; padding:9px 15px; font-size:13px; font-weight:800; }
.filter-button:hover,.filter-button.active { color:#fff; border-color:var(--primary); background:var(--primary); }
.doctors-page-grid { transition:.2s; }
.doctor-card[hidden] { display:none; }
.verification-note { margin:30px 0 0; padding:14px 18px; border-radius:12px; background:#fff8e7; color:#7c5a10; font-size:12px; border:1px solid #f0d995; }
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.feature-service { padding:30px; border:1px solid var(--line); border-radius:20px; background:#fff; transition:.25s; }
.feature-service:hover { transform:translateY(-5px); box-shadow:var(--shadow-sm); }
.feature-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; background:var(--primary-soft); color:var(--primary); font-size:23px; }
.feature-service h3 { margin:18px 0 7px; }
.feature-service p { color:var(--muted); margin:0; }
.offers-section { background:var(--surface-alt); }
.offers-shell { display:grid; grid-template-columns:1.25fr .75fr; gap:45px; align-items:center; padding:55px; border-radius:30px; color:#fff; background:linear-gradient(135deg,#0d3155,#0c72af 64%,#0fbaa4); box-shadow:var(--shadow); }
.offers-copy h2 { font-size:clamp(31px,4vw,48px); line-height:1.2; margin:0 0 13px; }
.offers-copy p { color:#d7eafa; }
.offer-placeholder { min-height:260px; display:grid; place-content:center; text-align:center; border:1px dashed rgba(255,255,255,.35); border-radius:24px; background:rgba(255,255,255,.08); }
.offer-placeholder span { font-size:78px; line-height:1; font-weight:900; }
.offer-placeholder strong { margin-top:12px; }
.process-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.process-step { position:relative; padding:30px; border:1px solid var(--line); border-radius:20px; }
.process-step b { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; color:#fff; background:var(--primary); }
.process-step h3 { margin:18px 0 6px; }
.process-step p { margin:0; color:var(--muted); }
.booking-page-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:50px; align-items:start; }
.booking-help { position:sticky; top:130px; }
.booking-help h2 { font-size:clamp(30px,3.7vw,46px); line-height:1.25; }
.booking-help > p { color:var(--muted); }
.booking-contact-card { display:flex; flex-direction:column; padding:20px; border-radius:16px; background:var(--primary-soft); }
.booking-contact-card small { color:var(--muted); }
.booking-contact-card a { color:var(--primary-dark); font-size:20px; font-weight:900; }
.booking-form-card { padding:10px; border-radius:28px; background:linear-gradient(145deg,#0b365f,#0c83bd); box-shadow:var(--shadow); }
.standalone-form { border-radius:21px; padding:30px; }
.consent-row { display:flex; gap:10px; align-items:flex-start; font-size:12px; color:var(--muted); }
.consent-row input { margin-top:5px; accent-color:var(--primary); }
.consent-row a { color:var(--primary); text-decoration:underline; }
.contact-page-grid { display:grid; grid-template-columns:1fr 1fr; gap:55px; align-items:start; }
.contact-panel h2,.contact-form-panel h2 { font-size:clamp(30px,3.8vw,45px); line-height:1.25; }
.contact-form-panel { padding:35px; border:1px solid var(--line); border-radius:24px; box-shadow:var(--shadow-sm); }
.contact-form-panel > p { color:var(--muted); }
.simple-form { display:grid; gap:15px; }
.map-section iframe { width:100%; min-height:520px; border:0; display:block; }
.privacy-layout { display:grid; grid-template-columns:.36fr .64fr; gap:55px; align-items:start; }
.privacy-summary { position:sticky; top:125px; padding:28px; background:var(--surface-alt); border:1px solid var(--line); border-radius:20px; }
.privacy-summary p { color:var(--muted); }
.privacy-content { max-width:800px; }
.privacy-content h2 { margin:35px 0 8px; font-size:25px; }
.privacy-content h2:first-child { margin-top:0; }
.privacy-content p { color:var(--muted); }
.policy-date { margin-top:45px; font-weight:800; color:var(--ink)!important; }
.not-found { min-height:70vh; display:grid; place-items:center; text-align:center; padding:80px 0; background:linear-gradient(145deg,#eef8ff,#fff); }
.not-found span { display:block; color:var(--primary); font-size:clamp(90px,18vw,190px); line-height:.9; font-weight:900; opacity:.18; }
.not-found h1 { font-size:clamp(35px,5vw,60px); margin:15px 0 8px; }
.not-found p { color:var(--muted); margin-bottom:26px; }

@media (max-width: 900px) {
  .story-grid,.department-detail,.offers-shell,.booking-page-grid,.contact-page-grid,.privacy-layout { grid-template-columns:1fr; }
  .department-detail:nth-child(even) .department-media { order:0; }
  .values-grid,.features-grid,.process-grid { grid-template-columns:repeat(2,1fr); }
  .booking-help,.privacy-summary { position:static; }
  .cta-card { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 580px) {
  .page-hero { padding:55px 0; }
  .page-hero h1 { letter-spacing:-1.2px; }
  .cta-card,.offers-shell { padding:30px 24px; }
  .story-visual img { min-height:380px; }
  .metric-card { inset-inline-end:10px; }
  .values-grid,.features-grid,.process-grid { grid-template-columns:1fr; }
  .department-detail { padding:15px; gap:25px; }
  .department-media,.department-media img { min-height:260px; height:260px; }
  .info-banner { align-items:flex-start; flex-wrap:wrap; }
  .info-banner .btn { width:100%; }
  .offer-placeholder { min-height:200px; }
  .contact-form-panel { padding:24px 18px; }
}

.doctor-credential{display:block;margin:.35rem 0;color:var(--primary,#1779d3);font-size:.88rem;font-weight:700;line-height:1.5}


/* Version 6: dedicated homepage and persistent dark mode */
html[data-theme="dark"] {
  color-scheme: dark;
  --primary: #64b5ff;
  --primary-dark: #95ceff;
  --primary-soft: #123552;
  --secondary: #42d5bf;
  --ink: #edf6ff;
  --muted: #a8bdd0;
  --line: #2a455e;
  --surface: #0c1d2d;
  --surface-alt: #11283c;
  --shadow: 0 24px 70px rgba(0,0,0,.34);
  --shadow-sm: 0 12px 35px rgba(0,0,0,.25);
}
body, .site-header, .main-nav, .hero, .quick-info, .service-card, .doctor-card,
.hours-card, .accordion-item, .value-card, .department-detail, .info-banner,
.filter-button, .feature-service, .contact-form-panel, .service-modal, .home-link-card,
.field input, .field select, .field textarea, .booking-form {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--primary-dark);
  background: var(--surface);
  border-radius: 12px;
  font-weight: 900;
}
.theme-toggle:hover { border-color: var(--primary); background: var(--primary-soft); }
.theme-icon { font-size: 19px; line-height: 1; }
.home-gateway { background: var(--surface); }
.home-links-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.home-link-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; min-height: 175px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 9px 30px rgba(16,35,63,.055); transition: .28s ease; }
.home-link-card:hover { transform: translateY(-7px); border-color: rgba(23,121,211,.38); box-shadow: var(--shadow-sm); }
.home-link-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--primary-soft); color: var(--primary); font-size: 25px; font-weight: 900; }
.home-link-card h3 { margin: 0 0 5px; font-size: 20px; }
.home-link-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.home-link-card b { color: var(--primary); font-size: 22px; }
html[dir="ltr"] .home-link-card b { transform: rotate(180deg); }
.home-booking-cta { background: var(--surface-alt); padding-top: 65px; padding-bottom: 65px; }
.faq-page-section { min-height: 480px; }

html[data-theme="dark"] .site-header { background: rgba(12,29,45,.93); }
html[data-theme="dark"] .site-header.scrolled { border-bottom-color: rgba(100,181,255,.18); box-shadow: 0 10px 30px rgba(0,0,0,.24); }
html[data-theme="dark"] .nav-link { color: #c5d5e5; }
html[data-theme="dark"] .main-nav { background: var(--surface); }
html[data-theme="dark"] .btn-ghost { background: rgba(17,40,60,.9); color: var(--ink); border-color: var(--line); box-shadow: 0 10px 25px rgba(0,0,0,.2); }
html[data-theme="dark"] .hero { background: radial-gradient(circle at 15% 10%, #143d5b 0, transparent 38%), linear-gradient(180deg,#0c1d2d 0%,#10283d 100%); }
html[data-theme="dark"] .hero::before { opacity: .18; }
html[data-theme="dark"] .hero-trust small { color: #bfd0df; }
html[data-theme="dark"] .avatar-stack img { border-color: var(--surface); }
html[data-theme="dark"] .hero-image-wrap { background: linear-gradient(155deg,#173650,rgba(17,40,60,.45)); }
html[data-theme="dark"] .hero-badge { background: rgba(17,40,60,.94); border-color: rgba(100,181,255,.18); }
html[data-theme="dark"] .quick-info,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .doctor-card,
html[data-theme="dark"] .hours-card,
html[data-theme="dark"] .accordion-item,
html[data-theme="dark"] .value-card,
html[data-theme="dark"] .department-detail,
html[data-theme="dark"] .info-banner,
html[data-theme="dark"] .filter-button,
html[data-theme="dark"] .feature-service,
html[data-theme="dark"] .contact-form-panel,
html[data-theme="dark"] .service-modal,
html[data-theme="dark"] .home-link-card { background: var(--surface); }
html[data-theme="dark"] .section-services,
html[data-theme="dark"] .section-doctors,
html[data-theme="dark"] .section-booking,
html[data-theme="dark"] .faq-section { background: var(--surface); }
html[data-theme="dark"] .doctor-image { background: #173650; }
html[data-theme="dark"] .doctor-dep { background: rgba(12,29,45,.92); color: var(--primary-dark); }
html[data-theme="dark"] .booking-form { background: rgba(12,29,45,.98); }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea { background: #10283d; border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .field textarea:focus { background: #14314a; }
html[data-theme="dark"] .contact-icon { background: var(--surface); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
html[data-theme="dark"] .accordion-item.active { background: #10283d; }
html[data-theme="dark"] .notice-inline { background: #10352f; }
html[data-theme="dark"] .verification-note { background: #3a2f12; color: #f2d98e; border-color: #715d25; }
html[data-theme="dark"] .not-found { background: linear-gradient(145deg,#10283d,var(--surface)); }
html[data-theme="dark"] .metric-card { border-color: var(--surface); }
html[data-theme="dark"] .page-hero { background: radial-gradient(circle at 85% 10%,#143d5b 0,transparent 40%),linear-gradient(180deg,var(--surface-alt),var(--surface)); }
html[data-theme="dark"] .policy-date { color: var(--ink)!important; }

@media (max-width: 900px) { .home-links-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px) {
  .theme-toggle,.lang-toggle { width: 39px; min-width: 39px; height: 39px; }
  .home-links-grid { grid-template-columns: 1fr; }
  .home-link-card { min-height: 0; padding: 22px 18px; }
}


/* Version 7: content management demo, accessibility, PWA and new sections */
.announcement-bar{background:linear-gradient(90deg,#0b5da7,#0fbaa4);color:#fff}.announcement-inner{min-height:42px;display:flex;align-items:center;justify-content:center;gap:16px;text-align:center;font-weight:800;font-size:13px}.announcement-inner button{border:0;background:rgba(255,255,255,.16);color:#fff;width:29px;height:29px;border-radius:9px}.news-grid,.reviews-grid,.insurance-grid,.gallery-grid,.profile-facts,.admin-stats{display:grid;gap:22px}.news-grid{grid-template-columns:repeat(3,1fr)}.news-card,.review-card,.insurance-card,.empty-state,.profile-card,.admin-card{border:1px solid var(--line);border-radius:22px;background:var(--surface);padding:27px;box-shadow:var(--shadow-sm)}.news-card time{color:var(--primary);font-weight:800;font-size:13px}.news-card h2{font-size:22px;line-height:1.45}.news-card p,.review-card p,.empty-state p{color:var(--muted)}.news-card a{color:var(--primary);font-weight:900}.insurance-grid{grid-template-columns:repeat(4,1fr)}.insurance-card{display:flex;align-items:center;gap:12px;box-shadow:none}.insurance-card span{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:var(--primary-soft);color:var(--primary);font-weight:900}.insurance-grid .empty-state{grid-column:1/-1;text-align:center}.gallery-grid{grid-template-columns:repeat(3,1fr)}.gallery-item{position:relative;border:0;border-radius:22px;overflow:hidden;padding:0;background:var(--surface);aspect-ratio:1.35/1;box-shadow:var(--shadow-sm)}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:.35s}.gallery-item:hover img{transform:scale(1.05)}.gallery-item span{position:absolute;inset:auto 0 0;padding:34px 18px 16px;color:#fff;background:linear-gradient(transparent,rgba(5,25,42,.82));font-weight:900;text-align:start}.gallery-dialog{border:0;border-radius:24px;padding:15px;background:var(--surface);color:var(--ink);max-width:min(900px,92vw)}.gallery-dialog::backdrop{background:rgba(0,0,0,.75)}.gallery-dialog img{max-height:72vh;border-radius:17px;margin:auto}.gallery-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:10px}.reviews-grid{grid-template-columns:repeat(3,1fr)}.review-card .stars{font-size:18px}.review-form-shell,.job-form-shell{display:grid;grid-template-columns:.75fr 1.25fr;gap:45px;align-items:start}.simple-panel{padding:32px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:var(--shadow-sm)}.profile-shell{display:grid;grid-template-columns:.72fr 1.28fr;gap:55px;align-items:start}.profile-photo{border-radius:28px;overflow:hidden;background:var(--surface-alt);box-shadow:var(--shadow)}.profile-photo img{width:100%;height:560px;object-fit:cover;object-position:top}.profile-card h1{font-size:clamp(34px,4vw,55px);line-height:1.2;margin:8px 0}.profile-card .lead{font-size:20px;color:var(--primary);font-weight:900}.profile-card p{color:var(--muted)}.profile-facts{grid-template-columns:repeat(2,1fr);margin:28px 0}.profile-fact{padding:18px;border-radius:16px;background:var(--surface-alt)}.profile-fact small{display:block;color:var(--muted)}.profile-fact strong{display:block;margin-top:5px}.card-actions{display:flex;gap:9px;flex-wrap:wrap}.secondary-link{background:var(--surface-alt)!important;color:var(--primary)!important}.install-app{margin-top:15px}.admin-page{background:var(--surface-alt);min-height:100vh}.admin-login{max-width:480px;margin:70px auto}.admin-toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:25px}.admin-tabs{display:grid;gap:20px}.admin-card h2{font-size:22px}.admin-card textarea{width:100%;min-height:260px;direction:ltr;text-align:left;font-family:Consolas,monospace;font-size:13px;padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--surface-alt);color:var(--ink)}.admin-card input[type=text],.admin-card input[type=password]{width:100%;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink)}.admin-stats{grid-template-columns:repeat(4,1fr)}.admin-stat{padding:20px;border-radius:18px;background:var(--primary-soft)}.admin-stat strong{display:block;font-size:30px;color:var(--primary)}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;min-width:760px}.admin-table th,.admin-table td{padding:10px;border-bottom:1px solid var(--line);text-align:start;font-size:13px}.admin-warning{padding:16px;border:1px solid #f2c46f;background:#fff7df;color:#76520d;border-radius:14px}.more-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.more-links a{padding:8px 12px;border:1px solid var(--line);border-radius:10px}.site-footer .install-app button{background:transparent;color:#bce4ff;border:1px solid rgba(255,255,255,.25);padding:8px 12px;border-radius:10px}.empty-state{text-align:center}.announcement-bar[hidden]{display:none}.jobs-list{display:grid;gap:15px}.job-card{padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
:focus-visible{outline:3px solid #ffb21c;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:1000px){.news-grid,.reviews-grid{grid-template-columns:repeat(2,1fr)}.insurance-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(2,1fr)}.profile-shell,.review-form-shell,.job-form-shell{grid-template-columns:1fr}.admin-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.news-grid,.reviews-grid,.insurance-grid,.gallery-grid,.profile-facts,.admin-stats{grid-template-columns:1fr}.profile-photo img{height:430px}.announcement-inner{font-size:11px}.admin-card{padding:18px}}


/* Version 8: branded opening splash screen inspired by a modern hospital intro */
html.splash-loading,html.splash-loading body{overflow:hidden}
html.splash-skip .site-splash{display:none!important}
.site-splash{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#062647 0%,#0a355d 55%,#0d426c 100%);color:#fff;opacity:1;visibility:visible;transition:opacity .65s ease,visibility .65s ease}
.site-splash::before,.site-splash::after{content:"";position:absolute;border-radius:50%;filter:blur(1px);opacity:.2;animation:splashFloat 5s ease-in-out infinite alternate}
.site-splash::before{width:390px;height:390px;top:-170px;inset-inline-start:-130px;background:radial-gradient(circle,rgba(94,193,255,.75),transparent 67%)}
.site-splash::after{width:460px;height:460px;bottom:-230px;inset-inline-end:-170px;background:radial-gradient(circle,rgba(61,214,192,.55),transparent 68%);animation-delay:-1.5s}
.splash-pattern{position:absolute;inset:0;opacity:.16;background-image:radial-gradient(circle at 25% 25%,rgba(255,255,255,.75) 0 2px,transparent 3px),linear-gradient(35deg,transparent 48%,rgba(255,255,255,.13) 49% 51%,transparent 52%);background-size:54px 54px,120px 120px;mask-image:linear-gradient(to bottom,transparent 0,#000 28%,#000 80%,transparent 100%)}
.splash-content{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:20px;max-width:88vw;padding:28px 32px;opacity:0;transform:translateY(14px) scale(.98);animation:splashIntro .78s .22s cubic-bezier(.2,.75,.2,1) forwards}
.splash-logo-wrap{width:108px;height:108px;flex:0 0 108px;display:grid;place-items:center;border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 22px 55px rgba(0,0,0,.28),0 0 0 1px rgba(255,255,255,.2);overflow:hidden}
.splash-logo-wrap img{width:94px;height:94px;object-fit:contain}
.splash-name{display:grid;gap:2px;text-align:start}
.splash-name strong{font-size:clamp(25px,4vw,41px);line-height:1.15;font-weight:900;letter-spacing:-.02em}
.splash-name span{font-size:clamp(14px,2vw,19px);font-weight:800;letter-spacing:.15em;color:#d8efff}
.splash-name small{margin-top:7px;font-size:11px;font-weight:700;letter-spacing:.08em;color:#a9d7f6}
.splash-progress{position:absolute;inset-inline:32px;bottom:10px;height:2px;border-radius:999px;background:rgba(255,255,255,.16);overflow:hidden}
.splash-progress i{display:block;width:100%;height:100%;background:linear-gradient(90deg,#fff,#64d7c6);transform-origin:right;animation:splashProgress 1.9s .18s ease-out both}
html[dir="ltr"] .splash-progress i{transform-origin:left}
.site-splash.is-hiding{opacity:0;visibility:hidden;pointer-events:none}
.site-splash.is-hiding .splash-content{transform:translateY(-8px) scale(1.015);transition:transform .65s ease}
@keyframes splashIntro{to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes splashProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes splashFloat{to{transform:translate3d(25px,18px,0) scale(1.08)}}
@media(max-width:520px){.splash-content{gap:14px;padding:24px 19px}.splash-logo-wrap{width:82px;height:82px;flex-basis:82px;border-radius:19px}.splash-logo-wrap img{width:72px;height:72px}.splash-name strong{font-size:25px}.splash-name span{font-size:12px;letter-spacing:.11em}.splash-name small{font-size:9px}.splash-progress{inset-inline:19px}}
@media(prefers-reduced-motion:reduce){.site-splash::before,.site-splash::after,.splash-content,.splash-progress i{animation:none!important}.splash-content{opacity:1;transform:none}}


/* Version 10: English-first homepage with branded abstract hero background */
.classic-home-hero{position:relative;z-index:0;min-height:690px;display:flex;align-items:center;overflow:hidden;color:#fff;background:linear-gradient(118deg,#041b33 0%,#073d67 48%,#0c78a4 100%);isolation:isolate}
.classic-home-hero::before{content:'';position:absolute;inset:0;z-index:-3;background:radial-gradient(circle at 78% 25%,rgba(115,218,255,.32),transparent 27%),radial-gradient(circle at 72% 92%,rgba(15,186,164,.25),transparent 34%),linear-gradient(115deg,rgba(1,15,30,.82) 0%,rgba(3,38,67,.58) 49%,rgba(7,92,130,.20) 100%)}
.classic-home-hero::after{content:'';position:absolute;z-index:-2;width:min(520px,43vw);aspect-ratio:1;inset-inline-end:5%;top:50%;transform:translateY(-50%);background:url('images/logo.webp') center/contain no-repeat;opacity:.105;filter:grayscale(1) brightness(3);pointer-events:none}
.classic-home-inner{position:relative;z-index:2}
.classic-home-overlay{position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(180deg,transparent 58%,rgba(1,14,27,.36));background-size:54px 54px,54px 54px,auto;mask-image:linear-gradient(to left,#000,rgba(0,0,0,.58) 58%,transparent 92%)}
.classic-home-inner{width:100%;padding-top:85px;padding-bottom:95px}
.classic-home-copy{max-width:690px}
.classic-kicker{display:inline-block;margin-bottom:18px;text-transform:uppercase;letter-spacing:.17em;font-size:12px;font-weight:800;color:#bfe6ff}
.classic-hero-logo{display:block;width:92px;height:92px;object-fit:contain;margin-bottom:19px;border-radius:50%;background:rgba(255,255,255,.96);box-shadow:0 18px 45px rgba(0,0,0,.25)}
.classic-home-copy h1{margin:0;font-size:clamp(54px,7vw,92px);line-height:.96;letter-spacing:-.045em;font-weight:900;text-shadow:0 8px 30px rgba(0,0,0,.25)}
.classic-home-copy h2{margin:18px 0 15px;max-width:650px;font-size:clamp(23px,3vw,37px);line-height:1.2;color:#e9f6ff;font-weight:700}
.classic-home-copy p{max-width:660px;margin:0 0 30px;font-size:17px;line-height:1.8;color:#d1e2ee}
.classic-home-actions{display:flex;gap:14px;flex-wrap:wrap}
.classic-outline-btn{border:1px solid rgba(255,255,255,.68);color:#fff;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}
.classic-outline-btn:hover{background:#fff;color:#0b2d4d}
.classic-quick-strip{position:relative;z-index:4;margin-top:-36px}
.classic-quick-grid{display:grid;grid-template-columns:repeat(3,1fr);border-radius:18px;overflow:hidden;background:var(--surface);box-shadow:0 18px 50px rgba(14,43,68,.16)}
.classic-quick-item{display:flex;align-items:center;gap:15px;min-height:105px;padding:22px 25px;color:var(--text);border-inline-end:1px solid var(--line);transition:.25s ease}
.classic-quick-item:last-child{border-inline-end:0}.classic-quick-item:hover{background:var(--primary-soft)}
.classic-quick-item>span{width:45px;height:45px;display:grid;place-items:center;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-size:22px}
.classic-quick-item div{display:grid;gap:4px}.classic-quick-item small{font-size:10px;letter-spacing:.12em;color:var(--muted);font-weight:900}.classic-quick-item strong{font-size:14px;line-height:1.45}
.classic-services{padding-top:105px;background:var(--surface)}
.classic-service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:30px}
.classic-service-card{position:relative;display:grid;grid-template-columns:47% 53%;min-height:335px;border:1px solid var(--line);background:var(--surface);box-shadow:0 12px 42px rgba(16,35,63,.07);overflow:hidden;transition:.3s ease}
.classic-service-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.classic-service-image{min-height:335px;overflow:hidden}.classic-service-image img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease}.classic-service-card:hover .classic-service-image img{transform:scale(1.045)}
.classic-service-body{position:relative;padding:36px 31px;display:flex;flex-direction:column;align-items:flex-start}
.classic-service-number{position:absolute;top:18px;inset-inline-end:23px;font-size:47px;line-height:1;font-weight:900;color:rgba(23,121,211,.10)}
.classic-service-body h3{margin:20px 0 14px;font-size:27px}.classic-service-body p{margin:0;color:var(--muted);font-size:14px;line-height:1.75}
.classic-service-links{display:flex;gap:18px;margin-top:auto;padding-top:25px}.classic-service-links a{font-size:12px;text-transform:uppercase;letter-spacing:.05em;font-weight:900;color:var(--primary);border-bottom:1px solid currentColor;padding-bottom:3px}.classic-service-links a:last-child{color:var(--text)}
.classic-story{background:var(--surface-alt)}
.classic-story-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:75px;align-items:center}
.classic-story-media{position:relative;max-width:520px}.classic-story-media>img{width:100%;aspect-ratio:.9/1;object-fit:cover;object-position:center 20%;border-radius:4px;box-shadow:var(--shadow)}
.classic-story-seal{position:absolute;inset-inline-end:-35px;bottom:35px;width:125px;height:125px;display:grid;place-items:center;align-content:center;border-radius:50%;background:var(--primary);color:#fff;box-shadow:0 18px 35px rgba(23,121,211,.3);border:8px solid var(--surface-alt)}
.classic-story-seal strong{font-size:27px}.classic-story-seal span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:800}
.classic-story-copy h2{margin:14px 0 22px;font-size:clamp(35px,4.5vw,55px);line-height:1.12;letter-spacing:-.035em}.classic-story-copy>p{color:var(--muted);font-size:16px;line-height:1.85}
.classic-check-list{display:grid;gap:13px;margin:26px 0 30px;padding:0;list-style:none}.classic-check-list li{position:relative;padding-inline-start:31px;font-weight:700}.classic-check-list li::before{content:'✓';position:absolute;inset-inline-start:0;top:0;width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-size:12px}
.classic-doctors{background:var(--surface)}
.classic-doctor-row{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.classic-doctor-mini{display:block;overflow:hidden;border:1px solid var(--line);background:var(--surface);color:var(--text);transition:.3s ease}.classic-doctor-mini:hover{transform:translateY(-7px);box-shadow:var(--shadow-sm)}
.classic-doctor-mini img{width:100%;aspect-ratio:1/1.03;object-fit:cover;object-position:center top}.classic-doctor-mini div{padding:20px}.classic-doctor-mini h3{margin:0 0 7px;font-size:19px}.classic-doctor-mini p{margin:0;color:var(--primary);font-size:12px;font-weight:800;line-height:1.5}
.classic-centered-action{text-align:center;margin-top:36px}.classic-dark-btn{background:#0c2b47;color:#fff}.classic-dark-btn:hover{background:var(--primary);color:#fff}
.classic-contact-cta{padding:68px 0;background:linear-gradient(115deg,#092844,#0d4c78);color:#fff}.classic-contact-inner{display:flex;justify-content:space-between;align-items:center;gap:45px}.classic-contact-inner>div:first-child{max-width:720px}.classic-contact-inner span{font-size:11px;letter-spacing:.15em;font-weight:900;color:#a9ddff}.classic-contact-inner h2{margin:10px 0 0;font-size:clamp(27px,3.5vw,44px);line-height:1.2}.classic-contact-actions{display:flex;align-items:center;gap:25px;flex:0 0 auto}.classic-call-link{display:grid;gap:3px;color:#fff}.classic-call-link small{font-size:9px}.classic-call-link strong{font-size:17px}
html[data-theme='dark'] .classic-home-hero{background:linear-gradient(118deg,#020d19 0%,#052b49 50%,#075a7e 100%)}
html[data-theme='dark'] .classic-service-card,html[data-theme='dark'] .classic-doctor-mini,html[data-theme='dark'] .classic-quick-grid{background:var(--surface)}
@media(max-width:1050px){.classic-service-card{grid-template-columns:1fr}.classic-service-image{min-height:260px}.classic-doctor-row{grid-template-columns:repeat(2,1fr)}.classic-story-grid{gap:45px}.classic-contact-inner{align-items:flex-start;flex-direction:column}.classic-contact-actions{width:100%;justify-content:space-between}}
@media(max-width:760px){.classic-home-hero{min-height:650px}.classic-home-hero::after{width:440px;inset-inline-end:-185px;opacity:.07}.classic-home-overlay{background-color:rgba(3,18,33,.18)}.classic-home-inner{padding-top:65px;padding-bottom:80px}.classic-home-copy h1{font-size:53px}.classic-home-copy h2{font-size:24px}.classic-home-copy p{font-size:15px}.classic-quick-strip{margin-top:0}.classic-quick-grid{grid-template-columns:1fr;border-radius:0}.classic-quick-item{border-inline-end:0;border-bottom:1px solid var(--line)}.classic-quick-item:last-child{border-bottom:0}.classic-service-grid{grid-template-columns:1fr}.classic-story-grid{grid-template-columns:1fr}.classic-story-media{max-width:460px;margin-inline:auto}.classic-story-seal{inset-inline-end:-5px}.classic-doctor-row{grid-template-columns:1fr 1fr}.classic-contact-actions{align-items:flex-start;flex-direction:column}.classic-home-actions .btn{width:100%}}
@media(max-width:470px){.classic-home-copy h1{font-size:44px}.classic-hero-logo{width:76px;height:76px}.classic-doctor-row{grid-template-columns:1fr}.classic-service-body{padding:30px 24px}.classic-story-seal{width:105px;height:105px}.classic-contact-inner h2{font-size:29px}}


/* V15: official social links and future home video */
.classic-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%;z-index:-4;opacity:0;transition:opacity .7s ease;filter:saturate(.78) contrast(1.05) brightness(.88)}
.classic-hero-video.is-ready{opacity:1}
.classic-home-hero:has(.classic-hero-video.is-ready)::before{background:linear-gradient(110deg,rgba(1,15,30,.94) 0%,rgba(3,38,67,.78) 42%,rgba(5,73,105,.48) 72%,rgba(7,92,130,.38) 100%)}
.classic-home-hero:has(.classic-hero-video.is-ready)::after{opacity:.06}
.clinic-social-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.clinic-social-link{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);transition:transform .2s ease,background .2s ease,border-color .2s ease,opacity .2s ease}
.clinic-social-link svg{width:21px;height:21px;fill:currentColor;stroke:currentColor;stroke-width:1.7}
.clinic-social-link svg rect,.clinic-social-link svg circle{fill:none}
.clinic-social-link svg .social-dot{fill:currentColor;stroke:none}
a.clinic-social-link:hover{transform:translateY(-3px);background:var(--primary);border-color:var(--primary)}
.clinic-social-link.is-pending{opacity:.42;cursor:not-allowed;filter:grayscale(1)}
.clinic-social-links-contact{margin:22px 0 26px}
.clinic-social-links-contact .clinic-social-link{color:var(--primary);background:var(--primary-soft);border-color:var(--line)}
.clinic-social-links-contact a.clinic-social-link:hover{color:#fff;background:var(--primary)}
html[data-theme='dark'] .clinic-social-links-contact .clinic-social-link{background:rgba(255,255,255,.06)}
@media(max-width:600px){.clinic-social-link{width:40px;height:40px}.classic-hero-video{object-position:58% center}}


/* V16: cinematic floating contact sphere */
.floating-whatsapp{
  width:64px!important;height:64px!important;padding:0!important;border-radius:50%!important;
  justify-content:center!important;overflow:hidden;color:#fff!important;
  background:linear-gradient(135deg,#13c77a 0%,#0795d6 100%)!important;
}
.floating-whatsapp small{display:none!important}
.floating-contact{
  position:fixed;z-index:980;inset-inline-end:22px;bottom:22px;width:64px;height:64px;
  isolation:isolate;direction:ltr;
}
.contact-fab{
  position:absolute;inset:0;z-index:5;width:64px;height:64px;border:0;border-radius:50%;
  display:grid;place-items:center;cursor:pointer;color:#fff;
  background:linear-gradient(145deg,#18c878 0%,#0da8a9 46%,#1677d2 100%);
  box-shadow:0 16px 40px rgba(8,119,191,.34),0 7px 18px rgba(14,194,121,.25),inset 0 1px 0 rgba(255,255,255,.4);
  transition:transform .35s cubic-bezier(.2,.9,.2,1.35),box-shadow .3s ease,filter .3s ease;
  -webkit-tap-highlight-color:transparent;
}
.contact-fab::before,.contact-fab::after{
  content:"";position:absolute;inset:-7px;border-radius:50%;border:1px solid rgba(22,160,205,.32);
  opacity:0;animation:contactPulse 2.4s ease-out infinite;pointer-events:none;
}
.contact-fab::after{animation-delay:1.2s}
.contact-fab:hover{transform:translateY(-4px) scale(1.05);filter:saturate(1.12);box-shadow:0 22px 48px rgba(8,119,191,.42),0 10px 22px rgba(14,194,121,.28)}
.contact-fab:focus-visible{outline:3px solid #fff;outline-offset:4px;box-shadow:0 0 0 7px rgba(22,119,210,.36),0 20px 45px rgba(8,119,191,.38)}
.contact-fab svg{position:absolute;width:31px;height:31px;fill:currentColor;transition:opacity .28s ease,transform .42s cubic-bezier(.2,.9,.2,1.3)}
.contact-fab-chat circle{fill:#0e96b5;stroke:#fff;stroke-width:.8}
.contact-fab-close{position:absolute;width:25px;height:25px;opacity:0;transform:rotate(-135deg) scale(.5);transition:opacity .25s ease,transform .4s cubic-bezier(.2,.9,.2,1.3)}
.contact-fab-close::before,.contact-fab-close::after{content:"";position:absolute;left:11px;top:1px;width:3px;height:23px;border-radius:3px;background:#fff}
.contact-fab-close::after{transform:rotate(90deg)}
.floating-contact.is-open .contact-fab{transform:rotate(90deg) scale(.94);box-shadow:0 12px 32px rgba(8,119,191,.28)}
.floating-contact.is-open .contact-fab-chat{opacity:0;transform:rotate(70deg) scale(.35)}
.floating-contact.is-open .contact-fab-close{opacity:1;transform:rotate(-45deg) scale(1)}
.contact-fab-glow{position:absolute;inset:7px;border-radius:50%;background:radial-gradient(circle at 30% 22%,rgba(255,255,255,.35),transparent 44%);pointer-events:none}
.floating-contact-menu{position:absolute;inset:0;z-index:2;pointer-events:none}
.contact-menu-item{
  --tx:0px;--ty:0px;position:absolute;inset:6px;width:52px;height:52px;padding:0;border:1px solid rgba(255,255,255,.72);
  border-radius:50%;display:grid;place-items:center;color:#fff;cursor:pointer;text-decoration:none;
  opacity:0;pointer-events:none;transform:translate(0,0) scale(.16) rotate(28deg);
  box-shadow:0 13px 30px rgba(5,29,54,.24),inset 0 1px 0 rgba(255,255,255,.38);
  transition:opacity .2s ease,transform .48s cubic-bezier(.16,1.18,.32,1),filter .25s ease,box-shadow .25s ease;
  transition-delay:calc(var(--item-order) * 34ms);-webkit-tap-highlight-color:transparent;
}
.contact-menu-item:nth-child(1){--tx:0px;--ty:-84px}
.contact-menu-item:nth-child(2){--tx:-62px;--ty:-62px}
.contact-menu-item:nth-child(3){--tx:-88px;--ty:0px}
.contact-menu-item:nth-child(4){--tx:-48px;--ty:-138px}
.contact-menu-item:nth-child(5){--tx:-120px;--ty:-88px}
.contact-menu-item:nth-child(6){--tx:-150px;--ty:-18px}
.floating-contact.is-open .contact-menu-item{
  opacity:1;pointer-events:auto;transform:translate(var(--tx),var(--ty)) scale(1) rotate(0deg);
}
.contact-menu-item svg{width:25px;height:25px;fill:currentColor;stroke:currentColor;stroke-width:1.6}
.contact-menu-item svg rect,.contact-menu-item svg circle{fill:none}
.contact-menu-item svg .social-dot{fill:currentColor;stroke:none}
.contact-menu-item:hover,.contact-menu-item:focus-visible{transform:translate(var(--tx),var(--ty)) scale(1.14) rotate(-5deg)!important;filter:saturate(1.18);box-shadow:0 18px 36px rgba(5,29,54,.32)}
.contact-menu-item:focus-visible{outline:3px solid #fff;outline-offset:3px}
.contact-whatsapp{background:#25d366}
.contact-instagram{background:radial-gradient(circle at 30% 105%,#ffd600 0 22%,#ff7a00 34%,#ff0169 58%,#d300c5 76%,#7638fa 100%)}
.contact-phone{background:linear-gradient(145deg,#29a9ff,#1267c7)}
.contact-facebook{background:#1877f2}
.contact-snapchat{background:#fffc00;color:#111}
.contact-x{background:#111}
.contact-menu-item.is-pending{opacity:0;filter:grayscale(.55);border-style:dashed}
.floating-contact.is-open .contact-menu-item.is-pending{opacity:.48}
.contact-menu-item.is-pending:hover,.contact-menu-item.is-pending:focus-visible{filter:grayscale(.2);opacity:.72!important}
.contact-menu-label{
  position:absolute;right:61px;top:50%;transform:translate(7px,-50%) scale(.96);opacity:0;pointer-events:none;
  white-space:nowrap;padding:7px 10px;border-radius:10px;background:rgba(7,28,47,.94);color:#fff;
  font-size:12px;font-weight:800;letter-spacing:.01em;box-shadow:0 9px 24px rgba(4,21,39,.24);
  transition:opacity .2s ease,transform .25s ease;
}
.contact-menu-item:hover .contact-menu-label,.contact-menu-item:focus-visible .contact-menu-label{opacity:1;transform:translate(0,-50%) scale(1)}
html[dir="rtl"] .contact-menu-label{direction:rtl}
html[data-theme="dark"] .contact-menu-label{background:rgba(238,247,255,.96);color:#09213b}
@keyframes contactPulse{0%{transform:scale(.82);opacity:.55}70%,100%{transform:scale(1.42);opacity:0}}
@media(max-width:600px){
  .floating-contact{inset-inline-end:17px;bottom:17px;width:58px;height:58px}
  .contact-fab{width:58px;height:58px}.contact-fab svg{width:28px;height:28px}
  .contact-menu-item{inset:5px;width:48px;height:48px}
  .contact-menu-item:nth-child(1){--tx:0px;--ty:-74px}
  .contact-menu-item:nth-child(2){--tx:-55px;--ty:-54px}
  .contact-menu-item:nth-child(3){--tx:-78px;--ty:0px}
  .contact-menu-item:nth-child(4){--tx:-43px;--ty:-122px}
  .contact-menu-item:nth-child(5){--tx:-105px;--ty:-78px}
  .contact-menu-item:nth-child(6){--tx:-130px;--ty:-15px}
  .contact-menu-label{display:none}
}
@media(prefers-reduced-motion:reduce){
  .contact-fab::before,.contact-fab::after{animation:none}
  .contact-fab,.contact-fab svg,.contact-fab-close,.contact-menu-item{transition-duration:.01ms!important}
}
