/* ==========================================================================
   EV FLASH — Stylesheet v2 (refined, professional, B2B)
   Color: minimal — black + white + restrained orange accent
   ========================================================================== */

*, *::before, *::after { 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', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; color: inherit; }
ul { list-style: none; }

/* ===== Design tokens ===== */
:root {
  --orange: #FF6B1A;
  --orange-hover: #E55A0A;
  --orange-soft: #FFF1E6;

  --black: #0A0B0F;
  --gray-900: #16181D;
  --gray-700: #3B3F46;
  --gray-500: #6B7280;
  --gray-300: #C9CDD4;
  --gray-200: #E8E8EC;
  --gray-100: #F2F2F4;
  --gray-50: #F8F8FA;
  --white: #FFFFFF;

  --bg: #FFFFFF;
  --bg-alt: #F8F8FA;
  --bg-dark: #0A0B0F;
  --text: #16181D;
  --text-muted: #6B7280;
  --border: #E8E8EC;
  --border-strong: #C9CDD4;

  --shadow-sm: 0 1px 2px rgba(15, 17, 22, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 17, 22, 0.06);
  --shadow-lg: 0 16px 48px rgba(15, 17, 22, 0.10);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --container: 1240px;
  --header-h: 76px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Layout ===== */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: 7rem 0; }
.section--sm { padding: 4.5rem 0; }
.section--dark { background: var(--bg-dark); color: var(--white); }
.section--alt { background: var(--bg-alt); }

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .section--sm { padding: 3rem 0; }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-muted); line-height: 1.65; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: var(--gray-300); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { font-size: 1.05rem; color: var(--text-muted); }
.section-head + * { margin-top: 4rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1.2;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg.btn-arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover svg.btn-arrow { transform: translateX(-3px); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-hover); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--gray-900); }

.btn-outline {
  background: transparent;
  border-color: var(--gray-200);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--text); background: var(--white); }

.btn-ghost { color: var(--text); }
.btn-ghost:hover { color: var(--orange); }

.btn-light {
  background: var(--white);
  color: var(--black);
}
.btn-light:hover { background: var(--gray-100); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }

.btn-lg { padding: 1rem 1.8rem; font-size: 0.95rem; }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.85rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  transition: color .2s ease, gap .2s ease;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .2s ease; }
.link-arrow:hover { color: var(--orange); gap: 0.6rem; }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-brand .brand-logo {
  height: 44px;
  width: auto;
  display: block;
  /* Background is stripped via Canvas at runtime (see layout.js), so no blend mode needed. */
}
.footer-brand .brand-logo--footer {
  height: 52px;
  width: auto;
  display: block;
  /* On the dark footer, invert the dark wordmark and hue-rotate so orange stays orange
     instead of becoming blue. */
  filter: invert(1) hue-rotate(180deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-link {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-xs);
  transition: color .2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-dropdown-trigger::after {
  content: '';
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .2s ease;
  opacity: 0.6;
}
.nav-dropdown.open .nav-dropdown-trigger::after { transform: rotate(-135deg) translateY(1px); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-xs);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: background .15s ease;
}
.nav-dropdown-menu a:hover { background: var(--bg-alt); }
.nav-dropdown-menu a .icon {
  width: 34px; height: 34px;
  border-radius: var(--radius-xs);
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  color: var(--text);
  flex-shrink: 0;
  transition: var(--transition);
}
.nav-dropdown-menu a:hover .icon { background: var(--orange-soft); color: var(--orange); }
.nav-dropdown-menu a .icon svg { width: 18px; height: 18px; }
.nav-dropdown-menu a .meta { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.nav-dropdown-menu a small { font-size: 0.78rem; color: var(--text-muted); font-weight: 400; }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-xs);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--gray-700);
  transition: color .2s ease, background .2s ease;
}
.lang-trigger:hover { color: var(--text); background: var(--bg-alt); }
.lang-trigger svg { width: 12px; height: 12px; opacity: 0.6; }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: var(--transition);
  z-index: 200;
}
[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang-switcher.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-xs);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text);
  text-align: start;
  transition: background .15s ease;
}
.lang-menu button:hover { background: var(--bg-alt); }
.lang-menu button.active { color: var(--orange); font-weight: 600; }
.lang-code {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 28px;
  text-align: center;
}
.lang-menu button.active .lang-code { background: var(--orange-soft); color: var(--orange); }

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 38px; height: 38px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.menu-toggle:hover { background: var(--bg-alt); }
.menu-toggle span {
  width: 18px; height: 1.5px;
  background: var(--text);
  position: relative;
  transition: var(--transition);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: ''; position: absolute;
  width: 18px; height: 1.5px;
  background: var(--text);
  left: 0;
  transition: var(--transition);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: rotate(45deg); top: 0; }
.menu-toggle.open span::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 1024px) {
  .menu-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 1rem 1.25rem 2rem;
    background: var(--white);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
    gap: 0;
    border-top: 1px solid var(--border);
  }
  [dir="rtl"] .nav-menu { transform: translateX(-100%); }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { padding: 0.9rem 0.5rem; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav-link.active::after { display: none; }
  .nav-link.active { color: var(--orange); }
  .nav-dropdown-menu {
    position: static; transform: none; box-shadow: none;
    background: transparent; border: none;
    margin: 0 0 0 1rem; padding: 0;
    opacity: 1; visibility: visible; display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; transform: none; }
  .nav-dropdown-menu a { padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-actions .btn-primary { display: none; }
}

/* ===== Hero ===== */
.hero {
  padding-top: calc(var(--header-h) + 4.5rem);
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange-soft);
  color: var(--orange);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.hero h1 { margin-bottom: 1.5rem; color: var(--text); }
.hero-lead { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 2.25rem; line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 3rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  max-width: 520px;
}
.hero-stat strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.hero-stat span { font-size: 0.82rem; color: var(--text-muted); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-alt);
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-badge-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255,255,255,0.4);
}
.hero-badge-card .icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-xs);
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-badge-card .icon svg { width: 20px; height: 20px; }
.hero-badge-card strong { display: block; font-size: 0.92rem; font-weight: 600; color: var(--text); }
.hero-badge-card span { font-size: 0.78rem; color: var(--text-muted); }

@media (max-width: 1024px) {
  .hero { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-content { max-width: 100%; }
  .hero-visual { aspect-ratio: 4/3; max-height: 480px; }
}
@media (max-width: 600px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .hero-stat strong { font-size: 1.4rem; }
}

/* ===== Trusted by ===== */
.trusted {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 3.5rem;
}
.trusted-logos span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: -0.01em;
  transition: color .2s ease;
}
.trusted-logos span:hover { color: var(--gray-500); }

/* ===== Feature row (icon-led) ===== */
.feature-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}
.feature-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.94rem; }
.feature-item .icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-xs);
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.feature-item .icon svg { width: 22px; height: 22px; }

/* ===== Product grid (with real images) ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.product-image {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-image img { transform: scale(1.04); }
.product-image .product-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
[dir="rtl"] .product-image .product-tag { left: auto; right: 0.9rem; }
.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.product-meta { color: var(--orange); font-weight: 600; font-size: 0.82rem; margin-bottom: 0.85rem; }
.product-body p { font-size: 0.92rem; margin-bottom: 1.1rem; flex: 1; }
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.spec {
  padding: 0.25rem 0.65rem;
  background: var(--bg-alt);
  border-radius: var(--radius-xs);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--gray-700);
}

/* ===== Product tabs ===== */
.tabs {
  display: inline-flex;
  background: var(--bg-alt);
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  margin-bottom: 3rem;
}
.tab {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-xs);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.tab.active { background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); }
.tab:hover:not(.active) { color: var(--text); }

/* ===== Solutions cards ===== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.solution-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--white);
  transition: transform .3s ease;
}
.solution-card:hover { transform: translateY(-4px); }
.solution-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .6s ease;
}
.solution-card:hover img { transform: scale(1.05); }
.solution-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,11,15,0.05) 0%, rgba(10,11,15,0.85) 90%);
  z-index: -1;
}
.solution-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.5rem; }
.solution-card p { color: rgba(255,255,255,0.85); font-size: 0.92rem; margin-bottom: 1.25rem; }
.solution-card .link-arrow { color: var(--white); }
.solution-card .link-arrow:hover { color: var(--orange); }

/* ===== Split (image + text) ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-content h2 { margin-bottom: 1.25rem; }
.split-content p { font-size: 1.02rem; margin-bottom: 1rem; }
.features-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.features-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.features-list .check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.features-list .check svg {
  width: 12px;
  height: 12px;
  display: block;
  stroke-width: 3px;
}
.features-list h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.features-list p { font-size: 0.9rem; margin: 0; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split--reverse > :first-child { order: initial; }
}

/* ===== Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  position: relative;
}
.process-item { position: relative; }
.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--text);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.process-item h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-item p { font-size: 0.94rem; }

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 3rem 4rem;
}
.stat { text-align: start; }
.stat-num {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--text);
  display: block;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.section--dark .stat-num { color: var(--white); }
.section--dark .stat-num em { color: var(--orange); font-style: normal; }
.stat-label { color: var(--text-muted); font-size: 0.92rem; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.testimonial-stars svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.5rem;
  flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 0.92rem; color: var(--text); }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== Projects ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.projects-grid .project-card {
  max-width: 480px;
  width: 100%;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.project-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.project-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-image img { transform: scale(1.04); }
.project-body { padding: 1.5rem; }
.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}
.project-body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.project-body p { font-size: 0.9rem; margin-bottom: 1.1rem; }
.project-stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.project-stats > div strong { display: block; color: var(--text); font-size: 1.05rem; font-weight: 600; }
.project-stats > div span { font-size: 0.75rem; color: var(--text-muted); }

/* ===== Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.75rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-image img { transform: scale(1.04); }
.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.blog-meta .cat { color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.72rem; }
.blog-meta .sep { opacity: 0.4; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: 0.6rem; line-height: 1.3; }
.blog-body p { font-size: 0.9rem; margin-bottom: 1.1rem; flex: 1; }

/* ===== CTA banner ===== */
.cta {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(242,101,34,0.15), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(242,101,34,0.08), transparent 40%);
}
.cta > * { position: relative; }
.cta h2 { color: var(--white); margin-bottom: 1rem; max-width: 640px; margin-inline: auto; }
.cta p { color: var(--gray-300); margin-bottom: 2rem; max-width: 560px; margin-inline: auto; font-size: 1.02rem; }
.cta .hero-cta { justify-content: center; margin-bottom: 0; }
@media (max-width: 600px) { .cta { padding: 3rem 1.5rem; } }

/* ===== Page hero (subpages) ===== */
.page-hero {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 3.5rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; max-width: 620px; color: var(--text-muted); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { opacity: 0.4; }

/* ===== Forms ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 0.45rem; }
.form-field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}
.form-field label .req { color: var(--orange); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(15,17,22,0.08);
}
.form-field.error input,
.form-field.error select,
.form-field.error textarea { border-color: #DC2626; }
.form-field .error-msg { display: none; font-size: 0.78rem; color: #DC2626; }
.form-field.error .error-msg { display: block; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.form-checkbox input { width: 16px; height: 16px; accent-color: var(--orange); margin-top: 2px; }
.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  border-radius: var(--radius-xs);
  color: #065F46;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.form-success.show { display: block; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* Contact wrapper */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; } }
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.contact-info {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.contact-info .icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-xs);
  background: var(--bg-alt);
  color: var(--text);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.contact-info .icon svg { width: 18px; height: 18px; }
.contact-info h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.4rem; font-weight: 500; }
.contact-info a, .contact-info p { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.contact-info a:hover { color: var(--orange); }

/* ===== Partners ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
}
.partner-card {
  aspect-ratio: 3/2;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-500);
  transition: var(--transition);
  padding: 1rem;
  text-align: center;
}
.partner-card:hover {
  color: var(--text);
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: var(--gray-300);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}
.footer-brand .brand-logo { margin-bottom: 1.25rem; }
.footer-brand p { color: var(--gray-300); max-width: 320px; margin-bottom: 1.75rem; font-size: 0.92rem; line-height: 1.6; }
.social-links { display: flex; gap: 0.5rem; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: var(--transition);
}
.social-links a:hover { background: var(--orange); }
.social-links svg { width: 16px; height: 16px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-300);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--gray-300); }
.footer-bottom a:hover { color: var(--white); }
.footer-bottom-links { display: flex; gap: 1.5rem; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Floating buttons ===== */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 50;
}
[dir="rtl"] .scroll-top { right: auto; left: 1.5rem; }
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--orange); }
.scroll-top svg { width: 16px; height: 16px; }

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  transition: var(--transition);
}
[dir="rtl"] .whatsapp-float { left: auto; right: 1.5rem; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 24px; height: 24px; }

/* ===== RTL ===== */
[dir="rtl"] body { font-family: 'Cairo', 'Inter', sans-serif; }
[dir="rtl"] .nav-link.active::after { left: 50%; }

/* ===== Comparison table ===== */
.compare {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.compare-row {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div {
  padding: 1.1rem 1.25rem;
  font-size: 0.92rem;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}
[dir="rtl"] .compare-row > div { border-right: none; border-left: 1px solid var(--border); }
.compare-row > div:last-child { border-right: none; }
[dir="rtl"] .compare-row > div:last-child { border-left: none; }
.compare-row--head > div {
  background: var(--bg-alt);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}
.compare-row--head > div:first-child { color: var(--text-muted); }
.compare-row > div:first-child { font-weight: 600; color: var(--text); background: var(--bg-alt); }
.compare-check svg { width: 18px; height: 18px; color: var(--orange); }
.compare-x { color: var(--gray-300); }
@media (max-width: 768px) {
  .compare-row { grid-template-columns: 1fr 1fr 1fr; }
  .compare-row > div:first-child { grid-column: 1 / -1; background: var(--bg-alt); font-weight: 700; padding: 0.8rem 1rem; font-size: 0.85rem; }
  .compare-row > div { padding: 0.8rem 1rem; font-size: 0.88rem; }
}

/* ===== FAQ accordion ===== */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: start;
  padding: 1.3rem 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color .2s ease;
}
.faq-question:hover { color: var(--orange); }
.faq-question::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--orange);
  transition: transform .3s ease;
  line-height: 1;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 1.3rem; }

/* ===== Timeline (residential journey) ===== */
.timeline {
  position: relative;
  padding-left: 2rem;
}
[dir="rtl"] .timeline { padding-left: 0; padding-right: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), var(--border));
}
[dir="rtl"] .timeline::before { left: auto; right: 12px; }
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 2rem;
}
[dir="rtl"] .timeline-item { padding-left: 0; padding-right: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -23px;
  top: 4px;
  width: 24px; height: 24px;
  background: var(--white);
  border: 2.5px solid var(--orange);
  border-radius: 50%;
}
[dir="rtl"] .timeline-item::before { left: auto; right: -23px; }
.timeline-item h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.timeline-item p { font-size: 0.92rem; }
.timeline-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* ===== Industries grid ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.industry-card {
  padding: 1.75rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}
.industry-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-card .icon {
  width: 48px; height: 48px;
  margin-inline: auto;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: var(--transition);
}
.industry-card:hover .icon { background: var(--orange-soft); color: var(--orange); }
.industry-card .icon svg { width: 22px; height: 22px; }
.industry-card h4 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.industry-card p { font-size: 0.82rem; }

/* ===== Power output bars (DC chargers) ===== */
.power-bars {
  display: grid;
  gap: 1.5rem;
}
.power-bar {
  display: grid;
  grid-template-columns: 130px 1fr 90px;
  gap: 1.25rem;
  align-items: center;
}
.power-bar-label { font-weight: 600; font-size: 0.95rem; }
.power-bar-track {
  height: 8px;
  background: var(--bg-alt);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}
.power-bar-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--orange), var(--orange-hover));
  border-radius: var(--radius-full);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
[dir="rtl"] .power-bar-fill { transform-origin: right; }
.power-bar.visible .power-bar-fill { transform: scaleX(var(--fill, 0.5)); }
.power-bar-value { font-weight: 700; color: var(--orange); text-align: end; font-size: 0.92rem; }
@media (max-width: 600px) {
  .power-bar { grid-template-columns: 1fr; gap: 0.5rem; }
  .power-bar-value { text-align: start; }
}

/* ===== Spec table (technical) ===== */
.spec-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.spec-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-row > div { padding: 0.95rem 1.25rem; font-size: 0.92rem; }
.spec-row > div:first-child {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--text);
  font-size: 0.88rem;
}
.spec-row > div:last-child { color: var(--text-muted); }

/* ===== Use cases (DC + Stations) ===== */
.use-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.use-case {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}
.use-case:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.use-case .tag {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.use-case h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.use-case p { font-size: 0.92rem; }

/* ===== Anatomy diagram (Stations) ===== */
.anatomy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.anatomy-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.anatomy-visual img { width: 100%; height: 100%; object-fit: cover; }
.anatomy-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.anatomy-list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.anatomy-list li:hover { border-color: var(--orange); transform: translateX(4px); }
[dir="rtl"] .anatomy-list li:hover { transform: translateX(-4px); }
.anatomy-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.anatomy-list h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.anatomy-list p { font-size: 0.88rem; }
@media (max-width: 900px) { .anatomy { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ===== Dashboard mockup (Fleet) ===== */
.dashboard {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.dashboard::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(242,101,34,0.18), transparent 50%);
}
.dashboard > * { position: relative; }
.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  color: var(--white);
  flex-wrap: wrap;
  gap: 1rem;
}
.dashboard-head strong { font-size: 1.05rem; }
.dashboard-head .live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--gray-300);
}
.dashboard-head .live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse-live 1.5s ease-in-out infinite;
}
@keyframes pulse-live { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}
.dash-stat {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: var(--white);
}
.dash-stat .label {
  font-size: 0.78rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.dash-stat .value {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.dash-stat .value em { color: var(--orange); font-style: normal; font-size: 1rem; margin-left: 4px; }
.dash-stat .trend {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: #4ADE80;
}
.dash-stat .trend.down { color: #4ADE80; }
.dash-stat .trend svg { width: 12px; height: 12px; }

/* ===== Filter buttons (Projects) ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.filter-btn {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--white);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn.active { background: var(--text); color: var(--white); border-color: var(--text); }

/* ===== Featured project hero ===== */
.featured-project {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3.5rem;
}
.featured-project-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.featured-project-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-project-body {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-project-body .tag {
  display: inline-block;
  background: var(--orange-soft);
  color: var(--orange);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  width: fit-content;
}
.featured-project-body h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.featured-project-body p { font-size: 1rem; margin-bottom: 1.75rem; }
.featured-project-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}
.featured-project-metrics > div strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.featured-project-metrics > div span { font-size: 0.78rem; color: var(--text-muted); }
@media (max-width: 900px) {
  .featured-project { grid-template-columns: 1fr; }
  .featured-project-body { padding: 2rem 1.5rem; }
}

/* ===== About timeline (year-based) ===== */
.year-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.year-card {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  transition: var(--transition);
}
.year-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.year-card .year {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.year-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.year-card p { font-size: 0.9rem; }

/* ===== Team values with photos ===== */
.team-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.team-value {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.team-value-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.team-value-image img { width: 100%; height: 100%; object-fit: cover; }
.team-value-body { padding: 1.5rem; }
.team-value-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.team-value-body p { font-size: 0.92rem; }

/* ===== Mobile app mockup (Residential) ===== */
.app-mockup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.app-phone {
  position: relative;
  max-width: 320px;
  margin-inline: auto;
  aspect-ratio: 9/19;
  background: var(--bg-dark);
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18), 0 8px 20px rgba(0,0,0,0.08);
}
.app-screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1A1A20, #0A0B0F);
  border-radius: 26px;
  padding: 24px 18px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-screen .app-time {
  text-align: center;
  font-size: 0.7rem;
  color: var(--gray-300);
  margin-bottom: 4px;
}
.app-screen h5 { font-size: 0.85rem; color: var(--gray-300); font-weight: 500; }
.app-screen .app-power {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.app-screen .app-power small { font-size: 1rem; color: var(--orange); margin-left: 4px; }
.app-screen .app-progress {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.app-screen .app-progress-fill {
  height: 100%;
  width: 64%;
  background: linear-gradient(90deg, var(--orange), var(--orange-hover));
  border-radius: 999px;
}
.app-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}
.app-row .lbl { color: var(--gray-300); }
.app-screen .app-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 4px 0;
}
.app-tile {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-tile .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; }
.app-tile small { color: var(--gray-300); font-size: 0.72rem; display: block; }
.app-tile strong { font-size: 0.85rem; }
@media (max-width: 900px) { .app-mockup { grid-template-columns: 1fr; gap: 3rem; } }

/* ===== Highlight bar (DC stat) ===== */
.highlight-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 3rem 0;
}
.highlight {
  text-align: center;
}
.highlight .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}
.highlight .lbl { font-size: 0.88rem; color: var(--text-muted); }

/* ===== Email confirmation note ===== */
.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}
.form-note a { color: var(--orange); }

/* ===== RTL ===== */
[dir="rtl"] body { font-family: 'Cairo', 'Inter', sans-serif; }
[dir="rtl"] .nav-link.active::after { left: 50%; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.hidden { display: none !important; }
.mt-md { margin-top: 3rem; }
