:root {
  --blue: #1565c0;
  --blue-d: #0b3d82;
  --blue-l: #e8f1fd;
  --sky: #2b9be8;
  --green: #4caf2f;
  --wa: #25d366;
  --ink: #0f2340;
  --muted: #5a6b82;
  --line: #dbe5f2;
  --bg: #ffffff;
  --tint: #f4f8fd;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 35, 64, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Cairo", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.3; margin: 0; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn--ghost { border: 2px solid var(--blue); color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--light { background: #fff; color: var(--blue-d); }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: .9rem; color: var(--blue);
  background: var(--blue-l); padding: 4px 14px; border-radius: 999px; margin-bottom: 12px;
}
.eyebrow--light { background: rgba(255,255,255,.15); color: #fff; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav__logo img { height: 58px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-inline-start: auto; font-weight: 600; }
.nav__links a { color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--blue); }
.nav__cta { padding: 10px 20px; }
.nav__burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* Hero */
.hero {
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(43,155,232,.16), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(76,175,47,.12), transparent 60%),
    var(--tint);
  overflow: hidden;
}
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 64px 0 72px; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 900; }
.hero h1 span { color: var(--blue); display: block; }
.hero__lead { font-size: 1.15rem; color: var(--muted); margin: 18px 0 28px; max-width: 560px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__btns--center { justify-content: center; }
.stats { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.stats li {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 20px; display: flex; flex-direction: column; min-width: 130px;
}
.stats b { font-size: 1.8rem; font-weight: 900; color: var(--blue); line-height: 1.2; }
.stats span { color: var(--muted); font-size: .9rem; font-weight: 600; }
.hero__media { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.hero__img {
  width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: center 15%;
  border-radius: 200px 200px 28px 28px; box-shadow: var(--shadow);
  border: 8px solid #fff;
}
.hero__badge {
  position: absolute; bottom: 28px; inset-inline-end: -16px;
  background: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow);
  display: flex; gap: 12px; align-items: center;
}
.hero__badge svg { width: 38px; height: 38px; fill: var(--green); }
.hero__badge b { display: block; }
.hero__badge span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 84px 0; }
.section--tint { background: var(--tint); }
.head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.head p { color: var(--muted); margin: 10px 0 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc i {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--blue-l); margin-bottom: 16px;
}
.svc i svg { width: 30px; height: 30px; fill: var(--blue); }
.svc h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.svc p { margin: 0; color: var(--muted); }
.svc--hot i { background: #e9f7e4; }
.svc--hot i svg { fill: var(--green); }

.home {
  margin-top: 48px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, var(--blue-d), var(--blue) 60%, var(--sky));
  color: #fff; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center;
}
.home__text { padding: 48px; }
.home__text h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; margin-bottom: 12px; }
.home__text p { opacity: .9; margin: 0 0 24px; }
.home__img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; object-position: top; }

/* Doctors */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.chip {
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  padding: 8px 18px; border-radius: 999px; transition: .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.doc {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.doc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doc[hidden], .docs.is-collapsed .doc[data-more] { display: none; }
.more { text-align: center; margin-top: 32px; }
.more[hidden] { display: none; }
.doc__img { aspect-ratio: 4 / 5; background: var(--blue-l); overflow: hidden; }
.doc__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.doc:hover .doc__img img { transform: scale(1.04); }
.doc__ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(160deg, var(--blue-l), #d4e6fb); }
.doc__ph svg { width: 45%; fill: rgba(21, 101, 192, .35); }
.doc__body { padding: 16px 18px 20px; }
.doc__tag { font-size: .8rem; font-weight: 700; color: var(--green); }
.doc h3 { font-size: 1.1rem; font-weight: 800; margin: 2px 0 6px; }
.doc p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }

/* Before / after */
.ba { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ba figure { grid-column: span 2; }
.ba figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.ba img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.ba figure.ba--wide { grid-column: span 3; display: grid; place-items: center; }
.ba--wide img { aspect-ratio: auto; height: auto; }

/* Reviews */
.reviews { columns: 3 280px; column-gap: 20px; }
.rev {
  break-inside: avoid; margin: 0 0 20px; background: #fff; border-radius: var(--radius);
  padding: 24px; border: 1px solid var(--line); position: relative;
}
.rev::before {
  content: "”"; position: absolute; top: 4px; inset-inline-end: 18px;
  font-size: 4rem; line-height: 1; color: var(--blue-l); font-family: Georgia, serif;
}
.rev p { margin: 0 0 12px; font-size: 1.02rem; position: relative; }
.rev footer { font-weight: 800; color: var(--blue); }
.rev footer::before { content: "★★★★★"; display: block; color: #f5b301; letter-spacing: 2px; font-size: .85rem; }
.rev--big { background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; border: 0; }
.rev--big::before { color: rgba(255,255,255,.2); }
.rev--big footer { color: #fff; }

/* CTA */
.cta {
  text-align: center; background: var(--tint); border: 1px solid var(--line);
  border-radius: 28px; padding: 56px 24px;
}
.cta__logo { width: 180px; height: auto; margin: 0 auto 16px; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; }
.cta p { color: var(--muted); max-width: 560px; margin: 10px auto 26px; }
.cta .btn--light { border: 2px solid var(--blue); color: var(--blue); }
.social { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.social a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); transition: .2s;
}
.social svg { width: 22px; height: 22px; fill: var(--blue); }
.social a:hover { background: var(--blue); border-color: var(--blue); }
.social a:hover svg { fill: #fff; }

/* Footer */
.foot { background: var(--blue-d); color: rgba(255,255,255,.8); padding: 28px 0 24px; text-align: center; font-size: .92rem; }
.foot p { margin: 0; }

/* M2 signature */
.m2-signature {
  --m2-sig-text: #f4f8fd;
  --m2-sig-accent: #55c8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
  letter-spacing: 0.2px;
  text-align: center;
}
.m2-signature__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.m2-signature__logo:hover { opacity: 0.85; transform: translateY(-2px); }
.m2-signature__logo img { height: 18px; width: auto; max-width: 52px; object-fit: contain; }
.m2-signature__mark {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: var(--m2-sig-accent);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--m2-sig-accent) 55%, transparent));
  animation: m2-sig-pulse 3.4s ease-in-out infinite;
}
.m2-signature__mark svg { width: 100%; height: 100%; display: block; }
@keyframes m2-sig-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.9; }
  50% { transform: scale(1.12) rotate(45deg); opacity: 1; }
}
.m2-signature__tag,
.m2-signature__tag strong { color: var(--m2-sig-text); font-size: 13px; }
.m2-signature__year { color: color-mix(in srgb, var(--m2-sig-text) 78%, transparent); font-size: 13px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.45);
  animation: pulse 2.4s infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}

/* Responsive */
@media (max-width: 960px) {
  .hero__in { grid-template-columns: 1fr; padding: 40px 0 56px; }
  .hero__media { max-width: 420px; margin-inline: auto; }
  .home { grid-template-columns: 1fr; }
  .home__text { padding: 32px 24px; }
  .home__img { max-height: 380px; }
  .ba { grid-template-columns: repeat(2, 1fr); }
  .ba figure, .ba figure.ba--wide { grid-column: span 1; }
}
@media (max-width: 820px) {
  .nav__burger { display: block; margin-inline-start: auto; }
  .nav__cta { display: none; }
  .nav__links {
    position: absolute; top: 76px; inset-inline: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav__links a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .nav.is-open .nav__links { max-height: 400px; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .docs { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .doc__body { padding: 12px; }
  .doc h3 { font-size: 1rem; }
  .doc p { font-size: .84rem; }
  .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; }
  .chip { flex: 0 0 auto; }
  .hero__badge { inset-inline-end: 8px; }
  .stats li { min-width: 0; flex: 1; padding: 10px 12px; }
  .stats b { font-size: 1.4rem; }
  .ba { gap: 10px; }
  .m2-signature { gap: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
