/* =========================================================
   AYOUR ELECTRO VISION — STYLESHEET
   Premium Dark Blue, Black & White theme
   ========================================================= */

/* -----------------------------
   1. ROOT VARIABLES
------------------------------ */
:root {
  --primary-dark: #0B1F3A;
  --secondary-blue: #1976FF;
  --accent-blue: #3B82F6;
  --black: #0A0A0A;
  --dark-gray: #1A1A1A;
  --silver: #C0C0C0;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;

  --gradient-dark: linear-gradient(135deg, var(--black) 0%, var(--primary-dark) 55%, #10294f 100%);
  --gradient-blue: linear-gradient(135deg, var(--secondary-blue), var(--accent-blue));

  --shadow-soft: 0 10px 30px rgba(11, 31, 58, 0.10);
  --shadow-strong: 0 20px 50px rgba(11, 31, 58, 0.25);
  --shadow-glow: 0 0 30px rgba(25, 118, 255, 0.45);

  --radius: 18px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --font-main: 'Poppins', sans-serif;
}

/* -----------------------------
   2. RESET
------------------------------ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--primary-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Darija / Arabic text gets its own font stack for legibility while keeping Poppins for Latin */
[lang="ar"], .about-text p, .about-lead, .why-card p, .product-body p,
.contact-intro, .contact-item p, .footer-brand p, .form-group label,
input, textarea, .form-status, .footer-bottom p {
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
}

/* -----------------------------
   3. PRELOADER
------------------------------ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--gradient-dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--white);
}
.preloader-bar {
  width: 180px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gradient-blue);
  animation: loadBar 1.1s ease forwards;
  box-shadow: var(--shadow-glow);
}
@keyframes loadBar { to { width: 100%; } }

/* -----------------------------
   4. NAVBAR
------------------------------ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(11, 31, 58, 0.85);
  padding: 12px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.5px;
}
.nav-logo em {
  font-style: normal;
  font-weight: 300;
  color: var(--silver);
  margin-inline-start: 4px;
}
.logo-icon {
  color: var(--secondary-blue);
  font-size: 1.4rem;
  filter: drop-shadow(0 0 8px rgba(25,118,255,0.6));
}

.nav-menu {
  display: flex;
  gap: 36px;
}
.nav-link {
  position: relative;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  opacity: 0.85;
  transition: var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-blue);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: var(--accent-blue);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* -----------------------------
   5. BUTTONS
------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn i { transition: transform 0.3s ease; }
.btn:hover i { transform: translateX(4px); }

.btn-primary {
  background: var(--primary-dark);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--secondary-blue);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.btn-small { padding: 10px 22px; font-size: 0.85rem; }

.btn-glow {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(25, 118, 255, 0.4);
}
.btn-glow:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 35px rgba(59, 130, 246, 0.65);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);

}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: scale(1.05);
}

.full-width { width: 100%; justify-content: center; }

/* Ripple effect */
.btn { position: relative; }
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(3); opacity: 0; }
}

/* -----------------------------
   6. HERO SECTION
------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.75) 0%, rgba(11,31,58,0.85) 60%, var(--black) 100%);
}

.floating-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(59,130,246,0.5), rgba(25,118,255,0.05));
  filter: blur(2px);
  animation: floatShape 10s ease-in-out infinite;
}
.shape-1 { width: 140px; height: 140px; top: 15%; left: 10%; animation-duration: 9s; }
.shape-2 { width: 90px; height: 90px; top: 65%; left: 85%; animation-duration: 12s; animation-delay: 1s; }
.shape-3 { width: 60px; height: 60px; top: 25%; left: 80%; animation-duration: 7s; animation-delay: 2s; }
.shape-4 { width: 110px; height: 110px; top: 75%; left: 15%; animation-duration: 11s; animation-delay: 0.5s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(-40px) translateX(20px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 800px;
}
.hero-logo {
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(59,130,246,0.4);
  box-shadow: var(--shadow-glow);
  animation: pulseGlow 3s ease-in-out infinite;
}
.hero-logo i { font-size: 2.2rem; color: var(--accent-blue); }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(25,118,255,0.4); }
  50% { box-shadow: 0 0 45px rgba(59,130,246,0.75); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
  animation: fadeUp 1s ease 0.2s both;
}
.hero-title span {
  display: block;
  font-weight: 300;
  font-size: 0.45em;
  color: var(--silver);
  letter-spacing: 3px;
  margin-top: 6px;
}
.hero-slogan {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: var(--silver);
  font-weight: 300;
  margin-bottom: 40px;
  animation: fadeUp 1s ease 0.4s both;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s ease 0.6s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--silver);
  font-size: 0.8rem;
}
.scroll-indicator span {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--accent-blue));
  animation: scrollLine 1.8s ease-in-out infinite;
}
.scroll-indicator i { animation: bounce 1.8s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* -----------------------------
   7. SECTION HEADERS (shared)
------------------------------ */
section { padding: 110px 0; position: relative; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--secondary-blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow.light { color: var(--accent-blue); }
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--primary-dark);
}
.light-title { color: var(--white) !important; }
.divider {
  width: 70px;
  height: 3px;
  background: var(--gradient-blue);
  margin: 20px auto 0;
  border-radius: 3px;
}

/* -----------------------------
   8. ABOUT SECTION (white bg)
------------------------------ */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-lead { font-size: 1.1rem; font-weight: 500; margin-bottom: 18px; color: var(--primary-dark); }
.about-text p { color: #444; margin-bottom: 18px; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.about-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-gray);
  color: var(--primary-dark);
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: var(--transition);
}
.about-tags span:hover {
  border-color: var(--secondary-blue);
  color: var(--secondary-blue);
  transform: translateY(-3px);
}
.about-tags i { color: var(--secondary-blue); }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11,31,58,0.06);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--secondary-blue);
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary-blue);
  margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: #666; font-weight: 500; }

/* -----------------------------
   9. PRODUCTS SECTION (light gray bg)
------------------------------ */
.products { background: var(--light-gray); }

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid transparent;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  border-top-color: var(--secondary-blue);
}

.product-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover .product-img img { transform: scale(1.12); }

.product-icon {
  position: absolute;
  bottom: -22px;
  right: 24px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gradient-blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}
.product-card:hover .product-icon { transform: rotate(360deg) scale(1.1); }

.product-body { padding: 40px 24px 26px; }
.product-body h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary-dark); }
.product-body p { color: #555; font-size: 0.92rem; margin-bottom: 18px; min-height: 48px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.card-link i { transition: transform 0.3s ease; }
.card-link:hover { color: var(--primary-dark); }
.card-link:hover i { transform: translateX(5px); }

/* -----------------------------
   10. WHY CHOOSE US (dark blue bg)
------------------------------ */
.why-us {
  background: var(--gradient-dark);
  overflow: hidden;
}
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.glow-orb-1 { width: 380px; height: 380px; background: var(--secondary-blue); top: -100px; left: -100px; }
.glow-orb-2 { width: 300px; height: 300px; background: var(--accent-blue); bottom: -80px; right: -60px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: var(--radius);
  padding: 38px 28px;
  text-align: center;
  transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.08);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow);
}

.why-icon {
  width: 66px; height: 66px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(59,130,246,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-blue);
  font-size: 1.6rem;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  transform: scale(1.15) rotate(8deg);
  background: var(--gradient-blue);
  color: var(--white);
}

.why-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.why-card .check { color: var(--accent-blue); font-size: 0.9rem; }
.why-card p { color: var(--silver); font-size: 0.9rem; }

/* -----------------------------
   11. CONTACT SECTION (white bg)
------------------------------ */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-intro { color: #555; margin-bottom: 30px; font-size: 1rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: var(--transition);
  border: 1px solid rgba(11,31,58,0.07);
}
.contact-item:not(.no-hover):hover {
  background: var(--light-gray);
  transform: translateX(-6px);
  border-color: var(--secondary-blue);
}
.contact-item h4 { font-size: 0.95rem; color: var(--primary-dark); margin-bottom: 4px; }
.contact-item p { font-size: 0.9rem; color: #666; }

.contact-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
}
.contact-icon.whatsapp { background: #25D366; }
.contact-icon.facebook { background: #1877F2; }
.contact-icon.email { background: var(--gradient-blue); }
.contact-icon.hours { background: var(--primary-dark); }

/* Contact Form - glassmorphism */
.contact-form {
  background: linear-gradient(145deg, rgba(11,31,58,0.03), rgba(59,130,246,0.05));
  border: 1px solid rgba(11,31,58,0.08);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.form-group { margin-bottom: 22px; position: relative; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(11,31,58,0.12);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--primary-dark);
  transition: var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-blue);
  box-shadow: 0 0 0 4px rgba(25,118,255,0.12);
}
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #e5484d;
  box-shadow: 0 0 0 4px rgba(229,72,77,0.1);
}
.error-msg {
  display: block;
  color: #e5484d;
  font-size: 0.8rem;
  margin-top: 6px;
  min-height: 16px;
  opacity: 0;
  transform: translateY(-4px);
  transition: var(--transition);
}
.error-msg.show { opacity: 1; transform: translateY(0); }

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
  display: none;
}
.form-status.show { opacity: 1; transform: translateY(0); display: block; }
.form-status.success { background: rgba(34,197,94,0.12); color: #16803c; border: 1px solid rgba(34,197,94,0.3); }
.form-status.error { background: rgba(229,72,77,0.1); color: #c62828; border: 1px solid rgba(229,72,77,0.3); }

/* -----------------------------
   12. FOOTER (black with blue accents)
------------------------------ */
.footer {
  background: var(--black);
  color: var(--silver);
  padding-top: 80px;
  border-top: 1px solid rgba(59,130,246,0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-brand p { margin: 18px 0 22px; font-size: 0.9rem; line-height: 1.7; }

.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--accent-blue);
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--gradient-blue);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.footer-links h4, .footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 22px;
  position: relative;
}
.footer-links a {
  display: block;
  margin-bottom: 12px;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent-blue); padding-left: 6px; }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
}
.footer-contact i { color: var(--accent-blue); width: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1240px;
  margin: 0 auto;
  font-size: 0.85rem;
}
.designed-by i { color: var(--secondary-blue); }

/* -----------------------------
   13. FLOATING WHATSAPP + BACK TO TOP
------------------------------ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(37,211,102,0.5);
  animation: whatsappPulse 2.5s ease-in-out infinite;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 10px 35px rgba(37,211,102,0.7);
}
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--gradient-blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-6px) scale(1.08); }

/* -----------------------------
   14. SCROLL REVEAL ANIMATION
------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------
   15. RESPONSIVE DESIGN
------------------------------ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(80%, 320px);
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 34px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.4);
  }
  .nav-menu.open { right: 0; }
  .hamburger { display: flex; }
  .nav-actions .btn-primary { display: none; }

  .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); }
}

@media (max-width: 700px) {
  section { padding: 80px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form { padding: 28px; }
  .whatsapp-float, .back-to-top { width: 52px; height: 52px; font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .nav-logo span { font-size: 1rem; }
}
