/* ============================================================
   AIR-THERM INC. — DARK INDUSTRIAL REDESIGN
   style-dark.css
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
  --bg-primary:   #0e2a52;
  --bg-secondary: #133570;
  --bg-card:      #1a4080;
  --bg-card-hover:#1f4d99;
  --bg-topbar:    #091e3a;
  --accent:       #f5a623;
  --accent-dark:  #c8821a;
  --accent-glow:  rgba(245, 166, 35, 0.3);
  --blue:         #3a8fe8;
  --blue-light:   #5aaeff;
  --text-primary: #ffffff;
  --text-secondary:#c8d8f0;
  --text-muted:   #7fa0c8;
  --border:       rgba(255,255,255,0.07);
  --border-accent:rgba(245,166,35,0.3);
  --font-main:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Barlow Condensed', 'Inter', sans-serif;
  --radius:       6px;
  --radius-lg:    12px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.6);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}
.preloader-inner {
  text-align: center;
}
.preloader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.preloader-logo img { height: 40px; }
.preloader-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-primary);
}
.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--blue-light));
  border-radius: 2px;
  animation: preload-fill 1.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes preload-fill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */

/* Topbar */
.topbar {
  background: var(--bg-topbar);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.02em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 1.19rem;
}
.topbar-left a, .topbar-right a {
  color: var(--text-secondary);
  transition: color var(--transition);
}
.topbar-left a:hover, .topbar-right a:hover { color: var(--accent); }
.topbar-right li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 700;
}
.topbar-right li a { font-weight: 700; }
.topbar-right li i { color: var(--accent); font-size: 0.85rem; }
.topbar-left li { display: flex; align-items: center; }

/* Mobile topbar */
@media (max-width: 768px) {
  .topbar { overflow: hidden; }
  .topbar-inner {
    flex-direction: column;
    height: auto;
    padding: 8px 0;
    gap: 6px;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }
  .topbar-left {
    font-size: 0.72rem;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
  .topbar-right {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 1.25rem;
    width: 100%;
  }
  .topbar-right li { font-size: 1.25rem; justify-content: center; }
}

/* Navbar */
.navbar {
  background: rgba(19, 53, 112, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
  position: relative;
  z-index: 100;
}
.navbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
  background: rgba(19, 53, 112, 0.98);
  animation: slideDown 0.35s ease;
}
.site-header.sticky-active .navbar { position: fixed; top: 0; left: 0; right: 0; }
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.navbar-logo img { height: 40px; }
.logo-text {
  font-family: var(--font-main);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu li a {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--text-primary);
  background: var(--border);
}
.nav-menu li.nav-cta a,
.btn-nav {
  background: var(--accent);
  color: #000 !important;
  font-weight: 700;
  padding: 8px 18px !important;
  border-radius: var(--radius);
}
.nav-menu li.nav-cta a:hover { background: var(--accent-dark); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  box-shadow: var(--shadow-hover);
  z-index: 200;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  padding: 8px 12px !important;
  font-size: 0.84rem !important;
  border-radius: 4px !important;
  display: block;
  color: var(--text-secondary) !important;
}
.dropdown li a:hover {
  color: var(--accent) !important;
  background: rgba(245,166,35,0.08) !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.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); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-slider {
  position: relative;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(19, 53, 112, 0.65) 0%,
    rgba(19, 53, 112, 0.30) 50%,
    rgba(19, 53, 112, 0.05) 100%
  );
}

.hero .container { position: relative; z-index: 3; }

.hero-content {
  max-width: 640px;
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(24px);
}

.text-accent { color: var(--accent); }

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(24px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
}

/* Animate-up for active slide */
.hero-slide.active .animate-up { animation: slideUp 0.7s cubic-bezier(0.4,0,0.2,1) forwards; }
.hero-slide.active .delay-1 { animation-delay: 0.15s; }
.hero-slide.active .delay-2 { animation-delay: 0.3s; }
.hero-slide.active .delay-3 { animation-delay: 0.45s; }
.hero-slide.active .delay-4 { animation-delay: 0.6s; }

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 96px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 4;
}
.scroll-hint span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 5;
}
.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.slider-btn:hover { background: var(--accent); border-color: var(--accent); color: #000; }

.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all var(--transition);
}
.dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* Stats Bar */
.stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(19, 53, 112, 0.90);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  z-index: 5;
}
.stats-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px 0;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  flex: 1;
  max-width: 200px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ============================================================
   INTRO STRIP
   ============================================================ */
.intro-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.intro-strip-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.intro-icon {
  flex-shrink: 0;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.6;
}
.fa-spin-slow { animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.intro-text { flex: 1; }
.intro-text h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.intro-text p { color: var(--text-secondary); font-size: 0.95rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.3);
  transition: all var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.07);
  transform: translateY(-1px);
}
.btn-accent {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 11px 22px;
  border-radius: var(--radius);
  border: 2px solid var(--border-accent);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
}
.btn-accent:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.btn-outline-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--border-accent);
  transition: all var(--transition);
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-tag.light { color: #fff; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.section-products {
  padding: 96px 0;
  background: var(--bg-primary);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .product-card-overlay { opacity: 1; }
.product-card-link {
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 20px;
  border-radius: var(--radius);
  letter-spacing: 0.03em;
  transform: translateY(10px);
  transition: transform var(--transition);
}
.product-card:hover .product-card-link { transform: translateY(0); }
.product-card-body { padding: 22px 24px; }
.product-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.product-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.product-card-body h3 a:hover { color: var(--accent); }
.product-card-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  transition: gap var(--transition);
}
.link-arrow:hover { gap: 10px; }

.products-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.section-about {
  padding: 96px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.about-bg-text {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 14rem);
  font-weight: 900;
  color: rgba(255,255,255,0.02);
  letter-spacing: 0.05em;
  user-select: none;
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-image {
  position: relative;
}
.about-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.about-img-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 50%;
  height: 50%;
  border: 2px solid var(--border-accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-badge {
  position: absolute;
  top: 24px;
  right: -20px;
  background: var(--accent);
  color: #000;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.badge-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-top: 4px;
}
.about-content { padding-left: 16px; }
.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-lead {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-content > p:not(.about-lead) {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}
.about-features { margin-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.af-item { display: flex; align-items: flex-start; gap: 12px; }
.af-icon { color: var(--accent); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.af-text strong { display: block; font-size: 0.95rem; color: var(--text-primary); margin-bottom: 2px; }
.af-text span { font-size: 0.85rem; color: var(--text-secondary); }

/* ============================================================
   CTA PARALLAX
   ============================================================ */
.cta-parallax {
  position: relative;
  padding: 96px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}
.cta-parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 30, 58, 0.45);
}
.cta-parallax-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.cta-parallax-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.25;
}
.cta-parallax-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.section-projects {
  padding: 96px 0;
  background: var(--bg-primary);
}
.projects-track-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.projects-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card {
  min-width: 300px;
  flex: 0 0 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.project-card:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.project-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(9, 30, 58, 0.70) 0%, rgba(9, 30, 58, 0.25) 70%, transparent 100%);
}
.project-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.project-card-info h4 {
  font-size: 1rem;
  margin: 6px 0 10px;
  color: var(--text-primary);
}
.project-card-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.project-card-info a:hover { color: var(--accent); }
.track-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.track-btn:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.track-btn.prev { left: 8px; }
.track-btn.next { right: 8px; }
.projects-footer { text-align: center; margin-top: 48px; }

/* ============================================================
   CFD SECTION
   ============================================================ */
.section-cfd {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}
.cfd-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.cfd-content {
  padding: 72px 48px;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cfd-photo {
  overflow: hidden;
}
.cfd-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cfd-content h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
  margin-top: 14px;
}
.cfd-content p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}
.cfd-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 32px;
}
.cfd-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.cfd-point i { color: var(--accent); }

/* ============================================================
   RESEARCH SECTION
   ============================================================ */
.section-research {
  padding: 80px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.research-carousel { max-width: 640px; margin: 0 auto; text-align: center; }
.research-slides { position: relative; height: 210px; }
.research-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.research-slide.active { opacity: 1; }
.research-quote {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 16px;
}
.research-slide p {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}
.research-source strong {
  display: block;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 4px;
}
.research-source span {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.research-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.research-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all var(--transition);
}
.research-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ============================================================
   NEWS SECTION
   ============================================================ */
.section-news {
  padding: 96px 0;
  background: var(--bg-primary);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.news-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.news-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-img img { transform: scale(1.06); }
.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #000;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.news-body { padding: 22px 24px; }
.news-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 10px;
}
.news-body h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 10px;
}
.news-body h3 a:hover { color: var(--accent); }
.news-body p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================================
   CLIENTS SECTION
   ============================================================ */
.section-clients {
  padding: 56px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.clients-header { text-align: center; margin-bottom: 36px; }
.clients-header p { color: var(--text-secondary); font-size: 0.9rem; }
.clients-track-wrapper { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); }
.clients-track {
  display: flex;
  gap: 48px;
  animation: scrollTrack 20s linear infinite;
  width: max-content;
}
@keyframes scrollTrack {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.clients-track:hover { animation-play-state: paused; }
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 80px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.client-logo:hover {
  background: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.client-logo img {
  max-height: 48px;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.client-logo:hover img { opacity: 1; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.section-final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid var(--border);
}
.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: linear-gradient(135deg, rgba(245,166,35,0.06) 0%, transparent 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
}
.final-cta-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 10px;
}
.final-cta-text p { color: var(--text-secondary); }
.final-cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-topbar);
  border-top: 1px solid var(--border);
}
.footer-main { padding: 64px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
}
.footer-brand { }
.footer-logo { height: 36px; margin-bottom: 6px; }
.footer-logo-text {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact-info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.fci-item { display: flex; gap: 10px; align-items: flex-start; }
.fci-item i { color: var(--accent); font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; }
.fci-item span, .fci-item a {
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}
.fci-item a:hover { color: var(--accent); }
.footer-areas h6 {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 700;
}
.areas-list { display: flex; flex-wrap: wrap; gap: 6px; }
.areas-list span {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--border);
  padding: 3px 10px;
  border-radius: 100px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-lang { display: flex; gap: 16px; }
.footer-lang a { font-size: 0.8rem; color: var(--text-muted); }
.footer-lang a:hover { color: var(--accent); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  box-shadow: 0 4px 20px var(--accent-glow);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--transition);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { right: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .final-cta-inner { flex-direction: column; gap: 28px; padding: 36px; }
}

@media (max-width: 768px) {
  /* Topbar */
  .topbar-right .t-clock { display: none; }

  /* Navbar */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 90vw);
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    gap: 2px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 300;
    box-shadow: var(--shadow-hover);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu li { width: 100%; }
  .nav-menu li a { padding: 12px 16px; width: 100%; border-radius: var(--radius); font-size: 1rem; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: rgba(255,255,255,0.03); margin-left: 16px; margin-top: 4px; padding: 4px; }
  .has-dropdown { flex-direction: column; }

  /* Hero */
  .hero { height: 100svh; min-height: 600px; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 3rem); }
  .hero-content { padding-bottom: 200px; }
  .stats-inner { flex-wrap: wrap; gap: 0; }
  .stat-item { min-width: 50%; }
  .stat-divider { display: none; }
  .scroll-hint { display: none; }

  /* CFD - coloana unica pe mobil */
  .cfd-inner { grid-template-columns: 1fr; }
  .cfd-photo { display: none; }
  .cfd-content { padding: 48px 24px; }

  /* Sections */
  .products-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .cfd-points { grid-template-columns: 1fr; }
  .final-cta-inner { padding: 28px; }
  .final-cta-actions { flex-direction: column; width: 100%; }
  .final-cta-actions .btn-primary,
  .final-cta-actions .btn-ghost { text-align: center; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }

  /* Intro strip */
  .intro-strip-inner { flex-direction: column; text-align: center; }
  .intro-icon { display: none; }
  .btn-accent { align-self: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { text-align: center; justify-content: center; }
  .stat-num { font-size: 1.6rem; }
}
