/* =========================================================
   موقع عيادة كفوف ومخالب — نظام التصميم
   سينمائي فاخر: فيديو كامل، كحلي عميق، أزرق العيادة، لمسة ذهبية،
   وحركة راقية غير متكلفة. كل الأقسام موسّطة وباتجاه عربي كامل.
   ========================================================= */

:root {
  --navy: #0f2233;
  --navy-2: #16324a;
  --blue: #3d6a8a;
  --blue-light: #648db0;
  --blue-tint: #eaf2f8;
  --gold: #c9a46a;
  --gold-light: #e4cc9f;
  --gold-tint: #f8f1e5;
  --ink: #152331;
  --muted: #5d6b78;
  --faint: #8c98a4;
  --line: #e4e9ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --success: #2e8b6a;
  --whatsapp: #22b35e;

  --shadow-sm: 0 2px 6px rgba(15, 34, 51, 0.05);
  --shadow: 0 2px 6px rgba(15, 34, 51, 0.04), 0 18px 40px -20px rgba(15, 34, 51, 0.22);
  --shadow-lg: 0 4px 10px rgba(15, 34, 51, 0.05), 0 36px 70px -30px rgba(15, 34, 51, 0.38);

  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 30px;

  --font-display: 'El Messiri', 'Tajawal', sans-serif;
  --font-body: 'Tajawal', 'El Messiri', sans-serif;

  --ease: cubic-bezier(0.22, 0.8, 0.26, 1);
  --container: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.35; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: var(--blue); }
img, video { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; right: 10px; z-index: 300; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 10px; }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }

/* شريط تقدّم القراءة */
.progress { position: fixed; z-index: 90; top: 0; right: 0; height: 3px; width: 100%; background: linear-gradient(to left, var(--gold), var(--gold-light)); transform-origin: right; transform: scaleX(0); }

/* ---------- الأزرار ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
/* لمعة تمرّ على الزر عند المرور */
.btn::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  width: 40%;
  right: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: right 0.7s var(--ease);
}
.btn:hover::after { right: 120%; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); box-shadow: 0 14px 30px -14px rgba(201, 164, 106, 0.9); }
.btn-gold:hover { box-shadow: 0 18px 36px -14px rgba(201, 164, 106, 1); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 14px 30px -16px rgba(61, 106, 138, 0.9); }
.btn-primary:hover { background: #335c78; }
.btn-glass { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.22); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow); }
.btn-sm { min-height: 44px; padding: 8px 22px; font-size: 0.95rem; }
.btn .fa-whatsapp { font-size: 1.2em; }

/* ---------- الرأس ---------- */
.site-header {
  position: fixed;
  z-index: 60;
  top: 0;
  inset-inline: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s var(--ease);
}
.site-header .inner { display: flex; align-items: center; gap: 22px; }
.site-header.scrolled, .site-header.solid { background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px rgba(15, 34, 51, 0.35); height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; transition: color 0.4s ease; }
.brand img { width: 50px; height: 50px; object-fit: contain; border-radius: 14px; background: #fff; padding: 3px; }
.brand strong { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }
.brand small { display: block; font-size: 0.78rem; opacity: 0.8; line-height: 1.3; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.main-nav a {
  position: relative;
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.main-nav a::after { content: ''; position: absolute; inset-inline: 13px; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-link { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); text-decoration: none; transition: all 0.3s ease; }
.icon-link:hover { background: rgba(255, 255, 255, 0.15); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; font-size: 1.1rem; }
.site-header.scrolled .brand, .site-header.solid .brand { color: var(--ink); }
.site-header.scrolled .main-nav a, .site-header.solid .main-nav a { color: var(--muted); }
.site-header.scrolled .main-nav a:hover, .site-header.scrolled .main-nav a.active, .site-header.solid .main-nav a:hover, .site-header.solid .main-nav a.active { color: var(--ink); }
.site-header.scrolled .icon-link, .site-header.solid .icon-link { color: var(--ink); border-color: var(--line); }
.site-header.scrolled .menu-btn, .site-header.solid .menu-btn { color: var(--ink); border-color: var(--line); background: #fff; }
.drawer { display: none; }

/* ---------- الواجهة ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
}
.hero-media { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(15, 34, 51, 0.35), rgba(15, 34, 51, 0.8) 70%),
    linear-gradient(to bottom, rgba(15, 34, 51, 0.55), rgba(15, 34, 51, 0.25) 35%, rgba(15, 34, 51, 0.92));
}
.hero-content { padding: calc(var(--header-h) + 40px) 0 40px; max-width: 880px; margin-inline: auto; }
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
  color: var(--gold-light);
}
.hero-chip i { font-size: 0.85rem; }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.8rem); line-height: 1.25; margin: 22px 0 18px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35); }
.hero h1 .accent { display: block; background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-light)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite; }
.hero .lead { font-size: clamp(1.08rem, 2vw, 1.3rem); color: rgba(255, 255, 255, 0.86); max-width: 640px; margin: 0 auto 34px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ظهور متتابع لعناصر الواجهة عند فتح الصفحة */
.intro > * { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; }
.intro > :nth-child(1) { animation-delay: 0.15s; }
.intro > :nth-child(2) { animation-delay: 0.3s; }
.intro > :nth-child(3) { animation-delay: 0.5s; }
.intro > :nth-child(4) { animation-delay: 0.7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* شريط الأرقام أسفل الواجهة */
.stats {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  margin: 0 auto 36px;
  max-width: 980px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  animation: rise 1s var(--ease) 0.9s forwards;
}
.stat { padding: 20px 14px; text-align: center; }
.stat + .stat { border-inline-start: 1px solid rgba(255, 255, 255, 0.14); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.scroll-cue { position: absolute; bottom: 14px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 14px; }
.scroll-cue::after { content: ''; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- الأقسام ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 130px) 0; overflow: hidden; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: radial-gradient(ellipse at top, var(--navy-2), var(--navy) 70%); color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; color: var(--gold); letter-spacing: 0.02em; }
.kicker i { font-size: 0.85rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section.dark .section-head p { color: rgba(255, 255, 255, 0.75); }
.divider { display: block; width: 72px; height: 3px; margin: 18px auto 0; border-radius: 3px; background: linear-gradient(to left, var(--gold), var(--gold-light)); transform: scaleX(0); transition: transform 1s var(--ease) 0.3s; }
.in .divider, .divider.in { transform: scaleX(1); }

/* ---------- حركة الظهور عند التمرير ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- الخدمات ---------- */
.tabs-wrap { display: flex; justify-content: center; margin-bottom: 34px; }
.tabs { position: relative; display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab-indicator { position: absolute; z-index: 0; top: 6px; left: 6px; border-radius: 999px; background: linear-gradient(135deg, var(--blue), var(--navy-2)); box-shadow: 0 10px 22px -12px rgba(15, 34, 51, 0.8); transition: left 0.45s var(--ease), top 0.45s var(--ease), width 0.45s var(--ease), height 0.45s var(--ease); }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; white-space: nowrap; transition: color 0.35s ease; }
.tab[aria-selected="true"], .tab[aria-pressed="true"] { color: #fff; }
.tab .count { min-width: 26px; padding: 0 8px; border-radius: 999px; font-size: 0.8rem; background: var(--blue-tint); color: var(--blue); transition: all 0.35s ease; }
.tab[aria-selected="true"] .count, .tab[aria-pressed="true"] .count { background: rgba(255, 255, 255, 0.2); color: #fff; }
.tab-panel { animation: panel-in 0.6s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
/* لوحة الأسعار: قائمة أنيقة بعمودين متوازنين، وخط منقّط يقود العين من الخدمة إلى سعرها */
.menu-board {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4.5vw, 52px) clamp(22px, 5vw, 60px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.menu-board::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(to left, var(--navy-2), var(--blue), var(--gold)); }
.menu-mark { position: absolute; left: clamp(-30px, -2vw, -10px); bottom: -34px; font-size: 13rem; color: var(--navy); opacity: 0.035; pointer-events: none; transform: rotate(-12deg); }
.menu-head { position: relative; display: flex; align-items: center; gap: 18px; padding-bottom: 26px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.menu-icon { flex-shrink: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(135deg, var(--blue), var(--navy-2)); color: #fff; font-size: 1.35rem; box-shadow: 0 14px 26px -14px rgba(15, 34, 51, 0.8); }
.menu-head h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.menu-head div span { display: block; color: var(--faint); font-size: 0.92rem; }
.menu-list { position: relative; margin: 0; padding: 0; list-style: none; columns: 2; column-gap: clamp(36px, 6vw, 80px); column-rule: 1px solid var(--line); }
.menu-item { break-inside: avoid; padding: 22px 0; border-bottom: 1px dashed var(--line); }
.menu-row, .menu-prices li { display: flex; align-items: baseline; gap: 12px; }
.menu-item .num { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--gold); min-width: 22px; font-variant-numeric: tabular-nums; transition: color 0.35s ease; }
.menu-item h4 { font-family: var(--font-body); font-size: 1.08rem; font-weight: 700; transition: color 0.35s ease; }
.leader { flex: 1; min-width: 24px; border-bottom: 2px dotted #cfd8e1; transform: translateY(-5px); transition: border-color 0.35s ease; }
.menu-note { margin: 4px 34px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.menu-prices { margin: 10px 34px 0 0; display: grid; gap: 6px; }
.menu-prices li > span:first-child { color: var(--muted); font-size: 0.95rem; }
.menu-prices .amount { font-size: 1.05rem; }
.amount { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--navy-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.amount small { font-family: var(--font-body); font-size: 0.78rem; font-weight: 500; color: var(--faint); margin-inline-start: 4px; }
.on-request { font-size: 0.9rem; color: var(--faint); white-space: nowrap; }
.menu-item:hover h4 { color: var(--blue); }
.menu-item:hover .num { color: var(--blue); }
.menu-item:hover .leader { border-color: var(--gold-light); }
.services-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 34px; color: var(--muted); text-align: center; }

/* ---------- لماذا نحن (قسم داكن) ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.feature {
  position: relative;
  padding: 40px 30px;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s var(--ease), background 0.5s ease, border-color 0.5s ease;
}
.feature:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.09); border-color: rgba(201, 164, 106, 0.45); }
.feature .ico { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-size: 1.7rem; color: var(--navy); background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 0 0 8px rgba(201, 164, 106, 0.12); transition: box-shadow 0.5s ease, transform 0.6s var(--ease); }
.feature:hover .ico { transform: rotate(-8deg) scale(1.06); box-shadow: 0 0 0 14px rgba(201, 164, 106, 0.1); }
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature p { color: rgba(255, 255, 255, 0.72); }

/* ---------- الفريق ---------- */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.doctor { width: min(290px, 100%); text-align: center; }
.doctor .photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; background: var(--blue-tint); box-shadow: var(--shadow); }
.doctor .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.doctor:hover .photo img { transform: scale(1.07); }
.doctor .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 34, 51, 0.75), transparent 45%); opacity: 0; transition: opacity 0.5s ease; }
.doctor:hover .photo::after { opacity: 1; }
.doctor .socials { position: absolute; z-index: 1; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; opacity: 0; transform: translateY(14px); transition: all 0.5s var(--ease); }
.doctor:hover .socials, .doctor:focus-within .socials { opacity: 1; transform: none; }
.doctor .socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); text-decoration: none; }
.doctor .socials a:hover { background: var(--gold); }
.doctor h3 { font-size: 1.25rem; margin-top: 20px; }
.doctor p { color: var(--muted); }

/* ---------- الباقات ---------- */
.packages { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 26px; }
.package {
  position: relative;
  width: min(360px, 100%);
  display: flex;
  flex-direction: column;
  padding: 38px 32px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.package:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.package.popular { background: radial-gradient(ellipse at top, var(--navy-2), var(--navy) 75%); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
@media (min-width: 1000px) { .package.popular { transform: scale(1.04); } .package.popular:hover { transform: scale(1.04) translateY(-8px); } }
.package .badge { position: absolute; top: -15px; left: 50%; translate: -50% 0; padding: 5px 18px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); font-size: 0.88rem; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 20px -10px rgba(201, 164, 106, 0.9); }
.package h3 { font-size: 1.35rem; }
.package .price { margin: 18px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.package.popular .price { border-color: rgba(255, 255, 255, 0.14); }
.package .price strong { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.package .price span { color: var(--faint); margin-inline-start: 6px; }
.package.popular .price strong { color: var(--gold-light); }
.package ul { display: flex; flex-direction: column; gap: 13px; flex: 1; margin-bottom: 30px; text-align: right; }
.package li { display: flex; gap: 12px; align-items: flex-start; }
.package li i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 0.7rem; margin-top: 4px; }
.package li.yes i { background: #e2f3ec; color: var(--success); }
.package.popular li.yes i { background: rgba(201, 164, 106, 0.2); color: var(--gold-light); }
.package li.no { color: var(--faint); }
.package li.no i { background: var(--bg-soft); color: var(--faint); }
.package.popular li.no { color: rgba(255, 255, 255, 0.45); }
.package.popular li.no i { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.45); }
.package .btn { width: 100%; }

/* ---------- الألبوم ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.shot {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue-tint);
  cursor: pointer;
  text-align: right;
}
.shot.big { grid-column: span 2; grid-row: span 2; }
.shot.tall { grid-row: span 2; }
.shot[hidden] { display: none; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.shot:hover img, .shot:focus-visible img { transform: scale(1.08); }
.shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 34, 51, 0.8), transparent 55%); opacity: 0.55; transition: opacity 0.5s ease; }
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
.shot .caption { position: absolute; z-index: 1; inset-inline: 20px; bottom: 16px; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; transform: translateY(6px); transition: transform 0.5s var(--ease); }
.shot:hover .caption { transform: none; }
.shot .play { position: absolute; z-index: 1; top: 50%; left: 50%; translate: -50% -50%; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.92); color: var(--navy); font-size: 1.1rem; padding-inline-end: 4px; }
.shot .play::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(0.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(10, 22, 34, 0.92); animation: fade 0.3s ease; }
.lightbox figure { margin: 0; max-width: min(1000px, 100%); animation: pop 0.45s var(--ease); }
.lightbox img, .lightbox video { max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox figcaption { color: rgba(255, 255, 255, 0.9); text-align: center; margin-top: 14px; font-family: var(--font-display); font-size: 1.1rem; }
.lightbox .close { position: fixed; top: 20px; left: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 1.1rem; cursor: pointer; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.94); } }

/* ---------- آراء العملاء (شريط متحرك) ---------- */
.rating-summary { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding: 8px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.rating-summary strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-light); }
.stars { color: var(--gold); letter-spacing: 2px; }
.stars .off { color: rgba(140, 152, 164, 0.4); }
.carousel { position: relative; }
.carousel.static .carousel-track { justify-content: center; }
.carousel.static .carousel-nav { display: none; }
.carousel-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 8px 4px 16px; }
.carousel-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 min(380px, 86%);
  scroll-snap-align: start;
  margin: 0;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.review:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(201, 164, 106, 0.4); }
.review .quote { font-family: var(--font-display); font-size: 3.4rem; line-height: 0.5; color: var(--gold); height: 22px; }
.review blockquote { margin: 0; flex: 1; color: rgba(255, 255, 255, 0.88); line-height: 1.95; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-weight: 700; }
.initial { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); font-family: var(--font-display); flex: none; }
.carousel-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 26px; }
.carousel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: transparent; color: #fff; cursor: pointer; transition: all 0.3s ease; }
.carousel-nav button:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.dots { display: flex; gap: 8px; }
.dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.3); transition: all 0.4s var(--ease); }
.dots span.on { width: 26px; background: var(--gold); }

/* ---------- المدونة ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 28px; }
.post { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post .cover { position: relative; aspect-ratio: 16 / 10; background: var(--blue-tint); display: grid; place-items: center; color: var(--blue-light); font-size: 2.4rem; overflow: hidden; }
.post .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post:hover .cover img { transform: scale(1.07); }
.post time { position: absolute; top: 14px; right: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 0.82rem; font-weight: 700; }
.post .body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post h3 { font-size: 1.2rem; transition: color 0.3s ease; }
.post:hover h3 { color: var(--blue); }
.post p { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post .more { margin-top: auto; padding-top: 8px; color: var(--gold); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.post .more i { transition: transform 0.4s var(--ease); }
.post:hover .more i { transform: translateX(-6px); }
.section-foot { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- التواصل ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 26px; align-items: stretch; }
.contact-info { padding: 36px 34px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.info-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); flex: none; transition: all 0.4s var(--ease); }
.info-list li:hover i { background: var(--blue); color: #fff; transform: rotate(-6deg); }
.info-list span { display: block; font-size: 0.85rem; color: var(--faint); }
.info-list a { color: var(--ink); text-decoration: none; font-weight: 700; }
.info-list a:hover { color: var(--blue); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); text-decoration: none; transition: all 0.35s var(--ease); }
.socials a:hover { color: #fff; background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.contact-info .socials { margin-top: 18px; }
.map { overflow: hidden; border-radius: var(--radius-lg); min-height: 440px; box-shadow: var(--shadow); background: var(--blue-tint); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* ---------- دعوة للحجز ---------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(44px, 7vw, 80px) clamp(24px, 5vw, 60px);
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, var(--navy), var(--blue));
}
.cta::before, .cta::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); }
.cta::before { width: 380px; height: 380px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(201, 164, 106, 0.45), transparent 70%); animation: float 12s ease-in-out infinite; }
.cta::after { width: 320px; height: 320px; bottom: -150px; left: -60px; background: radial-gradient(circle, rgba(100, 141, 176, 0.55), transparent 70%); animation: float 14s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-40px, 30px); } }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.cta p { color: rgba(255, 255, 255, 0.82); margin: 12px auto 30px; max-width: 560px; font-size: 1.1rem; }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- التذييل ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.7); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.footer-grid h4 { font-size: 1.1rem; color: #fff; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.3s ease; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-about p { margin-top: 16px; max-width: 330px; }
.site-footer .socials a { border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.8); }
.site-footer .socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.92rem; }
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }

/* ---------- الأزرار العائمة ---------- */
.float-whatsapp {
  position: fixed;
  z-index: 50;
  left: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: #fff;
  background: var(--whatsapp);
  box-shadow: 0 14px 30px -10px rgba(34, 179, 94, 0.7);
  text-decoration: none;
  transition: transform 0.35s var(--ease);
}
.float-whatsapp::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp); z-index: -1; animation: pulse 2.6s ease-out infinite; }
.float-whatsapp:hover { transform: scale(1.08); }
@keyframes pulse { from { transform: scale(1); opacity: 0.55; } to { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; z-index: 50; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all 0.4s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); }

/* ---------- الصفحات الداخلية ---------- */
.page-head { position: relative; overflow: hidden; padding: calc(var(--header-h) + 70px) 0 80px; text-align: center; color: #fff; background: radial-gradient(ellipse at top, var(--navy-2), var(--navy) 75%); }
.page-head::after { content: ''; position: absolute; width: 520px; height: 520px; bottom: -330px; left: 50%; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, rgba(201, 164, 106, 0.3), transparent 70%); pointer-events: none; }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 14px auto 12px; max-width: 900px; }
.page-head p { color: rgba(255, 255, 255, 0.78); font-size: 1.1rem; max-width: 680px; margin-inline: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.6); }
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.article-wrap { padding: 0 0 100px; }
.article { position: relative; z-index: 2; max-width: 860px; margin: -44px auto 0; padding: clamp(24px, 5vw, 52px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.article .cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; aspect-ratio: 16 / 9; background: var(--blue-tint); }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article .meta { display: flex; flex-wrap: wrap; gap: 22px; color: var(--faint); font-size: 0.95rem; margin-bottom: 24px; }
.article .meta i { color: var(--gold); margin-inline-end: 6px; }
.prose { font-size: 1.12rem; line-height: 2.05; color: #22303d; overflow-wrap: break-word; }
.prose h2 { font-size: 1.55rem; margin: 2.2rem 0 0.8rem; }
.prose h3 { font-size: 1.25rem; margin: 1.8rem 0 0.6rem; }
.prose p, .prose ul { margin-bottom: 1.3rem; }
.prose ul { list-style: disc; padding-inline-start: 1.4rem; }
.prose li { margin-bottom: 0.5rem; }
.article-cta { margin-top: 44px; padding: 30px; border-radius: var(--radius); text-align: center; color: #fff; background: linear-gradient(120deg, var(--navy), var(--blue)); }
.article-cta strong { display: block; font-family: var(--font-display); font-size: 1.35rem; }
.article-cta p { color: rgba(255, 255, 255, 0.8); margin: 6px 0 20px; }
.empty-state { text-align: center; padding: 60px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.empty-state i { font-size: 2.2rem; color: var(--gold); margin-bottom: 14px; }
.empty-state h2 { font-size: 1.35rem; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

/* ---------- الشاشات المتوسطة والصغيرة ---------- */
@media (max-width: 1120px) {
  .main-nav, .header-actions { display: none; }
  .menu-btn { display: grid; place-items: center; margin-inline-start: auto; }
  .drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 70;
    inset: 0;
    padding: calc(var(--header-h) + 10px) var(--gutter) 32px;
    background: radial-gradient(ellipse at top, var(--navy-2), var(--navy) 75%);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
  }
  .drawer nav a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; opacity: 0; transform: translateX(-24px); transition: all 0.5s var(--ease); }
  body.menu-open .drawer { opacity: 1; visibility: visible; }
  body.menu-open .drawer nav a { opacity: 1; transform: none; }
  body.menu-open .drawer nav a:nth-child(2) { transition-delay: 0.05s; }
  body.menu-open .drawer nav a:nth-child(3) { transition-delay: 0.1s; }
  body.menu-open .drawer nav a:nth-child(4) { transition-delay: 0.15s; }
  body.menu-open .drawer nav a:nth-child(5) { transition-delay: 0.2s; }
  body.menu-open .drawer nav a:nth-child(6) { transition-delay: 0.25s; }
  body.menu-open .drawer nav a:nth-child(7) { transition-delay: 0.3s; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: transparent; box-shadow: none; z-index: 80; }
  body.menu-open .site-header .brand { color: #fff; }
  body.menu-open .site-header .menu-btn { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.1); }
  .drawer .actions { display: grid; gap: 12px; margin-top: 28px; }
}

@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 70px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
}

@media (max-width: 600px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .brand img { width: 44px; height: 44px; }
  .brand small { display: none; }
  .hero h1 { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .tabs-wrap { justify-content: stretch; }
  .tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; overflow: visible; border-radius: 24px; }
  .tab { flex-direction: column; justify-content: center; gap: 6px; padding: 12px 6px; border-radius: 18px; font-size: 0.88rem; line-height: 1.35; white-space: normal; text-align: center; }
  .tab i { font-size: 1.05rem; }
  .tab .count { display: none; }
  .tab-indicator { border-radius: 18px; }
  .menu-head { flex-direction: column; text-align: center; gap: 12px; }
  .menu-list { columns: 1; }
  .menu-note, .menu-prices { margin-right: 0; }
  .menu-mark { font-size: 9rem; }
  .gallery { grid-auto-rows: 160px; gap: 10px; }
  .shot.big { grid-column: span 2; grid-row: span 2; }
  .contact-info { padding: 26px 22px; }
  .map, .map iframe { min-height: 320px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .cta .actions .btn { flex: 1 1 100%; }
  .float-whatsapp { width: 54px; height: 54px; font-size: 1.55rem; left: 16px; bottom: 16px; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal], .intro > *, .stats { opacity: 1; transform: none; }
}

@media print {
  .site-header, .drawer, .float-whatsapp, .to-top, .cookie-banner, .hero-media, .progress { display: none !important; }
  .hero { min-height: 0; color: var(--ink); }
}
