@font-face {
  font-family: Manrope;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "El Messiri";
  src: url("assets/fonts/el-messiri-arabic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --wine: #2d000e;
  --wine-mid: #811f46;
  --pink: #d13482;
  --berry: #9f245c;
  --teal: #1ea2bb;
  --deep-teal: #116b7d;
  --ink: #301522;
  --muted: #645361;
  --paper: #fff;
  --lilac: #fbf6ff;
  --line: #eadce7;
  --ease: cubic-bezier(.2,.75,.25,1);
  --pad: clamp(20px, 4vw, 64px);
  --section: clamp(62px, 7vw, 110px);
  --nav-height: 118px;
  --compact-height: 62px;
  --brand-height: 108px;
  --radius: 16px;
  --shadow: 0 20px 44px -30px #59204a65;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--compact-height) + 14px); }
body {
  margin: 0;
  padding-top: var(--nav-height);
  background: var(--paper);
  color: var(--ink);
  font: 500 16px/1.65 Manrope, "El Messiri", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
[lang="ar"] { font-family: "El Messiri", Manrope, sans-serif; }
[hidden] { display: none !important; }
::selection { background: #f6cde3; color: var(--wine); }
:focus-visible { outline: 3px solid var(--deep-teal); outline-offset: 4px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p, figure, blockquote, dl, dt, dd { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.2vw, 48px); font-weight: 800; }
h3 { font-size: 22px; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--pad), 1264px); margin-inline: auto; }
.section-pad { padding-block: var(--section); }
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-block;
  object-fit: contain;
  filter: var(--icon-filter, invert(11%) sepia(36%) saturate(2204%) hue-rotate(292deg) brightness(83%) contrast(104%));
  transition: filter 180ms;
}

/* A shared glass surface with a sharp highlight and diffuse inner tint. */
.glass {
  --glass-bg: #ffffff9c;
  --glass-rim: #ffffffb8;
  --glass-edge: #53214716;
  background: linear-gradient(153deg, #ffffff41, transparent 46%), var(--glass-bg);
  box-shadow: inset 0 1px 0 var(--glass-rim), inset 0 0 0 1px var(--glass-edge), var(--glass-shadow, 0 8px 22px -16px #290d2c60);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  backdrop-filter: blur(16px) saturate(145%);
}
.button, .icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 210ms var(--ease), background-color 210ms, color 210ms, box-shadow 210ms;
}
.button { min-height: 48px; padding: 11px 19px; font-size: 14px; line-height: 1.25; }
.button .icon { width: 17px; height: 17px; }
.icon-button { width: 44px; height: 44px; padding: 0; flex: 0 0 auto; }
.primary {
  color: #fff;
  background: linear-gradient(155deg, #a52b61, #811f46 74%);
  box-shadow: inset 0 1px 0 #fff5, 0 9px 18px -10px #811f4699;
}
@media (hover: hover) {
  .button:hover, .icon-button:hover { transform: translateY(-2px); }
  .glass:is(.button, .icon-button):hover { background-color: #fff; color: var(--wine); }
  .primary:hover { background: var(--wine-mid); box-shadow: inset 0 1px 0 #fff6, 0 12px 24px -10px #811f46a0; }
}
.button:active, .icon-button:active { transform: scale(.97); }
.skip-link {
  position: fixed;
  z-index: 30;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
}
.skip-link:focus { transform: translateY(0); }

.loading-line { position: fixed; z-index: 20; inset: 0 0 auto; height: 3px; overflow: hidden; pointer-events: none; opacity: 0; }
.loading-line.is-loading { opacity: 1; }
.loading-line::after {
  content: "";
  display: block;
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--pink), var(--teal));
}
.loading-line.is-loading::after { animation: loading-line 1.05s ease-in-out infinite; }
@keyframes loading-line { from { transform: translateX(-100%); } to { transform: translateX(390%); } }

/* Header and original full-width slideshow. */
.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  background: #fff;
  transition: background 260ms var(--ease), box-shadow 260ms var(--ease);
  box-shadow: 0 1px 0 #3b122614;
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  backdrop-filter: blur(20px) saturate(145%);
}
.header-inner { height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; gap: 22px; transition: height 280ms var(--ease); }
.brand { position: relative; flex: 0 0 auto; width: calc(var(--brand-height) * 1.1); height: 100%; }
.brand img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  transition: opacity 190ms var(--ease), transform 280ms var(--ease);
}
.brand-wordmark { height: var(--brand-height); }
.brand-mark { height: 40px; opacity: 0; transform: scale(.82); }
.site-header.is-compact { background: #fff8fbc9; box-shadow: 0 1px 0 #ffffffae, 0 12px 30px -25px #3b12266b; }
.site-header.is-compact .header-inner { height: var(--compact-height); }
.site-header.is-compact .brand-wordmark { opacity: 0; transform: scale(.8); }
.site-header.is-compact .brand-mark { opacity: 1; transform: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.flag { object-fit: cover; width: 21px; height: 15px; border-radius: 3px; box-shadow: inset 0 0 0 1px #5c204c19; }
.language-switch { --glass-bg: #fdf4fa; color: var(--wine-mid); padding-inline: 12px; min-height: 44px; white-space: nowrap; }
.language-switch span { font-size: 14px; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.55vw, 26px); }
.desktop-nav a { display: flex; align-items: center; min-height: 44px; color: var(--wine); font-size: 13px; font-weight: 800; text-decoration: none; transition: color 200ms; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--berry); }
.desktop-nav a[aria-current] { text-decoration: underline; text-underline-offset: .5em; }
.language { gap: 7px; }
.language img { object-fit: contain; }
.header-phone { white-space: nowrap; color: var(--wine-mid); --glass-bg: #f7e8f2; }
.menu-button, .mobile-dock { display: none; }

.hero { position: relative; isolation: isolate; background: var(--wine); color: #fff; }
.hero-slide {
  position: relative;
  display: grid;
  min-height: clamp(560px, 48vw, 700px);
  align-items: center;
  overflow: hidden;
}
.hero-slide > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 46%; }
.hero-slide::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #260513f5 0%, #2d0c1bc7 27%, #3212225e 53%, #160b1115 81%), linear-gradient(0deg, #22081980, transparent 37%);
}
.hero-slide-2 > img { object-position: 67% 50%; }
.hero-slide-3 > img { object-position: 64% 47%; }
.hero-copy { padding-block: 68px 140px; }
.hero-copy h1, .hero-copy h2 { max-width: 15ch; font-size: clamp(45px, 5vw, 76px); font-weight: 800; line-height: 1.04; text-wrap: initial; }
.hero-copy h1 { font-size: clamp(20px, 2.3vw, 35px); letter-spacing: .005em; line-height: 1.23; max-width: 690px; }
.hero-copy h1 strong { display: inline-block; margin-block: 10px; color: #65d6ea; max-width: 13ch; font-size: clamp(46px, 5.7vw, 86px); letter-spacing: -.04em; line-height: .99; }
.hero-slide-3 h2 { color: #7fdaea; }
.hero-copy p { margin-top: 19px; max-width: 45ch; font-size: clamp(14px, 1.4vw, 18px); font-weight: 700; color: #fff5fa; }
.hero-slide-2 p { color: #ffdc52; }
.hero-button { margin-top: 28px; --glass-bg: #f9e7ff23; --glass-rim: #ffefff78; --glass-edge: #ffffff46; color: #fff; }
.hero-button .i-arrow { margin-left: 5px; }
.hero-controls { position: absolute; inset: auto 0 24px; display: flex; }
.carousel-bar {
  --glass-bg: #2d001868;
  --glass-rim: #fff5;
  --glass-edge: #fff3;
  display: flex;
  align-items: center;
  padding: 3px;
  border-radius: 100px;
}
.carousel-bar .icon-button { --glass-bg: transparent; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.carousel-dots { display: flex; gap: 0; }
.carousel-dots button { background: none; border: 0; padding: 0; width: 26px; height: 44px; display: grid; place-items: center; }
.carousel-dots button::before { content: ""; width: 17px; height: 6px; border-radius: 6px; background: #ffffffa0; transform: scaleX(.36); transition: transform 220ms var(--ease), background 220ms; }
.carousel-dots button[aria-current]::before { transform: scaleX(1); background: #fff; }
[data-rotation] { margin-inline-start: 2px; }
.hero :focus-visible, .locations :focus-visible, .emergency :focus-visible, .practice :focus-visible { outline-color: #90e7f3; }
.hero-slide.is-changing .hero-copy { animation: hero-arrive 450ms var(--ease) both; }
@keyframes hero-arrive { from { opacity: .45; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.locations { color: #fff; background: linear-gradient(90deg, var(--wine) 50%, #390b1d 50%); }
.clinic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.clinic-card {
  --clinic-bg: var(--wine);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(145deg, #fff0 38%, #ffffff0c), var(--clinic-bg);
  padding: clamp(23px, 2.8vw, 38px);
}
.clinic-card:nth-child(2) { --clinic-bg: var(--wine-mid); box-shadow: inset 1px 0 #fff3, inset -1px 0 #fff3; }
.clinic-card:nth-child(3) { --clinic-bg: #390b1d; }
.clinic-title { display: flex; align-items: center; gap: 11px; margin-bottom: 3px; }
.clinic-title h2 { font-size: clamp(18px, 1.65vw, 24px); text-wrap: wrap; }
.clinic-icon, .emergency-icon {
  --glass-bg: #fbe4f126;
  --glass-rim: #ffefff66;
  --glass-edge: #fff3;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.clinic-card :is(address, p) { color: #fff5fb; font-size: 14px; line-height: 1.55; }
.clinic-card address { font-style: normal; flex: 1; }
.hours, .clinic-phones { display: flex; align-items: baseline; gap: 7px; }
.hours .icon, .clinic-phones .icon { width: 15px; height: 15px; transform: translateY(2px); }
.clinic-phones a { white-space: nowrap; transition: color 200ms; }
.clinic-phones a:hover { color: #b5f1ff; }
.clinic-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.clinic-button { --glass-bg: #fff1; --glass-rim: #fff5; --glass-edge: #fff2; min-height: 44px; padding-inline: 12px; font-size: 12px; }

/* Appointment, photographs, and emergency banner. */
.booking-section {
  background: radial-gradient(ellipse at 7% 18%, #f2deed 0%, transparent 45%), radial-gradient(ellipse at 92% 100%, #e6f5f7 0%, transparent 46%), var(--lilac);
}
.booking-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(24px, 5vw, 80px); }
.form-panel { padding: clamp(23px, 3.3vw, 45px); border-radius: var(--radius); --glass-bg: #ffffffb0; --glass-shadow: var(--shadow); }
.form-panel h2 { font-size: clamp(29px, 3vw, 43px); }
.section-caption { margin-bottom: 7px; color: var(--berry); font-weight: 800; font-size: 14px; }
.form-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px 12px; margin-block: 23px 16px; }
.field:nth-child(-n+2) { grid-column: 1 / -1; }
.field label, .search-form label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.field-input { position: relative; }
.field-input .icon { position: absolute; pointer-events: none; top: 15px; left: 12px; color: var(--berry); width: 18px; height: 18px; }
.field input, .field textarea, .search-form input {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 10px 11px 10px 38px;
  border: 1px solid #d9cbd7;
  border-radius: 11px;
  background: #ffffffec;
  color: var(--ink);
  caret-color: var(--berry);
  font-size: 16px;
  transition: background 180ms, box-shadow 180ms, border-color 180ms;
}
.field input::placeholder, .field textarea::placeholder, .search-form input::placeholder { color: #746270; opacity: 1; }
.field input:hover, .field textarea:hover, .search-form input:hover { border-color: #ad889f; }
.field input:focus, .field textarea:focus, .search-form input:focus { border-color: var(--deep-teal); outline: none; box-shadow: 0 0 0 3px #1ea2bb29; background: #fff; }
.field :is(input, textarea)[aria-invalid="true"] { border-color: #a6214a; }
.consent { margin-bottom: 15px; }
.consent label { display: flex; gap: 9px; align-items: flex-start; min-height: 44px; cursor: pointer; font-size: 13px; line-height: 1.5; padding-block: 6px; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--wine-mid); }
.field-error { display: block; margin-top: 5px; color: #9a1641; font-size: 12px; line-height: 1.4; font-weight: 750; }
.submit-button { min-height: 50px; width: 100%; text-transform: capitalize; }
.submit-button:disabled { opacity: .78; }
form[aria-busy="true"] .submit-button { cursor: wait; }
.submit-spinner { display: none; width: 14px; height: 14px; border: 2px solid #fff5; border-top-color: #fff; border-radius: 50%; }
form[aria-busy="true"] .submit-spinner { display: block; animation: spin .65s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.form-status { margin-top: 10px; font-size: 13px; font-weight: 750; color: var(--deep-teal); }
.form-status:empty { display: none; }
.form-status.is-error { color: #9a1641; }
.welcome-panel h2 { margin-bottom: 24px; max-width: 20ch; }
.gallery {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 7px;
  background: linear-gradient(140deg, #fff 4%, #e7cedfd4 50%, #b4e5ed75 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px #5e2c4f12, var(--shadow);
}
.gallery-stage { overflow: hidden; border-radius: 11px; background: #f2e5ee; }
.gallery-stage figure { margin: 0; }
.photo-link { display: block; position: relative; overflow: hidden; }
.photo-link:focus-visible { outline-offset: -4px; }
.photo-link > img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms var(--ease); }
@media (hover: hover) { .photo-link:hover > img { transform: scale(1.025); } }
.clinic-gallery .photo-link { aspect-ratio: 16 / 10; }
.portrait-gallery .photo-link { aspect-ratio: 1 / 1.04; }
.portrait-gallery .photo-link > img { object-position: center 30%; }
.expand { position: absolute; top: 10px; right: 10px; color: var(--wine); }
.gallery-tools, .review-tools { display: flex; justify-content: flex-end; align-items: center; gap: 9px; padding: 8px 4px 3px; }
.slide-index { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 13px; white-space: nowrap; }
[data-slide].is-changing:not(.hero-slide) { animation: slide-in 250ms var(--ease) both; }
@keyframes slide-in { from { opacity: .45; } to { opacity: 1; } }
.emergency {
  background: linear-gradient(90deg, #350d26f0, #491533cc 55%, #3c0e24b0), url("assets/images/cta-image.jpg") center / cover;
  color: #fff;
}
.emergency-inner { min-height: 154px; display: flex; align-items: center; gap: 18px; padding-block: 25px; }
.emergency-icon { width: 51px; height: 51px; }
.emergency-inner h2 { font-size: clamp(24px, 3vw, 42px); }
.emergency-button { margin-left: auto; white-space: nowrap; --glass-bg: #fff2; --glass-rim: #fff7; --glass-edge: #fff4; }

/* Clinic overview, videos, reviews, and footer. */
.vision-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 7vw, 112px); }
.vision h2, .videos h2 { color: var(--deep-teal); }
.vision h3 { margin-top: 19px; }
.vision p { margin-top: 10px; color: var(--muted); }
.vision-list { padding: 0; margin: 14px 0 24px; display: grid; gap: 6px; list-style: none; }
.vision-list li { padding-inline-start: 19px; position: relative; }
.vision-list li::before { content: ""; position: absolute; top: .68em; left: 1px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.read-more { --glass-bg: #eaf7f8; color: var(--deep-teal); flex-direction: row-reverse; }
.videos {
  position: relative;
  background: linear-gradient(180deg, #fbf6ff, #fff);
  border-top: 1px solid var(--line);
}
.videos::before { content: ""; position: absolute; inset: -2px 0 auto; height: 3px; background: linear-gradient(90deg, transparent, #fff 24%, #d4b4ca 50%, #fff 76%, transparent); }
.section-heading { text-align: center; margin-bottom: clamp(22px, 3.2vw, 44px); }
.section-heading p { margin-top: 8px; color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
.video-preview, .video-card iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 13px; background: #24111b; }
.video-preview { position: relative; overflow: hidden; }
.video-preview > img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms var(--ease), filter 250ms; }
.video-preview::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px #fff5; border-radius: inherit; pointer-events: none; }
.play-icon {
  --glass-bg: #300e2590;
  --glass-rim: #fff9;
  --glass-edge: #fff5;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform 220ms var(--ease), background 220ms;
}
.play-icon .icon { width: 24px; height: 24px; }
@media (hover: hover) {
  .video-preview:hover > img { transform: scale(1.04); filter: brightness(.86); }
  .video-preview:hover .play-icon { transform: translate(-50%, -50%) scale(1.1); background-color: var(--wine-mid); }
}
.video-card h3 { font-weight: 700; font-size: 20px; line-height: 1.38; margin: 10px 1px 0; }
.video-fallback { display: inline-block; margin-top: 5px; color: var(--deep-teal); font-size: 13px; }
.practice { color: #fff; background: radial-gradient(ellipse at 82% 0%, #811f46 0%, transparent 68%), var(--wine); }
.practice-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 75px); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; padding: 8px clamp(8px, 1.55vw, 22px); }
.stat + .stat { border-inline-start: 1px solid #fff4; }
.stat:first-child { padding-inline-start: 0; }
.stat .icon { color: #a0e8f4; width: 23px; height: 23px; margin-bottom: 9px; }
.stat dd { order: 1; font-size: clamp(30px, 4vw, 58px); line-height: 1; letter-spacing: -.04em; font-weight: 800; }
.stat dt { order: 2; margin-top: 8px; color: #fff0fa; font-size: 13px; line-height: 1.45; }
.reviews { --glass-bg: #fff1; --glass-rim: #fff5; --glass-edge: #fff3; border-radius: var(--radius); padding: clamp(20px, 2.7vw, 34px); }
.review-mark { display: flex; color: #f8afd5; margin-bottom: 8px; }
.review blockquote { font-size: clamp(18px, 1.9vw, 24px); line-height: 1.55; }
.review figcaption { margin-top: 12px; color: #fbd6eb; font-size: 17px; font-weight: 700; }
.review-tools { justify-content: flex-start; padding: 10px 0 0; }
.review-tools .icon-button { --glass-bg: #fff1; --glass-rim: #fff4; --glass-edge: #fff2; }

.site-footer { background: #fff; padding-top: clamp(44px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr .83fr .75fr; gap: clamp(20px, 3.3vw, 48px); }
.footer-grid h2 { font-size: 19px; margin-bottom: 15px; }
.footer-grid p { margin-bottom: 12px; font-size: 14px; color: var(--muted); }
.footer-grid strong { color: var(--wine); }
.footer-phone { --glass-bg: #f9eaf3; color: var(--wine-mid); white-space: nowrap; font-size: 13px; padding-inline: 13px; }
.social-links { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.social-button { justify-content: flex-start; min-height: 44px; padding: 7px 11px; --glass-bg: #fbf6ff; color: var(--wine-mid); font-size: 13px; }
.footer-bottom { margin-top: 34px; border-top: 1px solid var(--line); padding-block: 17px; color: var(--muted); text-align: center; font-size: 15px; }
.scroll-top { position: fixed; z-index: 8; right: 18px; bottom: 18px; color: var(--wine); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 180ms, transform 180ms, visibility 180ms; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; }

dialog { color: var(--ink); border: 1px solid #fff; border-radius: 20px; padding: 18px; max-width: calc(100% - 28px); box-shadow: 0 28px 96px #21021768; background: #fffbff; }
dialog::backdrop { background: #210d20a8; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dialog-top h2 { font-size: 23px; }
.menu-dialog { width: min(420px, calc(100% - 28px)); }
.mobile-menu-links { display: grid; gap: 2px; }
.mobile-menu-links a { min-height: 44px; display: flex; align-items: center; padding: 6px 9px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 750; }
.mobile-menu-links a:is(:hover, [aria-current]) { background: #f6e6f0; color: var(--berry); }
.search-form { padding-block: 12px 16px; }
.search-row { display: flex; align-items: center; gap: 8px; }
.search-form input { padding-left: 12px; }
.media-dialog { width: fit-content; }
.media-dialog img { width: auto; max-width: min(900px, calc(100vw - 66px)); height: auto; max-height: calc(100dvh - 158px); min-width: min(280px, 70vw); object-fit: contain; border-radius: 9px; background: var(--lilac); }

[data-reveal].is-revealing { animation: reveal 520ms var(--ease) both; }
@keyframes reveal { from { opacity: .54; transform: translateY(15px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  :root { --nav-height: 102px; --brand-height: 92px; }
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; color: var(--wine-mid); --glass-bg: #f8edf5; }
  .header-phone { margin-left: auto; }
  .clinic-card { padding-inline: 19px; }
}
@media (max-width: 800px) {
  .booking-grid { grid-template-columns: 1fr; gap: 35px; }
  .form-panel { max-width: 660px; width: 100%; margin-inline: auto; }
  .welcome-panel h2 { max-width: 24ch; }
  .vision-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: 26px; }
  .clinic-title { align-items: flex-start; }
  .clinic-title h2 { padding-top: 6px; }
  .clinic-icon { width: 34px; height: 34px; }
  .clinic-card { padding-inline: 13px; }
  .clinic-actions { gap: 5px; }
  .clinic-button { padding-inline: 9px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-height: 90px; --compact-height: 59px; --brand-height: 80px; }
  .header-inner { gap: 10px; }
  .header-phone { min-height: 44px; font-size: 12px; padding-inline: 11px; }
  .header-phone .icon { width: 14px; height: 14px; }
  .hero-slide { min-height: clamp(460px, 122vw, 590px); align-items: end; }
  .hero-slide > img { object-position: 66% center; }
  .hero-slide-2 > img { object-position: 65% center; }
  .hero-slide-3 > img { object-position: 64% center; }
  .hero-slide::after { background: linear-gradient(0deg, #270816f5 1%, #270916dc 24%, #2a0b1a40 67%, transparent 100%); }
  .hero-copy { padding-block: 140px 100px; }
  .hero-copy h1 { font-size: 17px; }
  .hero-copy h1 strong { font-size: clamp(39px, 10.5vw, 64px); }
  .hero-copy h2 { font-size: clamp(38px, 9vw, 58px); }
  .hero-button { margin-top: 18px; }
  .hero-controls { bottom: 15px; }
  .locations { background: var(--wine); }
  .clinic-grid { width: 100%; grid-template-columns: 1fr; }
  .clinic-card { padding: 23px var(--pad); gap: 7px; }
  .clinic-card:nth-child(2) { box-shadow: inset 0 1px #fff3, inset 0 -1px #fff3; }
  .clinic-title { align-items: center; }
  .clinic-title h2 { padding-top: 0; font-size: 22px; }
  .clinic-actions { margin-top: 7px; gap: 8px; }
  .clinic-button { padding-inline: 14px; }
  .emergency-inner { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; padding-block: 23px; }
  .emergency-icon { width: 44px; height: 44px; }
  .emergency-button { grid-column: 2; justify-self: start; margin-left: 0; }
  .vision-grid { grid-template-columns: 1fr; }
  .portrait-gallery { max-width: 445px; margin-inline: auto; }
  .portrait-gallery .photo-link { aspect-ratio: 4 / 3; }
}
@media (max-width: 767px) {
  html { scroll-padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .scroll-top { display: none; }
  .mobile-dock {
    position: fixed;
    z-index: 9;
    inset: auto 0 calc(12px + env(safe-area-inset-bottom));
    margin-inline: auto;
    width: min(378px, calc(100% - 26px));
    min-height: 62px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    padding: 5px;
    gap: 3px;
    border-radius: 100px;
    --glass-bg: #fff4fac7;
    --glass-rim: #fff;
    --glass-edge: #ffffffbd;
    --glass-shadow: 0 12px 35px #370d2a30, inset 0 -5px 12px #8a275014;
    -webkit-backdrop-filter: blur(23px) saturate(165%);
    backdrop-filter: blur(23px) saturate(165%);
  }
  .mobile-dock a {
    position: relative;
    min-height: 49px;
    display: grid;
    place-items: center;
    border-radius: 100px;
    text-decoration: none;
    transition: background 250ms, transform 320ms var(--ease), box-shadow 250ms;
  }
  .mobile-dock .icon { width: 21px; height: 21px; transition: transform 330ms var(--ease), filter 180ms; }
  .mobile-dock .flag { width: 24px; height: 16px; transition: transform 330ms var(--ease); }
  .mobile-dock a[aria-current] {
    background: linear-gradient(150deg, #fff, #f6e1ef);
    box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 #8b2b5212, 0 4px 12px #551b3419;
  }
  .dock-label {
    position: absolute;
    z-index: 1;
    bottom: calc(100% + 10px);
    inset-inline-start: 50%;
    transform: translate(-50%, 6px) scale(.95);
    border-radius: 100px;
    padding: 5px 10px;
    background: #fff8fdf5;
    box-shadow: 0 4px 16px #3b12262b;
    color: var(--wine);
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    font-size: 11px;
    font-weight: 800;
    transition: opacity 190ms, transform 290ms var(--ease);
  }
  [dir="rtl"] .dock-label { transform: translate(50%, 6px) scale(.95); }
  .mobile-dock a:focus-visible { transform: translateY(-4px); }
  .mobile-dock a:focus-visible .dock-label { opacity: 1; transform: translate(-50%, 0) scale(1); }
  [dir="rtl"] .mobile-dock a:focus-visible .dock-label { transform: translate(50%, 0) scale(1); }
  .mobile-dock a:active { transform: scale(.93); }
  @media (hover: hover) {
    .mobile-dock a:hover { background: #fffb; transform: translateY(-4px); box-shadow: 0 6px 14px #3b12261c; }
    .mobile-dock a:hover :is(.icon,.flag) { transform: scale(1.13); }
    .mobile-dock a:hover .dock-label { opacity: 1; transform: translate(-50%, 0) scale(1); }
    [dir="rtl"] .mobile-dock a:hover .dock-label { transform: translate(50%, 0) scale(1); }
  }
}
@media (max-width: 440px) {
  .form-panel { padding-inline: 17px; }
  .field-input .icon { left: 9px; width: 16px; height: 16px; }
  .field input { padding-inline: 30px 5px; }
  .field input:is([type="date"], [type="time"]) { font-size: 15px; }
  .video-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid section { border-bottom: 1px solid var(--line); padding-bottom: 15px; }
  .footer-grid h2 { margin-bottom: 9px; }
  .social-links { flex-direction: row; flex-wrap: wrap; }
  .footer-bottom { margin-top: 0; border: 0; }
}
@media (max-width: 520px) {
  .header-phone { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .loading-line.is-loading::after { width: 100%; transform: none; }
}
@media (max-width: 360px) {
  .form-fields { grid-template-columns: 1fr; }
}

.response-panel { max-width: 620px; margin-inline: auto; }
.response-panel h1 { font-size: clamp(29px, 3vw, 43px); margin-bottom: 12px; }
.response-panel .button { margin-top: 17px; }

/* Font Awesome SVGs load as images in both a file preview and on a web server. */
:is(.hero, .locations, .practice, .emergency, .primary) { --icon-filter: invert(1); }
:is(.hero, .locations, .practice, .emergency) .glass:is(.icon-button, .button):hover { --icon-filter: none; }
:where(.header-phone, .menu-button, .footer-phone, .social-button, .field-input, .mobile-dock, .service-card, .quick-item) {
  --icon-filter: invert(17%) sepia(60%) saturate(1691%) hue-rotate(304deg) brightness(92%) contrast(93%);
}
:where(.hero, .locations, .practice, .emergency) .icon { --icon-filter: invert(1); }
:where(.hero, .locations, .practice, .emergency) .glass:is(.icon-button, .button):hover .icon { --icon-filter: none; }
.form-fields.contact-fields { grid-template-columns: 1fr; }
.field textarea { display: block; resize: vertical; min-height: 120px; }
.field [type="tel"] { text-align: start; }

.page-banner {
  background: linear-gradient(90deg, #2d000ef5 0%, #43102ab5 58%, #31051c68), url("assets/images/WhatsApp-Image-2019-11-28-at-1.12.25-PM2.jpeg") center 40% / cover;
  color: #fff;
  padding-block: clamp(52px, 7vw, 110px);
  --icon-filter: invert(1);
}
.page-banner h1 { max-width: 24ch; font-size: clamp(34px, 5vw, 66px); line-height: 1.08; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 15px; color: #fff5fb; font-size: 13px; }
.breadcrumbs .icon { width: 9px; height: 9px; }
.breadcrumbs a:hover { color: #a0e8f4; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.detail-grid .gallery { align-self: start; }
.prose { color: var(--muted); }
.prose :is(p, ul, ol) { margin-bottom: .9em; }
.prose :is(h2,h3,h4,h5) { margin-block: .35em .55em; color: var(--ink); }
.prose h2 { font-size: clamp(22px, 2.5vw, 32px); }
.prose h3 { font-size: 21px; }
.prose :is(ul,ol) { padding-inline-start: 1.35em; }
.prose li + li { margin-block-start: .5em; }
.prose a[href^="tel:"] { white-space: nowrap; unicode-bidi: isolate; direction: ltr; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.page-actions.centered { justify-content: center; margin-top: 26px; }
.stats-wide .stat { padding-inline: clamp(13px, 4vw, 56px); }
.section-intro { margin: 0 auto 26px; max-width: 65ch; text-align: center; color: var(--muted); }
.services-section, .search-content { background: #fff; }
.service-grid, .map-grid, .call-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.service-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 13px;
  border-radius: var(--radius);
  padding: clamp(15px, 2.4vw, 31px);
  text-decoration: none;
  --glass-bg: #fbf2f9;
  --glass-rim: #fff;
  --glass-edge: #6d285e23;
  transition: transform 240ms var(--ease), background-color 240ms, box-shadow 240ms;
}
.service-card h2 { font-size: clamp(18px, 1.7vw, 24px); text-wrap: wrap; }
.service-art { grid-column: 1 / -1; height: 57px; display: flex; align-items: center; }
.service-image { width: 57px; height: 57px; object-fit: contain; }
.service-arrow { width: 37px; height: 37px; }
.service-arrow .icon { width: 14px; height: 14px; }
@media (hover: hover) { .service-card:hover { transform: translateY(-3px); background-color: #f4ddea; box-shadow: inset 0 1px 0 #fff, 0 14px 33px -24px #451131a1; } }
.form-standalone { width: min(100%, 650px); margin-inline: auto; }
.clinic-list { display: grid; gap: 17px; }
.clinic-detail, .map-panel, .clinic-call { border-radius: var(--radius); padding: clamp(16px, 2.4vw, 30px); --glass-bg: #fbf3fa; }
.clinic-detail h2, .map-panel h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: clamp(19px, 2.2vw, 26px); text-wrap: wrap; }
.clinic-map { width: 100%; aspect-ratio: 4 / 3; display: block; border: 0; border-radius: 11px; background: #f1e5ee; }
.clinic-call { text-align: center; }
.clinic-call h2 { font-size: 23px; margin: 10px 0 14px; }
.clinic-call-icon { display: inline-grid; width: 44px; height: 44px; place-items: center; background: #f2dfeb; border-radius: 50%; }
.call-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); }
.appointment-page { align-items: start; }
.quick-contact > p { color: var(--muted); margin-top: 10px; }
.quick-item { display: flex; gap: 11px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.quick-item > .icon { margin-top: 3px; }
.quick-item h3 { font-size: 19px; margin-bottom: 4px; }
.quick-item div { color: var(--muted); overflow-wrap: anywhere; }
.search-content { max-width: 760px; }
.search-main { padding-top: 0; }
.search-status { font-weight: 800; margin-top: 10px; }
.search-results { list-style: none; margin: 12px 0 0; padding: 0; }
.search-results a { display: flex; min-height: 46px; align-items: center; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-results a:hover { color: var(--berry); text-decoration: underline; }

/* Arabic mirrors the layout and directional glyphs while keeping numbers legible. */
html[dir="rtl"] body { font-family: "El Messiri", Manrope, system-ui, sans-serif; font-size: 17px; }
html[dir="rtl"] :is(h1,h2,h3,h4,h5) { letter-spacing: 0; line-height: 1.33; }
html[dir="rtl"] :is(.desktop-nav a,.button,.mobile-menu-links a) { font-size: 15px; }
html[dir="rtl"] :is(.header-phone,.footer-phone,.clinic-phones a,.field [type="tel"]) { font-family: Manrope, sans-serif; font-size: 13px; }
html[dir="rtl"] .hero-copy h1 { font-size: clamp(19px, 2.15vw, 32px); max-width: 540px; }
html[dir="rtl"] .hero-copy h1 strong { font-size: clamp(38px, 4.3vw, 65px); max-width: none; letter-spacing: 0; }
html[dir="rtl"] .hero-copy h2 { font-size: clamp(37px, 4.5vw, 68px); }
@media (min-width: 641px) {
  html[dir="rtl"] .hero-copy { direction: ltr; }
  html[dir="rtl"] .hero-copy > * { direction: rtl; }
  html[dir="rtl"] .hero-controls { justify-content: flex-end; }
}
@media (max-width: 640px) {
  html[dir="rtl"] .hero-slide-1 > img { object-position: 82% center; }
  html[dir="rtl"] .hero-slide { min-height: 530px; }
}
html[dir="rtl"] .hero-copy p { font-size: clamp(16px, 1.6vw, 22px); }
html[dir="rtl"] .page-banner { background-image: linear-gradient(270deg, #2d000ef5 0%, #43102ab5 58%, #31051c68), url("assets/images/WhatsApp-Image-2019-11-28-at-1.12.25-PM2.jpeg"); }
html[dir="rtl"] :is(.i-left,.i-right,.i-arrow) { transform: scaleX(-1); }
html[dir="rtl"] :is(.slide-index,.clinic-phones a,.header-phone,.footer-phone) { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .field-input .icon { left: auto; right: 12px; }
html[dir="rtl"] .field :is(input, textarea) { padding-inline: 38px 11px; }
html[dir="rtl"] .field input[dir="ltr"] { padding-inline: 11px 38px; text-align: right; }
html[dir="rtl"] .vision-list li::before { left: auto; right: 1px; }
html[dir="rtl"] .emergency-button { margin-left: 0; margin-inline-start: auto; }
html[dir="rtl"] .search-form input { padding-inline: 12px; }
@media (max-width: 900px) {
  .map-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .detail-grid { gap: 22px; }
}
@media (max-width: 680px) {
  .detail-grid, .directions-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
  .service-card { grid-template-columns: minmax(0,1fr); align-content: start; }
  .service-arrow { justify-self: end; }
  html[dir="rtl"] .hero-copy h1 { max-width: 100%; }
}
@media (max-width: 520px) {
  .map-grid { grid-template-columns: 1fr; }
  .service-card h2 { font-size: 17px; }
}
@media (max-width: 350px) {
  .service-grid { grid-template-columns: 1fr; }
}

.play-icon { --icon-filter: invert(1); }
.response-page { padding-top: 0; min-height: 100vh; }
