/* ========= Classic Movers Premium Header ========= */
:root{
  --cm-navy:#0B1F3B;
  --cm-gold:#C8A24A;
  --cm-off:#F7F5EF;
  --cm-slate:#2C3440;
  --cm-green:#1FA97A;

  --cm-radius:16px;
  --cm-shadow: 0 14px 40px rgba(11,31,59,.18);
  --cm-shadow-soft: 0 10px 24px rgba(11,31,59,.12);
  --cm-border: 1px solid rgba(11,31,59,.10);
  --cm-max: 1200px;

  --cm-ease: cubic-bezier(.2,.8,.2,1);
}

body {
  overflow-x: hidden;
}

.cm-container{
  width: min(var(--cm-max), calc(100% - 32px));
  margin-inline:auto;
}

.cm-section{
  padding: 30px 0;
}

/* ===== Premium Header (RTL) ===== */
.cm-skip{
  position:absolute;
  top: -60px;
  right: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(11,31,59,.95);
  color: rgba(247,245,239,.95);
  border: 1px solid rgba(247,245,239,.14);
  font-weight: 900;
  z-index: 99999;
  transition: top .25s var(--cm-ease);
  text-decoration:none;
}
.cm-skip:focus{ top: 12px; }

.cm-header{
  position: sticky;
  top: 0;
  z-index: 9990;
}

.cm-topbar{
  background: rgba(11,31,59,.96);
  color: rgba(247,245,239,.86);
  border-bottom: 1px solid rgba(247,245,239,.08);
}
.cm-topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 8px 0;
}
.cm-topbar__pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(247,245,239,.06);
  border: 1px solid rgba(247,245,239,.10);
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
}
.cm-topbar__dot{
  width:10px;height:10px;border-radius:999px;
  background: rgba(200,162,74,.95);
  box-shadow: 0 0 0 6px rgba(200,162,74,.16);
}
.cm-topbar__right{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}
.cm-topbar__mini{
  font-weight: 800;
  font-size: 12px;
  color: rgba(247,245,239,.74);
}
.cm-topbar__link{
  color: rgba(247,245,239,.92);
  text-decoration:none;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(247,245,239,.06);
  border: 1px solid rgba(247,245,239,.10);
}
.cm-topbar__link:hover{ background: rgba(247,245,239,.09); }

/* Headbar */
.cm-headbar{
  backdrop-filter: blur(12px);
  background: rgba(247,245,239,.72);
  border-bottom: 1px solid rgba(11,31,59,.10);
  box-shadow: 0 18px 46px rgba(11,31,59,.10);
}
.cm-headbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}

.cm-brand__link{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
  color: inherit;
}
.cm-brand__mark{
  width: 44px; height: 44px;
  border-radius: 18px;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(200,162,74,.24), transparent 55%),
    linear-gradient(135deg, rgba(11,31,59,.92), rgba(7,22,42,.98));
  border: 1px solid rgba(200,162,74,.18);
  box-shadow: 0 18px 38px rgba(11,31,59,.18);
}
.cm-brand__name{
  display:block;
  font-weight: 950;
  color: var(--cm-navy);
  font-size: 16px;
  line-height: 1.1;
}
.cm-brand__tag{
  display:block;
  margin-top: 2px;
  color: rgba(44,52,64,.78);
  font-weight: 800;
  font-size: 12px;
}

/* Desktop menu */
.cm-nav{ display:block; }
.cm-menu{
  display:flex;
  align-items:center;
  gap: 10px;
  list-style:none;
  padding:0;
  margin:0;
}
.cm-menu a{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  color: rgba(11,31,59,.92);
  font-weight: 950;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background .2s var(--cm-ease), transform .2s var(--cm-ease), border-color .2s var(--cm-ease);
}
.cm-menu a:hover{
  background: rgba(11,31,59,.05);
  border-color: rgba(11,31,59,.10);
  transform: translateY(-1px);
}

/* Actions */
.cm-actions{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:nowrap;
}

.cm-actions__call{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  text-decoration:none;
  background: rgba(11,31,59,.06);
  border: 1px solid rgba(11,31,59,.10);
  color: rgba(11,31,59,.92);
  font-weight: 950;
  font-size: 13px;
}
.cm-actions__callicon{
  width: 34px; height: 34px;
  border-radius: 14px;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(200,162,74,.22), transparent 55%),
    linear-gradient(135deg, rgba(11,31,59,.92), rgba(7,22,42,.98));
  border: 1px solid rgba(200,162,74,.18);
  box-shadow: 0 14px 30px rgba(11,31,59,.14);
}
.cm-actions__call:hover{ transform: translateY(-1px); }

.cm-burger{
  width: 46px; height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(11,31,59,.12);
  background: rgba(255,255,255,.70);
  box-shadow: 0 14px 30px rgba(11,31,59,.10);
  cursor:pointer;
  display:none;
}
.cm-burger__bars{ display:grid; gap: 5px; }
.cm-burger__bars span{
  width: 18px; height: 2px;
  border-radius: 999px;
  background: rgba(11,31,59,.90);
}

/* Sticky smart state (added by JS) */
.cm-header.is-hidden .cm-topbar{ display:none; }
.cm-header.is-condensed .cm-headbar__inner{ padding: 9px 0; }

/* Mobile menu */
.cm-mob{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display:none;
}
.cm-mob.is-open{ display:block; }
.cm-mob__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.45);
}
.cm-mob__panel{
  position:absolute;
  top: 0;
  bottom: 0;
  right: 0; /* RTL */
  width: min(420px, 92vw);
  background: rgba(247,245,239,.92);
  border-left: 1px solid rgba(11,31,59,.10);
  box-shadow: -30px 0 90px rgba(0,0,0,.35);
  display:flex;
  flex-direction:column;
}
.cm-mob__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid rgba(11,31,59,.10);
  background:
    radial-gradient(120% 120% at 10% 10%, rgba(200,162,74,.16), transparent 55%),
    rgba(247,245,239,.92);
}
.cm-mob__brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.cm-mob__close{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(11,31,59,.12);
  background: rgba(255,255,255,.70);
  cursor:pointer;
  font-size: 24px;
  line-height: 1;
}
.cm-mob__body{ padding: 14px; overflow:auto; }

.cm-mobmenu{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}
.cm-mobmenu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-decoration:none;
  color: rgba(11,31,59,.92);
  font-weight: 950;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(11,31,59,.04);
  border: 1px solid rgba(11,31,59,.08);
}
.cm-mob__cta{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 12px;
}
.cm-mob__note{
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 18px;
  background: rgba(11,31,59,.04);
  border: 1px solid rgba(11,31,59,.08);
  color: rgba(44,52,64,.86);
  line-height: 1.8;
  font-weight: 900;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px){
  .cm-nav{ display:none; }
  .cm-actions__quote, .cm-actions__wa, .cm-actions__call{ display:none !important; }
  .cm-burger{ display:grid; place-items:center; }
  .cm-mob__cta .cm-btn:last-of-type{ display: none;}
}
@media (max-width: 640px){
  .cm-topbar__mini{ display:none; }
}


/* Skip link */
.cm-skip-link{
  position:absolute;
  left:-999px;
  top:8px;
  background:var(--cm-off);
  color:var(--cm-navy);
  padding:10px 14px;
  border-radius:10px;
  z-index:9999;
}
.cm-skip-link:focus{ left:12px; }

/* Header wrapper */
.cm-header{
  position:sticky;
  top:0;
  z-index:999;
}

/* Topbar */
.cm-topbar{
  background:rgba(11,31,59,.95);
  color:rgba(247,245,239,.92);
  border-bottom:1px solid rgba(247,245,239,.08);
  backdrop-filter:saturate(120%) blur(10px);
}
.cm-topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 0;
}
.cm-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  letter-spacing:.2px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(247,245,239,.06);
  border:1px solid rgba(247,245,239,.10);
}
.cm-pill__dot{
  width:8px;height:8px;border-radius:999px;
  background:var(--cm-gold);
  box-shadow:0 0 0 5px rgba(200,162,74,.12);
}

.cm-topbar__right{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.cm-toplink{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:inherit;
  text-decoration:none;
  font-size:13px;
  padding:6px 10px;
  border-radius:999px;
  transition:transform .25s var(--cm-ease), background .25s var(--cm-ease);
}
.cm-toplink:hover{ background:rgba(247,245,239,.08); transform:translateY(-1px); }
.cm-toplink--wa:hover{ background:rgba(31,169,122,.14); }
.cm-icon{ opacity:.9; }

.cm-lang{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  opacity:.95;
}
.cm-lang__link{
  color:rgba(247,245,239,.92);
  text-decoration:none;
  padding:4px 6px;
  border-radius:8px;
}
.cm-lang__link:hover{ background:rgba(247,245,239,.08); }
.cm-lang__sep{ opacity:.6; }

/* Main nav bar */
.cm-nav{
  background:rgba(247,245,239,.92);
  border-bottom: var(--cm-border);
  backdrop-filter:saturate(120%) blur(12px);
}
.cm-nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
  transition:padding .25s var(--cm-ease);
}
.cm-header.is-compact .cm-nav__inner{ padding:10px 0; }

/* Brand */
.cm-brand__link{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--cm-navy);
}
.cm-brand__logo img{ max-height:44px; width:auto; display:block; }
.cm-brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.cm-brand__name{
  font-weight:800;
  letter-spacing:.2px;
  font-size:18px;
}
.cm-brand__tagline{
  font-size:12px;
  color:rgba(44,52,64,.85);
  margin-top:4px;
}

/* Fallback mark */
.cm-brand__mark{
  width:46px;height:46px;
  position:relative;
  border-radius:14px;
  overflow:hidden;
  box-shadow: var(--cm-shadow-soft);
  background: radial-gradient(120% 120% at 20% 10%, rgba(200,162,74,.24), transparent 55%),
              linear-gradient(135deg, var(--cm-navy), #07162a);
}
.cm-mark__shield{
  position:absolute;
  inset:8px;
  border-radius:12px;
  border:1px solid rgba(200,162,74,.35);
  background:linear-gradient(180deg, rgba(247,245,239,.12), transparent);
}
.cm-mark__c{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:20px;
  color:var(--cm-off);
  text-shadow:0 8px 18px rgba(0,0,0,.25);
}

/* Menu (desktop) */
.cm-menu{ flex:1; display:flex; justify-content:center; }
.cm-menu__list{
  list-style:none;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0;
  margin:0;
}
.cm-menu__list > li{ position:relative; }
.cm-menu__list a{
  display:inline-flex;
  align-items:center;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  color:var(--cm-slate);
  font-weight:600;
  font-size:14px;
  transition: background .25s var(--cm-ease), transform .25s var(--cm-ease), color .25s var(--cm-ease);
}
.cm-menu__list a:hover{
  background: rgba(11,31,59,.06);
  color: var(--cm-navy);
  transform: translateY(-1px);
}

/* Submenu */
.cm-menu__list .sub-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:240px;
  padding:10px;
  margin:0;
  list-style:none;
  background: rgba(247,245,239,.98);
  border: var(--cm-border);
  border-radius: 16px;
  box-shadow: var(--cm-shadow);
  opacity:0;
  visibility:hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--cm-ease), transform .25s var(--cm-ease), visibility .25s var(--cm-ease);
}
.cm-menu__list li:hover > .sub-menu{
  opacity:1;
  visibility:visible;
  transform: translateY(0);
}
.cm-menu__list .sub-menu a{
  width:100%;
  justify-content:flex-start;
  padding:10px 10px;
  border-radius:12px;
}

/* Actions */
.cm-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.cm-btn{
  border:0;
  cursor:pointer;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight:800;
  font-size:14px;
  letter-spacing:.2px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  transition: transform .25s var(--cm-ease), box-shadow .25s var(--cm-ease), background .25s var(--cm-ease), color .25s var(--cm-ease);
  user-select:none;
  white-space:nowrap;
}
.cm-btn--primary{
  background: var(--cm-navy);
  color: var(--cm-off);
  box-shadow: 0 12px 24px rgba(11,31,59,.20);
}
.cm-btn--primary:hover{ transform: translateY(-1px); box-shadow: 0 18px 40px rgba(11,31,59,.26); }

.cm-btn--ghost{
  background: rgba(11,31,59,.06);
  color: var(--cm-navy);
  border: 1px solid rgba(11,31,59,.12);
}
.cm-btn--ghost:hover{ transform: translateY(-1px); background: rgba(11,31,59,.08); }

.cm-btn--gold{
  background: linear-gradient(135deg, rgba(200,162,74,.95), rgba(200,162,74,.70));
  color: #1b1406;
  box-shadow: 0 14px 26px rgba(200,162,74,.20);
}
.cm-btn--gold:hover{ transform: translateY(-1px); box-shadow: 0 18px 44px rgba(200,162,74,.26); }

.cm-btn--full{ width:100%; }

/* Burger */
.cm-burger{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(11,31,59,.12);
  background: rgba(247,245,239,.8);
  cursor:pointer;
  transition: transform .25s var(--cm-ease), background .25s var(--cm-ease);
}
.cm-burger:hover{ transform: translateY(-1px); background: rgba(247,245,239,.95); }
.cm-burger__line{
  display:block;
  width:18px;
  height:2px;
  background: var(--cm-navy);
  margin:4px auto;
  border-radius:2px;
}

/* Drawer */
.cm-drawer{
  position:fixed;
  inset:0;
  z-index:9999;
  pointer-events:none;
}
.cm-drawer.is-open{ pointer-events:auto; }
.cm-drawer__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.38);
  opacity:0;
  transition: opacity .25s var(--cm-ease);
}
.cm-drawer.is-open .cm-drawer__overlay{ opacity:1; }

.cm-drawer__panel{
  position:absolute;
  top:0;
  right:0;
  height:100%;
  width:min(420px, 92vw);
  background: rgba(247,245,239,.98);
  border-left: var(--cm-border);
  box-shadow: var(--cm-shadow);
  transform: translateX(18px);
  opacity:0;
  transition: transform .28s var(--cm-ease), opacity .28s var(--cm-ease);
  display:flex;
  flex-direction:column;
}
.cm-drawer.is-open .cm-drawer__panel{
  transform: translateX(0);
  opacity:1;
}
.cm-drawer__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 16px 10px;
  border-bottom: var(--cm-border);
}
.cm-drawer__title{ font-weight:900; color:var(--cm-navy); }
.cm-x{
  width:40px;height:40px;
  border-radius:14px;
  border:1px solid rgba(11,31,59,.12);
  background: rgba(11,31,59,.05);
  cursor:pointer;
  font-size:22px;
  line-height:1;
  color:var(--cm-navy);
}
.cm-drawer__content{
  padding:14px 16px 18px;
  overflow:auto;
}
.cm-mobile__list{
  list-style:none;
  padding:0;margin:0;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.cm-mobile__list a{
  display:flex;
  padding:12px 12px;
  border-radius:14px;
  text-decoration:none;
  color:var(--cm-slate);
  font-weight:800;
  background: rgba(11,31,59,.04);
  border:1px solid rgba(11,31,59,.08);
}
.cm-mobile__list a:hover{ background: rgba(11,31,59,.06); }
.cm-drawer__cta{
  margin-top:14px;
  display:grid;
  gap:10px;
}

/* Modal */
.cm-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  pointer-events:none;
}
.cm-modal.is-open{ pointer-events:auto; }
.cm-modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.40);
  opacity:0;
  transition: opacity .25s var(--cm-ease);
}
.cm-modal.is-open .cm-modal__overlay{ opacity:1; }

.cm-modal__panel{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, calc(-50% + 14px));
  width:min(720px, 92vw);
  background: rgba(247,245,239,.98);
  border: var(--cm-border);
  border-radius: 22px;
  box-shadow: var(--cm-shadow);
  opacity:0;
  transition: transform .28s var(--cm-ease), opacity .28s var(--cm-ease);
  overflow:hidden;
}
.cm-modal.is-open .cm-modal__panel{
  transform: translate(-50%, -50%);
  opacity:1;
}

.cm-modal__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:18px 18px 12px;
  border-bottom: var(--cm-border);
  background: radial-gradient(120% 120% at 10% 10%, rgba(200,162,74,.18), transparent 55%),
              linear-gradient(180deg, rgba(11,31,59,.05), transparent);
}
.cm-modal__title strong{
  display:block;
  color: var(--cm-navy);
  font-size:18px;
}
.cm-modal__title span{
  display:block;
  margin-top:4px;
  color: rgba(44,52,64,.85);
  font-size:13px;
}
.cm-modal__body{ padding:16px 18px 18px; }

.cm-form .cm-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.cm-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:12px;
}
.cm-field span{
  font-size:13px;
  font-weight:800;
  color: var(--cm-navy);
}
.cm-field input,
.cm-field textarea{
  border-radius: 14px;
  border:1px solid rgba(11,31,59,.14);
  background: rgba(255,255,255,.75);
  padding:12px 12px;
  outline:none;
  transition: box-shadow .2s var(--cm-ease), border-color .2s var(--cm-ease);
  font-size:14px;
}
.cm-field input:focus,
.cm-field textarea:focus{
  border-color: rgba(200,162,74,.65);
  box-shadow: 0 0 0 4px rgba(200,162,74,.18);
}
.cm-form__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:6px;
}

/* Responsive */
@media (max-width: 980px){
  .cm-menu{ display:none; }
  .cm-burger{ display:inline-flex; align-items:center; justify-content:center; }
  .cm-topbar__inner{ gap:10px; }
  .cm-topbar__left{ display:none; }
}
@media (max-width: 700px){
  .cm-btn--primary{ display:none; } /* keep UI clean; WhatsApp in sticky bar later */
  .cm-form .cm-grid{ grid-template-columns:1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; scroll-behavior:auto !important; }
}

.cm-scroll-lock { overflow: hidden; }

/* =========================
   NAV DROPDOWN (RTL) - Premium
   ========================= */

.cm-header { position: sticky; top: 0; z-index: 999; }
.cm-header, .cm-header * { direction: rtl; }

.cm-nav { position: relative; }
.cm-nav .cm-menu__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; align-items: center; }
.cm-nav .cm-menu__list li { position: relative; }
.cm-nav .cm-menu__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 950;
}

/* مهم: منع قص الدروبداون */
.cm-header, .cm-nav, .cm-nav .cm-menu__list { overflow: visible; }

/* ===== Submenu base ===== */
.cm-nav .sub-menu{
  list-style: none;
  margin: 0;
  padding: 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 260px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(11,31,59,.12);
  box-shadow: 0 18px 55px rgba(11,31,59,.14);
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

/* منع الـ hover gap: خلي الـ li يعمل مساحة فوق submenu */
.cm-nav .cm-menu li.menu-item-has-children { padding-bottom: 10px; }

/* عناصر submenu */
.cm-nav .sub-menu a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  color: rgba(11,31,59,.92);
  background: rgba(11,31,59,.03);
  border: 1px solid rgba(11,31,59,.06);
}
.cm-nav .sub-menu a:hover{
  background: rgba(200,162,74,.12);
  border-color: rgba(200,162,74,.22);
}

/* ===== Desktop open on hover + focus-within ===== */
@media (min-width: 981px){
  .cm-nav .cm-menu li.menu-item-has-children:hover > .sub-menu,
  .cm-nav .cm-menu li.menu-item-has-children:focus-within > .sub-menu,
  .cm-nav .cm-menu li.is-open > .sub-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ===== Mobile: Submenu becomes accordion (no absolute) ===== */
@media (max-width: 980px){
  .cm-nav .cm-mobmenu{
    display: block;
    row-gap : 5px;
  }

  .cm-nav .cm-mobmenu .sub-menu {
    position: static;
    min-width: 0;
    box-shadow: none;
    border-radius: 16px;
    background: rgba(11,31,59,.03);
    border: 1px solid rgba(11,31,59,.08);

    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 8px;
    margin-top: 8px;

    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }

  .cm-nav .cm-mobmenu li.is-open > .sub-menu{
    max-height: 800px;
  }

  /* زر toggle للموبايل */
  .cm-nav .cm-subtoggle{
    border: 0;
    background: rgba(11,31,59,.04);
    border: 1px solid rgba(11,31,59,.08);
    width: 38px;
    height: 38px;
    border-radius: 14px;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
  }
  .cm-nav .cm-subtoggle svg{
    transition: transform .25s ease;
  }
  .cm-nav li.is-open > .cm-subtoggle svg{
    transform: rotate(180deg);
  }
}

/* حالات focus للكيبورد */
.cm-nav a:focus-visible, .cm-nav button:focus-visible{
  outline: 2px solid rgba(200,162,74,.55);
  outline-offset: 2px;
}


/* ========================================= */
/* ===== Final CTA (Dark + SVG motion) ===== */
/* ========================================= */

.cm-finalcta{
  position:relative;
  overflow:hidden;
  background: linear-gradient(135deg, #0B1F3B, #07162a);
  color: rgba(247,245,239,.92);
  border-top: 1px solid rgba(247,245,239,.08);
}

.cm-finalcta__bg{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}

.cm-finalcta__svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity: .95;
  filter: drop-shadow(0 28px 70px rgba(0,0,0,.35));
}

.cm-finalcta__grid{
  position:absolute;
  inset:-2px;
  background:
    linear-gradient(to right, rgba(247,245,239,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247,245,239,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .10;
  mask-image: radial-gradient(circle at 30% 10%, #000 0%, transparent 60%);
}

.cm-finalcta__inner{
  position:relative;
  z-index:1;
  padding: 68px 0;
}

.cm-finalcta__card{
  border-radius: 28px;
  background: rgba(247,245,239,.06);
  border: 1px solid rgba(247,245,239,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  padding: 20px 18px;
  position:relative;
  overflow:hidden;
}

.cm-finalcta__card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(520px 200px at 10% 0%, rgba(200,162,74,.18), transparent 60%),
    radial-gradient(420px 180px at 90% 20%, rgba(247,245,239,.06), transparent 60%);
  opacity:.95;
  pointer-events:none;
}

.cm-finalcta__kicker{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 950;
  color: rgba(247,245,239,.92);
  background: rgba(247,245,239,.06);
  border: 1px solid rgba(247,245,239,.12);
}

.cm-finalcta__dot{
  width:10px;height:10px;border-radius:999px;
  background: rgba(200,162,74,.95);
  box-shadow: 0 0 0 6px rgba(200,162,74,.16);
}

.cm-finalcta__title{
  position:relative;
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 950;
  letter-spacing: .2px;
  color: rgba(247,245,239,.98);
  max-width: 60ch;
}

.cm-finalcta__lead{
  position:relative;
  margin: 0 0 14px;
  color: rgba(247,245,239,.84);
  line-height: 1.9;
  font-weight: 700;
  max-width: 78ch;
}

.cm-finalcta__chips{
  position:relative;
  display:flex;
  gap: 8px;
  flex-wrap:wrap;
  margin: 0 0 14px;
}

.cm-chip--dark{
  background: var(--cm-gold) !;
  border: 1px solid rgba(247,245,239,.12);
  color: rgba(247,245,239,.92);
}

.cm-finalcta__cta{
  position:relative;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom: 10px;
}

/* Ghost button for dark bg */
.cm-btn--ghostdark{
  background: rgba(247,245,239,.06);
  border: 1px solid rgba(247,245,239,.14);
  color: rgba(247,245,239,.92);
}
.cm-btn--ghostdark:hover{
  background: rgba(247,245,239,.09);
}

.cm-finalcta__fine{
  position:relative;
  margin: 0;
  color: rgba(247,245,239,.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
}

/* SVG animations */
@keyframes cmBlobFloatA {
  0% { transform: translate3d(0,0,0) scale(1); opacity:.92; }
  50%{ transform: translate3d(18px, -12px,0) scale(1.03); opacity:.98; }
  100%{ transform: translate3d(0,0,0) scale(1); opacity:.92; }
}
@keyframes cmBlobFloatB {
  0% { transform: translate3d(0,0,0) scale(1); opacity:.88; }
  50%{ transform: translate3d(-14px, 10px,0) scale(1.02); opacity:.96; }
  100%{ transform: translate3d(0,0,0) scale(1); opacity:.88; }
}
@keyframes cmLineMove {
  0% { stroke-dashoffset: 0; opacity:.90; }
  100%{ stroke-dashoffset: -240; opacity:.90; }
}
@keyframes cmSparkPulse {
  0%, 100% { transform: translateZ(0) scale(1); opacity:.65; }
  50% { transform: translateZ(0) scale(1.25); opacity:1; }
}

.cm-svg-blob--a{ animation: cmBlobFloatA 10s cubic-bezier(.2,.8,.2,1) infinite; }
.cm-svg-blob--b{ animation: cmBlobFloatB 12s cubic-bezier(.2,.8,.2,1) infinite; }

.cm-svg-line{
  stroke-dasharray: 18 10;
  animation: cmLineMove 16s linear infinite;
}
.cm-svg-line--b{
  stroke-dasharray: 10 14;
  animation-duration: 20s;
  opacity:.6;
}

.cm-svg-sparks{ animation: cmSparkPulse 2.8s cubic-bezier(.2,.8,.2,1) infinite; }

/* Responsive */
@media (max-width: 980px){
  .cm-finalcta__inner{ padding: 54px 0; }
  .cm-finalcta__title{ font-size: 26px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .cm-svg-blob--a,
  .cm-svg-blob--b,
  .cm-svg-line,
  .cm-svg-sparks{
    animation: none !important;
  }
}

/* ================================= */
/* ===== Footer (Dark Premium) ===== */
/* ================================= */
.cm-footer{
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0B1F3B, #07162a);
  color: rgba(247,245,239,.92);
  border-top: 1px solid rgba(247,245,239,.08);
}

.cm-footer__bg{ position:absolute; inset:0; pointer-events:none; z-index:0; }
.cm-footer__svg{ position:absolute; inset:0; width:100%; height:100%; opacity:.95; filter: drop-shadow(0 28px 70px rgba(0,0,0,.35)); }
.cm-footer__grid{
  position:absolute; inset:-2px;
  background:
    linear-gradient(to right, rgba(247,245,239,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(247,245,239,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .10;
  mask-image: radial-gradient(circle at 30% 0%, #000 0%, transparent 62%);
}

.cm-footer__inner{ position:relative; z-index:1; padding: 58px 0 22px; }

.cm-footer__top{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(247,245,239,.10);
}

.cm-footer__logo{
  display:flex;
  gap: 12px;
  align-items:center;
  margin-bottom: 12px;
}
.cm-footer__mark{
  width: 44px; height: 44px;
  border-radius: 18px;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(200,162,74,.24), transparent 55%),
    linear-gradient(135deg, rgba(247,245,239,.10), rgba(247,245,239,.04));
  border: 1px solid rgba(200,162,74,.18);
  box-shadow: 0 18px 38px rgba(0,0,0,.20);
}
.cm-footer__name{
  display:block;
  font-weight: 950;
  color: rgba(247,245,239,.98);
  font-size: 16px;
}
.cm-footer__tagline{
  display:block;
  margin-top: 2px;
  color: rgba(247,245,239,.72);
  font-weight: 800;
  font-size: 12px;
}

.cm-footer__desc{
  margin: 0 0 12px;
  color: rgba(247,245,239,.82);
  line-height: 1.9;
  font-weight: 700;
  font-size: 13px;
  max-width: 62ch;
}

.cm-footer__quick{ display:flex; gap: 10px; flex-wrap:wrap; }

.cm-footer__qbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 16px;
  text-decoration:none;
  font-weight: 950;
  font-size: 13px;
  background: rgba(247,245,239,.06);
  border: 1px solid rgba(247,245,239,.14);
  color: rgba(247,245,239,.92);
  transition: transform .25s var(--cm-ease), background .25s var(--cm-ease);
}
.cm-footer__qbtn:hover{ transform: translateY(-1px); background: rgba(247,245,239,.09); }
.cm-footer__qbtn--gold{
  background: linear-gradient(135deg, rgba(200,162,74,.95), rgba(200,162,74,.70));
  border-color: rgba(200,162,74,.45);
  color: #1b1406;
  box-shadow: 0 18px 40px rgba(200,162,74,.16);
}

.cm-footer__h{
  margin: 0 0 12px;
  font-weight: 950;
  color: rgba(247,245,239,.96);
  font-size: 14px;
}

.cm-footer__list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}
.cm-footer__list a{
  text-decoration:none;
  color: rgba(247,245,239,.80);
  font-weight: 800;
  font-size: 13px;
  transition: color .2s var(--cm-ease), transform .2s var(--cm-ease);
  display:inline-flex;
}
.cm-footer__list a:hover{ color: rgba(247,245,239,.96); transform: translateY(-1px); }

.cm-footer__contact{ display:grid; gap: 10px; }
.cm-footer__contactrow{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: rgba(247,245,239,.86);
  font-weight: 800;
  font-size: 13px;
  padding: 10px 10px;
  border-radius: 18px;
  background: rgba(247,245,239,.05);
  border: 1px solid rgba(247,245,239,.10);
}
.cm-footer__ico{
  width: 34px; height: 34px;
  border-radius: 14px;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(200,162,74,.22), transparent 55%),
    linear-gradient(135deg, rgba(247,245,239,.08), rgba(247,245,239,.02));
  border: 1px solid rgba(200,162,74,.14);
}
.cm-footer__tiny{
  margin: 12px 0 0;
  color: rgba(247,245,239,.70);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.8;
}

.cm-footer__bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding-top: 16px;
}
.cm-footer__copy{
  margin:0;
  color: rgba(247,245,239,.70);
  font-weight: 800;
  font-size: 12px;
}
.cm-footer__bottomlinks{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
}
.cm-footer__bottomlinks a{
  color: rgba(247,245,239,.70);
  text-decoration:none;
  font-weight: 800;
  font-size: 12px;
}
.cm-footer__bottomlinks a:hover{ color: rgba(247,245,239,.92); }

/* Footer SVG animations */
@keyframes cmFBlobA { 0%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(18px,-12px,0) scale(1.03)} 100%{transform:translate3d(0,0,0) scale(1)} }
@keyframes cmFBlobB { 0%{transform:translate3d(0,0,0) scale(1)} 50%{transform:translate3d(-14px,10px,0) scale(1.02)} 100%{transform:translate3d(0,0,0) scale(1)} }
@keyframes cmFLine { 0%{stroke-dashoffset:0} 100%{stroke-dashoffset:-240} }
@keyframes cmFSparks { 0%,100%{transform:scale(1);opacity:.65} 50%{transform:scale(1.25);opacity:1} }

.cm-fsvg-blob--a{ animation: cmFBlobA 10s cubic-bezier(.2,.8,.2,1) infinite; }
.cm-fsvg-blob--b{ animation: cmFBlobB 12s cubic-bezier(.2,.8,.2,1) infinite; }

.cm-fsvg-line{
  stroke-dasharray: 18 10;
  animation: cmFLine 16s linear infinite;
}
.cm-fsvg-line--b{
  stroke-dasharray: 10 14;
  animation-duration: 20s;
  opacity:.6;
}
.cm-fsvg-sparks{ animation: cmFSparks 2.8s cubic-bezier(.2,.8,.2,1) infinite; }

@media (prefers-reduced-motion: reduce){
  .cm-fsvg-blob--a,.cm-fsvg-blob--b,.cm-fsvg-line,.cm-fsvg-sparks{ animation:none !important; }
}

/* Responsive footer */
@media (max-width: 980px){
  .cm-footer__top{ grid-template-columns: 1fr; }
  .cm-footer__bottom{ flex-direction:column; align-items:flex-start; }
}

/* ===== Floating Premium Buttons (FAB) ===== */
.cm-fab{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9999;
  display: grid;
  gap: 10px;
  align-items: end;
  justify-items: end;
  direction: rtl;
}

.cm-fab.is-hidden{ opacity: 0; transform: translateY(10px); pointer-events:none; transition: opacity .25s var(--cm-ease), transform .25s var(--cm-ease); }
.cm-fab{ transition: opacity .25s var(--cm-ease), transform .25s var(--cm-ease); }

.cm-fab__main{
  width: 54px; height: 54px;
  border-radius: 20px;
  border: 1px solid rgba(200,162,74,.45);
  background: linear-gradient(135deg, rgba(200,162,74,.95), rgba(200,162,74,.70));
  color: #1b1406;
  cursor: pointer;
  box-shadow: 0 22px 52px rgba(200,162,74,.18);
  position: relative;
  display:grid;
  place-items:center;
}

.cm-fab__plus{ font-size: 22px; font-weight: 950; line-height: 1; transform: translateY(-1px); }

.cm-fab__pulse{
  position:absolute;
  inset:-8px;
  border-radius: 26px;
  background: radial-gradient(closest-side, rgba(200,162,74,.20), transparent 70%);
  opacity: .9;
  animation: cmPulse 2.4s cubic-bezier(.2,.8,.2,1) infinite;
}

@keyframes cmPulse{
  0%{ transform: scale(1); opacity:.55; }
  60%{ transform: scale(1.12); opacity:.25; }
  100%{ transform: scale(1); opacity:.55; }
}

.cm-fab__item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 18px;
  text-decoration:none;
  border: 1px solid rgba(247,245,239,.14);
  background: rgba(11,31,59,.92);
  color: rgba(247,245,239,.92);
  box-shadow: 0 22px 60px rgba(0,0,0,.30);
  transform: translateY(6px);
  opacity: 0;
  pointer-events:none;
  transition: opacity .25s var(--cm-ease), transform .25s var(--cm-ease), background .25s var(--cm-ease);
  backdrop-filter: blur(10px);
}

.cm-fab__item--wa{
  border-color: rgba(200,162,74,.28);
  background: rgba(7,22,42,.96);
}
.cm-fab__item--tel{
  border-color: rgba(247,245,239,.14);
  background: rgba(7,22,42,.92);
}

.cm-fab__icon{
  width: 34px; height: 34px;
  border-radius: 14px;
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(200,162,74,.22), transparent 55%),
    linear-gradient(135deg, rgba(247,245,239,.10), rgba(247,245,239,.04));
  border: 1px solid rgba(200,162,74,.16);
}

.cm-fab__label{
  font-weight: 950;
  font-size: 13px;
  white-space: nowrap;
}

/* open state */
.cm-fab.is-open .cm-fab__item{
  transform: translateY(0);
  opacity: 1;
  pointer-events:auto;
}
.cm-fab.is-open .cm-fab__item:nth-child(2){ transition-delay: .03s; }
.cm-fab.is-open .cm-fab__item:nth-child(3){ transition-delay: .08s; }

/* subtle hover */
.cm-fab__item:hover{ background: rgba(7,22,42,.98); transform: translateY(-1px); }
.cm-fab__main:hover{ transform: translateY(-1px); }

/* Mobile: make labels always visible and keep it slightly higher to avoid browser bars */
@media (max-width: 640px){
  .cm-fab{ left: 12px; bottom: 12px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .cm-fab__pulse{ animation:none !important; }
}
