/* ============================================================
   MARVEL INTERLOCKS — Custom CSS Design System
   Version 2.0 | Chemperi, Kannur, Kerala
   ============================================================ */

/* ── 1. CSS CUSTOM PROPERTIES ────────────────────────────── */
:root {
  /* Brand Palette */
  --clr-primary: #b8860b;
  /* Deep gold — interlocks/earth */
  --clr-primary-dark: #8b6508;
  --clr-primary-light: #d4a21a;
  --clr-accent: #2c5f2e;
  /* Forest green */
  --clr-accent-dark: #1e4520;
  --clr-accent-light: #4a8f4c;
  --clr-dark: #1a1a2e;
  --clr-dark-2: #16213e;
  --clr-mid: #374151;
  --clr-text: #4b5563;
  --clr-text-light: #6b7280;
  --clr-bg: #f9f7f4;
  --clr-bg-2: #ffffff;
  --clr-bg-warm: #fdf8f0;
  --clr-border: #e5e7eb;
  --clr-white: #ffffff;
  --clr-whatsapp: #25d366;

  /* Typography */
  --font-base: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-heading: 'Inter', 'Segoe UI', Arial, sans-serif;

  /* Spacing scale */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;

  /* Border radius */
  --rad-sm: 0.375rem;
  --rad-md: 0.75rem;
  --rad-lg: 1.25rem;
  --rad-xl: 2rem;
  --rad-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .12), 0 4px 14px rgba(0, 0, 0, .08);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, .15), 0 8px 22px rgba(0, 0, 0, .10);

  /* Transitions */
  --trans-fast: 0.2s ease;
  --trans-base: 0.3s ease;
  --trans-slow: 0.5s ease;

  /* Container */
  --container-max: 1280px;
  --container-pad: 1rem;
}

/* ── 2. RESET & BASE ─────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-base);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4rem;
  /* mobile bottom nav */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ── 3. TYPOGRAPHY ───────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  color: var(--clr-dark);
  line-height: 1.2;
  font-weight: 800;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
}

h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  font-size: 1rem;
  color: var(--clr-text);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: rgba(184, 134, 11, .1);
  padding: 0.3rem 0.9rem;
  border-radius: var(--rad-full);
  margin-bottom: var(--sp-md);
}

.section-title {
  margin-bottom: var(--sp-md);
  color: var(--clr-dark);
}

.section-desc {
  color: var(--clr-text-light);
  max-width: 40rem;
  margin: 0 auto;
}

/* ── 4. LAYOUT UTILITIES ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

@media (min-width: 640px) {
  :root {
    --container-pad: 1.5rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-pad: 2.5rem;
  }
}

.section {
  padding-block: var(--sp-3xl);
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--sp-4xl);
  }
}

.text-center {
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-2xl);
}

/* Grids */
.grid-2 {
  display: grid;
  gap: var(--sp-xl);
  grid-template-columns: 1fr;
}

.grid-3 {
  display: grid;
  gap: var(--sp-xl);
  grid-template-columns: 1fr;
}

.grid-4 {
  display: grid;
  gap: var(--sp-lg);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Flex helpers */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-sm {
  gap: var(--sp-sm);
}

.gap-md {
  gap: var(--sp-md);
}

/* ── 5. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: var(--rad-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--trans-base), box-shadow var(--trans-base), background var(--trans-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.btn-primary:hover {
  background: var(--clr-primary-dark);
}

.btn-accent {
  background: var(--clr-accent);
  color: var(--clr-white);
}

.btn-accent:hover {
  background: var(--clr-accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border: 2px solid var(--clr-white);
}

.btn-outline:hover {
  background: var(--clr-white);
  color: var(--clr-dark);
}

.btn-sm {
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ── 6. TOP BAR ──────────────────────────────────────────── */
#top-bar {
  background: var(--clr-dark);
  color: var(--clr-white);
  font-size: 0.85rem;
  padding: 0.45rem var(--sp-md);
  text-align: center;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.top-bar-inner a {
  color: var(--clr-primary-light);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color var(--trans-fast);
}

.top-bar-inner a:hover {
  color: var(--clr-white);
}

.top-bar-sep {
  color: #555;
}

/* ── 7. HEADER / NAVIGATION ──────────────────────────────── */
#main-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--clr-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: box-shadow var(--trans-base);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  gap: var(--sp-lg);
}

.nav-logo img {
  height: auto;
  width: 160px;
  max-width: 100%;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--clr-mid);
  transition: color var(--trans-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--clr-primary);
  transition: width var(--trans-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-white);
  border-radius: var(--rad-md);
  box-shadow: var(--shadow-xl);
  padding: 0.75rem 0;
  min-width: 13rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-fast), transform var(--trans-fast);
  transform: translateX(-50%) translateY(8px);
  z-index: 100;
}

/* Bridge the hover gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: 0;
  height: 0.75rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-mid);
  transition: background var(--trans-fast), color var(--trans-fast);
}

.nav-dropdown-menu a:hover {
  background: var(--clr-bg-warm);
  color: var(--clr-primary);
}

.nav-cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* Mobile menu button */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav-hamburger {
    display: none;
  }
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: transform var(--trans-base), opacity var(--trans-base);
}

/* ── 8. MOBILE SIDE DRAWER ───────────────────────────────── */
#side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 17rem;
  background: var(--clr-dark);
  z-index: 600;
  padding: 2rem 1.5rem;
  transform: translateX(-100%);
  transition: transform var(--trans-base);
  overflow-y: auto;
}

#side-drawer.open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--clr-white);
  font-size: 1.5rem;
  opacity: 0.7;
}

.drawer-close:hover {
  opacity: 1;
}

.drawer-logo {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.drawer-logo img {
  height: 2.25rem;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.drawer-link {
  display: block;
  padding: 0.75rem 0.5rem;
  color: #c9d1d9;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: color var(--trans-fast);
}

.drawer-link:hover,
.drawer-link.active {
  color: var(--clr-primary-light);
}

.drawer-sub {
  padding-left: 1rem;
  font-size: 0.875rem;
}

.drawer-cta {
  margin-top: 1.5rem;
  display: block;
  text-align: center;
}

#drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 590;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-base);
}

#drawer-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

/* ── 9. HERO SLIDER ──────────────────────────────────────── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 120vw;
  /* Taller on mobile to prevent cropping */
  max-height: 500px;
  overflow: hidden;
  background: var(--clr-dark);
}

@media (min-width: 768px) {
  .hero-slider {
    height: 78vh;
    max-height: 92vh;
  }
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 26, 46, .82) 0%, rgba(26, 26, 46, .45) 60%, transparent 100%);
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .slide-overlay {
    background: rgba(26, 26, 46, .6);
    justify-content: center;
    text-align: center;
  }
}

.slide-content {
  max-width: 38rem;
  padding: 2rem;
  animation: none;
}

.slide.active .slide-content {
  animation: slideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-primary-light);
  margin-bottom: 0.75rem;
}

.slide-content h1 {
  color: var(--clr-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.slide-content p {
  color: rgba(255, 255, 255, .85);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  display: none;
}

@media (min-width: 768px) {
  .slide-content p {
    display: block;
  }
}

.slide-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

@media (max-width:767px) {
  .slide-btns {
    justify-content: center;
  }
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 2rem;
  /* More space on mobile to avoid overlap */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.slider-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transition: background var(--trans-fast), transform var(--trans-fast);
  cursor: pointer;
  border: none;
}

.slider-dot.active {
  background: var(--clr-primary-light);
  transform: scale(1.4);
}

/* Slider arrow buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--clr-white);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--trans-fast);
  display: none;
}

@media (min-width: 768px) {
  .slider-arrow {
    display: flex;
  }
}

.slider-arrow:hover {
  background: rgba(184, 134, 11, .7);
}

.slider-prev {
  left: 1.25rem;
}

.slider-next {
  right: 1.25rem;
}

/* ── 10. CARDS ───────────────────────────────────────────── */
.card {
  background: var(--clr-white);
  border-radius: var(--rad-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--trans-base), box-shadow var(--trans-base);
  border: 1px solid var(--clr-border);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Service Cards */
.service-card {
  background: var(--clr-white);
  border-radius: var(--rad-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: transform var(--trans-base), box-shadow var(--trans-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(184, 134, 11, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-card-body h3 {
  color: var(--clr-dark);
  margin-bottom: 0.5rem;
}

.service-card-body p {
  color: var(--clr-text-light);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-card-link {
  font-weight: 700;
  color: var(--clr-primary);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--trans-fast);
}

.service-card-link:hover {
  gap: 0.65rem;
}

/* Feature / Icon Cards */
.feature-card {
  background: var(--clr-white);
  border-radius: var(--rad-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: transform var(--trans-base), box-shadow var(--trans-base);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.6rem;
  color: var(--clr-white);
  box-shadow: 0 6px 20px rgba(184, 134, 11, .35);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--clr-text-light);
}

/* ── 11. SECTIONS ────────────────────────────────────────── */

/* About */
.about-section {
  background: var(--clr-bg-2);
}

.about-img-wrapper {
  border-radius: var(--rad-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--clr-primary);
  color: var(--clr-white);
  border-radius: var(--rad-md);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-text h2 {
  margin-bottom: 0;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat-box {
  background: var(--clr-bg-warm);
  border-radius: var(--rad-md);
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid rgba(184, 134, 11, .15);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--clr-text-light);
  margin-top: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Services Section */
.services-section {
  background: var(--clr-bg);
}

/* Gallery Grid */
.gallery-section {
  background: var(--clr-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--rad-md);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, .75), transparent);
  opacity: 0;
  transition: opacity var(--trans-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay h4 {
  color: var(--clr-white);
  font-size: 0.875rem;
}

.gallery-item-overlay p {
  color: rgba(255, 255, 255, .75);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

/* Gallery Filter Bar */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 99px;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--trans-base);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: var(--shadow-md);
}

.gallery-item {
  display: block;
  /* Ensure visibility for filtering */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.video-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(184, 134, 11, 0.85);
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
}

/* Lightbox Embed */
.popup-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  background: #000;
  border-radius: var(--rad-md);
  overflow: hidden;
}

.popup-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.cta-band {
  background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-dark-2) 40%, var(--clr-accent-dark) 100%);
  color: var(--clr-white);
  padding: var(--sp-3xl) var(--sp-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect width="60" height="60" fill="none"/><path d="M30 0L60 52H0z" fill="rgba(184,134,11,.04)"/></svg>') repeat;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--clr-white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, .75);
  max-width: 38rem;
  margin: 0 auto 2rem;
}

.cta-band-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Testimonials */
.testimonials-section {
  background: var(--clr-bg-warm);
}

.testimonial-card {
  background: var(--clr-white);
  border-radius: var(--rad-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--clr-primary);
}

.testimonial-stars {
  color: #f59e0b;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.testimonial-text {
  color: var(--clr-text);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author-img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--clr-primary);
}

.testimonial-author-name {
  font-weight: 700;
  color: var(--clr-dark);
  font-size: 0.9rem;
}

.testimonial-author-loc {
  font-size: 0.75rem;
  color: var(--clr-text-light);
}

/* FAQ */
.faq-section {
  background: var(--clr-bg-2);
}

.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--rad-md);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 0.975rem;
  color: var(--clr-dark);
  text-align: left;
  transition: background var(--trans-fast);
}

.faq-question:hover {
  background: var(--clr-bg-warm);
}

.faq-question.open {
  background: var(--clr-bg-warm);
  color: var(--clr-primary);
}

.faq-icon {
  transition: transform var(--trans-base);
  font-size: 1.1rem;
  color: var(--clr-primary);
  flex-shrink: 0;
}

.faq-question.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--trans-slow);
  padding: 0 1.5rem;
  color: var(--clr-text-light);
  font-size: 0.935rem;
  line-height: 1.7;
}

.faq-answer.open {
  max-height: 20rem;
  padding: 0 1.5rem 1.25rem;
}

/* ── 12. GALLERY LIGHTBOX ────────────────────────────────── */
#gallery-popup {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(8px);
}

#gallery-popup.active {
  display: flex;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--clr-white);
  font-size: 1.5rem;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-fast);
  z-index: 10;
}

.popup-close:hover {
  background: rgba(255, 255, 255, .25);
}

.popup-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-white);
  font-size: 2rem;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--trans-fast);
  z-index: 10;
}

.popup-arrow:hover {
  background: rgba(184, 134, 11, .5);
}

.popup-prev {
  left: 1rem;
}

.popup-next {
  right: 1rem;
}

.popup-image-wrap {
  max-width: 56rem;
  width: 100%;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-image-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--rad-md);
  box-shadow: var(--shadow-xl);
  margin: 0 auto;
}

.popup-caption {
  text-align: center;
  color: rgba(255, 255, 255, .75);
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

/* ── 13. FOOTER ──────────────────────────────────────────── */
#site-footer {
  background: var(--clr-dark);
  color: rgba(255, 255, 255, .7);
  padding: var(--sp-3xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad) var(--sp-3xl);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.footer-logo img {
  width: 180px;
  max-width: 100%;
  height: auto;
}

.footer-col h4 {
  color: var(--clr-white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, .6);
  transition: color var(--trans-fast);
}

.footer-links a:hover {
  color: var(--clr-primary-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer-contact-item i {
  color: var(--clr-primary);
  margin-top: 0.15rem;
  width: 1rem;
}

.footer-contact-item a,
.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, .65);
}

.footer-contact-item a:hover {
  color: var(--clr-primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  text-align: center;
  padding: 1.25rem var(--container-pad);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--clr-primary-light);
  font-weight: 600;
}

/* ── 14. FLOATING BUTTONS ────────────────────────────────── */
.floating-btns {
  position: fixed;
  bottom: 4.5rem;
  right: 1rem;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .floating-btns {
    bottom: 2rem;
  }
}

.float-btn {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}

.float-btn:hover {
  transform: scale(1.12);
  box-shadow: var(--shadow-xl);
}

.float-wa {
  background: var(--clr-whatsapp);
  color: var(--clr-white);
}

.float-call {
  background: var(--clr-accent);
  color: var(--clr-white);
}

/* ── 15. MOBILE BOTTOM NAV ───────────────────────────────── */
#mobile-bottom-nav {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--clr-white);
  box-shadow: 0 -3px 16px rgba(0, 0, 0, .1);
  z-index: 450;
}

@media (min-width: 1024px) {
  #mobile-bottom-nav {
    display: none;
  }
}

.bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.4rem 0;
}

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: #9ca3af;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  transition: color var(--trans-fast);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bnav-item i {
  font-size: 1.25rem;
}

.bnav-item.active,
.bnav-item:hover {
  color: var(--clr-primary);
}

/* ── 16. REVEAL ANIMATIONS ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── 17. PAGE BANNER (Inner Pages) ──────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-dark-2) 60%, var(--clr-accent-dark) 100%);
  color: var(--clr-white);
  padding: var(--sp-3xl) var(--sp-md);
  text-align: center;
}

.page-banner h1 {
  color: var(--clr-white);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.page-banner p {
  color: rgba(255, 255, 255, .7);
  margin-top: 0.5rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, .55);
  margin-top: 0.75rem;
}

.breadcrumb a {
  color: var(--clr-primary-light);
  transition: color var(--trans-fast);
}

.breadcrumb a:hover {
  color: var(--clr-white);
}

/* ── 18. CONTACT PAGE ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.3fr;
  }
}

.contact-form-wrap {
  background: var(--clr-white);
  border-radius: var(--rad-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--clr-dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--rad-sm);
  font-family: var(--font-base);
  font-size: 0.95rem;
  color: var(--clr-dark);
  background: var(--clr-bg);
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, .12);
}

.form-textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-info-map {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.contact-info-box {
  background: var(--clr-white);
  border-radius: var(--rad-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.map-embed {
  border-radius: var(--rad-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex: 1;
  min-height: 16rem;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  border: none;
  display: block;
}

/* ── 19. SERVICE PAGE ────────────────────────────────────── */
.service-hero {
  position: relative;
  height: 22rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .service-hero {
    height: 30rem;
  }
}

.service-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.service-hero-overlay h1 {
  color: var(--clr-white);
}

.service-hero-overlay p {
  color: rgba(255, 255, 255, .8);
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

/* ── 20. UTILITY & MOBILE CAROUSEL ────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-primary {
  color: var(--clr-primary) !important;
}

.text-accent {
  color: var(--clr-accent) !important;
}

.text-white {
  color: var(--clr-white) !important;
}

.bg-dark {
  background: var(--clr-dark);
}

.bg-warm {
  background: var(--clr-bg-warm);
}

.mt-sm {
  margin-top: var(--sp-sm);
}

.mt-md {
  margin-top: var(--sp-md);
}

.mt-lg {
  margin-top: var(--sp-lg);
}

.mt-xl {
  margin-top: var(--sp-xl);
}

.mb-xl {
  margin-bottom: var(--sp-xl);
}

.fw-bold {
  font-weight: 700;
}

/* Mobile Carousel Utility */
@media (max-width: 767px) {
  .mobile-carousel {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem !important;
    padding-bottom: 1.5rem !important;
    margin-inline: calc(var(--container-pad) * -1);
    padding-inline: var(--container-pad);
    grid-template-columns: none !important;
  }

  .mobile-carousel::-webkit-scrollbar {
    display: none;
  }

  .mobile-carousel>* {
    flex: 0 0 85% !important;
    scroll-snap-align: center;
    min-height: 100%;
  }

  /* Alignment Fixes from User Screenshots */
  .about-text .about-btns,
  .about-text .btn-group,
  .about-text div[style*="display:flex"] {
    justify-content: center !important;
    width: 100%;
  }

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

  .stats-row {
    gap: 1rem;
  }

  .stat-box {
    padding: 1.5rem 1rem;
  }

  .service-hero-overlay p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .breadcrumb {
    flex-wrap: wrap;
    line-height: 1.5;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: #888;
}

/* ── 21. PRODUCTS PAGE ───────────────────────────────────── */
.products-hero {
  background: var(--clr-white);
  padding: var(--sp-2xl) var(--sp-md);
  text-align: center;
}

.products-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.products-hero p {
  max-width: 800px;
  margin: 0 auto;
}

.filter-section {
  padding-bottom: var(--sp-xl);
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-pill {
  padding: 0.6rem 1.5rem;
  border-radius: var(--rad-full);
  border: 1.5px solid var(--clr-border);
  background: var(--clr-white);
  color: var(--clr-text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

.filter-pill.active {
  background: var(--clr-accent);
  color: var(--clr-white);
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-md);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding-bottom: var(--sp-4xl);
}

.product-card {
  background: var(--clr-white);
  border-radius: var(--rad-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-base), box-shadow var(--trans-base);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--rad-lg);
  overflow: hidden;
  background: var(--clr-bg);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-cat-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: var(--rad-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-dark);
}

.product-status-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(220, 38, 38, 0.9);
  color: var(--clr-white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--rad-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-wa-float {
  position: absolute;
  bottom: -1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background: var(--clr-whatsapp);
  color: var(--clr-white);
  border-radius: var(--rad-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  font-weight: 800;
  font-size: 0.75rem;
  z-index: 5;
}

.product-info {
  margin-top: 1.75rem;
  padding: 0 0.5rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-dark);
  margin-bottom: 0.25rem;
}

.product-price.quote {
  color: var(--clr-accent);
}

.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--clr-dark);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--clr-text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .filter-container {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .filter-container::-webkit-scrollbar {
    display: none;
  }
}