/* Dr. Nizar Abou Hassan — Bissan Medical Centre
   Design system: Apple ipad-pro inspired, adapted for a medical clinic. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --black: #000000;
  --near-black: #0a0a0c;
  --panel: #111114;
  --panel-2: #17171b;
  --line: rgba(255,255,255,0.10);
  --line-soft: rgba(255,255,255,0.06);
  --white: #ffffff;
  --ink-70: rgba(255,255,255,0.70);
  --ink-55: rgba(255,255,255,0.55);
  --ink-40: rgba(255,255,255,0.40);
  --accent: #3fa8ff;
  --accent-2: #33d6b0;
  --whatsapp: #25D366;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 60px rgba(0,0,0,0.55);
  --shadow-card: 0 12px 40px rgba(0,0,0,0.45);
  --ease: cubic-bezier(.16,.8,.24,1);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Type scale ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.display {
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.display-lg {
  font-size: clamp(48px, 9vw, 120px);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
.h3 { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.15; }
.lede {
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.5;
  color: var(--ink-70);
  font-weight: 400;
  max-width: 620px;
}
.body-text { font-size: 17px; line-height: 1.7; color: var(--ink-70); }
.small { font-size: 14px; color: var(--ink-55); }

/* ---------- Nav ---------- */
header.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(0,0,0,0.55);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s var(--ease);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand .brand-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #00131c;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name small { font-weight: 400; color: var(--ink-55); font-size: 11px; }

nav.nav-links { display: flex; align-items: center; gap: 28px; }
nav.nav-links a {
  font-size: 13px;
  color: var(--ink-70);
  font-weight: 500;
  transition: color .2s;
}
nav.nav-links a:hover { color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: none; border: none; color: var(--white);
  width: 36px; height: 36px; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, border-color .25s, opacity .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--white);
  color: #000;
}
.btn-primary:hover { background: #e6e6e6; }
.btn-outline {
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
  background: transparent;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #06210f;
}
.btn-whatsapp:hover { background: #2ee574; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn svg { width: 17px; height: 17px; flex: none; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }
.section-black { background: var(--black); }
.section-panel { background: var(--near-black); }
.section-header { max-width: 720px; margin: 0 0 56px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-scale.in { opacity: 1; transform: scale(1); }
.stagger .reveal:nth-child(1) { transition-delay: 0s; }
.stagger .reveal:nth-child(2) { transition-delay: .08s; }
.stagger .reveal:nth-child(3) { transition-delay: .16s; }
.stagger .reveal:nth-child(4) { transition-delay: .24s; }
.stagger .reveal:nth-child(5) { transition-delay: .32s; }
.stagger .reveal:nth-child(6) { transition-delay: .4s; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(63,168,255,0.16), transparent 60%),
    var(--black);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--white); fill: none; }
.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 { margin-top: 18px; }
.hero .lede { margin-top: 24px; }
.hero .cta-row { margin-top: 40px; }
.hero-meta {
  margin-top: 64px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .num { font-size: 22px; font-weight: 700; }
.hero-meta .lbl { font-size: 13px; color: var(--ink-55); }

.hero-portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #17171c, #060607);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

/* Doctor portrait placeholder */
.portrait-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 32%, rgba(63,168,255,0.20), transparent 55%),
    linear-gradient(160deg, #1b1c20, #08090a);
  position: relative;
}
.portrait-placeholder svg { width: 62%; opacity: 0.9; }
.portrait-badge {
  position: absolute;
  left: 20px; bottom: 20px; right: 20px;
  background: rgba(10,10,12,0.72);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.portrait-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(51,214,176,0.18); flex: none; }

/* ---------- Service cards (stacked banners) ---------- */
.service-stack { display: flex; flex-direction: column; gap: 18px; }
.service-banner {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px 32px;
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.service-banner:hover {
  transform: translateY(-4px);
  background: var(--panel-2);
  border-color: rgba(255,255,255,0.2);
}
.service-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(63,168,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.service-icon svg { width: 30px; height: 30px; stroke: var(--accent); }
.service-banner h3 { font-size: 20px; margin-bottom: 6px; }
.service-banner p { margin: 0; color: var(--ink-55); font-size: 14.5px; line-height: 1.5; }
.service-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
  flex: none;
}
.service-banner:hover .service-arrow { background: var(--white); border-color: var(--white); transform: translateX(4px); }
.service-arrow svg { width: 16px; height: 16px; stroke: var(--white); transition: stroke .3s; }
.service-banner:hover .service-arrow svg { stroke: #000; }

/* ---------- Featured grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
}
.feature-card .feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(51,214,176,0.12);
  display: flex; align-items: center; justify-content: center;
}
.feature-card .feature-icon svg { width: 26px; height: 26px; stroke: var(--accent-2); }
.feature-card h3 { font-size: 21px; }
.feature-card p { margin: 0; color: var(--ink-55); font-size: 15px; line-height: 1.6; flex: 1; }
.feature-card .feature-link { font-size: 14px; font-weight: 600; color: var(--white); display: flex; align-items: center; gap: 6px; }
.feature-card .feature-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.feature-card:hover .feature-link svg { transform: translateX(4px); }

/* ---------- Testimonials ---------- */
.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  border-radius: var(--radius-md);
  background: var(--near-black);
  border: 1px solid var(--line);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stars { display: flex; gap: 3px; }
.stars svg { width: 15px; height: 15px; fill: #ffb800; }
.testimonial-card p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-70); font-style: italic; }
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--white); }
.testimonial-role { font-size: 12.5px; color: var(--ink-40); }

/* ---------- Video placeholder ---------- */
.video-block {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #141417, #050506);
  aspect-ratio: 16/8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.video-play {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .3s var(--ease);
}
.video-block:hover .video-play { transform: scale(1.08); }
.video-play svg { width: 26px; height: 26px; fill: #000; margin-left: 4px; }
.video-caption {
  position: absolute; left: 28px; bottom: 24px;
  font-size: 13px; color: var(--ink-55);
}

/* ---------- Why choose / checklist ---------- */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}
.check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.check-item .check-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(51,214,176,0.14);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  margin-top: 2px;
}
.check-item .check-icon svg { width: 14px; height: 14px; stroke: var(--accent-2); }
.check-item p { margin: 0; font-size: 16px; color: var(--ink-70); line-height: 1.5; }

/* ---------- Package ---------- */
.package-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, #14181a 0%, #0a0a0c 60%);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.package-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.package-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-70); }
.package-list li svg { width: 18px; height: 18px; stroke: var(--accent-2); flex: none; margin-top: 2px; }
.package-panel {
  border-radius: var(--radius-md);
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--line);
  padding: 32px;
  text-align: center;
}
.package-panel .price-tag { font-size: 14px; color: var(--ink-55); margin-bottom: 8px; }
.package-panel .cta-row { justify-content: center; margin-top: 22px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}
.faq-q .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  position: relative;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: ''; position: absolute; background: var(--white);
  transition: transform .3s var(--ease);
}
.faq-q .plus::before { width: 10px; height: 1.5px; }
.faq-q .plus::after { width: 1.5px; height: 10px; }
.faq-item.open .faq-q .plus::after { transform: rotate(90deg) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
}
.faq-item.open .faq-a { max-height: 300px; padding-top: 16px; }
.faq-a p { margin: 0; color: var(--ink-55); font-size: 15.5px; line-height: 1.65; max-width: 680px; }

/* ---------- Service page specific ---------- */
.service-hero {
  padding-top: 160px;
  padding-bottom: 60px;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(63,168,255,0.14), transparent 60%), var(--black);
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-40); margin-bottom: 26px; }
.breadcrumb a { color: var(--ink-55); }
.breadcrumb a:hover { color: var(--white); }
.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
  margin-top: 36px;
}
.info-card {
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px;
  position: sticky;
  top: 96px;
}
.info-card h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-40); margin-bottom: 18px; }
.info-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.info-row:first-of-type { border-top: none; }
.info-row span:first-child { color: var(--ink-55); }
.info-row span:last-child { font-weight: 600; text-align: right; }
.info-card .cta-row { flex-direction: column; margin-top: 22px; }
.info-card .btn { width: 100%; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.detail-block h3 { font-size: 22px; margin-bottom: 14px; }
.symptom-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.symptom-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-70); }
.symptom-list li svg { width: 16px; height: 16px; stroke: var(--accent); flex: none; margin-top: 3px; }

.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-55); font-size: 15px; line-height: 1.6; max-width: 560px; }

.related-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-card {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
  transition: transform .3s var(--ease), border-color .3s;
}
.related-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.22); }
.related-card .service-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
.related-card .service-icon svg { width: 20px; height: 20px; }
.related-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.related-card p { margin: 0; font-size: 13px; color: var(--ink-40); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(8,8,10,0.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; }

/* ---------- Final CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0e2230, #05100a 70%);
  border: 1px solid var(--line);
  padding: 80px 60px;
  text-align: center;
}
.cta-band .cta-row { justify-content: center; margin-top: 30px; }

/* ---------- Footer (Apple-style) ---------- */
footer.site-footer {
  background: var(--near-black);
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand p { color: var(--ink-40); font-size: 13px; line-height: 1.7; margin: 14px 0 0; max-width: 260px; }
.footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-40);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 13.5px; color: var(--ink-55); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { margin: 0; font-size: 12px; color: var(--ink-40); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: var(--ink-40); }
.footer-legal a:hover { color: var(--ink-70); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; max-width: 320px; margin: 0 auto 8px; }
  nav.nav-links { display: none; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand-name { min-width: 0; }
  .brand-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .feature-grid, .testimonial-row { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .package-card { grid-template-columns: 1fr; padding: 36px 28px; }
  .service-hero-grid { grid-template-columns: 1fr; }
  .info-card { position: static; }
  .detail-grid { grid-template-columns: 1fr; }
  .related-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-cta { display: flex; }
  body { padding-bottom: 70px; }
  .service-banner { grid-template-columns: 48px 1fr auto; padding: 22px 20px; gap: 16px; }
  .service-icon { width: 48px; height: 48px; }
  .cta-band { padding: 56px 28px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { gap: 24px; }
}
