/*
Theme Name: Lugatul Falak
Theme URI: https://lugatul-falak.com
Author: Lugatul Falak
Description: Premium investment consultancy theme — Your Gateway to Saudi Arabia.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: lugatul-falak
Tags: business, investment, professional
*/

/* ================================================
   TOKENS
   ================================================ */
:root {
  --gold:        #B8860B;
  --gold-light:  #D4A017;
  --gold-pale:   #F5E6C0;
  --gold-glow:   rgba(184,134,11,.25);
  --navy:        #0B1D35;
  --navy-2:      #132744;
  --navy-3:      #1B3A5E;
  --cream:       #FAF7F2;
  --cream-2:     #F0EBE0;
  --white:       #FFFFFF;
  --text:        #1A1A2E;
  --muted:       #6B7080;
  --border:      rgba(184,134,11,.20);

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;
  --ff-arabic:  'Noto Naskh Arabic', serif;

  --r:     6px;
  --r-lg:  14px;
  --r-xl:  24px;
  --ease:  cubic-bezier(.4,0,.2,1);
  --trans: all .3s var(--ease);

  --max-w: 1240px;
  --px:    clamp(16px, 5vw, 72px);
  --sec:   clamp(56px, 9vw, 120px);
}

/* ================================================
   RESET
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--ff-display);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 700;
}

/* ================================================
   LAYOUT HELPERS
   ================================================ */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.section { padding: var(--sec) 0; }
.section--dark  { background: var(--navy); }
.section--dark2 { background: var(--navy-2); }
.section--cream { background: var(--cream); }
.section--cream2{ background: var(--cream-2); }
.section--white { background: var(--white); }
.section--gold  { background: var(--gold-light); }

/* ================================================
   TYPOGRAPHY UTILITIES
   ================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold-light);
}

.h-xl  { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.h-lg  { font-size: clamp(2rem, 4vw, 3.4rem); }
.h-md  { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.h-sm  { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--muted);
  line-height: 1.85;
}
.lead--light { color: rgba(255,255,255,.65); }

.tc  { text-align: center; }
.tw  { color: var(--white); }
.tg  { color: var(--gold-light); }

/* ================================================
   GOLD RULE
   ================================================ */
.gold-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.gold-rule::before,
.gold-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.gold-rule--left::before { display: none; }
.gold-rule--left { justify-content: flex-start; }
.gold-rule--left::after { flex: 0 0 60px; }
.gold-rule span { color: var(--gold-light); font-size: 1.1rem; flex-shrink: 0; }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: var(--r);
  font-family: var(--ff-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: var(--trans);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold-light);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--gold-glow);
  color: var(--white);
}
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,.45);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}
.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
}
.btn-outline:hover {
  background: var(--gold-light);
  color: var(--navy);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
}
.btn-sm { padding: 11px 22px; font-size: .76rem; }
.btn-lg { padding: 18px 42px; font-size: .88rem; }
.btn-block { width: 100%; justify-content: center; }

/* ================================================
   CARDS
   ================================================ */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  transition: var(--trans);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.13);
}
.card--dark {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(184,134,11,.2);
}
.card--dark:hover {
  background: rgba(184,134,11,.07);
  border-color: rgba(184,134,11,.45);
}

/* ================================================
   GRID SYSTEMS
   ================================================ */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ================================================
   FADE ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ================================================
   HEADER / NAV
   ================================================ */
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 22px 0;
  transition: padding .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
#masthead.scrolled {
  padding: 12px 0;
  background: rgba(11,29,53,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 30px rgba(0,0,0,.35);
}
#masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand-emblem {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-arabic);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(184,134,11,.3);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-text .name {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
  line-height: 1;
}
.brand-text .sub {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 3px;
}

/* Nav links */
#nav-primary ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
#nav-primary a {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  position: relative;
  padding-bottom: 3px;
}
#nav-primary a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold-light);
  transition: width .3s var(--ease);
}
#nav-primary a:hover,
#nav-primary .current-menu-item > a { color: var(--gold-light); }
#nav-primary a:hover::after,
#nav-primary .current-menu-item > a::after { width: 100%; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
#nav-primary {
  transition: var(--trans);
}
@media (max-width: 900px) {
  .hamburger { display: flex; }
  #nav-primary {
    position: fixed;
    inset: 0;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
    z-index: 999;
  }
  #nav-primary.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  #nav-primary ul {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  #nav-primary a { font-size: 1.2rem; letter-spacing: .1em; }
  .nav-cta { margin: 0; }
}

/* ================================================
   HERO
   ================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

/* Real Unsplash photo background */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11,29,53,.96) 0%, rgba(11,29,53,.72) 55%, rgba(11,29,53,.3) 100%);
}

/* Islamic geometric SVG pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40Z' fill='none' stroke='%23B8860B' stroke-width='1'/%3E%3Cpath d='M40 10 L70 40 L40 70 L10 40Z' fill='none' stroke='%23B8860B' stroke-width='.5'/%3E%3Ccircle cx='40' cy='40' r='5' fill='%23B8860B' opacity='.4'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(184,134,11,.15);
  border: 1px solid rgba(184,134,11,.4);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge span {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero-badge::before {
  content: '◆';
  font-size: .55rem;
  color: var(--gold-light);
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  color: var(--white);
  line-height: 1.06;
  font-weight: 800;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--gold-light);
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  color: rgba(255,255,255,.7);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: 16px;
}

.hero-arabic {
  font-family: var(--ff-arabic);
  direction: rtl;
  font-size: .95rem;
  color: rgba(212,160,23,.7);
  margin-bottom: 40px;
  display: block;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold-light));
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .4; transform: scaleY(1); }
  50%      { opacity: 1; transform: scaleY(1.2); }
}
.hero-scroll span {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
  background: var(--gold-light);
  padding: 0;
}
.stats-bar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-cell {
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.stat-cell + .stat-cell::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(11,29,53,.2);
}
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .7;
  margin-top: 6px;
  display: block;
}

/* ================================================
   ABOUT
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-xl);
  display: block;
}
.about-img-accent {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 5px solid var(--cream);
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.about-badge-float {
  position: absolute;
  top: 28px; left: -22px;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  text-align: center;
  min-width: 130px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}
.about-badge-float .big { font-family: var(--ff-display); font-size: 2rem; font-weight: 800; color: var(--gold-light); display: block; line-height: 1; }
.about-badge-float .small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 5px; display: block; }

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(184,134,11,.1);
  border: 1.5px solid rgba(184,134,11,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--gold-light);
}
.feature-text h4 {
  font-family: var(--ff-body);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.feature-text p { font-size: .87rem; color: var(--muted); }

/* ================================================
   SERVICES
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(184,134,11,.18);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--trans);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
}
.service-card:hover { background: rgba(184,134,11,.08); border-color: rgba(184,134,11,.45); transform: translateY(-6px); }
.service-card:hover::before { transform: scaleX(1); }
.sc-icon { font-size: 2.2rem; margin-bottom: 18px; display: block; }
.sc-title { font-size: 1.2rem; color: var(--white); margin-bottom: 10px; }
.sc-desc { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.75; margin-bottom: 22px; }
.sc-link {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease;
}
.sc-link::after { content: '→'; }
.service-card:hover .sc-link { gap: 10px; }

/* ================================================
   WHY KSA SECTION
   ================================================ */
.ksa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.ksa-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.ksa-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.ksa-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,29,53,.9) 0%, transparent 55%);
}
.ksa-visual-quote {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  text-align: center;
}
.ksa-arabic {
  font-family: var(--ff-arabic);
  direction: rtl;
  font-size: 1.4rem;
  color: var(--gold-light);
  line-height: 2;
  margin-bottom: 10px;
}
.ksa-translation {
  font-size: .85rem;
  font-style: italic;
  color: rgba(255,255,255,.65);
}
.ksa-ref {
  font-size: .72rem;
  color: var(--gold-light);
  margin-top: 6px;
  letter-spacing: .1em;
}

.ksa-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}
.ksa-point { display: flex; gap: 18px; }
.ksa-num {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  opacity: .3;
  line-height: 1;
  min-width: 48px;
}
.ksa-point h4 { font-size: 1rem; margin-bottom: 5px; }
.ksa-point p { font-size: .88rem; color: var(--muted); }

/* ================================================
   PROCESS
   ================================================ */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-top: 64px;
  gap: 0;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.ps-circle {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
  transition: var(--trans);
  position: relative;
}
.ps-circle:hover { background: var(--gold-light); color: var(--navy); box-shadow: 0 0 30px var(--gold-glow); }
.ps-emoji {
  position: absolute;
  top: -6px; right: -6px;
  font-size: .95rem;
  width: 26px; height: 26px;
  background: var(--navy-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.ps-title { font-size: 1.05rem; color: var(--white); margin-bottom: 8px; }
.ps-desc { font-size: .84rem; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ================================================
   OPPORTUNITIES
   ================================================ */
.opp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.opp-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  transition: var(--trans);
}
.opp-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,.14); }
.opp-img {
  height: 210px;
  position: relative;
  overflow: hidden;
}
.opp-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.opp-card:hover .opp-img img { transform: scale(1.06); }
.opp-tag-wrap {
  position: absolute;
  top: 14px; left: 14px;
}
.opp-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-light);
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
}
.opp-body { padding: 26px; }
.opp-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.opp-body p { font-size: .87rem; color: var(--muted); margin-bottom: 18px; }
.opp-more {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease;
}
.opp-more::after { content: '→'; }
.opp-card:hover .opp-more { gap: 10px; }

/* ================================================
   VISION BANNER
   ================================================ */
.vision-banner {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  text-align: center;
}
.vision-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.vision-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,29,53,.88);
}
.vision-banner .wrap { position: relative; z-index: 1; }
.vision-arabic {
  font-family: var(--ff-arabic);
  direction: rtl;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold-light);
  line-height: 2.2;
  margin-bottom: 16px;
}
.vision-translation {
  font-style: italic;
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.vision-ref { color: var(--gold-light); font-size: .82rem; letter-spacing: .1em; }

/* ================================================
   TESTIMONIALS
   ================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testi-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(184,134,11,.15);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: var(--trans);
}
.testi-card:hover { border-color: rgba(184,134,11,.4); background: rgba(184,134,11,.06); }
.testi-quote-mark {
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: .8;
  color: var(--gold-light);
  margin-bottom: 16px;
  opacity: .7;
}
.testi-body {
  font-style: italic;
  color: rgba(255,255,255,.7);
  font-size: .92rem;
  line-height: 1.85;
  margin-bottom: 28px;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testi-avatar-init {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; color: var(--white); font-size: .95rem; }
.testi-origin { font-size: .78rem; color: var(--gold-light); margin-top: 2px; }
.testi-stars { color: var(--gold-light); font-size: .85rem; margin-bottom: 2px; }

/* ================================================
   BLOG / INSIGHTS
   ================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  transition: var(--trans);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
.blog-img {
  height: 190px;
  overflow: hidden;
  position: relative;
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 24px; }
.blog-cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.blog-body h3 { font-size: 1.08rem; line-height: 1.4; margin-bottom: 8px; }
.blog-body h3 a:hover { color: var(--gold); }
.blog-body p { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.blog-meta { font-size: .78rem; color: var(--muted); }

/* ================================================
   CONTACT
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact-panel { }
.contact-panel h3 { font-size: 1.55rem; color: var(--white); margin-bottom: 14px; }
.contact-panel > p { color: rgba(255,255,255,.6); margin-bottom: 36px; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.cd-item { display: flex; align-items: flex-start; gap: 16px; }
.cd-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(184,134,11,.12);
  border: 1px solid rgba(184,134,11,.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
  font-size: 1rem;
}
.cd-label { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); display: block; margin-bottom: 3px; }
.cd-value { color: rgba(255,255,255,.8); font-size: .93rem; }
.cd-value a:hover { color: var(--gold-light); }
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 26px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: .88rem;
  margin-top: 30px;
  transition: var(--trans);
}
.wa-btn:hover { background: #1db954; transform: translateY(-2px); color: var(--white); }

/* Form */
.cf-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(184,134,11,.2);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
}
.cf-wrap h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgroup { margin-bottom: 18px; }
.fgroup label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 7px;
}
.fgroup input,
.fgroup select,
.fgroup textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: 13px 16px;
  color: var(--white);
  font-size: .93rem;
  outline: none;
  transition: border-color .2s ease;
  -webkit-appearance: none;
}
.fgroup input::placeholder,
.fgroup textarea::placeholder { color: rgba(255,255,255,.25); }
.fgroup input:focus,
.fgroup select:focus,
.fgroup textarea:focus { border-color: var(--gold-light); background: rgba(184,134,11,.06); }
.fgroup select option { background: var(--navy); color: var(--white); }
.fgroup textarea { min-height: 120px; resize: vertical; }

#cf-msg {
  display: none;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: .88rem;
  margin-bottom: 18px;
}
#cf-msg.success { background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.4); color: #25D366; }
#cf-msg.error   { background: rgba(255,80,80,.1);   border: 1px solid rgba(255,80,80,.4);   color: #ff6060; }

/* ================================================
   FOOTER
   ================================================ */
#colophon {
  background: #050F1C;
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.f-brand p { color: rgba(255,255,255,.4); font-size: .87rem; line-height: 1.8; margin: 18px 0 24px; max-width: 300px; }
.f-social { display: flex; gap: 10px; }
.f-social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  transition: var(--trans);
}
.f-social-link:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(184,134,11,.1); }
.f-col h4 {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.f-col ul { display: flex; flex-direction: column; gap: 10px; }
.f-col li a { font-size: .87rem; color: rgba(255,255,255,.42); transition: var(--trans); }
.f-col li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .81rem; color: rgba(255,255,255,.25); }
.footer-bottom a { color: var(--gold); }
.footer-bottom .f-arabic {
  font-family: var(--ff-arabic);
  direction: rtl;
  font-size: .82rem;
  color: rgba(255,255,255,.15);
}

/* ================================================
   WHATSAPP FLOAT
   ================================================ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 800;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  transition: var(--trans);
  animation: waPulse 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); color: var(--white); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 6px 40px rgba(37,211,102,.7); }
}

/* ================================================
   PAGE HERO (inner pages)
   ================================================ */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--navy);
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?w=1600&q=70&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: .12;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,29,53,.5), rgba(11,29,53,.85));
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 4rem); }
.page-hero .lead { max-width: 600px; margin: 16px auto 0; }
.breadcrumbs { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 22px; font-size: .78rem; color: rgba(255,255,255,.4); }
.breadcrumbs a { color: var(--gold-light); }
.breadcrumbs .sep { opacity: .4; }

/* ================================================
   SINGLE BLOG
   ================================================ */
.post-body { font-size: 1.03rem; line-height: 1.95; color: var(--text); }
.post-body h2 { font-size: 1.75rem; margin: 44px 0 14px; }
.post-body h3 { font-size: 1.3rem; margin: 36px 0 12px; }
.post-body p { margin-bottom: 20px; }
.post-body a { color: var(--gold); text-decoration: underline; }
.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 20px; }
.post-body li { margin-bottom: 7px; }
.post-body blockquote {
  border-left: 3px solid var(--gold-light);
  padding: 18px 22px;
  margin: 30px 0;
  background: var(--cream-2);
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic;
  color: var(--navy);
}
.post-body img { border-radius: var(--r-lg); margin: 30px 0; }

/* ================================================
   SIDEBAR
   ================================================ */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  margin-bottom: 24px;
}
.sw-title {
  font-family: var(--ff-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ================================================
   PAGINATION
   ================================================ */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 56px 0; flex-wrap: wrap; }
.page-numbers {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem;
  transition: var(--trans);
}
.page-numbers.current, .page-numbers:hover { background: var(--gold-light); color: var(--navy); border-color: var(--gold-light); }

/* ================================================
   WP CORE
   ================================================ */
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { text-align: center; margin: 0 auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 6px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; top: -100%; left: 0; background: var(--gold-light); color: var(--navy); padding: 10px 18px; z-index: 9999; font-weight: 700; }
.skip-link:focus { top: 0; }

/* ================================================
   RESPONSIVE
   ================================================ */

/* ---- 1200px ---- */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ---- 1024px ---- */
@media (max-width: 1024px) {
  .about-grid, .ksa-grid, .contact-grid { gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .opp-grid      { grid-template-columns: repeat(2, 1fr); }
  .testi-grid    { grid-template-columns: repeat(2, 1fr); }
  .blog-grid     { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 900px ---- */
@media (max-width: 900px) {
  .about-grid, .ksa-grid { grid-template-columns: 1fr; }
  .about-img-accent { display: none; }
  .about-badge-float { left: 14px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-bar .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3)::before { display: none; }
  .stat-cell:nth-child(2)::before { display: none; }
  .process-track { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .process-track::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ---- 768px ---- */
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .opp-grid      { grid-template-columns: 1fr; }
  .testi-grid    { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .hero-ctas     { flex-direction: column; align-items: flex-start; }
  .btn           { width: 100%; justify-content: center; }
  .hero-ctas .btn { width: auto; }
  .footer-top    { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .vision-banner-bg { background-attachment: scroll; }
}

/* ---- 520px ---- */
@media (max-width: 520px) {
  .stats-bar .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat-cell + .stat-cell::before { display: none; }
  .process-track { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .cf-wrap { padding: 22px 18px; }
}

/* ---- 400px ---- */
@media (max-width: 400px) {
  :root { --px: 16px; }
  .hero-title { font-size: 2.4rem; }
  .stats-bar .wrap { grid-template-columns: 1fr 1fr; }
}
