/* =========================================================================
   Contact page — Gallery slider + Map section
   ========================================================================= */

.contact-gallery-map {
  padding: 96px 0;
}

.contact-gallery-map__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: stretch;
}

/* --- Slider -------------------------------------------------------------- */
.contact-gallery-map__slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  max-height: 462px;
}

.contact-gallery-map__slider .swiper {
  width: 100%;
  height: 100%;
}

.contact-gallery-map__slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-gallery-map__prev,
.contact-gallery-map__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-gallery-map__prev:hover,
.contact-gallery-map__next:hover {
  opacity: 0.8;
}

.contact-gallery-map__prev {
  left: 12px;
}

.contact-gallery-map__next {
  right: 12px;
}

.contact-gallery-map__prev svg,
.contact-gallery-map__next svg {
  display: block;
  width: 32px;
  height: 32px;
}

/* --- Map ----------------------------------------------------------------- */
.contact-gallery-map__map {
  border-radius: 20px;
  overflow: hidden;
  max-height: 462px;
  min-height: 360px;
}

.contact-gallery-map__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* --- Responsive ------------------------------------------------------------ */
@media screen and (max-width: 1024px) {
  .contact-gallery-map__grid {
    gap: 32px;
  }
}

@media screen and (max-width: 767px) {
  .contact-gallery-map {
    padding: 48px 0;
  }

  .contact-gallery-map__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-gallery-map__map {
    min-height: 300px;
  }

  .contact-gallery-map__map iframe {
    min-height: 300px;
  }
}
