﻿@charset "UTF-8";
/* ============================================================================
   Verner Kraft Engineering — Corporate B2B Engineering Design System
   Bilingual LTR (English Default) & RTL (Arabic) via CSS Logical Properties
   ============================================================================ */

:root {
  --navy-950: #050E1C;
  --navy-900: #0B1F3A;
  --navy-800: #132B4C;
  --navy-700: #1E3A5F;
  --slate-700: #334155;
  --slate-600: #4A5568;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --white: #FFFFFF;
  --surface-light: #F4F7F9;
  --surface-muted: #EDF2F6;
  --border-light: #DCE4EC;

  --eco: #F26522;
  --eco-dark: #D95316;
  --eco-bright: #FF7A3D;
  --eco-soft: rgba(242, 101, 34, 0.11);

  --amber: #F26522;
  --amber-hover: #D95316;
  --gold: #F59E0B;
  --danger: #DC2626;

  --font-head-en: 'Barlow', 'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body-en: 'Inter', system-ui, -apple-system, sans-serif;
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 2px 8px rgba(7, 19, 28, 0.05);
  --shadow-md: 0 10px 30px rgba(7, 19, 28, 0.08);
  --shadow-lg: 0 20px 50px rgba(7, 19, 28, 0.14);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body-en);
  color: var(--navy-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: var(--font-head-en);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--navy-900);
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 {
  font-family: var(--font-ar);
  letter-spacing: 0;
  line-height: 1.32;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font: inherit;
}

.ltr-num {
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: 84px;
}

.section-light {
  background: var(--surface-light);
}

.section-dark {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--eco);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

html[lang="ar"] .eyebrow {
  letter-spacing: 0;
  font-size: 0.9rem;
}

.section-dark .eyebrow {
  color: var(--eco-bright);
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--slate-600);
  font-size: 1.05rem;
}

.section-dark .section-head p {
  color: #B8C7CE;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(0);
}

.btn-amber {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.28);
}

.btn-amber:hover {
  background: var(--amber-hover);
  transform: translateY(-2px);
}

.btn-eco {
  background: var(--eco);
  color: var(--white);
}

.btn-eco:hover {
  background: var(--eco-dark);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn-outline-dark {
  border-color: var(--border-light);
  color: var(--navy-800);
  background: var(--white);
}

.btn-outline-dark:hover {
  border-color: var(--eco);
  color: var(--eco);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.875rem;
}

/* ---------------- Top Utility Bar & Sticky Header ---------------- */
.topbar {
  background: var(--navy-950);
  color: #CBD5E1;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
  padding-block: 6px;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
}

.topbar-item:hover {
  color: var(--white);
  opacity: 1;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--eco-bright);
  flex-shrink: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 42, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  direction: ltr;
}

.brand-link img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: #E2E8F0;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--eco-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(242, 101, 34, 0.70);
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.lang-btn:hover {
  background: var(--eco);
  border-color: var(--eco);
}

.burger-btn {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------------- Hero Section ---------------- */
.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(7, 19, 28, 0.96) 0%, rgba(11, 31, 42, 0.88) 52%, rgba(11, 31, 42, 0.45) 100%),
    url('../assets/images/hero-switchgear.jpg') center/cover no-repeat;
  padding-top: 78px;
  padding-bottom: 0;
  overflow: hidden;
}

html[dir="rtl"] .hero {
  background:
    linear-gradient(260deg, rgba(7, 19, 28, 0.96) 0%, rgba(11, 31, 42, 0.88) 52%, rgba(11, 31, 42, 0.45) 100%),
    url('../assets/images/hero-switchgear.jpg') center/cover no-repeat;
}

.hero-content {
  max-width: 740px;
  padding-bottom: 64px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(242, 101, 34, 0.16);
  border: 1px solid rgba(242, 101, 34, 0.48);
  color: #FDBA74;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

html[lang="ar"] .hero-badge {
  letter-spacing: 0;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.1vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-sub {
  color: #D6E1E7;
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-calc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 22px;
  transition: color 0.15s ease;
}

.hero-calc-link:hover {
  color: #FCD34D;
  text-decoration: underline;
}

.metrics-bar {
  background: rgba(7, 19, 28, 0.9);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric-item {
  padding: 22px 20px;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-item:last-child {
  border-inline-end: none;
}

.metric-val {
  display: block;
  font-family: var(--font-head-en);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.metric-lbl {
  color: #CBD5E1;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ---------------- Partners Strip ---------------- */
.partners-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding-block: 30px;
}

.partners-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.partners-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  max-width: 210px;
}

html[lang="ar"] .partners-label {
  letter-spacing: 0;
  font-size: 0.9rem;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: 1;
  flex-wrap: wrap;
}

.partner-mark {
  font-family: var(--font-head-en);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--slate-600);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  direction: ltr;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.partner-mark:hover {
  color: var(--navy-900);
  border-color: var(--eco);
}

.partner-mark.schneider { color: #166534; }
.partner-mark.abb { color: #991B1B; }
.partner-mark.lovato { color: #0F766E; }

/* ---------------- 4 Core Divisions ---------------- */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.division-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.division-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(242, 101, 34, 0.48);
}

.division-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-900);
}

.division-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.division-card:hover .division-media img {
  transform: scale(1.04);
}

.division-num {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  background: rgba(11, 31, 42, 0.9);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.45);
  font-family: var(--font-head-en);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  direction: ltr;
}

.division-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.division-body h3 {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.division-desc {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.division-list {
  list-style: none;
  margin-bottom: 22px;
  display: grid;
  gap: 9px;
}

.division-list li {
  position: relative;
  padding-inline-start: 24px;
  font-size: 0.93rem;
  color: var(--navy-800);
}

.division-list li::before {
  content: "\2713";
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--eco-soft);
  color: var(--eco);
  font-weight: 800;
  font-size: 0.72rem;
  display: grid;
  place-items: center;
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 20px;
}

.spec-pill {
  background: var(--surface-light);
  color: var(--navy-800);
  border: 1px solid var(--border-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  direction: ltr;
}

.division-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.93rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  align-self: flex-start;
}

.division-action:hover {
  color: var(--amber-hover);
  text-decoration: underline;
}

/* ---------------- Featured Solutions Gallery ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: start;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: var(--navy-900);
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.06);
}

.zoom-chip {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  background: rgba(11, 31, 42, 0.86);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.gallery-body {
  padding: 22px;
}

.gallery-body h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.gallery-body p {
  color: var(--slate-600);
  font-size: 0.93rem;
  margin-bottom: 14px;
}

/* ---------------- Interactive PFC Calculator ---------------- */
.calc-wrapper {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 36px;
  box-shadow: var(--shadow-lg);
}

.calc-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #E2E8F0;
}

.field input,
.field select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #2A4B5C;
  background: var(--navy-900);
  color: var(--white);
  outline: none;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--eco-bright);
}

.field small {
  color: #94A3B8;
  font-size: 0.78rem;
}

.calc-results {
  background: linear-gradient(165deg, #0D232F 0%, #081721 100%);
  border: 1px solid #24485A;
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.calc-results h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #1E3E4E;
}

.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  border-bottom: 1px dashed #234353;
  font-size: 0.94rem;
}

.result-row span {
  color: #CBD5E1;
}

.result-row strong {
  color: var(--white);
  font-size: 1.05rem;
}

.pf-scale {
  margin-block: 12px 6px;
}

.pf-bar {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--danger) 0%, var(--gold) 65%, var(--eco) 76%, var(--eco) 100%);
  position: relative;
  direction: ltr;
}

.pf-marker {
  position: absolute;
  top: -5px;
  width: 4px;
  height: 22px;
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  transition: left 0.35s ease;
}

.pf-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94A3B8;
  margin-top: 4px;
  direction: ltr;
}

.status-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.payback-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(242, 101, 34, 0.15);
  border: 1px solid rgba(242, 101, 34, 0.55);
  text-align: center;
}

.payback-box span {
  display: block;
  font-size: 0.85rem;
  color: #A7F3D0;
  margin-bottom: 4px;
}

.payback-box strong {
  display: block;
  font-family: var(--font-head-en);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.calc-note {
  font-size: 0.78rem;
  color: #94A3B8;
  margin-top: 14px;
  margin-bottom: 16px;
}

/* ---------------- 4-Step Methodology ---------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--gold);
  font-family: var(--font-head-en);
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.process-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.process-card p {
  color: var(--slate-600);
  font-size: 0.92rem;
}

/* ---------------- About Section ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-float {
  position: absolute;
  bottom: 20px;
  inset-inline-start: 20px;
  inset-inline-end: 20px;
  background: rgba(11, 31, 42, 0.93);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-inline-start: 4px solid var(--eco-bright);
}

.about-float strong {
  display: block;
  color: var(--eco-bright);
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.about-float span {
  font-size: 0.84rem;
  color: #CBD5E1;
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-block: 24px;
}

.vm-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-inline-start: 3px solid var(--eco);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
}

.vm-card h4 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.vm-card p {
  font-size: 0.88rem;
  color: var(--slate-600);
}

.diff-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.diff-list li {
  position: relative;
  padding-inline-start: 28px;
  font-size: 0.95rem;
  color: var(--navy-800);
}

.diff-list li::before {
  content: "\2713";
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--eco);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ---------------- Vendor Registration & RFQ Portal ---------------- */
.rfq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.creds-stack {
  display: grid;
  gap: 16px;
}

.cred-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.cred-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--eco-soft);
  color: var(--eco);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cred-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.cred-body {
  flex: 1;
}

.cred-body h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.cred-body p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-bottom: 12px;
}

.badge-muted {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: #FEF3C7;
  color: #92400E;
  margin-bottom: 10px;
}

.rfq-form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.rfq-form-card h3 {
  font-size: 1.32rem;
  margin-bottom: 6px;
}

.rfq-form-sub {
  color: var(--slate-600);
  font-size: 0.93rem;
  margin-bottom: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.form-grid .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: var(--surface-light);
  color: var(--navy-900);
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--eco);
  background: var(--white);
}

.dropzone {
  border: 2px dashed #CBD5E1;
  border-radius: var(--radius-md);
  background: var(--surface-light);
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  margin-bottom: 16px;
}

.dropzone.is-drag {
  border-color: var(--eco);
  background: var(--eco-soft);
}

.dropzone strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.94rem;
  margin-bottom: 4px;
}

.dropzone span {
  font-size: 0.82rem;
  color: var(--slate-500);
}

.file-pill {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--eco-soft);
  border: 1px solid rgba(242, 101, 34, 0.38);
  color: var(--navy-900);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.file-pill.is-visible {
  display: flex;
}

.file-remove {
  background: none;
  border: none;
  color: var(--danger);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions .btn {
  flex: 1;
  min-width: 200px;
}

.rfq-feedback {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(242, 101, 34, 0.45);
  background: #FFF7ED;
  color: #9A3412;
}

.rfq-feedback.is-error {
  border-color: rgba(220, 38, 38, 0.4);
  background: #FEF2F2;
  color: #991B1B;
}

.rfq-feedback.is-visible {
  display: block;
}

.rfq-feedback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* ---------------- FAQ Accordion ---------------- */
.faq-list {
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: start;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
  cursor: pointer;
}

.faq-trigger:hover {
  color: var(--eco);
}

.faq-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-light);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-trigger[aria-expanded="true"] .faq-plus {
  transform: rotate(45deg);
  background: var(--eco);
  color: var(--white);
}

.faq-panel {
  display: none;
  padding: 0 22px 18px;
  color: var(--slate-600);
  font-size: 0.94rem;
}

.faq-panel.is-open {
  display: block;
}

/* ---------------- Contact & Map ---------------- */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.dept-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dept-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--eco);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

html[lang="ar"] .dept-role {
  letter-spacing: 0;
}

.dept-email {
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.87rem;
  overflow-wrap: break-word;
  word-break: normal;
}

.dept-desc {
  font-size: 0.85rem;
  color: var(--slate-600);
  flex: 1;
}

.dept-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.copy-btn {
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--surface-light);
  color: var(--navy-800);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.copy-btn:hover {
  border-color: var(--eco);
  color: var(--eco);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.office-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 18px;
}

.office-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.office-ico {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--eco-soft);
  color: var(--eco);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.office-ico svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.office-row small {
  display: block;
  color: var(--slate-500);
  font-size: 0.8rem;
}

.office-row strong {
  color: var(--navy-900);
  font-size: 0.98rem;
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  min-height: 320px;
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: var(--white);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.map-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.map-card-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(242, 101, 34, 0.22);
  border: 1px solid rgba(242, 101, 34, 0.50);
  color: #FDBA74;
  font-size: 0.78rem;
  font-weight: 700;
}

.map-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 18px;
}

.map-zone-pill {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem;
  color: #E2E8F0;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy-950);
  color: #CBD5E1;
  padding-top: 60px;
  padding-bottom: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #94A3B8;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.98rem;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-col a {
  font-size: 0.88rem;
  color: #94A3B8;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--eco-bright);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: #94A3B8;
}

/* ---------------- Floating WhatsApp & Lightbox ---------------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.42);
  z-index: 90;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 28, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-inner {
  max-width: 960px;
  width: 100%;
  position: relative;
  text-align: center;
}

.lightbox-inner img {
  max-height: 80vh;
  margin-inline: auto;
  border-radius: var(--radius-md);
}

.lightbox-cap {
  color: #E2E8F0;
  margin-top: 12px;
  font-size: 0.98rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  inset-inline-end: -6px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  border: none;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
}

/* ---------------- Responsive Breakpoints ---------------- */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    inset-inline: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 24px;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav-links.is-open {
    display: flex;
  }
  .burger-btn {
    display: inline-flex;
  }
  .metrics-grid,
  .process-grid,
  .dept-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .divisions-grid,
  .calc-wrapper,
  .about-grid,
  .rfq-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 16px;
  }
  .nav-inner {
    gap: 10px;
  }
  .brand-link img {
    height: 32px;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
  .section {
    padding-block: 60px;
  }
  .topbar {
    display: none;
  }
  .nav-actions .btn-amber {
    display: none;
  }
  .metrics-grid,
  .gallery-grid,
  .process-grid,
  .dept-grid,
  .calc-inputs-grid,
  .form-grid,
  .vm-grid {
    grid-template-columns: 1fr;
  }
  .metric-item {
    border-inline-end: none;
  }
  .calc-wrapper,
  .rfq-form-card {
    padding: 22px;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}

/* Step 3 UX Enhancements: Red Stars, Invalid Highlight & Calendar/Time Subgrid */
.req-star {
  color: #dc2626;
  font-weight: 800;
  margin-inline-start: 2px;
}
.field-invalid {
  border: 2px solid #dc2626 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.14) !important;
}
.rfq-subgrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 8px;
}
@media (max-width: 520px) {
  .rfq-subgrid {
    grid-template-columns: 1fr;
  }
}

/* Survey date helper & conditional other-governorate reveal */
.field-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 3px;
  line-height: 1.45;
}

