/* ═══════════════════════════════════════════════════════
   PartVolt Garage — Premium Dark Theme Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --bg:           #0a0a0f;
  --bg-card:      #111118;
  --bg-card-alt:  #16161f;
  --bg-section:   #0d0d14;
  --surface:      #1a1a24;
  --border:       rgba(255,255,255,.06);
  --border-hover: rgba(255,255,255,.12);

  --text:         #e4e4eb;
  --text-muted:   #8a8a9a;
  --text-dim:     #5a5a6e;

  --accent:       #00d4ff;
  --accent-alt:   #7c3aed;
  --gradient:     linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --gradient-text: linear-gradient(135deg, #00d4ff 0%, #a78bfa 50%, #f472b6 100%);
  --glow:         0 0 30px rgba(0,212,255,.15);
  --glow-strong:  0 0 60px rgba(0,212,255,.25);

  --radius:       12px;
  --radius-lg:    20px;
  --radius-sm:    8px;
  --radius-pill:  100px;

  --transition:   .3s cubic-bezier(.4,0,.2,1);
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Orbitron', var(--font);

  --header-h:     72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }
ul  { list-style: none; }

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

/* ── Preloader ── */
#preloader {
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s, visibility .5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.loader-ring {
  width: 64px; height: 64px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: flex; align-items: center; justify-content: center;
}
.loader-bolt { font-size: 20px; animation: pulse 1s ease infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border: none; border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 600; font-size: .95rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn .icon {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,212,255,.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,212,255,.4);
  color: #fff;
}
.btn-glass {
  background: rgba(255,255,255,.05);
  color: #fff;
  border: 1px solid var(--border-hover);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--accent);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--bg);
}
.btn-sm  { padding: 8px 18px; font-size: .85rem; }
.btn-lg  { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Header ── */
#header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all var(--transition);
}
#header.scrolled {
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
#header.header-hidden { transform: translateY(-100%); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-img { width: 40px; height: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-title {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.15rem;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-subtitle {
  font-size: .55rem; font-weight: 700;
  letter-spacing: 4px; color: var(--text-muted);
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  padding: 8px 16px;
  font-size: .9rem; font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.06);
}
.nav-link.active { color: var(--accent); }

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hide-mobile { }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 0%, rgba(0,212,255,.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 100%, rgba(124,58,237,.06) 0%, transparent 60%),
              var(--bg);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,15,.4) 100%);
  z-index: 1;
}

.hero-bg-particles {
  position: absolute; inset: 0;
  z-index: 0;
}

.particle {
  position: absolute;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { opacity: 0; transform: translateY(0) scale(.5); }
  10%  { opacity: .4; }
  90%  { opacity: .4; }
  100% { opacity: 0; transform: translateY(-200px) scale(1); }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: var(--radius-pill);
  font-size: .85rem; font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex; gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800;
  color: #fff;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--accent);
}
.stat-label {
  display: block;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 40px;
  background: var(--border-hover);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3;
}
.mouse {
  width: 26px; height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 14px;
  display: flex; justify-content: center;
  padding-top: 8px;
}
.wheel {
  width: 3px; height: 8px;
  background: var(--accent);
  border-radius: 3px;
  animation: scrollWheel 2s ease infinite;
}
@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ── Sections ── */
.section {
  padding: 100px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.15);
  border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-img-wrapper img {
  width: 100%; height: 400px;
  object-fit: cover;
}
.about-img-badge {
  position: absolute;
  bottom: 16px; right: 16px;
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 12px 18px;
  text-align: center;
}
.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: #fff;
}
.badge-text {
  font-size: .7rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-feature {
  display: flex; gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.about-feature:hover {
  background: var(--surface);
}
.about-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(0,212,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.about-icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: var(--accent);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.about-feature h3 {
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 4px; color: #fff;
}
.about-feature p {
  font-size: .9rem; color: var(--text-muted);
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: rgba(0,212,255,.2);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: rgba(0,212,255,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--accent);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.service-card h3 {
  font-size: 1.15rem; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.service-card p {
  font-size: .9rem; color: var(--text-muted);
  line-height: 1.7;
}
.service-number {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 900;
  color: rgba(255,255,255,.03);
}

/* ── Products ── */
.product-filters {
  display: flex; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: .9rem; font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  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: rgba(0,212,255,.2);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}
.product-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 4px 14px;
  background: var(--gradient);
  border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 700;
  color: #fff;
  z-index: 2;
}
.product-badge.hot { background: linear-gradient(135deg, #f97316, #ef4444); }
.product-image {
  display: flex; align-items: center; justify-content: center;
  height: 180px;
  background: linear-gradient(135deg, rgba(0,212,255,.04), rgba(124,58,237,.04));
  padding: 24px;
}
.product-image svg { width: 100px; height: 100px; }
.product-info { padding: 20px 24px 24px; }
.product-cat {
  font-size: .75rem; font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-info h3 {
  font-size: 1.1rem; font-weight: 700;
  color: #fff;
  margin: 4px 0 8px;
}
.product-info p {
  font-size: .85rem; color: var(--text-muted);
  margin-bottom: 16px;
}
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: #fff;
}
.product-price small { font-size: .75rem; color: var(--text-muted); }

/* ── Why Us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.why-card:hover {
  border-color: rgba(0,212,255,.2);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}
.why-icon-wrap {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(0,212,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.why-icon-wrap svg {
  width: 28px; height: 28px;
  fill: none; stroke: var(--accent);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.why-card h3 {
  font-size: 1.05rem; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
.why-card p {
  font-size: .85rem; color: var(--text-muted);
  line-height: 1.7;
}

/* ── Brands Marquee ── */
.brands-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.brands-label {
  text-align: center;
  font-size: .85rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px;
  z-index: 2;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(90deg, transparent, var(--bg));
}
.marquee-track {
  display: flex; gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.brand-item {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--text-dim);
  white-space: nowrap;
  opacity: .5;
  transition: opacity var(--transition);
}
.brand-item:hover { opacity: 1; color: var(--accent); }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Testimonials ── */
.testimonials-slider {
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.testimonial-card {
  min-width: 100%;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.stars {
  color: #f59e0b;
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 4px;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: .85rem;
}
.testimonial-author strong {
  display: block; color: #fff; font-size: .95rem;
}
.testimonial-author span {
  font-size: .8rem; color: var(--text-muted);
}

.slider-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.slider-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.slider-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.slider-btn svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.slider-dots { display: flex; gap: 8px; }
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--text-dim);
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active { background: var(--accent); transform: scale(1.3); }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.info-card {
  display: flex; gap: 16px;
  padding: 16px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.info-card:hover { background: var(--surface); }
.info-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(0,212,255,.08);
  display: flex; align-items: center; justify-content: center;
}
.info-icon svg {
  width: 20px; height: 20px;
  fill: none; stroke: var(--accent);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.info-card h4 {
  font-size: .95rem; font-weight: 700;
  color: #fff; margin-bottom: 4px;
}
.info-card p, .info-card a {
  font-size: .9rem; color: var(--text-muted);
  line-height: 1.6;
}

.map-wrapper {
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ── Contact Form ── */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: .85rem; font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: .95rem;
  transition: all var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,255,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238a8a9a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-status { margin-top: 16px; }
.status-success {
  padding: 14px 20px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: var(--radius-sm);
  color: #22c55e;
  font-size: .9rem; font-weight: 500;
}

.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

/* ── CTA Banner ── */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0,212,255,.06), rgba(124,58,237,.06));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-content { text-align: center; }
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.cta-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.cta-buttons {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  padding: 60px 0 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 16px 0;
  line-height: 1.7;
}
.footer-social {
  display: flex; gap: 10px;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--accent);
  background: rgba(0,212,255,.08);
}
.social-link svg {
  width: 18px; height: 18px;
  fill: none; stroke: var(--text-muted);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.social-link:hover svg { stroke: var(--accent); }

.footer-col h4 {
  font-size: .95rem; font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .9rem; color: var(--text-muted);
  transition: all var(--transition);
}
.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem; color: var(--text-muted);
}
.footer-contact svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  fill: none; stroke: var(--accent);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-size: .8rem; color: var(--text-dim);
}
.footer-legal {
  display: flex; gap: 20px;
}
.footer-legal a {
  font-size: .8rem; color: var(--text-dim);
}
.footer-legal a:hover { color: var(--accent); }

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,212,255,.3);
}
.back-to-top.visible {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-4px); }
.back-to-top svg {
  width: 22px; height: 22px;
  fill: none; stroke: #fff; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ── Scroll Animations ── */
[data-animate] {
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}
[data-animate="fade-up"]    { transform: translateY(40px); }
[data-animate="fade-down"]  { transform: translateY(-40px); }
[data-animate="fade-left"]  { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }

[data-animate].animated {
  opacity: 1;
  transform: translate(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .products-grid    { grid-template-columns: repeat(2, 1fr); }
  .why-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-top       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .hamburger { display: flex; }
  .hide-mobile { display: none !important; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 80px 32px 40px;
    gap: 4px;
    transition: right .4s cubic-bezier(.4,0,.2,1);
    border-left: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-link { width: 100%; padding: 14px 16px; font-size: 1rem; }

  .about-grid        { grid-template-columns: 1fr; gap: 40px; }
  .services-grid     { grid-template-columns: 1fr; }
  .products-grid     { grid-template-columns: 1fr; }
  .why-grid          { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: 1fr; }
  .footer-top        { grid-template-columns: 1fr; }

  .hero-stats { gap: 20px; }
  .stat-divider { width: 32px; height: 1px; }
  .hero-title { font-size: 2rem; }

  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}
