/* =========================
   INSTALLS SHOWCASE
   ========================= */

   .installs-showcase {
    background: #fff;
    padding: clamp(60px, 8vw, 100px) 0;
  }
  
  .installs-header {
    max-width: 850px;
    margin: 0 auto 55px;
  }
  
  .installs-header h2 {
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
  }
  
  .installs-header p {
    font-size: 1.06rem;
    line-height: 1.75;
  }
  
  /* =========================
     GRID
     ========================= */
  
  .installs-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
  
  /* =========================
     IMAGE CARD
     ========================= */
  
  .install-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    cursor: zoom-in;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  
    transform: translateY(20px);
    opacity: 0;
  
    transition:
      transform .55s ease,
      opacity .55s ease,
      box-shadow .35s ease;
  }
  
  .install-item.reveal {
    transform: translateY(0);
    opacity: 1;
  }
  
  .install-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
  }
  
  .install-item:hover {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
  }
  
  .install-item:hover img {
    transform: scale(1.05);
  }
  
  /* =========================
     FOOTER
     ========================= */
  
  .installs-footer {
    margin-top: 40px;
  }
  
  .installs-footer p {
    font-size: 1rem;
  }
  
  /* =========================
     LIGHTBOX (MODERN)
     ========================= */
  
  .install-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 25, 0.92);
    backdrop-filter: blur(6px);
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    z-index: 9999;
  }
  
  .install-lightbox.active {
    opacity: 1;
    visibility: visible;
  }
  
  .lightbox-image {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
    transform: scale(.95);
    transition: transform .3s ease;
  }
  
  .install-lightbox.active .lightbox-image {
    transform: scale(1);
  }
  
  .lightbox-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    color: #fff;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: background .25s ease;
  }
  
  .lightbox-close:hover {
    background: rgba(255,255,255,0.3);
  }
  
  /* =========================
     MOBILE OPTIMIZATION
     ========================= */
  
  @media (max-width: 768px) {
  
    .installs-grid {
      grid-template-columns: 1fr;
      gap: 14px;
    }
  
    .install-item img {
      aspect-ratio: auto;
      height: auto;
      object-fit: contain; /* show full image */
    }
  
    .lightbox-image {
      max-width: 95vw;
      max-height: 85vh;
    }
  
    .lightbox-close {
      top: 14px;
      right: 14px;
    }
  }


  /* =========================================================
   APPEND — INSTALLS SHOWCASE EMBEDDED DETAILS
   ========================================================= */

.installs-showcase {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  border-top: 1px solid rgba(46, 58, 70, 0.06);
  border-bottom: 1px solid rgba(46, 58, 70, 0.06);
}

.installs-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(20px, 7vw, 100px);
  right: clamp(20px, 7vw, 100px);
  height: 1px;
  background: var(--divider-cyan);
  opacity: 0.7;
  pointer-events: none;
}

.installs-header,
.installs-footer {
  position: relative;
}

.installs-header::after,
.installs-footer::before {
  content: "";
  display: block;
  width: clamp(90px, 12vw, 140px);
  height: 1px;
  margin: 1.25rem auto 0;
  background: var(--divider-light);
}

.installs-grid {
  position: relative;
  padding-top: 6px;
}

.install-item {
  border: 1px solid rgba(46, 58, 70, 0.08);
  box-shadow:
    0 10px 26px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.68);
}

.install-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    linear-gradient(0deg, rgba(15,23,42,0.04), rgba(15,23,42,0));
  pointer-events: none;
  z-index: 1;
}

.install-item::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 10px;
  pointer-events: none;
  z-index: 1;
}