/* Consulate website — shared styles of includes/header.php and includes/footer.php
   (moved out of the pages on 2026-10-31 so the browser caches them; rules unchanged, same order). */
/* ═══════════════════════════════════════════════════════════
   GLOBAL TOKENS
═══════════════════════════════════════════════════════════ */
:root {
  --navy:       #0f2441;
  --navy-mid:   #1a365d;
  --navy-lt:    #2d4a7c;
  --gold:       #1e3a6e;
  --gold-br:    #2d5a9e;
  --gold-pale:  #e8eef6;
  --white:      #ffffff;
  --cream:      #faf8f4;
  --ink:        #1e293b;
  --ink-mid:    #475569;
  --border:     #dde4ef;
  --bg:         #edf1f7;
  --shadow-sm:  0 2px 8px rgba(15,36,65,.08);
  --shadow-md:  0 6px 24px rgba(15,36,65,.13);

  --font-en: 'Poppins', -apple-system, sans-serif;
  --font-fa: 'Vazirmatn', Tahoma, sans-serif;
}

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

body {
  font-family: var(--font-en);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  top: 0 !important;
}
html[dir="rtl"] body {
  font-family: var(--font-fa);
  font-size: 18px;
  text-align: right;
}

/* LTR helpers */
.ltr-text,.ltr-line,.contact-ltr,.ltr-inline {
  direction: ltr; unicode-bidi: isolate; display: inline-block;
}

/* ═══════════════════════════════════════════════════════════
   ANNOUNCEMENT BAR — top strip
═══════════════════════════════════════════════════════════ */
.announce-bar {
  background: linear-gradient(90deg, #0a1628 0%, var(--navy) 50%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}
.announce-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(30,58,110,.5) 50%, transparent 100%);
}
.announce-bar-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 28px;
  display: flex; align-items: center;
  justify-content: space-between;
  min-height: 42px; gap: 16px;
}
.announce-left {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.announce-item {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-en);
  font-size: .9rem; color: rgba(255,255,255,.75);
  white-space: nowrap;
}
html[dir="rtl"] .announce-item { font-family: var(--font-fa); font-size: .95rem; }
.announce-item svg { flex-shrink: 0; opacity: .6; }
.announce-item a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.announce-item a:hover { color: var(--gold-br); }
.announce-chat-link { color: var(--gold-br,#d4a853) !important; font-weight: 600; animation: chatLinkBlink 1.5s ease-in-out infinite; }
.announce-chat-link:hover { color: #fff !important; animation: none; }
@keyframes chatLinkBlink { 0%,100%{ color:#d4a853; text-shadow:none; } 50%{ color:#fff; text-shadow:0 0 8px rgba(212,168,83,0.8), 0 0 16px rgba(212,168,83,0.4); } }
.announce-sep { color: rgba(255,255,255,.2); font-size: .7rem; }

.announce-right {
  display: flex; align-items: center; gap: 10px;
}
.announce-soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  color: rgba(255,255,255,.45);
  text-decoration: none; transition: all .25s;
}
.announce-soc:hover { color: var(--gold-br); transform: translateY(-1px); }

/* ═══════════════════════════════════════════════════════════
   MAIN NAVBAR — logo + nav + actions (Dubai style)
═══════════════════════════════════════════════════════════ */
.m-nav {
  background: var(--white);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(15,36,65,.08);
  transition: box-shadow .3s;
}
.m-nav.scrolled {
  box-shadow: 0 4px 30px rgba(15,36,65,.15);
}
.m-nav-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 28px;
  display: flex; align-items: center;
  min-height: 72px; gap: 0;
}

/* ── Logo area ── */
.m-nav-brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--navy);
  flex-shrink: 0;
  padding-right: 32px;
  margin-right: 8px;
  border-right: 1px solid var(--border);
}
html[dir="rtl"] .m-nav-brand {
  padding-right: 0; padding-left: 32px;
  margin-right: 0; margin-left: 8px;
  border-right: none; border-left: 1px solid var(--border);
}
.m-nav-logo {
  width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid rgba(30,58,110,.3);
  object-fit: cover; flex-shrink: 0;
  transition: border-color .3s;
}
.m-nav-brand:hover .m-nav-logo { border-color: var(--gold); }
.m-nav-title {
  display: flex; flex-direction: column;
}
.m-nav-title-sub {
  font-family: var(--font-en);
  font-size: .75rem; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--ink-mid);
  line-height: 1.2;
}
html[dir="rtl"] .m-nav-title-sub { font-family: var(--font-fa); letter-spacing: .3px; font-size: .82rem; }
.m-nav-title-main {
  font-family: var(--font-en);
  font-size: 1.25rem; font-weight: 700;
  color: var(--navy);
  line-height: 1.25; margin-top: 2px;
}
html[dir="rtl"] .m-nav-title-main { font-family: var(--font-fa); font-size: 1.35rem; letter-spacing: 0; }

/* ── Nav links ── */
.m-nav-links {
  list-style: none; display: flex; align-items: stretch;
  margin: 0; padding: 0; flex: 1;
}
html[dir="rtl"] .m-nav-links { flex-direction: row-reverse; }

.m-nav-links > li {
  position: relative; display: flex; align-items: stretch;
}

.m-nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 0 18px; min-height: 72px;
  font-family: var(--font-en);
  font-size: 1rem; font-weight: 500;
  color: var(--ink);
  text-decoration: none; white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .3s, background .3s, transform .3s cubic-bezier(.16,1,.3,1);
  position: relative;
  z-index: 1;
}
html[dir="rtl"] .m-nav-links > li > a { font-family: var(--font-fa); font-size: 1.08rem; }

/* Animated underline */
.m-nav-links > li > a::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-br));
  border-radius: 3px 3px 0 0;
  transition: left .35s cubic-bezier(.16,1,.3,1), right .35s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 -2px 8px rgba(30,58,110,.25);
}
.m-nav-links > li > a:hover::after,
.m-nav-links > li > a.active::after {
  left: 12px; right: 12px;
}

/* Subtle hover glow background */
.m-nav-links > li > a::before {
  content: ''; position: absolute; inset: 8px 8px 0 8px; z-index: -1;
  background: linear-gradient(180deg, rgba(30,58,110,.08), rgba(30,58,110,.02));
  border-radius: 10px 10px 0 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s, transform .3s cubic-bezier(.16,1,.3,1);
}
.m-nav-links > li > a:hover::before,
.m-nav-links > li > a.active::before {
  opacity: 1; transform: translateY(0);
}

.m-nav-links > li > a:hover {
  color: var(--navy);
  transform: translateY(-1px);
}
.m-nav-links > li > a.active {
  color: var(--navy); font-weight: 600;
}

/* Dropdown chevron */
.m-dd-arrow {
  width: 10px; height: 10px; flex-shrink: 0;
  transition: transform .3s; opacity: .5;
  margin-left: 2px;
}
html[dir="rtl"] .m-dd-arrow { margin-left: 0; margin-right: 2px; }
.m-nav-links > li:hover .m-dd-arrow { transform: rotate(180deg); opacity: 1; }

/* ── Dropdown panel (modern 3D card style) ── */
.m-nav-links > li { perspective: 1200px; }

.m-nav-dd {
  position: absolute;
  top: calc(100% - 4px); left: 0;
  width: 320px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  border: 1px solid rgba(15,36,65,.08);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 16px 16px;
  box-shadow:
    0 24px 60px -10px rgba(15,36,65,.25),
    0 8px 20px -5px rgba(15,36,65,.10),
    inset 0 1px 0 rgba(255,255,255,.9);
  opacity: 0; visibility: hidden;
  transform: translateY(14px) rotateX(-12deg);
  transform-origin: top center;
  transition:
    opacity .35s cubic-bezier(.16,1,.3,1),
    visibility .35s,
    transform .4s cubic-bezier(.16,1,.3,1);
  z-index: 3000; overflow: hidden;
  padding: 10px 0;
  backdrop-filter: blur(8px);
}
html[dir="rtl"] .m-nav-dd { left: auto; right: 0; }

/* Subtle gradient accent at top of dropdown */
.m-nav-dd::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-br), transparent);
  opacity: .6;
}

.m-nav-links > li:hover .m-nav-dd,
.m-nav-links > li:focus-within .m-nav-dd {
  opacity: 1; visibility: visible;
  transform: translateY(0) rotateX(0);
}

/* Staggered fade-in for items inside dropdown */
.m-nav-dd a, .m-nav-dd .m-dd-section, .m-nav-dd .m-dd-divider {
  opacity: 0; transform: translateY(-6px);
  transition: opacity .3s ease, transform .3s ease;
}
.m-nav-links > li:hover .m-nav-dd a,
.m-nav-links > li:hover .m-nav-dd .m-dd-section,
.m-nav-links > li:hover .m-nav-dd .m-dd-divider,
.m-nav-links > li:focus-within .m-nav-dd a,
.m-nav-links > li:focus-within .m-nav-dd .m-dd-section,
.m-nav-links > li:focus-within .m-nav-dd .m-dd-divider {
  opacity: 1; transform: translateY(0);
}
.m-nav-dd > *:nth-child(1) { transition-delay: .04s; }
.m-nav-dd > *:nth-child(2) { transition-delay: .08s; }
.m-nav-dd > *:nth-child(3) { transition-delay: .12s; }
.m-nav-dd > *:nth-child(4) { transition-delay: .16s; }
.m-nav-dd > *:nth-child(5) { transition-delay: .20s; }
.m-nav-dd > *:nth-child(6) { transition-delay: .24s; }
.m-nav-dd > *:nth-child(7) { transition-delay: .28s; }
.m-nav-dd > *:nth-child(8) { transition-delay: .32s; }
.m-nav-dd > *:nth-child(n+9) { transition-delay: .36s; }

/* Hover effect on dropdown items — slide indicator */
.m-nav-dd a {
  position: relative; overflow: hidden;
}
.m-nav-dd a::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(180deg, var(--gold), var(--gold-br));
  transform: scaleY(0); transform-origin: top;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
html[dir="rtl"] .m-nav-dd a::after { left: auto; right: 0; }
.m-nav-dd a:hover::after { transform: scaleY(1); }
.m-nav-dd a:hover {
  background: linear-gradient(90deg, rgba(30,58,110,.06), transparent) !important;
  padding-left: 28px !important;
  color: var(--gold) !important;
}
html[dir="rtl"] .m-nav-dd a:hover {
  padding-left: 20px !important;
  padding-right: 28px !important;
}

.m-dd-section {
  padding: 10px 20px 6px;
  font-family: var(--font-en);
  font-size: .68rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold);
}
html[dir="rtl"] .m-dd-section { font-family: var(--font-fa); letter-spacing: .5px; font-size: .78rem; }

.m-nav-dd a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px;
  font-family: var(--font-en); font-size: .95rem !important;
  font-weight: 400 !important; text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--ink) !important;
  text-decoration: none;
  min-height: 0 !important;
  background: transparent !important;
  transition: all .2s !important;
  border: none !important;
}
html[dir="rtl"] .m-nav-dd a { font-family: var(--font-fa); font-size: 1rem !important; }

.m-nav-dd a::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--border); flex-shrink: 0; transition: all .2s;
}
.m-nav-dd a:hover {
  background: rgba(30,58,110,.06) !important;
  color: var(--navy) !important;
  padding-left: 26px !important;
}
html[dir="rtl"] .m-nav-dd a:hover { padding-left: 20px !important; padding-right: 26px !important; }
.m-nav-dd a:hover::before { background: var(--gold); transform: scale(1.3); }

.m-dd-divider { height: 1px; background: var(--border); margin: 6px 16px; }

/* ── Nav right actions ── */
.m-nav-actions {
  display: flex; align-items: center; gap: 6px;
  margin-left: auto;
  padding-left: 16px;
}
html[dir="rtl"] .m-nav-actions {
  margin-left: 0; margin-right: auto;
  padding-left: 0; padding-right: 16px;
}

/* Search button */
.m-nav-search {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: none; cursor: pointer;
  color: var(--ink-mid); transition: all .25s;
}
.m-nav-search:hover {
  background: rgba(30,58,110,.08);
  color: var(--gold);
}

/* Language switcher */
.m-lang {
  display: flex; align-items: center; gap: 2px;
  border-left: 1px solid var(--border);
  padding-left: 14px; margin-left: 8px;
}
html[dir="rtl"] .m-lang {
  border-left: none; border-right: 1px solid var(--border);
  padding-left: 0; padding-right: 14px;
  margin-left: 0; margin-right: 8px;
}
.m-lang a {
  display: inline-flex; align-items: center;
  padding: 5px 10px; border-radius: 6px;
  font-family: var(--font-en); font-size: .78rem; font-weight: 600;
  color: var(--ink-mid); text-decoration: none;
  transition: all .2s; white-space: nowrap;
}
.m-lang a:nth-child(2),
.m-lang a:nth-child(3) { font-family: var(--font-fa); font-size: .85rem; }
.m-lang a:hover { color: var(--navy); background: rgba(30,58,110,.06); }
.m-lang a.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-br));
  color: var(--white); font-weight: 700;
  box-shadow: 0 2px 8px rgba(30,58,110,.25);
}

/* Mobile hamburger */
.m-burger {
  display: none; flex-direction: column; cursor: pointer;
  width: 26px; height: 20px; justify-content: space-between;
  align-self: center; flex-shrink: 0;
  background: none; border: none; padding: 0;
  margin-left: 12px;
}
html[dir="rtl"] .m-burger { margin-left: 0; margin-right: 12px; }
.m-burger span {
  background: var(--navy); height: 2.5px; width: 100%;
  border-radius: 2px; transition: all .3s cubic-bezier(.4,0,.2,1);
  display: block;
}
.m-burger.open span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
.m-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.m-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .m-nav-links > li > a { padding: 0 12px; font-size: .92rem; }
  .m-nav-brand { padding-right: 20px; }
  html[dir="rtl"] .m-nav-brand { padding-left: 20px; }
}
/* ── Search Overlay ────────────────────────────────────── */
.search-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,36,65,.55); backdrop-filter: blur(6px);
  align-items: flex-start; justify-content: center; padding-top: 100px;
}
.search-overlay.open { display: flex; }
.search-box {
  background: var(--white); border-radius: 16px; width: 90%; max-width: 620px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25); overflow: hidden;
  animation: searchSlide .25s ease;
}
@keyframes searchSlide { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
.search-box-header {
  display: flex; align-items: center; gap: 12px; padding: 16px 20px;
  border-bottom: 2px solid var(--border);
}
.search-box-header svg { flex-shrink: 0; color: var(--ink-mid); }
.search-box-input {
  flex: 1; border: none; outline: none; font-size: 1.1rem; font-family: var(--font-en);
  color: var(--ink); background: transparent;
}
html[dir="rtl"] .search-box-input { font-family: var(--font-fa); text-align: right; }
.search-box-close {
  background: none; border: none; cursor: pointer; padding: 6px;
  color: var(--ink-mid); border-radius: 8px; display: flex; transition: all .2s;
}
.search-box-close:hover { background: rgba(0,0,0,.06); color: var(--navy); }
.search-results {
  max-height: 55vh; overflow-y: auto; padding: 8px 0;
}
.search-results:empty { display: none; }
.search-result-item {
  display: block; padding: 14px 20px; text-decoration: none;
  color: var(--ink); transition: background .15s; border-bottom: 1px solid var(--border);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(30,58,110,.05); }
.search-result-title { font-weight: 600; color: var(--navy); font-size: .95rem; margin-bottom: 3px; }
.search-result-page { font-size: .78rem; color: var(--ink-mid); }
.search-result-match { font-size: .88rem; color: var(--ink-mid); line-height: 1.5; }
.search-result-match mark { background: #fef08a; color: var(--ink); border-radius: 2px; padding: 0 2px; }
.search-no-result { padding: 24px 20px; text-align: center; color: var(--ink-mid); font-size: .95rem; }
/* Mobile search button in navbar */
.m-mob-search {
  display: none; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: rgba(30,58,110,.08); border: none; cursor: pointer;
  color: var(--navy); transition: all .2s;
}
.m-mob-search:hover { background: rgba(30,58,110,.15); }

/* Mobile-only elements hidden on desktop (only on desktop viewport) */
@media (min-width: 901px) {
  .m-mob-backdrop { display: none !important; }
  .m-drawer-head { display: none !important; }
}

@media (max-width: 900px) {
  .announce-bar-inner { flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px 16px; }
  .announce-left { gap: 10px; justify-content: center; flex: 1 1 100%; }
  .announce-right { justify-content: center; }
  .announce-item { font-size: .78rem; }
  html[dir="rtl"] .announce-item { font-size: .82rem; }
  .announce-sep { font-size: .55rem; }
  .m-burger { display: flex !important; }
  .m-nav-inner { min-height: 62px; flex-wrap: nowrap; gap: 8px; }
  /* ===== Mobile drawer (right side) — simple & reliable ===== */
  body.nav-open { overflow: hidden; }

  .m-mob-backdrop {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,36,65,.5);
    z-index: 998;
  }
  .m-mob-backdrop.show { display: block; }

  .m-burger { z-index: 1001; position: relative; }

  /* Hide menu by default on mobile */
  .m-nav-links {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    height: 100vh !important;
    width: 86% !important;
    max-width: 360px !important;
    background: #ffffff !important;
    box-shadow: -8px 0 30px rgba(15,36,65,.25);
    z-index: 1000;
    overflow-y: auto !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0 0 80px !important;
    margin: 0 !important;
    list-style: none;
    max-height: none !important;
    border: none !important;
    flex-direction: column !important;
  }
  html[dir="rtl"] .m-nav-links {
    right: auto !important; left: 0 !important;
    box-shadow: 8px 0 30px rgba(15,36,65,.25);
  }
  /* Show menu when .open class is added */
  .m-nav-links.open {
    display: block !important;
    animation: drawerSlideIn .35s cubic-bezier(.4,0,.2,1);
  }
  @keyframes drawerSlideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
  }
  html[dir="rtl"] .m-nav-links.open { animation-name: drawerSlideInRtl; }
  @keyframes drawerSlideInRtl {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
  }

  /* All top-level <li> visible blocks */
  .m-nav-links > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    position: relative !important;
  }

  /* Sticky drawer header (higher specificity to win over .m-nav-links > li) */
  .m-nav-links > li.m-drawer-head {
    display: flex !important;
    position: sticky !important;
    top: 0;
    width: 100%;
    height: 56px !important;
    padding: 0 18px !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: linear-gradient(135deg, #0f2441, #1a365d) !important;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    margin: 0 0 4px !important;
    z-index: 5;
    border-radius: 0 !important;
  }
  .m-drawer-title {
    font-size: .92rem; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: #fff !important;
  }
  .m-drawer-close {
    background: rgba(255,255,255,.18); border: none;
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; cursor: pointer; padding: 0;
    transition: all .2s;
    flex-shrink: 0;
  }
  .m-drawer-close:active { background: rgba(255,255,255,.35); transform: scale(.95); }

  /* Top-level menu links — styled visible items */
  .m-nav-links > li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px !important;
    min-height: 0;
    border-bottom: 1px solid rgba(15,36,65,.06) !important;
    font-size: 1rem;
    color: var(--ink) !important;
    text-decoration: none;
    background: transparent !important;
    transition: all .2s;
    width: 100%;
    box-sizing: border-box;
  }
  html[dir="rtl"] .m-nav-links > li > a { font-family: var(--font-fa); }
  .m-nav-links > li > a::after { display: none; }
  .m-nav-links > li > a::before { display: none; }
  .m-nav-links > li > a:hover {
    background: linear-gradient(90deg, rgba(30,58,110,.08), transparent) !important;
    color: var(--navy) !important;
    padding-left: 22px !important;
  }
  html[dir="rtl"] .m-nav-links > li > a:hover {
    padding-left: 16px !important;
    padding-right: 22px !important;
  }
  .m-nav-links > li > a.active {
    background: linear-gradient(135deg, rgba(30,58,110,.1), rgba(30,58,110,.04)) !important;
    color: var(--navy) !important; font-weight: 600;
  }
  .m-dd-arrow { transition: transform .3s cubic-bezier(.16,1,.3,1); }
  .m-nav-links > li.dd-open .m-dd-arrow { transform: rotate(180deg); }

  .m-nav-dd {
    position: static; opacity: 1; visibility: visible; transform: none;
    width: 100%; border-radius: 0 0 10px 10px; border: none;
    display: none; box-shadow: none;
    background: linear-gradient(180deg, #f0f4fa, #fafbfd);
    padding: 4px 0 6px;
    margin-top: -4px;
    border-top: 1px dashed rgba(30,58,110,.15);
  }
  .m-nav-links > li.dd-open .m-nav-dd {
    display: block;
    animation: ddSlide .3s cubic-bezier(.16,1,.3,1) forwards;
  }
  @keyframes ddSlide {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  /* Force dropdown items visible on mobile when dd-open is set
     (overrides the desktop hover/focus opacity rules). */
  .m-nav-links > li.dd-open .m-nav-dd a,
  .m-nav-links > li.dd-open .m-nav-dd .m-dd-section,
  .m-nav-links > li.dd-open .m-nav-dd .m-dd-divider {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition-delay: 0s !important;
  }
  .m-nav-dd a {
    padding: 9px 16px 9px 36px !important;
    font-size: .88rem !important;
    margin: 1px 6px;
    border-radius: 7px !important;
    line-height: 1.4;
    border: none !important;
  }
  html[dir="rtl"] .m-nav-dd a { padding-right: 36px !important; padding-left: 20px !important; }
  .m-nav-dd a::after { display: none !important; }
  .m-nav-dd a::before {
    content: '';
    position: absolute;
    left: 18px; top: 50%; transform: translateY(-50%) !important;
    width: 5px; height: 5px; border-radius: 50%;
    background: rgba(30,58,110,.4);
    transition: all .2s;
  }
  html[dir="rtl"] .m-nav-dd a::before { left: auto; right: 18px; }
  .m-nav-dd a:hover {
    background: rgba(30,58,110,.06) !important;
    color: var(--navy) !important;
    padding-left: 40px !important;
  }
  html[dir="rtl"] .m-nav-dd a:hover {
    padding-left: 20px !important;
    padding-right: 40px !important;
  }
  .m-nav-dd a:hover::before {
    background: var(--gold);
    transform: translateY(-50%) scale(1.5) !important;
  }
  .m-dd-section {
    padding: 8px 16px 4px !important;
    margin: 2px 6px 0;
    font-size: .65rem !important;
    color: var(--gold) !important;
  }
  .m-nav-brand { border-right: none; padding-right: 0; margin-right: 0; flex: 1; min-width: 0; overflow: hidden; }
  html[dir="rtl"] .m-nav-brand { border-left: none; padding-left: 0; margin-left: 0; }
  .m-nav-logo { width: 44px; height: 44px; flex-shrink: 0; }
  .m-nav-title { min-width: 0; }
  .m-nav-title-main { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-nav-title-sub { font-size: .66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-nav-actions { display: none !important; }
  .m-mob-search { display: flex; }
  .m-mob-lang {
    display: flex !important;
    gap: 2px; flex-shrink: 0;
  }
  .m-mob-lang a {
    display: inline-flex; padding: 4px 8px; border-radius: 5px;
    font-size: .72rem; font-weight: 600; color: var(--ink-mid);
    text-decoration: none; transition: all .2s;
  }
  .m-mob-lang a.active {
    background: var(--gold); color: #fff;
  }
}
@media (max-width: 600px) {
  .m-nav-inner { padding: 0 12px; min-height: 56px; gap: 6px; }
  .m-nav-logo { width: 38px; height: 38px; }
  .m-nav-title-main { font-size: .92rem; }
  .m-nav-title-sub { font-size: .6rem; letter-spacing: .8px; }
  html[dir="rtl"] .m-nav-title-sub { font-size: .7rem; }
  .announce-bar-inner { padding: 4px 12px; }
  .announce-left { gap: 6px; }
  .announce-item { font-size: .72rem; gap: 4px; }
  html[dir="rtl"] .announce-item { font-size: .76rem; }
  .announce-item svg { width: 10px; height: 10px; }
  .announce-sep { font-size: .45rem; }
  .m-mob-lang a { padding: 3px 6px; font-size: .65rem; }
  .m-mob-search { width: 30px; height: 30px; }
  .m-mob-search svg { width: 14px; height: 14px; }
  .m-burger { width: 22px; height: 17px; margin-left: 8px; }
  html[dir="rtl"] .m-burger { margin-left: 0; margin-right: 8px; }
  .search-overlay { padding-top: 20px; }
  .search-box { width: 95%; border-radius: 12px; }
}

/* ── SHARED CONSULAR PAGE STYLES (keep as-is) ── */
/* ═══ Consular Pages Shared Styles ═══════════════════════════════════════ */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 100%);
    color: white; padding: 60px 20px; text-align: center;
    margin-bottom: 40px; border-bottom: 4px solid var(--gold);
}
.page-header-content { max-width: 1200px; margin: 0 auto; }
.page-header-title { font-size: 2.6em; margin-bottom: 10px; font-weight: 700; }
.page-header-subtitle { font-size: 1.2em; opacity: .92; }
.consular-layout {
    max-width: 1400px; margin: 0 auto;
    padding: 0 20px 70px;
    display: grid; grid-template-columns: 280px 1fr; gap: 28px;
}
.sidebar-card {
    background: var(--white); border-radius: 12px;
    box-shadow: var(--shadow-md); border: 1px solid var(--border);
    padding: 20px; height: fit-content; position: sticky; top: 80px;
}
.sidebar-appt-btn {
    display: block; width: 100%; padding: 13px;
    background: linear-gradient(135deg, var(--gold), #17325c);
    color: white; text-align: center; text-decoration: none;
    border-radius: 9px; font-weight: 700; font-size: .95em;
    margin-bottom: 20px; transition: all .2s ease; box-sizing: border-box;
}
.sidebar-appt-btn:hover { opacity: .9; transform: translateY(-1px); }
.sidebar-title { color: var(--navy); font-size: 1.15em; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.sidebar-group { margin-bottom: 18px; }
.sidebar-group-label { color: var(--ink-mid); font-size: .78em; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 8px; }
.sidebar-links { list-style: none; margin: 0; padding: 0; }
.sidebar-links li { margin-bottom: 6px; }
.sidebar-links a { display: block; padding: 10px 14px; background: var(--bg); color: var(--navy); text-decoration: none; border-radius: 7px; font-weight: 600; font-size: .95em; border: 1px solid var(--border); transition: all .2s; }
.sidebar-links a:hover { background: #d4dce8; border-color: #93c5fd; }
.sidebar-links a.active { background: var(--navy); color: white; border-color: var(--navy); }
.sidebar-hours { margin-top: 18px; padding-top: 16px; border-top: 2px solid var(--border); }
.sidebar-hours-title { color: var(--navy); font-size: .9em; font-weight: 700; margin-bottom: 10px; }
.hours-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .85em; }
.hours-row:last-child { border-bottom: none; }
.hours-day { color: var(--ink-mid); font-weight: 500; }
.hours-time { color: var(--navy); font-weight: 700; }
.hours-time.closed { color: #dc2626; }
.content-card { background: var(--white); border-radius: 12px; box-shadow: var(--shadow-md); border: 1px solid var(--border); padding: 36px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: .88em; color: var(--ink-mid); flex-wrap: wrap; }
.breadcrumb a { color: var(--navy); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #cbd5e0; }
html[dir="rtl"] .breadcrumb { flex-direction: row-reverse; }
.content-title { color: var(--navy); font-size: 2.2em; font-weight: 700; margin-bottom: 6px; }
.content-intro { color: var(--ink-mid); font-size: 1.12em; line-height: 1.85; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 2px solid var(--border); }
.content-section { margin-bottom: 32px; }
.section-heading { color: var(--navy); font-size: 1.35em; font-weight: 700; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.alert-box { padding: 14px 18px; border-radius: 9px; margin-bottom: 12px; line-height: 1.75; font-size: 1.05em; }
.alert-box.red { background:#fff5f5; border:1px solid #fed7d7; border-left:4px solid #f56565; color:#742a2a; }
.alert-box.yellow { background:#eff6ff; border:1px solid #bfdbfe; border-left:4px solid var(--gold); color:#1e3a8a; }
.alert-box.blue { background:#eff6ff; border:1px solid #bfdbfe; border-left:4px solid #2d5a9e; color:#1e3a8a; }
html[dir="rtl"] .alert-box { border-left:1px solid; border-right:4px solid; }
html[dir="rtl"] .alert-box.red { border-right-color:#f56565; border-left-color:#fed7d7; }
html[dir="rtl"] .alert-box.yellow { border-right-color:var(--gold); border-left-color:#bfdbfe; }
html[dir="rtl"] .alert-box.blue { border-right-color:#2d5a9e; border-left-color:#bfdbfe; }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { padding: 14px 16px; margin-bottom: 10px; background: var(--bg); border-radius: 8px; border: 1px solid var(--border); border-left: 3px solid var(--navy); color: var(--ink-mid); line-height: 1.8; font-size: 1.05em; }
html[dir="rtl"] .doc-list li { border-left:1px solid var(--border); border-right:3px solid var(--navy); }
.doc-list li strong { color: var(--navy); display: block; margin-bottom: 3px; }
.photo-sub { margin: 10px 0 0; padding-left: 18px; }
html[dir="rtl"] .photo-sub { padding-left:0; padding-right:18px; }
.photo-sub li { background:none; border:none; padding:3px 0; margin-bottom:4px; font-size:1em; color:var(--ink-mid); line-height:1.6; }
.steps-list { list-style:none; margin:0; padding:0; counter-reset:steps; }
.steps-list li { counter-increment:steps; padding:14px 14px 14px 52px; margin-bottom:10px; background:var(--bg); border-radius:9px; border:1px solid var(--border); color:var(--ink-mid); line-height:1.8; position:relative; font-size:1.05em; }
html[dir="rtl"] .steps-list li { padding:14px 52px 14px 14px; }
.steps-list li::before { content:counter(steps); position:absolute; left:14px; top:50%; transform:translateY(-50%); width:28px; height:28px; background:var(--navy); color:white; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.85em; }
html[dir="rtl"] .steps-list li::before { left:auto; right:14px; }
.steps-list li strong { color: var(--navy); }
.fee-box { display:inline-flex; align-items:center; gap:16px; background:linear-gradient(135deg,var(--navy),var(--navy-lt)); color:white; padding:16px 28px; border-radius:12px; margin:8px 0 12px; box-shadow:0 6px 18px rgba(26,54,93,.2); }
.fee-amount { font-size: 2.2em; font-weight: 900; }
.fee-desc { font-size: .9em; opacity: .9; line-height: 1.5; }
.action-bar { display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; padding-top:24px; border-top:2px solid var(--border); }
.btn-appt { display:inline-flex; align-items:center; gap:8px; padding:14px 26px; background:linear-gradient(135deg,var(--gold),#17325c); color:white; text-decoration:none; border-radius:9px; font-weight:700; transition:all .2s; box-shadow:0 4px 14px rgba(30,58,110,.3); }
.btn-appt:hover { transform:translateY(-2px); opacity:.92; }
.btn-dl { display:inline-flex; align-items:center; gap:8px; padding:14px 26px; background:linear-gradient(135deg,#234579,#2f5188); color:white; text-decoration:none; border-radius:9px; font-weight:700; transition:all .2s; }
.btn-dl:hover { transform:translateY(-2px); opacity:.92; }
.btn-back { display:inline-flex; align-items:center; gap:8px; padding:14px 22px; background:var(--bg); color:var(--navy); text-decoration:none; border-radius:9px; font-weight:700; border:2px solid var(--border); transition:all .2s; }
.btn-back:hover { background:#e2e8f0; }
.fee-table-wrapper { overflow-x:auto; margin-top:16px; }
.fee-table { width:100%; border-collapse:collapse; background:var(--white); border:1px solid var(--border); }
.fee-table th,.fee-table td { padding:14px 16px; border-bottom:1px solid var(--border); text-align:left; font-size:1.02em; }
html[dir="rtl"] .fee-table th,html[dir="rtl"] .fee-table td { text-align:right; }
.fee-table th { background:var(--navy); color:white; font-weight:700; }
.fee-table tr:last-child td { border-bottom:none; }
.accordion { display:flex; flex-direction:column; gap:12px; }
.accordion-item { background:var(--white); border:1px solid var(--border); border-radius:9px; overflow:hidden; }
.accordion-header { width:100%; background:var(--white); color:var(--navy); border:none; padding:18px 20px; font-size:1.15em; font-weight:700; text-align:left; cursor:pointer; display:flex; justify-content:space-between; align-items:center; transition:background .2s; }
html[dir="rtl"] .accordion-header { text-align:right; }
.accordion-header:hover { background:var(--bg); }
.accordion-header .icon { transition:transform .25s; }
.accordion-item.active .accordion-header .icon { transform:rotate(180deg); }
.accordion-content { display:none; padding:0 20px 20px; border-top:1px solid var(--border); background:#fcfdff; }
.accordion-item.active .accordion-content { display:block; }
.content-text { color:var(--ink-mid); line-height:1.85; margin-bottom:12px; font-size:1.06em; }

/* ── Service Page Top Notice ── */
.svc-notice-bar { background:linear-gradient(135deg,#fef2f2,#fff1f2); border:1.5px solid #fecaca; border-radius:11px; padding:16px 20px; margin-bottom:22px; }
.svc-notice-bar .svc-notice-title { font-size:.92em; font-weight:700; color:#991b1b; margin-bottom:6px; display:flex; align-items:center; gap:6px; }
.svc-notice-bar .svc-notice-items { display:grid; grid-template-columns:1fr 1fr; gap:6px 16px; }
.svc-notice-bar .svc-notice-item { font-size:.84em; color:#7f1d1d; line-height:1.6; display:flex; gap:6px; align-items:baseline; }
.svc-notice-bar .svc-notice-item .num { font-weight:700; color:#991b1b; flex-shrink:0; }
.svc-notice-bar .svc-fraud-line { margin-top:10px; padding-top:10px; border-top:1px solid #fecaca; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.svc-notice-bar .svc-fraud-text { font-size:.86em; font-weight:600; color:#991b1b; }
.svc-notice-bar .svc-fraud-link { font-size:.82em; font-weight:700; color:#fff; background:#991b1b; padding:6px 14px; border-radius:6px; text-decoration:none; white-space:nowrap; }
.svc-notice-bar .svc-fraud-link:hover { background:#7f1d1d; }
@media(max-width:600px){ .svc-notice-bar .svc-notice-items{grid-template-columns:1fr;} }

@media (max-width:1024px) { .consular-layout { grid-template-columns:1fr; } .sidebar-card { position:static; order:2; } .content-card { order:1; } }
@media (max-width:600px) { .page-header { padding:45px 16px; } .page-header-title { font-size:1.8em; } .content-card,.sidebar-card { padding:20px 16px; } .action-bar { flex-direction:column; } .btn-appt,.btn-dl,.btn-back { justify-content:center; } }

/* ════ footer.php: footer ════ */
/* ═══ MODERN FOOTER (Dubai-inspired) ══════════════════════ */
.sf {
  background: #0b1a2e;
  color: rgba(255,255,255,.76);
  margin-top: 0;
  font-family: 'Poppins', -apple-system, sans-serif;
  position: relative;
}
html[dir="rtl"] .sf { font-family: 'Vazirmatn', Tahoma, sans-serif; }

/* Gold accent top bar */
.sf::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--gold,#1e3a6e) 0%, #2d5a9e 40%, #4a7ab5 60%, #2d5a9e 80%, var(--gold,#1e3a6e) 100%);
}

/* ── CTA banner above columns ── */
.sf-cta {
  background: linear-gradient(135deg, #0d2240 0%, #163a64 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sf-cta-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.sf-cta-text {
  font-size: 1.3rem; font-weight: 600; color: #fff;
  line-height: 1.5;
}
html[dir="rtl"] .sf-cta-text { font-size: 1.35rem; }
.sf-cta-text span {
  color: #7eb3e8;
}
.sf-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 8px;
  background: linear-gradient(135deg, #1e3a6e, #2d5a9e);
  color: #fff; font-weight: 700; font-size: .95rem;
  text-decoration: none; transition: all .3s;
  box-shadow: 0 4px 16px rgba(30,58,110,.3);
  white-space: nowrap;
}
.sf-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(30,58,110,.45);
}
.sf-cta-btn svg { flex-shrink: 0; }

/* ── 3-column grid ── */
.sf-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 36px 44px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
}

/* ── Col 1: Brand ── */
.sf-brand {
  display: flex; flex-direction: column;
}
.sf-logo-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.sf-logo-ring {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid rgba(30,58,110,.4);
  padding: 3px;
  background: rgba(255,255,255,.04);
}
.sf-logo-ring img {
  width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover;
  display: block;
}
.sf-logo-text-name {
  font-size: 1.1rem; font-weight: 700;
  color: #fff; line-height: 1.35;
}
.sf-logo-text-city {
  font-size: .75rem; font-weight: 600;
  color: rgba(126,179,232,.75);
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-top: 3px;
}
.sf-about-p {
  font-size: .92rem; line-height: 1.9;
  color: rgba(255,255,255,.45);
  margin-bottom: 24px;
}
.sf-soc-row { display: flex; gap: 10px; }
.sf-soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.5); text-decoration: none;
  transition: all .3s;
}
.sf-soc:hover {
  background: rgba(30,58,110,.15);
  border-color: rgba(30,58,110,.35);
  color: #7eb3e8; transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(30,58,110,.2);
}

/* ── Col heading ── */
.sf-h {
  font-size: .78rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: #7eb3e8;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(126,179,232,.18);
  display: inline-block;
  position: relative;
}
.sf-h::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, #7eb3e8, transparent);
}
html[dir="rtl"] .sf-h { letter-spacing: .5px; font-size: .9rem; }
html[dir="rtl"] .sf-h::after { left: auto; right: 0; background: linear-gradient(-90deg, #7eb3e8, transparent); }

/* ── Link lists (modern card style — matches contact cards) ── */
.sf-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.sf-list li { margin: 0; }
.sf-list a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  border-left: 3px solid rgba(126,179,232,.4);
  font-size: .93rem;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 500;
  transition: all .25s cubic-bezier(.16,1,.3,1);
}
html[dir="rtl"] .sf-list a { border-left: none; border-right: 3px solid rgba(126,179,232,.4); }
.sf-list a::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(126,179,232,.55);
  flex-shrink: 0; transition: all .25s;
}
.sf-list a:hover {
  background: rgba(255,255,255,.06);
  border-left-color: #7eb3e8;
  transform: translateX(3px);
  color: #fff;
}
html[dir="rtl"] .sf-list a:hover {
  transform: translateX(-3px);
  border-right-color: #7eb3e8;
}
.sf-list a:hover::before { background: #7eb3e8; transform: scale(1.4); }

/* ── Contact rows (modern card style) ── */
.sf-ci {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  border-left: 3px solid rgba(126,179,232,.4);
  transition: background .25s, border-color .25s, transform .25s;
}
html[dir="rtl"] .sf-ci { border-left: none; border-right: 3px solid rgba(126,179,232,.4); }
.sf-ci:last-child { margin-bottom: 0; }
.sf-ci:hover {
  background: rgba(255,255,255,.06);
  border-left-color: #7eb3e8;
  transform: translateX(2px);
}
html[dir="rtl"] .sf-ci:hover { transform: translateX(-2px); border-right-color: #7eb3e8; }

.sf-ci-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, rgba(126,179,232,.18), rgba(126,179,232,.08));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #7eb3e8;
}
.sf-ci-icon svg { width: 18px; height: 18px; }
.sf-ci-body { flex: 1; min-width: 0; }
.sf-ci-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(126,179,232,.85);
  margin-bottom: 4px;
}
html[dir="rtl"] .sf-ci-label { letter-spacing: .4px; font-size: .76rem; }
.sf-ci-val {
  font-size: .92rem; line-height: 1.5;
  color: rgba(255,255,255,.85); font-weight: 500;
  word-break: break-word;
}
.sf-ci-val a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .2s; font-weight: 600; }
.sf-ci-val a:hover { color: #7eb3e8; }

/* ── Bottom strip ── */
.sf-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
}
.sf-bottom-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 20px 36px;
  text-align: center;
}
.sf-copy {
  font-size: .88rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .3px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sf-inner { grid-template-columns: 1fr 1fr; gap: 36px; padding: 44px 28px 38px; }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .sf-inner { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 30px; }
  .sf-cta-inner { padding: 28px 20px; flex-direction: column; text-align: center; }
  .sf-cta-text { font-size: 1.1rem; }
  .sf-bottom-inner { padding: 14px 20px; flex-direction: column; text-align: center; }
}

/* ════ footer.php: scroll to top ════ */
.scroll-top{position:fixed;bottom:24px;left:24px;z-index:9990;width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,var(--navy,#0f2441),var(--navy-lt,#2d4a7c));color:#fff;border:none;cursor:pointer;box-shadow:0 4px 16px rgba(15,36,65,.3);display:flex;align-items:center;justify-content:center;transition:all .3s;opacity:0;pointer-events:none;transform:translateY(12px)}
html[dir="rtl"] .scroll-top{left:auto;right:24px}
.scroll-top.visible{opacity:1;pointer-events:auto;transform:translateY(0)}
.scroll-top:hover{transform:translateY(-3px)!important;box-shadow:0 6px 24px rgba(15,36,65,.45);background:linear-gradient(135deg,var(--gold,#1e3a6e),var(--gold-br,#2d5a9e))}
@media(max-width:500px){.scroll-top{bottom:16px;left:16px;width:42px;height:42px}html[dir="rtl"] .scroll-top{left:auto;right:16px}}

/* ════ footer.php: cookie banner ════ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  background: var(--white);
  box-shadow: 0 -4px 30px rgba(15,36,65,.15);
  border-top: 3px solid var(--gold);
  animation: cookieSlide .4s ease;
}
@keyframes cookieSlide { from { transform:translateY(100%); } to { transform:translateY(0); } }
.cookie-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 28px;
  display: flex; align-items: flex-start; gap: 18px;
}
.cookie-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-br));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.cookie-text { flex: 1; min-width: 0; }
.cookie-text strong {
  display: block; font-size: 1.05rem; color: var(--navy); margin-bottom: 6px;
}
.cookie-text p {
  font-size: .9rem; color: var(--ink-mid); line-height: 1.65; margin: 0;
}
.cookie-actions {
  display: flex; gap: 10px; flex-shrink: 0; align-self: center;
}
.cookie-btn-accept {
  padding: 11px 28px; border: none; border-radius: 8px; cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--gold-br));
  color: #fff; font-weight: 700; font-size: .95rem;
  font-family: var(--font-en);
  transition: all .2s; box-shadow: 0 3px 12px rgba(30,58,110,.25);
}
html[dir="rtl"] .cookie-btn-accept { font-family: var(--font-fa); }
.cookie-btn-accept:hover { transform: translateY(-1px); opacity: .92; }
.cookie-btn-info {
  padding: 11px 20px; border: 2px solid var(--border); border-radius: 8px;
  cursor: pointer; background: transparent; color: var(--ink-mid);
  font-weight: 600; font-size: .88rem; font-family: var(--font-en);
  transition: all .2s;
}
html[dir="rtl"] .cookie-btn-info { font-family: var(--font-fa); }
.cookie-btn-info:hover { border-color: var(--gold); color: var(--navy); }
.cookie-details-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 28px 20px;
}
.cookie-table {
  width: 100%; border-collapse: collapse; font-size: .88rem; margin-bottom: 12px;
}
.cookie-table th {
  background: var(--bg); padding: 10px 14px; text-align: left;
  font-weight: 700; color: var(--navy); font-size: .82rem;
  text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 2px solid var(--border);
}
html[dir="rtl"] .cookie-table th { text-align: right; }
.cookie-table td {
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  color: var(--ink-mid);
}
.cookie-table code {
  background: var(--bg); padding: 2px 8px; border-radius: 4px;
  font-size: .85rem; color: var(--navy); font-weight: 600;
}
.cookie-legal {
  font-size: .82rem; color: var(--ink-mid); line-height: 1.6; margin: 0;
}
.cookie-legal a { color: var(--gold); text-decoration: none; }
.cookie-legal a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .cookie-inner { flex-direction: column; padding: 16px 18px; gap: 12px; }
  .cookie-icon { display: none; }
  .cookie-actions { width: 100%; }
  .cookie-btn-accept { flex: 1; }
  .cookie-btn-info { flex: 1; }
  .cookie-details-inner { padding: 0 18px 16px; }
  .cookie-table { font-size: .82rem; }
  .cookie-table th, .cookie-table td { padding: 8px 10px; }
}
