/* ============================================
   MotorHaus — Futuristic Automotive Service Site
   ============================================ */

:root {
  --bg: #06070a;
  --bg-alt: #0a0808;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-border: rgba(255, 255, 255, 0.09);
  --cyan: #ff1e3c;
  --violet: #7a0012;
  --amber: #ffb020;
  --text: #eef2f7;
  --text-dim: #9aa5b3;
  --text-dimmer: #6b7686;
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: 'Orbitron', 'Rajdhani', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon { flex-shrink: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cyan);
  color: #05070a;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  color: #fff;
}

.text-gradient {
  background: linear-gradient(90deg, var(--cyan), var(--violet) 60%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* ---------- Background FX ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 30, 60, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 30, 60, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.glow-1 { width: 480px; height: 480px; background: var(--cyan); top: -120px; left: -100px; }
.glow-2 { width: 520px; height: 520px; background: var(--violet); top: 40%; right: -160px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 30, 60, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 30, 60, 0.5); }
.btn-outline {
  border-color: var(--surface-border);
  color: var(--text);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-ghost { color: var(--text-dim); }
.btn-ghost:hover { color: var(--cyan); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.full-width { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(5, 7, 10, 0.75);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--surface-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: #fff;
}
.nav-desktop { display: flex; gap: 28px; }
.nav-desktop a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.nav-desktop a:hover { color: #fff; }
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--cyan);
  transition: right .25s var(--ease);
}
.nav-desktop a:hover::after { right: 0; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 8px;
  color: #fff;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
  background: rgba(6, 9, 14, 0.97);
  border-top: 1px solid var(--surface-border);
}
.mobile-nav.open { max-height: 480px; }
.mobile-nav a {
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav .btn { margin: 14px 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 90px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  font-family: var(--font-display);
  font-weight: 900;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 60px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--surface-border);
  padding-top: 28px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  display: inline-block;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cyan);
  margin-left: 2px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-dimmer);
  margin-top: 4px;
  max-width: 140px;
}

.hero-visual {
  position: absolute;
  right: -4%;
  bottom: 6%;
  width: 46%;
  max-width: 560px;
  opacity: 0.9;
  z-index: 1;
  will-change: transform, opacity;
  transition: transform .15s linear, opacity .15s linear;
}
.car-frame { animation: floatCar 6s ease-in-out infinite; }
@keyframes floatCar {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  25% { transform: translateY(-10px) translateX(4px) rotate(-0.6deg); }
  50% { transform: translateY(-16px) translateX(0) rotate(0deg); }
  75% { transform: translateY(-8px) translateX(-4px) rotate(0.6deg); }
}
.car-svg { width: 100%; height: auto; filter: brightness(1.35) saturate(1.15) drop-shadow(0 20px 44px rgba(255,30,60,0.35)); overflow: visible; }
.car-svg .wheel {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: wheelSpin 1.6s linear infinite;
}
@keyframes wheelSpin { to { transform: rotate(360deg); } }
.car-svg .car-shadow { animation: shadowPulse 6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 50%; }
@keyframes shadowPulse {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(0.88); opacity: 0.75; }
}
.car-svg .headlight {
  animation: headlightPulse 2.2s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 245, 224, 0.9));
}
@keyframes headlightPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.car-svg .speed-line {
  transform-box: fill-box;
  transform-origin: 0% 50%;
  opacity: 0;
  animation: speedTrail 1.3s ease-in-out infinite;
}
.car-svg .speed-line.l1 { animation-delay: 0s; }
.car-svg .speed-line.l2 { animation-delay: 0.18s; }
.car-svg .speed-line.l3 { animation-delay: 0.36s; }
@keyframes speedTrail {
  0% { transform: translateX(30px); opacity: 0; }
  35% { opacity: 0.8; }
  100% { transform: translateX(-25px); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  background: var(--bg-alt);
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scrollLeft 28s linear infinite;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.marquee-track span:nth-child(odd) { color: var(--cyan); }
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-sub { color: var(--text-dim); font-size: 1.05rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(0,229,255,0.12), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(255,255,255,0.065);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255,30,60,0.18), rgba(122,0,18,0.18));
  color: var(--cyan);
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.service-card p { color: var(--text-dim); font-size: 0.92rem; margin: 0; }

/* ---------- Why Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.feature-list { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 32px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 500;
}
.feature-list .icon { color: var(--cyan); }
.why-visual { display: flex; flex-direction: column; gap: 20px; }
.glass-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 340px;
}
.glass-card .icon { color: var(--cyan); margin-bottom: 6px; }
.glass-card strong { font-family: var(--font-heading); font-size: 1.05rem; color: #fff; }
.glass-card span { color: var(--text-dim); font-size: 0.88rem; }
.floating { animation: floatCard 5s ease-in-out infinite; }
.floating.delay-1 { animation-delay: 1s; margin-left: 40px; }
.floating.delay-2 { animation-delay: 2s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Process ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 26px 20px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background: var(--surface);
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cyan);
  opacity: 0.7;
  display: block;
  margin-bottom: 12px;
}
.process-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.process-step p { color: var(--text-dim); font-size: 0.88rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
.gallery-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
  background: linear-gradient(160deg, rgba(255,30,60,0.15), rgba(122,0,18,0.12));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  transition: transform .3s var(--ease), border-color .3s;
  text-align: center;
  padding: 12px;
}
.gallery-tile .icon { color: var(--cyan); }
.gallery-tile span { font-size: 0.82rem; font-weight: 600; color: var(--text-dim); }
.gallery-tile:hover { transform: scale(1.04); border-color: var(--cyan); }
.insta-cta { text-align: center; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin: 0;
}
.stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: 14px; }
.testimonial-card p { color: var(--text); font-style: italic; margin: 0 0 16px; }
.testimonial-card cite { color: var(--text-dimmer); font-size: 0.85rem; font-style: normal; }
.disclaimer-note { color: var(--text-dimmer); font-size: 0.78rem; margin-top: 26px; text-align: center; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  color: #fff;
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
}
.faq-q .chev { color: var(--cyan); transition: transform .3s var(--ease); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 220px; padding-bottom: 18px; }
.faq-a p { color: var(--text-dim); margin: 0; font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-list { display: flex; flex-direction: column; gap: 18px; margin: 28px 0; }
.contact-list li, .contact-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
}
.contact-list .icon { color: var(--cyan); margin-top: 2px; }
.contact-list a:hover { color: var(--cyan); }
.contact-list em { color: var(--text-dimmer); font-style: normal; font-size: 0.82rem; }
.social-row { display: flex; gap: 12px; margin-bottom: 28px; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all .25s;
}
.social-btn:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  height: 260px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.92) contrast(0.9); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 34px;
  backdrop-filter: blur(10px);
}
.contact-form h3 { margin-bottom: 20px; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 0.85rem; color: var(--text-dim); font-weight: 600; }
.form-row input, .form-row select, .form-row textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  outline: none;
  transition: border-color .2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--cyan); }
.form-row select option { background: #0a0e14; }
.form-note { min-height: 20px; font-size: 0.85rem; color: var(--cyan); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--surface-border); padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin: 14px 0 20px; max-width: 280px; }
.footer-col h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dimmer); margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { color: var(--text-dim); font-size: 0.92rem; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-dimmer);
  font-size: 0.82rem;
}
.footer-bottom .disclaimer-note { margin: 0; }
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a { color: var(--text-dimmer); }
.footer-legal-links a:hover { color: var(--cyan); }

/* ---------- Legal / content pages ---------- */
.legal-hero {
  padding: 160px 0 60px;
  border-bottom: 1px solid var(--surface-border);
}
.legal-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-updated { color: var(--text-dimmer); font-size: 0.9rem; }
.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 0 100px;
}
.legal-body h2 {
  font-size: 1.4rem;
  margin-top: 2.4em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text-dim); font-size: 1rem; }
.legal-body ul, .legal-body ol { padding-left: 1.3em; margin: 1em 0; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li { margin-bottom: 0.5em; }
.legal-body a { color: var(--cyan); text-decoration: underline; }
.legal-notice {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 2.4em;
  font-size: 0.92rem;
  color: var(--text-dim);
}

/* ---------- Floating buttons ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 94px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .3s var(--ease);
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { border-color: var(--cyan); color: var(--cyan); }

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.4);
  z-index: 90;
  animation: pulseWA 2.4s infinite;
}
@keyframes pulseWA {
  0%, 100% { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 34px rgba(37, 211, 102, 0.7); }
}

/* ---------- Premium FX: preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--bg);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: #fff;
  opacity: 0;
  animation: preloaderFade .6s var(--ease) .1s forwards;
}
.preloader-bar {
  width: 160px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.preloader-bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: 2px;
  animation: preloaderBar 1.1s ease-in-out infinite;
}
@keyframes preloaderFade { to { opacity: 1; } }
@keyframes preloaderBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
body.loaded .preloader { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Premium FX: scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  box-shadow: 0 0 12px rgba(255, 30, 60, 0.6);
  z-index: 200;
  transition: width .1s linear;
}

/* ---------- Premium FX: cursor glow ---------- */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 30, 60, 0.16), rgba(255, 30, 60, 0) 70%);
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .4s;
  will-change: transform;
}
.cursor-glow.active { opacity: 1; }

/* ---------- Premium FX: grain overlay ---------- */
.grain-overlay {
  position: absolute;
  inset: -10%;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Premium FX: magnetic buttons & tilt cards ---------- */
.btn { will-change: transform; }
.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* ---------- Premium FX: shimmer accents ---------- */
.text-gradient {
  background-size: 200% auto;
  animation: shimmerText 5s linear infinite;
}
@keyframes shimmerText {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
}
.btn-primary:hover::after { left: 130%; }

/* ---------- Premium FX: active nav (scrollspy) ---------- */
.nav-desktop a.active { color: #fff; }
.nav-desktop a.active::after { right: 0; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-visual { width: 60%; opacity: 0.32; right: -8%; z-index: 0; }
}

@media (max-width: 900px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding: 140px 0 50px;
  }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .contact-form { padding: 24px; }
  .hero-visual {
    position: relative;
    inset: auto;
    right: auto;
    bottom: auto;
    width: 74%;
    max-width: 260px;
    margin: 12px auto 0;
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .cursor-glow, .grain-overlay { display: none; }
}

@media (hover: none) {
  .cursor-glow { display: none; }
}
