/* Lilac Medical Centre landing pages. Mobile first; 89% of ad clicks are on phones. */
:root {
  --ink: #1d1b17;
  --ink-2: #4a463f;
  --ink-3: #6b665c;
  --paper: #fbf9f4;
  --sand: #f3eee1;
  --line: #e4ddc9;
  --gold: #b9a959;
  --gold-soft: #d3cea2;
  --gold-deep: #6f611b;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(29, 27, 23, .06), 0 12px 32px -12px rgba(29, 27, 23, .18);
  --wrap: 1120px;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}
html[lang="ar"] {
  --body: "IBM Plex Sans Arabic", "DM Sans", system-ui, sans-serif;
  --display: "IBM Plex Sans Arabic", "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* room for the mobile action bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.01em; }
h1, h2 { font-family: var(--display); font-weight: 600; }
html[lang="ar"] h1, html[lang="ar"] h2 { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(2.4rem, 7.5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 249, 244, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand img { height: 30px; width: auto; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
}
.header-call svg { width: 16px; height: 16px; }
.header-call .num { direction: ltr; unicode-bidi: isolate; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 999px;
  font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 1px solid transparent; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #c8b866; transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); }
.btn .num { direction: ltr; unicode-bidi: isolate; }

/* Hero */
.hero { padding: 20px 0 8px; }
.hero-grid { display: grid; gap: 26px; }
.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand); box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { display: grid; gap: 18px; align-content: start; }
.hero-copy .lede { font-size: 1.12rem; color: var(--ink-2); max-width: 36ch; }
html[lang="ar"] .hero-copy .lede { max-width: 42ch; }
.hero-ctas { display: grid; gap: 10px; margin-top: 4px; }
.price {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  font-size: .95rem; color: var(--ink-2);
}
.price strong { font-size: 1.15rem; color: var(--ink); }
.trust { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.trust svg { width: 18px; height: 18px; flex: none; color: var(--gold-deep); margin-top: 3px; }
@media (min-width: 560px) { .hero-ctas { grid-auto-flow: column; justify-content: start; } }
@media (min-width: 900px) {
  .hero { padding: 56px 0 24px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
  .hero-media { order: 2; aspect-ratio: 4 / 5; }
}

/* Credential band */
.band { background: var(--ink); color: var(--paper); margin-top: 40px; }
.band .wrap { display: grid; gap: 22px; padding-top: 30px; padding-bottom: 30px; }
.band-item { display: grid; gap: 4px; }
.band-item b { font-family: var(--display); font-weight: 600; font-size: 1.45rem; color: var(--gold-soft); line-height: 1.2; }
html[lang="ar"] .band-item b { font-size: 1.15rem; font-weight: 700; }
.band-item span { font-size: .92rem; color: #cfc9b8; }
@media (min-width: 760px) { .band .wrap { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--sand); }
.section-head { display: grid; gap: 12px; margin-bottom: 30px; max-width: 680px; }
.section-head p { color: var(--ink-2); }

.facts { display: grid; gap: 14px; }
.fact {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 24px; display: grid; gap: 8px;
}
.fact .n { font: 600 1rem/1 var(--display); color: var(--gold-deep); }
html[lang="ar"] .fact .n { font-family: var(--body); }
.fact p { color: var(--ink-2); font-size: .98rem; }
@media (min-width: 680px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.note {
  margin-top: 22px; padding: 18px 20px; border-radius: 14px;
  background: rgba(185, 169, 89, .12); border: 1px solid rgba(185, 169, 89, .35);
  color: var(--ink); font-size: .98rem;
}

/* Options */
.options { display: grid; gap: 16px; }
.option { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: grid; }
.option img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.option-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.option-body p { color: var(--ink-2); font-size: .98rem; }
.tag { justify-self: start; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--sand); color: var(--gold-deep); }
@media (min-width: 760px) { .options { grid-template-columns: repeat(3, 1fr); } }
.options.two { }
@media (min-width: 760px) { .options.two { grid-template-columns: repeat(2, 1fr); } }

/* Specialist */
.specialist { display: grid; gap: 28px; align-items: center; }
.specialist-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); max-width: 420px; aspect-ratio: 4 / 5; background: var(--sand); }
.specialist-photo img { width: 100%; height: 100%; object-fit: cover; }
.specialist-copy { display: grid; gap: 16px; }
.specialist-copy .role { color: var(--gold-deep); font-weight: 700; }
.creds { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.creds li { display: flex; gap: 10px; color: var(--ink-2); }
.creds svg { width: 18px; height: 18px; flex: none; color: var(--gold-deep); margin-top: 4px; }
@media (min-width: 900px) { .specialist { grid-template-columns: 420px 1fr; gap: 56px; } }

.team { display: grid; gap: 10px; }
.team li { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; display: grid; gap: 2px; }
.team li span { color: var(--ink-3); font-size: .92rem; }
.team { padding: 0; margin: 0; }
@media (min-width: 680px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  counter-increment: s; content: counter(s);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--gold-soft); font: 600 1.1rem/1 var(--display);
}
.steps h3 { margin-top: 10px; }
.steps p { color: var(--ink-2); margin-top: 4px; font-size: .98rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } .steps li { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--gold-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* Visit / contact */
.visit { background: var(--ink); color: var(--paper); }
.visit .wrap { display: grid; gap: 32px; }
.visit h2 { color: var(--paper); }
.visit p.lead { color: #cfc9b8; max-width: 52ch; }
.visit-ctas { display: grid; gap: 10px; }
.visit .btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, .25); }
.visit .btn-ghost:hover { border-color: var(--gold); }
.info { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.info li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: #e9e4d6; }
.info svg { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.info small { display: block; color: #a9a392; font-size: .85rem; }
.info .num { direction: ltr; unicode-bidi: isolate; }
@media (min-width: 900px) {
  .visit .wrap { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .visit-ctas { grid-auto-flow: column; justify-content: start; }
}

/* Footer */
.site-footer { background: #151410; color: #a9a392; font-size: .85rem; }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: grid; gap: 12px; }
.site-footer a { color: #e9e4d6; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* Mobile action bar */
.action-bar {
  position: fixed; inset: auto 0 0 0; z-index: 30;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 249, 244, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.action-bar .btn { min-height: 52px; padding: 0 12px; font-size: .98rem; }
@media (min-width: 900px) { .action-bar { display: none; } }
@media (max-width: 899px) { .header-call .label { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}

/* Language switch */
.lang { font-size: .92rem; font-weight: 700; color: var(--gold-deep); text-decoration: none; padding: 6px 2px; }
.lang:hover { text-decoration: underline; }
