/* =========================================================
   التصميم الاحترافي لعيادة د. مهدي صالح بلاسم
   ملاحظة: تم الإبقاء على نفس أسماء الصور والمسارات داخل assets
   ========================================================= */

/* ===============================
   01) المتغيرات العامة للهوية البصرية
   غيّر الألوان من هنا فقط إذا أردت تعديل الهوية لاحقاً
   =============================== */
:root {
  --bg: #f4f1ea;
  --bg-soft: #fbfaf6;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-muted: #f1f7f4;
  --primary: #0f6d65;
  --primary-dark: #083f3d;
  --primary-deep: #062f31;
  --primary-soft: #e4f2ef;
  --accent: #c79a45;
  --accent-soft: #fff4dc;
  --text: #182522;
  --text-soft: #62716d;
  --line: rgba(15, 109, 101, 0.14);
  --line-strong: rgba(15, 109, 101, 0.24);
  --white-line: rgba(255, 255, 255, 0.7);
  --shadow-sm: 0 10px 26px rgba(7, 49, 47, 0.08);
  --shadow: 0 24px 70px rgba(7, 49, 47, 0.13);
  --shadow-lg: 0 34px 90px rgba(7, 49, 47, 0.18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
  --header-height: 132px;
}

/* ===============================
   02) إعدادات عامة
   =============================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 4%, rgba(199, 154, 69, 0.14), transparent 30%),
    radial-gradient(circle at 8% 18%, rgba(15, 109, 101, 0.12), transparent 34%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 46%, #f8fbf8 100%);
  font-family: Cairo, Tahoma, Arial, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  color: #fff;
  background: var(--primary);
}

.skip-link {
  position: fixed;
  inset-inline-start: 16px;
  top: 16px;
  z-index: 500;
  transform: translateY(-140%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.narrow {
  width: min(860px, calc(100% - 2rem));
}

.section {
  position: relative;
  padding: 78px 0;
  scroll-margin-top: var(--header-height);
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(241, 247, 244, 0.92), rgba(255, 255, 255, 0.55)),
    radial-gradient(circle at 20% 0%, rgba(15, 109, 101, 0.06), transparent 26%);
}

main {
  position: relative;
  z-index: 1;
}

/* دوائر ضوئية خلفية ناعمة */
.bg-orb {
  position: fixed;
  width: 380px;
  height: 380px;
  pointer-events: none;
  z-index: 0;
  filter: blur(18px);
  opacity: 0.75;
  background: radial-gradient(circle, rgba(15, 109, 101, 0.14) 0%, rgba(15, 109, 101, 0) 68%);
}

.orb-one {
  top: -120px;
  right: -90px;
}

.orb-two {
  left: -130px;
  bottom: 6%;
  background: radial-gradient(circle, rgba(199, 154, 69, 0.16) 0%, rgba(199, 154, 69, 0) 70%);
}

/* ===============================
   03) العناوين والشارات
   =============================== */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head h2,
.content-card h3,
.contact-card h2,
.side-panel h3,
.youtube-card h2,
.booking-cta-copy h2 {
  margin: 0.55rem 0 0;
  color: var(--primary-deep);
  font-size: clamp(1.35rem, 2vw, 2.05rem);
  line-height: 1.42;
  letter-spacing: -0.015em;
}

.section-head p,
.content-card p,
.contact-intro,
.side-panel p,
.youtube-card p,
.booking-cta-copy p {
  margin: 0.85rem 0 0;
  color: var(--text-soft);
  line-height: 1.95;
}

.section-head.center p {
  max-width: 760px;
}

.section-tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.52rem 0.9rem;
  border: 1px solid rgba(199, 154, 69, 0.28);
  border-radius: 999px;
  color: var(--primary-dark);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 244, 220, 0.78));
  box-shadow: 0 10px 28px rgba(199, 154, 69, 0.09);
  font-size: 0.9rem;
  font-weight: 800;
}

.section-tag::before,
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(199, 154, 69, 0.16);
}

/* ===============================
   04) الهيدر والقائمة
   =============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.84);
  border-bottom: 1px solid rgba(15, 109, 101, 0.1);
  box-shadow: 0 12px 36px rgba(7, 49, 47, 0.055);
  backdrop-filter: blur(18px);
}

.header-wrap {
  position: relative;
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.header-top,
.header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-bottom {
  justify-content: center;
  padding-top: 0.72rem;
  border-top: 1px solid rgba(15, 109, 101, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(15, 109, 101, 0.12);
  box-shadow: var(--shadow-sm);
}

.brand-name {
  max-width: 520px;
  font-weight: 900;
  line-height: 1.35;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: var(--primary-deep);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  padding: 0.55rem 0.82rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 22%;
  bottom: 0.24rem;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary-dark);
  background: rgba(15, 109, 101, 0.06);
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.lang-toggle,
.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.lang-toggle {
  padding: 0.72rem 0.95rem;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line);
  font-weight: 900;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.96rem 1.35rem;
  min-height: 46px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(15, 109, 101, 0.13);
}

.btn-small {
  padding: 0.72rem 1rem;
  min-height: auto;
}

.btn-solid {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-outline {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line-strong);
}

.btn:hover,
.lang-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(7, 49, 47, 0.15);
}

.btn-outline:hover {
  border-color: rgba(199, 154, 69, 0.45);
  background: var(--accent-soft);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-deep);
}

.menu-toggle span + span {
  margin-top: 6px;
}

/* ===============================
   05) قسم البداية Hero
   =============================== */
.hero {
  padding-top: 64px;
  padding-bottom: 86px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 78%;
  z-index: -1;
  background:
    radial-gradient(circle at 88% 18%, rgba(199, 154, 69, 0.2), transparent 24%),
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.75), transparent 28%),
    linear-gradient(135deg, rgba(8, 63, 61, 0.1), rgba(15, 109, 101, 0.04));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 2.2rem;
  align-items: center;
}

.hero-copy,
.content-card,
.side-panel,
.contact-card,
.map-card,
.youtube-card,
.youtube-video-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--white-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.45rem, 3vw, 2.7rem);
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset-block: 1.5rem;
  inset-inline-start: 0;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.hero-copy h1 {
  max-width: 820px;
  margin: 1rem 0 0;
  color: var(--primary-deep);
  font-size: clamp(1.7rem, 3.2vw, 3.35rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.hero-text {
  max-width: 720px;
  margin-top: 1.1rem;
  color: var(--text-soft);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.trust-item,
.service-card,
.cert-card,
.gallery-card,
.faq-item,
.method-card,
.mini-stat,
.contact-item {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 109, 101, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 26px rgba(7, 49, 47, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.trust-item {
  padding: 1rem;
}

.trust-item::before {
  content: "";
  display: block;
  width: 34px;
  height: 4px;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.trust-item strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--primary-deep);
}

.trust-item span,
.service-card p,
.cert-card p,
.gallery-card p,
.method-card p,
.faq-answer,
.mini-stat span,
.contact-item span {
  color: var(--text-soft);
  line-height: 1.85;
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  position: relative;
  padding: 1rem;
  border: 1px solid rgba(15, 109, 101, 0.12);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(228, 242, 239, 0.88)),
    radial-gradient(circle at top, rgba(199, 154, 69, 0.18), transparent 38%);
  box-shadow: var(--shadow-lg);
}

.hero-image-frame::before,
.hero-image-frame::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-image-frame::before {
  width: 82px;
  height: 82px;
  inset-inline-end: -18px;
  top: 40px;
  border: 1px solid rgba(199, 154, 69, 0.44);
  background: rgba(255, 244, 220, 0.54);
}

.hero-image-frame::after {
  width: 120px;
  height: 120px;
  inset-inline-start: -34px;
  bottom: -24px;
  border: 1px solid rgba(15, 109, 101, 0.2);
  background: rgba(228, 242, 239, 0.64);
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-badge {
  position: absolute;
  z-index: 3;
  inset-inline-start: -1rem;
  bottom: 1.6rem;
  display: grid;
  gap: 0.32rem;
  max-width: min(310px, calc(100% - 2rem));
  padding: 1rem 1.15rem;
  border: 1px solid rgba(199, 154, 69, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 44px rgba(7, 49, 47, 0.16);
  backdrop-filter: blur(10px);
}

.hero-badge-title {
  color: var(--primary-deep);
  font-weight: 900;
}

.hero-badge-text {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ===============================
   06) كروت المحتوى والخدمات
   =============================== */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 1.5rem;
}

.content-card,
.contact-card,
.side-panel,
.map-card,
.youtube-card,
.youtube-video-card {
  padding: 2rem;
}

.content-card::after,
.side-panel::after,
.contact-card::after,
.youtube-card::after {
  content: "";
  position: absolute;
  inset-inline: 2rem;
  top: 0;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.mini-stat {
  padding: 1rem;
}

.mini-stat strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary-deep);
}

.method-list,
.cards-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

.method-card {
  padding: 1.15rem;
}

.method-card h4,
.service-card h3,
.cert-card h3,
.gallery-card h3,
.faq-question {
  margin: 0 0 0.5rem;
  color: var(--primary-deep);
  font-size: 1rem;
  line-height: 1.5;
}

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

.service-card,
.cert-card,
.gallery-card {
  padding: 1.25rem;
  overflow: hidden;
}

.service-card::after,
.cert-card::after,
.gallery-card::after,
.method-card::after,
.trust-item::after {
  content: "";
  position: absolute;
  inset-inline: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(15, 109, 101, 0), rgba(199, 154, 69, 0.72), rgba(15, 109, 101, 0));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover,
.cert-card:hover,
.gallery-card:hover,
.trust-item:hover,
.method-card:hover,
.faq-item:hover,
.mini-stat:hover {
  transform: translateY(-5px);
  border-color: rgba(199, 154, 69, 0.28);
  box-shadow: 0 20px 42px rgba(7, 49, 47, 0.11);
}

.service-card:hover::after,
.cert-card:hover::after,
.gallery-card:hover::after,
.method-card:hover::after,
.trust-item:hover::after {
  opacity: 1;
}

.service-icon,
.link-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 109, 101, 0.13);
  border-radius: 20px;
  color: var(--primary-dark);
  background: linear-gradient(135deg, rgba(228, 242, 239, 0.95), rgba(255, 244, 220, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  font-size: 1.35rem;
}

.service-icon svg,
.link-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.service-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* ===============================
   07) الشهادات والبحوث
   =============================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.filter-tabs button {
  flex: 0 0 auto;
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filter-tabs button.active,
.filter-tabs button:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-2px);
}

.certificates-grid {
  min-height: 240px;
}

.cert-meta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  padding: 0.45rem 0.82rem;
  border: 1px solid rgba(199, 154, 69, 0.18);
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--accent-soft);
  font-size: 0.86rem;
  font-weight: 900;
}

.card-media,
.gallery-media {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(15, 109, 101, 0.12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(228, 242, 239, 0.9), rgba(255, 255, 255, 0.94));
}

.card-media {
  aspect-ratio: 4 / 3;
}

.gallery-media {
  aspect-ratio: 4 / 3;
}

.card-media img,
.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.cert-card .card-media img {
  object-fit: contain;
  padding: 0.45rem;
  background: #fff;
}

.has-media {
  cursor: pointer;
}

.has-media:focus-visible,
.filter-tabs button:focus-visible,
.btn:focus-visible,
.lang-toggle:focus-visible,
.site-nav a:focus-visible,
.social-links a:focus-visible {
  outline: 3px solid rgba(199, 154, 69, 0.35);
  outline-offset: 3px;
}

.has-media:hover img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02);
}

.zoom-chip {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(6, 47, 49, 0.72);
  font-size: 0.8rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.link-card::before,
.has-media::before,
.service-card::before,
.cert-card::before,
.gallery-card::before {
  display: none;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(15, 109, 101, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cert-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(15, 109, 101, 0.2);
}

/* ===============================
   08) المعرض واليوتيوب
   =============================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card.featured .gallery-media {
  aspect-ratio: 5 / 4;
}

.youtube-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: 1.5rem;
  align-items: center;
}

.youtube-actions {
  margin-top: 1.5rem;
}

.youtube-video-card {
  padding: 1rem;
  overflow: hidden;
}

.youtube-video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 26px;
  display: block;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* ===============================
   09) الأسئلة الشائعة والحجز والتواصل
   =============================== */
.faq-list {
  gap: 0.9rem;
}

.faq-item {
  padding: 1.15rem 1.25rem;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 13px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 1.25rem;
}

.faq-item[open] .faq-question::after {
  content: "−";
  background: var(--accent-soft);
}

.faq-answer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 109, 101, 0.1);
}

.booking-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.85rem;
  border: 1px solid rgba(199, 154, 69, 0.24);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 0%, rgba(199, 154, 69, 0.16), transparent 25%),
    linear-gradient(135deg, rgba(6, 47, 49, 0.96), rgba(15, 109, 101, 0.92));
  box-shadow: var(--shadow-lg);
}

.booking-cta-copy h2,
.booking-cta-copy p {
  color: #fff;
}

.booking-cta-copy p {
  opacity: 0.86;
}

.booking-cta-card .section-tag {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
}

.booking-cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.booking-cta-card .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
}

.booking-cta-card .btn-solid {
  color: var(--primary-dark);
  background: linear-gradient(135deg, #fff, var(--accent-soft));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
  gap: 1.5rem;
}

.contact-items {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.contact-item {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
}

.contact-label {
  color: var(--primary-dark) !important;
  font-weight: 900;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.social-links a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 109, 101, 0.12);
  border-radius: 50%;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 26px rgba(7, 49, 47, 0.13);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.map-card {
  min-height: 500px;
  overflow: hidden;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  border-radius: calc(var(--radius-xl) - 8px);
}

/* ===============================
   10) الفوتر وأزرار الموبايل السريعة
   =============================== */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 0 0 2rem;
  color: rgba(255, 255, 255, 0.84);
  background:
    radial-gradient(circle at 80% 0%, rgba(199, 154, 69, 0.15), transparent 28%),
    linear-gradient(135deg, var(--primary-deep), #082f2f);
  text-align: center;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 1rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  width: 100%;
  text-align: center;
}

.footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.footer-links,
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.footer-contact span {
  white-space: nowrap;
}

.footer-disclaimer {
  max-width: 900px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-separator {
  opacity: 0.45;
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 18px;
  z-index: 90;
  padding: 0.95rem 1.18rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #20b16f, #16885a);
  font-weight: 900;
  box-shadow: 0 22px 46px rgba(20, 120, 82, 0.25);
}

.mobile-action-bar {
  display: none;
}

/* ===============================
   11) نافذة تكبير الصور
   =============================== */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  z-index: 200;
  background: rgba(5, 20, 19, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: flex;
}

.lightbox-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.25);
}

.lightbox-dialog img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 22px;
  background: #fff;
}

.lightbox-meta {
  padding: 1rem 0.3rem 0.2rem;
}

.lightbox-meta h3 {
  margin: 0;
  color: var(--primary-deep);
  font-size: 1.12rem;
}

.lightbox-meta p {
  margin: 0.55rem 0 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(6, 47, 49, 0.78);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

/* ===============================
   12) حركات ظهور خفيفة
   =============================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===============================
   13) دعم النسخة الإنجليزية LTR
   =============================== */
body[dir="ltr"] {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body[dir="ltr"] .hero-badge {
  inset-inline-start: auto;
  inset-inline-end: -1rem;
}

body[dir="ltr"] .faq-question::after {
  order: 2;
}

body[dir="ltr"] .hero-copy h1,
body[dir="ltr"] .section-head h2,
body[dir="ltr"] .content-card h3,
body[dir="ltr"] .contact-card h2,
body[dir="ltr"] .side-panel h3,
body[dir="ltr"] .youtube-card h2 {
  letter-spacing: -0.03em;
}

/* ===============================
   14) الاستجابة للشاشات المتوسطة والصغيرة
   =============================== */
@media (max-width: 1080px) {
  :root {
    --header-height: 104px;
  }

  .hero-grid,
  .split-grid,
  .contact-grid,
  .youtube-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 620px;
    margin-inline: auto;
  }

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

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

  .gallery-card.featured {
    grid-column: span 2;
  }

  .hero-badge {
    inset-inline-start: 1rem;
  }

  body[dir="ltr"] .hero-badge {
    inset-inline-end: 1rem;
  }
}

@media (max-width: 900px) {
  .header-bottom {
    justify-content: flex-end;
    padding-top: 0;
    border-top: 0;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 1rem;
    border: 1px solid rgba(15, 109, 101, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.7rem 0.9rem;
    font-size: 1rem;
  }

  .trust-grid,
  .mini-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 86px;
  }

  body {
    padding-bottom: 76px;
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 58px;
  }

  .container {
    width: min(var(--container), calc(100% - 1.15rem));
  }

  .header-wrap {
    gap: 0.65rem;
    padding: 0.7rem 0;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-actions .btn,
  .header-actions .lang-toggle {
    padding: 0.62rem 0.72rem;
    font-size: 0.84rem;
  }

  .hero-copy,
  .content-card,
  .side-panel,
  .contact-card,
  .map-card,
  .youtube-card,
  .youtube-video-card,
  .lightbox-dialog {
    padding: 1.25rem;
    border-radius: 24px;
  }

  .hero-copy::before {
    inset-block: 1.2rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.5rem, 9vw, 2.3rem);
  }

  .hero-actions,
  .contact-actions,
  .booking-cta-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .booking-cta-actions .btn {
    width: 100%;
  }

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

  .gallery-card.featured {
    grid-column: auto;
    grid-row: auto;
  }

  .filter-tabs {
    flex-wrap: nowrap;
    margin-inline: -0.2rem;
    padding: 0 0.2rem 0.4rem;
  }

  .filter-tabs button {
    padding: 0.72rem 1rem;
    font-size: 0.9rem;
  }

  .booking-cta-card {
    align-items: stretch;
    flex-direction: column;
    padding: 1.35rem;
    border-radius: 24px;
  }

  .map-card,
  .map-card iframe {
    min-height: 380px;
  }

  .footer-row {
    flex-direction: column;
    gap: 0.45rem;
  }

  .footer-contact span {
    white-space: normal;
  }

  .footer-links,
  .footer-contact {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }

  .floating-whatsapp {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    inset-inline: 10px;
    bottom: 10px;
    z-index: 180;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 50px rgba(7, 49, 47, 0.18);
    backdrop-filter: blur(14px);
  }

  .mobile-action-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.65rem 0.35rem;
    border-radius: 999px;
    color: var(--primary-dark);
    background: rgba(228, 242, 239, 0.9);
    font-size: 0.86rem;
    font-weight: 900;
  }

  .mobile-action-bar a:nth-child(2) {
    color: #fff;
    background: linear-gradient(135deg, #20b16f, #16885a);
  }

  .lightbox-close {
    top: 8px;
    inset-inline-end: 8px;
  }
}

@media (max-width: 520px) {
  .header-top {
    align-items: flex-start;
  }

  .brand {
    flex: 1 1 100%;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .header-actions .btn-small,
  .header-actions .lang-toggle {
    font-size: 0.8rem;
    padding: 0.58rem 0.66rem;
  }

  .hero-badge {
    position: relative;
    inset: auto;
    margin-top: -1.1rem;
    margin-inline: 1rem;
  }

  body[dir="ltr"] .hero-badge {
    inset: auto;
  }

  .mobile-action-bar {
    border-radius: 24px;
  }
}
