/* CarePort — site styles. Brand Kit, confirmed November 2026.
   Layout uses logical properties (inline-start/end) only, so Arabic (dir=rtl)
   mirrors automatically. Never use left/right here. */
@import url("/fonts/fonts.css");

:root {
  /* Colour (Brand Kit 02) */
  --sky: #5BB5EB;        /* Primary 1 · buttons, links, logo, highlights */
  --cyan: #0CB9F1;       /* hover / pressed, charts */
  --ice: #AAEAFF;        /* soft fills, tags, icon backgrounds */
  --amber: #FDB52A;      /* warm accent, badges, offers */
  --mist: #EBF0F6;       /* section backgrounds, dividers */
  --indigo: #5959C2;     /* 800 · headings */
  --body: #666E82;       /* 700/600 · body text */
  --meta: #99A0B4;       /* 500 · captions */
  --disabled: #BFC6D6;   /* 400 */
  --border: #D5DFF0;     /* 300 */
  --tint: #F3F8FF;       /* 200 · page tint */
  --white: #FFFFFF;      /* 100 · cards */
  --indigo-deep: #4646A6;

  /* Type (Brand Kit 03 / 04) */
  --font-head: "Montserrat Alternates", "Montserrat", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --lh-body: 1.66;

  --radius-card: 16px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(89, 89, 194, .04), 0 8px 24px rgba(89, 89, 194, .06);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ----------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--body);
  font: 300 18px/var(--lh-body) var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em; color: var(--indigo); font-family: var(--font-head); font-weight: 300;
  letter-spacing: -.01em; text-wrap: balance;
}
h1, .display-l { font-size: clamp(36px, 5vw, 54px); line-height: 1.22; }
.display-xl { font-size: clamp(40px, 6vw, 68px); line-height: 1.18; }
h2, .h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.32; }
h3, .h3 { font-size: 24px; line-height: 1.42; }
h4, .h4 { font-size: 22px; line-height: 1.27; }
h5, .h5 { font-size: 18px; line-height: 1.33; }
h6, .h6 { font-size: 16px; line-height: 1.375; }
.lead { font-size: clamp(18px, 2vw, 24px); line-height: 1.58; }
.small { font-size: 14px; line-height: 1.71; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

/* Arabic (Brand Kit 04): Cairo, right-aligned, ~10% larger, line height 1.7,
   bold indigo headings, regular body. */
html[lang^="ar"] body { font-family: var(--font-ar); font-weight: 400; font-size: 19.5px; line-height: 1.75; }
html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3, html[lang^="ar"] h4, html[lang^="ar"] h5, html[lang^="ar"] h6 {
  font-family: var(--font-ar); font-weight: 700; letter-spacing: 0; line-height: 1.5;
}
html[lang^="ar"] h4, html[lang^="ar"] h5 { font-weight: 600; }
html[lang^="ar"] h1, html[lang^="ar"] .display-l { font-size: clamp(38px, 5.4vw, 58px); }
html[lang^="ar"] .display-xl { font-size: clamp(42px, 6.4vw, 72px); }
html[lang^="ar"] h2, html[lang^="ar"] .h2 { font-size: clamp(30px, 4vw, 42px); }
html[lang^="ar"] h3, html[lang^="ar"] .h3 { font-size: 26px; }
html[lang^="ar"] .lead { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.8; }
html[lang^="ar"] .small { font-size: 15.5px; }
html[lang^="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
/* Keep Latin runs (emails, phone numbers, URLs) readable inside Arabic text */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
/* Arrows and chevrons point the reading direction */
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ----------------------------------------------------------- layout */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tint { background: var(--tint); border-radius: var(--radius-lg); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 8px; }
.split-head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; margin-bottom: clamp(32px, 4vw, 48px); }
.split-head > :first-child { max-width: 640px; }
.split-head h2 { margin: 0; }
.eyebrow {
  display: inline-block; margin-bottom: 12px; color: var(--sky);
  font: 700 13px/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
}
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.center .actions, .actions.center { justify-content: center; }
.divider { border: 0; border-top: 1px solid var(--border); margin: 0; }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------- buttons (Brand Kit 05) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 1.5px solid transparent; border-radius: 999px;
  background: var(--sky); color: #fff; cursor: pointer;
  font: 700 16px/1 var(--font-body); white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
html[lang^="ar"] .btn { font-family: var(--font-ar); font-size: 17px; }
.btn:hover { background: var(--cyan); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.disabled { background: var(--disabled); cursor: not-allowed; }
.btn-sm { min-height: 32px; padding: 0 16px; font-size: 13px; }
html[lang^="ar"] .btn-sm { font-size: 14px; }
.btn-outline { min-height: 44px; background: #fff; color: var(--sky); border-color: var(--sky); font-weight: 500; font-size: 15px; }
.btn-outline:hover { background: var(--sky); color: #fff; }
.btn-white { background: #fff; color: var(--sky); }
.btn-white:hover { background: var(--ice); color: var(--indigo); }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); font-weight: 500; }
.btn-ghost-white:hover { background: #fff; color: var(--sky); }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--sky); font-weight: 700; }
.link-arrow:hover { color: var(--indigo); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(3px); }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.fill { fill: currentColor; stroke: none; }

/* ----------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--sky); color: #fff; transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(89, 89, 194, .18); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: block; flex: none; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 6px; margin-inline-end: auto; }
.nav a, .nav summary { padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 16px; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav a:hover, .nav summary:hover, .nav summary.active, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .18); }
.nav details { position: relative; }
.nav summary { display: inline-flex; align-items: center; gap: 4px; }
.nav summary .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav details[open] summary .icon { transform: rotate(180deg); }
.dropdown {
  position: absolute; inset-inline-start: 0; top: calc(100% + 10px); min-width: 250px; padding: 10px;
  background: #fff; color: var(--indigo); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow);
}
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 500; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--tint); }
.dropdown .dd-label:first-child { padding-top: 4px; }
.dropdown a.dd-link { display: block; margin-top: 6px; padding: 10px 14px 4px; border-radius: 10px; color: var(--meta); }
.dropdown a.dd-link:hover { color: var(--sky); background: transparent; }
.mobile-nav a.sub { padding-inline-start: 20px; font-size: 16px; color: var(--body); }
.dropdown .dd-label { display: block; padding: 10px 14px 4px; color: var(--meta); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border-radius: 999px; background: #fff; color: var(--sky); font-size: 14px; font-weight: 600;
}
.lang-switch:hover { background: var(--ice); color: var(--indigo); }
.lang-switch .icon { width: 16px; height: 16px; }
.lang-switch [lang="ar"] { font-family: var(--font-ar); font-size: 15px; }
.lang-switch [lang="en"] { font-family: var(--font-body); }
.menu-toggle { display: none; }
@media (max-width: 1020px) {
  .site-header .wrap { gap: 12px; }
  .nav, .header-actions .btn { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-inline-start: auto;
    border: 0; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer;
  }
  .menu-toggle .icon { width: 24px; height: 24px; }
}
.mobile-nav { display: none; }
.menu-open .mobile-nav { display: block; }
.mobile-nav {
  position: fixed; inset: 76px 0 0 0; z-index: 49; overflow-y: auto; padding: 16px var(--gutter) 40px;
  background: #fff; color: var(--indigo);
}
.mobile-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--mist); font-size: 18px; font-weight: 500; }
.mobile-nav .dd-label { display: block; margin-top: 20px; color: var(--meta); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mobile-nav .btn { width: 100%; margin-top: 24px; }
.menu-open { overflow: hidden; }

/* ----------------------------------------------------------- hero / page heads */
.hero-blue { position: relative; overflow: hidden; background: var(--sky); color: #fff; border-end-start-radius: var(--radius-lg); border-end-end-radius: var(--radius-lg); }
.hero-blue h1, .hero-blue h2, .hero-blue h3 { color: #fff; }
.hero-blue .eyebrow { color: #fff; opacity: .9; }
.hero-blue p { color: rgba(255, 255, 255, .92); }
.page-head { padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 80px); }
.page-head.center { text-align: center; }
.page-head.center p { max-width: 680px; margin-inline: auto; }
.page-head .lead { margin-top: 12px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; border-radius: 32px 32px 50% 50% / 32px 32px 38% 38%; box-shadow: 0 24px 60px rgba(36, 40, 120, .22); }
.hero-blue .hero-photo { isolation: isolate; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
.over-hero { margin-top: -120px; position: relative; z-index: 2; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: 2; }
}

/* ----------------------------------------------------------- cards */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow); }
.card-pad { padding: clamp(22px, 3vw, 32px); }
.card-link { transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-link:hover { transform: translateY(-3px); border-color: var(--ice); box-shadow: 0 14px 34px rgba(89, 89, 194, .12); }
.tag {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px;
  background: var(--tint); color: var(--sky); font-size: 14px; font-weight: 600;
}
.tag-white { background: #fff; box-shadow: var(--shadow); }
.tag-amber { background: var(--amber); color: #3a2a00; }
.icon-badge {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--tint); color: var(--sky); flex: none;
}
.icon-badge img { width: 34px; height: 34px; object-fit: contain; }
.icon-badge.lg { width: 72px; height: 72px; }
.icon-badge.lg img { width: 44px; height: 44px; }

/* contact method cards */
.method h3 { margin: 18px 0 8px; font-size: 22px; }
.method p { font-size: 16px; }
.method .link-arrow { margin-top: 6px; }

/* specialty card */
.spec-card { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 36px 26px 30px; text-align: center; }
.spec-card img.spec-icon { width: 96px; height: 96px; object-fit: contain; margin-bottom: 22px; }
.spec-card h3 { margin-bottom: 10px; }
.spec-card p { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spec-card .link-arrow { margin-top: auto; padding-top: 8px; }
.spec-card.compact { padding: 28px 18px; justify-content: center; }
.spec-card.compact h3 { font-size: 20px; margin: 0; }

/* doctor card */
.doc-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.doc-card .photo { position: relative; aspect-ratio: 16 / 9; background: var(--mist); }
.doc-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.doc-card .photo .tag { position: absolute; inset-inline-start: 14px; bottom: 14px; background: #fff; }
.doc-card .body { padding: 24px; }
.doc-card h3 { margin-bottom: 6px; font-size: 21px; }
.doc-card .body > p { font-size: 16px; }
.doc-card ul, .rt-cases ul { margin: 8px 0 0; padding-inline-start: 18px; color: var(--body); font-size: 14px; }
.doc-card li p, .rt-cases li p { margin: 0; }
.rt-cases, .rt-cases p { font-size: 14px; margin: 8px 0 0; }
html[lang^="ar"] .rt-cases, html[lang^="ar"] .rt-cases p, html[lang^="ar"] .doc-card ul { font-size: 15.5px; }

/* hospital card (vertical) and row (horizontal) */
.hosp-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.hosp-card .photo { aspect-ratio: 16 / 8; background: var(--mist); }
.hosp-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.hosp-card .body { padding: 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hosp-card h3 { margin: 0; font-size: 21px; }
.hosp-card p { font-size: 15.5px; margin: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: auto; padding-top: 16px; }
.fact { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fact .label { color: var(--meta); font-size: 13px; }
.fact .value { color: var(--indigo); font-weight: 700; font-size: 15.5px; overflow-wrap: anywhere; }
.fact .value a:hover { color: var(--sky); }
.fact + .fact { padding-inline-start: 28px; border-inline-start: 1px solid var(--border); }
.hosp-row { display: grid; grid-template-columns: 46% 1fr; overflow: hidden; }
.hosp-row .photo img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.hosp-row .body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 8px; }
.hosp-row h3 { margin: 0; }
.hosp-row .loc { display: flex; gap: 14px; align-items: center; margin-top: 18px; font-size: 15px; }
.hosp-row .loc .icon-badge { width: 44px; height: 44px; }
.hosp-row .loc .icon-badge img { width: 26px; height: 26px; }
@media (max-width: 760px) { .hosp-row { grid-template-columns: 1fr; } .hosp-row .photo img { min-height: 0; aspect-ratio: 16/9; } }

/* post card */
.post-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.post-card .photo { aspect-ratio: 16 / 10; background: var(--mist); overflow: hidden; }
.post-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .photo img { transform: scale(1.04); }
.post-card .body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.post-card h3 { margin: 0; font-size: 21px; }
.post-card p { margin: 0; font-size: 15.5px; }
.post-meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px; color: var(--indigo); font-size: 15px; }
.post-feature { display: grid; grid-template-columns: 46% 1fr; overflow: hidden; }
.post-feature .photo img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.post-feature .body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.author { display: flex; align-items: center; gap: 12px; }
.author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.author strong { display: block; color: var(--indigo); font-size: 15px; }
.author span { font-size: 14px; }
@media (max-width: 760px) { .post-feature { grid-template-columns: 1fr; } .post-feature .photo img { min-height: 0; aspect-ratio: 16/9; } }

/* Photo boxes keep their shape: the image is laid over a fixed-ratio box, so a
   tall or wide photo can never stretch the card (aspect-ratio alone lets content grow it). */
.doc-card .photo, .hosp-card .photo, .post-card .photo, .video { display: block; position: relative; overflow: hidden; min-height: 0; }
.doc-card .photo img, .hosp-card .photo img, .post-card .photo img, .video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hosp-row .photo, .post-feature .photo { display: block; position: relative; overflow: hidden; }

/* testimonial */
.quote-card { padding: clamp(24px, 3vw, 36px); text-align: center; height: 100%; display: flex; flex-direction: column; }
.quote-card h3 { font-size: 20px; }
.quote-card p { font-size: 16px; }
.quote-card .who { margin-top: auto; padding-top: 10px; }
.quote-card .who strong { display: block; color: var(--indigo); }
.quote-card .who span { font-size: 15px; }

/* video */
.video { position: relative; border-radius: var(--radius-card); overflow: hidden; background: #0d1030; aspect-ratio: 16 / 9; }
.video.vertical { aspect-ratio: 4 / 5; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.video button {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--sky); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s;
}
.video button:hover { transform: scale(1.06); }
.video button .icon { width: 30px; height: 30px; margin-inline-start: 4px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ accordion */
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0;
  color: var(--indigo); font-family: var(--font-head); font-size: clamp(18px, 2vw, 22px); line-height: 1.4; cursor: pointer; list-style: none;
}
html[lang^="ar"] .faq-list summary { font-family: var(--font-ar); font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 22px; height: 22px; transition: transform .25s; color: var(--sky); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list .answer { padding: 0 0 24px; max-width: 820px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filters button {
  min-height: 40px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; background: #fff;
  color: var(--body); font: 500 15px/1 var(--font-body); cursor: pointer;
}
html[lang^="ar"] .filters button { font-family: var(--font-ar); }
.filters button[aria-pressed="true"] { background: var(--tint); color: var(--sky); border-color: var(--ice); }

/* forms */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--indigo); font-size: 14px; font-weight: 600; }
.input, textarea.input {
  width: 100%; min-height: 50px; padding: 12px 20px; border: 1px solid var(--border); border-radius: 999px;
  background: #fff; color: var(--indigo); font: 400 16px/1.4 var(--font-body);
}
html[lang^="ar"] .input { font-family: var(--font-ar); }
textarea.input { min-height: 120px; border-radius: 18px; resize: vertical; }
.input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(91, 181, 235, .25); }
.form-note { font-size: 13.5px; color: var(--meta); }
.form-status { font-size: 15px; color: var(--indigo); }
.inline-form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: #fff; }
.inline-form .input { border: 0; min-height: 44px; }
.inline-form .input:focus { box-shadow: none; }
.inline-form .btn { min-height: 44px; }

/* rich text (articles, bios, hospital & specialty pages) */
.rt { color: var(--body); }
.rt > * + * { margin-top: 1em; }
.rt h2 { margin-top: 1.6em; font-size: clamp(24px, 3vw, 32px); }
.rt h3 { margin-top: 1.4em; font-size: 22px; }
.rt h4 { margin-top: 1.2em; font-size: 19px; }
.rt p { margin: 0; }
.rt ul, .rt ol { padding-inline-start: 22px; margin-bottom: 0; }
.rt li + li { margin-top: .35em; }
.rt li p { margin: 0; }
.rt img { border-radius: var(--radius-card); margin-block: 8px; }
.rt a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.rt strong { color: var(--indigo); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) var(--gutter); border-radius: var(--radius-lg); background: var(--sky); color: #fff; text-align: center; isolation: isolate; }
.cta-band h2 { color: #fff; max-width: 640px; margin-inline: auto; font-size: clamp(30px, 4.4vw, 48px); }
.cta-band .eyebrow { color: #fff; }
.cta-band .blob.a { width: 520px; height: 520px; inset-inline-start: -180px; top: -140px; background: var(--cyan); z-index: -1; }
.cta-band .blob.b { width: 420px; height: 420px; inset-inline-start: -40px; bottom: -260px; background: var(--ice); z-index: -2; }
@media (max-width: 640px) { .cta-band .blob.a { width: 300px; height: 300px; } }

/* footer (Brand Kit: reversed — white on indigo) */
.site-footer { margin-top: -80px; padding-top: 160px; background: var(--indigo); color: rgba(255, 255, 255, .86); border-start-start-radius: var(--radius-lg); border-start-end-radius: var(--radius-lg); }
.cta-wrap { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.site-footer h2 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 17px; margin-bottom: 16px; }
html[lang^="ar"] .site-footer h2 { font-family: var(--font-ar); font-size: 18px; line-height: 1.5; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .logo img { width: 160px; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.socials a:hover { background: #fff; color: var(--indigo); text-decoration: none; }
.socials .icon { width: 18px; height: 18px; }
.newsletter { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); max-width: 420px; }
.newsletter h2 { margin-bottom: 12px; }
.footer-bottom { padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .16); text-align: center; font-size: 15px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* misc components */
.checklist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--indigo); font-weight: 600; }
.checklist .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--sky); color: #fff; stroke-width: 2.6; margin-top: 2px; }
.hero-blue .checklist li { color: #fff; }
.hero-blue .checklist .icon { background: #fff; color: var(--sky); }
.stat-card { padding: 26px; height: 100%; }
.stat-card .icon-badge { margin-bottom: 16px; }
.stat-card h3 { font-size: 20px; margin-bottom: 6px; }
.stat-card p { font-size: 15.5px; margin: 0; }
.journey { counter-reset: step; display: grid; gap: 18px; }
.journey .card { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: start; padding: 24px; }
.journey .num { color: var(--meta); font-weight: 700; font-size: 15px; }
.journey h3 { font-size: 20px; margin-bottom: 4px; }
.journey p { margin: 0; font-size: 15.5px; }
.price { font-family: var(--font-head); color: var(--indigo); font-size: clamp(40px, 5vw, 56px); line-height: 1.1; margin: 20px 0 24px; }
html[lang^="ar"] .price { font-family: var(--font-ar); font-weight: 700; }
.photo-stack { position: relative; padding-inline-end: 12%; padding-bottom: 12%; }
.photo-stack img { position: relative; z-index: 1; border-radius: 24px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.photo-stack::after { content: ""; position: absolute; inset-inline-start: 8%; inset-inline-end: 0; top: 20%; bottom: 0; border-radius: 24px; background: linear-gradient(135deg, var(--sky), var(--cyan)); }
.value-card { display: flex; gap: 18px; padding: 24px; }
.value-card h3 { font-size: 20px; margin-bottom: 6px; }
.value-card p { margin: 0; font-size: 15.5px; }
.office { display: grid; gap: 16px; }
.office-line { display: flex; gap: 14px; align-items: center; }
.office-line .icon-badge { background: #fff; color: var(--sky); width: 48px; height: 48px; }
.office-line .icon-badge img { width: 28px; height: 28px; }
.office-line small { display: block; opacity: .85; font-size: 14px; }
.office-line strong { color: #fff; }
.kv { display: grid; gap: 14px; margin: 0; }
.kv a { display: flex; gap: 10px; align-items: center; color: var(--indigo); }
.kv a:hover { color: var(--sky); }
.kv .icon { color: var(--sky); }
.profile-head { position: relative; padding: 0 clamp(20px, 3vw, 32px) 24px; }
.profile-banner { height: 140px; background: linear-gradient(120deg, var(--indigo) 0 35%, var(--ice) 35% 60%, var(--cyan) 60%); border-radius: var(--radius-card) var(--radius-card) 0 0; }
.profile-head .avatar { width: 116px; height: 116px; margin-top: -58px; border-radius: 50%; border: 5px solid #fff; object-fit: cover; object-position: 50% 20%; background: var(--mist); }
.profile-head .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 10px; }
.profile-head .socials { margin: 0; margin-inline-start: auto; }
.profile-head .socials a { background: var(--tint); color: var(--sky); }
.profile-head .socials a:hover { background: var(--sky); color: #fff; }
.side-sticky { position: sticky; top: 100px; display: grid; gap: 20px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.article-layout.reverse { grid-template-columns: 340px minmax(0, 1fr); }
@media (max-width: 960px) { .article-layout, .article-layout.reverse { grid-template-columns: 1fr; } .side-sticky { position: static; } }
.mini-post { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
.mini-post img { width: 84px; height: 72px; object-fit: cover; border-radius: 12px; }
.mini-post strong { display: block; color: var(--indigo); font-size: 15.5px; line-height: 1.35; }
.mini-post span { font-size: 13.5px; color: var(--meta); }
.news-box { position: relative; overflow: hidden; padding: 28px; border-radius: var(--radius-card); background: var(--sky); color: #fff; isolation: isolate; }
.news-box h3 { color: #fff; font-size: 22px; }
.news-box p { color: rgba(255, 255, 255, .92); font-size: 15px; }
.news-box .blob { width: 260px; height: 260px; inset-inline-end: -110px; bottom: -150px; background: var(--cyan); z-index: -1; }
.search-form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: #fff; max-width: 440px; width: 100%; }
.search-form .input { border: 0; min-height: 44px; }
.empty-note { padding: 28px; text-align: center; color: var(--meta); }
.notice { padding: 16px 20px; border-radius: 14px; background: var(--tint); border: 1px solid var(--border); font-size: 15px; }
.lang-note { font-size: 14px; color: var(--meta); }

h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
.spec-head { display: flex; gap: 24px; align-items: flex-start; min-width: 0; }
.spec-head img { flex: none; }
.spec-head > div { min-width: 0; }
@media (max-width: 640px) { .spec-head { flex-direction: column; gap: 14px; } .spec-head img { width: 64px; height: 64px; } }
.wide-photo { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius-lg); background: var(--mist); }
.author-card { display: flex; gap: 20px; align-items: center; margin-top: 40px; }
.author-card img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; flex: none; }
.author-card strong { color: var(--indigo); font-size: 20px; }
.news-wide { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 48px); }
.news-wide .blob { width: 420px; height: 420px; bottom: -260px; }
.news-title { display: flex; gap: 18px; align-items: center; }
.news-title h2 { color: #fff; }
.news-form { flex: 1; min-width: 280px; max-width: 440px; }
.office-line small, .office-line span > span { display: block; }
.hero-blue .office-line { color: #fff; }
.hero-blue .office-line strong { color: #fff; }
.hero-blue small { color: rgba(255, 255, 255, .85); }

/* cookie consent banner */
.cookie-banner {
  position: fixed; z-index: 60; inset-inline: 16px; bottom: 16px; max-width: 720px; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 18px 22px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: 0 18px 48px rgba(36, 40, 120, .22);
  font-size: 15.5px; color: var(--body);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 320px; }
.cookie-banner a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; }
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: start; }
.site-footer .link-btn:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* motion: gentle reveal, disabled for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.no-js .reveal { opacity: 1; transform: none; }
