/* ============================================
   ELGHA SANAT PASARGAD - Professional Industrial Theme
   Colors: Deep Navy + Molten Orange + Bronze Gold
   ============================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-primary: #0A2540;
  --c-primary-dark: #06192E;
  --c-primary-light: #1E3A5F;
  --c-accent: #E85D04;
  --c-accent-dark: #C24400;
  --c-accent-light: #F48C06;
  --c-gold: #C9A961;
  --c-gold-light: #E0C988;
  --c-gray-50: #F8FAFC;
  --c-gray-100: #F1F5F9;
  --c-gray-200: #E2E8F0;
  --c-gray-400: #94A3B8;
  --c-gray-600: #475569;
  --c-gray-800: #1E293B;
  --c-text: #0F172A;
  --c-white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 16px 48px rgba(10, 37, 64, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', 'Segoe UI', sans-serif;
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body[dir="ltr"] { font-family: 'Inter', 'Segoe UI', sans-serif; }
body[lang="ar"] { font-family: 'Cairo', 'Segoe UI', sans-serif; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.3; color: var(--c-primary); }
h1 { font-size: clamp(28px, 4vw, 48px); }
h2 { font-size: clamp(24px, 3vw, 38px); }
h3 { font-size: clamp(18px, 2vw, 22px); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 14px;
  background: rgba(232, 93, 4, 0.08);
  border-radius: 999px;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}

.top-bar {
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.top-contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--c-gray-200); }
.top-contact a:hover { color: var(--c-gold-light); }

.lang-switcher { display: flex; gap: 6px; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--c-white);
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  transition: var(--transition);
}
.lang-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--c-gold); }
.lang-btn.active { background: var(--c-accent); border-color: var(--c-accent); }

.flag-icon {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  display: inline-block;
  background-size: cover;
  background-position: center;
  border: 0.5px solid rgba(255,255,255,0.25);
}
/* Iran flag (3 horizontal stripes: green-white-red) */
.flag-ir {
  background: linear-gradient(to bottom, #239F40 0 33%, #fff 33% 66%, #DA0000 66% 100%);
  position: relative;
}
.flag-ir::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 5px; height: 5px;
  background: #DA0000;
  border-radius: 50%;
}
/* UK flag (simplified Union Jack) */
.flag-gb {
  background:
    linear-gradient(45deg, transparent 45%, #fff 45% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, #fff 45% 55%, transparent 55%),
    linear-gradient(to bottom, transparent 40%, #fff 40% 60%, transparent 60%),
    linear-gradient(to right, transparent 40%, #fff 40% 60%, transparent 60%),
    #012169;
  position: relative;
}
.flag-gb::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent 45%, #C8102E 45% 55%, transparent 55%),
    linear-gradient(to right, transparent 45%, #C8102E 45% 55%, transparent 55%);
}
/* Saudi Arabia flag (green with white) */
.flag-sa {
  background: #006C35;
  position: relative;
}
.flag-sa::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70%; height: 1px;
  background: #fff;
  box-shadow: 0 -2px 0 #fff, 0 2px 0 #fff;
}

/* Main header */
.main-header { padding: 16px 0; }
.main-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-size: 20px; font-weight: 800; color: var(--c-primary); line-height: 1.2; }
.logo-sub { font-size: 12px; color: var(--c-gray-600); font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 14px;
  font-weight: 500;
  font-size: 15px;
  color: var(--c-gray-800);
  border-radius: 8px;
  position: relative;
}
.main-nav a:hover { color: var(--c-accent); background: var(--c-gray-50); }
.main-nav a.active { color: var(--c-accent); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}
.main-nav .nav-cta {
  background: var(--c-accent);
  color: var(--c-white) !important;
  padding: 10px 20px;
  margin-inline-start: 8px;
  font-weight: 600;
}
.main-nav .nav-cta:hover { background: var(--c-accent-dark); }

.menu-toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span {
  display: block; width: 26px; height: 3px;
  background: var(--c-primary); margin: 5px 0; border-radius: 2px;
  transition: var(--transition);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--c-accent); color: #fff; box-shadow: 0 4px 16px rgba(232,93,4,0.3); }
.btn-primary:hover { background: var(--c-accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,93,4,0.4); }
.btn-outline { background: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border: 2px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0A2540 0%, #1E3A5F 50%, #06192E 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(232,93,4,0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201,169,97,0.18), transparent 45%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,0.5), transparent); }
.hero-content { position: relative; z-index: 2; padding: 80px 24px; text-align: center; }
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(232,93,4,0.15);
  border: 1px solid rgba(232,93,4,0.4);
  color: var(--c-accent-light);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); margin-bottom: 20px; line-height: 1.2; }
.hero-sub { font-size: clamp(15px, 1.5vw, 19px); color: rgba(255,255,255,0.85); max-width: 800px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(24px, 3vw, 38px); color: var(--c-gold-light); font-weight: 800; }
.stat span { display: block; font-size: 13px; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ========== SECTIONS ========== */
.section { padding: 80px 0; }
.section-light { background: var(--c-gray-50); }
.section-dark { background: var(--c-primary); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: rgba(255,255,255,0.8); }

.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--c-gray-600); font-size: 17px; max-width: 700px; margin: 0 auto; }
.section-head.light p { color: rgba(255,255,255,0.85); }
.section-mini-head { margin: 50px 0 30px; padding-bottom: 16px; border-bottom: 2px solid var(--c-gray-200); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ========== FEATURE CARDS ========== */
.feature-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--c-gray-200);
  transition: var(--transition);
  text-align: center;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--c-accent); }
.feature-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(232,93,4,0.1), rgba(201,169,97,0.1));
  color: var(--c-accent);
  border-radius: 18px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--c-gray-600); font-size: 14.5px; }

/* ========== PRODUCT CARDS ========== */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--c-gray-100); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-tag {
  position: absolute; top: 14px; right: 14px;
  background: var(--c-accent); color: #fff;
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
}
body[dir="ltr"] .product-tag { right: auto; left: 14px; }
.product-body { padding: 24px; }
.product-body h3 { color: var(--c-primary); margin-bottom: 10px; }
.product-body p { color: var(--c-gray-600); margin-bottom: 14px; font-size: 14.5px; }
.card-link { color: var(--c-accent); font-weight: 600; font-size: 14px; }
.card-link:hover { color: var(--c-accent-dark); }

/* ========== ABOUT TEASER ========== */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--c-accent);
  color: #fff;
  padding: 20px 28px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
body[dir="ltr"] .about-badge { right: auto; left: -20px; }
.about-badge strong { display: block; font-size: 36px; font-weight: 800; }
.about-badge span { font-size: 13px; }
.about-text p { margin: 14px 0; color: var(--c-gray-600); }

/* ========== CAPABILITIES ========== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cap-item {
  background: #fff;
  padding: 32px 20px;
  border-radius: var(--radius);
  text-align: center;
  border-top: 4px solid var(--c-accent);
  box-shadow: var(--shadow-sm);
}
.cap-num {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.cap-num small { color: var(--c-gold); margin: 0 4px; font-weight: 400; }
.cap-item p { color: var(--c-gray-600); font-size: 14px; }

/* ========== CUSTOMERS ========== */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.customer-item {
  background: #fff;
  padding: 18px 16px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
  border: 1px solid var(--c-gray-200);
  transition: var(--transition);
}
.customer-item:hover { border-color: var(--c-accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.customer-grid-lg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.customer-card {
  background: #fff;
  padding: 22px;
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--c-accent);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.customer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.customer-card strong { display: block; color: var(--c-primary); font-size: 16px; margin-bottom: 6px; }
.customer-card span { color: var(--c-gray-600); font-size: 13px; }

/* ========== CTA BAND ========== */
.cta-band {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,93,4,0.2), transparent 70%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; margin-bottom: 6px; }
.cta-inner p { color: rgba(255,255,255,0.85); }

/* ========== PAGE HERO ========== */
.page-hero {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  color: #fff;
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; position: relative; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 17px; position: relative; }

/* ========== ABOUT PAGE ========== */
.about-page { max-width: 880px; margin: 0 auto; }
.about-bismillah {
  text-align: center;
  font-size: 22px;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Vazirmatn', serif;
}
.about-page h2 { text-align: center; margin-bottom: 30px; }
.about-page p { margin: 18px 0; color: var(--c-gray-800); font-size: 16px; text-align: justify; }
.callout {
  background: linear-gradient(135deg, rgba(232,93,4,0.06), rgba(201,169,97,0.06));
  border-inline-start: 4px solid var(--c-accent);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin: 30px 0;
}
.callout h3 { margin-bottom: 14px; }
.callout ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.callout li { padding-inline-start: 24px; position: relative; color: var(--c-gray-800); }
.callout li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--c-accent);
  font-weight: 800;
}

/* ========== PRODUCT DETAIL ========== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin: 60px 0;
}
.product-detail.reverse { direction: rtl; }
body[dir="ltr"] .product-detail.reverse { direction: ltr; }
.product-detail.reverse > div:first-child { order: 2; }
body[dir="ltr"] .product-detail.reverse > div:first-child { order: 0; }
.product-detail-img img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-detail h2 { color: var(--c-primary); margin-bottom: 16px; }
.product-detail p { color: var(--c-gray-600); margin-bottom: 20px; }

.spec-list { margin: 20px 0; }
.spec-list li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--c-gray-200);
  position: relative;
  font-size: 15px;
}
body[dir="rtl"] .spec-list li { padding: 10px 28px 10px 0; }
.spec-list li::before {
  content: '◆';
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  color: var(--c-accent);
}

/* ========== SERVICES ========== */
.service-card {
  background: #fff;
  padding: 30px 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--c-gray-200);
  transition: var(--transition);
}
.service-card:hover { border-color: var(--c-accent); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-icon {
  width: 70px; height: 70px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-primary);
  color: var(--c-gold-light);
  border-radius: 16px;
}
.service-card h3 { margin-bottom: 10px; color: var(--c-primary); }
.service-card p { color: var(--c-gray-600); font-size: 14.5px; }

/* ========== THERMOMETER PAGE ========== */
.thermo-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
  border-top: 4px solid var(--c-accent);
  box-shadow: var(--shadow-sm);
}
.thermo-card h3 { color: var(--c-accent); font-size: 24px; margin-bottom: 12px; }
.check-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  font-size: 15px;
  color: var(--c-gray-800);
}
body[dir="rtl"] .check-list li { padding: 10px 30px 10px 0; }
.check-list li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 20px; height: 20px;
  background: var(--c-accent); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 20px 0;
}
.spec-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--c-gray-200);
  font-size: 15px;
}
.spec-table td:first-child { font-weight: 600; color: var(--c-primary); width: 35%; background: var(--c-gray-50); }
.spec-table tr:last-child td { border-bottom: 0; }

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.contact-card {
  background: #fff;
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--c-gray-200);
  transition: var(--transition);
  cursor: pointer;
}
.contact-card.wide { grid-column: span 2; }
.contact-card:hover { transform: translateY(-4px); border-color: var(--c-accent); box-shadow: var(--shadow-md); }
.contact-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-light));
  color: #fff;
  border-radius: 16px;
}
.contact-card h3 { color: var(--c-primary); font-size: 17px; margin-bottom: 8px; }
.contact-card p { color: var(--c-gray-600); font-size: 14.5px; }
.map-wrap { margin-top: 30px; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo strong { color: #fff; font-size: 18px; }
.site-footer h4 { color: #fff; margin-bottom: 20px; font-size: 16px; }
.site-footer ul li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--c-gold-light); }
.footer-contact li { padding-inline-start: 0; }
.kw-cloud { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 13px;
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ========== FLOATING CALL BUTTON ========== */
.float-call {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 64px;
  height: 64px;
  background: var(--c-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(232,93,4,0.5);
  z-index: 99;
  animation: floatShake 2.5s ease-in-out infinite;
  transition: var(--transition);
}
.float-call:hover { transform: scale(1.1); }
.float-call .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--c-accent);
  animation: ringPulse 1.8s ease-out infinite;
}
@keyframes floatShake {
  0%, 100% { transform: rotate(0); }
  10% { transform: rotate(-12deg); }
  20% { transform: rotate(12deg); }
  30% { transform: rotate(-10deg); }
  40% { transform: rotate(10deg); }
  50% { transform: rotate(0); }
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 16px; }
  .main-header-inner { position: relative; }
  
  .top-bar-inner { flex-direction: column; gap: 8px; padding: 4px 0; }
  .top-contact { justify-content: center; font-size: 12px; }
  .lang-switcher { justify-content: center; }
  
  .grid-2, .grid-3, .grid-4, .cap-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-card.wide { grid-column: span 1; }
  .product-detail { grid-template-columns: 1fr; gap: 30px; margin: 40px 0; }
  .product-detail.reverse > div:first-child { order: 0; }
  
  .section { padding: 50px 0; }
  .hero { min-height: auto; padding: 40px 0; }
  .hero-content { padding: 40px 16px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding-top: 30px; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .callout ul { grid-template-columns: 1fr; }
  
  .logo-title { font-size: 16px; }
  .logo-sub { font-size: 11px; }
  .logo-icon { width: 44px; height: 44px; }
  
  .float-call { width: 56px; height: 56px; bottom: 16px; inset-inline-end: 16px; }
  
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 14px; }
  .hero-cta .btn { width: 100%; }
  .btn { padding: 11px 20px; font-size: 14px; }
  .lang-btn { padding: 4px 8px; font-size: 11px; }
  .lang-btn span:last-child { display: inline; }
}

/* ========== LTR / RTL ADJUSTMENTS ========== */
body[dir="ltr"] .main-nav .nav-cta { margin-inline-start: 8px; }
body[lang="ar"] h1, body[lang="ar"] h2, body[lang="ar"] h3 { font-family: 'Cairo', sans-serif; }
body[lang="en"] h1, body[lang="en"] h2, body[lang="en"] h3 { font-family: 'Playfair Display', serif; font-weight: 700; }

/* Numbers in LTR direction even in RTL contexts */
[dir="ltr"] { unicode-bidi: embed; }
.spec-table td, .contact-card p {
  unicode-bidi: plaintext;
}
