/* ============================================
   AKHAWAIN PRO — Premium Light Blue 2025
   ============================================ */

:root {
  /* Backgrounds */
  --bg:        #F0F6FF;
  --bg2:       #E4EFFD;
  --bg3:       #FFFFFF;
  --surface:   #FFFFFF;
  --surface2:  rgba(255,255,255,0.85);

  /* Blues */
  --blue-900:  #0F2D6B;
  --blue-800:  #1440A0;
  --blue-700:  #1D4ED8;
  --blue-600:  #2563EB;
  --blue-500:  #3B82F6;
  --blue-400:  #60A5FA;
  --blue-200:  #BFDBFE;
  --blue-100:  #DBEAFE;
  --blue-50:   #EFF6FF;

  /* Accent deep */
  --accent:    #1D4ED8;
  --accent-h:  #1440A0;
  --accent-lt: #3B82F6;

  /* Borders */
  --border:    rgba(37,99,235,0.14);
  --border2:   rgba(37,99,235,0.22);
  --border3:   rgba(37,99,235,0.35);

  /* Text */
  --text:      #0F172A;
  --text-mid:  #1E3A5F;
  --text-muted:#475569;
  --text-dim:  #64748B;

  /* Tokens */
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 24px rgba(30,64,175,0.08);
  --shadow:    0 12px 48px rgba(30,64,175,0.12);
  --shadow-lg: 0 24px 80px rgba(30,64,175,0.16);
  --glow:      0 0 40px rgba(59,130,246,0.18);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Cairo', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
body.lang-ar { font-family: 'Cairo', 'Inter', sans-serif; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ══════════════════════════════
   PAGE LOADER
══════════════════════════════ */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(160deg, #EFF6FF 0%, #DBEAFE 50%, #E4EFFD 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Rotating rings background */
.loader-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lr {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(37,99,235,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.lr-1 { width: 500px; height: 500px; animation: spinR 18s linear infinite; }
.lr-2 { width: 360px; height: 360px; animation: spinR 12s linear infinite reverse; }
.lr-3 { width: 220px; height: 220px; border-color: rgba(37,99,235,0.22); animation: spinR 8s linear infinite; }

/* Central gear */
.loader-gear-wrap {
  position: relative;
  z-index: 2;
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 8px 32px rgba(37,99,235,0.20));
}
.loader-gear {
  width: 110px; height: 110px;
  animation: spinSelf 2.5s linear infinite;
}

/* Logo below gear */
.loader-logo-wrap {
  position: relative;
  z-index: 2;
}
.loader-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  animation: loaderFade 1.5s ease-in-out infinite alternate;
}
@keyframes loaderFade {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}

/* Progress bar */
.loader-bar-track {
  width: 180px;
  height: 3px;
  background: rgba(37,99,235,0.12);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #1D4ED8, #60A5FA);
  border-radius: 100px;
  width: 0%;
  animation: loaderProgress 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes loaderProgress {
  0%   { width: 0%; }
  15%  { width: 20%; }
  40%  { width: 45%; }
  65%  { width: 68%; }
  85%  { width: 88%; }
  95%  { width: 96%; }
  100% { width: 100%; }
}

/* Text */
.loader-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  z-index: 2;
  font-family: 'Inter', 'Cairo', sans-serif;
}

/* ── PARTICLES ── */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  transition: all var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 32px rgba(30,64,175,0.09);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.nav-logo-image {
  height: 80px;
  width: 80px;
  object-fit: contain;
}
.nav-logo-name {
  max-height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin: 0 auto;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border2);
  padding: 7px 16px;
  border-radius: 100px;
  transition: all var(--transition);
}
.lang-btn:hover { color: var(--accent); border-color: var(--accent); }
.btn-nav-cta {
  font-size: 0.84rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 9px 22px;
  border-radius: 100px;
  transition: all var(--transition);
  box-shadow: 0 4px 18px rgba(37,99,235,0.28);
}
.btn-nav-cta:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.36);
}

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 8px 0 24px;
}
.mobile-menu a {
  padding: 14px 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
  border-bottom: 1px solid var(--blue-50);
}
.mobile-menu a:hover { color: var(--accent); }
.lang-mobile { color: var(--blue-500) !important; border-bottom: none !important; }
.mobile-menu.open { display: flex; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 32px 90px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 10% 40%, rgba(59,130,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 15%, rgba(30,64,175,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 50% 95%, rgba(96,165,250,0.08) 0%, transparent 60%),
    linear-gradient(160deg, #F5F9FF 0%, #EBF3FF 50%, #E4EFFD 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 80%);
}

/* Decorative blobs */
.hero-bg::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.10) 0%, transparent 70%);
  top: -150px; right: -100px;
  pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,64,175,0.08) 0%, transparent 70%);
  bottom: -80px; left: 5%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(37,99,235,0.08);
  border: 1.5px solid rgba(37,99,235,0.18);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--blue-500);
  border-radius: 50%;
  animation: bpulse 2.5s infinite;
  box-shadow: 0 0 8px rgba(59,130,246,0.6);
}
@keyframes bpulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.hero-slogan {
  max-width: 480px;
  width: 100%;
  display: block;
  margin: 0 0 30px;
}

.hero-tagline {
  font-size: clamp(1rem, 1.9vw, 1.25rem);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.95;
  max-width: 560px;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* ── BUTTONS ── */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 15px 36px;
  border-radius: 100px;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 8px 28px rgba(37,99,235,0.30), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(37,99,235,0.38);
}
.btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border2);
  padding: 15px 30px;
  border-radius: 100px;
  transition: all var(--transition);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--blue-50);
  transform: translateY(-3px);
}

/* ── HERO STATS ── */
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stat {
  position: relative;
  padding-left: 18px;
}
.hero-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 72%;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-200));
  border-radius: 3px;
}
.hero-stat strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-stat span {
  font-size: 0.76rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ── HERO VISUAL ── */
.hero-visual {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  z-index: 1;
  pointer-events: none;
}
.hero-video {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(30,64,175,0.18), 0 0 0 1px rgba(37,99,235,0.12);
  display: block;
}
@keyframes spinR    { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes spinSelf { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(180deg, var(--blue-500), transparent);
  animation: scrollP 2.2s ease-in-out infinite;
}
@keyframes scrollP {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.25; transform: scaleY(0.55); }
}

/* ══════════════════════════════
   SECTIONS
══════════════════════════════ */
.section {
  padding: 108px 0;
  position: relative;
  z-index: 1;
}
.section-dark { background: var(--bg2); }

.section::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 64px;
  color: var(--text);
  letter-spacing: -0.025em;
}

/* ══════════════════════════════
   SERVICES
══════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 34px;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--blue-500);
  box-shadow: 0 24px 60px rgba(30,64,175,0.14), var(--glow);
}
.card-glow {
  position: absolute;
  top: -70px; right: -70px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover .card-glow { opacity: 1; }

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 22px;
  display: block;
  line-height: 1;
}
.service-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.service-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.9;
}
.card-border {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}
.service-card:hover .card-border { transform: scaleX(1); }

/* ══════════════════════════════
   ABOUT / METRICS
══════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: start;
}
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.adv-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.adv-item:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
  transform: translateX(5px);
  color: var(--accent);
}
.adv-icon { font-size: 1.25rem; }

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.metric-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.metric-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400));
  opacity: 0;
  transition: opacity var(--transition);
}
.metric-item:hover {
  border-color: var(--blue-400);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.metric-item:hover::before { opacity: 1; }
.metric-value {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ══════════════════════════════
   GALLERY
══════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
}
.gallery-item-wide { grid-column: span 2; }
.gallery-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  cursor: pointer;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.gallery-inner:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.gallery-pattern {
  position: absolute;
  inset: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-pattern[data-index="0"] { background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 60%, #93C5FD 100%); }
.gallery-pattern[data-index="1"] { background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 60%, #BFDBFE 100%); }
.gallery-pattern[data-index="2"] { background: linear-gradient(145deg, #EFF6FF 0%, #93C5FD 100%); }
.gallery-pattern[data-index="3"] { background: linear-gradient(135deg, #DBEAFE 0%, #C4D9F8 100%); }
.gallery-pattern[data-index="4"] { background: linear-gradient(135deg, #EFF6FF 0%, #BFDBFE 100%); }
.gallery-pattern[data-index="5"] { background: linear-gradient(150deg, #E0ECFF 0%, #93C5FD 100%); }

.gallery-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.6) 0%, transparent 40%),
    radial-gradient(circle at 80% 15%, rgba(37,99,235,0.06) 0%, transparent 40%);
}
.gallery-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.gallery-inner:hover .gallery-pattern { transform: scale(1.07); }
.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(0deg, rgba(15,45,107,0.80) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gallery-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(37,99,235,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 4px 12px;
  border-radius: 100px;
  align-self: flex-start;
  backdrop-filter: blur(4px);
}
.gallery-overlay h4 { font-size: 1rem; font-weight: 700; color: #fff; }

/* ══════════════════════════════
   PROCESS
══════════════════════════════ */
.process-track {
  display: flex;
  flex-direction: column;
  max-width: 720px;
}
.process-step {
  display: flex;
  gap: 34px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 52px;
}
.step-num {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 2px solid var(--border3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent);
  background: var(--blue-50);
  position: relative;
  z-index: 2;
  transition: all var(--transition);
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}
.process-step:hover .step-num {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(37,99,235,0.32);
}
.step-body { flex: 1; padding-top: 14px; }
.step-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step-body p  { font-size: 0.87rem; color: var(--text-muted); line-height: 1.85; }
.step-line {
  position: absolute;
  left: 28px; top: 58px; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue-200), transparent);
}
.process-step:last-child .step-line { display: none; }
.process-step:last-child { padding-bottom: 0; }

/* ══════════════════════════════
   TESTIMONIALS
══════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px; left: 22px;
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(37,99,235,0.06);
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-card:hover {
  border-color: var(--blue-400);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}
.star { color: #F59E0B; }
.testimonial-text {
  font-size: 0.89rem;
  color: var(--text-muted);
  line-height: 1.95;
  margin-bottom: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  border: 1.5px solid var(--border2);
  flex-shrink: 0;
}
.testimonial-name  { font-size: 0.9rem; font-weight: 700; color: var(--text); }
.testimonial-role  { font-size: 0.76rem; color: var(--text-dim); }

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 68px;
  align-items: start;
}
.contact-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.95;
  margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
a.contact-item:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
  transform: translateX(6px);
}
.ci-icon { font-size: 1.35rem; flex-shrink: 0; margin-top: 2px; }
.contact-item div { display: flex; flex-direction: column; gap: 3px; }
.contact-item small {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}
.contact-item strong { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.contact-item span  { font-size: 0.81rem; color: var(--text-muted); }

.contact-form-wrap {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 46px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-700), var(--blue-400), var(--blue-700));
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  font-size: 0.9rem;
  color: var(--text);
  font-family: inherit;
  transition: all var(--transition);
  appearance: none;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--blue-50);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.10);
}
.form-group select option { background: #fff; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  position: relative;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 16px 44px;
  border-radius: 100px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  border: none;
  box-shadow: 0 8px 28px rgba(37,99,235,0.28);
}
.btn-submit:hover {
  background: var(--accent-h);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(37,99,235,0.38);
}
.btn-submit .btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  background: var(--blue-900);
  padding: 72px 0 0;
  position: relative;
  z-index: 1;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue-400), var(--blue-200), var(--blue-400), transparent);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 16px; }
.footer-brand .logo-accent {
  font-size: 2rem;
  color: var(--blue-400);
  flex-shrink: 0;
  line-height: 1.2;
}
.footer-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.65;
  margin-bottom: 6px;
}
.footer-address { font-size: 0.79rem; color: rgba(255,255,255,0.45); }
.footer-links-col,
.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links-col strong,
.footer-contact-col strong {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}
.footer-links-col a,
.footer-contact-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links-col a:hover,
.footer-contact-col a:hover { color: var(--blue-300, #93C5FD); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.79rem;
  color: rgba(255,255,255,0.38);
}
.footer-bottom a { color: var(--blue-400); transition: color var(--transition); }
.footer-bottom a:hover { color: #fff; }

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.12);
  transition: all var(--transition);
  animation: waPulse 3s ease-in-out infinite;
  text-decoration: none;
}
.wa-label { display: none; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.3); }
  50%       { box-shadow: 0 8px 32px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0); }
}
.wa-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(37,211,102,0.55);
  background: #20BA5A;
}
[dir="rtl"] .wa-float { right: auto; left: 32px; flex-direction: row-reverse; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 960px) {
  .nav-links    { display: none; }
  .btn-nav-cta  { display: none; }
  .hamburger    { display: flex; }
  .nav-logo-name { max-height: 26px; max-width: 140px; }
  .nav-logo-image { height: 52px; width: 52px; }
  .lang-btn { display: none; }
  .nav-inner { gap: 12px; }

  .hero { flex-direction: column; text-align: center; padding-top: 110px; }
  .hero-visual  { display: none; }
  .hero-stats   { justify-content: center; gap: 28px; }
  .hero-actions { justify-content: center; }

  .about-grid     { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid   { grid-template-columns: 1fr 1fr; }
  .gallery-item-wide { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .services-grid   { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .metrics-grid    { grid-template-columns: 1fr 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .gallery-grid    { grid-template-columns: 1fr; }
  .gallery-item-wide { grid-column: span 1; }
  .contact-form-wrap { padding: 28px 22px; }
  .hero-stats { gap: 20px; }
}

/* ══════════════════════════════
   RTL
══════════════════════════════ */
[dir="rtl"] .card-border   { transform-origin: right; }
[dir="rtl"] .hero-actions  { flex-direction: row-reverse; justify-content: flex-start; }
[dir="rtl"] .process-step  { flex-direction: row-reverse; }
[dir="rtl"] .step-line     { left: auto; right: 28px; }
[dir="rtl"] .nav-inner     { flex-direction: row-reverse; }
[dir="rtl"] .nav-links     { flex-direction: row-reverse; }
[dir="rtl"] .nav-actions   { flex-direction: row-reverse; }
[dir="rtl"] .footer-inner  { direction: rtl; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .hero-stats    { flex-direction: row-reverse; }
[dir="rtl"] .hero-stat     { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .hero-stat::before { left: auto; right: 0; }
[dir="rtl"] .adv-item:hover { transform: translateX(-5px); }
[dir="rtl"] a.contact-item:hover { transform: translateX(-6px); }
[dir="rtl"] .section-label::before { display: none; }
[dir="rtl"] .section-label::after  { content: ''; display: inline-block; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
[dir="rtl"] .testimonial-card::before { left: auto; right: 22px; content: '\201D'; }
[dir="rtl"] .hero-visual { right: auto; left: 4%; }

@media (max-width: 960px) {
  [dir="rtl"] .hero-actions { justify-content: center; }
}
