/* ============================================================
   التحرير للبرمجة — Custom Theme Stylesheet
   RTL Arabic, Mobile-first, SEO Optimized, No Elementor
   ============================================================ */

/* ── 1. CSS Custom Properties ─────────────────────────────── */
:root {
  /* Colors */
  --clr-primary:        #0F2444;
  --clr-primary-mid:    #1B3A6B;
  --clr-blue:           #2563EB;
  --clr-blue-light:     #3B82F6;
  --clr-accent:         #38BDF8;
  --clr-gold:           #F59E0B;
  --clr-green:          #10B981;
  --clr-text:           #0F172A;
  --clr-text-muted:     #475569;
  --clr-text-light:     #94A3B8;
  --clr-white:          #FFFFFF;
  --clr-bg:             #F8FAFF;
  --clr-bg-alt:         #EFF6FF;
  --clr-border:         #E2E8F0;
  --clr-danger:         #EF4444;

  /* Gradients */
  --grad-hero:   linear-gradient(135deg, #0A1628 0%, #0F2444 50%, #1B3A6B 100%);
  --grad-blue:   linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
  --grad-cta:    linear-gradient(135deg, #0F2444 0%, #1B3A6B 100%);

  /* Shadows */
  --shadow-xs:   0 1px 3px rgba(0,0,0,.06);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.14);
  --shadow-blue: 0 4px 20px rgba(37,99,235,.25);

  /* Spacing */
  --space-xs:  0.5rem;   /* 8px  */
  --space-sm:  1rem;     /* 16px */
  --space-md:  1.5rem;   /* 24px */
  --space-lg:  2.5rem;   /* 40px */
  --space-xl:  4rem;     /* 64px */
  --space-2xl: 6rem;     /* 96px */

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 9999px;

  /* Typography */
  --font-sans:   'Tajawal', 'Segoe UI', Arial, sans-serif;
  --fw-normal:   400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extrabold:800;

  /* Transitions */
  --ease:        0.25s ease;
  --ease-slow:   0.4s ease;

  /* Container */
  --container-max: 1200px;
  --container-pad: 1.5rem;
}

/* ── 2. Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-white);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--clr-blue); }

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--clr-text);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── 3. Layout Utilities ──────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-2xl);
}
.section--sm { padding-block: var(--space-xl); }
.section--dark {
  background: var(--grad-hero);
  color: var(--clr-white);
}
.section--bg { background: var(--clr-bg); }
.section--alt { background: var(--clr-bg-alt); }

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

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* ── 4. Section Headers ───────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-bg-alt);
  color: var(--clr-blue);
  border: 1px solid var(--clr-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 1rem;
}
.section-badge svg { width: 16px; height: 16px; }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--clr-primary);
  margin-bottom: .75rem;
}
.section-title span { color: var(--clr-blue); }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  margin-inline: auto;
}

.section--dark .section-title { color: var(--clr-white); }
.section--dark .section-subtitle { color: rgba(255,255,255,.7); }
.section--dark .section-badge {
  background: rgba(255,255,255,.1);
  color: var(--clr-accent);
  border-color: rgba(255,255,255,.2);
}

/* ── 5. Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: .875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semibold);
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary {
  background: var(--grad-blue);
  color: var(--clr-white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,99,235,.35);
}

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: var(--clr-white);
}

.btn-white {
  background: var(--clr-white);
  color: var(--clr-blue);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  color: var(--clr-primary);
  transform: translateY(-2px);
}

.btn-wa {
  background: #25D366;
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-wa:hover {
  color: var(--clr-white);
  background: #1ebe5b;
  transform: translateY(-2px);
}

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: .6rem 1.25rem; font-size: .9rem; }

/* ── 6. Header & Navigation ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-md);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.logo-text {
  color: var(--clr-white);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  line-height: 1.2;
}
.logo-tagline {
  font-size: .7rem;
  color: var(--clr-accent);
  font-weight: var(--fw-normal);
}

/* Main Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.primary-nav a {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  font-weight: var(--fw-medium);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--ease);
}
.primary-nav a:hover,
.primary-nav a.current-menu-item {
  color: var(--clr-white);
  background: rgba(255,255,255,.08);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  direction: ltr;
}
.header-phone:hover { color: var(--clr-accent); }
.header-phone svg { width: 16px; height: 16px; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 7. Hero Section ──────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--grad-hero);
  overflow: hidden;
  padding-block: var(--space-2xl);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: var(--clr-blue);
  top: -200px; left: -100px;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: var(--clr-accent);
  bottom: -100px; right: -50px;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content { order: 2; }
.hero-visual { order: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56,189,248,.12);
  border: 1px solid rgba(56,189,248,.3);
  color: var(--clr-accent);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: .875rem;
  font-weight: var(--fw-semibold);
  margin-bottom: 1.25rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--clr-green);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: var(--fw-extrabold);
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.hero-title .highlight {
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.6);
  font-size: .875rem;
}
.hero-trust-item svg { width: 16px; height: 16px; color: var(--clr-green); }

/* Hero Visual - Stats cards floating */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hero-stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}
.hero-stat-card:nth-child(even) { margin-top: 2rem; }
.hero-stat-number {
  font-size: 2.5rem;
  font-weight: var(--fw-extrabold);
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: .25rem;
}
.hero-stat-number span { color: var(--clr-accent); }
.hero-stat-label {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
}

/* ── 8. Services Section ──────────────────────────────────── */
.services { background: var(--clr-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--ease-slow);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-blue);
  opacity: 0;
  transition: opacity var(--ease-slow);
  border-radius: inherit;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover * { position: relative; z-index: 1; }
.service-card:hover .service-icon-wrap { background: rgba(255,255,255,.15); }
.service-card:hover .service-icon-wrap svg { color: var(--clr-white); }
.service-card:hover .service-name { color: var(--clr-white); }
.service-card:hover .service-desc { color: rgba(255,255,255,.8); }
.service-card:hover .service-link { color: rgba(255,255,255,.9); }

.service-icon-wrap {
  width: 60px; height: 60px;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--ease);
}
.service-icon-wrap svg { width: 28px; height: 28px; color: var(--clr-blue); }
.service-name {
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  margin-bottom: .5rem;
  transition: color var(--ease);
}
.service-desc {
  color: var(--clr-text-muted);
  font-size: .95rem;
  line-height: 1.7;
  transition: color var(--ease);
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--clr-blue);
  font-weight: var(--fw-semibold);
  font-size: .9rem;
  margin-top: 1rem;
  transition: color var(--ease);
}
.service-link svg { width: 16px; height: 16px; }

/* ── 9. Stats Section ─────────────────────────────────────── */
.stats {
  background: var(--grad-cta);
  padding-block: var(--space-xl);
  overflow: hidden;
  position: relative;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stats-grid::before {
  content: '';
  position: absolute;
  inset-block: 20%;
  inset-inline: 0;
  background: repeating-linear-gradient(
    90deg, transparent, transparent calc(25% - 1px),
    rgba(255,255,255,.1) calc(25% - 1px), rgba(255,255,255,.1) 25%
  );
}

.stat-item { position: relative; }
.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-number .suffix { color: var(--clr-accent); }
.stat-label {
  color: rgba(255,255,255,.6);
  font-size: 1rem;
}

/* ── 10. Process Section ──────────────────────────────────── */
.process { background: var(--clr-bg); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  inset-inline: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-blue), var(--clr-accent));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-step-num {
  width: 56px; height: 56px;
  background: var(--clr-white);
  border: 2px solid var(--clr-blue);
  color: var(--clr-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: var(--fw-extrabold);
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-blue);
  transition: all var(--ease);
}
.process-step:hover .process-step-num {
  background: var(--clr-blue);
  color: var(--clr-white);
  transform: scale(1.1);
}
.process-step-icon {
  width: 48px; height: 48px;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.process-step-icon svg { width: 24px; height: 24px; color: var(--clr-blue); }
.process-step-name {
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  margin-bottom: .5rem;
}
.process-step-desc {
  color: var(--clr-text-muted);
  font-size: .9rem;
  line-height: 1.6;
}

/* ── 11. Why Us Section ───────────────────────────────────── */
.why-us {
  background: var(--clr-white);
}
.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.why-us-content {}
.why-us-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.why-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-feature-icon {
  width: 48px; height: 48px;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-feature-icon svg { width: 24px; height: 24px; color: var(--clr-blue); }
.why-feature-title { font-weight: var(--fw-bold); margin-bottom: .25rem; }
.why-feature-desc { color: var(--clr-text-muted); font-size: .95rem; }

.why-us-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.why-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--ease);
}
.why-card:hover {
  border-color: var(--clr-blue);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}
.why-card svg { width: 32px; height: 32px; color: var(--clr-blue); margin: 0 auto 1rem; }
.why-card-num {
  font-size: 2rem;
  font-weight: var(--fw-extrabold);
  color: var(--clr-primary);
  line-height: 1;
}
.why-card-num span { color: var(--clr-blue); }
.why-card-label {
  font-size: .875rem;
  color: var(--clr-text-muted);
  margin-top: .25rem;
}

/* ── 12. Countries Section ────────────────────────────────── */
.countries { background: var(--clr-bg); }

.countries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}
.country-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: .9rem;
  transition: all var(--ease);
  cursor: pointer;
}
.country-tag:hover {
  background: var(--clr-blue);
  color: var(--clr-white);
  border-color: var(--clr-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* ── 13. Testimonials Section ─────────────────────────────── */
.testimonials { background: var(--clr-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--ease);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-blue);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  color: var(--clr-gold);
}
.testimonial-stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial-text {
  color: var(--clr-text-muted);
  font-size: .975rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  position: relative;
}
.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--clr-blue);
  opacity: .2;
  line-height: 1;
  position: absolute;
  top: -10px;
  right: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--clr-blue);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: var(--fw-bold); font-size: .95rem; }
.testimonial-role { color: var(--clr-text-muted); font-size: .85rem; }

/* ── 14. CTA Section ──────────────────────────────────────── */
.cta-section {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding-block: var(--space-2xl);
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.3) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--fw-extrabold);
  color: var(--clr-white);
  margin-bottom: 1rem;
}
.cta-subtitle {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── 15. Footer ───────────────────────────────────────────── */
.site-footer {
  background: #050E1C;
  color: rgba(255,255,255,.7);
  padding-top: var(--space-2xl);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.footer-logo img { height: 40px; }
.footer-logo-text {
  color: var(--clr-white);
  font-weight: var(--fw-bold);
  font-size: 1rem;
}
.footer-desc {
  font-size: .9rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.5);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
}
.footer-social a:hover {
  background: var(--clr-blue);
  border-color: var(--clr-blue);
  color: var(--clr-white);
}
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 {
  color: var(--clr-white);
  font-size: 1rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1.25rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  transition: color var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--clr-white); }
.footer-links a svg { width: 14px; height: 14px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: .875rem;
  font-size: .9rem;
}
.footer-contact-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--clr-accent);
  margin-top: 2px;
}

.footer-bottom {
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .875rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: var(--clr-accent); }
.footer-bottom a:hover { color: var(--clr-white); }

/* ── 16. Inner Pages ──────────────────────────────────────── */
.page-hero {
  background: var(--grad-hero);
  padding-block: 4rem 3rem;
  text-align: center;
}
.page-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--fw-extrabold);
  color: var(--clr-white);
  margin-bottom: .75rem;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
}
.page-hero-breadcrumb a { color: var(--clr-accent); }
.page-hero-breadcrumb svg { width: 14px; height: 14px; }

.page-content {
  padding-block: var(--space-xl);
}
.entry-content {
  max-width: 800px;
  margin-inline: auto;
}
.entry-content h2, .entry-content h3 {
  color: var(--clr-primary);
  margin-block: 2rem 1rem;
}
.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.4rem; }
.entry-content ul, .entry-content ol {
  list-style: disc;
  padding-inline-start: 1.5rem;
  margin-bottom: 1.5rem;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .5rem; }
.entry-content img { border-radius: var(--radius-md); margin-block: 1.5rem; }
.entry-content a { color: var(--clr-blue); text-decoration: underline; }
.entry-content blockquote {
  border-inline-start: 4px solid var(--clr-blue);
  padding: 1rem 1.5rem;
  background: var(--clr-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: 1.5rem;
  color: var(--clr-text-muted);
  font-style: italic;
}

/* Country pages */
.country-page {}
.country-page-hero {
  background: var(--grad-hero);
  padding-block: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.country-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(37,99,235,.3) 0%, transparent 60%);
}
.country-page-hero-inner { position: relative; z-index: 1; }
.country-page-name {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--fw-extrabold);
  color: var(--clr-white);
  margin-bottom: 1rem;
}
.country-page-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin-inline: auto 1.5rem;
}
.country-services-section {
  padding-block: var(--space-xl);
  background: var(--clr-white);
}
.country-faq {
  padding-block: var(--space-xl);
  background: var(--clr-bg);
}
.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--clr-white);
  cursor: pointer;
  font-weight: var(--fw-semibold);
  gap: 1rem;
}
.faq-question svg {
  width: 20px; height: 20px;
  color: var(--clr-blue);
  flex-shrink: 0;
  transition: transform var(--ease);
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease-slow), padding var(--ease-slow);
  color: var(--clr-text-muted);
  line-height: 1.8;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-block: 1rem 1.5rem;
}

/* 404 page */
.page-404 {
  text-align: center;
  padding-block: var(--space-2xl);
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.page-404-num {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: var(--fw-extrabold);
  color: var(--clr-border);
  line-height: 1;
  margin-bottom: 1rem;
}
.page-404-title { font-size: 1.75rem; margin-bottom: 1rem; }
.page-404-desc { color: var(--clr-text-muted); margin-bottom: 2rem; }

/* Search results */
.search-results-header { margin-bottom: 2rem; }
.search-results-count {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
}
.search-results-count strong { color: var(--clr-primary); }

/* Blog */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.post-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--ease);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.post-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--clr-bg); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ease-slow); }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-body { padding: 1.5rem; }
.post-card-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .85rem;
  color: var(--clr-text-muted);
  margin-bottom: .75rem;
}
.post-card-meta svg { width: 14px; height: 14px; }
.post-card-title { font-size: 1.1rem; font-weight: var(--fw-bold); margin-bottom: .5rem; line-height: 1.4; }
.post-card-title a:hover { color: var(--clr-blue); }
.post-card-excerpt { font-size: .9rem; color: var(--clr-text-muted); line-height: 1.7; }

/* Single post */
.single-hero {
  background: var(--grad-hero);
  padding-block: var(--space-xl);
}
.single-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
}
.single-meta svg { width: 16px; height: 16px; }
.single-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  color: var(--clr-white);
  line-height: 1.3;
}
.single-content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
  padding-block: var(--space-xl);
}
.single-sidebar {}
.sidebar-widget {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget-title {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
  color: var(--clr-primary);
}

/* ── 17. Floating WhatsApp ────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
}
.wa-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--clr-white) !important;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semibold);
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--ease);
  font-size: .95rem;
}
.wa-float a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
}
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }
.wa-float-label { display: none; }
@media (min-width: 768px) { .wa-float-label { display: inline; } }

/* ── 18. Animations ───────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.9); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.fade-up:nth-child(1) { transition-delay: 0ms; }
.fade-up:nth-child(2) { transition-delay: 100ms; }
.fade-up:nth-child(3) { transition-delay: 200ms; }
.fade-up:nth-child(4) { transition-delay: 300ms; }
.fade-up:nth-child(5) { transition-delay: 400ms; }
.fade-up:nth-child(6) { transition-delay: 500ms; }

/* ── 19. Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid::before { display: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --container-pad: 1rem; }

  .primary-nav,
  .header-phone { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile nav */
  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    inset-inline: 0;
    bottom: 0;
    background: rgba(10,22,40,.98);
    backdrop-filter: blur(16px);
    padding: 2rem;
    gap: .5rem;
    align-items: stretch;
    z-index: 999;
  }
  .primary-nav.open a {
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { order: 1; }
  .hero-visual { order: 2; grid-template-columns: 1fr 1fr; }
  .hero-stat-card:nth-child(even) { margin-top: 1rem; }
  .hero-subtitle { margin-inline: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .why-us-inner { grid-template-columns: 1fr; }
  .why-us-visual { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .single-content-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section { padding-block: var(--space-xl); }
}

@media (max-width: 480px) {
  .hero-visual { grid-template-columns: 1fr; }
  .why-us-visual { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .btn-wa-fixed { width: auto; }
}

/* Print */
@media print {
  .site-header, .site-footer, .wa-float { display: none; }
}
