:root {
  --orange: #E8462F;
  --orange-dark: #C93A26;
  --black: #111111;
  --ink: #1a1a1a;
  --grey-900: #2a2a2a;
  --grey-700: #4a4a4a;
  --grey-500: #7a7a7a;
  --grey-300: #cccccc;
  --grey-200: #e5e5e5;
  --grey-100: #f0f0f0;
  --grey-50: #f5f5f5;
  --white: #ffffff;
  --max: 1200px;
  --pad: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--grey-50);
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body {
  font-family: 'Noto Naskh Arabic', 'Segoe UI', Tahoma, sans-serif;
  font-size: 17px;
}

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

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

/* ============ HEADER ============ */
.site-header {
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid var(--grey-900);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo { width: 44px; height: auto; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text .name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}
.brand-text .tagline {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--grey-300);
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.nav a:hover { color: var(--white); background: var(--grey-900); }
.nav a.active { color: var(--orange); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: 12px;
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--grey-900);
}
.lang-switch a {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--grey-500);
  border-radius: 3px;
}
.lang-switch a.active {
  color: var(--white);
  background: var(--grey-900);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    inset-inline-end: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--pad) 16px;
    border-bottom: 1px solid var(--grey-900);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .lang-switch {
    margin-inline-start: 0;
    padding-inline-start: 0;
    border-inline-start: none;
    border-top: 1px solid var(--grey-900);
    padding-top: 12px;
    margin-top: 8px;
  }
}

/* ============ HERO ============ */
.hero {
  background: var(--black);
  color: var(--white);
  padding: clamp(48px, 8vw, 96px) 0;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 12px;
}
.hero-eyebrow .loc { color: var(--grey-300); margin-top: 4px; display: block; }
.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 32px 0 20px;
  max-width: 800px;
}
.hero-title .accent { color: var(--orange); }
.hero-sub {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.45;
  color: var(--grey-300);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero-image {
  margin-top: 48px;
  border-radius: 4px;
  overflow: hidden;
}
.hero-image img { width: 100%; }

/* ============ HERO SLIDER ============ */
.hero-slider {
  margin-top: 48px;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--grey-900);
}
.hero-slides {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 280px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide .caption {
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: 0;
  padding: 20px 24px 20px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0));
}
[dir="rtl"] .hero-slide .caption {
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: background 0.15s;
  z-index: 3;
}
.slider-btn:hover { background: var(--orange); }
.slider-btn.prev { inset-inline-start: 16px; }
.slider-btn.next { inset-inline-end: 16px; }
[dir="rtl"] .slider-btn svg { transform: scaleX(-1); }

.slider-dots {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 0;
  inset-inline-end: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.slider-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, width 0.15s;
}
.slider-dots button.active {
  background: var(--orange);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .hero-slides { aspect-ratio: 4 / 3; }
  .slider-btn { width: 36px; height: 36px; font-size: 16px; }
  .slider-btn.prev { inset-inline-start: 8px; }
  .slider-btn.next { inset-inline-end: 8px; }
  .hero-slide .caption { font-size: 11px; padding: 14px 16px; }
  [dir="rtl"] .hero-slide .caption { font-size: 13px; }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--grey-900);
}
.hero-stat h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.hero-stat p {
  font-size: 13px;
  color: var(--grey-500);
  line-height: 1.5;
}
@media (max-width: 700px) {
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
}

/* ============ SECTIONS ============ */
.section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section-num {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-500);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--grey-200);
  margin-bottom: 40px;
}
.section-num strong { color: var(--ink); font-weight: 600; }

.section-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 720px;
}
.section-lead {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
  color: var(--grey-700);
  max-width: 620px;
  margin-bottom: 48px;
}

.section-alt { background: var(--white); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark .section-num { color: var(--grey-500); border-color: var(--grey-900); }
.section-dark .section-num strong { color: var(--white); }
.section-dark .section-lead { color: var(--grey-300); }

/* ============ GRID PATTERNS ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; gap: 24px; }
}

.cards {
  display: grid;
  gap: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
  margin: 40px 0;
}
.cards.cols-5 { grid-template-columns: repeat(5, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) {
  .cards.cols-5, .cards.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .cards.cols-5, .cards.cols-3, .cards.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  padding: 24px 20px;
}
.card .num {
  color: var(--orange);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}
.card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  font-size: 13.5px;
  color: var(--grey-700);
  line-height: 1.5;
}

/* ============ PRODUCT CARDS ============ */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
  margin: 40px 0;
}
@media (max-width: 800px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .products { grid-template-columns: 1fr; } }

.product {
  background: var(--white);
  padding: 28px 24px;
  display: block;
  transition: background 0.15s;
}
.product:hover { background: var(--grey-50); color: inherit; }
.product .tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.product h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.product p {
  font-size: 14px;
  color: var(--grey-700);
  line-height: 1.55;
}

/* ============ STAT BLOCKS ============ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
  padding-top: 32px;
  border-top: 1px solid var(--grey-200);
}
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }
.stat .big {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.stat .lbl {
  font-size: 13px;
  color: var(--grey-700);
}

/* ============ TABLES ============ */
.table-wrap { overflow-x: auto; margin: 40px 0; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.data th {
  text-align: start;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
  padding: 12px 14px;
  border-bottom: 1px solid var(--grey-200);
  vertical-align: bottom;
  white-space: nowrap;
}
table.data td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--grey-200);
  vertical-align: top;
}
table.data td.dot { text-align: center; color: var(--orange); font-size: 12px; }
table.data td strong { display: block; margin-bottom: 4px; }

/* ============ FEATURE LIST ============ */
.features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.features li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-200);
  font-size: 15px;
}
.features li::before {
  content: '';
  flex: 0 0 14px;
  height: 2px;
  background: var(--orange);
  margin-top: 12px;
}

/* ============ SPEC TABLE ============ */
.spec {
  border-top: 1px solid var(--grey-200);
  margin: 32px 0;
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--grey-200);
}
.spec-row dt {
  font-weight: 700;
  font-size: 14px;
}
.spec-row dd {
  font-size: 14px;
  color: var(--grey-700);
}

/* ============ COLOR SWATCHES ============ */
.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 500px) { .swatches { grid-template-columns: repeat(2, 1fr); } }
.swatch .chip {
  height: 44px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.swatch .name {
  font-size: 13px;
  font-weight: 600;
}
.swatches-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--grey-500);
}

/* ============ CTA / CALLOUT ============ */
.callout {
  background: var(--black);
  color: var(--white);
  padding: 48px var(--pad);
  border-radius: 4px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.callout h3 {
  font-size: 24px;
  font-weight: 700;
  max-width: 500px;
}
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 3px;
  transition: background 0.15s;
}
.btn:hover { background: var(--orange-dark); color: var(--white); }
.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--grey-700);
}
.btn.ghost:hover { background: var(--grey-900); color: var(--white); }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--black);
  color: var(--grey-300);
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--grey-900);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p {
  margin-top: 14px;
  max-width: 380px;
  color: var(--grey-500);
  font-size: 13.5px;
  line-height: 1.6;
}
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  color: var(--grey-300);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 6px;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--grey-500);
  letter-spacing: 0.06em;
}

/* ============ CONTACT PAGE ============ */
.contact-hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 60px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-block h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 14px;
}
.contact-block .lines {
  font-size: 17px;
  line-height: 1.65;
  color: var(--white);
}
.contact-block .lines .muted { color: var(--grey-500); font-size: 14px; }
.tbc { color: var(--orange); font-style: italic; font-size: 14px; }

/* ============ RTL ADJUSTMENTS ============ */
[dir="rtl"] .hero-title,
[dir="rtl"] .section-title {
  letter-spacing: 0;
}
[dir="rtl"] .card .num {
  font-family: 'Inter', sans-serif;
}
