:root {
  --emerald: #0b2e26;
  --emerald-light: #134439;
  --gold: #c8a464;
  --gold-light: #dfc28a;
  --ivory: #faf8f5;
  --white: #ffffff;
  --ink: #16221f;
  --muted: #5a6a65;
  --border: rgba(11, 46, 38, 0.1);
  --shadow: 0 20px 50px rgba(11, 46, 38, 0.08);
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* Promo Bar */
.promo-bar {
  background: var(--emerald);
  color: #f4efe6;
  font-size: 0.9rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(200, 164, 100, 0.25);
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.promo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

.promo-link {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--emerald);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  color: var(--gold-light);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(11, 46, 38, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-ar {
  font-size: 1.25rem;
  font-weight: 900;
}

.brand-en {
  font-family: "Playfair Display", serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--gold);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--emerald);
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(11, 46, 38, 0.22);
}

.btn-primary:hover {
  background: var(--emerald-light);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8904a);
  color: var(--emerald);
  box-shadow: 0 10px 24px rgba(200, 164, 100, 0.3);
}

.btn-outline {
  border: 1.5px solid var(--emerald);
  color: var(--emerald);
  background: transparent;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 84px;
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

.orb-1 {
  width: 380px;
  height: 380px;
  background: rgba(200, 164, 100, 0.18);
  top: -80px;
  right: -60px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: rgba(11, 46, 38, 0.1);
  bottom: -60px;
  left: -40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(200, 164, 100, 0.15);
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.badge-star {
  color: var(--gold);
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--emerald);
  margin-bottom: 18px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-avatars {
  display: flex;
}

.trust-avatars span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-weight: 800;
  border: 2px solid var(--ivory);
  margin-left: -10px;
}

.stars {
  color: #e09f24;
  font-size: 0.95rem;
}

.hero-trust p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Hero Visual - Real Luxury Photo */
.luxury-photo-frame {
  position: relative;
  border-radius: 30px;
  min-height: 470px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(11, 46, 38, 0.25);
  border: 2px solid rgba(200, 164, 100, 0.45);
  color: var(--white);
}

.hero-real-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}

.luxury-photo-frame:hover .hero-real-img {
  transform: scale(1.04);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 46, 38, 0.45) 0%,
    rgba(11, 46, 38, 0.12) 45%,
    rgba(11, 46, 38, 0.68) 100%
  );
  z-index: 1;
}

.smile-badge-top,
.floating-stat-card {
  position: relative;
  z-index: 2;
}

.smile-badge-top {
  align-self: flex-start;
  background: rgba(11, 46, 38, 0.72);
  border: 1px solid rgba(200, 164, 100, 0.55);
  padding: 10px 16px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.smile-badge-top span {
  display: block;
  font-size: 0.78rem;
  color: var(--gold-light);
}

.floating-stat-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--emerald);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.fstat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--emerald);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.1rem;
}

.floating-stat-card span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(7, 30, 25, 0.9));
  color: var(--white);
}

.gallery-caption h3 {
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.gallery-caption p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Stats */
.stats-section {
  margin-top: -12px;
  margin-bottom: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--emerald);
}

.stat-label {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-soft {
  background: #f3efe8;
}

.section-dark {
  background: var(--emerald);
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  color: var(--emerald);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(11, 46, 38, 0.04);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(200, 164, 100, 0.14);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.service-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f4efe4;
  color: var(--emerald);
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--emerald);
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--emerald);
}

.service-footer a {
  color: var(--gold);
  text-decoration: none;
}

/* Before & After Slider */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.results-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 14px;
}

.results-info p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 22px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--gold-light);
  font-weight: 600;
}

.ba-slider {
  position: relative;
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(200, 164, 100, 0.45);
  user-select: none;
  direction: ltr;
}

.ba-layer {
  position: absolute;
  inset: 0;
}

.ba-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-photo-after {
  filter: brightness(1.06) contrast(1.04) saturate(1.04);
}

.ba-photo-before {
  filter: sepia(0.34) saturate(1.3) brightness(0.9) contrast(0.96);
}

.ba-before {
  clip-path: inset(0 50% 0 0);
}

.ba-label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  direction: rtl;
  z-index: 2;
}

.label-before {
  left: 16px;
  background: rgba(0, 0, 0, 0.55);
  color: #f0e6d8;
}

.label-after {
  right: 16px;
  background: var(--gold);
  color: var(--emerald);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--gold);
  pointer-events: none;
  transform: translateX(-50%);
}

.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--emerald);
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

/* Doctors */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.doctor-avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 12px 24px rgba(11, 46, 38, 0.14);
}

.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.doctor-card h3 {
  color: var(--emerald);
  margin-bottom: 4px;
}

.doctor-role {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.doctor-cred {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  color: #e09f24;
  letter-spacing: 2px;
}

.review-text {
  color: var(--ink);
  font-size: 0.96rem;
  flex: 1;
}

.review-author strong {
  display: block;
  color: var(--emerald);
}

.review-author span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Booking Card */
.booking-card {
  background: linear-gradient(135deg, var(--emerald), #0d3a30);
  color: var(--white);
  border-radius: 28px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 28px 60px rgba(11, 46, 38, 0.25);
}

.booking-info h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}

.booking-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.booking-perks {
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gold-light);
}

.booking-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(200, 164, 100, 0.3);
  padding: 28px;
  border-radius: 20px;
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-light);
}

.form-group input,
.form-group select {
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.98rem;
}

/* Footer */
.footer {
  background: #071e19;
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h3,
.footer h4 {
  color: var(--gold-light);
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #25d366;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  z-index: 99;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive — Tablet & Phone */
@media (max-width: 1024px) {
  .services-grid,
  .gallery-grid,
  .doctors-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .results-grid,
  .booking-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .luxury-photo-frame {
    min-height: 380px;
  }
}

@media (max-width: 920px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 36px rgba(11, 46, 38, 0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .booking-card {
    padding: 28px 20px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 54px 0;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .services-grid,
  .gallery-grid,
  .doctors-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .promo-bar {
    font-size: 0.8rem;
    padding: 8px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .luxury-photo-frame {
    min-height: 310px;
    padding: 16px;
    border-radius: 22px;
  }

  .stats-grid {
    padding: 20px 14px;
    gap: 14px;
  }

  .stat-value {
    font-size: 1.55rem;
  }

  .ba-slider {
    height: 270px;
    border-radius: 18px;
  }

  .gallery-card {
    height: 250px;
  }

  .form-group input,
  .form-group select {
    font-size: 16px;
  }

  .whatsapp-float {
    bottom: 16px;
    left: 16px;
    padding: 11px 18px;
    font-size: 0.9rem;
  }
}
