/* =========================================================
   DR. KAMARAN — CLEAN MEDICAL THEME
   All colors, shadows and radii are defined once here.
   ========================================================= */
:root {
  --blue-950: #062334;
  --blue-900: #0b3954;
  --blue-800: #0d4e77;
  --blue-700: #0e6ba8;
  --blue-600: #1180c4;
  --blue-200: #c5e2f4;
  --blue-100: #e3f1fa;
  --blue-50:  #f3f9fd;
  --teal:     #16a3a3;
  --teal-600: #0f8f8f;
  --ink:      #16303f;
  --ink-soft: #55737f;
  --line:     #dfeaf1;
  --line-soft:#edf4f9;
  --white:    #ffffff;
  --wa:       #25d366;
  --wa-dark:  #1ebe5d;

  --grad:      linear-gradient(135deg, #0e6ba8, #16a3a3);
  --grad-soft: linear-gradient(135deg, #e3f1fa, #dff2ef);

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 26px;

  --sh-xs: 0 1px 2px rgba(11, 57, 84, 0.05);
  --sh-sm: 0 2px 8px rgba(11, 57, 84, 0.06), 0 1px 2px rgba(11, 57, 84, 0.04);
  --sh:    0 8px 24px rgba(11, 57, 84, 0.09), 0 2px 6px rgba(11, 57, 84, 0.05);
  --sh-lg: 0 20px 48px rgba(11, 57, 84, 0.14), 0 4px 12px rgba(11, 57, 84, 0.06);
  --sh-brand: 0 10px 28px rgba(14, 107, 168, 0.32);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Fluid base size: grows with the screen, never smaller than 16px */
  font-size: clamp(16px, 0.92rem + 0.28vw, 19px);
}
section[id] { scroll-margin-top: 96px; }

body {
  font-family: "Noto Sans Arabic", "Inter", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 1.02rem;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.latin { font-family: "Inter", "Segoe UI", sans-serif; }

img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; }
::selection { background: var(--blue-200); color: var(--blue-950); }

.container { max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 24px); }

h1, h2, h3, h4 {
  line-height: 1.26;
  color: var(--blue-900);
  font-weight: 800;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.05rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.12rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.eyebrow.light { background: rgba(255,255,255,0.13); color: #d3ebfb; }
.eyebrow.light::before { background: #7ff0c0; }

.section { padding: 92px 0; }
.section-alt {
  background:
    radial-gradient(760px 320px at 100% 0%, rgba(22,163,163,0.055), transparent 62%),
    var(--blue-50);
  border-block: 1px solid var(--line-soft);
}
.section-head { text-align: center; max-width: 730px; margin: 0 auto 52px; }
.section-sub { color: var(--ink-soft); margin-top: 12px; font-size: 1.08rem; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 100;
  transition: width .1s linear;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s ease, background .2s ease, color .2s ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid rgba(17,128,196,.4); outline-offset: 3px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(14,107,168,0.42); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { border-color: var(--blue-200); color: var(--blue-700); background: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; border-color: var(--blue-700); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.btn-sm { padding: 10px 20px; font-size: 0.87rem; }
.btn-whatsapp { background: var(--wa); color: #fff; width: 100%; box-shadow: 0 10px 26px rgba(37,211,102,0.34); }
.btn-whatsapp:hover { background: var(--wa-dark); transform: translateY(-2px); }
.btn-whatsapp svg { width: 20px; height: 20px; }

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--blue-950), var(--blue-800));
  color: #b8d6e8;
  font-size: 0.89rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 40px;
  gap: 4px 14px;
  padding-block: 4px;
}
.topbar-phones {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  min-width: 0;
}
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cfe6f6;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}
.topbar-phone + .topbar-phone { box-shadow: inset 1px 0 0 rgba(255,255,255,0.14); }
[dir="rtl"] .topbar-phone + .topbar-phone { box-shadow: inset -1px 0 0 rgba(255,255,255,0.14); }
.topbar-phone:hover { background: rgba(255,255,255,0.12); color: #fff; }
.topbar-phone svg { width: 14px; height: 14px; opacity: .7; flex-shrink: 0; }
.tp-label { opacity: .8; }
.tp-num { font-weight: 700; color: #eaf6ff; letter-spacing: .01em; }
.topbar-social { display: flex; align-items: center; gap: 5px; }
.topbar-follow { margin-inline-end: 5px; font-weight: 600; opacity: .8; }
.topbar-social a {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  color: #cbe4f4;
  transition: background .18s, color .18s, transform .18s;
}
.topbar-social a:hover { color: #fff; transform: translateY(-1px); }
.topbar-social a[data-social="facebook"]:hover  { background: #1877F2; }
.topbar-social a[data-social="instagram"]:hover { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.topbar-social a[data-social="tiktok"]:hover    { background: #010101; }
.topbar-social svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: var(--sh-sm);
  background: rgba(255,255,255,0.95);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: var(--sh-brand);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.28; min-width: 0; overflow: hidden; }
.brand-text strong { color: var(--blue-900); font-size: 1.06rem; white-space: nowrap; }
.brand-text small { color: var(--ink-soft); font-size: 0.79rem; }
.brand-short { display: none; }
/* The header shows the short name; the full name appears in the hero
   caption and the footer, where there is room for it. */
.site-header .brand-full { display: none; }
.site-header .brand-short { display: block; }
.header-actions, .nav-toggle, .lang-switch { flex-shrink: 0; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a:not(.btn) {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.99rem;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.main-nav > a:not(.btn):hover { color: var(--blue-700); }
.main-nav > a:not(.btn):hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--blue-50);
  padding: 2px;
  gap: 2px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 6px 13px;
  font-family: inherit;
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 999px;
  transition: background .18s, color .18s;
}
.lang-switch button:hover { color: var(--blue-700); }
.lang-switch button.active { background: var(--blue-700); color: #fff; box-shadow: var(--sh-xs); }

.nav-toggle { display: none; border: 0; background: transparent; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block;
  width: 22px; height: 2.5px;
  background: var(--blue-900);
  margin: 4.5px 0;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 440px at 84% -12%, rgba(22,163,163,0.14), transparent 62%),
    radial-gradient(720px 420px at -12% 108%, rgba(14,107,168,0.10), transparent 62%),
    linear-gradient(180deg, var(--blue-50) 0%, #fff 86%);
  padding: 82px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(14,107,168,0.14) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.45), transparent 52%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.45), transparent 52%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}
.hero h1 { text-wrap: balance; }
.hero .lead { color: var(--ink-soft); font-size: 1.14rem; margin: 20px 0 22px; max-width: 560px; }

.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero-chips li {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-800);
  background: #fff;
  border: 1px solid var(--blue-200);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--sh-xs);
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  list-style: none;
  display: flex;
  margin-top: 44px;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  overflow: hidden;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  padding: 18px 24px;
  flex: 1 1 auto;
  border-inline-end: 1px solid var(--line-soft);
}
.hero-stats li:last-child { border-inline-end: 0; }
.hero-stats strong {
  font-size: 1.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}
.hero-stats span { font-size: 0.86rem; color: var(--ink-soft); font-weight: 600; }

.hero-portrait { position: relative; justify-self: center; }
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: var(--grad);
  opacity: 0.13;
  border-radius: 50% 42% 55% 45% / 48% 52% 44% 56%;
  animation: blob 14s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 50% 42% 55% 45% / 48% 52% 44% 56%; }
  50%      { border-radius: 42% 55% 45% 52% / 55% 45% 52% 46%; }
}
.portrait-frame {
  position: relative;
  width: min(340px, 78vw);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 7px solid #fff;
  background: linear-gradient(160deg, var(--blue-100), #d6eee2);
}
.portrait-caption {
  position: relative;
  width: min(340px, 78vw);
  margin-top: 18px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh);
  padding: 14px 18px;
  text-align: center;
  display: grid;
  gap: 6px;
}
.portrait-caption strong {
  font-size: 0.99rem;
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.45;
}
.portrait-caption span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.6;
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
}

/* ---------- UK online consultation banner ---------- */
.uk-banner {
  background:
    radial-gradient(600px 300px at 88% 0%, rgba(22,163,163,0.22), transparent 62%),
    linear-gradient(135deg, var(--blue-950), var(--blue-700));
  color: #eaf5fc;
  padding: 30px 0;
}
.uk-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.uk-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a9d6f0;
  margin-bottom: 6px;
}
.uk-banner-eyebrow span[aria-hidden] { font-size: 1.1rem; }
.uk-banner h2 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-bottom: 4px; }
.uk-banner p { color: #cbe3f2; font-size: 0.98rem; max-width: 620px; }
.uk-banner-warning,
.so-warning {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.uk-banner-warning::before,
.so-warning::before {
  content: "!";
  width: 19px; height: 19px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.uk-banner-warning { color: #ffd9d9; }
.uk-banner-warning::before { background: rgba(255,255,255,.2); color: #fff; }

/* Red call-to-action for the online consultation */
.btn-red {
  background: linear-gradient(135deg, #d92d20, #b42318);
  color: #fff;
  box-shadow: 0 10px 26px rgba(217,45,32,.42);
  flex-shrink: 0;
}
.btn-red:hover {
  background: linear-gradient(135deg, #e13b2e, #9f1d14);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(217,45,32,.5);
}

/* ---------- Second opinion banner (central & southern Iraq) ---------- */
.so-banner {
  position: relative;
  background:
    radial-gradient(700px 340px at 12% -20%, rgba(37,211,102,0.20), transparent 62%),
    radial-gradient(620px 320px at 92% 120%, rgba(14,107,168,0.30), transparent 62%),
    linear-gradient(135deg, #0d5757, #16a3a3 55%, #0f8f8f);
  color: #eafaf6;
  padding: 40px 0;
  overflow: hidden;
}
.so-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(115deg, rgba(0,0,0,.55), transparent 65%);
  mask-image: linear-gradient(115deg, rgba(0,0,0,.55), transparent 65%);
  pointer-events: none;
}
.so-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.so-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #bff3e4;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 15px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.so-banner h2 { color: #fff; font-size: clamp(1.35rem, 2.3vw, 1.8rem); margin-bottom: 6px; }
.so-banner p { color: #d8f5ed; font-size: 1rem; max-width: 640px; }
.so-warning { color: #ffe0dd; }
.so-warning::before { background: rgba(255,255,255,.2); color: #fff; }
.btn-so {
  width: auto;
  flex-shrink: 0;
  background: #fff;
  color: #0f7a4a;
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
}
.btn-so:hover { background: #fff; color: #0b5f39; transform: translateY(-2px); }

@media (max-width: 700px) {
  .uk-banner-inner, .so-inner { flex-direction: column; align-items: flex-start; }
  .btn-uk, .btn-so { width: 100%; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: #fff;
  border-block: 1px solid var(--line-soft);
  padding: 30px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 26px 30px;
}
.trust-item { display: flex; align-items: flex-start; gap: 13px; }
.trust-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--blue-700);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 21px; height: 21px; }
.trust-item h3 { font-size: 1.02rem; margin-bottom: 3px; }
.trust-item p { font-size: 0.91rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Photo slots ---------- */
.photo-slot { position: relative; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--blue-700);
  opacity: 0.45;
  font-size: 0.84rem;
  font-weight: 600;
}
.photo-placeholder svg { width: 42px; height: 42px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 54px;
  align-items: center;
}
.about-text p { color: var(--ink-soft); margin-bottom: 16px; }
.cred-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.16rem;
  margin: 30px 0 16px;
  color: var(--blue-900);
}
.cred-heading::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 3px;
  background: var(--grad);
  flex-shrink: 0;
}
.cred-heading::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.credential-list { list-style: none; display: grid; gap: 11px; }
.credential-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 17px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--sh-xs);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.credential-list li::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  background: var(--grad);
}
.credential-list li:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.credential-list svg { width: 21px; height: 21px; color: var(--blue-700); flex-shrink: 0; margin-top: 3px; }
.about-photo {
  aspect-ratio: 4 / 4.5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--blue-100), #dcf0f7);
  box-shadow: var(--sh);
  border: 7px solid #fff;
}

/* ---------- Cards / services ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 22px; }
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin: 16px 0 8px; }
.card p { color: var(--ink-soft); font-size: 0.99rem; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r);
  background: var(--grad-soft);
  color: var(--blue-700);
  display: grid; place-items: center;
  transition: background .25s ease, color .25s ease, transform .25s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card-icon { background: var(--grad); color: #fff; transform: scale(1.08) rotate(-3deg); }
.card-icon svg { width: 26px; height: 26px; }

.svc-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.2rem;
  color: var(--blue-900);
  margin: 44px 0 20px;
}
.svc-group-title::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 3px;
  background: var(--grad);
  flex-shrink: 0;
}
.svc-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.svc-compact { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.svc-compact .card { padding: 24px 20px; }
.svc-compact .card h3 { margin: 14px 0 6px; font-size: 1.05rem; }
.svc-compact .card p { font-size: 0.93rem; }
.svc-compact .card-icon { width: 46px; height: 46px; }
.svc-compact .card-icon svg { width: 23px; height: 23px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 11px; }
.faq-list .svc-group-title { margin: 24px 0 5px; }
.faq-list .svc-group-title:first-child { margin-top: 0; }
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow .22s ease, border-color .22s ease;
}
.faq:hover { box-shadow: var(--sh-sm); border-color: var(--blue-200); }
.faq[open] { box-shadow: var(--sh); border-color: transparent; }
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--blue-900);
  list-style: none;
  position: relative;
  padding-inline-end: 62px;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-100);
  font-size: 1.2rem;
  color: var(--blue-700);
  font-weight: 500;
  transition: background .22s, color .22s, transform .22s;
}
.faq[open] summary::after { content: "−"; background: var(--grad); color: #fff; }
.faq[open] summary { background: var(--blue-50); }
.faq p { padding: 4px 22px 20px; color: var(--ink-soft); font-size: 1.01rem; }

/* ---------- Patient feedback ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.testimonial {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px 24px;
  box-shadow: var(--sh-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.t-quote {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--blue-700);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.t-quote svg { width: 21px; height: 21px; }
.testimonial blockquote {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.75;
  flex: 1;
}
.t-who {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.t-who strong { color: var(--blue-900); font-size: 0.95rem; }
.t-who span { color: var(--ink-soft); font-size: 0.87rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 172px;
  gap: 16px;
}
.gallery-grid figure {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--blue-100), #e6f4ef);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.gallery-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid figure:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); z-index: 2; }
.gallery-grid figure.has-photo { border-color: transparent; }
.gallery-grid figure.has-photo img { transition: transform .45s cubic-bezier(.2,.7,.3,1); height: 100%; }
.gallery-grid figure.has-photo:hover img { transform: scale(1.07); }

/* ---------- Booking ---------- */
.booking-section {
  position: relative;
  background:
    radial-gradient(720px 400px at 10% 112%, rgba(22,163,163,0.3), transparent 62%),
    radial-gradient(620px 320px at 96% -12%, rgba(17,128,196,0.36), transparent 62%),
    linear-gradient(135deg, var(--blue-950), var(--blue-700));
  color: #e8f4fc;
  overflow: hidden;
}
.booking-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1.5px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(120deg, rgba(0,0,0,.5), transparent 62%);
  mask-image: linear-gradient(120deg, rgba(0,0,0,.5), transparent 62%);
  pointer-events: none;
}
.booking-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.booking-info h2 { color: #fff; margin-bottom: 14px; }
.booking-info > p { color: #cbe3f2; }
.booking-points { list-style: none; margin-top: 28px; display: grid; gap: 13px; }
.booking-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.booking-points li::before {
  content: "✓";
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: #86f2c6;
  display: grid; place-items: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

/* ---------- Clinic picker buttons ---------- */
.booking-picker { display: grid; gap: 16px; }
.booking-picker h3 { color: #fff; font-size: 1.26rem; }
.clinic-buttons { display: grid; gap: 12px; }
.clinic-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: start;
  font-family: inherit;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--r);
  padding: 15px 18px;
  cursor: pointer;
  box-shadow: var(--sh);
  transition: transform .2s cubic-bezier(.2,.7,.3,1), box-shadow .2s ease, background .2s ease;
}
.clinic-btn:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); background: #fff; }
.clinic-btn:focus-visible { outline: 3px solid rgba(255,255,255,.7); outline-offset: 3px; }
.clinic-btn-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--blue-700);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.clinic-btn-icon svg { width: 21px; height: 21px; }
.clinic-btn-text { display: grid; gap: 2px; min-width: 0; flex: 1; }
.clinic-btn-text strong { color: var(--blue-900); font-size: 1.06rem; font-weight: 800; }
.clinic-btn-text small { color: var(--ink-soft); font-size: 0.89rem; line-height: 1.5; }
.clinic-btn-go {
  color: var(--blue-700);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.clinic-btn-go svg { width: 20px; height: 20px; }
[dir="rtl"] .clinic-btn-go svg { transform: scaleX(-1); }
.clinic-btn:hover .clinic-btn-go { transform: translateX(4px); }
[dir="rtl"] .clinic-btn:hover .clinic-btn-go { transform: translateX(-4px); }
.form-hint.light { color: #bfdcef; text-align: start; }

/* ---------- Booking popup ---------- */
body.modal-open { overflow: hidden; }
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 35, 52, 0.62);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  animation: fadeIn .2s ease;
}
.modal-backdrop[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative;
  width: min(480px, 100%);
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 30px 30px 26px;
  animation: modalIn .28s cubic-bezier(.2,.7,.3,1);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.modal-close:hover { background: var(--blue-50); color: var(--blue-900); }
.modal-close svg { width: 17px; height: 17px; }
.modal-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.modal h3 { font-size: 1.4rem; margin: 4px 0 6px; }
.modal-clinic {
  font-weight: 700;
  color: var(--teal-600);
  font-size: 0.95rem;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.form-error {
  background: #fdeced;
  border: 1px solid #f5c2c7;
  color: #a4272f;
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 0.87rem;
  font-weight: 600;
}
.form-error[hidden] { display: none; }

.booking-form {
  background: transparent;
  color: var(--ink);
  display: grid;
  gap: 14px;
}
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 700; font-size: 0.92rem; color: var(--blue-900); }
.form-row input, .form-row select, .form-row textarea {
  font-family: inherit;
  font-size: 1.02rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: #fbfdfe;
  color: var(--ink);
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-row input:hover, .form-row select:hover, .form-row textarea:hover { border-color: var(--blue-200); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(17,128,196,0.14);
}
.form-hint { font-size: 0.87rem; color: var(--ink-soft); text-align: center; }

/* ---------- Clinics ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 22px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.contact-card .card-icon { margin-inline: auto; }
.contact-card:hover .card-icon { background: var(--grad); color: #fff; }
.contact-card h3 { margin: 16px 0 8px; }
.contact-card p { color: var(--ink-soft); font-size: 1rem; }

.location-card { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.loc-hours-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  background: var(--blue-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  padding: 9px 15px;
  margin: 12px 0 6px;
}
.loc-hours-wrap svg { width: 17px; height: 17px; color: var(--blue-700); flex-shrink: 0; margin-top: 4px; }
.loc-hours { font-size: 0.94rem; color: var(--ink-soft); }
.loc-phones { display: grid; gap: 1px; margin-top: 8px; }
.loc-phones a { font-weight: 700; }
.loc-phones .loc-phone-main { font-size: 1.18rem; color: var(--blue-700); letter-spacing: .01em; }
.loc-phones a:not(.loc-phone-main) { font-size: 0.95rem; color: var(--ink-soft); font-weight: 600; }
.loc-phones a:not(.loc-phone-main):hover { color: var(--blue-700); }
.loc-links {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  width: 100%;
  justify-content: center;
}
.loc-links a {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.loc-links a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(640px 320px at 88% 0%, rgba(22,163,163,0.13), transparent 62%),
    linear-gradient(180deg, var(--blue-900), var(--blue-950));
  color: #b3cddd;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 46px;
  padding: 62px clamp(16px, 3vw, 24px) 44px;
  max-width: 1200px;
  margin-inline: auto;
}
.footer-brand .brand-text strong { color: #fff; white-space: normal; }
.footer-brand .brand-text small { color: #8db2c8; }
.footer-social-title {
  color: #fff;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.footer-about { margin: 20px 0 22px; font-size: 0.96rem; color: #a2c1d6; max-width: 340px; line-height: 1.75; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  color: #dcefFB;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background .22s ease, transform .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.social-btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.social-btn:hover { transform: translateY(-3px); color: #fff; border-color: transparent; }
.social-fb:hover { background: #1877F2; box-shadow: 0 8px 20px rgba(24,119,242,.45); }
.social-ig:hover {
  background: linear-gradient(45deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4);
  box-shadow: 0 8px 20px rgba(221,42,123,.45);
}
.social-tt:hover { background: #010101; box-shadow: 0 8px 20px rgba(0,0,0,.5); }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #a2c1d6; font-size: 0.96rem; transition: color .18s, padding .18s; }
.footer-links a:hover { color: #fff; padding-inline-start: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.09); padding: 20px 0; text-align: center; }
.footer-note { font-size: 0.89rem; color: #8db2c8; }

/* ---------- Floating buttons ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 60;
  transition: transform .22s cubic-bezier(.2,.7,.3,1);
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%        { transform: scale(1); opacity: .65; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
.wa-float:hover { transform: scale(1.09); }
.wa-float svg { width: 30px; height: 30px; }

.to-top {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  color: var(--blue-700);
  display: grid; place-items: center;
  box-shadow: var(--sh);
  cursor: pointer;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-700); color: #fff; border-color: transparent; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: none; }

/* Phones: keep all three numbers visible but compact */
@media (max-width: 760px) {
  .topbar { font-size: 0.79rem; }
  .topbar-inner { gap: 2px 8px; padding-block: 5px; }
  .topbar-phones { gap: 2px 4px; }
  .topbar-phone { padding: 3px 7px; gap: 5px; }
  .topbar-phone svg { width: 12px; height: 12px; }
  .topbar-phone + .topbar-phone { box-shadow: none; }
  .topbar-social a { width: 26px; height: 26px; }
  .topbar-social svg { width: 14px; height: 14px; }
}

/* Very small phones: logo only, so nothing collides in the header */
@media (max-width: 440px) {
  .site-header .brand-text { display: none; }
  .lang-switch button { padding: 6px 9px; font-size: 0.74rem; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-mark svg { width: 20px; height: 20px; }
  .topbar { font-size: 0.8rem; }
  .topbar-social a { width: 27px; height: 27px; }
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .brand-text small { display: none; }
  /* trust strip flows automatically */
}
@media (max-width: 1020px) {
  .hero-inner, .about-grid, .booking-inner { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; }
  .hero-chips { justify-content: flex-start; }
  .about-photo { max-width: 340px; margin-inline: auto; width: 100%; }
  /* service and clinic grids flow automatically */
  /* footer flows automatically */
  .main-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 22px 24px;
    gap: 2px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    display: none;
  }
  .main-nav.open { display: flex; animation: navIn .25s ease; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .main-nav > a:not(.btn) { padding: 13px 6px; border-bottom: 1px solid var(--line-soft); font-size: 0.96rem; }
  .main-nav > a:not(.btn)::after { display: none; }
  .main-nav > a.btn { margin-top: 14px; border: 0; text-align: center; }
  .nav-toggle { display: block; }
}
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-grid figure:first-child { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .footer-social { flex-direction: column; align-items: stretch; }
  .social-btn { justify-content: center; }
  .section { padding: 62px 0; }
  .hero { padding: 48px 0 56px; }
  .hero-stats li { padding: 13px 16px; flex: 1 1 40%; }
  .hero-stats strong { font-size: 1.22rem; }
  .booking-form { padding: 26px 20px; }
  .portrait-caption { padding: 12px 14px; }
  .portrait-caption strong { font-size: 0.84rem; }
  .portrait-caption span { font-size: 0.72rem; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .lang-switch button { padding: 6px 10px; font-size: 0.76rem; }
  .topbar-follow { display: none; }
  .footer-grid { gap: 34px; padding-top: 46px; }
  .to-top { bottom: 92px; inset-inline-start: auto; inset-inline-end: 31px; }
  .loc-links { flex-direction: column; }
}
