/*
Theme Name:   UAE Extradition Child
Description:  Child theme for extraditionuae.com — clean design system
Template:     theme
Version:      1.0.0
Text Domain:  uae-child
*/

/* ════════════════════════════════════════════════════════════
   DESIGN TOKENS — single source of truth
   Change here → updates everywhere
════════════════════════════════════════════════════════════ */
:root {
  /* Colors */
  --blue:      #2563eb;
  --blue-d:    #1d4ed8;
  --blue-l:    #dbeafe;
  --blue-xl:   #eff6ff;
  --dark:      #0a0e1a;
  --dark2:     #0f172a;
  --dark3:     #1e293b;
  --ink:       #111827;
  --body:      #374151;
  --muted:     #6b7280;
  --subtle:    #9ca3af;
  --border:    #e5e7eb;
  --border-d:  #d1d5db;
  --surface:   #f9fafb;
  --white:     #ffffff;

  /* Typography */
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --leading:   1.7;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* Layout */
  --container:  1160px;
  --pad:        clamp(16px, 4vw, 32px);
  --radius:     8px;
  --radius-lg:  16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 12px rgba(0,0,0,.08);
  --shadow-md:  0 8px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.14);
  --shadow-blue: 0 4px 16px rgba(37,99,235,.3);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 200ms ease;
  --t-slow: 350ms cubic-bezier(.4,0,.2,1);
}

/* ════════════════════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--leading);
  color: var(--body);
  background: var(--white);
  padding-top: 0;            /* remove theme's 162px */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.disable-scroll { overflow: hidden; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem);   font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: var(--text-xl);              font-weight: 700; }
h4 { font-size: var(--text-lg);              font-weight: 600; }

p { margin: 0 0 var(--sp-4); line-height: var(--leading); }
a { color: var(--blue); text-decoration: underline; transition: color var(--t-fast); }
a:hover { text-decoration: none; }
img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
ul, ol { padding-left: 1.5em; margin: 0 0 var(--sp-4); }
li { margin-bottom: var(--sp-2); }
button { font-family: var(--font); cursor: pointer; }

/* ════════════════════════════════════════════════════════════
   LAYOUT HELPERS
════════════════════════════════════════════════════════════ */
.container,
.uae-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ════════════════════════════════════════════════════════════
   SCROLLBAR
════════════════════════════════════════════════════════════ */
::-webkit-scrollbar              { width: 8px; background: var(--dark2); }
::-webkit-scrollbar-thumb        { background: var(--dark3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover  { background: var(--blue); }

/* ════════════════════════════════════════════════════════════
   TOP BAR
════════════════════════════════════════════════════════════ */
.top-line {
  background: var(--dark2);
  padding: 6px 0;
}
.top-line__container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__phone { color: #94a3b8; font-size: var(--text-sm); text-decoration: none; }
.header__phone:hover { color: var(--white); }

.top-line .socials,
.desk-socials .socials { display: flex; gap: var(--sp-2); }
.top-line .socials__link,
.desk-socials .socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,.07);
  border-radius: 6px;
  color: #94a3b8;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.top-line .socials__link:hover,
.desk-socials .socials__link:hover {
  background: var(--blue);
  color: var(--white);
}
.top-line .socials__link svg path,
.desk-socials .socials__link svg path { fill: currentColor; }

/* ════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */
.header {
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header__container.header__content-wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: 68px;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header__logo img { max-height: 52px; width: auto; border-radius: 0; }
/* Hide unused logo variant */
.header__logo .logo-light { display: none; }
.header--scrolled .header__logo .logo-dark { display: none; }
.header--scrolled .header__logo .logo-light { display: block; }

/* ════════════════════════════════════════════════════════════
   DESKTOP NAV
════════════════════════════════════════════════════════════ */
.desk-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.desk-nav .main-navigation {
  display: block;
  width: auto;
  float: none;
  max-height: none;
  overflow: visible;
}
.desk-nav .main-navigation ul.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: none;
  overflow: visible;
  gap: 2px;
}
.desk-nav .main-navigation ul.nav-menu > li {
  position: relative;
}
.desk-nav .main-navigation ul.nav-menu > li > a {
  display: block;
  padding: 6px 13px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
  line-height: 1.4;
}
.desk-nav .main-navigation ul.nav-menu > li > a:hover,
.desk-nav .main-navigation ul.nav-menu > li.current-menu-item > a,
.desk-nav .main-navigation ul.nav-menu > li.current_page_item > a {
  color: var(--blue);
  background: var(--blue-xl);
}
/* Desktop dropdown */
.desk-nav .main-navigation ul.nav-menu > li > ul {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 6px 0;
  z-index: 9999;
  list-style: none;
  margin: 0;
  max-height: none;
  overflow: visible;
}
.desk-nav .main-navigation ul.nav-menu > li:hover > ul { display: block; }
.desk-nav .main-navigation ul.nav-menu > li > ul li { margin: 0; }
.desk-nav .main-navigation ul.nav-menu > li > ul li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--body);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
  border-radius: 0;
}
.desk-nav .main-navigation ul.nav-menu > li > ul li a:hover {
  color: var(--blue);
  background: var(--blue-xl);
}
/* Hide mobile arrow on desktop */
.desk-nav .sub-nav-toggle { display: none; }

/* Header CTA button */
.desk-get-a-call .get_a_call,
.desk-get-a-call .mp-button {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 10px 20px;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t-fast);
}
.desk-get-a-call .get_a_call:hover,
.desk-get-a-call .mp-button:hover { background: var(--blue-d); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  position: relative;
  z-index: 10001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s ease;
}
.hamburger--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--white); }
.hamburger--active span:nth-child(2) { opacity: 0; }
.hamburger--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--white); }

@media (max-width: 920px) {
  .desk-nav  { display: none; }
  .hamburger { display: flex; }
}

/* ════════════════════════════════════════════════════════════
   MOBILE MENU
════════════════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform var(--t-slow);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.mobile-menu--open { transform: translateX(0); }
.mobile-menu__wrap {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 80px var(--sp-6) var(--sp-10);
}
/* Mobile nav links */
.mobile-menu__nav .nav-menu,
.mobile-menu__nav ul.nav-menu {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu__nav .nav-menu > li {
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-menu__nav .nav-menu > li > a {
  display: block;
  padding: 14px 4px;
  color: var(--white);
  font-size: var(--text-lg);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast);
}
.mobile-menu__nav .nav-menu > li > a:hover,
.mobile-menu__nav .nav-menu > li.current-menu-item > a { color: var(--blue); }
.mobile-menu__nav .nav-menu .children,
.mobile-menu__nav .nav-menu .sub-menu {
  display: none;
  padding: 4px 0 12px 16px;
}
.mobile-menu__nav .nav-menu .children.active,
.mobile-menu__nav .nav-menu .sub-menu.active { display: block; }
.mobile-menu__nav .nav-menu .sub-menu li a,
.mobile-menu__nav .nav-menu .children li a {
  display: block;
  padding: 9px 4px;
  color: #94a3b8;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--t-fast);
}
.mobile-menu__nav .nav-menu .sub-menu li a:hover,
.mobile-menu__nav .nav-menu .children li a:hover { color: var(--blue); }
.mobile-menu .sub-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(37,99,235,.12);
  border-radius: 8px;
  cursor: pointer;
  float: right;
  margin-top: 8px;
  transition: background var(--t-fast);
}
.mobile-menu .sub-nav-toggle.active svg { transform: rotate(180deg); }
.mobile-menu .sub-nav-toggle svg path { fill: #93c5fd; }
/* Mobile contacts */
.mobile-menu__contacts {
  margin-top: auto;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu__phone a {
  display: block;
  color: var(--white);
  font-size: var(--text-xl);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: var(--sp-4);
}
.mobile-menu__socials { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.mobile-menu__btn .get_a_call,
.mobile-menu__btn .mp-button {
  display: block;
  width: 100%;
  background: var(--blue);
  color: var(--white);
  padding: 14px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-fast);
}
.mobile-menu__btn .get_a_call:hover,
.mobile-menu__btn .mp-button:hover { background: var(--blue-d); }

/* ════════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════════ */
.uae-btn, a.uae-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base), transform var(--t-base);
  white-space: nowrap;
  line-height: 1.2;
}
.uae-btn--primary, a.uae-btn--primary {
  background: var(--blue);
  color: var(--white);
}
.uae-btn--primary:hover, a.uae-btn--primary:hover {
  background: var(--blue-d);
  color: var(--white);
  transform: translateY(-1px);
}
.uae-btn--ghost, a.uae-btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.uae-btn--ghost:hover, a.uae-btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,.07);
}
.uae-btn--outline, a.uae-btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.uae-btn--outline:hover, a.uae-btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}
.uae-btn--lg { padding: 16px 36px; font-size: var(--text-lg); }
.uae-btn--sm { padding: 8px 18px; font-size: var(--text-sm); }

/* ════════════════════════════════════════════════════════════
   BREADCRUMBS
════════════════════════════════════════════════════════════ */
.breadcrumbs, nav.breadcrumb, [class*="breadcrumb"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: var(--sp-4) 0;
  margin: 0 0 var(--sp-4);
  font-size: var(--text-sm);
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs a, [class*="breadcrumb"] a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
}
.breadcrumbs a:hover, [class*="breadcrumb"] a:hover { text-decoration: underline; }
.breadcrumbs .breadcrumb_last,
[class*="breadcrumb"] .current { color: var(--body); font-weight: 400; }

/* ════════════════════════════════════════════════════════════
   INNER PAGES (page.php, single.php)
════════════════════════════════════════════════════════════ */
.cil-page {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--sp-12) var(--pad);
}
.cil-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 var(--sp-6);
  line-height: 1.2;
}
.cil-page h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--ink);
  margin: var(--sp-10) 0 var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--blue);
}
.cil-page h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--blue);
  margin: var(--sp-8) 0 var(--sp-3);
}
.cil-page h4 { font-size: var(--text-lg); font-weight: 600; color: var(--ink); margin: var(--sp-6) 0 var(--sp-2); }
.cil-page p  { font-size: var(--text-base); color: var(--body); line-height: 1.8; margin-bottom: var(--sp-4); }
.cil-page ul, .cil-page ol { padding-left: 1.6em; margin-bottom: var(--sp-4); }
.cil-page li { color: var(--body); font-size: var(--text-base); line-height: 1.75; margin-bottom: var(--sp-2); }
.cil-page a { color: var(--blue); text-decoration: underline; }
.cil-page a:hover { text-decoration: none; }
.cil-page blockquote {
  border-left: 4px solid var(--blue);
  padding: var(--sp-4) var(--sp-6);
  margin: var(--sp-6) 0;
  background: var(--blue-xl);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--body);
}
.cil-page table { width: 100%; border-collapse: collapse; margin: var(--sp-6) 0; font-size: var(--text-sm); }
.cil-page th { background: var(--dark2); color: var(--white); padding: var(--sp-3) var(--sp-4); text-align: left; font-weight: 600; }
.cil-page td { padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border); vertical-align: top; }
.cil-page tr:nth-child(even) td { background: var(--surface); }
.cil-page img { margin: var(--sp-6) auto; border-radius: var(--radius-lg); }

/* ════════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS
════════════════════════════════════════════════════════════ */
#uae-home { display: block; }

/* Stats */
.uae-stats { background: var(--dark3); padding: 0; }
.uae-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.uae-stats__item {
  padding: 28px var(--sp-5);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.uae-stats__item:last-child { border-right: none; }
.uae-stats__num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.uae-stats__unit { font-size: 1.3rem; font-weight: 700; color: var(--blue); }
.uae-stats__label { font-size: var(--text-xs); color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }

/* Sections */
.uae-section { padding: var(--sp-20) 0; }
.uae-section--dark { background: var(--dark2); }
.uae-section--blue-edge { border-top: 4px solid var(--blue); }

.uae-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--sp-2);
}
.uae-section__head { text-align: center; max-width: 720px; margin: 0 auto var(--sp-12); }
.uae-section__head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: var(--sp-2) 0 var(--sp-4); border-bottom: none; padding-bottom: 0; }
.uae-section__head p  { color: var(--muted); font-size: var(--text-base); margin: 0; }
.uae-section__head--light h2 { color: var(--white); }
.uae-section__head--light p  { color: #94a3b8; }

/* Cards */
.uae-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-5);
}
.uae-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.uae-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-l); }
.uae-card__icon { font-size: 2rem; margin-bottom: var(--sp-3); display: block; }
.uae-card h3 { font-size: var(--text-lg); font-weight: 700; color: var(--ink); margin: 0 0 var(--sp-2); }
.uae-card p  { font-size: var(--text-sm); color: var(--muted); margin: 0; line-height: 1.6; }

/* Timeline */
.uae-timeline {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.uae-timeline::before {
  content: '';
  position: absolute;
  left: 39px; top: 0; bottom: 0;
  width: 2px;
  background: rgba(37,99,235,.2);
}
.uae-tl__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  align-items: flex-start;
}
.uae-tl__num {
  width: 80px; height: 80px;
  background: var(--dark3);
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-xl); font-weight: 800; color: var(--blue);
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.uae-tl__body h3  { font-size: var(--text-lg); font-weight: 700; color: var(--white); margin: 0 0 var(--sp-2); padding-top: var(--sp-5); }
.uae-tl__body p   { font-size: var(--text-sm); color: #94a3b8; margin: 0 0 var(--sp-2); line-height: 1.6; }
.uae-tl__tag { display: inline-block; background: rgba(37,99,235,.15); color: #93c5fd; font-size: var(--text-xs); font-weight: 600; padding: 4px 10px; border-radius: var(--radius-full); letter-spacing: .04em; }
.uae-tl__tag--urgent { background: rgba(239,68,68,.15); color: #fca5a5; }

/* Grounds grid */
.uae-grounds__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-5);
}
.uae-ground {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.uae-ground:hover { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-l); }
.uae-ground__icon { font-size: 1.5rem; margin-bottom: var(--sp-2); display: block; }
.uae-ground strong { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--ink); margin-bottom: var(--sp-2); }
.uae-ground p { font-size: 0.8rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* Countries */
.uae-regions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-5);
  margin-bottom: var(--sp-10);
}
.uae-region {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.uae-region h3 { font-size: var(--text-base); font-weight: 700; color: var(--ink); margin: 0 0 var(--sp-3); display: flex; align-items: center; gap: var(--sp-2); }
.uae-region ul  { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.uae-region li  { margin: 0; }
.uae-region a   { font-size: var(--text-sm); color: var(--blue); text-decoration: none; font-weight: 500; }
.uae-region a:hover { text-decoration: underline; }
.uae-countries__cta { text-align: center; }

/* FAQ */
.uae-faq__list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.uae-faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.uae-faq__item[open] { border-color: var(--blue); }
.uae-faq__item summary {
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  user-select: none;
}
.uae-faq__item summary::-webkit-details-marker { display: none; }
.uae-faq__item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform .2s;
}
.uae-faq__item[open] summary::after { transform: rotate(45deg); }
.uae-faq__item p { padding: 0 var(--sp-6) var(--sp-5); margin: 0; font-size: var(--text-sm); color: var(--muted); line-height: 1.7; }

/* Final CTA */
.uae-cta-final { background: var(--dark); padding: var(--sp-20) 0; }
.uae-cta-final__box {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-12);
  align-items: center;
  border: 1px solid rgba(37,99,235,.25);
  border-radius: 20px;
  padding: 52px;
  background: rgba(37,99,235,.05);
}
.uae-cta-final__text h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; color: var(--white); margin: 0 0 var(--sp-4); border: none; padding: 0; }
.uae-cta-final__text p  { color: #94a3b8; font-size: var(--text-sm); margin: 0 0 var(--sp-5); }
.uae-cta-final__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.uae-cta-final__list li { color: #94a3b8; font-size: var(--text-sm); }
.uae-cta-final__action { display: flex; flex-direction: column; gap: var(--sp-3); }
.uae-cta-final__small { color: #4b5563; font-size: var(--text-xs); margin: 4px 0 0; }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.footer {
  background: var(--dark2);
  color: #94a3b8;
  font-family: var(--font);
}
.footer .mp-bg { display: none; }
.footer-top { padding: 56px 0 40px; }
.footer-top__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.footer__logo img { max-height: 48px; width: auto; border-radius: 0; margin-bottom: var(--sp-4); }
.footer__description { font-size: var(--text-sm); line-height: 1.6; color: #64748b; margin-bottom: var(--sp-5); }
.footer .socials { display: flex; gap: var(--sp-2); }
.footer .socials__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  color: #94a3b8;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.footer .socials__link:hover { background: var(--blue); color: var(--white); }
.footer .socials__link svg path { fill: currentColor; }
.footer__title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 var(--sp-4);
  display: block;
}
.footer__links, .footer__col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--sp-2);
}
.footer__links li, .footer__col ul li { margin: 0; }
.footer__links li a, .footer__col ul li a {
  font-size: var(--text-sm);
  color: #64748b;
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer__links li a:hover, .footer__col ul li a:hover { color: var(--white); }
.footer__search { display: none; }
/* Footer bottom */
.footer__bottom-wrap { border-top: 1px solid rgba(255,255,255,.06); background: var(--dark); padding: 18px 0; }
.footer__bottom-wrap .container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.footer__copyright { font-size: var(--text-xs); color: #374151; margin: 0; }
.footer__copyright a { color: #4b5563; text-decoration: none; }
.footer__copyright a:hover { color: #9ca3af; }

/* ════════════════════════════════════════════════════════════
   CONTACT FORM 7
════════════════════════════════════════════════════════════ */
.wpcf7-form .wpcf7-form-control-wrap { display: block; margin-bottom: var(--sp-4); }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: var(--text-sm);
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-l);
}
.wpcf7-form input[type="submit"], .wpcf7-submit {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast);
}
.wpcf7-form input[type="submit"]:hover { background: var(--blue-d); }
.wpcf7-not-valid-tip { color: #ef4444; font-size: var(--text-xs); margin-top: 4px; display: block; }
.wpcf7-response-output { padding: var(--sp-3) var(--sp-4); border-radius: var(--radius); border: 1px solid var(--border); font-size: var(--text-sm); margin-top: var(--sp-4); }

/* ════════════════════════════════════════════════════════════
   BLOG / ARCHIVE
════════════════════════════════════════════════════════════ */
.blog-grid,
.page-blog .cil-page { max-width: var(--container); margin-inline: auto; padding: var(--sp-12) var(--pad); }
.blog-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: var(--sp-6); }
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
  text-decoration: none;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card__body { padding: var(--sp-5); }
.blog-card__title { font-size: var(--text-base); font-weight: 700; color: var(--ink); margin: 0 0 var(--sp-2); line-height: 1.4; }
.blog-card__meta  { font-size: var(--text-xs); color: var(--muted); }
.blog-card__exc   { font-size: var(--text-sm); color: var(--muted); margin-top: var(--sp-2); line-height: 1.6; }

/* ════════════════════════════════════════════════════════════
   404
════════════════════════════════════════════════════════════ */
body.error404 main {
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: var(--sp-20) var(--pad);
}
body.error404 h1 { font-size: clamp(4rem, 10vw, 7rem); color: var(--blue); margin-bottom: var(--sp-4); }
body.error404 p { color: var(--muted); font-size: var(--text-lg); }

/* ════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════════════════════════ */
.uae-rise { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.uae-rise.in-view { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════
   UTILITY — back-to-top, whatsapp, floats
════════════════════════════════════════════════════════════ */
.back-to-top, [id*="back-top"] {
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-blue);
  transition: background var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}
.back-to-top:hover { background: var(--blue-d); transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .uae-stats__grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-top__inner  { grid-template-columns: 1fr 1fr; }
  .uae-cta-final__box { grid-template-columns: 1fr; gap: var(--sp-8); padding: var(--sp-8) var(--sp-6); }
  .uae-tl__item       { grid-template-columns: 60px 1fr; }
  .uae-tl__num        { width: 60px; height: 60px; font-size: var(--text-lg); }
  .uae-timeline::before { left: 29px; }
}
@media (max-width: 600px) {
  .uae-hero { padding: 56px 0; min-height: auto; }
  .uae-hero__ctas  { flex-direction: column; }
  .uae-hero__trust { flex-direction: column; gap: var(--sp-2); }
  .uae-section     { padding: 56px 0; }
  .uae-cards       { grid-template-columns: 1fr; }
  .uae-grounds__grid { grid-template-columns: 1fr; }
  .uae-regions     { grid-template-columns: 1fr 1fr; }
  .footer-top__inner { grid-template-columns: 1fr; }
}

/* ── FOOTER: hide duplicate menu-line block ── */
.footer-menu-line { display: none; }

/* Fix copyright text */
.footer__copyright::before { content: "© 2026 UAE Extradition Lawyers. "; }
.footer-copyright { color: #374151; font-size: 0.75rem; }


/* ════════════════════════════════════════════════════════════
   MOBILE HEADER — UX/UI REDESIGN
════════════════════════════════════════════════════════════ */

/* ── Top line: hide phone+socials on mobile ── */
@media (max-width: 920px) {
  .top-line { display: none; }
  body { padding-top: 64px; }

  .header__content { box-shadow: 0 2px 12px rgba(0,0,0,.12); }
  .header__content-wrap {
    height: 64px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header__logo { flex: 1; }
  .header__logo img { max-height: 38px; }

  /* "Get a call" pill — compact on mobile */
  .desk-get-a-call { flex-shrink: 0; }
  .desk-get-a-call .get_a_call,
  .desk-get-a-call .mp-button {
    padding: 9px 14px;
    font-size: 0.82rem;
    border-radius: 8px;
    white-space: nowrap;
  }

  /* Hamburger button — cleaner style */
  .hamburger {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,19,29,.06);
    border: 1.5px solid rgba(15,19,29,.12);
    border-radius: 10px;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
  }
  .hamburger:hover {
    background: rgba(37,99,235,.08);
    border-color: rgba(37,99,235,.2);
  }
  .header--open .hamburger {
    background: rgba(37,99,235,.15);
    border-color: #2563eb;
  }
}

/* ── Hamburger icon: proper 3-line CSS animation ── */
/* Override parent theme's broken hamburger__box/inner structure */
.hamburger span.hamburger__box {
  display: block;
  width: 22px;
  height: 16px;
  position: relative;
  /* Reset any span styles from child theme */
  background: transparent;
  height: auto;
}
.hamburger span.hamburger__inner {
  display: block;
  width: 22px;
  height: 2px;
  background: #1e293b;
  border-radius: 2px;
  position: absolute;
  top: 7px; /* middle line */
  left: 0;
  transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}
.hamburger span.hamburger__box { height: 16px; }
.hamburger span.hamburger__inner::before,
.hamburger span.hamburger__inner::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: #1e293b;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.25s ease;
}
.hamburger span.hamburger__inner::before { top: -7px; }
.hamburger span.hamburger__inner::after  { top:  7px; }

/* Active (menu open) — animates to X */
.hamburger.hamburger--active span.hamburger__inner {
  background: transparent;
}
.hamburger.hamburger--active span.hamburger__inner::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--white, #ffffff);
}
.hamburger.hamburger--active span.hamburger__inner::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--white, #ffffff);
}

/* Mobile menu close button position — account for 64px header */
.mobile-menu__wrap { padding-top: 80px; }

/* ── Safe area + WhatsApp float button fix ── */
@media (max-width: 768px) {
  .footer-bottom { padding-bottom: calc(64px + env(safe-area-inset-bottom, 16px)); }
  /* WhatsApp float button — move up slightly */
  .wa-float, [class*="whatsapp-float"], .wa-button-wrap, a[href*="wa.me"][style*="fixed"] {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }
  /* copyright text padding so WhatsApp button doesn't overlap */
  .footer-bottom .container {
    padding-right: 70px;
  }
}

/* ════════════════════════════════════════════════════════════
   HERO — CONVERSION-OPTIMISED REDESIGN
════════════════════════════════════════════════════════════ */

/* Remove old hero styles and replace */
.uae-hero {
  position: relative;
  background: var(--dark, #0a0e1a);
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(40px, 8vw, 100px) 0;
}

/* Geometric accent — top-right glow */
.uae-hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle at center, rgba(37,99,235,.18) 0%, transparent 65%);
  pointer-events: none;
}
/* Bottom-left subtle glow */
.uae-hero::before {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle at center, rgba(37,99,235,.08) 0%, transparent 60%);
  pointer-events: none;
}

.uae-hero #uae-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.uae-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  text-align: center;
}

/* Online indicator */
.uae-hero__online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 24px;
  font-family: var(--font, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: #4ade80;
  letter-spacing: .04em;
}
.uae-hero__online-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* Badge above headline */
.uae-hero__badge {
  display: inline-block;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  color: #93c5fd;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font, 'Inter', sans-serif);
}

/* H1 */
.uae-hero__h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 20px;
  font-family: var(--font, 'Inter', sans-serif);
}
.uae-hero__h1 .uae-accent {
  color: #2563eb;
  display: inline;
}

/* Sub */
.uae-hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 32px;
  font-family: var(--font, 'Inter'), sans-serif;
}

/* CTAs */
.uae-hero__ctas {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.uae-btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 15px 28px;
  font-family: var(--font, 'Inter'), sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .15s;
  white-space: nowrap;
}
.uae-btn--primary:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-2px);
}
.uae-btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #e2e8f0;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 14px 24px;
  font-family: var(--font, 'Inter'), sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, color .15s;
  white-space: nowrap;
}
.uae-btn--ghost:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* Hero phone link */
.uae-hero__phone {
  display: block;
  font-family: var(--font, 'Inter'), sans-serif;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 28px;
  text-decoration: none;
}
.uae-hero__phone:hover { color: #94a3b8; }
.uae-hero__phone strong { color: #94a3b8; }

/* Trust chips */
.uae-hero__trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font, 'Inter'), sans-serif;
  font-size: 0.78rem;
  color: #64748b;
}
.uae-hero__trust span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Hero metrics bar ── */
.uae-hero-metrics {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 28px;
  flex-wrap: wrap;
}
.uae-hero-metrics__item {
  text-align: center;
  padding: 0 clamp(16px, 3vw, 36px);
  border-right: 1px solid rgba(255,255,255,.07);
  font-family: var(--font, 'Inter'), sans-serif;
}
.uae-hero-metrics__item:last-child { border-right: none; }
.uae-hero-metrics__num {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.1;
}
.uae-hero-metrics__num span { color: #2563eb; }
.uae-hero-metrics__label {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (max-width: 640px) {
  .uae-hero { min-height: auto; padding: 48px 0 40px; }
  .uae-hero__inner { padding: 0 20px; }
  .uae-btn--primary, .uae-btn--ghost { width: 100%; justify-content: center; }
  .uae-hero-metrics { gap: 16px; margin-top: 32px; }
  .uae-hero-metrics__item { border-right: none; padding: 0 12px; }
}

/* ════════════════════════════════════════════════════════════
   LAWYER TEAM — About page
════════════════════════════════════════════════════════════ */
.uae-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.uae-team-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 28px 24px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.uae-team-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.09);
  transform: translateY(-3px);
}
.uae-team-card__flag {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 1.2rem;
}
.uae-team-card__initials {
  width: 54px; height: 54px;
  background: #2563eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font, 'Inter'), sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.uae-team-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
  font-family: var(--font, 'Inter'), sans-serif;
}
.uae-team-card__role {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 12px;
  font-family: var(--font, 'Inter'), sans-serif;
}
.uae-team-card__bio {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 16px;
  font-family: var(--font, 'Inter'), sans-serif;
}
.uae-team-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.uae-team-card__tag {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font, 'Inter'), sans-serif;
}

