/* ========================================
   TESAS - Energy Solutions Website
   Brand Theme: Navy + Orange + Lime Green
   Compatible: Chrome, Firefox, Safari, Edge, iOS, Android
   ======================================== */

/* ---------- CSS Reset & Variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary:   #111827;
  --bg-secondary: #1a2444;
  --bg-card:      #1e2d52;
  --bg-card-hover:#243460;
  --orange:       #F7941D;
  --orange-dark:  #F47C20;
  --green:        #A8CF45;
  --orange-dim:   rgba(247,148,29,0.15);
  --green-dim:    rgba(168,207,69,0.12);
  --text-primary: #FFFFFF;
  --text-muted:   #CBD5E1;
  --text-dim:     #7C8BAA;
  --border:       rgba(247,148,29,0.22);
  --border-soft:  rgba(255,255,255,0.07);
  --glow-orange:  0 0 30px rgba(247,148,29,0.3);
  --glow-green:   0 0 30px rgba(168,207,69,0.25);
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(0,0,0,0.5);
  --font:         'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono:         'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --nav-h:        72px;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green); }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-muted); }

.text-orange { color: var(--orange); }
.text-green  { color: var(--green); }
.text-dim    { color: var(--text-dim); }

/* ---------- Layout Utilities ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: var(--glow-orange);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(247,148,29,0.5);
  color: #fff;
}
.btn-outline {
  border: 1.5px solid var(--orange);
  color: var(--orange);
  background: transparent;
}
.btn-outline:hover {
  background: var(--orange-dim);
  transform: translateY(-2px);
  color: var(--orange);
}
.btn-green {
  background: linear-gradient(135deg, var(--green), #7aad1f);
  color: #111;
  box-shadow: var(--glow-green);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(168,207,69,0.45);
  color: #111;
}

/* ---------- Tags / Badges ---------- */
.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tag-blue  { background: var(--orange-dim); color: var(--orange); border: 1px solid rgba(247,148,29,0.3); }
.tag-green { background: var(--green-dim); color: var(--green); border: 1px solid rgba(168,207,69,0.3); }
.tag-gold  { background: rgba(255,193,7,0.12); color: #ffc107; border: 1px solid rgba(255,193,7,0.3); }

/* ---------- Section Labels ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
}
.section-title { margin-bottom: 16px; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 640px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(17,24,39,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(17,24,39,0.99);
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 5px;
  padding: 4px 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.07);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.7;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.dropdown-menu a:hover { background: rgba(247,148,29,0.08); color: var(--orange); }

.nav-cta { margin-left: 12px; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Mobile Nav Drawer ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 20px 24px;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-muted);
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition);
}
.mobile-nav a:hover { background: rgba(247,148,29,0.08); color: var(--orange); }
.mobile-nav .mobile-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 8px 0;
}
.mobile-nav .nav-label {
  color: var(--text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 16px 4px;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(247,148,29,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(168,207,69,0.07) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,148,29,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,148,29,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--orange-dim);
  border: 1px solid rgba(247,148,29,0.3);
  border-radius: 999px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--orange), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: 0.82rem; color: var(--text-dim); margin-top: 2px; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--glow-orange);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-icon-blue  { background: var(--orange-dim); border: 1px solid rgba(247,148,29,0.25); }
.card-icon-green { background: var(--green-dim); border: 1px solid rgba(168,207,69,0.25); }
.card h3 { margin-bottom: 12px; }
.card p  { font-size: 0.92rem; line-height: 1.65; }

/* Service card with link */
.service-card { text-decoration: none; display: block; }
.service-card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 20px;
  transition: gap var(--transition);
}
.service-card:hover .card-arrow { gap: 12px; }

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { color: var(--text-muted); font-size: 0.9rem; }
.stat-divider {
  border: none;
  border-left: 1px solid var(--border-soft);
  height: 60px;
  align-self: center;
}

/* ---------- Case Study Cards ---------- */
.cs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.cs-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cs-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.cs-card-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.cs-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.cs-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cs-card-body p  { font-size: 0.88rem; flex: 1; }
.cs-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
.cs-metric { text-align: center; }
.cs-metric-value { font-size: 1.2rem; font-weight: 700; color: var(--green); line-height: 1; }
.cs-metric-label { font-size: 0.72rem; color: var(--text-dim); margin-top: 2px; }
.cs-card:hover .cs-card-body h3 { color: var(--orange); }

/* ---------- Process Steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  z-index: 0;
}
.process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0 auto 20px;
  box-shadow: var(--glow-orange);
}
.step-title { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; }
.step-desc  { font-size: 0.82rem; color: var(--text-dim); }

/* ---------- Feature List ---------- */
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.feature-item:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}
.feature-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--green-dim);
  border: 1px solid rgba(168,207,69,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--green);
  margin-top: 1px;
}
.feature-text h4 { font-size: 0.95rem; margin-bottom: 4px; }
.feature-text p  { font-size: 0.85rem; }

/* ---------- Tech Spec Table ---------- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.9rem;
}
.spec-table th {
  background: rgba(247,148,29,0.08);
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.spec-table td:first-child { color: var(--text-muted); font-weight: 500; }
.spec-table td:last-child { color: var(--text-primary); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 70% 30%, rgba(247,148,29,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(168,207,69,0.06) 0%, transparent 60%);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,148,29,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,148,29,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.breadcrumb a { color: var(--text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--text-dim); }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .hero-desc { font-size: 1.05rem; max-width: 640px; }

/* ---------- Case Study Hero ---------- */
.cs-hero-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cs-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.cs-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.cs-result-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.cs-result-label { font-size: 0.8rem; color: var(--text-dim); }

/* ---------- Experience Banner ---------- */
.experience-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(247,148,29,0.08);
  border: 1px solid rgba(247,148,29,0.25);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.experience-banner span:first-child { font-size: 1.1rem; flex-shrink: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--green));
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(247,148,29,0.5);
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-phase {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { font-size: 0.88rem; }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, rgba(247,148,29,0.08) 0%, rgba(168,207,69,0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,148,29,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,148,29,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { font-size: 1.05rem; margin-bottom: 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-soft);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.88rem;
  margin: 16px 0 20px;
  max-width: 280px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--orange-dim);
  border-color: var(--border);
  color: var(--orange);
}
.footer-col h4 {
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: var(--text-dim);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.82rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-dim); }

/* ---------- Contact Form ---------- */
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: all var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247,148,29,0.12);
}
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* ---------- Accordion / FAQ ---------- */
.accordion-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--bg-card);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: background var(--transition);
  text-align: left;
}
.accordion-header:hover { background: var(--bg-card-hover); }
.accordion-icon { color: var(--orange); font-size: 1.2rem; transition: transform var(--transition); }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-item.open .accordion-body { max-height: 400px; }
.accordion-body-inner {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Two-column content ---------- */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.content-split.reverse { direction: rtl; }
.content-split.reverse > * { direction: ltr; }

/* ---------- Highlight Box ---------- */
.highlight-box {
  background: linear-gradient(135deg, rgba(247,148,29,0.07), rgba(168,207,69,0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.highlight-box h3 { margin-bottom: 12px; }

/* ---------- Icon Grid ---------- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 16px;
}
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
}
.icon-item:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}
.icon-item .icon { font-size: 2rem; }
.icon-item span { font-size: 0.78rem; color: var(--text-dim); font-weight: 500; }

/* ---------- Team Cards ---------- */
.team-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(247,148,29,0.15), rgba(168,207,69,0.1));
  border: 2px dashed var(--orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.team-photo-placeholder:hover { background: rgba(247,148,29,0.2); }
.photo-icon { font-size: 1.8rem; display: block; }
.photo-label { font-size: 0.65rem; color: var(--orange); text-align: center; margin-top: 4px; font-weight: 600; }
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--orange); margin: 0 auto 16px; display: block; }
.team-role { font-size: 0.85rem; margin-bottom: 10px; font-weight: 600; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 8px; }
.team-tags span { font-size: 0.7rem; padding: 3px 10px; border-radius: 999px; background: rgba(247,148,29,0.1); color: var(--orange); border: 1px solid rgba(247,148,29,0.25); }

/* ---------- Product Gallery ---------- */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.gallery-item { text-align: center; }
.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: #000;
}
.gallery-label { font-size: 0.78rem; color: var(--text-dim); margin-top: 6px; }

/* ========== Solutions Slider ========== */
.solutions-slider {
  position:relative;
  background:var(--bg-primary);
  padding:56px 32px 68px;
}
.slider-section-header { text-align:center; margin-bottom:32px; }
.slider-section-header .section-eyebrow { margin-bottom:10px; }
.slider-section-header .section-title { color:#fff; }
.slider-section-header .section-subtitle { color:rgba(255,255,255,0.5); font-size:0.88rem; max-width:500px; margin:0 auto; }
/* The wrapper IS the dark card — one slide visible at a time */
.slider-wrapper {
  position:relative;
  max-width:1120px;
  margin:0 auto;
  background:#06101f;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 24px 64px rgba(0,0,0,0.55);
}
.slider-track {
  display:flex;
  will-change:transform;
  transition:transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.slide {
  width:100%;
  flex:0 0 100%;
  height:440px;
  position:relative;
  display:block;
  text-decoration:none;
  overflow:hidden;
  cursor:pointer;
}
.slide-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  transition:transform 8s ease;
}
.slide.active .slide-bg { transform:scale(1.06); }
.slide-overlay {
  position:absolute; inset:0;
  background:linear-gradient(105deg, rgba(6,16,31,0.93) 38%, rgba(6,16,31,0.35) 100%);
}
.slide-content {
  position:relative; z-index:2; height:100%;
  display:flex; flex-direction:column; justify-content:center;
  padding:0 64px; max-width:640px;
}
.slide-number {
  font-size:0.68rem; font-weight:700; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--green); margin-bottom:14px;
}
.slide-title {
  font-size:clamp(1.75rem,3.5vw,2.7rem); font-weight:800;
  color:#fff; line-height:1.15; letter-spacing:-0.025em; margin-bottom:16px;
}
.slide-title span { color:var(--green); }
.slide-desc {
  font-size:0.96rem; color:rgba(255,255,255,0.72);
  line-height:1.7; margin-bottom:26px; max-width:460px;
}
.slide-cta {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--orange); color:#fff; font-weight:700;
  font-size:0.87rem; padding:11px 22px; border-radius:6px;
  width:fit-content; transition:background 0.2s,transform 0.2s;
}
.slide:hover .slide-cta { background:var(--orange-dark); transform:translateX(5px); }
.slide-img-deco {
  position:absolute; right:6%; top:50%; transform:translateY(-50%);
  width:38%; max-width:400px; object-fit:contain;
  opacity:0.75; z-index:1; pointer-events:none;
}
/* Controls */
.slider-btn {
  position:absolute; top:50%; transform:translateY(-50%); z-index:20;
  width:46px; height:46px; border-radius:50%;
  background:rgba(17,24,39,0.65); backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.2); color:#fff;
  font-size:1.3rem; display:flex; align-items:center;
  justify-content:center; cursor:pointer; transition:all 0.2s;
}
.slider-btn:hover { background:var(--orange); border-color:var(--orange); }
.slider-prev { left:8px; }
.slider-next { right:8px; }
.slider-dots {
  position:absolute; bottom:16px; left:50%; transform:translateX(-50%);
  display:flex; gap:8px; z-index:20;
}
.slider-dot {
  height:6px; width:6px; border-radius:99px;
  background:rgba(255,255,255,0.3); cursor:pointer;
  transition:all 0.35s; border:none; padding:0;
}
.slider-dot.active { width:28px; background:var(--orange); }
.slider-progress {
  position:absolute; bottom:0; left:0; height:3px;
  background:var(--orange); z-index:20; width:0%;
}
.slider-progress.running { width:100%; transition:width 5s linear; }
@media (max-width:768px) {
  .solutions-slider { padding:36px 16px 52px; }
  .slider-wrapper { border-radius:14px; }
  .slide { height:400px; }
  .slide-content { padding:0 26px; max-width:100%; }
  .slide-title { font-size:1.55rem; }
  .slide-desc { font-size:0.88rem; }
  .slider-section-header { margin-bottom:24px; }
  .slider-btn { width:38px; height:38px; font-size:1rem; }
  .slider-prev { left:8px; }
  .slider-next { right:8px; }
}

/* ========== News Ticker ========== */
.news-ticker {
  margin-top: var(--nav-h);
  display:flex; align-items:center; background:#0a1525;
  border-top:1px solid rgba(255,255,255,0.05);
  border-bottom:1px solid rgba(255,255,255,0.05);
  height:46px; overflow:hidden; position:relative;
}
.news-ticker::after {
  content:''; position:absolute; right:0; top:0; bottom:0; width:80px;
  background:linear-gradient(to right,transparent,#0a1525); pointer-events:none; z-index:2;
}
.news-ticker-label {
  background:var(--orange); color:#fff; font-size:0.68rem; font-weight:700;
  letter-spacing:0.14em; text-transform:uppercase; padding:0 16px;
  height:100%; display:flex; align-items:center; white-space:nowrap;
  flex-shrink:0; z-index:3;
}
.news-ticker-viewport { flex:1; overflow:hidden; height:100%; display:flex; align-items:center; }
.news-ticker-track {
  display:inline-flex; align-items:center; white-space:nowrap;
  animation:tickerScroll 55s linear infinite;
}
.news-ticker-track:hover { animation-play-state:paused; }
@keyframes tickerScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.news-ticker-item {
  display:inline-flex; align-items:center; color:rgba(255,255,255,0.6);
  font-size:0.78rem; text-decoration:none; padding:0 28px 0 0;
  gap:8px; transition:color 0.2s; white-space:nowrap;
}
.news-ticker-item:hover { color:var(--orange); }
.news-ticker-sep { color:var(--green); opacity:0.7; flex-shrink:0; }

/* ---------- Image Placeholder ---------- */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-primary);
  border: 2px dashed rgba(247,148,29,0.35);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.img-placeholder-icon { font-size: 2.5rem; opacity: 0.6; }
.img-placeholder-label { font-weight: 700; color: var(--text-muted); font-size: 0.95rem; }
.img-placeholder-hint { font-size: 0.75rem; color: var(--text-dim); text-align: center; max-width: 200px; line-height: 1.5; }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate { opacity: 0; }
.animate.in { animation: fadeUp 0.7s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--orange-dim);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 72px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .content-split { grid-template-columns: 1fr; gap: 40px; }
  .content-split.reverse { direction: ltr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 24px; }
  .hero-stats .stat-divider { display: none; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: calc(var(--nav-h) + 48px) 0 48px; }
  .cs-results-grid { grid-template-columns: repeat(2, 1fr); }
  .product-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .cta-btns  { flex-direction: column; }
  .btn { justify-content: center; }
  .hero-stat-value { font-size: 1.6rem; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .scroll-top, .cta-section { display: none; }
  body { background: #fff; color: #000; }
  .section { padding: 32px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
