/* ==========================================================================
   SECTION 9: TECHNOLOGY (Full-width Gallery)
   ========================================================================== */
.tech-gallery {
  background: #070707;
  padding: 0 0 var(--pad-y-sub);
  overflow: hidden;
}
/* tech-gallery inherits --pad-y from :root */
.tech-gallery__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tech-gallery__scroll::-webkit-scrollbar { display: none; }

.tech-gallery__list {
  display: grid;
  grid-auto-flow: column;
  grid-gap: 20px;
  width: fit-content;
  padding: 0 max(6.25vw, 24px);
  list-style: none;
}
.tech-gallery__item {
  display: flex;
  width: min(87.5vw, 1200px);
  min-height: 480px;
  scroll-snap-align: center;
}
.tech-gallery__card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: flex-end;
}
.tech-gallery__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.tech-gallery__media img,
.tech-gallery__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tech-gallery__overlay {
  position: relative;
  z-index: 3;
  padding: 32px 28px;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0.3) 65%, transparent 80%);
}
.tech-gallery__num {
  font-family: var(--font-display);
  font-size: var(--tag-size);
  font-weight: 700;
  letter-spacing: var(--tag-spacing);
  color: var(--cyan);
  margin-bottom: 10px;
}
.tech-gallery__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.007em;
  color: #fff;
  margin-bottom: 8px;
}
.tech-gallery__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 480px;
}

/* Nav: dots + arrow */
.tech-gallery__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}
.tech-gallery__dots {
  display: flex;
  gap: 6px;
}
.tech-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.tech-gallery__dot.active {
  background: var(--cyan);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0,229,255,0.3);
}
.tech-gallery__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.tech-gallery__arrow:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

@media (min-width: 768px) {
  .tech-gallery__item {
    min-height: 580px;
  }
  .tech-gallery__overlay {
    padding: 48px 40px;
  }
}
@media (min-width: 1024px) {
  .tech-gallery__item {
    min-height: 680px;
  }
  .tech-gallery__title {
    font-size: 32px;
  }
  .tech-gallery__overlay {
    padding: 56px 48px;
  }
}



