/* ═══════════════════════════════════════════════════════════
   KRITHI SAFETY NETS — style.css
   Mobile-first · CSS Grid + Flexbox · Inter font
   Breakpoints: 480px | 768px | 1024px | 1280px
═══════════════════════════════════════════════════════════ */

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

:root {
  /* Colors */
  --blue:        #1e40af;
  --blue-dark:   #1e3a8a;
  --blue-light:  #3b82f6;
  --green:       #059669;
  --orange:      #f97316;
  --red:         #e11d48;
  --purple:      #7c3aed;
  --teal:        #0891b2;
  --wa:          #25d366;

  --dark:        #0f172a;
  --dark-2:      #1e293b;
  --dark-3:      #334155;
  --mid:         #64748b;
  --light:       #f1f5f9;
  --light-2:     #f8fafc;
  --border:      #e2e8f0;
  --white:       #ffffff;

  /* Typography */
  --font:        'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --sec-pad:     80px;
  --container:   1200px;

  /* Radius */
  --r-sm:        8px;
  --r-md:        14px;
  --r-lg:        20px;
  --r-xl:        28px;
  --r-full:      9999px;

  /* Shadow */
  --sh-sm:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --sh-md:       0 4px 20px rgba(0,0,0,.08);
  --sh-lg:       0 10px 40px rgba(0,0,0,.12);
  --sh-xl:       0 20px 60px rgba(0,0,0,.16);

  /* Transitions */
  --tr:          0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ─── Section Headings ─── */
.section-head        { margin-bottom: 48px; }
.section-head.center { text-align: center; }

.badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-sub {
  font-size: .95rem;
  color: var(--mid);
  max-width: 560px;
}
.section-head.center .section-sub { margin-inline: auto; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .9rem;
  border: 2px solid transparent;
  transition: var(--tr);
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  justify-content: center;
}

.btn-lg { padding: 14px 30px; font-size: 1rem; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--sh-md); }

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

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

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover { background: var(--light); transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--wa);
  color: var(--white);
}
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: var(--sh-md); }

.w-full { width: 100%; }


/* ══════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--tr);
}
.header.scrolled { box-shadow: var(--sh-md); }

.nav-container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-brand { font-size: 1rem; font-weight: 800; color: var(--dark); }
.logo-sub   { font-size: .65rem; font-weight: 600; color: var(--mid); letter-spacing: .04em; text-transform: uppercase; }

/* Desktop nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--dark-3);
  transition: var(--tr);
}
.nav-link:hover, .nav-link.active { background: var(--light); color: var(--blue); }

/* Nav CTA */
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta .btn { padding: 8px 18px; font-size: .85rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: var(--r-sm);
  margin-left: auto;
  flex-shrink: 0;
}
.bar {
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--tr);
  transform-origin: center;
}
.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 20px 24px;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .4s ease;
}
.mobile-menu.open { max-height: 600px; }

.mobile-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.mobile-link {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  font-weight: 500;
  color: var(--dark);
  transition: var(--tr);
  font-size: .95rem;
}
.mobile-link:hover { background: var(--light); color: var(--blue); }

.mobile-cta { display: flex; flex-direction: column; gap: 10px; }


/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;         /* fallback for older browsers */
  min-height: 100svh;        /* accounts for mobile browser chrome */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 96px;
  color: var(--white);
  /* overflow:hidden removed — moved to .hero-slides to fix mobile clipping */
}

/* Slideshow */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;          /* clips ken-burns zoom, not the hero content */
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .9s ease;
  will-change: opacity;
}
.hero-slide.active {
  opacity: 1;
  animation: kenburns 10s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1);    }
  to   { transform: scale(1.06); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.75) 0%, rgba(15,23,42,.45) 100%);
}

/* Slide dots — sit above the stats strip */
.hero-dots {
  position: absolute;
  bottom: 88px;          /* stats strip ~76px + 12px gap */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: all .35s ease;
  padding: 0;
}
.hero-dot.active { width: 28px; background: var(--white); }
.hero-dot:hover:not(.active) { background: rgba(255,255,255,.7); }

/* Hero content grid */
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  padding: 7px 16px;
  border-radius: var(--r-full);
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
  letter-spacing: .02em;
}
.hero-badge i { color: #fbbf24; }
.badge-short  { display: none; }    /* shown only on small screens */

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-cursor {
  display: inline-block;
  color: #a78bfa;
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  margin-left: 2px;
  animation: cursorBlink .75s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-desc {
  font-size: clamp(.9rem, 2vw, 1.05rem);
  color: rgba(255,255,255,.8);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero service cards */
.hero-services {
  position: relative;
  height: 260px;
}


/* ══════════════════════════════════════════════
   HERO SERVICE CARD (floating pills)
══════════════════════════════════════════════ */
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: background var(--tr), border-color var(--tr);
}
.hero-card:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.35); }
.hero-card h3 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.hero-card p  { font-size: .75rem; color: rgba(255,255,255,.7); }

.hero-card-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.ic-blue   { background: rgba(59,130,246,.25); }
.ic-green  { background: rgba(5,150,105,.25);  }
.ic-orange { background: rgba(249,115,22,.25); }


/* ══════════════════════════════════════════════
   HERO STATS STRIP (pinned inside hero bottom)
══════════════════════════════════════════════ */
.hero-stats-strip {
  position: absolute;            /* pinned to hero bottom, always visible */
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hs-item {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hs-item:last-child { border-right: none; }
.hs-val  { line-height: 1; margin-bottom: 5px; }
.hs-num  { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 900; color: var(--white); }
.hs-suffix { font-size: clamp(1.2rem, 3vw, 1.8rem); font-weight: 900; color: var(--white); }
.hs-label {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── CSS-only entrance animations (no JS dependency) ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Gallery items fade up on load — small stagger via nth-child */
.gallery-item { animation: fadeUp .55s ease both; }
.gallery-item:nth-child(1) { animation-delay: .05s; }
.gallery-item:nth-child(2) { animation-delay: .1s;  }
.gallery-item:nth-child(3) { animation-delay: .15s; }
.gallery-item:nth-child(4) { animation-delay: .2s;  }
.gallery-item:nth-child(5) { animation-delay: .25s; }
.gallery-item:nth-child(6) { animation-delay: .3s;  }
.gallery-item:nth-child(7) { animation-delay: .35s; }
.gallery-item:nth-child(8) { animation-delay: .4s;  }
.gallery-item:nth-child(9) { animation-delay: .45s; }

/* Process steps */
.step { animation: fadeUp .5s ease both; }
.step:nth-child(1) { animation-delay: .05s; }
.step:nth-child(3) { animation-delay: .15s; }
.step:nth-child(5) { animation-delay: .25s; }
.step:nth-child(7) { animation-delay: .35s; }

/* legacy stat selectors kept for any residual refs */
.stat-num {
  display: inline;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: .03em;
}


/* ══════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════ */
.services {
  padding: var(--sec-pad) 0;
  background: var(--light-2);
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: .85rem;
  font-weight: 600;
  color: var(--mid);
  transition: var(--tr);
}
.filter-btn:hover  { border-color: var(--blue); color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

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

/* Service card */
.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--tr), box-shadow var(--tr);
  border-top: 4px solid var(--blue);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.service-card[data-cat="residential"] { border-top-color: var(--blue);   }
.service-card[data-cat="bird"]        { border-top-color: var(--orange);  }
.service-card[data-cat="sports"]      { border-top-color: var(--green);   }
.service-card[data-cat="industrial"]  { border-top-color: var(--purple);  }
.service-card[data-cat="specialty"]   { border-top-color: var(--teal);    }

/* Card image */
.sc-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.sc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .sc-img img { transform: scale(1.06); }
.sc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35) 0%, transparent 60%);
}

/* Category badge */
.sc-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
  color: var(--white);
}
.sc-badge.residential { background: var(--blue);   }
.sc-badge.bird        { background: var(--orange);  }
.sc-badge.sports      { background: var(--green);   }
.sc-badge.industrial  { background: var(--purple);  }
.sc-badge.specialty   { background: var(--teal);    }

/* Card body */
.sc-body {
  padding: 20px 20px 0;
  flex: 1;
}
.sc-icon { font-size: 1.8rem; margin-bottom: 10px; }
.sc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.sc-desc {
  font-size: .84rem;
  color: var(--mid);
  line-height: 1.65;
}

/* Card footer */
.sc-footer {
  padding: 16px 20px 20px;
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}
.btn-call {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: .85rem;
  font-weight: 700;
  background: linear-gradient(270deg, #1a56db, #7c3aed, #e11d48, #f97316, #1a56db);
  background-size: 300% 100%;
  color: var(--white);
  border: none;
  animation: callShift 5s ease infinite;
  text-align: center;
  justify-content: center;
}
@keyframes callShift {
  0%   { background-position: 0% 50%;   }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%;   }
}
.btn-call:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(30,64,175,.4); }

.btn-wa {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: .85rem;
  font-weight: 600;
  background: #e8fdf0;
  color: #16a34a;
  border: 1.5px solid #bbf7d0;
  text-align: center;
  justify-content: center;
}
.btn-wa:hover { background: var(--wa); color: var(--white); border-color: var(--wa); transform: translateY(-2px); }


/* ══════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════ */
.about {
  padding: var(--sec-pad) 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--sh-xl);
}
.about-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Trust badge (bottom-right of image) */
.about-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 14px 20px;
  text-align: center;
  box-shadow: var(--sh-lg);
  min-width: 90px;
}
.about-badge-num   { display: block; font-size: 2rem; font-weight: 900; color: var(--blue); line-height: 1; }
.about-badge-label { font-size: .72rem; color: var(--mid); font-weight: 600; letter-spacing: .02em; }

/* Second badge (top-left of image) */
.about-badge-2 {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--sh-lg);
}
.ab2-score { font-size: 1.2rem; font-weight: 900; color: var(--dark); line-height: 1; }
.ab2-label { font-size: .7rem; color: var(--mid); font-weight: 600; }

.about-content p {
  font-size: .95rem;
  color: var(--mid);
  margin-bottom: 14px;
  line-height: 1.75;
}

/* 2-column grid for 6 features */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--light-2);
  border: 1px solid var(--border);
  transition: var(--tr);
}
.about-feat:hover { border-color: var(--blue); background: #eff6ff; transform: translateY(-2px); }
.feat-icon {
  width: 36px; height: 36px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}
.about-feat h4 { font-size: .82rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.about-feat p  { font-size: .76rem; color: var(--mid); line-height: 1.5; }

.about-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }


/* ══════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════ */
.process {
  padding: var(--sec-pad) 0;
  background: var(--light-2);
}
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 16px;
  margin-top: 16px;
}
.step {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--border);
  transition: var(--tr);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--blue); }

.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--light);
  line-height: 1;
  margin-bottom: -8px;
}
.step-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 14px;
}
.step h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.step p  { font-size: .82rem; color: var(--mid); line-height: 1.6; }

.step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 2px;
  align-self: center;
  margin-top: -20px;
}


/* ══════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════ */
.gallery {
  padding: var(--sec-pad) 0;
  background: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--tr);
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus .gallery-overlay { opacity: 1; }

.g-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-full);
  color: var(--white);
  margin-bottom: 8px;
  align-self: flex-start;
}
.g-tag.residential { background: var(--blue);   }
.g-tag.bird        { background: var(--orange);  }
.g-tag.sports      { background: var(--green);   }
.g-tag.industrial  { background: var(--purple);  }
.g-tag.specialty   { background: var(--teal);    }

.gallery-overlay h4 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.gallery-overlay p  { font-size: .8rem; color: rgba(255,255,255,.7); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--tr);
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.lightbox-inner { max-width: 900px; width: 100%; }
.lightbox-inner img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
}
.lightbox-caption {
  margin-top: 16px;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  text-align: center;
}


/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.testimonials {
  padding: var(--sec-pad) 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}
.testimonials .section-title { color: var(--white); }
.testimonials .section-sub   { color: rgba(255,255,255,.65); }
.testi-badge { background: rgba(255,255,255,.1); color: var(--white); }

.testi-viewport {
  overflow: hidden;
  position: relative;
  margin-bottom: 28px;
}
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.testi-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
}
.testi-card::before {
  content: '❝';
  position: absolute;
  top: 10px; right: 18px;
  font-size: 3.5rem;
  color: rgba(255,255,255,.05);
  line-height: 1;
  pointer-events: none;
}
.testi-card:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); box-shadow: var(--sh-lg); }

.stars { color: #fbbf24; font-size: .95rem; letter-spacing: 3px; margin-bottom: 14px; }

.testi-card p {
  font-size: .88rem;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin-bottom: 20px;
}

.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem;
  color: var(--white);
  flex-shrink: 0;
}
.av1  { background: #f97316; }
.av2  { background: #16a34a; }
.av3  { background: #7c3aed; }
.av4  { background: #0891b2; }
.av5  { background: #e11d48; }
.av6  { background: #d97706; }
.av7  { background: #059669; }
.av8  { background: #dc2626; }
.av9  { background: #7c3aed; }
.av10 { background: #b45309; }
.av11 { background: #0284c7; }
.av12 { background: #9333ea; }

.testi-author h4 { font-size: .88rem; font-weight: 700; color: var(--white); }
.testi-author p  { font-size: .76rem; color: rgba(255,255,255,.55); margin-bottom: 0; }

/* Controls */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.testi-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: all .35s ease;
  padding: 0;
}
.testi-dot.active { width: 28px; background: var(--white); }
.testi-dot:hover:not(.active) { background: rgba(255,255,255,.6); }

.testi-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--tr);
}
.testi-btn:hover { background: rgba(255,255,255,.25); transform: scale(1.08); }


/* ══════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════ */
.why {
  padding: var(--sec-pad) 0;
  background: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.why-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 20px 24px;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  border-bottom: 3px solid transparent;
  transition: border-color var(--tr);
  pointer-events: none;
}
.why-card:hover { border-color: #e0e7ff; box-shadow: 0 8px 32px rgba(79,70,229,.12); transform: translateY(-5px); }
.why-card:hover::after { border-color: #6366f1; }

/* Circle icon matching screenshot */
.why-icon {
  width: 58px; height: 58px;
  background: #ede9fe;            /* soft lavender */
  color: #4f46e5;                 /* indigo */
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
  transition: background var(--tr), color var(--tr);
}
.why-card:hover .why-icon { background: #4f46e5; color: var(--white); }

/* Uppercase bold title like screenshot */
.why-card h3 {
  font-size: .82rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.3;
}
.why-card p { font-size: .82rem; color: var(--mid); line-height: 1.65; }

/* CTA row below grid */
.why-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ══════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════ */
.contact {
  padding: var(--sec-pad) 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-info p {
  font-size: .95rem;
  color: var(--mid);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--light-2);
  transition: var(--tr);
}
.contact-item:hover { border-color: var(--blue); background: #eff6ff; }
.ci-icon {
  width: 42px; height: 42px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: .85rem; color: var(--dark); }
.contact-item span  { font-size: .88rem; color: var(--mid); }

.contact-quick { display: flex; gap: 12px; flex-wrap: wrap; }

/* Form */
.contact-form-wrap {
  background: var(--light-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
}
.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: .83rem;
  font-weight: 600;
  color: var(--dark-3);
}
.form-group label span { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: .9rem;
  color: var(--dark);
  transition: var(--tr);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,64,175,.1);
}


/* ══════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 8px; }
.cta-text p  { font-size: .95rem; color: rgba(255,255,255,.75); }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  padding: 60px 0 0;
  color: rgba(255,255,255,.75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .logo-brand { color: var(--white); }
.footer-brand .logo-sub   { color: rgba(255,255,255,.5); }
.footer-brand .logo-icon  { background: rgba(255,255,255,.1); }

.footer-brand p {
  font-size: .84rem;
  line-height: 1.7;
  margin: 14px 0;
}
.footer-rating { display: flex; align-items: center; gap: 8px; font-size: .82rem; }
.footer-rating .stars { color: #fbbf24; font-size: .9rem; letter-spacing: 2px; }

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links a,
.footer-services a,
.footer-contact a {
  display: block;
  font-size: .84rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  transition: color var(--tr);
}
.footer-links a:hover,
.footer-services a:hover,
.footer-contact a:hover { color: var(--white); }

.footer-contact svg { display: inline; vertical-align: middle; margin-right: 4px; }
.footer-hours,
.footer-cities {
  font-size: .84rem;
  color: rgba(255,255,255,.6);
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-hours i, .footer-cities i { margin-top: 2px; }

.footer-bottom {
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }


/* ══════════════════════════════════════════════
   FLOATING WHATSAPP FAB
══════════════════════════════════════════════ */
.wa-fab {
  position: fixed;
  bottom: 80px; right: 24px;
  z-index: 800;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--tr), box-shadow var(--tr);
  animation: fabPulse 2.5s ease infinite;
}
.wa-fab:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(37,211,102,.65); animation: none; }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,.75); }
}


/* ══════════════════════════════════════════════
   REVEAL ANIMATION (Intersection Observer)
══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ══════════════════════════════════════════════
   RESPONSIVE — Tablets (≤1024px)
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .hamburger  { display: flex; }
  .mobile-menu{ display: flex; }

  .hero-content    { grid-template-columns: 1fr; gap: 0; }
  .hero-services   { display: none; }

  /* Switch from justify-content:center to auto-margin centering
     Auto margins center without clipping content on short viewports */
  .hero            { justify-content: flex-start; padding-top: 0; padding-bottom: 0; }
  .hero-content    { margin-top: auto; margin-bottom: auto; padding: 82px 0 100px; width: 100%; }

  .hero-text       { text-align: center; }
  .hero-badge      { justify-content: center; font-size: .65rem; }
  .hero-desc       { text-align: center; max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions    { justify-content: center; }

  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .about-grid      { grid-template-columns: 1fr; }
  .about-img       { height: 320px; }
  .contact-grid    { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-grid        { grid-template-columns: repeat(3, 1fr); }
  .about-features  { grid-template-columns: 1fr; }
  .testi-card      { flex: 0 0 calc(50% - 12px); }
  .gallery-grid    { grid-template-columns: repeat(2, 1fr); }

  .process-steps   {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .step-connector  { display: none; }

  /* hero stats: 2×2 grid on tablets */
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-item         { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hs-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.1); }
  .hs-item:nth-child(3),
  .hs-item:nth-child(4)    { border-bottom: none; }

  /* move dots up more since stats strip is taller in 2-col layout */
  .hero-dots   { bottom: 148px; }
  .hero-content { padding: 82px 0 158px; } /* reserve space for 2-row stats strip */
}


/* ══════════════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
══════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --sec-pad: 56px; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .testi-card    { flex: 0 0 100%; }
  .why-grid      { grid-template-columns: repeat(2, 1fr); }
  .about-features{ grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .cta-inner     { flex-direction: column; text-align: center; }
  .cta-btns      { justify-content: center; }

  .contact-form-wrap { padding: 24px 20px; }

  .hero-actions  { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .about-actions { flex-direction: column; }
  .about-actions .btn { width: 100%; }

  .process-steps { grid-template-columns: 1fr; }

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

  /* hero stats: row of 4 stays on mobile (smaller text) */
  .hero-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .hs-item         { border-right: 1px solid rgba(255,255,255,.1); border-bottom: none; padding: 14px 8px; }
  .hs-item:last-child { border-right: none; }
  .hero-dots       { bottom: 88px; }

  /* fix hero title overflow on mobile */
  .hero-title, .hero-cursor { font-size: 1.65rem; }
  .hero-content { padding: 78px 0 88px; }
}


/* ══════════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤480px)
══════════════════════════════════════════════ */
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .why-grid     { grid-template-columns: 1fr; }

  .sc-footer    { flex-direction: column; }
  .btn-call,
  .btn-wa       { width: 100%; }

  .contact-quick { flex-direction: column; }
  .contact-quick .btn { width: 100%; }

  .cta-btns .btn { width: 100%; }
  .why-cta .btn  { width: 100%; }
  .filter-bar .filter-btn { font-size: .78rem; padding: 7px 12px; }

  /* 2-col hero stats on small phones */
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hs-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.1); }
  .hs-item:nth-child(even) { border-right: none; }
  .hs-item:nth-child(1),
  .hs-item:nth-child(2)    { border-bottom: 1px solid rgba(255,255,255,.1); }
  /* move dots higher — 2-row stats strip ≈ 110px */
  .hero-dots { bottom: 124px; }
  .hero-content { padding: 72px 0 126px; }  /* grows to fit, pushes above stats */

  /* even smaller font on very small phones */
  .hero-title, .hero-cursor { font-size: 1.45rem; }
  .hero-badge  { font-size: .6rem; padding: 5px 10px; gap: 6px; }
  .badge-full  { display: none; }
  .badge-short { display: inline; }
  .hs-num      { font-size: 1.25rem; }
  .hs-suffix   { font-size: 1rem; }
  .hs-label    { font-size: .62rem; }
}


/* ══════════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════════ */
.faq {
  padding: var(--sp-section) 0;
  background: var(--light);
}

.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--tr);
}
.faq-item:hover { box-shadow: var(--shadow-md); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  transition: color var(--tr);
}
.faq-q:hover { color: var(--primary); }
.faq-q[aria-expanded="true"] { color: var(--primary); }

.faq-icon {
  flex-shrink: 0;
  font-size: .85rem;
  color: var(--primary);
  transition: transform .3s ease;
}
.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq-a > p {
  overflow: hidden;
  padding: 0 22px;
  color: var(--muted);
  line-height: 1.75;
  font-size: .95rem;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-item.open .faq-a > p {
  padding: 0 22px 18px;
}
