/* ==========================================================================
   HAYAC Consulting — حياك الاستشارية
   Design System & Global Styles
   ========================================================================== */

/* --- 1. Design Tokens ---------------------------------------------------- */
:root {
  /* Brand — extracted from the ZA Consulting logo (#072E7A) */
  --navy-900: #02102e;
  --navy-800: #041c4d;
  --navy-700: #072e7a;
  --navy-600: #0b3d9c;

  --teal-600: #072e7a;
  --teal-500: #0b3d9c;
  --teal-400: #1450c4;
  --teal-300: #4f7ee0;
  --teal-100: #dbe5fa;
  --teal-50:  #eff4fe;

  --gold-600: #b07d1c;
  --gold-500: #e0a02c;
  --gold-400: #f2c471;
  --gold-100: #fdf3e0;

  --wa-green: #25d366;
  --wa-green-dark: #1da851;

  /* Neutrals */
  --ink-900: #0d1420;
  --ink-700: #33415c;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;
  --white: #ffffff;

  --success: #16a34a;
  --danger:  #dc2626;
  --warning: #d97706;

  /* Typography */
  --font-base: "IBM Plex Sans Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9063rem;
  --fs-base: 1rem;
  --fs-md:   1.0625rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  1.875rem;
  --fs-3xl:  2.375rem;
  --fs-4xl:  3rem;
  --fs-5xl:  3.75rem;

  /* Spacing */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-5: 1.5rem;   --sp-6: 2rem;
  --sp-7: 2.5rem;   --sp-8: 3rem;     --sp-9: 4rem;
  --sp-10: 5rem;    --sp-11: 6.5rem;

  /* Radii & Shadows */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --sh-xs: 0 1px 2px rgba(4,28,77,.06);
  --sh-sm: 0 2px 8px rgba(4,28,77,.07);
  --sh-md: 0 8px 24px rgba(4,28,77,.09);
  --sh-lg: 0 18px 44px rgba(4,28,77,.13);
  --sh-xl: 0 28px 68px rgba(4,28,77,.18);
  --sh-teal: 0 12px 32px rgba(7,46,122,.30);

  --header-h: 78px;
  --maxw: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  margin: 0 0 var(--sp-4);
  color: var(--navy-800);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-4xl); line-height: 1.18; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin: 0 0 var(--sp-4); }
a { color: var(--teal-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-600); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0 0 var(--sp-4); padding-inline-start: 1.35rem; }
li { margin-bottom: var(--sp-2); }
button { font-family: inherit; cursor: pointer; }
strong { color: var(--navy-800); font-weight: 700; }

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

/* Focus ring — accessibility */
:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- 3. Layout ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container-narrow { max-width: 880px; }

.section { padding-block: var(--sp-11); position: relative; }
.section--tight { padding-block: var(--sp-9); }
.section--alt { background: var(--ink-50); }
.section--navy { background: var(--navy-800); color: rgba(255,255,255,.86); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.section-head { text-align: center; max-width: 740px; margin-inline: auto; margin-bottom: var(--sp-8); }
.section-head p { font-size: var(--fs-md); color: var(--ink-500); margin: 0; }
.section--navy .section-head p { color: rgba(255,255,255,.7); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-500);
  background: var(--teal-50);
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}
.section--navy .eyebrow { background: rgba(11,61,156,.18); color: var(--teal-300); }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- 4. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: var(--r-full);
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--teal-400); color: #fff; box-shadow: var(--sh-teal); }
.btn-primary:hover { background: var(--teal-500); color: #fff; box-shadow: 0 16px 40px rgba(11,61,156,.38); }

.btn-navy { background: var(--navy-800); color: #fff; box-shadow: var(--sh-md); }
.btn-navy:hover { background: var(--navy-700); color: #fff; }

.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 12px 32px rgba(200,161,74,.32); }
.btn-gold:hover { background: var(--gold-400); color: var(--navy-900); }

.btn-outline { background: transparent; border-color: var(--ink-300); color: var(--navy-800); }
.btn-outline:hover { border-color: var(--teal-400); color: var(--teal-500); background: var(--teal-50); }

.btn-white { background: #fff; color: var(--navy-800); box-shadow: var(--sh-md); }
.btn-white:hover { background: var(--teal-50); color: var(--teal-600); }

.btn-ghost-light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); color: #fff; }

.btn-wa { background: var(--wa-green); color: #fff; box-shadow: 0 12px 32px rgba(37,211,102,.32); }
.btn-wa:hover { background: var(--wa-green-dark); color: #fff; }

.btn-sm { padding: 10px 22px; font-size: var(--fs-sm); }
.btn-lg { padding: 17px 40px; font-size: var(--fs-md); }
.btn-block { width: 100%; }

.btn .ico { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .btn .ico-arrow { transform: scaleX(-1); }

/* --- 5. Header ----------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ink-200);
  transition: box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-md); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.brand { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.brand-mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-400), var(--navy-700));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--sh-sm);
  letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; color: var(--navy-800); font-size: 1.08rem; }
.brand-sub { font-size: .72rem; color: var(--ink-500); font-weight: 600; letter-spacing: .04em; }

.main-nav { display: flex; align-items: center; gap: var(--sp-1); }
.main-nav a {
  position: relative;
  padding: 10px 15px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--r-sm);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.main-nav a:hover { color: var(--teal-500); background: var(--teal-50); }
.main-nav a.active { color: var(--teal-600); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  inset-block-end: 2px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--teal-400);
}

.header-actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-full);
  background: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--navy-800);
  transition: all .2s var(--ease);
}
.lang-toggle:hover { border-color: var(--teal-400); color: var(--teal-500); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-sm);
  background: #fff;
  align-items: center; justify-content: center;
  color: var(--navy-800);
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset-block-start: var(--header-h);
  inset-inline: 0;
  inset-block-end: 0;
  background: #fff;
  z-index: 890;
  padding: var(--sp-6) var(--sp-5) var(--sp-9);
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.mobile-nav.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 16px 12px;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--navy-800);
  border-bottom: 1px solid var(--ink-100);
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--teal-500); }
.mobile-nav .btn { margin-top: var(--sp-5); }

body.nav-open { overflow: hidden; }

/* --- 6. Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + var(--sp-9)) var(--sp-10);
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 48%, var(--teal-600) 100%);
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 78% 18%, rgba(11,61,156,.42), transparent 52%),
    radial-gradient(circle at 12% 88%, rgba(200,161,74,.2), transparent 48%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 78%);
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, var(--fs-5xl)); margin-bottom: var(--sp-5); }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--teal-300), var(--gold-400));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead { font-size: var(--fs-lg); color: rgba(255,255,255,.86); max-width: 660px; margin-bottom: var(--sp-7); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-8); }

.hero-badges { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-300); flex: none; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding-block: calc(var(--header-h) + var(--sp-8)) var(--sp-8);
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700) 70%, var(--teal-600));
  color: #fff;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 82% 22%, rgba(11,61,156,.4), transparent 55%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, var(--fs-4xl)); margin-bottom: var(--sp-3); }
.page-hero p { color: rgba(255,255,255,.82); font-size: var(--fs-md); max-width: 700px; margin: 0; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: rgba(255,255,255,.6); margin-bottom: var(--sp-4); }
.breadcrumb a { color: rgba(255,255,255,.78); }
.breadcrumb a:hover { color: #fff; }

/* --- 7. Stats ------------------------------------------------------------ */
.stats-band {
  background: linear-gradient(120deg, var(--teal-600), var(--navy-700));
  padding-block: var(--sp-9);
  color: #fff;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); text-align: center; }
.stat-item { padding: var(--sp-4) var(--sp-2); }
.stat-num {
  font-size: clamp(2.2rem, 4.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  display: block;
  margin-bottom: var(--sp-2);
  font-variant-numeric: tabular-nums;
}
.stat-num .plus { color: var(--gold-400); }
.stat-label { font-size: var(--fs-sm); color: rgba(255,255,255,.8); font-weight: 600; }

/* --- 8. Cards ------------------------------------------------------------ */
.card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--teal-100); }

.card-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: var(--sp-4);
  color: #fff;
  flex: none;
}
.card-icon svg { width: 27px; height: 27px; }
.ic-teal  { background: linear-gradient(135deg, var(--teal-400), var(--teal-600)); }
.ic-navy  { background: linear-gradient(135deg, var(--navy-600), var(--navy-800)); }
.ic-gold  { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); }

.card h3 { margin-bottom: var(--sp-2); font-size: var(--fs-lg); }
.card p { color: var(--ink-500); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.card .card-foot { margin-top: auto; }

.card-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: var(--fs-sm); color: var(--teal-500);
}
.card-link:hover { gap: 12px; }
.card-link svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
[dir="rtl"] .card-link svg { transform: scaleX(-1); }

/* Service detail card */
.svc-detail {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .3s var(--ease);
}
.svc-detail:hover { box-shadow: var(--sh-md); }
.svc-detail__head {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-200);
}
.svc-detail__head h3 { margin: 0; }
.svc-detail__body { padding: var(--sp-6); }
.svc-list { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: var(--sp-2); }
.svc-list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: var(--fs-sm); color: var(--ink-700); margin: 0;
}
.svc-list li::before {
  content: "";
  width: 20px; height: 20px; flex: none; margin-top: 4px;
  border-radius: 50%;
  background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b3d9c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Value / step cards */
.value-card { text-align: center; padding: var(--sp-6) var(--sp-5); }
.value-card .card-icon { margin-inline: auto; }

.step-card { position: relative; padding-top: var(--sp-7); }
.step-num {
  position: absolute;
  inset-block-start: var(--sp-5);
  inset-inline-end: var(--sp-5);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--ink-100);
  line-height: 1;
}

/* --- 9. Logo grid -------------------------------------------------------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--sp-4); }
.logo-tile {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-4);
  min-height: 122px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; gap: 10px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.logo-tile:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--teal-200, var(--teal-100)); }
.logo-tile__mark {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-50), var(--ink-100));
  color: var(--navy-700); font-weight: 800; font-size: .95rem;
  flex: none;
}
.logo-tile__name { font-size: var(--fs-xs); font-weight: 700; color: var(--navy-800); line-height: 1.45; }
.logo-tile__sector { font-size: .7rem; color: var(--ink-400); font-weight: 600; }

/* Marquee */
.marquee { overflow: hidden; position: relative; padding-block: var(--sp-4); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: var(--sp-4); width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .logo-tile { width: 208px; flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* --- 10. Country pills --------------------------------------------------- */
.country-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-4); }
.country-card {
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--r-md); padding: var(--sp-5);
  text-align: center;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.country-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.country-flag { font-size: 2.4rem; line-height: 1; margin-bottom: var(--sp-2); }
.country-name { font-weight: 700; color: var(--navy-800); margin: 0; font-size: var(--fs-base); }
.country-note { font-size: var(--fs-xs); color: var(--ink-400); margin: 4px 0 0; }

/* --- 11. CTA bands ------------------------------------------------------- */
.cta-band {
  position: relative;
  background: linear-gradient(125deg, var(--navy-900), var(--navy-700) 55%, var(--teal-600));
  color: #fff;
  padding-block: var(--sp-10);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(11,61,156,.38), transparent 55%),
              radial-gradient(circle at 85% 75%, rgba(200,161,74,.24), transparent 52%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: rgba(255,255,255,.82); font-size: var(--fs-md); max-width: 640px; margin: 0 auto var(--sp-6); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

.cta-inline {
  background: linear-gradient(120deg, var(--teal-50), var(--gold-100));
  border: 1px solid var(--teal-100);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-7);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-5);
}
.cta-inline h3 { margin: 0 0 6px; }
.cta-inline p { margin: 0; color: var(--ink-500); font-size: var(--fs-sm); }
.cta-inline__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* --- 12. Forms ----------------------------------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  box-shadow: var(--sh-sm);
}

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4) var(--sp-5); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--navy-800); }
.field .req { color: var(--danger); margin-inline-start: 3px; }
.field .hint { font-size: var(--fs-xs); color: var(--ink-400); font-weight: 500; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--ink-900);
  background: var(--ink-50);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.7; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px;
  background-position: left 15px center;
  padding-inline-end: 16px; padding-inline-start: 44px;
}
[dir="rtl"] .field select { background-position: left 15px center; }
[dir="ltr"] .field select { background-position: right 15px center; padding-inline-start: 16px; padding-inline-end: 44px; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(11,61,156,.13);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }

.field.invalid input, .field.invalid select, .field.invalid textarea {
  border-color: var(--danger);
  background: #fef2f2;
}
.field-error { font-size: var(--fs-xs); color: var(--danger); font-weight: 600; display: none; }
.field.invalid .field-error { display: block; }

/* Checkbox group */
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.check {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px;
  background: var(--ink-50);
  border: 1.5px solid var(--ink-200);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.check:hover { border-color: var(--teal-300); background: var(--teal-50); }
.check input { width: 18px; height: 18px; accent-color: var(--teal-400); cursor: pointer; flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--teal-400); background: var(--teal-50); color: var(--teal-600); }

.consent { display: flex; align-items: flex-start; gap: 11px; font-size: var(--fs-sm); color: var(--ink-500); }
.consent input { width: 18px; height: 18px; accent-color: var(--teal-400); flex: none; margin-top: 4px; }

/* Role tabs */
.role-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-bottom: var(--sp-6); }
.role-tab {
  background: #fff;
  border: 2px solid var(--ink-200);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  transition: all .25s var(--ease);
  cursor: pointer;
}
.role-tab:hover { border-color: var(--teal-300); transform: translateY(-3px); }
.role-tab.active { border-color: var(--teal-400); background: var(--teal-50); box-shadow: var(--sh-md); }
.role-tab__icon {
  width: 52px; height: 52px; margin: 0 auto var(--sp-3);
  border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  color: #fff;
}
.role-tab__icon svg { width: 25px; height: 25px; }
.role-tab.active .role-tab__icon { background: linear-gradient(135deg, var(--gold-500), var(--gold-600)); }
.role-tab__title { font-weight: 800; color: var(--navy-800); font-size: var(--fs-base); margin: 0 0 4px; }
.role-tab__desc { font-size: var(--fs-xs); color: var(--ink-500); margin: 0; line-height: 1.5; }

.role-panel { display: none; }
.role-panel.active { display: block; animation: fadeUp .4s var(--ease); }

/* Form status */
.form-status {
  display: none;
  align-items: flex-start; gap: 12px;
  padding: 16px 20px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}
.form-status.show { display: flex; }
.form-status.success { background: #f0fdf4; border: 1.5px solid #86efac; color: #15803d; }
.form-status.error   { background: #fef2f2; border: 1.5px solid #fca5a5; color: #b91c1c; }
.form-status svg { width: 21px; height: 21px; flex: none; margin-top: 1px; }

.btn.loading { pointer-events: none; opacity: .72; }
.btn .spinner {
  width: 18px; height: 18px;
  border: 2.4px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.btn.loading .spinner { display: block; }
.btn.loading .btn-label { opacity: .8; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- 13. Contact info ---------------------------------------------------- */
.contact-list { display: grid; gap: var(--sp-4); list-style: none; padding: 0; margin: 0; }
.contact-item {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--r-md); padding: var(--sp-5);
  margin: 0;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.contact-item:hover { box-shadow: var(--sh-sm); border-color: var(--teal-100); }
.contact-item__icon {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-50); color: var(--teal-500);
}
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item__label { font-size: var(--fs-xs); color: var(--ink-400); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 4px; }
.contact-item__value { font-weight: 700; color: var(--navy-800); margin: 0; font-size: var(--fs-sm); line-height: 1.7; }
.contact-item__value a { color: var(--navy-800); }
.contact-item__value a:hover { color: var(--teal-500); }

.map-embed {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--ink-200);
  height: 340px; background: var(--ink-100);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- 14. Accordion (FAQ) ------------------------------------------------- */
.accordion { display: grid; gap: var(--sp-3); }
.acc-item { background: #fff; border: 1px solid var(--ink-200); border-radius: var(--r-md); overflow: hidden; }
.acc-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: none; border: 0;
  font-family: inherit; font-size: var(--fs-base); font-weight: 700;
  color: var(--navy-800); text-align: start;
  transition: background .2s var(--ease);
}
.acc-head:hover { background: var(--ink-50); }
.acc-head .chev { width: 20px; height: 20px; flex: none; color: var(--teal-500); transition: transform .28s var(--ease); }
.acc-item.open .acc-head .chev { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .34s var(--ease); }
.acc-body__inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-500); font-size: var(--fs-sm); }

/* --- 15. Footer ---------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.68); padding-block: var(--sp-9) var(--sp-5); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: var(--sp-7); margin-bottom: var(--sp-8); }
.site-footer h4 { color: #fff; font-size: var(--fs-base); margin-bottom: var(--sp-4); }
.site-footer p { line-height: 1.85; }
.site-footer a { color: rgba(255,255,255,.68); }
.site-footer a:hover { color: var(--teal-300); }
.footer-brand .brand { margin-bottom: var(--sp-4); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,.5); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-links li { margin: 0; }

.footer-contact { display: grid; gap: 13px; }
.footer-contact div { display: flex; align-items: flex-start; gap: 11px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; color: var(--teal-400); margin-top: 4px; }

.social-row { display: flex; gap: 10px; margin-top: var(--sp-5); }
.social-btn {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: rgba(255,255,255,.8);
  transition: all .22s var(--ease);
}
.social-btn:hover { background: var(--teal-500); color: #fff; transform: translateY(-3px); }
.social-btn svg { width: 19px; height: 19px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center; justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--sp-5); }

/* --- 16. Floating WhatsApp ---------------------------------------------- */
.wa-float {
  position: fixed;
  inset-block-end: 26px;
  inset-inline-end: 26px;
  z-index: 850;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 22px 13px 15px;
  background: var(--wa-green);
  color: #fff;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: var(--fs-sm);
  box-shadow: 0 14px 36px rgba(37,211,102,.42);
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), background .26s var(--ease);
}
[dir="ltr"] .wa-float { padding: 13px 15px 13px 22px; }
.wa-float:hover { background: var(--wa-green-dark); color: #fff; transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 46px rgba(37,211,102,.5); }
.wa-float svg { width: 27px; height: 27px; flex: none; }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  border: 2px solid var(--wa-green);
  animation: pulse-ring 2.4s var(--ease) infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(1.16); opacity: 0; }
  100% { transform: scale(1.16); opacity: 0; }
}

/* Back to top */
.to-top {
  position: fixed;
  inset-block-end: 26px;
  inset-inline-start: 26px;
  z-index: 840;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  border: 0;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease);
  box-shadow: var(--sh-md);
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--teal-500); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* --- 17. Animations ------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* --- 18. Utilities ------------------------------------------------------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.muted { color: var(--ink-500); }
.lead { font-size: var(--fs-md); line-height: 1.85; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

/* Language-scoped blocks (used on the legal page) */
html[lang="ar"] .only-en { display: none !important; }
html[lang="en"] .only-ar { display: none !important; }

.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }

.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  padding: 7px 15px;
  background: var(--teal-50);
  color: var(--teal-600);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
}

.divider { height: 1px; background: var(--ink-200); border: 0; margin-block: var(--sp-7); }

/* --- 19. Responsive ------------------------------------------------------ */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --fs-3xl: 2rem; --fs-4xl: 2.4rem; }
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
  .role-tabs { grid-template-columns: 1fr; }
  .cta-inline { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-inline__actions { justify-content: center; }
}

@media (max-width: 680px) {
  :root { --sp-11: 4.25rem; --sp-10: 3.5rem; --header-h: 70px; }
  .section { padding-block: var(--sp-10); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: var(--sp-5); }
  .hero { min-height: auto; }
  .hero-actions .btn { width: 100%; }
  .brand-sub { display: none; }
  .wa-float { inset-block-end: 18px; inset-inline-end: 18px; padding: 12px; }
  .wa-float span { display: none; }
  .to-top { inset-block-end: 18px; inset-inline-start: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- 20. Print ----------------------------------------------------------- */
@media print {
  .site-header, .wa-float, .to-top, .mobile-nav, .cta-band, .site-footer { display: none !important; }
  body { color: #000; }
  .section { padding-block: 1rem; }
}

/* ==========================================================================
   PART 2 — Components added in the ZA Consulting rebuild
   ========================================================================== */

/* --- 21. Brand logo (image lockup) --------------------------------------- */
.brand-logo { height: 46px; width: auto; flex: none; }
.site-header .brand-logo { height: 44px; }
.site-footer .brand-logo { height: 52px; filter: brightness(0) invert(1); opacity: .95; }
.footer-hayac { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.1); }
.footer-hayac img { height: 42px; filter: brightness(0) invert(1); opacity: .82; margin-bottom: 10px; }
.footer-hayac p { font-size: var(--fs-xs); opacity: .68; margin: 0; }

.group-logo-card {
  display: flex; align-items: center; gap: var(--sp-5);
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--r-lg); padding: var(--sp-6);
}
.group-logo-card img { height: 66px; width: auto; flex: none; }
.group-logo-card h3 { margin: 0 0 6px; font-size: var(--fs-lg); }
.group-logo-card p { margin: 0; font-size: var(--fs-sm); color: var(--ink-500); }
@media (max-width: 680px) { .group-logo-card { flex-direction: column; text-align: center; } }

/* --- 22. HERO — Architectural Layers ------------------------------------- */
.hero-arch {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  padding-block: calc(var(--header-h) + var(--sp-9)) var(--sp-10);
  background: linear-gradient(160deg, #02102e 0%, var(--navy-800) 40%, var(--navy-700) 100%);
  overflow: hidden; color: #fff; isolation: isolate;
}
.hero-arch__sweep {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.075) 50%, transparent 65%);
  background-size: 280% 100%;
  animation: arch-sweep 8s linear infinite;
}
@keyframes arch-sweep { from { background-position: 200% 0; } to { background-position: -80% 0; } }

.hero-arch__glow {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 74% 42%, rgba(79,126,224,.30), transparent 58%),
              radial-gradient(circle at 8% 86%, rgba(224,160,44,.16), transparent 52%);
}

.hero-arch__stage {
  position: absolute; z-index: 2;
  inset-inline-end: 6%;
  top: 50%; transform: translateY(-50%);
  width: 430px; height: 400px;
  perspective: 1100px;
  pointer-events: none;
}
.hero-arch__plane {
  position: absolute; inset-inline-start: 0; top: 24px;
  width: 330px; height: 330px;
  border: 1.6px solid rgba(157,184,240,.5);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,126,224,.19), rgba(255,255,255,.03));
  transform-style: preserve-3d;
  animation: arch-float 8s ease-in-out infinite;
}
.hero-arch__plane:nth-child(1) { transform: rotateX(58deg) rotateZ(-42deg) translateZ(0);    animation-delay: 0s; }
.hero-arch__plane:nth-child(2) { transform: rotateX(58deg) rotateZ(-42deg) translateZ(46px); animation-delay: -2.6s;
  border-color: rgba(224,160,44,.55);
  background: linear-gradient(135deg, rgba(224,160,44,.17), rgba(255,255,255,.03)); }
.hero-arch__plane:nth-child(3) { transform: rotateX(58deg) rotateZ(-42deg) translateZ(92px); animation-delay: -5.2s; }
@keyframes arch-float { 0%,100% { margin-top: 0; opacity: .85; } 50% { margin-top: -18px; opacity: 1; } }

.hero-arch .container { position: relative; z-index: 5; }
.hero-arch__inner { max-width: 720px; }
.hero-arch h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, var(--fs-5xl)); margin-bottom: var(--sp-5); }
.hero-arch h1 .accent { color: var(--gold-400); }
.hero-arch__lead { font-size: var(--fs-lg); color: rgba(255,255,255,.85); max-width: 600px; margin-bottom: var(--sp-7); }

@media (max-width: 980px) { .hero-arch__stage { opacity: .32; inset-inline-end: -60px; } }
@media (max-width: 680px) { .hero-arch { min-height: auto; } .hero-arch__stage { display: none; } }

/* --- 23. News & Events --------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.news-card {
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.news-card__media {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  display: grid; place-items: center;
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__media .ph { color: rgba(255,255,255,.36); width: 52px; height: 52px; }
.news-card__type {
  position: absolute; inset-block-start: 12px; inset-inline-start: 12px;
  padding: 5px 14px; border-radius: var(--r-full);
  font-size: var(--fs-xs); font-weight: 700; color: #fff;
  background: rgba(4,28,77,.85); backdrop-filter: blur(6px);
}
.news-card__type.is-event { background: rgba(224,160,44,.95); color: var(--navy-900); }
.news-card__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.news-card__date { font-size: var(--fs-xs); color: var(--ink-400); font-weight: 700; margin-bottom: 8px; }
.news-card h3 { font-size: var(--fs-base); margin-bottom: 10px; line-height: 1.55; }
.news-card p { font-size: var(--fs-sm); color: var(--ink-500); margin-bottom: var(--sp-4); flex: 1; }

.news-empty {
  grid-column: 1 / -1; text-align: center; padding: var(--sp-9) var(--sp-5);
  border: 2px dashed var(--ink-200); border-radius: var(--r-lg); color: var(--ink-400);
}
.news-skeleton { height: 320px; border-radius: var(--r-lg); background:
  linear-gradient(90deg, var(--ink-100) 25%, var(--ink-50) 37%, var(--ink-100) 63%);
  background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .news-grid { grid-template-columns: 1fr; } }

/* --- 24. Interactive coverage map ---------------------------------------- */
.map-wrap { display: grid; grid-template-columns: 1.45fr 1fr; gap: var(--sp-6); align-items: center; }
.map-stage {
  position: relative; background: var(--ink-50);
  border: 1px solid var(--ink-200); border-radius: var(--r-lg);
  padding: var(--sp-5); overflow: hidden;
}
.map-stage svg { width: 100%; height: auto; display: block; }
.map-country {
  fill: var(--ink-200); stroke: #fff; stroke-width: .6;
  transition: fill .25s var(--ease);
}
.map-country.is-active { fill: var(--teal-300); cursor: pointer; }
.map-country.is-active:hover, .map-country.is-selected { fill: var(--navy-700); }

.map-pin { cursor: pointer; }
.map-pin circle.halo { fill: rgba(20,80,196,.22); animation: pin-pulse 2.6s ease-out infinite; }
.map-pin circle.dot  { fill: var(--gold-500); stroke: #fff; stroke-width: 1.6; }
.map-pin.is-selected circle.dot { fill: var(--navy-700); }
@keyframes pin-pulse { 0% { r: 5; opacity: .7; } 70% { r: 15; opacity: 0; } 100% { r: 15; opacity: 0; } }

.map-list { display: grid; gap: 10px; }
.map-item {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: 13px 18px; border-radius: var(--r-md);
  border: 1.5px solid var(--ink-200); background: #fff;
  cursor: pointer; text-align: start; width: 100%;
  font-family: inherit; transition: all .22s var(--ease);
}
.map-item:hover { border-color: var(--teal-300); transform: translateX(-4px); }
[dir="ltr"] .map-item:hover { transform: translateX(4px); }
.map-item.is-selected { border-color: var(--teal-400); background: var(--teal-50); box-shadow: var(--sh-sm); }
.map-item__flag { font-size: 1.7rem; line-height: 1; flex: none; }
.map-item__name { font-weight: 700; color: var(--navy-800); font-size: var(--fs-sm); margin: 0; }
.map-item__note { font-size: var(--fs-xs); color: var(--ink-400); margin: 2px 0 0; }

.map-detail {
  margin-top: var(--sp-4); padding: var(--sp-5);
  background: var(--navy-800); color: rgba(255,255,255,.82);
  border-radius: var(--r-md); font-size: var(--fs-sm);
}
.map-detail h4 { color: #fff; margin: 0 0 6px; font-size: var(--fs-base); }
.map-detail p { margin: 0; }

@media (max-width: 900px) { .map-wrap { grid-template-columns: 1fr; } }

/* --- 25. Packages & retainers -------------------------------------------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.pkg-card {
  position: relative; background: #fff;
  border: 1px solid var(--ink-200); border-radius: var(--r-lg);
  padding: var(--sp-6); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: var(--teal-100); }
.pkg-card__num {
  font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em;
  color: var(--teal-400); margin-bottom: var(--sp-3);
}
.pkg-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-3); }
.pkg-card__dur {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--fs-xs); font-weight: 700;
  color: var(--gold-600); background: var(--gold-100);
  padding: 6px 14px; border-radius: var(--r-full); margin-bottom: var(--sp-4);
  align-self: flex-start;
}
.pkg-card__dur svg { width: 15px; height: 15px; }
.pkg-card__out { font-size: var(--fs-xs); font-weight: 700; color: var(--ink-400); margin-bottom: 8px; letter-spacing: .04em; }
.pkg-list { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: 7px; }
.pkg-list li { display: flex; gap: 9px; font-size: var(--fs-sm); color: var(--ink-700); margin: 0; }
.pkg-list li::before { content: "▸"; color: var(--teal-400); font-weight: 700; flex: none; }
.pkg-card .card-foot { margin-top: auto; }

.retainer {
  display: grid; grid-template-columns: 64px 1fr; gap: var(--sp-5);
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--r-lg); padding: var(--sp-6);
  transition: box-shadow .3s var(--ease);
}
.retainer:hover { box-shadow: var(--sh-md); }
.retainer__letter {
  width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: #fff; font-size: 1.6rem; font-weight: 800;
}
.retainer h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.retainer__what { font-size: var(--fs-sm); color: var(--ink-700); margin-bottom: var(--sp-3); }
.retainer__out { font-size: var(--fs-xs); color: var(--ink-500); margin: 0; }
.retainer__out b { color: var(--navy-800); }

@media (max-width: 900px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .pkg-grid { grid-template-columns: 1fr; } .retainer { grid-template-columns: 1fr; } }

/* --- 26. Project cards ---------------------------------------------------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.proj-card {
  background: #fff; border: 1px solid var(--ink-200);
  border-inline-start: 4px solid var(--teal-400);
  border-radius: var(--r-md); padding: var(--sp-5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.proj-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.proj-card__client { font-weight: 700; color: var(--navy-800); font-size: var(--fs-sm); margin: 0 0 6px; line-height: 1.5; }
.proj-card__scope { font-size: var(--fs-xs); color: var(--ink-500); margin: 0; }
.proj-card__tag {
  display: inline-block; margin-top: 10px; padding: 4px 11px;
  font-size: .7rem; font-weight: 700; border-radius: var(--r-full);
  background: var(--teal-50); color: var(--teal-500);
}
@media (max-width: 900px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } }

/* --- 27. Real logo tiles -------------------------------------------------- */
.logo-tile img {
  max-height: 62px; max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(100%); opacity: .68;
  transition: filter .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.logo-tile:hover img { filter: none; opacity: 1; transform: scale(1.05); }
.logo-tile { min-height: 128px; }
.marquee .logo-tile { width: 200px; }

/* --- 28. Admin dashboard -------------------------------------------------- */
.admin-shell { min-height: 100vh; background: var(--ink-50); padding-block: calc(var(--header-h) + var(--sp-7)) var(--sp-9); }
.admin-gate { max-width: 440px; margin-inline: auto; }
.admin-panel { max-width: 1080px; margin-inline: auto; }

.admin-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-6);
}
.admin-head h1 { margin: 0; font-size: var(--fs-2xl); }

.admin-tabs { display: flex; gap: var(--sp-2); border-bottom: 2px solid var(--ink-200); margin-bottom: var(--sp-6); }
.admin-tab {
  padding: 12px 22px; border: 0; background: none;
  font-family: inherit; font-size: var(--fs-sm); font-weight: 700;
  color: var(--ink-500); cursor: pointer; position: relative;
}
.admin-tab.active { color: var(--teal-500); }
.admin-tab.active::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: -2px;
  height: 3px; background: var(--teal-400); border-radius: 2px;
}
.admin-view { display: none; } .admin-view.active { display: block; }

.entry-row {
  display: grid; grid-template-columns: 92px 1fr auto; gap: var(--sp-4);
  align-items: center;
  background: #fff; border: 1px solid var(--ink-200);
  border-radius: var(--r-md); padding: var(--sp-4); margin-bottom: 10px;
}
.entry-row__thumb {
  width: 92px; height: 62px; border-radius: 10px; object-fit: cover;
  background: var(--ink-100);
}
.entry-row h4 { margin: 0 0 4px; font-size: var(--fs-sm); }
.entry-row .meta { font-size: var(--fs-xs); color: var(--ink-400); margin: 0; }
.entry-row .acts { display: flex; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--ink-200); background: #fff;
  display: grid; place-items: center; color: var(--ink-500);
  transition: all .2s var(--ease);
}
.icon-btn:hover { border-color: var(--danger); color: var(--danger); background: #fef2f2; }
.icon-btn svg { width: 17px; height: 17px; }
@media (max-width: 680px) { .entry-row { grid-template-columns: 1fr; } .entry-row__thumb { width: 100%; height: 150px; } }

.badge-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--fs-xs); font-weight: 700; color: var(--success);
  background: #f0fdf4; border: 1px solid #86efac;
  padding: 6px 14px; border-radius: var(--r-full);
}
.badge-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }

/* --- 29. News page & single article -------------------------------------- */
.article { max-width: 780px; margin-inline: auto; }
.article__meta {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--fs-sm); color: var(--ink-500); margin-bottom: var(--sp-4);
}
.article h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.35; margin-bottom: var(--sp-6); }
.article__hero {
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--sp-6);
  border: 1px solid var(--ink-200); background: var(--ink-100);
}
.article__hero img { width: 100%; height: auto; display: block; }
.article__body { font-size: var(--fs-md); line-height: 2.05; color: var(--ink-700); }
.article__body p { margin-bottom: var(--sp-4); }
.article__body p:first-of-type { font-size: var(--fs-lg); color: var(--navy-800); font-weight: 500; }

.news-card__media { display: block; text-decoration: none; }
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--teal-500); }
.news-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
