:root {
  --cream: #f6f1ea;
  --cream-deep: #ebe3d6;
  --sand: #eae0d0;
  --paper: #fffdf9;
  --hairline: rgba(74, 54, 45, 0.08);
  --brown: #4a362d;
  --brown-soft: #6a5346;
  --gold: #c5a059;
  --gold-deep: #a7843d;
  --ink: #2b211c;
  --muted: #7a6a60;
  --shadow: 0 18px 50px rgba(74, 54, 45, 0.12);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.45;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #fff 0%, transparent 70%);
  top: -80px;
  right: -80px;
  animation: float 12s ease-in-out infinite;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #e8d7bc 0%, transparent 70%);
  bottom: 8%;
  left: -90px;
  animation: float 16s ease-in-out infinite reverse;
}

.orb-3 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.28) 0%, transparent 70%);
  top: 45%;
  right: 8%;
  animation: pulse-soft 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-18px) scale(1.04); }
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.12); opacity: 0.55; }
}

.site-header,
.hero,
.about,
.services,
.clinics,
.contact,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(246, 241, 234, 0.78);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-header.scrolled {
  background: rgba(255, 253, 249, 0.92);
  border-color: rgba(74, 54, 45, 0.08);
  box-shadow: 0 10px 30px rgba(74, 54, 45, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(74, 54, 45, 0.12);
}

.brand strong {
  display: block;
  color: var(--brown);
  font-size: 1.02rem;
  line-height: 1.4;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a:not(.btn) {
  color: var(--brown-soft);
}

.nav a {
  font-weight: 600;
  position: relative;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav a:not(.btn):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--brown);
  font-size: 1.3rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-deep), #8f6f30);
  color: var(--cream);
  box-shadow: 0 10px 22px rgba(167, 132, 61, 0.3);
}

.btn-brown {
  background: var(--brown);
  color: #fff;
  box-shadow: 0 10px 22px rgba(74, 54, 45, 0.2);
}

.btn-outline,
.btn-light {
  background: rgba(255, 255, 255, 0.7);
  color: var(--brown);
  border: 1px solid rgba(74, 54, 45, 0.12);
}

.btn.lg {
  padding: 14px 24px;
  min-width: 220px;
}

.hero {
  padding: 36px 0 0;
  background: linear-gradient(180deg, rgba(250, 246, 240, 0.9), rgba(240, 233, 222, 0.92));
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 40px;
  min-height: 68vh;
}

.hero-photo {
  text-align: center;
}

.photo-ring {
  width: min(390px, 92%);
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 14px;
  background: radial-gradient(circle at 30% 20%, #fff, #efe6d8 70%);
  box-shadow: var(--shadow);
  animation: glow 6s ease-in-out infinite;
}

.photo-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
}

@keyframes glow {
  0%, 100% { box-shadow: 0 18px 50px rgba(74, 54, 45, 0.12); }
  50% { box-shadow: 0 22px 60px rgba(197, 160, 89, 0.22); }
}

.signature {
  margin-top: 18px;
  font-family: "Great Vibes", cursive;
  font-size: 2rem;
  color: var(--brown);
}

.hero-title-sm {
  color: var(--muted);
  font-weight: 600;
}

.hero-logo {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
  animation: float 10s ease-in-out infinite;
}

.eyebrow {
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.eyebrow.light {
  color: #efd7a4;
}

h1, h2, h3 {
  color: var(--brown);
  line-height: 1.35;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  margin: 10px 0 16px;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.lead,
.section-lead {
  color: var(--muted);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-bar {
  margin-top: 48px;
  background: linear-gradient(180deg, transparent, rgba(255, 253, 249, 0.7));
  border-top: 1px solid rgba(74, 54, 45, 0.06);
}

.hero-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 22px 0 28px;
}

.bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.bar-item:hover {
  transform: translateY(-4px);
}

.bar-item i {
  color: var(--gold);
  font-size: 1.2rem;
}

.bar-item small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.about,
.services,
.clinics,
.contact {
  padding: 84px 0;
  border-top: 1px solid var(--hairline);
}

.about {
  background: var(--paper);
}

.clinics {
  background: var(--paper);
}

.contact {
  background: linear-gradient(180deg, var(--cream), var(--cream-deep));
}

.about-grid,
.clinics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.clinics-grid {
  align-items: start;
}

.about-grid {
  align-items: stretch;
}

.about-text {
  display: flex;
  flex-direction: column;
}

.about-text p + p {
  margin-top: 12px;
  color: var(--muted);
}

.about-points {
  list-style: none;
  margin-top: auto;
  display: grid;
  gap: 12px;
  flex: 1;
  align-content: end;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--brown);
}

.about-points i {
  color: var(--gold);
}

.about-cards,
.services-grid {
  display: grid;
  gap: 16px;
}

.about-cards {
  grid-template-columns: 1fr;
}

.stat-card,
.service-card,
.clinic-card {
  background: var(--paper);
  border: 1px solid rgba(197, 160, 89, 0.22);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.stat-card:hover,
.service-card:hover,
.clinic-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 22px 40px rgba(74, 54, 45, 0.14);
}

.stat-card i,
.icon-wrap,
.clinic-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(197, 160, 89, 0.12);
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-lead {
  margin-inline: auto;
}

.services {
  background: linear-gradient(180deg, var(--sand), #e3d7c4);
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  color: var(--muted);
  margin-top: 12px;
}

.service-card ul li::before {
  content: "•";
  color: var(--gold);
  margin-left: 6px;
}

.clinic-card {
  text-align: center;
  padding: 36px 24px;
}

.clinic-icon {
  margin-inline: auto;
}

.clinic-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.contact-box {
  background: linear-gradient(135deg, #4a362d, #6a5346);
  color: #fff;
  border-radius: 36px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  color: #fff;
}

.contact-box p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer {
  padding: 28px 0 16px;
  background: linear-gradient(180deg, #4a362d, #33251f);
  color: rgba(255, 255, 255, 0.86);
}

.site-footer strong {
  color: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  border-radius: 50%;
}

.footer-brand p,
.copy {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 10px;
}

.footer-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brown);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.footer-links a:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--gold);
  color: #fff;
}

.m2-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  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(--gold);
  filter: drop-shadow(0 0 6px rgba(197, 160, 89, 0.55));
  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(--cream);
  font-size: 13px;
}

.m2-signature__year {
  color: rgba(246, 241, 234, 0.78);
  font-size: 13px;
}

@media (max-width: 575px) {
  .m2-signature {
    gap: 8px 10px;
  }
}

.float-wa {
  position: fixed;
  right: 18px;
  left: auto;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  z-index: 30;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.35);
  animation: wa-pulse 2.4s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.85s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.js-ready .reveal {
  animation: none;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-ready .reveal.visible {
  opacity: 1;
  transform: none;
}

.js-ready .delay-1 { transition-delay: 0.1s; }
.js-ready .delay-2 { transition-delay: 0.2s; }
.js-ready .delay-3 { transition-delay: 0.3s; }
.js-ready .delay-4 { transition-delay: 0.4s; }
.js-ready .delay-5 { transition-delay: 0.5s; }

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 82px;
    right: 16px;
    left: 16px;
    background: var(--paper);
    border-radius: 20px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .clinics-grid,
  .hero-bar-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-logo {
    display: none;
  }

  .hero-actions,
  .contact-box,
  .footer-grid {
    justify-content: center;
    text-align: center;
  }

  .contact-box,
  .footer-grid {
    flex-direction: column;
  }

  .footer-brand {
    flex-direction: column;
  }

  .hero-grid {
    min-height: auto;
  }

  .photo-ring {
    width: min(300px, 80%);
  }
}
