/* ==========================================================================
   الشركة الألمانية المتقدمة لمكافحة الحشرات والقوارض
   Bilingual Premium Design System (Arabic/English)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&family=Tajawal:wght@300;400;500;700;900&display=swap');

:root {
  /* ألوان الهوية البصرية الجديدة - Premium Corporate German Style */
  --brand-navy: #0A192F;      /* Dark Navy */
  --brand-blue: #172A45;      /* Navy Medium */
  --brand-gold: #C5A880;      /* Gold accent */
  --brand-gold-dark: #A38458; /* Gold dark */
  --brand-green: var(--brand-gold); /* Map old green to new Gold */
  
  --primary: var(--brand-navy);
  --primary-light: #F0F4F8;
  --secondary: var(--brand-blue);
  --secondary-light: #E6ECF4;
  
  --bg: #F8F9FA;            /* Neutral Gray background */
  --surface: #FFFFFF;
  --ink: #0A192F;           /* Dark Navy instead of pure black */
  --ink-soft: #4F5E7B;      /* Muted Navy/Gray for secondary text */
  --steel: #6E7C96;
  --steel-light: #E2E8F0;   /* Light gray border color */
  --line: #E2E8F0;
  
  --signal: var(--brand-gold);
  --signal-dark: var(--brand-gold-dark);
  --danger: #C1443C;
  --safe: var(--brand-gold);

  /* الخطوط الافتراضية للعربية */
  --font-display: 'Cairo', sans-serif;
  --font-body: 'Tajawal', sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 12px rgba(10, 25, 47, 0.05);
  --shadow: 0 16px 36px -12px rgba(10, 25, 47, 0.12);
  --shadow-hover: 0 20px 48px -10px rgba(10, 25, 47, 0.2);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  
}

/* تخصيص الخطوط للغة الإنجليزية */
html[lang="en"] {
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-align: start;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 3px;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* التباعد المريح للعين */
.section-padding {
  padding-block: 90px;
}

@media (max-width: 768px) {
  .section-padding {
    padding-block: 60px;
  }
}

/* ===== الهيدر الثابت (Header) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--primary);
}

.brand-text small {
  color: var(--secondary);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.main-nav {
  display: flex;
  gap: 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
}

.main-nav a {
  position: relative;
  padding-block: 6px;
}

.main-nav a:hover {
  color: var(--brand-green);
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2.5px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--steel-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.lang-toggle:hover {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
}

.tel-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(41, 164, 227, 0.2);
}

.tel-link:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(41, 164, 227, 0.3);
}

/* ===== قسم البطل (Hero Section) ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #021209 0%, #010a05 100%);
  padding-block: 110px 80px;
  color: #fff;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: -1;
  pointer-events: none;
}

/* صورة حلفية المهندس مع تأثير التكبير البطيء */
.hero-image-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.65; /* دمج هادئ وغير مشتت مع الخلفية الداكنة */
  z-index: -2;
  animation: heroZoom 24s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(1%, -1%); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 90%);
  pointer-events: none;
  z-index: -1;
}

.hero-background-anim {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  pointer-events: none;
  background: radial-gradient(circle at 80% 20%, var(--brand-blue) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, var(--brand-green) 0%, transparent 40%);
  filter: blur(60px);
  z-index: -1;
}

/* طبقة جزيئات رذاذ الرش (Mist Overlay) */
.hero-mist-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.mist-particle {
  position: absolute;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  animation: drift 12s infinite linear;
  opacity: 0;
}

@keyframes drift {
  0% {
    transform: translateY(60px) translateX(0) scale(0.6);
    opacity: 0;
  }
  20% {
    opacity: 0.6;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-80px) translateX(80px) scale(2.2);
    opacity: 0;
  }
}

.hero-inner {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  z-index: 2;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--brand-gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 24px;
}

.hero h1 span.hl {
  color: var(--brand-green);
  position: relative;
  display: inline-block;
}

.hero-lead {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97) translateY(0) !important;
  transition-duration: 0.08s;
}

/* ===== Primary CTA Button ===== */
.btn-primary {
  background: var(--brand-gold);
  color: var(--brand-navy);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.35);
  font-weight: 800;
}

.btn-primary:hover {
  background: var(--brand-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(197, 168, 128, 0.45);
  color: var(--brand-navy);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #1ebd56;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-call {
  background: var(--brand-gold);
  color: var(--brand-navy);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.25);
  font-weight: 800;
}

.btn-call:hover {
  background: var(--brand-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 168, 128, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Loading state */
.btn--loading {
  pointer-events: none;
  opacity: 0.75;
  cursor: wait;
}

.spec-plates {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
}

.spec-plates li {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  min-width: 160px;
}

.spec-plates strong {
  font-family: var(--font-display);
  font-weight: 800;
  color: #fff;
  font-size: 17px;
}

.spec-plates span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

/* ===== سلايدر الهيرو البسيط والأنيق ===== */
.hero-slider-container {
  max-width: 780px;
  margin-inline: auto;
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px 32px;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  height: 90px;
}

.slide-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.slide-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.slide-content h3 {
  color: var(--brand-blue);
  font-size: 16px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.slide-content p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.slide-link {
  color: var(--brand-green);
  font-weight: 700;
  font-size: 12.5px;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.slide-link:hover {
  color: #fff;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--brand-green);
  width: 24px;
  border-radius: 4px;
}

/* ===== قسم عناوين الأقسام العامة ===== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 50px;
}

.section-eyebrow {
  color: var(--brand-green);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: clamp(24px, 3.2vw, 32px);
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 800;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 15.5px;
}

/* ===== قسم الإحصائيات ===== */
.stats-section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: -40px auto 0;
  max-width: 1200px;
  padding-block: 50px;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card {
  padding: 10px;
}

.stat-number {
  color: var(--secondary);
  display: flex;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  gap: 2px;
  justify-content: center;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-prefix,
.stat-suffix {
  color: var(--signal);
  font-weight: 700;
}

.stat-label {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 992px) {
  .stats-section {
    margin-top: 0;
    margin-inline: 24px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .stats-section {
    margin-inline: 16px;
    padding-block: 30px;
  }
  .stats-grid {
    gap: 16px;
  }
}

/* ===== كاروسيل ميزات "ليه تختارنا" التمريري اللانهائي (Why Us Marquee Carousel) ===== */
.why-us {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.why-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  overflow-y: hidden;
  padding-block: 45px 30px;
  direction: ltr; /* Force LTR layout for animation stability across languages */
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: whyStopAndGo 18s ease-in-out infinite;
}

.why-marquee-container:hover .marquee-track,
.why-marquee-container:focus-within .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding-inline: 24px;
}

.carousel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
  flex-shrink: 0;
}

@keyframes whyStopAndGo {
  /* Item 1 */
  0%, 15% { transform: translateX(0); }
  /* Item 2 */
  20%, 35% { transform: translateX(-10%); }
  /* Item 3 */
  40%, 55% { transform: translateX(-20%); }
  /* Item 4 */
  60%, 75% { transform: translateX(-30%); }
  /* Item 5 */
  80%, 95% { transform: translateX(-40%); }
  /* Loop transition to duplicated first item */
  100% { transform: translateX(-50%); }
}

/* بالونات المحادثة (Speech Bubbles) */
.speech-bubble-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
}

.bubble-frame {
  width: 100%;
  height: 180px;
  background: var(--surface);
  border: 4px solid var(--surface);
  border-radius: 20px 20px 0 20px; /* Default RTL balloon shape */
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

/* ذيل بالونة المحادثة */
.bubble-tail {
  position: absolute;
  bottom: -15px;
  right: 30px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 0 0 16px;
  border-color: var(--surface) transparent transparent transparent;
  filter: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.04));
  transition: var(--transition);
}

/* دعم الاتجاه الأجنبي واللغات LTR */
html[lang="en"] .bubble-frame,
[dir="ltr"] .bubble-frame {
  border-radius: 20px 20px 20px 0;
}

html[lang="en"] .bubble-tail,
[dir="ltr"] .bubble-tail {
  right: auto;
  left: 30px;
  border-width: 16px 16px 0 0;
}

.bubble-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-item:hover .bubble-frame img {
  transform: scale(1.08);
}

.carousel-item:hover .bubble-frame {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border-color: var(--brand-green);
}

.carousel-item:hover .bubble-tail {
  border-top-color: var(--brand-green);
}

/* كبسولات النص (Pills) */
.feature-pill {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 50px;
  text-align: center;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  max-width: 100%;
  white-space: normal;
  line-height: 1.55;
  direction: rtl; /* Ensure correct text direction for Arabic inside forced LTR marquee container */
}

html[lang="en"] .feature-pill,
[dir="ltr"] .feature-pill {
  direction: ltr;
}

.carousel-item:hover .feature-pill {
  background: var(--primary-light);
  border-color: var(--brand-green);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 25, 47, 0.12);
}

/* ===== قسم أقسام الحشرات (Pest Categories) ===== */
.pests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

/* كروت الآفات الفاخرة المزدوجة (Pest Speech Bubble Cards) */
.pest-card-premium {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-decoration: none;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--line);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.pest-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--brand-gold);
}

.pest-card-premium .speech-bubble-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
}

.pest-card-premium .bubble-frame {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.pest-card-premium .bubble-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.pest-card-premium:hover .bubble-frame img {
  transform: scale(1.08);
}

.pest-card-premium .bubble-tail {
  position: absolute;
  bottom: -6px;
  right: 24px; /* المحاذاة لليمين في العربية */
  width: 16px;
  height: 16px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
  z-index: 1;
}

html[lang="en"] .pest-card-premium .bubble-tail,
[dir="ltr"] .pest-card-premium .bubble-tail {
  right: auto;
  left: 24px;
}

.pest-title-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--brand-gold);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 14.5px;
  font-weight: 700;
  transition: var(--transition);
  text-align: center;
  width: 100%;
  max-width: 170px;
}

.pest-card-premium:hover .pest-title-pill {
  background-color: var(--brand-gold);
  color: var(--brand-navy);
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.2);
}

@media (max-width: 768px) {
  .pests-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .pest-card-premium {
    padding: 10px;
    border-radius: 12px;
  }
  .pest-card-premium .speech-bubble-wrapper {
    margin-bottom: 8px;
  }
  .pest-card-premium .bubble-frame {
    border-radius: 14px;
  }
  .pest-title-pill {
    padding: 6px 8px;
    font-size: 12px;
    max-width: 100%;
  }
}

.testimonials {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonials-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 40px 15px;
  direction: ltr; /* Force LTR for animation stability */
}

.testimonials-marquee-track {
  display: flex;
  width: max-content;
  animation: testimonialsStopAndGo 16s ease-in-out infinite;
}

.testimonials-marquee-container:hover .testimonials-marquee-track,
.testimonials-marquee-container:focus-within .testimonials-marquee-track {
  animation-play-state: paused;
}

.testimonials-marquee-group {
  display: flex;
  gap: 24px;
  padding-inline-end: 24px;
}

@keyframes testimonialsStopAndGo {
  /* Item 1 */
  0%, 18% { transform: translateX(0); }
  /* Item 2 */
  25%, 43% { transform: translateX(-12.5%); }
  /* Item 3 */
  50%, 68% { transform: translateX(-25%); }
  /* Item 4 */
  75%, 93% { transform: translateX(-37.5%); }
  /* Loop transition to duplicated first item */
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  padding: 28px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  width: 320px;
  flex-shrink: 0;
  direction: rtl; /* Reset text direction for content readability */
  scroll-snap-align: start;
}

.testimonials-marquee-container::-webkit-scrollbar {
  height: 8px;
}

.testimonials-marquee-container::-webkit-scrollbar-thumb {
  background: var(--brand-gold);
  border-radius: 4px;
}

html[lang="en"] .testimonial-card,
[dir="ltr"] .testimonial-card {
  direction: ltr;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--brand-blue);
}

.rating {
  color: #FFC107;
  font-size: 16px;
  display: flex;
  gap: 2px;
}

.testi-text {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex-grow: 1;
}

.testi-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--steel-light);
  padding-top: 14px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.testi-name {
  font-size: 14px;
  font-weight: 700;
}

/* دعم إيقاف الحركة لمستويات الوصول */
@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .testimonials-marquee-track {
    animation-play-state: paused !important;
  }
}

/* ===== قسم الأسئلة الشائعة الأكورديون (FAQ Accordion) ===== */
.faqs {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-accordion {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  border-color: var(--brand-green);
  box-shadow: var(--shadow);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  gap: 16px;
}

.faq-icon {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-green);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  color: var(--brand-blue);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: rgba(244, 247, 245, 0.45);
}

.faq-answer-panel p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ===== قسم نداء العمل الأخير (CTA) ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #031B0D 100%);
  color: #fff;
  text-align: center;
  padding-block: 70px;
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: 30px;
}

.cta-section .hero-actions {
  margin-bottom: 0;
}

/* ===== الفوتر (Footer) ===== */
.site-footer {
  background: #091C12;
  color: #fff;
  font-size: 14px;
}

.footer-main {
  padding-block: 60px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-info p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--brand-gold);
  font-size: 15px;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links a:hover {
  color: var(--brand-green);
  padding-inline-start: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-list a:hover {
  color: var(--brand-blue);
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--brand-green);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-block: 20px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}

/* ===== شريط الاتصال العائم والسريع للموبايل ===== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 99;
  display: flex;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.15);
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14.5px;
  color: #fff;
}

.sticky-call {
  background: var(--brand-blue);
}

.sticky-whatsapp {
  background: #25D366;
  color: #fff;
}

/* شاشات سطح المكتب: زر دائري عائم في الجانب */
@media (min-width: 861px) {
  .sticky-bar {
    inset-inline-start: 24px;
    inset-inline-end: auto;
    bottom: 24px;
    flex-direction: column;
    gap: 12px;
    box-shadow: none;
  }
  
  .sticky-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    flex: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  }
  
  .sticky-btn span {
    display: none;
  }
}

/* ===== صفحة تفاصيل الحشرة المستقلة (pest.html) ===== */
.pest-detail-header {
  background: linear-gradient(135deg, #021209 0%, #010a05 100%);
  color: #fff;
  padding-block: 50px 40px;
  border-bottom: 1px solid var(--line);
}

.pest-breadcrumb {
  margin-bottom: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}

.pest-breadcrumb a {
  color: var(--brand-gold);
}

.pest-detail-lead {
  max-width: 620px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.pest-detail-body {
  padding-block: 70px;
}

.pest-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .pest-detail-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.pest-detail-image-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
  height: 380px;
  position: relative;
}

.pest-image-caption {
  position: absolute;
  inset-inline: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(10, 25, 47, 0.82);
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.pest-detail-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pest-detail-image-box:hover img {
  transform: scale(1.06);
}

.pest-detail-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-block {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.detail-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.detail-block-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--brand-green);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.detail-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.detail-heading h2 {
  font-size: 20px;
  color: var(--primary);
}

.detail-kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--brand-gold-dark);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--brand-gold-dark);
}

.detail-icon-treatment {
  font-size: 24px;
  font-weight: 800;
}

.detail-copy p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.detail-copy p:last-child {
  margin-bottom: 0;
}

.detail-block p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

/* تنسيق خطوات المعالجة بشكل مرقم واحترافي */
.detail-steps-list {
  padding-inline-start: 12px;
  margin-top: 10px;
  counter-reset: steps-counter;
}

.detail-steps-list li {
  counter-increment: steps-counter;
  margin-bottom: 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
  position: relative;
  line-height: 1.7;
  padding-inline-start: 36px;
}

.detail-steps-list li::before {
  content: counter(steps-counter, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  background: var(--secondary-light);
  color: var(--secondary);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--steel-light);
}

.detail-actions-box {
  background: var(--primary-light);
  border: 1px dashed var(--brand-green);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.detail-actions-box p {
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--primary);
}

.pest-trust-list {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pest-trust-list li {
  color: var(--ink-soft);
  font-size: 13.5px;
}

.pest-trust-list li::before {
  content: "✓";
  margin-inline-end: 8px;
  color: var(--brand-gold-dark);
  font-weight: 800;
}

/* ===== صفحات من نحن، الخدمات، اتصل بنا ===== */
.page-hero {
  background: linear-gradient(135deg, #021209 0%, #010a05 100%);
  color: #fff;
  padding-block: 60px 50px;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15.5px;
  max-width: 640px;
  margin-inline: auto;
}

/* من نحن */
.about-sections {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.about-card h2 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.cert-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.cert-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.cert-list li::before {
  content: "✔";
  color: var(--brand-green);
  font-weight: bold;
}

/* الخدمات */
.services-list-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-group h2 {
  font-size: 28px;
  color: var(--primary);
}

.service-group-business {
  padding: 34px;
  background: var(--primary);
  border-radius: var(--radius);
}

.service-group-business h2 {
  color: var(--brand-gold);
}

.service-group-lead {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 15px;
}

.service-group-business .service-group-lead {
  color: rgba(255, 255, 255, 0.8);
}

.service-group-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-item-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-item-card h3 {
  font-size: 20px;
  color: var(--primary);
}

.service-item-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

.service-group-business .service-item-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.service-group-business .service-item-card h3 {
  color: #fff;
}

.service-group-business .service-item-card p {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 768px) {
  .service-group-list {
    grid-template-columns: 1fr;
  }
  .service-group-business {
    padding: 24px;
  }
}

/* اتصل بنا */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-form-card h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--steel-light);
  background: var(--bg);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.btn-submit {
  width: 100%;
  background: var(--brand-green);
  color: #fff;
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.2);
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--primary);
  transform: translateY(-1px);
}

.success-alert {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--brand-green);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  font-weight: 700;
  display: none;
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-icon {
  font-size: 20px;
  color: var(--brand-green);
}

.info-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.info-text p, .info-text a {
  color: var(--ink-soft);
  font-size: 14px;
}

/* ===== التجاوب العام (General Responsiveness) ===== */
@media (max-width: 991px) {
  .header-inner {
    padding-block: 10px;
    position: relative;
  }

  /* ===== Mobile Navigation Drawer ===== */
  .main-nav {
    /* Override desktop flex */
    display: flex !important;
    flex-direction: column;
    gap: 4px;

    /* Drawer positioning */
    position: fixed;
    top: 0;
    right: 0;
    width: min(290px, 80vw);
    height: 100%;
    height: 100dvh;

    /* Visual */
    background: #0d1f35;
    border-left: 2px solid #C5A880;
    padding: 70px 16px 32px;

    /* Stacking */
    z-index: 1001;

    /* Animation — transform only, NO filter, NO opacity changes */
    transform: translateX(110%);
    transition: transform 0.3s ease;
    will-change: transform;

    /* Text */
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;

    /* No overflow blur artifacts */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  html[dir="ltr"] .main-nav {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 2px solid #C5A880;
    transform: translateX(-110%);
  }

  /* Fully open state */
  .main-nav.active {
    transform: translateX(0);
  }

  /* Nav Links */
  .main-nav a {
    display: block;
    padding: 13px 16px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
    margin: 0;
    /* Only transition background and color — NOT opacity or filter */
    transition: background 0.15s ease, color 0.15s ease;
    /* Prevent any inherited opacity issues */
    opacity: 1 !important;
  }

  .main-nav a:last-of-type {
    border-bottom: none;
  }

  .main-nav a:hover,
  .main-nav a.active {
    background: rgba(197, 168, 128, 0.15);
    color: #C5A880;
  }

  /* Hide desktop underline effect */
  .main-nav a::after {
    display: none !important;
  }

  /* Menu label at top */
  .main-nav::before {
    content: 'القائمة';
    display: block;
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 10px;
    color: #C5A880;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.18);
    opacity: 0.85;
  }

  /* Backdrop — simple dark overlay, NO blur (prevents iOS/Chrome rendering bug) */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    /* NO backdrop-filter: blur — causes sibling blur artifacts on mobile */
  }
  .nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Hamburger toggle button — z-index ABOVE drawer */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
    flex-shrink: 0;
  }
  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #C5A880;
    margin-block: 5px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Remove injected close button if it was rendered by old code */
  .nav-close-btn {
    display: none !important;
  }

  .tel-link {
    display: none;
  }
  .why-slider-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .why-slider-images {
    height: 250px;
  }
}


@media (max-width: 768px) {
  body {
    padding-bottom: 60px;
  }
  .carousel-item {
    width: calc(100vw - 63px);
  }
  .hero-actions .btn {
    width: 100%;
  }
  .testimonial-card {
    width: min(320px, calc(100vw - 64px));
  }
  .spec-plates li {
    min-width: 130px;
    padding: 10px;
  }
  .spec-plates strong {
    font-size: 15px;
  }
  .faq-question-btn {
    padding: 16px 20px;
    font-size: 14.5px;
  }
  .faq-answer-panel p {
    padding: 0 20px 16px;
  }
}

@media (max-width: 480px) {
  .brand-text small {
    display: none;
  }
  .brand-logo {
    height: 38px;
  }
  .hero-slider-container {
    padding: 16px 20px;
  }
  .slider-wrapper {
    height: 105px;
  }
}

/* تقليل الحركة لمن يعانون من الدوخة */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
  .hero-image-bg {
    animation: none;
  }
}

/* ===== نداءات العمل وقسم البطل الجديد ===== */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-gold);
  color: var(--brand-navy) !important;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: var(--transition);
  border: 1px solid var(--brand-gold);
}

.btn-nav-cta:hover {
  background-color: transparent;
  color: var(--brand-gold) !important;
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.2);
}

.btn-whatsapp-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--brand-gold) !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  transition: var(--transition);
  border: 2px solid var(--brand-gold);
  text-decoration: none;
}

.btn-whatsapp-secondary:hover {
  background-color: var(--brand-gold);
  color: var(--brand-navy) !important;
}

.hero-trust-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
  padding: 0;
  margin-top: 32px;
  justify-content: flex-start;
}

.hero-trust-indicators li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--surface);
  font-weight: 500;
}

.hero-trust-indicators li .icon-checkmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: var(--brand-gold);
  color: var(--brand-navy);
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
}

/* ===== قسم طريقة العمل (Timeline) ===== */
.how-it-works {
  background-color: var(--bg);
}

.timeline-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
  position: relative;
}

.timeline-step {
  background: var(--surface);
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.timeline-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--brand-gold);
}

.timeline-step .step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.timeline-step .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--brand-gold);
  opacity: 0.8;
}

.timeline-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0;
}

.timeline-step .step-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ===== قسم الأمان والسلامة ===== */
.safety-section {
  background-color: var(--brand-navy);
  color: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.safety-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 900px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.03);
  padding: 32px 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.safety-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background-color: rgba(197, 168, 128, 0.1);
  color: var(--brand-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.safety-content-text h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-gold);
  margin-top: 0;
  margin-bottom: 8px;
}

.safety-content-text p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

@media (max-width: 768px) {
  .safety-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

/* ===== تنسيق صفحة تفاصيل الحشرة الاحترافية الغنية ===== */
.warning-block {
  border-left: 4px solid var(--danger) !important;
  background: rgba(193, 68, 60, 0.02) !important;
}

.warning-icon {
  background-color: rgba(193, 68, 60, 0.1) !important;
  color: var(--danger) !important;
}

.warning-signs-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.warning-signs-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.warning-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: var(--danger);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.warning-alert-text {
  font-weight: 700;
  color: var(--danger);
  font-size: 14.5px;
  margin-top: 16px;
  border-top: 1px dashed rgba(193, 68, 60, 0.2);
  padding-top: 12px;
}

/* شبكة دور الشركة */
.treatment-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.treatment-features-grid .feat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
}

.treatment-features-grid .feat-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.treatment-features-grid .feat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-gold);
  opacity: 0.6;
  display: block;
  margin-bottom: 8px;
}

.treatment-features-grid h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.treatment-features-grid p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* أكورديون أسئلة الحشرة */
.pest-faq-accordion {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pest-faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: var(--transition);
}

.pest-faq-btn {
  width: 100%;
  padding: 16px 20px;
  background: var(--surface);
  border: none;
  text-align: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.pest-faq-btn:hover,
.pest-faq-btn.active {
  background: var(--primary-light);
  color: var(--primary);
}

.pest-faq-btn .faq-icon-arrow {
  font-size: 18px;
  font-weight: 400;
  color: var(--brand-gold);
  transition: transform 0.3s ease;
}

.pest-faq-btn.active .faq-icon-arrow {
  transform: rotate(45deg);
}

.pest-faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--surface);
}

.pest-faq-panel p {
  padding: 0 20px 16px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* الخاتمة والمقر */
.conclusion-block {
  background: var(--primary-light) !important;
  border: 1px solid var(--brand-gold) !important;
}

.conclusion-block h3 {
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.pest-location-info {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ==========================================================================
   PREMIUM UI POLISH — Full UI/UX Upgrade Layer
   ========================================================================== */

/* ===== 1. Scroll Reveal System ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.25,0.8,0.25,1), transform 0.55s cubic-bezier(0.25,0.8,0.25,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== 2. Hero Entrance Animations ===== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow         { animation: heroFadeUp 0.65s cubic-bezier(0.25,0.8,0.25,1) 0.10s both; }
.hero h1               { animation: heroFadeUp 0.65s cubic-bezier(0.25,0.8,0.25,1) 0.25s both; }
.hero .hero-lead       { animation: heroFadeUp 0.65s cubic-bezier(0.25,0.8,0.25,1) 0.40s both; }
.hero .hero-actions    { animation: heroFadeUp 0.65s cubic-bezier(0.25,0.8,0.25,1) 0.55s both; }
.hero .hero-trust-indicators { animation: heroFadeUp 0.65s cubic-bezier(0.25,0.8,0.25,1) 0.70s both; }

/* ===== 3. Navbar Scroll State ===== */
.site-header {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(10,25,47,0.1);
}
.site-header.scrolled .header-inner {
  padding-block: 8px;
}

/* ===== 4. Active Nav Link ===== */
.main-nav a.active {
  color: var(--brand-gold-dark) !important;
  font-weight: 800;
}
.main-nav a.active::after {
  transform: scaleX(1);
  background: var(--brand-gold);
}
@media (min-width: 992px) {
  .main-nav a:hover { color: var(--brand-gold-dark) !important; }
  .main-nav a::after { background: var(--brand-gold); }
}

/* ===== 5. FAQ SVG Chevron ===== */
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 50%;
  color: var(--brand-gold-dark);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  font-size: 0;
}
.faq-icon::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s ease;
  color: var(--brand-gold-dark);
}
.faq-item.open .faq-icon {
  background: var(--brand-gold);
  color: var(--brand-navy);
  transform: none;
}
.faq-item.open .faq-icon::before {
  transform: rotate(225deg) translateY(-2px);
  color: var(--brand-navy);
}

/* ===== 6. Timeline Step Number ===== */
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-gold-dark) 100%);
  color: var(--brand-navy);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(197,168,128,0.28);
}

/* ===== 7. Stat Card Dividers ===== */
@media (min-width: 993px) {
  .stat-card:not(:last-child) {
    border-inline-end: 1px solid var(--line);
  }
}

/* ===== 8. Section Eyebrow Pill ===== */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: rgba(197,168,128,0.1);
  border: 1px solid rgba(197,168,128,0.28);
  border-radius: 50px;
  margin-bottom: 16px;
}

/* ===== 9. About & Service Card Hover ===== */
.about-card,
.service-item-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.about-card:hover      { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-gold); }
.service-item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-gold); }

/* ===== 10. Form Error/Success States ===== */
.form-control.is-error   { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(193,68,60,0.12); }
.form-control.is-success { border-color: #25a244; box-shadow: 0 0 0 3px rgba(37,162,68,0.12); }
.form-error-msg { display: none; font-size: 12px; color: var(--danger); margin-top: 4px; font-weight: 600; }
.form-group.has-error .form-error-msg { display: block; }

/* ===== 11. Body Scroll Lock & Stacking Context Fix ===== */
body.nav-open { overflow: hidden; }
body.nav-open .site-header { z-index: 1005 !important; }

/* ===== 12. Mobile Trust Indicators Center ===== */
@media (max-width: 600px) {
  .hero-trust-indicators { justify-content: center; }
}

/* ===== 13. Page Transition Fade (inner pages) ===== */
.page-hero {
  animation: heroFadeUp 0.6s cubic-bezier(0.25,0.8,0.25,1) 0.1s both;
}

/* ===== 14. prefers-reduced-motion — complete override ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero .eyebrow,
  .hero h1,
  .hero .hero-lead,
  .hero .hero-actions,
  .hero .hero-trust-indicators,
  .page-hero { animation: none !important; opacity: 1 !important; transform: none !important; }
  .site-header, .btn, .about-card, .service-item-card,
  .timeline-step, .pest-card-premium, .testimonial-card,
  .detail-block, .faq-item, .faq-icon { transition: none !important; }
}
/* === PORTFOLIO SECTION - أعمالنا السابقة === */
.portfolio-section{background:var(--surface)}
.portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:52px}
.portfolio-card{position:relative;background:#fff;border-radius:var(--radius-md);overflow:hidden;box-shadow:0 2px 16px rgba(0,0,0,.07);transition:transform .28s ease,box-shadow .28s ease;display:flex;flex-direction:column}
.portfolio-card:hover{transform:translateY(-6px);box-shadow:0 14px 44px rgba(0,0,0,.14)}
.portfolio-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:repeating-linear-gradient(-45deg,#1a2a3a 0px,#1a2a3a 8px,#C5A880 8px,#C5A880 16px);opacity:0;transition:opacity .25s ease;z-index:10}
.portfolio-card:hover::before{opacity:1}
.portfolio-img-wrap{position:relative;overflow:hidden;height:200px}
.portfolio-img{width:100%;height:100%;transition:transform .42s ease;background-size:cover;background-position:center}
.portfolio-card:hover .portfolio-img{transform:scale(1.07)}
.portfolio-img--factory{background-image:linear-gradient(rgba(13, 31, 53, 0.4), rgba(13, 31, 53, 0.45)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=600&q=80')}
.portfolio-img--hospital{background-image:linear-gradient(rgba(13, 31, 53, 0.4), rgba(13, 31, 53, 0.45)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=600&q=80')}
.portfolio-img--hotel{background-image:linear-gradient(rgba(13, 31, 53, 0.4), rgba(13, 31, 53, 0.45)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=600&q=80')}
.portfolio-img--government{background-image:linear-gradient(rgba(13, 31, 53, 0.4), rgba(13, 31, 53, 0.45)), url('https://images.unsplash.com/photo-1541829011-85616b4741a2?auto=format&fit=crop&w=600&q=80')}
.portfolio-img--pharma{background-image:linear-gradient(rgba(13, 31, 53, 0.4), rgba(13, 31, 53, 0.45)), url('https://images.unsplash.com/photo-1581093458791-9f3c3900df4b?auto=format&fit=crop&w=600&q=80')}
.portfolio-img--restaurant{background-image:linear-gradient(rgba(13, 31, 53, 0.4), rgba(13, 31, 53, 0.45)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=600&q=80')}
.portfolio-img--compound{background-image:linear-gradient(rgba(13, 31, 53, 0.4), rgba(13, 31, 53, 0.45)), url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=600&q=80')}
.portfolio-badge{position:absolute;top:14px;right:14px;padding:4px 12px;border-radius:20px;font-size:11px;font-weight:700;font-family:var(--font-display);z-index:5}
.portfolio-badge--industry{background:rgba(26,42,58,.88);color:#C5A880;border:1px solid rgba(197,168,128,.4)}
.portfolio-badge--health{background:rgba(43,108,176,.88);color:#fff;border:1px solid rgba(255,255,255,.3)}
.portfolio-badge--hospitality{background:rgba(139,105,20,.88);color:#fff;border:1px solid rgba(255,215,0,.3)}
.portfolio-badge--gov{background:rgba(45,53,97,.88);color:#fff;border:1px solid rgba(255,255,255,.25)}
.portfolio-badge--residential{background:rgba(39,103,73,.88);color:#fff;border:1px solid rgba(104,211,145,.3)}
.portfolio-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(10,25,47,.93) 0%,rgba(10,25,47,.45) 55%,transparent 100%);display:flex;align-items:flex-end;padding:18px 16px;opacity:0;transition:opacity .28s ease;z-index:4}
.portfolio-overlay p{color:rgba(255,255,255,.93);font-size:13px;line-height:1.55;margin:0;font-family:var(--font-display);transform:translateY(8px);transition:transform .3s ease}
.portfolio-card:hover .portfolio-overlay{opacity:1}
.portfolio-card:hover .portfolio-overlay p{transform:translateY(0)}
.portfolio-body{padding:20px 20px 22px;display:flex;flex-direction:column;gap:7px;flex:1}
.portfolio-icon{color:var(--brand-gold);margin-bottom:2px}
.portfolio-title{font-family:var(--font-display);font-weight:800;font-size:16px;color:var(--brand-navy);margin:0;line-height:1.3}
.portfolio-desc{font-size:13px;color:var(--ink-soft);margin:0;line-height:1.55}
.portfolio-stat{margin-top:auto;padding-top:14px;border-top:1px solid rgba(0,0,0,.07);display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.portfolio-stat-num{font-family:var(--font-display);font-weight:900;font-size:26px;color:var(--brand-gold);line-height:1}
.portfolio-stat-label{font-size:12.5px;color:var(--ink-soft);line-height:1.35}
.portfolio-cta{margin-top:52px;padding:36px 40px;background:linear-gradient(135deg,var(--brand-navy) 0%,#1e3a5f 100%);border-radius:var(--radius-md);display:flex;align-items:center;justify-content:center;gap:28px;flex-wrap:wrap}
.portfolio-cta p{color:rgba(255,255,255,.92);font-family:var(--font-display);font-weight:700;font-size:18px;margin:0}
@media(max-width:1024px){.portfolio-grid{grid-template-columns:repeat(2,1fr);gap:22px}}
@media(max-width:640px){.portfolio-grid{grid-template-columns:1fr;gap:18px}.portfolio-img-wrap{height:170px}.portfolio-cta{flex-direction:column;gap:16px;padding:26px 20px}.portfolio-cta p{font-size:16px}}

/* ==========================================================================
   FOOTER ENHANCEMENTS: Address Link & Regional Branches Presence
   ========================================================================== */
.footer-address-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-address-link:hover {
  color: var(--brand-gold) !important;
  transform: translateX(-2px);
}
html[dir="ltr"] .footer-address-link:hover {
  transform: translateX(2px);
}
.footer-address-link svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--brand-gold);
}

.footer-branches-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 8px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}
.footer-branches-label {
  color: var(--brand-gold);
  font-weight: 800;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-branches-list {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   CONTACT PAGE: Map Integration & Interactive Address Link
   ========================================================================== */
.contact-address-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.map-link-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}
.map-link-btn:hover {
  color: var(--primary);
}
.map-link-btn .map-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(197, 168, 128, 0.18);
  border: 1px solid rgba(197, 168, 128, 0.4);
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 4px;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.map-link-btn:hover .map-badge {
  background: var(--brand-gold);
  color: var(--brand-navy);
  transform: scale(1.03);
}

/* Embedded Google Map Card */
.contact-map-section {
  margin-top: 48px;
}
.map-card-wrapper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--brand-navy) 0%, #172A45 100%);
  color: #fff;
  flex-wrap: wrap;
}
.map-header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.map-pin-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-gold);
  font-weight: 800;
  font-size: 15px;
  font-family: var(--font-display);
}
.map-header-info p {
  margin: 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}
.btn-map-direct {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--brand-gold);
  color: var(--brand-navy);
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-map-direct:hover {
  background: #d8bd98;
  transform: translateY(-2px);
}
.map-iframe-container {
  width: 100%;
  height: 380px;
  background: #e5e3df;
  position: relative;
}
.map-iframe-container iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   REGIONAL PRESENCE / BRANCHES SECTION
   ========================================================================== */
.branches-section {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.branches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.branch-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--brand-gold);
}
.branch-card--hq {
  border: 2px solid var(--brand-gold);
  background: linear-gradient(180deg, rgba(197, 168, 128, 0.06) 0%, #fff 40%);
}
.branch-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.branch-flag {
  font-size: 32px;
  line-height: 1;
}
.branch-badge {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(10, 25, 47, 0.08);
  color: var(--brand-blue);
  border: 1px solid rgba(10, 25, 47, 0.12);
}
.branch-badge--hq {
  background: var(--brand-gold);
  color: var(--brand-navy);
  border-color: var(--brand-gold);
}
.branch-country {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--brand-navy);
  margin: 0;
  line-height: 1.35;
}
.branch-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
  flex: 1;
}
.branch-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}
.branch-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25a244;
  box-shadow: 0 0 0 3px rgba(37, 162, 68, 0.2);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .branches-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .map-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-map-direct {
    width: 100%;
    justify-content: center;
  }
  .map-iframe-container {
    height: 280px;
  }
}

