/* ====================================================================
   Enterprise Website Template - Design System
   ==================================================================== */
:root {
  --primary: #f04a1a;
  --primary-dark: #d03d12;
  --primary-light: #ff6b3a;
  --navy: #0a1629;
  --navy-dark: #060f1f;
  --text: #1a1a2e;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 14px;
  --shadow: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.14);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border-radius: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 { line-height: 1.2; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: var(--text-light); line-height: 1.7; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.bg-white { background: var(--bg); }
.bg-light { background: var(--bg-light); }

/* ====================================================================
   Buttons
   ==================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.75rem; border-radius: 100px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent;
  letter-spacing: -.01em; white-space: nowrap;
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-primary {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(240,74,26,.25);
}
.btn-primary:hover {
  background: var(--primary-dark); border-color: var(--primary-dark);
  transform: translateY(-2px); box-shadow: 0 6px 20px rgba(240,74,26,.35);
}
.btn-outline {
  background: transparent; color: var(--text); border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--primary); color: var(--primary);
  background: rgba(240,74,26,.03); transform: translateY(-1px);
}
.btn-outline-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.35);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6);
  transform: translateY(-1px);
}

/* ====================================================================
   TOPBAR (light background, contact info + sitemap)
   ==================================================================== */
.site-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  background: #f1f5f9; border-bottom: 1px solid var(--border);
  padding: .45rem 0; font-size: .82rem; color: var(--text-light);
  transition: transform .35s ease;
  will-change: transform;
}
.topbar-container {
  max-width: 1240px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar-left { display: flex; align-items: center; gap: 1.25rem; }
.topbar-left a { display: flex; align-items: center; gap: .35rem; color: var(--text-light); transition: color .2s; }
.topbar-left a:hover { color: var(--primary); }
.topbar-left i { font-size: .9rem; color: var(--primary); }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-right a { color: var(--text-light); transition: color .2s; }
.topbar-right a:hover { color: var(--primary); }
.topbar-social { display: flex; gap: .6rem; }
.topbar-social a { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; color: var(--text-muted); font-size: .85rem; transition: all .2s; }
.topbar-social a:hover { background: var(--primary); color: #fff; }
@media (max-width: 768px) {
  .topbar-left { gap: .75rem; }
  .topbar-left span { display: none; }
}

/* ====================================================================
   NAVIGATION
   ==================================================================== */
.site-nav {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0; transition: all .35s ease;
  will-change: transform;
}
.site-nav.scrolled {
  background: rgba(10,22,41,.96); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
  padding: .6rem 0;
}
.nav-container {
  max-width: 1240px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; color: #fff; flex-shrink: 0; }
.brand-icon { font-size: 1.4rem; color: var(--primary); }
.brand-text { letter-spacing: -.02em; }
.nav-collapse { display: flex; align-items: center; flex: 1; }
.nav-list { display: flex; align-items: center; gap: .25rem; flex: 1; }
.lang-switch { margin-left: auto; display: flex; align-items: center; }
.lang-switch .nav-item { display: flex; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: .25rem;
  padding: .6rem 1rem; color: rgba(255,255,255,.85);
  font-size: .95rem; font-weight: 500; border-radius: var(--radius-sm);
  transition: all var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-item:hover > .nav-link { color: #fff; background: rgba(255,255,255,.1); }
.lang-toggle { gap: .4rem; margin-left: auto; }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,.18);
  padding: .5rem 0; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s ease;
  z-index: 1001;
}
.dropdown-right { left: auto; right: 0; }
.nav-item:hover > .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
  display: flex; align-items: center; padding: .7rem 1.25rem;
  color: var(--text); font-size: .9rem; font-weight: 500;
  transition: all .15s ease; white-space: nowrap;
}
.dropdown-item:hover, .dropdown-item.active { background: rgba(240,74,26,.06); color: var(--primary); }
.dropdown-item i { font-size: 1.05rem; width: 1.3rem; text-align: center; }

/* Mobile toggle */
.nav-toggler { display: none; flex-direction: column; gap: 5px; padding: .5rem; background: none; border: none; cursor: pointer; margin-left: auto; }
.nav-toggler span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
@media (max-width: 992px) {
  .nav-toggler { display: flex; }
  .nav-collapse { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-dark); padding: 1rem; flex-direction: column; }
  .nav-collapse.show { display: flex; }
  .nav-list { flex-direction: column; width: 100%; }
  .lang-switch { margin-left: 0; }
  .lang-toggle { margin-left: 0; }
  .nav-dropdown { position: static; background: rgba(255,255,255,.05); box-shadow: none; border-radius: var(--radius-sm); margin-top: .25rem; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-item:hover > .nav-dropdown { display: block; }
  .dropdown-item { color: rgba(255,255,255,.75); }
  .dropdown-item:hover { color: #fff; background: rgba(255,255,255,.08); }
}

/* ====================================================================
   HERO (homepage)
   ==================================================================== */
.hp-hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 8s ease; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,22,41,.92) 0%, rgba(10,22,41,.7) 40%, rgba(10,22,41,.3) 70%, rgba(10,22,41,.15) 100%);
}
.hero-overlay { display: none; }
.hero-content { position: relative; z-index: 2; width: 100%; padding: 10rem 0 7rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(240,74,26,.2); color: var(--primary-light);
  border: 1px solid rgba(240,74,26,.3); border-radius: 100px;
  padding: .45rem 1.25rem; font-size: .88rem; font-weight: 600;
  margin-bottom: 1.75rem; backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem); font-weight: 800; color: #fff;
  max-width: 680px; line-height: 1.08; letter-spacing: -.03em;
}
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,.72); max-width: 540px;
  margin-top: 1.5rem; line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem;
  margin-top: 4.5rem; max-width: 680px;
  padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.12);
}
.stat-item { text-align: left; }
.stat-num {
  display: block; font-size: 2.25rem; font-weight: 800;
  color: #fff; line-height: 1.1; letter-spacing: -.02em;
}
.stat-label {
  font-size: .82rem; color: rgba(255,255,255,.5); font-weight: 500;
  text-transform: uppercase; letter-spacing: .06em; margin-top: .35rem;
  display: block;
}
@media (max-width: 768px) {
  .hp-hero { min-height: 85vh; }
  .hero-content { padding: 8rem 0 5rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
  .hero-title { font-size: 2.25rem; }
  .hero-sub { font-size: 1.05rem; }
}

/* ====================================================================
   SECTION HEADERS
   ==================================================================== */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block; background: rgba(240,74,26,.08);
  color: var(--primary); padding: .4rem 1.15rem; border-radius: 100px;
  font-size: .82rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: .85rem;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; color: var(--text); margin-bottom: .6rem; }
.section-desc { color: var(--text-light); font-size: 1.05rem; max-width: 560px; margin: 0 auto; line-height: 1.65; }
.section-footer { text-align: center; margin-top: 3rem; }

/* Section Tabs (sub-category navigation) */
.section-tabs {
  display: flex; gap: .5rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap;
}
.section-tab {
  padding: .55rem 1.3rem; border-radius: 100px; font-size: .9rem;
  font-weight: 500; color: var(--text-light); background: transparent;
  border: 1px solid var(--border); cursor: pointer; transition: all .2s;
  white-space: nowrap;
}
.section-tab:hover { border-color: var(--primary); color: var(--primary); }
.section-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Section Panels (tab content) */
.section-panel { display: none; }
.section-panel.active { display: block; }

/* ====================================================================
   PRODUCT CARDS (standard card style)
   ==================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.product-card {
  display: flex; flex-direction: column; background: #fff;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(240,74,26,.15); }
.product-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-light); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,0,.1,1); }
.product-card:hover .product-img img { transform: scale(1.05); }
.no-img { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 2.5rem; color: #cbd5e1; }
.product-info { padding: 1.25rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-tag {
  display: inline-block; background: rgba(240,74,26,.06); color: var(--primary);
  font-size: .75rem; font-weight: 600; padding: .25rem .7rem; border-radius: 100px;
  align-self: flex-start; margin-bottom: .6rem; letter-spacing: .02em;
}
.product-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); letter-spacing: -.01em; }
.product-desc { font-size: .9rem; color: var(--text-light); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--primary); font-weight: 600; font-size: .9rem;
  margin-top: .85rem; transition: gap .2s;
}
.product-card:hover .product-link { gap: .6rem; }

/* ====================================================================
   SOLUTIONS (image-forward layout, different from products)
   ==================================================================== */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.solution-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.solution-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.solution-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,0,.1,1); }
.solution-card:hover .solution-img img { transform: scale(1.05); }
.solution-icon {
  position: absolute; bottom: 1rem; right: 1rem;
  background: var(--primary); color: #fff; width: 44px; height: 44px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; box-shadow: 0 4px 14px rgba(240,74,26,.35);
}
.solution-info { padding: 1.35rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.solution-title { font-size: 1.15rem; font-weight: 700; margin-bottom: .4rem; letter-spacing: -.01em; }
.solution-desc { font-size: .9rem; color: var(--text-light); line-height: 1.6; flex: 1; }
.solution-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--primary); font-weight: 600; font-size: .9rem;
  margin-top: .85rem; transition: gap .2s;
}
.solution-card:hover .solution-link { gap: .6rem; }
@media (max-width: 992px) { .solution-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .solution-grid { grid-template-columns: 1fr; } }

/* ====================================================================
   CASES (image-forward, more visual emphasis)
   ==================================================================== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all var(--transition);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-img { aspect-ratio: 16/10; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,0,.1,1); }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-info { padding: 1.25rem 1.35rem 1.5rem; }
.case-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-desc { font-size: .88rem; color: var(--text-light); line-height: 1.6; margin-bottom: .85rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.case-link { color: var(--primary); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; transition: gap .2s; }
.case-card:hover .case-link { gap: .6rem; }
@media (max-width: 992px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .case-grid { grid-template-columns: 1fr; } }

/* ====================================================================
   NEWS (two-column vertical list)
   ==================================================================== */
.news-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
}
.news-card {
  display: block; padding: 1.25rem 0;
  border-bottom: 1px solid var(--border); transition: all var(--transition);
  text-decoration: none;
}
.news-card:hover { border-bottom-color: var(--primary); }
.news-date {
  font-size: .82rem; color: var(--text-muted); font-weight: 500;
  margin-bottom: .4rem; display: flex; align-items: center; gap: .35rem;
}
.news-title {
  font-size: 1.05rem; font-weight: 700; margin-bottom: .3rem; letter-spacing: -.01em;
  color: var(--text); transition: color .2s;
}
.news-card:hover .news-title { color: var(--primary); }
.news-desc {
  font-size: .88rem; color: var(--text-light); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: .5rem;
}
.news-link {
  color: var(--primary); font-weight: 600; font-size: .85rem;
  display: inline-flex; align-items: center; gap: .3rem; transition: gap .2s;
}
.news-card:hover .news-link { gap: .55rem; }
@media (max-width: 576px) { .news-grid { grid-template-columns: 1fr; } }

/* ====================================================================
   ABOUT SECTION (dark, 55/45 layout)
   ==================================================================== */
.about-section { background: var(--navy); color: rgba(255,255,255,.9); padding: 7rem 0; }
.about-section .section-title { color: #fff; margin-bottom: 1rem; font-size: clamp(1.6rem, 3vw, 2rem); }
.about-section .section-tag { background: rgba(240,74,26,.15); color: var(--primary-light); }
.about-grid { display: grid; grid-template-columns: 55fr 45fr; gap: 4rem; align-items: center; }
.about-text p { margin-bottom: 1.25rem; font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,.65); }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 0 80px rgba(240,74,26,.1); }
.about-img img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.about-features { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.afeat {
  display: flex; align-items: center; gap: .85rem; font-size: .95rem;
  font-weight: 500; color: rgba(255,255,255,.75);
}
.afeat i { color: var(--primary-light); font-size: 1.25rem; width: 1.5rem; text-align: center; }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img { order: -1; }
  .about-img img { min-height: 280px; }
}

/* ====================================================================
   CTA SECTION
   ==================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 5rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 70%, rgba(255,255,255,.06) 0%, transparent 60%);
}
.cta-title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; color: #fff; margin-bottom: .75rem; position: relative; }
.cta-desc { font-size: 1.1rem; color: rgba(255,255,255,.88); margin-bottom: 2rem; position: relative; max-width: 600px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* ====================================================================
   PAGE HEADER (inner / list pages)
   ==================================================================== */
.page-header {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
  padding: 5rem 0 3rem; margin-top: 4.75rem;
  border-bottom: 1px solid var(--border);
}
.page-header-plain { background: var(--bg-light); border-bottom: 1px solid var(--border); }
.breadcrumb { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--text-light); margin-bottom: .75rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-light); transition: color .15s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #cbd5e1; font-size: .65rem; user-select: none; }
.breadcrumb .current { color: var(--text); font-weight: 600; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: .3rem; letter-spacing: -.02em; }
.page-subtitle { font-size: 1.05rem; color: var(--text-light); max-width: 650px; }
.page-hero-img { width: 100%; border-radius: var(--radius-lg); margin-bottom: 2rem; }

/* ====================================================================
   SUB-CATEGORY TABS
   ==================================================================== */
.sub-tabs {
  display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap;
  padding-bottom: 1rem; border-bottom: 2px solid var(--border);
}
.sub-tab {
  padding: .55rem 1.3rem; border-radius: 100px; font-size: .9rem;
  font-weight: 500; color: var(--text-light); background: transparent;
  transition: all .2s; white-space: nowrap;
}
.sub-tab:hover { background: var(--bg-light); color: var(--text); }
.sub-tab.active { background: var(--primary); color: #fff; font-weight: 600; }

/* ====================================================================
   CONTENT GRID / LIST PAGES
   ==================================================================== */
.content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.content-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all var(--transition); display: flex; flex-direction: column;
}
.content-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(240,74,26,.15); }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-light); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.content-card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 1.25rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-desc { font-size: .9rem; color: var(--text-light); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: .85rem; }
.card-date { font-size: .8rem; color: var(--text-muted); display: flex; align-items: center; gap: .25rem; }
.card-cta { color: var(--primary); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; transition: gap .2s; }
.content-card:hover .card-cta { gap: .6rem; }
.empty-state { text-align: center; padding: 4rem 0; }

/* ====================================================================
   PAGINATION
   ==================================================================== */
.pagination { display: flex; justify-content: center; gap: .35rem; margin-top: 3rem; }
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 .5rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .9rem; color: var(--text-light);
  background: #fff; border: 1px solid var(--border); transition: all .2s;
}
.page-link:hover { border-color: var(--primary); color: var(--primary); }
.page-link.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ====================================================================
   PRODUCT DETAIL LAYOUT
   ==================================================================== */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: .75rem; }
.gallery-main img { width: 100%; border-radius: var(--radius-lg); }
.gallery-thumbs { display: flex; gap: .5rem; }
.thumb { width: 72px; height: 52px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; opacity: .5; border: 2px solid transparent; transition: all .2s; }
.thumb:hover, .thumb.active { opacity: 1; border-color: var(--primary); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-title { font-size: 1.75rem; font-weight: 700; margin-bottom: .75rem; }
.detail-excerpt { color: var(--text-light); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1.5rem; }
.detail-specs { display: flex; flex-direction: column; gap: .65rem; margin-bottom: 1.5rem; }
.spec-item { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.spec-label { font-weight: 600; color: var(--text); }
.spec-value { color: var(--text-light); }
.detail-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tag { background: var(--bg-light); color: var(--text-light); font-size: .82rem; padding: .3rem .85rem; border-radius: 100px; font-weight: 500; }
.detail-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.detail-body { margin-top: 4rem; }
.detail-body h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.detail-body p { color: var(--text-light); font-size: 1rem; line-height: 1.8; margin-bottom: 1.25rem; }
.related-section { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.related-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.related-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all .2s; }
.related-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.related-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-light); }
.related-img img { width: 100%; height: 100%; object-fit: cover; }
.related-name { padding: .65rem .85rem; font-size: .88rem; font-weight: 600; color: var(--text); }
@media (max-width: 768px) { .detail-layout { grid-template-columns: 1fr; } }

/* ====================================================================
   CASE DETAIL
   ==================================================================== */
.case-header { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.case-label {
  display: inline-block; background: rgba(240,74,26,.08); color: var(--primary);
  font-size: .82rem; font-weight: 600; padding: .3rem .9rem; border-radius: 100px; margin-bottom: .75rem;
}
.case-meta-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }
.case-date { font-size: .88rem; color: var(--text-light); display: inline-flex; align-items: center; gap: .3rem; }
.case-cat-badge {
  display: inline-block; background: rgba(240,74,26,.08); color: var(--primary);
  font-size: .8rem; font-weight: 600; padding: .25rem .8rem; border-radius: 100px;
}
.case-header-img { border-radius: var(--radius-lg); overflow: hidden; }
.case-header-img img { width: 100%; border-radius: var(--radius-lg); }
.case-body p { font-size: 1rem; line-height: 1.8; color: var(--text-light); margin-bottom: 1.2rem; }
.case-body p:first-child { font-size: 1.15rem; color: var(--text); font-weight: 500; }
@media (max-width: 768px) { .case-header { grid-template-columns: 1fr; } }

/* ====================================================================
   SOLUTION DETAIL
   ==================================================================== */
.solution-hero-img { width: 100%; border-radius: var(--radius-lg); margin-bottom: 2rem; }

/* ====================================================================
   NEWS ARTICLE
   ==================================================================== */
.article-cover {
  height: 40vh; min-height: 280px; background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end; margin-top: 4.75rem;
}
.article-cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,41,.85), transparent 60%); }
.article-cover-meta { position: relative; z-index: 1; padding: 2rem 0; }
.news-date-badge {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .85rem; font-weight: 500; color: var(--text-light);
}
.news-cat-badge {
  display: inline-block; background: rgba(240,74,26,.08); color: var(--primary);
  font-size: .8rem; font-weight: 600; padding: .25rem .8rem; border-radius: 100px;
}
.article-container { max-width: 800px; }
.article-meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-size: .88rem; color: var(--text-light); margin-top: .5rem; }
.article-meta span { display: flex; align-items: center; gap: .3rem; }
.article-title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: .75rem; line-height: 1.2; }
.article-excerpt { font-size: 1.15rem; color: var(--text-light); line-height: 1.7; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.article-body p { font-size: 1.05rem; line-height: 1.8; color: #374151; margin-bottom: 1.5rem; }
.article-gallery { margin-top: 3rem; }
.article-gallery h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); }

/* ====================================================================
   FOOTER
   ==================================================================== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding: 4.5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-col h4 { color: #fff; font-size: .92rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a { color: rgba(255,255,255,.55); font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary-light); }
.f-brand { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: .75rem; }
.footer-brand p { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.5); margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06); color: rgba(255,255,255,.5); font-size: 1rem; transition: all .2s; }
.footer-social a:hover { background: var(--primary); color: #fff; }
.contact-list li { display: flex; gap: .6rem; font-size: .9rem; align-items: flex-start; color: rgba(255,255,255,.55); }
.contact-list li i { color: var(--primary-light); font-size: .95rem; margin-top: .2rem; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding: 1.5rem 0; text-align: center; font-size: .85rem; color: rgba(255,255,255,.35); }
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 576px) { .footer-grid { grid-template-columns: 1fr; } }

/* ====================================================================
   UTILITIES
   ==================================================================== */
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.small { font-size: .75rem; }

/* ====================================================================
   PRODUCT DETAIL (hero + content + cta)
   ==================================================================== */
.product-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start; margin-top: 2rem;
}
.product-hero-media {
  background: #f8fafc; border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; position: sticky; top: 6rem;
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  transition: top .35s ease;
}
body.header-hidden .product-hero-media { top: 1rem; }
.product-hero-media img {
  width: 100%; height: 100%; object-fit: contain;
  max-width: 100%;
}
.product-hero-placeholder {
  font-size: 4rem; color: #cbd5e1; display: flex; align-items: center; justify-content: center; height: 100%;
}
.product-hero-category {
  font-size: .85rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: .75rem;
}
.product-hero-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700;
  color: var(--text); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 1rem;
}
.product-hero-desc {
  font-size: 1.05rem; color: var(--text-light); line-height: 1.7;
  max-width: 540px; margin-bottom: 2rem;
}
.product-hero .btn { margin-top: .25rem; }

/* Product detail grid: main + sticky sidebar aligned with hero right */
.product-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; margin-top: 3rem; align-items: start; }
.product-main { min-width: 0; }
.product-sidebar { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 6rem; align-self: start; transition: top .35s ease; }
body.header-hidden .product-sidebar { top: 1rem; }
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.sidebar-card h4 { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text); margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border); }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.sidebar-card li { display: flex; justify-content: space-between; font-size: .9rem; color: var(--text-light); }
.sidebar-card li strong { color: var(--text); font-weight: 600; }
.sidebar-contact { background: var(--bg-light); }
@media (max-width: 992px) { .product-detail-grid { grid-template-columns: 1fr; } .product-sidebar { position: static; } }

/* Product content / body typography */
.product-content { max-width: 820px; margin-top: 3.5rem; }
/* legacy single-col fallback when not using grid */
.product-detail-grid .product-content { max-width: none; margin-top: 0; }
.product-content .detail-body h2,
.product-content .detail-body h3 {
  font-size: 1.3rem; font-weight: 700; color: var(--text);
  margin-top: 2.5rem; margin-bottom: .75rem;
}
.product-content .detail-body h2:first-child,
.product-content .detail-body h3:first-child { margin-top: 0; }
.product-content .detail-body p {
  font-size: 1rem; line-height: 1.8; color: #374151; margin-bottom: 1.25rem;
}
.product-content .detail-body ul,
.product-content .detail-body ol {
  margin: 0 0 1.25rem 1.25rem; padding: 0; color: #374151; line-height: 1.8;
}
.product-content .detail-body li { margin-bottom: .5rem; }
.product-content .detail-body strong { color: var(--text); font-weight: 600; }
.product-content .detail-body img { border-radius: 10px; margin: 1rem 0; }
.product-content .detail-body table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem;
}
.product-content .detail-body th,
.product-content .detail-body td {
  border: 1px solid var(--border); padding: .7rem 1rem; text-align: left;
}
.product-content .detail-body th { background: var(--bg-light); font-weight: 600; color: var(--text); }
.product-content .detail-body td { color: #374151; }

/* Bottom CTA */
.product-cta {
  margin-top: 4rem; padding: 3rem 2rem; text-align: center;
  background: var(--bg-light); border: 1px solid var(--border); border-radius: 14px;
}
.product-cta-title { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.product-cta-desc { font-size: 1rem; color: var(--text-light); margin-bottom: 1.5rem; }

@media (max-width: 768px) {
  .product-hero { grid-template-columns: 1fr; gap: 1.75rem; }
  .product-hero-media { position: static; aspect-ratio: 4 / 3; }
  .product-hero-desc { margin-bottom: 1.5rem; }
  .product-cta { padding: 2rem 1.25rem; }
}

/* ====================================================================
   SOLUTION DETAIL (hero + main image + content + cta)
   ==================================================================== */
.solution-hero {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
  padding: 7rem 0 2.5rem; border-bottom: 1px solid var(--border);
}
.solution-hero-inner { max-width: 720px; }
.solution-hero-category {
  font-size: .85rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary); margin-bottom: .85rem;
}
.solution-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700;
  color: var(--text); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 1.1rem;
}
.solution-hero-desc {
  font-size: 1.1rem; color: var(--text-light); line-height: 1.7;
  max-width: 640px;
}
.solution-main-img {
  margin: 0 auto; max-width: 960px;
}
.solution-main-img img {
  width: 100%; max-height: 520px; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--border);
}

/* Solution content / body typography */
.solution-content { max-width: 820px; margin: 0 auto; padding: 2rem 0 1rem; }
.solution-content .article-body h2,
.solution-content .article-body h3 {
  font-size: 1.3rem; font-weight: 700; color: var(--text);
  margin-top: 2.5rem; margin-bottom: .75rem;
}
.solution-content .article-body h2:first-child,
.solution-content .article-body h3:first-child { margin-top: 0; }
.solution-content .article-body p {
  font-size: 1rem; line-height: 1.8; color: #374151; margin-bottom: 1.25rem;
}
.solution-content .article-body ul,
.solution-content .article-body ol {
  margin: 0 0 1.25rem 1.25rem; padding: 0; color: #374151; line-height: 1.8;
}
.solution-content .article-body li { margin-bottom: .5rem; }
.solution-content .article-body strong { color: var(--text); font-weight: 600; }
.solution-content .article-body img { border-radius: 10px; margin: 1rem 0; max-width: 100%; }
.solution-content .article-body table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem;
}
.solution-content .article-body th,
.solution-content .article-body td {
  border: 1px solid var(--border); padding: .7rem 1rem; text-align: left;
}
.solution-content .article-body th { background: var(--bg-light); font-weight: 600; color: var(--text); }
.solution-content .article-body td { color: #374151; }

/* Solution CTA */
.solution-cta {
  margin-top: 2rem; padding: 4rem 2rem; text-align: center;
  background: var(--navy); color: #fff;
}
.solution-cta-title { font-size: 1.75rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.solution-cta-desc { font-size: 1.05rem; color: rgba(255,255,255,.75); margin-bottom: 1.75rem; max-width: 560px; margin-left: auto; margin-right: auto; }

@media (max-width: 768px) {
  .solution-hero { padding: 6rem 0 2rem; }
  .solution-cta { padding: 3rem 1.25rem; }
}

/* ====================================================================
   CASE DETAIL (hero + main image + content + cta)
   ==================================================================== */
.case-hero {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
  padding: 7rem 0 2.5rem; border-bottom: 1px solid var(--border);
}
.case-hero-inner { max-width: 760px; }
.case-hero-category {
  font-size: .85rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary); margin-bottom: .85rem;
}
.case-hero-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700;
  color: var(--text); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 1.1rem;
}
.case-hero-desc {
  font-size: 1.1rem; color: var(--text-light); line-height: 1.7;
  max-width: 660px;
}
.case-main-img {
  margin: 0 auto; max-width: 960px;
}
.case-main-img img {
  width: 100%; max-height: 520px; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--border);
}

/* Case content / body typography */
.case-content { max-width: 820px; margin: 0 auto; padding: 1rem 0 0.5rem; }
.case-content .case-body h2,
.case-content .case-body h3 {
  font-size: 1.3rem; font-weight: 700; color: var(--text);
  margin-top: 2.5rem; margin-bottom: .75rem;
  padding-bottom: .6rem; border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.case-content .case-body h2:first-child,
.case-content .case-body h3:first-child { margin-top: 0; }
.case-content .case-body p {
  font-size: 1rem; line-height: 1.8; color: #374151; margin-bottom: 1.25rem;
}
.case-content .case-body ul,
.case-content .case-body ol {
  margin: 0 0 1.25rem 1.25rem; padding: 0; color: #374151; line-height: 1.8;
}
.case-content .case-body li { margin-bottom: .5rem; }
.case-content .case-body strong { color: var(--text); font-weight: 600; }
.case-content .case-body img { border-radius: 10px; margin: 1rem 0; max-width: 100%; }
.case-content .case-body table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem;
}
.case-content .case-body th,
.case-content .case-body td {
  border: 1px solid var(--border); padding: .7rem 1rem; text-align: left;
}
.case-content .case-body th { background: var(--bg-light); font-weight: 600; color: var(--text); }
.case-content .case-body td { color: #374151; }

/* Case CTA */
.case-cta {
  margin-top: 2rem; padding: 4rem 2rem; text-align: center;
  background: var(--navy); color: #fff;
}
.case-cta-title { font-size: 1.75rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.case-cta-desc { font-size: 1.05rem; color: rgba(255,255,255,.75); margin-bottom: 1.75rem; max-width: 560px; margin-left: auto; margin-right: auto; }

@media (max-width: 768px) {
  .case-hero { padding: 6rem 0 2rem; }
  .case-cta { padding: 3rem 1.25rem; }
}

/* ====================================================================
   NEWS / ARTICLE DETAIL (header + image + body + light cta)
   ==================================================================== */
.article-header {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
  padding: 6.5rem 0 2.5rem; border-bottom: 1px solid var(--border);
}
.article-container { max-width: 760px; }
.article-category {
  font-size: .82rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary); margin-bottom: .85rem;
}
.article-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700;
  color: var(--text); line-height: 1.2; letter-spacing: -.02em; margin-bottom: 1rem;
}
.article-lead {
  font-size: 1.1rem; color: var(--text-light); line-height: 1.7; margin-bottom: 1.25rem;
}
.article-date {
  font-size: .9rem; color: var(--text-muted); display: flex; align-items: center; gap: .4rem;
}

/* Article main image */
.article-media { padding: 0; }
.article-main-img { margin-top: 2rem; }
.article-main-img img {
  width: 100%; max-height: 480px; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--border);
}

/* Article section spacing */
.article-section { padding-top: 2.5rem; }

/* Article body typography */
.article-container .article-body h2,
.article-container .article-body h3 {
  font-size: 1.3rem; font-weight: 700; color: var(--text);
  margin-top: 2.5rem; margin-bottom: .75rem;
}
.article-container .article-body h2:first-child,
.article-container .article-body h3:first-child { margin-top: 0; }
.article-container .article-body p {
  font-size: 1.02rem; line-height: 1.85; color: #374151; margin-bottom: 1.4rem;
}
.article-container .article-body ul,
.article-container .article-body ol {
  margin: 0 0 1.4rem 1.25rem; padding: 0; color: #374151; line-height: 1.8;
}
.article-container .article-body li { margin-bottom: .5rem; }
.article-container .article-body strong { color: var(--text); font-weight: 600; }
.article-container .article-body img {
  max-width: 100%; height: auto; border-radius: 10px; margin: 1.25rem 0;
}
.article-container .article-body table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem;
  display: block; overflow-x: auto; white-space: nowrap;
}
.article-container .article-body th,
.article-container .article-body td {
  border: 1px solid var(--border); padding: .7rem 1rem; text-align: left; white-space: normal;
}
.article-container .article-body th { background: var(--bg-light); font-weight: 600; color: var(--text); }
.article-container .article-body td { color: #374151; }

/* Light CTA (news pages keep it subtle) */
.article-cta {
  margin-top: 2rem; padding: 3rem 1rem; text-align: center;
  background: var(--bg-light); border-top: 1px solid var(--border);
}
.article-cta-title { font-size: 1.4rem; font-weight: 700; color: var(--text); margin-bottom: 1.25rem; }

@media (max-width: 768px) {
  .article-header { padding: 5.5rem 0 2rem; }
  .article-container { padding-left: 1.5rem; padding-right: 1.5rem; }
  .article-section { padding-top: 2rem; }
}

/* ====================================================================
   RTL SUPPORT
   ==================================================================== */
html[dir="rtl"] { direction: rtl; }
html[dir="rtl"] body { font-family: "Geeza Pro", "Traditional Arabic", "Arial Hebrew", system-ui, -apple-system, sans-serif; }
[dir="rtl"] .site-topbar, [dir="rtl"] .site-nav { left:auto; right:0; }
[dir="rtl"] .topbar-container, [dir="rtl"] .nav-container { flex-direction: row-reverse; }
[dir="rtl"] .nav-list { flex-direction: row-reverse; }
[dir="rtl"] .lang-switch, [dir="rtl"] .nav-toggler { margin-left:0; margin-right:auto; }
[dir="rtl"] .nav-dropdown { left:auto; right:0; }
[dir="rtl"] .nav-dropdown.dropdown-right { left:0; right:auto; }
[dir="rtl"] .hero-bg::after { background: linear-gradient(270deg, rgba(10,22,41,.92) 0%, rgba(10,22,41,.45) 45%, transparent 60%); }
[dir="rtl"] .stat-item, [dir="rtl"] th, [dir="rtl"] td { text-align: right; }
[dir="rtl"] .section-header, [dir="rtl"] .article-header, [dir="rtl"] .case-hero, [dir="rtl"] .solution-hero { text-align: right; }
[dir="rtl"] .breadcrumb { flex-direction: row-reverse; }
[dir="rtl"] .bi-arrow-right::before { transform: scaleX(-1); display:inline-block; }
[dir="rtl"] .solution-icon { left:1rem; right:auto; }
[dir="rtl"] .product-hero, [dir="rtl"] .about-grid { direction: rtl; }
[dir="rtl"] .detail-body, [dir="rtl"] .article-body, [dir="rtl"] .case-body { text-align: right; }

/* ====================================================================
   DETAIL PAGE POLISH — Unified hero & content
   ==================================================================== */
.detail-body p, .article-body p, .case-body p { line-height:1.85; color:#374151; margin-bottom:1.1rem; }
.detail-body h2, .article-body h2, .case-body h2 { font-size:1.35rem; font-weight:700; color:var(--text); margin:1.8rem 0 .6rem; padding-bottom:.35rem; border-bottom:2px solid var(--primary); display:inline-block; }
.detail-body h3, .article-body h3 { font-size:1.15rem; font-weight:600; color:var(--text); margin:1.4rem 0 .4rem; }
.detail-body img { max-width:100%; border-radius:10px; margin:1rem 0; box-shadow:0 4px 16px rgba(0,0,0,.08); }
.detail-body table { display:block; max-width:100%; overflow-x:auto; border-collapse:collapse; margin:1rem 0; }
.detail-body th { background:var(--bg-light); font-weight:600; }
.product-hero-media img, .case-main-img img, .solution-main-img img, .article-main-img img { box-shadow:0 8px 32px rgba(0,0,0,.12); }
.product-cta, .case-cta, .solution-cta, .article-cta { border-radius:16px; }
section.bg-white .about-text p { color: var(--text-light); }
section.bg-white .about-text .afeat { color: var(--text); }
section.bg-white .about-text .afeat i { color: var(--primary); }

/* ====================================================================
   RESPONSIVE — Contact form
   ==================================================================== */
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr !important; }
}

