﻿/** Shopify CDN: Minification failed

Line 336:18 Unexpected "__actions"
Line 354:24 Unexpected "__grid"
Line 364:24 Unexpected "__grid"
Line 368:24 Unexpected "__item"
Line 379:36 Unexpected "__item"

**/
:root {
  --color-primary: #e10600;
  /* Industrial Red */
  --color-background: #0f1115;
  /* Deep Charcoal */
  --color-surface: #161a20;
  /* Alternating Surface */
  --color-card: #1b1f26;
  /* Card Background */
  --color-text: #ffffff;
  --color-text-muted: #94a3b8;
  --color-border: rgba(255, 255, 255, 0.08);

  --font-ar: 'Cairo', system-ui, sans-serif;
  --font-latin: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: var(--font-latin);
  --font-body: var(--font-latin);

  /* Enterprise Spacing Scale - Increased for breathing room */
  --spacing-xs: 1rem;
  --spacing-sm: 2rem;
  --spacing-md: 4rem;
  --spacing-lg: 8rem;
  --spacing-xl: 12rem;
  --container-width: 1400px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

html[dir="rtl"] {
  font-family: var(--font-ar);
}

html[dir="rtl"] body,
html[dir="rtl"] button,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  font-family: var(--font-ar);
  line-height: 1.85;
}

html[dir="ltr"] body {
  font-family: var(--font-latin);
  line-height: 1.6;
}

body {
  margin: 0;
  background-color: var(--color-background);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Section Spacing & Alternation */
section {
  padding: var(--spacing-lg) 0;
  transition: background-color var(--transition-normal);
}

section:nth-child(even) {
  background-color: var(--color-surface);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Hierarchy - Enterprise Type Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 3.5rem;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 2.5rem;
  line-height: 1.18;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

p,
.rte {
  max-width: 62ch;
  margin-bottom: 1.5rem;
}

.small-text {
  font-size: 0.95rem;
}

.subtitle {
  font-size: clamp(1.125rem, 2vw, 1.625rem);
  color: var(--color-text-muted);
  max-width: 750px;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 3.5rem;
}

/* Premium Industrial Button - Consistent Sizing */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 1.25rem 3.5rem;
  min-height: 4rem;
  /* Enterprise standardized height */
  text-decoration: none;
  font-weight: 900;
  border: 2px solid var(--color-primary);
  border-radius: 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8125rem;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #000000;
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.btn-whatsapp {
  background-color: #25D366;
  border-color: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  border-color: #128C7E;
  color: white;
}

/* Force Cairo for Hero in RTL */
html[dir="rtl"] [class*="hero-parallax-section"],
html[dir="rtl"] [class*="hero-parallax-section"] *,
html[dir="rtl"] [class*="hero-"] *,
html[dir="rtl"] .hero-parallax-section * {
  font-family: 'Cairo', system-ui, sans-serif !important;
}

html[dir="rtl"] [class*="hero-"] h1 {
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
}

html[dir="rtl"] [class*="hero-"] p,
html[dir="rtl"] [class*="hero-"] .rte {
  line-height: 1.85;
}

.brand-wordmark {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  display: inline-block;
}

/* RTL Specific Heading Fixes */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  letter-spacing: 0;
  font-weight: 800;
}

/* Trust Strip Refinement */
.trust-strip__title {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem) !important;
  font-weight: 800 !important;
  margin-bottom: 0.5rem !important;
}

.trust-strip__text {
  font-size: 0.95rem !important;
  opacity: 0.9;
}

/* Services / Capabilities Card Refinement */
.service-card,
.capability-card {
  padding: 3.5rem 2.5rem !important;
}

.service-card__title,
.capability-card__title,
.capability-card h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.15rem) !important;
  font-weight: 800 !important;
  margin-bottom: 1.25rem !important;
}

.service-card__text,
.capability-card__text {
  font-size: 0.95rem !important;
  opacity: 0.85;
  line-height: 1.7 !important;
}

@media (max-width: 767px) {
  :root {
    --mobile-padding: 1.25rem;
    --mobile-section-gap: 3.5rem;
    --mobile-card-gap: 1rem;
    --spacing-lg: 3.5rem;
  }

  section {
    padding: var(--mobile-section-gap) 0;
  }

  .container {
    padding: 0 var(--mobile-padding);
  }

  /* Executive Mobile Typography */
  h1 {
    font-size: clamp(2.25rem, 8.5vw, 2.75rem) !important;
    margin-bottom: 2rem !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
  }

  h2 {
    font-size: clamp(1.4rem, 6vw, 1.8rem) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.25 !important;
  }

  h3 {
    font-size: 1.1rem !important;
    margin-bottom: 1rem !important;
  }

  body,
  html[dir="rtl"] body {
    font-size: 15.5px !important;
    line-height: 1.8 !important;
  }

  .subtitle {
    font-size: 1rem !important;
    margin-bottom: 2.5rem !important;
  }

  /* Header Mobile Optimization */
  .header {
    padding: 0.75rem 0 !important;
    background-color: rgba(15, 17, 21, 0.96) !important;
  }

  .header .container {
    grid-template-columns: auto 1fr auto !important;
    gap: 0.75rem !important;
  }

  .header .btn-whatsapp {
    padding: 0.6rem 1rem !important;
    font-size: 0.7rem !important;
    min-height: 40px !important;
    min-width: auto !important;
  }

  /* Hero Actions - Full-width stacked on mobile */
  [class*="hero-"]__actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 1rem !important;
  }

  [class*="hero-"] .btn {
    width: 100% !important;
    min-width: 100% !important;
    padding: 1.15rem 2rem !important;
    min-height: 3.75rem !important;
  }

  /* Trust Strip Horizontal Scroll Pills */
  [class*="trust-strip"] .container {
    padding: 0 !important;
  }

  [class*="trust-strip"]__grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 0.75rem !important;
    padding: 0 var(--mobile-padding) 1.5rem !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  [class*="trust-strip"]__grid::-webkit-scrollbar {
    display: none !important;
  }

  [class*="trust-strip"]__item {
    min-width: 270px !important;
    scroll-snap-align: start !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--color-border) !important;
    padding: 1.5rem !important;
    flex-direction: row !important;
    text-align: right !important;
    border-radius: 8px !important;
  }

  [dir="ltr"] [class*="trust-strip"]__item {
    text-align: left !important;
  }

  /* Grids: 2-col on mobile */
  .grid,
  [class*="cats-grid"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--mobile-card-gap) !important;
  }

  /* Cards: reduced padding */
  .capability-card,
  .category-premium-card,
  .product-card {
    padding: 1.5rem 1rem !important;
    min-height: auto !important;
  }

  /* Footer: single column stacked */
  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .footer__col {
    padding-bottom: 2rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .footer__contact-item {
    padding: 1rem !important;
    font-size: 0.9rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 6px !important;
  }
}

/* Animation System */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* Global Utilities */
.skip-to-content-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-to-content-link:focus {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  padding: 15px;
  background-color: #E10600;
  color: #fff;
  z-index: 99999;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/* Hero Media & Parallax logic managed in component or theme.js */
.hero-parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-element {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0;
  transition: opacity 1s ease;
  transform: translate(-50%, -50%);
}

.parallax-element.is-playing {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .parallax-element {
    transition: none !important;
  }
}

/* Catalog Layout Optimizations */
.btn-whatsapp-catalog {
  font-size: 0.8125rem !important;
  letter-spacing: 0.05em;
  padding: 1rem 1.5rem !important;
  min-height: 3.5rem !important;
}

[class*="catalog-browser"] .no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem;
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border);
}

/* Footer Layout Refinements */
[dir="rtl"] .footer__link-item a:hover {
  padding-left: 0;
  padding-right: 5px;
}

[dir="ltr"] .footer__link-item a:hover {
  padding-left: 5px;
  padding-right: 0;
}

.footer__branding-small {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.6;
}

/* Catalog & Product Refinements */
.product-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.product__desc.rte p {
  margin-bottom: 1.5rem;
}

[dir="rtl"] .product__info {
  text-align: right;
}

/* RTL Support */
html[dir="rtl"] {
  text-align: right;
}

/* Home Categories Grid Utility */
.home-categories-section {
  position: relative;
  z-index: 1;
}

.category-premium-card h3 {
  transition: color 0.3s ease;
}

.category-premium-card:hover h3 {
  color: var(--color-primary);
}


/* Services Grid Enhancements */
.capability-card {
  border-radius: 12px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.capability-card h3 {
  margin-top: 0;
}