/* =============================================
   VM Power Systems — Main Stylesheet
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --navy-dark:   #081a35;
  --navy:        #0d2144;
  --navy-mid:    #1a3a6b;
  --navy-light:  #24508a;
  --gold:        #c9a227;
  --gold-light:  #f0c040;
  --gold-dark:   #9e7c1c;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --gray-800:    #1e293b;
  --green:       #22c55e;
  --wa-green:    #25d366;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow:      0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.18);
  --transition:  all .3s ease;
  --font-head:   'Poppins', sans-serif;
  --font-body:   'Inter', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--gray-600); }

.gold-text { color: var(--gold); }
.hidden    { display: none !important; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-pad { padding: 80px 0; }
.bg-dark  { background: var(--navy); }
.bg-light { background: var(--off-white); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,162,39,.35); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); transform: translateY(-2px); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--wa-green);
  color: var(--white);
  border: 2px solid var(--wa-green);
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; transform: translateY(-2px); }

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

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-header h2 { margin: .5rem 0 1rem; }
.section-header p   { color: var(--gray-600); font-size: 1.05rem; }
.section-header.light h2 { color: var(--white); }
.section-header.light p  { color: var(--gray-400); }

.section-label {
  display: inline-block;
  padding: .3rem 1rem;
  background: rgba(201,162,39,.12);
  color: var(--gold);
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.bg-dark .section-label { background: rgba(201,162,39,.15); }

/* =============================================
   HEADER
   ============================================= */
#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease;
}
#header.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}
.logo-icon img {
  width: 155%;
  height: auto;
  display: block;
  margin-left: -0%;
  margin-top: -15px;
}
.logo-text  { display: flex; flex-direction: column; }
.logo-main  { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--white); line-height: 1.2; white-space: nowrap; }
.logo-sub   { font-size: .68rem; color: var(--gold); font-weight: 500; letter-spacing: .04em; white-space: nowrap; }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-link {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--gold-light); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .88rem;
  font-weight: 700;
  padding: .55rem 1.1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 6px;
  cursor: pointer;
  z-index: 1001;

  flex-shrink: 0;   /* 🔥 CRITICAL FIX */
}

.hamburger span {
  display: block;
  width: 100%;      /* 🔥 instead of 24px */
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,.06) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,58,107,.8) 0%, transparent 70%);
  top: -100px; right: -150px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 80px;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  background: rgba(201,162,39,.15);
  border: 1px solid rgba(201,162,39,.3);
  color: var(--gold-light);
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  backdrop-filter: blur(6px);
  max-width: fit-content;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}
.stat-plus { font-size: 1.4rem; font-weight: 800; color: var(--gold-light); }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; margin-top: .25rem; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,.15); }

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.5);
  font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* =============================================
   ABOUT
   ============================================= */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
}
.about-text h2 { color: var(--navy); margin: .5rem 0 1rem; }
.about-text p  { margin-bottom: 1rem; line-height: 1.8; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin: 1.5rem 0 2rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: var(--gray-800);
  font-weight: 500;
}
.feature-item i { color: var(--green); font-size: 1rem; flex-shrink: 0; }

.about-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Owner Card */
.owner-card {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201,162,39,.2);
}
.owner-avatar {
  width: 80px; height: 80px;
  background: rgba(201,162,39,.15);
  border: 2px solid rgba(201,162,39,.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--gold-light);
  margin: 0 auto 1rem;
}
.owner-card h3    { text-align: center; font-size: 1.4rem; color: var(--white); }
.owner-degree     { text-align: center; color: var(--gold-light); font-size: .9rem; margin: .25rem 0 .5rem; }
.owner-badge {
  display: block;
  text-align: center;
  background: rgba(201,162,39,.2);
  color: var(--gold-light);
  border-radius: 50px;
  padding: .3rem .75rem;
  font-size: .8rem;
  font-weight: 600;
  margin: 0 auto .75rem;
  width: fit-content;
}
.owner-details    { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.owner-detail-row {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .88rem; color: rgba(255,255,255,.85);
  transition: var(--transition);
}
a.owner-detail-row:hover { color: var(--gold-light); }
.owner-detail-row i { color: var(--gold); margin-top: .2rem; flex-shrink: 0; }

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}
.service-card:hover {
  background: rgba(201,162,39,.08);
  border-color: rgba(201,162,39,.35);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(201,162,39,.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--gold-light);
  margin-bottom: 1rem;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--gold); color: var(--navy-dark); }
.service-card h3 { color: var(--white); margin-bottom: .5rem; font-size: 1.05rem; }
.service-card p  { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.7; }

/* =============================================
   PRODUCTS
   ============================================= */
.products { background: var(--gray-100); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.product-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 28px rgba(201,162,39,.15);
  transform: translateY(-4px);
}
.product-icon {
  width: 54px; height: 54px;
  background: color-mix(in srgb, var(--ic) 15%, transparent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--ic);
  margin-bottom: 1.1rem;
  transition: var(--transition);
}
.product-card:hover .product-icon { background: var(--ic); color: var(--white); }
.product-card h3 { color: var(--navy); margin-bottom: .75rem; font-size: 1.05rem; }
.product-card ul { margin-bottom: 1.25rem; }
.product-card ul li {
  font-size: .87rem;
  color: var(--gray-600);
  padding: .25rem 0;
  border-bottom: 1px solid var(--gray-200);
  line-height: 1.5;
}
.product-card ul li:last-child { border-bottom: none; }
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold-dark);
  transition: var(--transition);
}
.product-cta:hover { color: var(--gold); gap: .7rem; }
.product-cta i { font-size: .8rem; }

/* =============================================
   CATALOG
   ============================================= */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.catalog-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
}
.catalog-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.catalog-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,26,53,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.catalog-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
  display: flex; align-items: center; gap: .5rem;
  border: 2px solid rgba(255,255,255,.6);
  padding: .6rem 1.25rem;
  border-radius: 50px;
}
.catalog-item:hover .catalog-overlay { opacity: 1; }
.catalog-item:hover img              { transform: scale(1.06); }

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }

.lb-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.lb-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lb-title {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  text-align: center;
  font-family: var(--font-head);
}

.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  z-index: 10000;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--navy-dark); }
.lb-close { top: 1.5rem; right: 1.5rem; }
.lb-prev   { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lb-next   { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* =============================================
   BRANDS
   ============================================= */
.brands { background: var(--white); }
.brands-track-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.brands-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: scroll-brands 35s linear infinite;
  width: max-content;
}
.brands-track:hover { animation-play-state: paused; }

@keyframes scroll-brands {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.brand-pill {
  flex-shrink: 0;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: .6rem 1.5rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  transition: var(--transition);
  cursor: default;
}
.brand-pill:hover {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { color: var(--white); font-size: 1.5rem; margin-bottom: .25rem; }
.contact-tagline { color: var(--gold-light); font-style: italic; margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-item  { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon  {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(201,162,39,.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 1rem;
}
.contact-detail {
  display: flex; flex-direction: column; gap: .2rem;
}
.contact-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 600; }
.contact-detail a,
.contact-detail span { color: rgba(255,255,255,.85); font-size: .92rem; }
.contact-detail a:hover { color: var(--gold-light); }

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}
.map-wrapper iframe { display: block; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { color: var(--navy); margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}
label span { color: #e11d48; }

input, select, textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,.12);
}
textarea { resize: vertical; min-height: 120px; }

.form-note {
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--gray-400);
  text-align: center;
}

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.75); }
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 1.5rem 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 1rem; }
.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--wa-green);
  color: var(--white);
  padding: .5rem 1.1rem;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
  transition: var(--transition);
}
.footer-wa:hover { background: #1da851; transform: translateY(-2px); }

.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-col ul  { display: flex; flex-direction: column; gap: .5rem; }
.footer-col li a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: var(--transition);
}
.footer-col li a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-info {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .75rem;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.footer-info i { color: var(--gold); margin-top: .2rem; flex-shrink: 0; }
.footer-info a { color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-info a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 1.5rem;
  text-align: center;
}
.footer-bottom .container { display: flex; flex-direction: column; gap: .25rem; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.45); }
.designer-link {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(240,192,64,.45);
  text-underline-offset: 3px;
  transition: var(--transition);
}
.designer-link:hover {
  color: #fff;
  text-decoration-color: var(--gold-light);
  text-shadow: 0 0 12px rgba(240,192,64,.4);
}

/* =============================================
   FLOATING BUTTONS
   ============================================= */
.float-wa {
  position: fixed;
  bottom: 5.5rem; right: 1.5rem;
  width: 54px; height: 54px;
  background: var(--wa-green);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 990;
  transition: var(--transition);
}
.float-wa:hover { transform: scale(1.1); background: #1da851; }

.back-to-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 46px; height: 46px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover   { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-up    { transform: translateY(32px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.revealed {
  opacity: 1 !important;
  transform: translate(0) !important;
}

/* stagger children */
.services-grid  .service-card:nth-child(2)  { transition-delay: .1s; }
.services-grid  .service-card:nth-child(3)  { transition-delay: .2s; }
.services-grid  .service-card:nth-child(4)  { transition-delay: .1s; }
.services-grid  .service-card:nth-child(5)  { transition-delay: .2s; }
.services-grid  .service-card:nth-child(6)  { transition-delay: .3s; }
.services-grid  .service-card:nth-child(7)  { transition-delay: .1s; }
.services-grid  .service-card:nth-child(8)  { transition-delay: .2s; }
.services-grid  .service-card:nth-child(9)  { transition-delay: .3s; }

.products-grid  .product-card:nth-child(2)  { transition-delay: .08s; }
.products-grid  .product-card:nth-child(3)  { transition-delay: .16s; }
.products-grid  .product-card:nth-child(4)  { transition-delay: .24s; }
.products-grid  .product-card:nth-child(5)  { transition-delay: .08s; }
.products-grid  .product-card:nth-child(6)  { transition-delay: .16s; }
.products-grid  .product-card:nth-child(7)  { transition-delay: .08s; }
.products-grid  .product-card:nth-child(8)  { transition-delay: .16s; }
.products-grid  .product-card:nth-child(9)  { transition-delay: .24s; }
.products-grid  .product-card:nth-child(10) { transition-delay: .32s; }

.catalog-grid   .catalog-item:nth-child(2)  { transition-delay: .1s; }
.catalog-grid   .catalog-item:nth-child(3)  { transition-delay: .2s; }
.catalog-grid   .catalog-item:nth-child(4)  { transition-delay: .1s; }
.catalog-grid   .catalog-item:nth-child(5)  { transition-delay: .2s; }
.catalog-grid   .catalog-item:nth-child(6)  { transition-delay: .3s; }
.catalog-grid   .catalog-item:nth-child(7)  { transition-delay: .1s; }
.catalog-grid   .catalog-item:nth-child(8)  { transition-delay: .2s; }
.catalog-grid   .catalog-item:nth-child(9)  { transition-delay: .3s; }

/* =============================================
   RESPONSIVE — TABLET  (≤ 900px)
   ============================================= */
@media (max-width: 900px) {
  /* Nav */
  .hamburger { display: flex; }
  #header .logo-text { display: none !important; }
  #header .logo-icon { width: 48px; height: 48px; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0;
    width: 100%;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 2rem;
    gap: .25rem;
    transform: translateY(-110%);
    transition: transform .35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 999;
  }
  .navbar {
  padding: 0 10px;
}

.nav-cta {
  flex-shrink: 0;       /* prevent squeezing */
}

.nav-links {
  display: none;        /* hide from layout when closed */
}

.nav-links.open {
  display: flex;        /* show only when opened */
}
  .nav-links.open { transform: translateY(0); }
  .nav-link  { padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-cta   { margin-top: .5rem; justify-content: center; padding: .75rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .owner-card { max-width: 480px; margin: 0 auto; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =============================================
   RESPONSIVE — MOBILE  (≤ 600px)
   ============================================= */
@media (max-width: 600px) {
  .section-pad { padding: 56px 0; }

  /* Hero */
  .hero-stats { padding: 1rem 1rem; gap: 0; }
  .stat-item  { padding: 0 1rem; }
  .stat-num   { font-size: 1.5rem; }
  .stat-divider { height: 36px; }

  /* Services */
  .services-grid  { grid-template-columns: 1fr; }

  /* Catalog */
  .catalog-grid   { grid-template-columns: repeat(2, 1fr); }

  /* Feature grid */
  .feature-grid   { grid-template-columns: 1fr; }

  /* Form */
  .form-row       { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }

  /* Footer */
  .footer-main    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand   { grid-column: 1; }
}

@media (max-width: 400px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .hero-stats   { flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .stat-item    { padding: .5rem 1rem; }
}
