/* =========================================================
   Smile Hub — styles
   Uses logical properties so the layout mirrors for Arabic (RTL).
   ========================================================= */

:root {
  --blue-900: #0b2545;
  --blue-800: #0f3a73;
  --blue-700: #1456a8;
  --blue-500: #2aa7e0;
  --blue-100: #e3f2fc;
  --blue-50: #f2f8fd;
  --ink: #0b2545;
  --ink-2: #4a5d78;
  --ink-3: #7b8ba3;
  --line: #e1e9f2;
  --white: #fff;
  --wa: #1fae5b;
  --wa-dark: #178a48;
  --red: #e5484d;
  --gold: #f5a524;

  --grad: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, .06);
  --shadow: 0 12px 32px -12px rgba(11, 37, 69, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 37, 69, .28);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

html[lang="ar"] {
  --font: "IBM Plex Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200;
  background: var(--blue-700); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.ico { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .975rem; line-height: 1.2; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1em 1.7em; font-size: 1.025rem; }
.btn--block { width: 100%; white-space: normal; }
.book__card > *, .detail > *, .profile > *, .expect > *, .contact-form > *, .split > * { min-width: 0; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(20, 86, 168, .7); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px -10px rgba(31, 174, 91, .75); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--ghost { background: #fff; color: var(--blue-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-500); }
.btn--outline { background: transparent; color: var(--blue-700); border-color: var(--blue-100); }
.btn--outline:hover { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.btn--light { background: #fff; color: var(--blue-800); }
.btn--light:hover { box-shadow: var(--shadow); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; direction: ltr; }
.brand__mark { width: 40px; height: 40px; }
.brand__name { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.45rem; font-weight: 600; color: var(--blue-500); letter-spacing: -.02em; }
.brand__name b { font-weight: 800; color: var(--blue-700); }
.brand--light .brand__name b { color: #fff; }

.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--blue-700); background: var(--blue-50); }
.nav a.is-active { color: var(--blue-700); }
.nav a.is-active::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad);
}

.header__actions { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: .9rem; color: var(--ink-2); cursor: pointer; transition: border-color .2s, color .2s;
}
.lang-btn:hover { border-color: var(--blue-500); color: var(--blue-700); }
.lang-btn span { font-family: "IBM Plex Sans Arabic", "Plus Jakarta Sans", sans-serif; }

.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; padding: 0; position: relative;
}
.menu-btn span {
  position: absolute; inset-inline-start: 12px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Common section ---------- */
.section { padding-block: clamp(64px, 9vw, 110px); }
.section--tint { background: var(--blue-50); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.section__lead { color: var(--ink-2); font-size: 1.075rem; }

.eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 6px 14px; border-radius: 999px;
  background: var(--blue-100); color: var(--blue-700);
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .875rem; }
.eyebrow--light { background: rgba(255, 255, 255, .16); color: #fff; }

.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--ink-3); font-size: .925rem; }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; }

.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .875rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--open { color: var(--wa); }
.status--open::before { box-shadow: 0 0 0 0 rgba(31, 174, 91, .6); animation: pulse 2s infinite; }
.status--closed { color: var(--red); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(31, 174, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 174, 91, 0); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: calc(var(--header-h) + clamp(32px, 6vw, 72px)); padding-bottom: clamp(48px, 7vw, 88px);
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(42, 167, 224, .14), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(20, 86, 168, .08), transparent 60%);
  overflow: hidden;
}
html[dir="rtl"] .hero {
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(42, 167, 224, .14), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(20, 86, 168, .08), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
  font-size: .875rem; font-weight: 600; color: var(--ink-2);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); animation: pulse 2s infinite; box-shadow: 0 0 0 0 rgba(31, 174, 91, .6); }

.hero__title { font-size: clamp(2.5rem, 5.6vw, 4.1rem); font-weight: 800; margin: 20px 0 18px; letter-spacing: -.025em; }
.hero__title span { display: block; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 520px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero__stats { display: flex; gap: clamp(20px, 4vw, 44px); }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { display: inline-flex; align-items: center; gap: 4px; font-size: 1.75rem; font-weight: 800; color: var(--blue-700); line-height: 1.1; }
.hero__stats span { font-size: .875rem; color: var(--ink-3); }
.ico--star { color: var(--gold); width: .8em; height: .8em; }

.hero__media { position: relative; }
.hero__img {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4; border: 6px solid #fff;
}
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }

.hero__float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero__float small { display: block; color: var(--ink-3); font-size: .8rem; line-height: 1.3; }
.hero__float--status { bottom: 28px; inset-inline-start: -28px; }
.hero__float--status > .ico { width: 36px; height: 36px; padding: 8px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); }
.hero__float--rating { top: 28px; inset-inline-end: -20px; flex-direction: column; align-items: flex-start; gap: 4px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Why strip ---------- */
.why { padding-block: 8px 0; }
.why__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 8px;
}
.why__item { display: flex; gap: 14px; align-items: flex-start; padding: 22px; }
.why__item + .why__item { border-inline-start: 1px solid var(--line); }
.why__icon {
  flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px;
  background: var(--grad); color: #fff;
}
.why__icon svg { width: 22px; height: 22px; }
.why__item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.why__item p { margin: 0; font-size: .875rem; color: var(--ink-3); line-height: 1.5; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 1 / 1.05; }
.about__img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__img--a { grid-row: span 2; }
.about__content p { color: var(--ink-2); font-size: 1.05rem; }
.about__content .section__title { margin-bottom: 20px; }
.checklist { display: grid; gap: 12px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist svg { flex-shrink: 0; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); margin-top: 1px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-100); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service:hover .service__media img { transform: scale(1.06); }
.service__placeholder {
  width: 100%; height: 100%; display: grid; place-items: center; color: #fff;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .25), transparent 50%),
    var(--grad);
}
.service__placeholder svg { width: 72px; height: 72px; opacity: .95; }
.service__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.service__body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.service__body p { font-size: .925rem; color: var(--ink-2); line-height: 1.55; flex: 1; }
.service__link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .925rem; color: var(--wa-dark);
  align-self: flex-start;
}
.service__link .ico--arrow { width: 1em; height: 1em; transition: transform .2s; }
.service__link:hover .ico--arrow { transform: translateX(4px); }
html[dir="rtl"] .ico--arrow { transform: scaleX(-1); }
html[dir="rtl"] .service__link:hover .ico--arrow { transform: scaleX(-1) translateX(4px); }

.emergency {
  margin-top: 40px; display: flex; align-items: center; gap: 22px; padding: 26px 30px;
  border-radius: var(--radius-lg); color: #fff;
  background: linear-gradient(120deg, var(--blue-900), var(--blue-800) 60%, var(--blue-700));
  box-shadow: var(--shadow);
}
.emergency__icon { flex-shrink: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: rgba(229, 72, 77, .18); color: #ff8a8d; }
.emergency__icon svg { width: 28px; height: 28px; }
.emergency__text { flex: 1; }
.emergency h3 { font-size: 1.25rem; margin-bottom: 4px; }
.emergency p { margin: 0; color: rgba(255, 255, 255, .78); }

/* ---------- Booking ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 48px; counter-reset: s; }
.steps li { position: relative; text-align: center; padding: 8px 18px; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; inset-inline-start: calc(50% + 40px); inset-inline-end: calc(-50% + 40px);
  border-top: 2px dashed var(--line);
}
.steps__num {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px;
  border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 10px 22px -10px rgba(20, 86, 168, .7);
}
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: .95rem; margin: 0; }

.book__card {
  display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.book__intro {
  padding: clamp(28px, 4vw, 48px); color: #fff;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(42, 167, 224, .45), transparent 60%),
    linear-gradient(160deg, var(--blue-800), var(--blue-900));
}
.book__intro h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 12px; }
.book__intro > p { color: rgba(255, 255, 255, .8); }
.book__side { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .15); }
.book__side h3 { font-size: 1.1rem; margin-bottom: 4px; }
.book__side p { color: rgba(255, 255, 255, .7); font-size: .95rem; }
.book__line, .book__hours {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: 10px;
  border-radius: 14px; background: rgba(255, 255, 255, .08); font-weight: 600; transition: background-color .2s;
}
.book__line:hover { background: rgba(255, 255, 255, .16); }
.book__line svg, .book__hours svg { width: 22px; height: 22px; color: var(--blue-500); flex-shrink: 0; }
.book__hours .status--open { color: #5ee08f; }
.book__hours .status--closed { color: #ff8a8d; }

.form { padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; align-content: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { font-weight: 600; font-size: .9rem; color: var(--ink); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--blue-50);
  transition: border-color .2s, background-color .2s, box-shadow .2s; min-height: 50px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(42, 167, 224, .15);
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5d78' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; padding-inline-end: 42px;
}
html[dir="rtl"] .field select { background-position: left 14px center; }
html[dir="rtl"] .field input[type="tel"] { text-align: right; }
.field.has-error input, .field.has-error select { border-color: var(--red); background: #fff5f5; }
.field__err { color: var(--red); font-size: .825rem; font-weight: 600; min-height: 0; }
.field__err:empty { display: none; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 5px; background: var(--blue-50); border: 1.5px solid var(--line); border-radius: 14px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; text-align: center; padding: 10px; border-radius: 10px; font-weight: 600; font-size: .925rem; color: var(--ink-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.segmented input:checked + span { background: #fff; color: var(--blue-700); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid var(--blue-500); }

.form__note { margin: 0; text-align: center; font-size: .825rem; color: var(--ink-3); }

/* ---------- Doctors ---------- */
.doctors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.doctor {
  text-align: center; background: #fff; border-radius: var(--radius); padding: 30px 22px 26px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column; align-items: center;
}
.doctor:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.doctor__avatar {
  width: 112px; height: 112px; border-radius: 50%; margin-bottom: 18px; padding: 4px;
  background: var(--grad);
}
.doctor__avatar img, .doctor__initials {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff;
}
.doctor__initials {
  display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700);
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 1.9rem;
}
.doctor h3 { font-size: 1.15rem; margin-bottom: 4px; }
.doctor__role { color: var(--blue-700); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.doctor__bio { color: var(--ink-2); font-size: .9rem; line-height: 1.55; flex: 1; }
.doctor__years { font-size: .875rem; color: var(--ink-3); margin-bottom: 16px; }
.doctor__years strong { color: var(--ink); font-size: 1.05rem; }

/* ---------- Prices ---------- */
.prices__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.offer {
  margin-top: 30px; padding: 28px; border-radius: var(--radius-lg); color: #fff;
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(255, 255, 255, .22), transparent 60%),
    var(--grad);
  box-shadow: var(--shadow);
}
.offer__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .2); margin-bottom: 14px; }
.offer__icon svg { width: 24px; height: 24px; }
.offer h3 { font-size: 1.3rem; margin-bottom: 6px; }
.offer p { color: rgba(255, 255, 255, .88); }

.price-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px 28px; box-shadow: var(--shadow-sm); }
.price-list li { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; }
.price-list li + li { border-top: 1px solid var(--line); }
.price-list__name { font-weight: 600; }
.price-list__dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 20px; }
.price-list__price { font-weight: 800; color: var(--blue-700); white-space: nowrap; font-size: 1.05rem; }
.price-list__price small { font-weight: 600; color: var(--ink-3); font-size: .78rem; }
.price-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; color: var(--ink-2); font-size: .925rem; }
.price-note svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue-700); margin-top: 2px; }

/* ---------- Reviews ---------- */
.rating-line { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; color: var(--ink-2); margin: 0; }
.rating-line strong { font-size: 1.6rem; color: var(--ink); }
.rating-line .stars svg { width: 20px; height: 20px; }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.review {
  margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 26px;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.review blockquote { margin: 0; flex: 1; color: var(--ink-2); font-size: .95rem; line-height: 1.65; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; font-size: .95rem; }
.review figcaption small { color: var(--ink-3); font-size: .825rem; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 700; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__ask { margin-top: 26px; padding: 24px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--line); }
.faq__ask p { font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq__item.is-open { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: none; border: 0; cursor: pointer; text-align: start;
  font-weight: 700; font-size: 1.025rem;
}
.faq__icon { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50); transition: background-color .2s, transform .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--blue-700); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { background: var(--blue-700); }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: #fff; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: stretch; }
.contact__info { display: grid; gap: 14px; }
.info { display: flex; gap: 16px; padding: 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.info__icon { flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-100); color: var(--blue-700); }
.info__icon svg { width: 22px; height: 22px; }
.info h3 { font-size: 1rem; margin-bottom: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.info p { margin: 0 0 4px; color: var(--ink-2); }
.info a:hover { color: var(--blue-700); }
.info__hours { flex: 1; }
.hours { width: 100%; border-collapse: collapse; font-size: .925rem; }
.hours th, .hours td { padding: 6px 0; text-align: start; font-weight: 500; color: var(--ink-2); }
.hours td { text-align: end; }
.hours tr + tr { border-top: 1px dashed var(--line); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--blue-700); font-weight: 700; }
.hours tr.is-closed td { color: var(--red); }
.hours em { font-style: normal; font-size: .75rem; padding: 2px 8px; border-radius: 999px; background: var(--blue-100); margin-inline-start: 6px; }

.contact__map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); background: var(--blue-100); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contact__dir { position: absolute; bottom: 18px; inset-inline-start: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-900); color: rgba(255, 255, 255, .72); padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__about { margin: 16px 0 20px; max-width: 340px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .08); transition: background-color .2s; }
.social a:hover { background: var(--blue-700); color: #fff; }
.social svg { width: 20px; height: 20px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 22px 96px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; }
.footer__bottom p { margin: 0; }
.footer__demo { color: rgba(255, 255, 255, .45); }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 18px;
  background: var(--wa); color: #fff; border-radius: 999px; font-weight: 700;
  box-shadow: 0 14px 30px -10px rgba(31, 174, 91, .8);
  transition: transform .2s, background-color .2s;
}
.fab:hover { transform: translateY(-3px); background: var(--wa-dark); }
.fab svg { width: 28px; height: 28px; }
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  animation: fabPulse 2.4s infinite;
}
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(31, 174, 91, .5); } 80%, 100% { box-shadow: 0 0 0 16px rgba(31, 174, 91, 0); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


.reveal { transition-delay: calc(var(--d, 0) * 80ms); }
.no-scroll { overflow: hidden; }

/* =========================================================
   Multi-page components
   ========================================================= */

/* ---------- Nav: home link + "More" dropdown ---------- */
.nav { align-items: center; }
.nav__home { display: none; }
.nav__more { position: relative; }
.nav__more-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px 8px 14px; border: 0; border-radius: 999px;
  background: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); cursor: pointer; transition: color .2s, background-color .2s;
}
.nav__more-btn .ico { width: 16px; height: 16px; transition: transform .2s; }
.nav__more-btn:hover, .nav__more.is-open .nav__more-btn { color: var(--blue-700); background: var(--blue-50); }
.nav__more-btn.is-active { color: var(--blue-700); }
.nav__more.is-open .nav__more-btn .ico { transform: rotate(180deg); }
.nav__drop {
  position: absolute; top: calc(100% + 10px); inset-inline-start: 50%; translate: -50% 0; min-width: 240px;
  display: grid; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
html[dir="rtl"] .nav__drop { translate: 50% 0; }
.nav__more.is-open .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__drop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; }
.nav__drop a .ico { width: 18px; height: 18px; color: var(--blue-500); }
.nav__drop a.is-active::after { display: none; }
.nav__drop a.is-active { background: var(--blue-50); }
.nav__drop a.is-emergency, .nav__drop a.is-emergency .ico { color: var(--red); }

/* ---------- Buttons & links ---------- */
.btn--glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.btn .ico--arrow { width: 1em; height: 1em; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue-700); }
.link-arrow .ico--arrow { width: 1em; height: 1em; transition: transform .2s; }
.link-arrow:hover .ico--arrow { transform: translateX(4px); }
html[dir="rtl"] .link-arrow:hover .ico--arrow { transform: scaleX(-1) translateX(4px); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(44px, 6vw, 72px);
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(42, 167, 224, .45), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(42, 167, 224, .18), transparent 60%),
    linear-gradient(150deg, var(--blue-800), var(--blue-900));
}
.page-hero::after {
  content: ""; position: absolute; inset-inline-end: -60px; bottom: -80px; width: 320px; height: 320px; opacity: .08;
  background: url("../img/favicon.svg") center / contain no-repeat; pointer-events: none;
}
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; max-width: 820px; margin: 14px 0 12px; }
.page-hero p { max-width: 640px; margin: 0; color: rgba(255, 255, 255, .8); font-size: 1.1rem; }
.page-hero--alert {
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(255, 138, 141, .35), transparent 60%),
    linear-gradient(150deg, #7a1d27, #3d0f1a);
}
.page-hero--404 { text-align: center; }
.page-hero--404 h1, .page-hero--404 p { margin-inline: auto; }
.page-hero--404 .crumbs { justify-content: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .65); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.crumbs__sep { opacity: .5; }

/* ---------- Section helpers ---------- */
.section--tight { padding-block: clamp(36px, 5vw, 56px); }
.section__more { text-align: center; margin-top: 40px; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(48px, 7vw, 80px); background: var(--blue-50); }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); color: #fff; box-shadow: var(--shadow-lg);
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(42, 167, 224, .5), transparent 60%),
    linear-gradient(140deg, var(--blue-800), var(--blue-900));
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 8px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 520px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Service cards (updated) ---------- */
.service__media { display: block; }
.service__body h3 a:hover { color: var(--blue-700); }
.service__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.service__price { font-weight: 800; color: var(--blue-700); }
.service__price small { font-weight: 600; color: var(--ink-3); font-size: .78rem; }
.service__more {
  width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
  background: var(--blue-50); color: var(--blue-700); transition: background-color .2s, color .2s;
}
.service__more .ico { width: 18px; height: 18px; }
.service:hover .service__more { background: var(--blue-700); color: #fff; }

/* ---------- Doctor cards (updated) ---------- */
.doctor h3 a:hover { color: var(--blue-700); }
.doctor__avatar { display: block; }
.doctor__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.doctor__avatar--sm { width: 56px; height: 56px; margin: 0; padding: 3px; flex-shrink: 0; }
.doctor__avatar--sm .doctor__initials { font-size: 1rem; border-width: 2px; }
.doctor__avatar--lg { width: 150px; height: 150px; margin-inline: auto; }
.doctor__avatar--lg .doctor__initials { font-size: 2.6rem; }
.doctors--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Offer banner (wide) ---------- */
.offer--wide { margin-top: 0; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.offer--wide .offer__icon { margin: 0; width: 64px; height: 64px; border-radius: 18px; flex-shrink: 0; }
.offer--wide .offer__icon svg { width: 30px; height: 30px; }
.offer__text { flex: 1; min-width: 240px; }
.offer__text p { margin: 0; }
.offer__badge { display: inline-block; padding: 3px 10px; margin-bottom: 6px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: .8rem; font-weight: 700; }
.offer__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Explore cards ---------- */
.explore { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.explore__card {
  position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.explore__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.explore__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-100); color: var(--blue-700); margin-bottom: 18px; }
.explore__icon svg { width: 24px; height: 24px; }
.explore__card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.explore__card p { margin: 0; color: var(--ink-2); font-size: .925rem; }
.explore__card > .ico--arrow { position: absolute; top: 26px; inset-inline-end: 24px; color: var(--blue-500); width: 20px; height: 20px; }

/* ---------- Reviews (updated) ---------- */
.review { position: relative; }
.review__quote { position: absolute; top: 20px; inset-inline-end: 22px; width: 34px; height: 34px; color: var(--blue-100); }
.reviews--3 { grid-template-columns: repeat(3, 1fr); }
.rating-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin-bottom: 40px; }
.rating-summary { display: flex; align-items: center; gap: 32px; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.rating-big { display: grid; justify-items: center; text-align: center; gap: 6px; min-width: 150px; }
.rating-big strong { font-size: 3.4rem; font-weight: 800; line-height: 1; }
.rating-big .stars svg { width: 20px; height: 20px; }
.rating-big > span:last-child { color: var(--ink-3); font-size: .85rem; }
.rating-bars { flex: 1; display: grid; gap: 8px; }
.rating-bars li { display: grid; grid-template-columns: 44px 1fr 40px; align-items: center; gap: 10px; font-size: .875rem; color: var(--ink-2); }
.rating-bars li > span:first-child { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.bar { height: 8px; border-radius: 99px; background: var(--blue-50); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.rating-write { padding: 28px; border-radius: var(--radius-lg); background: var(--blue-50); border: 1px solid var(--line); }
.rating-write__icon { width: 40px; height: 40px; color: var(--blue-700); margin-bottom: 10px; }
.rating-write h3 { font-size: 1.2rem; margin-bottom: 6px; }
.rating-write p { color: var(--ink-2); }

/* ---------- About ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: clamp(40px, 6vw, 72px); }
.mv__card { padding: 30px; border-radius: var(--radius-lg); background: var(--blue-50); border: 1px solid var(--line); }
.mv__card--dark { background: linear-gradient(150deg, var(--blue-800), var(--blue-900)); color: #fff; border-color: transparent; }
.mv__card--dark p { color: rgba(255, 255, 255, .8) !important; }
.mv__icon { width: 36px; height: 36px; color: var(--blue-500); margin-bottom: 12px; }
.mv__card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.mv__card p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }

.stats-band { background: var(--grad); color: #fff; padding-block: clamp(36px, 5vw, 56px); }
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; }
.stat span { color: rgba(255, 255, 255, .85); font-weight: 600; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--grad); color: #fff; margin-bottom: 18px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink-2); font-size: .95rem; }

.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tech { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.tech__icon { flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-100); color: var(--blue-700); }
.tech__icon svg { width: 24px; height: 24px; }
.tech h3 { font-size: 1.05rem; margin-bottom: 4px; }
.tech p { margin: 0; color: var(--ink-2); font-size: .925rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.num-badge {
  flex-shrink: 0; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(20, 86, 168, .7);
}
.timeline { display: grid; margin-top: 24px; }
.timeline li { position: relative; display: flex; gap: 18px; padding-bottom: 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; top: 44px; bottom: 4px; inset-inline-start: 19px; border-inline-start: 2px dashed var(--line); }
.timeline h3 { font-size: 1.05rem; margin: 8px 0 4px; }
.timeline p { margin: 0; color: var(--ink-2); font-size: .95rem; }

.tour { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; }
.tour__imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tour__imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.tour__text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 18px; }

/* ---------- Services page ---------- */
.unsure {
  display: flex; align-items: center; gap: 22px; margin-top: 40px; padding: 26px 30px; flex-wrap: wrap;
  border-radius: var(--radius-lg); background: var(--blue-50); border: 1px solid var(--line);
}
.unsure__icon { flex-shrink: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--grad); color: #fff; }
.unsure__icon svg { width: 28px; height: 28px; }
.unsure > div { flex: 1; min-width: 240px; }
.unsure h3 { font-size: 1.2rem; margin-bottom: 4px; }
.unsure p { margin: 0; color: var(--ink-2); }
.emergency { margin-top: 22px; flex-wrap: wrap; }
.emergency__text { min-width: 240px; }
.emergency__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.section--tight .emergency { margin-top: 0; }

/* ---------- Detail pages (service / doctor) ---------- */
.detail { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.detail__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: var(--blue-100); margin-bottom: 36px; }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .25), transparent 50%), var(--grad); }
.detail__placeholder svg { width: 110px; height: 110px; }
.detail__block + .detail__block { margin-top: 40px; }
.detail__block h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: 16px; }
.detail__lead { font-size: 1.075rem; color: var(--ink-2); margin: 0; }
.checklist--grid { grid-template-columns: 1fr 1fr; margin-top: 0; }
.checklist--sm { gap: 10px; margin-top: 0; }
.checklist--sm li { font-weight: 500; font-size: .95rem; }
.checklist--sm svg { width: 22px; height: 22px; }

.detail__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.side-card { display: block; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.side-card > h3 { font-size: 1.15rem; margin-bottom: 16px; }
.side-card--book { box-shadow: var(--shadow); }
.side-card--book .btn + .btn { margin-top: 10px; }
.side-card__note { margin: 14px 0 0; font-size: .85rem; color: var(--ink-3); }
.side-card__note .ico { vertical-align: -3px; width: 1em; height: 1em; }
.side-card__note a { color: var(--blue-700); font-weight: 600; text-decoration: underline; }
.facts { margin: 0 0 18px; display: grid; }
.facts > div { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.facts .ico { color: var(--blue-500); width: 20px; height: 20px; }
.facts dt { color: var(--ink-2); font-size: .925rem; }
.facts dd { margin: 0; font-weight: 700; text-align: end; }
.facts__price { color: var(--blue-700); font-size: 1.1rem; }
.facts__price small { font-size: .75rem; color: var(--ink-3); }
.side-doc, .side-link { transition: border-color .2s, box-shadow .2s; }
.side-doc:hover, .side-link:hover { border-color: var(--blue-500); box-shadow: var(--shadow); }
.side-doc__label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
html[lang="ar"] .side-doc__label { letter-spacing: 0; }
.side-doc__row { display: flex; align-items: center; gap: 14px; }
.side-doc strong { display: block; }
.side-doc small { color: var(--blue-700); font-weight: 600; font-size: .85rem; }
.side-link { display: flex; align-items: center; gap: 12px; font-weight: 700; padding-block: 18px; }
.side-link > span { flex: 1; }
.side-link .ico { color: var(--blue-700); }

.profile { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.profile-card { position: sticky; top: calc(var(--header-h) + 20px); text-align: center; padding: 32px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.profile-card h2 { font-size: 1.4rem; margin-top: 18px; }
.profile-card .doctor__role { margin: 6px 0 4px; }
.profile-card .btn { margin-top: 10px; }
.edu { display: grid; gap: 12px; }
.edu li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--blue-50); }
.edu .ico { color: var(--blue-700); margin-top: 2px; }
.tag-links { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; transition: border-color .2s, color .2s, background-color .2s; }
.tag-links a:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-50); }
.tag-links .ico { color: var(--blue-500); }
.profile-meta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 40px; }
.profile-meta .detail__block + .detail__block { margin-top: 0; }
.days { display: flex; flex-wrap: wrap; gap: 8px; }
.days li { padding: 8px 14px; border-radius: 10px; background: var(--blue-50); color: var(--ink-3); font-weight: 600; font-size: .9rem; text-decoration: line-through; }
.days li.is-on { background: var(--blue-700); color: #fff; text-decoration: none; }
.profile-langs { display: flex; align-items: center; gap: 10px; font-weight: 600; margin: 0; }
.profile-langs .ico { color: var(--blue-500); }

/* ---------- Prices page ---------- */
.note { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 26px; margin-bottom: 32px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--line); }
.note__icon { width: 40px; height: 40px; color: var(--blue-700); flex-shrink: 0; }
.note > div { flex: 1; min-width: 240px; }
.note h3 { font-size: 1.05rem; margin-bottom: 4px; }
.note p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.price-card { border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.price-card h2 { display: flex; align-items: center; gap: 12px; padding: 18px 26px; font-size: 1.1rem; background: var(--blue-50); border-bottom: 1px solid var(--line); }
.price-card h2 .ico { color: var(--blue-700); }
.price-card .price-list { border: 0; box-shadow: none; border-radius: 0; padding: 4px 26px 8px; }
.pay-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 32px; }
.pay-methods li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; box-shadow: var(--shadow-sm); }
.pay-methods .ico { color: var(--blue-700); }
.pay-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pay-card { padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.pay-card--blue { background: var(--grad); color: #fff; border-color: transparent; }
.pay-card--blue p { color: rgba(255, 255, 255, .88) !important; }
.pay-card__icon { width: 40px; height: 40px; margin-bottom: 14px; color: var(--blue-500); }
.pay-card--blue .pay-card__icon { color: #fff; }
.pay-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pay-card p { color: var(--ink-2); }

/* ---------- Offers ---------- */
.deals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deal { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.deal:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.deal__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.deal__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--blue-100); color: var(--blue-700); }
.deal__icon svg { width: 26px; height: 26px; }
.deal__badge { padding: 5px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: .8rem; font-weight: 700; }
.deal h3 { font-size: 1.3rem; margin-bottom: 6px; }
.deal > p { color: var(--ink-2); }
.deal__pricing { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; padding: 14px 0; margin-bottom: 14px; border-block: 1px dashed var(--line); }
.deal__price { font-size: 1.8rem; font-weight: 800; color: var(--blue-700); line-height: 1.1; }
.deal__price small, .deal s small { font-size: .8rem; font-weight: 600; }
.deal s { color: var(--ink-3); }
.deal__save { padding: 3px 10px; border-radius: 999px; background: rgba(31, 174, 91, .12); color: var(--wa-dark); font-size: .8rem; font-weight: 700; }
.deal__save small { font-size: inherit; }
.deal__inc { font-weight: 700; font-size: .85rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
html[lang="ar"] .deal__inc { letter-spacing: 0; }
.deal .checklist { flex: 1; margin-bottom: 22px; }
.deal--featured { background: radial-gradient(400px 220px at 100% 0%, rgba(255, 255, 255, .22), transparent 60%), var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.deal--featured > p, .deal--featured .deal__inc, .deal--featured s { color: rgba(255, 255, 255, .8); }
.deal--featured .deal__icon, .deal--featured .deal__badge { background: rgba(255, 255, 255, .2); color: #fff; }
.deal--featured .deal__price { color: #fff; }
.deal--featured .deal__pricing { border-color: rgba(255, 255, 255, .3); }
.deal--featured .deal__save { background: rgba(255, 255, 255, .2); color: #fff; }
.deal--featured .checklist svg { background: rgba(255, 255, 255, .2); color: #fff; }
.terms { display: flex; gap: 10px; align-items: flex-start; margin: 32px 0 0; color: var(--ink-3); font-size: .875rem; }
.terms .ico { flex-shrink: 0; margin-top: 2px; }

/* ---------- Booking page ---------- */
.book__hours { flex-wrap: wrap; }
.book__hours small { color: rgba(255, 255, 255, .6); font-weight: 500; }
.expect { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }

/* ---------- Chips & search ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips--center { justify-content: center; margin-bottom: 32px; }
.chips--wrap { margin-bottom: 32px; }
.chips--stack { margin-top: 16px; }
.chip {
  display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink-2); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--blue-500); color: var(--blue-700); }
.chip.is-active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.search { position: relative; display: block; }
.search .ico { position: absolute; top: 50%; inset-inline-start: 16px; transform: translateY(-50%); color: var(--ink-3); }
.search input {
  width: 100%; padding: 14px 16px; padding-inline-start: 46px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.search input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(42, 167, 224, .15); }
.empty { padding: 32px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--radius); }
.faq__ask .btn { margin-top: 14px; }
.faq__ask .link-arrow { display: flex; margin-top: 16px; }
.faq__ask p { margin-bottom: 4px; }

/* ---------- Care guide ---------- */
.care-list { display: grid; gap: 22px; }
.care { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 20px); }
.care__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.care__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--grad); color: #fff; flex-shrink: 0; }
.care__icon svg { width: 24px; height: 24px; }
.care__head h2 { font-size: 1.35rem; font-weight: 800; }
.care__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.care__col { padding: 20px 22px; border-radius: var(--radius); }
.care__col h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 12px; }
.care__col h3 .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; }
.care__col ul { display: grid; gap: 8px; }
.care__col li { position: relative; padding-inline-start: 18px; color: var(--ink-2); font-size: .95rem; }
.care__col li::before { content: ""; position: absolute; inset-inline-start: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; }
.care__col--do { background: rgba(31, 174, 91, .07); }
.care__col--do h3 { color: var(--wa-dark); }
.care__col--do h3 .ico, .care__col--do li::before { background: var(--wa); }
.care__col--dont { background: rgba(229, 72, 77, .06); }
.care__col--dont h3 { color: #c2363b; }
.care__col--dont h3 .ico, .care__col--dont li::before { background: var(--red); }
.care__call { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--blue-50); font-size: .95rem; color: var(--ink-2); }
.care__call .ico { color: var(--blue-700); margin-top: 3px; }
.care__call strong { color: var(--ink); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post__media img { transform: scale(1.05); }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.post__meta { display: flex; align-items: center; gap: 12px; font-size: .825rem; color: var(--ink-3); margin-bottom: 10px; }
.post h3 { font-size: 1.15rem; margin-bottom: 8px; }
.post h3 a:hover { color: var(--blue-700); }
.post__body > p:not(.post__meta) { color: var(--ink-2); font-size: .95rem; flex: 1; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700); font-weight: 700; font-size: .78rem; }
.article { max-width: 780px; }
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; color: var(--ink-3); font-size: .9rem; margin-bottom: 22px; }
.article__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.article__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 32px; }
.prose { font-size: 1.1rem; color: var(--ink-2); line-height: 1.8; }
.prose h2 { font-size: 1.4rem; color: var(--ink); margin: 32px 0 10px; }
.author { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 20px 22px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--line); transition: border-color .2s; }
.author:hover { border-color: var(--blue-500); }
.author small { display: block; color: var(--ink-3); font-size: .825rem; }
.author strong { display: block; }

/* ---------- Gallery & lightbox ---------- */
.gallery { columns: 3 280px; column-gap: 18px; }
.gal-item { position: relative; display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--blue-100); }
.gal-item img { width: 100%; height: auto; transition: transform .5s; }
.gal-item:hover img { transform: scale(1.04); }
.gal-item span {
  position: absolute; inset-inline: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-weight: 600; text-align: start;
  background: linear-gradient(transparent, rgba(11, 37, 69, .75)); opacity: 0; transition: opacity .3s;
}
.gal-item:hover span, .gal-item:focus-visible span { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 60px 72px; background: rgba(6, 18, 36, .92); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: var(--radius); }
.lightbox figcaption { color: rgba(255, 255, 255, .85); margin-top: 14px; font-weight: 600; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .2s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; inset-inline-end: 18px; }
.lightbox__prev { inset-inline-start: 14px; top: 50%; translate: 0 -50%; }
.lightbox__next { inset-inline-end: 14px; top: 50%; translate: 0 -50%; }
.lightbox__prev svg { transform: scaleX(-1); }
html[dir="rtl"] .lightbox__prev svg { transform: none; }
html[dir="rtl"] .lightbox__next svg { transform: scaleX(-1); }

/* ---------- Emergency ---------- */
.em-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.em-urgent {
  padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); color: #fff; box-shadow: var(--shadow-lg);
  background: radial-gradient(400px 220px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(140deg, #d93a40, #a3222b);
}
.em-urgent__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .18); margin-bottom: 16px; }
.em-urgent__icon svg { width: 26px; height: 26px; }
.em-urgent h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 8px; }
.em-urgent p { color: rgba(255, 255, 255, .88); }
.em-urgent__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.em-urgent .btn--light { color: #a3222b; }
.em-urgent__status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.em-urgent__status .status--open { color: #9ff0be; }
.em-urgent__status .status--closed { color: #ffd0d1; }
.em-urgent__status small { color: rgba(255, 255, 255, .75); }
.em-hospital { padding: clamp(24px, 3vw, 32px); border-radius: var(--radius-lg); border: 2px solid rgba(229, 72, 77, .3); background: #fff7f7; }
.em-hospital h3 { display: flex; gap: 10px; align-items: flex-start; font-size: 1.1rem; color: #b42a31; margin-bottom: 16px; }
.em-hospital h3 .ico { margin-top: 2px; }
.em-hospital ul { display: grid; gap: 10px; }
.em-hospital li { position: relative; padding-inline-start: 22px; color: var(--ink-2); }
.em-hospital li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.em-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.em-card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); box-shadow: var(--shadow-sm); }
.em-card--high { border-top-color: var(--red); }
.em-card--low { border-top-color: var(--blue-500); }
.em-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.em-card__icon { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--blue-50); color: var(--blue-700); }
.em-card--high .em-card__icon { background: rgba(229, 72, 77, .1); color: var(--red); }
.em-card__icon svg { width: 24px; height: 24px; }
.em-card h3 { font-size: 1.15rem; }
.em-card ol { flex: 1; display: grid; align-content: start; gap: 10px; counter-reset: em; margin-bottom: 18px; }
.em-card ol li { position: relative; padding-inline-start: 32px; color: var(--ink-2); font-size: .95rem; counter-increment: em; }
.em-card ol li::before {
  content: counter(em); position: absolute; inset-inline-start: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; background: var(--blue-50); color: var(--blue-700); font-weight: 700; font-size: .75rem;
}
html[lang="ar"] .em-card ol li::before { content: counter(em, arabic-indic); }
.em-card__when { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--blue-50); font-size: .9rem; color: var(--ink-2); }
.em-card__when .ico { color: var(--blue-700); }

/* ---------- Policies ---------- */
.policies { display: grid; grid-template-columns: 280px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.policy-nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; padding: 10px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.policy-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--ink-2); }
.policy-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.policy-nav .ico { color: var(--blue-500); }
.policy-list { display: grid; gap: 22px; }
.policy { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; scroll-margin-top: calc(var(--header-h) + 20px); }
.policy h2 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 16px; }
.policy h2 .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); }
.policy ul { display: grid; gap: 10px; }
.policy li { position: relative; padding-inline-start: 20px; color: var(--ink-2); }
.policy li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); }

/* ---------- Contact ---------- */
.contact-form { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form--card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.social--dark { margin-top: 22px; }
.social--dark a { background: var(--blue-50); color: var(--blue-700); }

/* ---------- Footer (4 columns) ---------- */
.footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ico { color: var(--blue-500); margin-top: 3px; }
.footer__contact a:hover { color: #fff; }
.footer__contact small { color: rgba(255, 255, 255, .5); }
.footer__contact .status { margin-top: 4px; }
.footer__contact .status--open { color: #5ee08f; }
.footer__contact .status--closed { color: #ff8a8d; }
.footer__bottom a { text-decoration: underline; }
.footer__bottom a:hover { color: #fff; }

.quick-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .header__actions { margin-inline-start: auto; }
  .nav {
    position: fixed; top: var(--header-h); inset-inline: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav a { padding: 12px 16px; border-radius: 12px; font-size: 1.025rem; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { background: var(--blue-50); }
  .nav__home { display: block; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav__more-btn { display: none; }
  .nav__drop {
    position: static; translate: none !important; opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 8px 0 0; margin-top: 6px; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none;
    grid-template-columns: 1fr 1fr;
  }
  .nav__drop a { font-size: .95rem; }

  .services, .doctors, .reviews, .explore, .features { grid-template-columns: repeat(2, 1fr); }
  .reviews--3, .posts, .deals, .em-grid, .tech-grid, .doctors--3 { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .why__item + .why__item { border-inline-start: 0; }
  .why__item:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .why__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr 320px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .header__cta { display: none; }
  .hero__grid, .about__grid, .faq__grid, .contact__grid, .book__card, .split, .tour, .expect,
  .detail, .profile, .policies, .contact-form, .em-top, .rating-wrap, .price-grid, .pay-cards { grid-template-columns: 1fr; }
  .hero__content { text-align: center; }
  .hero__text { margin-inline: auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__stats li { align-items: center; }
  .hero__float--status { inset-inline-start: 12px; bottom: 12px; }
  .hero__float--rating { inset-inline-end: 12px; top: 12px; }
  .about__gallery { max-width: 560px; width: 100%; margin-inline: auto; }
  .faq__head, .detail__side, .profile-card, .policy-nav { position: static; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps li:not(:last-child)::after { display: none; }
  .split__media { max-width: 560px; }
  .split__media img { aspect-ratio: 16 / 10; }
  .stats-band__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .profile-card { max-width: 420px; width: 100%; margin-inline: auto; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.25rem; }
  .lang-btn .ico { display: none; }
  .services, .doctors, .reviews, .reviews--3, .explore, .features, .features--3, .posts, .deals, .em-grid,
  .tech-grid, .doctors--3, .mv, .checklist--grid, .care__cols, .profile-meta { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; padding: 4px; }
  .why__item { padding: 16px; }
  .why__item:nth-child(even) { border-inline-start: 0; }
  .why__item + .why__item { border-top: 1px solid var(--line); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats strong { font-size: 1.45rem; }
  .hero__float { padding: 10px 14px; }
  .hero__float--rating { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .emergency, .unsure { flex-direction: column; text-align: center; padding: 26px 22px; }
  .emergency__actions, .emergency .btn, .unsure .btn { width: 100%; }
  .emergency__actions { flex-direction: column; }
  .offer--wide { flex-direction: column; text-align: center; }
  .offer__actions, .offer__actions .btn, .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .offer__actions { flex-direction: column; }
  .price-list { padding: 4px 18px; }
  .price-card .price-list { padding: 4px 18px 8px; }
  .price-card h2 { padding: 16px 18px; }
  .price-list li { flex-wrap: wrap; gap: 2px 12px; }
  .price-list__dots { display: none; }
  .price-list__name { flex: 1 1 100%; }
  .rating-summary { flex-direction: column; gap: 20px; }
  .rating-bars { width: 100%; }
  .tour__imgs { gap: 8px; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gal-item { margin-bottom: 10px; }
  .gal-item span { opacity: 1; padding: 20px 10px 8px; font-size: .8rem; }
  .lightbox { padding: 60px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; translate: none; }
  .em-urgent__actions .btn { flex: 1 1 100%; }
  .nav__drop { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .fab { width: 60px; padding: 0; justify-content: center; bottom: 16px; inset-inline-end: 16px; }
  .fab__label { display: none; }
}
