.gcon-slider {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.slider-track {
  width: 100%;
  height: clamp(360px, 42vw, 620px);
  position: relative;
}

.gcon-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease, visibility 0.75s ease;
  z-index: 1;
}

.gcon-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.gcon-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.18) 48%, rgba(0,0,0,.58));
}

.slide-caption {
  width: min(760px, calc(100% - 50px));
  position: absolute;
  left: 50%;
  bottom: 70px;
  transform: translateX(-50%);
  padding: 18px 24px;
  color: #fff;
  background: rgba(6, 47, 79, 0.76);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  z-index: 4;
}

.slide-caption h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.15;
}

.slide-caption p {
  margin: 7px 0 0;
  font-size: clamp(.92rem, 1.4vw, 1.12rem);
  font-weight: 600;
}

.slider-arrow {
  width: 46px;
  height: 46px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  border: 0;
  border-radius: 50%;
  background: rgba(6,47,79,.78);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.slider-arrow:hover,
.slider-arrow:focus-visible { background: #00629b; outline: 2px solid #fff; outline-offset: 2px; }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 9;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}

.slider-dot.active { background: #fff; transform: scale(1.25); }

@media (max-width: 700px) {
  .slider-track { height: 360px; }
  .slide-caption { width: calc(100% - 30px); bottom: 58px; padding: 13px 15px; }
  .slider-arrow { width: 38px; height: 38px; font-size: 1.05rem; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .slider-dots { bottom: 14px; }
}

@media (max-width: 420px) {
  .slider-track { height: 300px; }
  .slide-caption h2 { font-size: 1.22rem; }
  .slide-caption p { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gcon-slide { transition: none; }
}
