/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__bg-accent {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 420px;
  background: radial-gradient(900px 420px at 20% 30%,
      rgba(66, 113, 255, 0.4),
      transparent 60%);
  pointer-events: none;
}

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

.hero__content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  height: calc(100vh - 118px);
}

.hero__title {
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}

.hero__subtitle {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 28px;
}

.hero__buttons {
  display: flex;
  gap: 12px;
}

.hero__image {
  display: flex;
  justify-content: center;
}

.hero__product {
  width: 440px;
  filter: drop-shadow(0 40px 120px rgba(0, 0, 0, 0.6));
}

/* Sliders generic */
[data-slider] {
  position: relative;
}

.hero-slide {
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.slider__controls {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.slider__btn {
  height: 42px;
  border-radius: 10px;
  border: 1px solid #262a31;
  background: #121317;
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
}

.slider__btn:hover {
  background: #1a1c21;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2d3138;
}

.slider__dot.is-active {
  background: var(--primary);
}

/* About */
.about {
  background: var(--text);
  border-top: 1px solid #1f2227;
  border-bottom: 1px solid #1f2227;
  padding: 64px 0;
}

.about__content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.about__title {
  font-size: 30px;
  letter-spacing: 1.6px;
  color: var(--primary);
  margin: 0 0 16px;
  line-height: 1.3;
}

.about__description {
  font-size: 18px;
  margin-bottom: 22px;
  color: #000;
}

.about__features {
  display: flex;
  gap: 32px;
}

@media (max-width:768px){
    .about__features{
        flex-direction:column;
        gap:20px
    }
    .about__title{
        font-size:22px;
    }
    .about__description{
        font-size:15px;
    }
}

.feature__number {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}

.feature__text {
  color: var(--muted);
  font-size: 14px;
}

.about__img {
  border-radius: 16px;
  background: linear-gradient(180deg, #101115, #0a0b0d);
}

/* Equipment big block */
.equipment {
  padding: 72px 0;
}

.equipment__header {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-bottom: 24px;
}

.equipment__title {
  font-size: 24px;
  margin: 0;
}

.equipment__subtitle {
  color: var(--muted);
  margin: 0 0 10px;
}

.equipment__image {
  background: linear-gradient(180deg, #101115, #090a0c);
  border: 1px solid #1f2227;
  border-radius: 20px;
  padding: 24px;
}

.equipment__main-img {
  width: 100%;
  border-radius: 12px;
}

/* Stats */
.stats {
  background: #fff;
  border-top: 1px solid #1f2227;
  border-bottom: 1px solid #1f2227;
  padding: 68px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stats__item {
  background: #121317;
  border: 1px solid #1f2227;
  border-radius: 16px;
  padding: 20px;
}

.stats__number {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.stats__text {
  color: var(--muted);
  font-size: 14px;
}

/* Advantages */
.advantages {
  padding: 72px 0;
}

.advantages__title {
  margin: 0 0 24px;
  font-size: 24px;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.advantage {
  background: var(--bg-blue);
  border: 1px solid #1f2227;
  border-radius: 16px;
  padding: 22px;
  position: relative;
}

.advantage__number {
  position: absolute;
  top: 14px;
  right: 16px;
  font-weight: 800;
  color: #31343b;
  font-size: 28px;
}

.advantage__title {
  margin: 0 0 8px;
  font-size: 18px;
}

.advantage__text {
  margin: 0;
  color: var(--muted);
}

/* News Section */


.news-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.news-info {
  flex: 0 0 350px;
  position:relative;
}

.news-info .video-pagination{
    display: flex;
    gap: 8px;
    margin-top: 20px !important;
}

.news-info__title {
  font-size: 32px;
  margin: 0 0 24px;
  color: var(--text);
}

.news-info__text {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.news-slider-wrapper {
  flex: 1;
  display: flex;
  gap: 0px;
  align-items: center;
}

.news-slider-wrapper .swiper-button-next, .news-slider-wrapper .swiper-button-prev{
    rotate: 90deg;
    position:static;
}

.news-vertical-swiper {
  flex: 1;
  height: 580px;
}

.news-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-top: auto;
}

.news-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #0d6efd;
  color: #0d6efd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.reviews-nav-btn:hover {
  background: #0d6efd;
  color: #fff;
}

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

.reviews-nav-dots .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #cfd8e3;
  opacity: 1;
  margin: 6px 0;
  display: block;
}

.reviews-nav-dots .swiper-pagination-bullet-active {
  background: #0d6efd;
}

@media (max-width: 768px) {
    
  .header__search-input,
  .header__search{
      width:100%;
  }

  .video-section,
  .clients-section,
  .reviews-section {
    padding: 48px 0;
  }

  div.video-slide {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 20px;
  }

  div.video-slide__image {
    max-width: 100%;
    width:100%;
  }

  div.video-slide__img {
    height: 200px;
  }

  .clients-strip__track {
    gap: 40px;
  }

  .clients-strip__item {
    min-width: 140px;
    height: 70px;
  }

  .review-slide {
    padding: 24px;
  }

  .review-slide__img {
    width: 100px;
    height: 100px;
  }


  .news-info {
    flex: none;
    padding-right: 0;
  }

  .news-info__title {
    font-size: 28px;
  }

  .news-slider-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .news-vertical-swiper {
    height: 400px;
  }

  .news-navigation {
    flex-direction: row;
    height: auto;
    width: 100%;
    justify-content: center;
  }

  .news-nav-indicators {
    width: 100px;
    height: 4px;
    margin: 0 15px;
  }

  .news-nav-thumb {
    width: 50%;
    height: 100%;
    transition: left 0.3s ease;
  }

  .news-item {
    gap: 15px;
    padding: 20px 0;
  }

  .news-item__image {
    flex: 0 0 100px;
    width: auto;
    height: 70px;
  }

  .news-item__title {
    font-size: 16px;
  }

  .news-item__text {
    font-size: 14px;
  }
}

/* Map + Contacts section */
.map-contacts {
  position: relative;
  background: #0f0f10;
}

.map-contacts__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 50/50 */
  align-items: stretch;
  min-height: 520px;
}

/* Left: map from window edge to center (no container) */
.map-contacts__map {
  position: relative;
}

.map-container {
  position: sticky;
  top: 0;
  /* keep visible when tall */
  min-height: 520px;
  height: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(10%) contrast(105%);
}

.map-overlay {
  position: absolute;
  left: 16px;
  bottom: 16px;
}

.map-overlay__content {
  padding: 10px 12px;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  background: rgba(20, 20, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f3f4f6;
}

.map-overlay__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.map-overlay__address {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* Right: contacts + form */
.map-contacts__content {
  background: var(--bg-blue);
  border-left: 1px solid #1f2227;
  display: flex;
  align-items: center;
}

.map-contacts__inner {
  width: min(720px, 88%);
  margin: 0 auto;
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.contacts-info__title {
  margin: 0 0 12px;
  font-size: 28px;
  color: #f3f3f3;
}

.contacts-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
}

.contact-item__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.contact-item__label {
  display: block;
  font-size: 12px;
  color: #9aa0a6;
}

.contact-item__value {
  font-size: 16px;
  color: #e5e7eb;
  text-decoration: none;
}

.contact-item__value:hover {
  color: #ffffff;
}

/* Form */


/* Responsive */
@media (max-width: 1024px) {
  .map-contacts__layout {
    grid-template-columns: 1fr;
  }

  .map-contacts__content {
    border-left: 0;
  }

  .map-container {
    min-height: 360px;
  }
}

/* Sales Geography */
.sales-geography {
  padding: 80px 0;
  background: #0f0f10;
  position: relative;
}

.sales-geography__header {
  text-align: center;
  margin-bottom: 32px;
}

.sales-geography__title {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: #f3f3f3;
}

.sales-geography__subtitle {
  font-size: 16px;
  color: #a6a6aa;
  margin: 0;
}

.sales-geography__map {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
}

.russia-map {
  width: 100%;
  height: auto;
  display: block;
}

.russia-outline {
  fill: #151516;
  stroke: #2a2a2e;
  stroke-width: 2;
}

/* Markers */
.map-marker {
  cursor: pointer;
}

.marker-main {
  filter: drop-shadow(0 0 4px rgba(0, 255, 136, 0.6));
}

.marker-pulse {
  transform-origin: inherit;
  animation: pulse 2.2s ease-out infinite;
}

/* HQ marker color override */
[data-city="Ижевск"] .marker-main {
  fill: #ff6b35;
  filter: drop-shadow(0 0 4px rgba(255, 107, 53, 0.65));
}

[data-city="Ижевск"] .marker-pulse {
  fill: #ff6b35;
}

/* Legend */
.map-legend {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 16px;
  padding: 8px 12px;
  background: rgba(15, 15, 16, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d9d9de;
  font-size: 14px;
}

.legend-marker {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-marker--hq {
  background: #ff6b35;
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
}

.legend-marker--sales {
  background: #00ff88;
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.legend-text {
  opacity: 0.9;
}

@keyframes pulse {
  0% {
    r: 6;
    opacity: 0.5;
  }

  50% {
    r: 18;
    opacity: 0.18;
  }

  100% {
    r: 26;
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .sales-geography {
    padding: 56px 0;
  }

  .sales-geography__title {
    font-size: 28px;
  }

  .map-legend {
    position: static;
    margin-top: 12px;
    justify-content: center;
    background: rgba(15, 15, 16, 0.5);
  }
}

.news-nav-pagination {
  width: 4px;
  height: 60px;
  background: #e9ecef;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  display: none;
}

.news-nav-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #0d6efd;
  border-radius: 2px;
  transition: top 0.3s ease;
  font-size: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.news-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-blue);
  border: 1px solid #1f2227;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.news-item:hover {
  border-color: #333;
  background: #171a1f;
}

.news-item__image {
  flex: 0 0 170px;
  width: 120px;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
}

.news-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-item__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item__date {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.8;
}

.news-item__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item__link {
  font-size: 14px;
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  align-self: flex-start;
  transition: color 0.2s ease;
}

.news-item__link:hover {
  color: #0b5ed7;
}

/* Contact form */
.contact-form {
 /*  border-top: 1px solid #1f2227;
 border-bottom: 1px solid #1f2227; */
  padding: 24px 0;
}

.contact-form__content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.contact-form__title {
  margin: 0 0 8px;
  font-size: 24px;
}

.contact-form__subtitle {
  margin: 0;
  color: var(--muted);
}

.form {
  background: #121317;
  border: 1px solid #1f2227;
  border-radius: 16px;
  padding: 20px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form__input,
.form__textarea {
  width: 100%;
  background: #0f1114;
  border: 1px solid #23262c;
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #697180;
}

.form__textarea {
  resize: vertical;
}

/* Footer */
.footer {
  padding: 56px 0 28px;
}

.footer__content {
  display: grid;
  gap: 22px;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.footer__logo-img {
  width: 130px;
}

.footer__section-title {
  font-size: 14px;
  letter-spacing: 1.6px;
  color: var(--primary);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.footer__contact-item {
  margin-bottom: 6px;
}

.footer__contact-label {
  color: var(--muted);
  margin-right: 6px;
}

.footer__contact-link {
  color: var(--text);
  text-decoration: none;
}

.footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer__nav-link {
  color: var(--muted);
  text-decoration: none;
}

.footer__nav-link:hover {
  color: var(--text);
}

.footer__bottom {
  border-top: 1px solid #1f2227;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  color: var(--muted);
  text-decoration: none;
}

.footer__social-link:hover {
  color: var(--text);
}

/* Product Block Base (shared) */
.products {
  padding: 64px 0;
}

.products__title {
  font-size: 24px;
  margin: 0 0 18px;
}

.products__subtitle {
  color: var(--muted);
  margin: 0 0 22px;
}

.sections-list {
  display: grid;
  gap: 16px;
}

.section-card {
  background: #121317;
  border: 1px solid #1f2227;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  transition: 0.15s ease;
}

.section-card:hover {
  border-color: #2a2e36;
  background: #171a1f;
}

.section-card__img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(180deg, #101115, #090a0c);
}

.section-card__title {
  margin: 0 0 6px;
  font-size: 18px;
}

.section-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.product-card {
  background: #121317;
  border: 1px solid #1f2227;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.product-card__img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(180deg, #101115, #090a0c);
}

.product-card__title {
  margin: 0;
  font-size: 16px;
}

.product-card__desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.product-card__actions {
  display: flex;
  gap: 10px;
}

.product-card__btn {
  padding: 8px 14px;
  font-size: 14px;
}

/* Variant 1 specific - sections slider */
.sections-slider {
  position: relative;
}

.sections-slider .section-card {
  display: none;
}

.sections-slider .section-card.is-active {
  display: grid;
}

/* Variant 3 specific - load more */
.load-more {
  display: block;
  margin: 6px auto 0;
  background: transparent;
  border: 1px dashed #2a2e36;
  color: var(--text);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}

.load-more:hover {
  background: #111317;
  border-color: #3a3e46;
}

.nav__item--submenu > .nav__dropdown-link::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid var(--text);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: transform 0.2s ease;
}

/* Submenu mobile */
/*   .nav__item--submenu > .nav__subdropdown {
  position: static;
  display: none;
  margin: 6px 0 6px 10px;
  padding: 6px;
  background: #0f1114;
  border: 1px solid #23262c;
  border-radius: 10px;
} */

  .nav__item--submenu.is-open > .nav__subdropdown {
    display: grid;
  }

  .nav__item--submenu > .nav__dropdown-link::after {
    right: 10px;
    transform: translateY(-50%) rotate(90deg);
  }

  .nav__item--submenu.is-open > .nav__dropdown-link::after {
    transform: translateY(-50%) rotate(180deg);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .hero__image {
    order: -1;
  }

  div.about__content {
    grid-template-columns: 1fr;
  }

  .contact-form__content {
    grid-template-columns: 1fr;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
  }

  .header__search-input {
    width: 160px;
  }

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

@media (max-width: 720px) {
  .header__nav {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    background: #000000fa;
    width: 100%;
    height: 100vh;
    margin: 0;
    align-items: center;
    justify-content: center;
  }
  
  .nav__list{
     flex-direction: column;
  }

  .header__burger {
    display: flex;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__main {
    grid-template-columns: 1fr;
  }

  .header__title {
    font-size: 28px;
  }

  .header__top-content {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 0;
  }

  .header__actions {
    width: 100%;
    justify-content: space-between;
  }

  .section-card {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .nav__item--dropdown>.nav__dropdown {
    position: static;
    display: none;
    margin: 6px 0 0;
    padding: 6px;
    background: #0f1114;
    border-radius: 10px;
  }

  .nav__item--dropdown.is-open>.nav__dropdown {
    display: grid;
  }
}

/* --- Categories horizontal scroll --- */
.categories-scroll {
  margin-bottom: 18px;
  overflow: hidden;
}

.categories-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  -ms-overflow-style: none;
}

.categories-list::-webkit-scrollbar {
  height: 6px;
}

.categories-list::-webkit-scrollbar-thumb {
  background: #2a2e36;
  border-radius: 6px;
}

.categories-list::-webkit-scrollbar-track {
  background: transparent;
}

.category-item {
  white-space: nowrap;
  background: #121317;
  color: var(--text);
  border: 1px solid #1f2227;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.category-item:hover {
  background: #171a1f;
  border-color: #2a2e36;
}

.category-item.active {
  background: #0e6bff;
  border-color: #0e6bff;
}

/* --- Products Swiper slides (2 per view) --- */
.products-swiper {
  --swiper-theme-color: #0e6bff;
}

.products-swiper .swiper-slide {
  height: auto;
}

.product-slide {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  background: #121317;
  border: 1px solid #1f2227;
  border-radius: 16px;
  padding: 16px;
}

.product-slide__image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(180deg, #101115, #090a0c);
}

.product-slide__title {
  margin: 0 0 6px;
  font-size: 18px;
}

.product-slide__desc {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.product-slide__actions {
  display: flex;
  gap: 10px;
}

/* Swiper navigation/pagination spacing */
.products-swiper .swiper-button-prev,
.products-swiper .swiper-button-next {
  color: #8f9aad;
}

.products-swiper .swiper-pagination-bullets {
  bottom: -4px;
}

/* Products navigation styled like video */
.products-swiper {
  position: relative;
  padding-top: 60px;
}

.products-nav {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.products-pagination {
  position: static !important;
  width: auto !important;
  margin: 0 !important;
}

.products-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 4px;
  border-radius: 2px;
  background: #333;
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.products-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 24px;
}

.products-swiper .products-btn-prev,
.products-swiper .products-btn-next {
  color: #8f9aad;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  transition: all 0.3s ease;
}

.products-swiper .products-btn-prev:hover,
.products-swiper .products-btn-next:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--primary);
}

.products-swiper .products-btn-prev {
  left: 10px;
}

.products-swiper .products-btn-next {
  right: 10px;
}

/* Responsive rules for slides */
@media (max-width: 1024px) {
  .product-slide {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 720px) {
  .product-slide {
    grid-template-columns: 1fr;
  }

  .product-slide__image img {
    height: 180px;
  }
}

/* Video Section */
.video-section {
  padding: 64px 0;
  background: var(--text);
}

.video-section h2{
    color:#000;
}

.video-section__subtitle {
  color: var(--muted);
  margin: 0 0 40px;
  text-align: center;
}

.video-swiper {
  position: relative;
}

.categories-slider__section .video-nav .swiper-pagination-bullet{
    background:var(--color-border);
}

.categories-slider__section .video-nav .swiper-pagination-bullet-active{
        background: var(--primary);
}

/* .video-nav {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
} */

.video-pagination {
  position: static !important;
  width: auto !important;
  margin: 0 !important;
}

.video-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 4px;
  border-radius: 2px;
  background: #333;
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.video-pagination .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 24px;
}

.video-slide {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--bg-blue);
  border: 1px solid #1f2227;
  border-radius: 16px;
  padding: 24px;
  min-height: 280px;
}

.video-slide__image {
  position: relative;
  flex: 1;
  max-width: 50%;
}

.video-slide__img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(180deg, #101115, #090a0c);
}

.video-slide__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-slide__play-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-slide__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-slide__title {
  font-size: 20px;
  margin: 0;
}

.video-slide__text {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.video-slide__btn {
  align-self: flex-start;
}

/* Clients Section */
.clients-section .background-block--img {
  object-position: 0 84%;
}

.clients-section__title {
  font-size: 24px;
  margin: 0 0 18px;
  text-align: center;
}

.clients-section__subtitle {
  color: var(--muted);
  margin: 0 0 40px;
  text-align: center;
}

.clients-strip {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.clients-strip__track {
  display: flex;
 /*  animation: scroll-infinite 30s linear infinite; */
  gap: 60px;
  align-items: center;
}

.clients-strip__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 80px;
  padding: 20px;
  background:var(--bg-blue);
  border: 1px solid #1f2227;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.clients-strip__item:hover {
  border-color: #333;
  background: #171a1f;
}

.clients-strip__logo {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.7);
  transition: all 0.3s ease;
}

.clients-strip__item:hover .clients-strip__logo {
  filter: grayscale(0) opacity(1);
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Reviews Section */
.reviews-section {
  padding: 64px 0;
  background: var(--text);
}

.reviews-section__title {
  font-size: 30px;
  margin: 0 0 18px;
  text-align: left;
  color: #000;
}


.reviews-section__subtitle {
  color: var(--muted);
  margin: 0 0 40px;
  text-align: center;
}

.reviews-swiper {
  position: relative;
  padding-bottom: 80px;
}

.review-slide {
  background: var(--bg-blue);
  border: 1px solid #1f2227;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin: 0 auto;
}

.review-slide__image {
  margin-bottom: 24px;
}

.review-slide__img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 8px;
  margin: 0 auto;
  background: #1a1d23;
  padding: 16px;
}

.review-slide__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-slide__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

.review-slide__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #1f2227;
  padding-top: 20px;
}

.review-slide__author strong {
  color: var(--text);
  font-size: 16px;
}

.review-slide__author span {
  color: var(--muted);
  font-size: 14px;
}

.reviews-navigation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top:auto;
}

.reviews-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #0d6efd;
  color: #0d6efd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.reviews-nav-btn:hover {
  background: #0d6efd;
  color: #fff;
}

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

.reviews-nav-dots .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #cfd8e3;
  opacity: 1;
  margin: 6px 0;
  display: block;
}

.reviews-nav-dots .swiper-pagination-bullet-active {
  background: #0d6efd;
}

@media (max-width: 768px) {
    
   .video-slide__btn{
        align-self: center;
   }

  .video-section,
  .clients-section,
  .reviews-section {
    padding: 48px 0;
  }

  .video-slide {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 20px;
  }

  .video-slide__image {
    max-width: 100%;
  }

  .video-slide__img {
    height: 200px;
  }

  .clients-strip__track {
    gap: 40px;
  }

  .clients-strip__item {
    min-width: 100px;
    height: 70px;
  }
  
  .clients-strip__logo{
    max-width: 100%;
    max-height: 100%;
  }

  .review-slide {
    padding: 24px;
  }

  .review-slide__img {
    width: 100px;
    height: 100px;
  }

  .news-layout {
    flex-direction: column;
    gap: 20px;
  }

  .news-info {
    flex: none;
    padding-right: 0;
  }
  
  .news-info .swiper-pagination{
     justify-content: center;
  }

  .news-info__title {
    font-size: 28px;
  }

  .news-slider-wrapper {
    display:block;
    width:100%;
  }



  .news-navigation {
    flex-direction: row;
    height: auto;
    width: 100%;
    justify-content: center;
  }

  .news-nav-indicators {
    width: 100px;
    height: 4px;
    margin: 0 15px;
  }

  .news-nav-thumb {
    width: 50%;
    height: 100%;
    transition: left 0.3s ease;
  }

  .news-item {
    gap: 15px;
    padding: 30px;
    flex-direction:column;
    align-items:center
  }

  .news-item__image {
    width: 100%;
    height: 120px;
  }

  .news-item__title {
    font-size: 16px;
  }

  .news-item__text {
    font-size: 14px;
  }
}

/* Main (Hero v2) */
.main {
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #121418 0%, #0e1013 100%);
  background: url(/assets/upload/img-main.jpg);
  background-size: cover;
  background-position: 0 96%;
}

.main .container {
  position: relative;
  z-index: 2;
}

.main__content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  min-height: 650px;
}

.main-left {
  position: relative;
}

.main__title {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.main__subtitle {
  margin: 0 0 28px;
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
}

.main__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Специальные стили для кнопок в первом блоке */
.main .btn {
  position: relative;
  overflow: hidden;
  font-size: 16px;
  padding: 16px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Кнопка "Оставить заявку" с иконкой и анимацией блеска */
.main .btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #111;
}

/* .main .btn--primary::before {
  content: "📧";
  font-size: 16px;
} */

.main .btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.main .btn--primary:hover::after {
  left: 100%;
}

.main .btn--primary:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1.02);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Кнопка "Перейти в каталог" с иконкой стрелки */
.main .btn--secondary {
  background: transparent;
  color: var(--text);
  border: none;
  outline: none;
  text-decoration: none;
}

.main .btn--secondary svg {
  width: 20px;
}

.main .btn--secondary svg path {
  fill: #fff
}

/* .main .btn--secondary::after {
  content: "↗";
  font-size: 18px;
  transition: transform 0.3s ease;
  transform: rotate(-45deg);
} */

.main .btn--secondary:hover::after {
  transform: rotate(0deg);
}

.main .btn--secondary:hover {
  background: #1b1e23;
  outline-color: var(--primary);
}

/* Right image */
.main-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main__image {
  filter: drop-shadow(0 40px 120px rgba(0, 0, 0, .6));
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  object-fit: cover;
  width: 50%;
  z-index: auto;
}

/* Ambient gradient that visually blends to image side */
.main__bg-gradient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  /* full section */
  background:
    radial-gradient(800px 520px at calc(100% - 18%) 50%, rgba(88, 123, 180, 0.18), transparent 60%),
    radial-gradient(700px 420px at 22% 38%, rgba(62, 118, 255, 0.22), transparent 60%),
    linear-gradient(90deg, rgba(13, 17, 23, 0.95) 0%, rgba(13, 17, 23, 0.85) 38%, rgba(13, 17, 23, 0.0) 58%, rgba(13, 17, 23, 0) 100%);
  z-index: 1;
}

/* Left side soft vignette to create studio look that transitions to the image */
/* .main-left::before {
  content: "";
  position: absolute;
  inset: -20% -10% -20% -20%;
  background: radial-gradient(600px 380px at 10% 40%, rgba(243, 152, 0, 0.18), transparent 65%);
  filter: blur(10px);
  z-index: -1;
} */

/* Responsive */
@media (max-width: 960px) {
  .main__content {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: unset;
  }

  .main-right {
    order: -1;
  }

  .main {
    padding: 48px 0;
  }

  .main__bg-gradient {
    background:
      radial-gradient(560px 360px at 50% 20%, rgba(62, 118, 255, 0.2), transparent 60%),
      linear-gradient(180deg, rgba(13, 17, 23, 0.95) 0%, rgba(13, 17, 23, 0.7) 40%, rgba(13, 17, 23, 0) 100%);
  }
}





/* Background word behind main-left */
.main__background-text {
  position: absolute;
  top: 0%;
  left: 0;
  transform: translateY(-50%);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: clamp(84px, 18vw, 280px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  text-stroke: 1px rgba(255, 255, 255, 0.08);
  z-index: 0;
  pointer-events: none;
  /* let mouse events pass through */
  user-select: none;
  white-space: nowrap;
}

/* Gradient fill that follows cursor: implemented via pseudo-element masked by the text shape */
.main__background-text::after {
  content: attr(data-text);
  content: "";
  /* we will use mask to fill original element */
}

/* We place a separate overlay that uses the text as a mask via -webkit-text-fill-color technique.
   Easier: duplicate the text by using a CSS variable background that clips to text using background-clip:text */
.main__background-text {
  --gx: 0px;
  /* cursor X relative to element */
  --gy: 0px;
  /* cursor Y relative to element */
  /* background:
    radial-gradient(280px 280px at var(--gx) var(--gy), var(--danger), rgba(14, 111, 255, 0.18) 40%, transparent 70%); */
  /* background:
    radial-gradient(280px 280px at var(--gx) var(--gy), #e31e2487, rgb(255 66 14 / 18%) 60%, transparent 100%); */
  background: radial-gradient(180px 180px at var(--gx) var(--gy), #e31e2440, rgba(62, 118, 255, 0.22), transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Slight glow around when cursor near */
.main-left:hover .main__background-text {
  filter: drop-shadow(0 8px 30px rgba(255, 187, 0, 0.12));
}

/* Ensure stacking under titles but above section bg */
.main-left {
  z-index: 2;
}

.main__title,
.main__subtitle,
.main__buttons {
  position: relative;
  z-index: 3;
}

.sections {
  padding: 80px 0;
  position: relative;
}

@media (max-width:768px){
    .sections{
        padding:40px 0;
    }
}

/* Стили для областей карты */


#interactive-maps {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


#interactive-maps path {
  fill: #24374463;
  stroke: #fff;
}

/* Стили для областей карты */
path[data-region] {
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

path[data-region]:hover {
  fill: #ff6b6b !important;
  stroke: #fff;
  stroke-width: 2;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transform-origin: center;
}

/* Стили для пульсирующих индикаторов */
.region-indicator {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #ff6b6b;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: auto;
  cursor: pointer;
  z-index: 100;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
  animation: pulse 2s infinite;
}

.region-indicator:hover {
  background: #ff5252;
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.6);
}

.region-indicator.active {
  background: #ff5252;
  border-color: #fff;
  animation: pulseActive 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4), 0 0 0 0 rgba(255, 107, 107, 0.7);
  }

  50% {
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4), 0 0 0 8px rgba(255, 107, 107, 0);
  }

  100% {
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4), 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

@keyframes pulseActive {
  0% {
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.6), 0 0 0 0 rgba(255, 82, 82, 0.8);
  }

  50% {
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.6), 0 0 0 6px rgba(255, 82, 82, 0);
  }

  100% {
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.6), 0 0 0 0 rgba(255, 82, 82, 0);
  }
}

/* Стили для тултипа */
.tooltip {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  max-width: 320px;
  min-width: 220px;
  font-size: 14px;
  line-height: 1.4;
}

.tooltip.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tooltip.interactive {
  cursor: default;
}

/* Указатель тултипа */
.tooltip::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: inherit;
  border-left: inherit;
  border-top: inherit;
  transform: rotate(45deg);
  z-index: -1;
}

/* Позиционирование указателя по сторонам */
.tooltip[data-placement="top"]::after {
  bottom: -5px;
  left: 20px;
}

.tooltip[data-placement="bottom"]::after {
  top: -5px;
  left: 20px;
}

.tooltip[data-placement="left"]::after {
  right: -5px;
  top: 20px;
}

.tooltip[data-placement="right"]::after {
  left: -5px;
  top: 20px;
}

.tooltip h3 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 2px solid #ff6b6b;
  padding-bottom: 5px;
}

.tooltip .cities-list {
  margin: 10px 0 0 0;
}

.tooltip .city-item {
  background: #f8f9fa;
  margin: 8px 0;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid #ff6b6b;
  font-size: 13px;
}

.tooltip .city-name {
  color: #495057;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.tooltip .equipment-list {
  margin: 6px 0 0 0;
}

.tooltip .equipment-item {
  background: rgba(255, 107, 107, 0.1);
  margin: 3px 0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: #666;
}

.tooltip-description {
  color: #666;
  margin: 0;
  font-size: 13px;
}

.region-indicator[data-region="Архангельский область"]{
    transform:translate(17px, 10px);
}

.region-indicator[data-region="Сахалинская область"]{
    transform:translate(-44px, -13px)
}

.maip-inter .container{
    position:relative;
}

#list-city-popup{
    padding: 6px 30px;
    border-radius: 10px;
    border: 1px solid #fff;
    background: transparent;
    position: absolute;
    right: 0;
    transition: .4s;
    z-index: 2;
    cursor: pointer;
}

#list-city-popup:hover{
    background:#000;
}


#list-city-popup svg{
    width:35px;
}

#list-city-popup svg path,
#list-city-popup svg circle{
    stroke:#fff;
    stroke-width:1px;
    transition: .4s;
}

.esc-container{
    cursor:pointer;
    position: absolute;
    background: transparent;
    border: none;
    font-weight: 700;
    color: #3f3f3f;
    font-size: 16px;
    transition:.4s;
}

.esc-container:hover{
    opacity:.4;
}

/* Адаптивность */
@media (max-width: 768px) {
  #list-city-popup{
      display:none;
  }
  .region-indicator{
      width:7px;
      height:7px;
  }
  .container {
    padding: 0 25px;
  }

  h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .map-container {
    padding: 15px;
  }

  .tooltip {
    max-width: 250px;
    font-size: 12px;
  }
}

/* Categories Slider Component */
.categories-slider {
  padding: 80px 0;
}

.categories-slider__header {
  /* display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px; */
}

.categories-slider__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.categories-slider__subtitle {
  margin: 0;
  color: var(--muted);
}

/* .categories-slider__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
} */

/* Category Slide */
.category-slide {
  position: relative;
  background: radial-gradient(800px 520px at calc(100% - 18%) 50%, rgba(88, 123, 180, 1), transparent 60%), radial-gradient(700px 420px at 22% 38%, rgba(62, 118, 255, 0.22), transparent 60%), linear-gradient(90deg, rgba(13, 17, 23, 0.95) 0%, rgba(13, 17, 23, 0.85) 38%, rgba(13, 17, 23, 0.0) 58%, rgba(13, 17, 23, 0) 100%);
  border: 1px solid #23262c;
  border-radius: 16px;
  padding: 35px 30px 50px 30px;
  overflow: hidden;
  min-height: 220px;
}

.category-slide__content {
  position: relative;
  z-index: 2;
}

.category-slide__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.category-slide__title {
  margin: 0;
  font-size: 20px;
}

.category-slide__main-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  margin-left: auto;
  font-size: 14px;
}

.category-slide__main-link:hover {
  color: var(--primary-2);
}

.category-slide__links {
  display: flex;
  flex-direction: column;
  gap: 10px 16px;
}

.category-slide__link {
  color: var(--text);
  text-decoration: none;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 9px;
}

.category-slide__link:before {
  content: '●';
  display: inline-block;
  font-size: 11px;
  color: #f2af02;
}

.category-slide__link:hover {
  opacity: 1;
  color: #fff;
}

.category-slide__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
  max-width: 260px;
  transform: translate(10%, 10%);
  opacity: 0.9;
  z-index: 1;
}

.category-slide__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.categories-slider__section {
  position: relative;
}

/* Swiper controls scoped to categories */
.categories-swiper-1 .swiper-button-prev,
.categories-swiper-1 .swiper-button-next,
.categories-swiper-2 .swiper-button-prev,
.categories-swiper-2 .swiper-button-next {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 14px;
  margin-top: -20px;
  transition: all 0.3s ease;
}

.categories-swiper-1 .swiper-button-prev:hover,
.categories-swiper-1 .swiper-button-next:hover,
.categories-swiper-2 .swiper-button-prev:hover,
.categories-swiper-2 .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--primary);
  color: var(--primary);
}

.categories-swiper-1 .swiper-button-prev {
  left: 10px;
}

.categories-swiper-1 .swiper-button-next {
  right: 10px;
}

.categories-swiper-2 .swiper-button-prev {
  left: 10px;
}

.categories-swiper-2 .swiper-button-next {
  right: 10px;
}

/* Categories pagination styling similar to video section */
.categories-slider__section .swiper-pagination,
.categories-swiper-2 .swiper-pagination {
  position: static !important;
  width: auto !important;
  display: flex;
  justify-content: center;
  gap: 0px;
  margin: 25px 0px 19px 0;
}

.block-video-slider-m{
    position:relative;
}


.block-video-slider-m .swiper-button-next, .block-video-slider-m .swiper-button-prev{
    transform: none;
}


.categories-slider__section .swiper-pagination-bullet,
.categories-swiper-2 .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  margin: 0 3px;
  transition: all 0.3s ease;
}

.categories-slider__section .swiper-pagination-bullet-active,
.categories-swiper-2 .swiper-pagination-bullet-active {
  background: var(--primary);
}

.h2-title {
  text-align: left;
  font-size: 30px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 25px;
}

.h2-title:after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--danger);
}

@media (max-width:768px){
    .h2-title{
        font-size:22px;
    }
}

.background-block {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.background-block:after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(0deg, rgba(33, 47, 60, 1) 0%, rgba(33, 47, 60, .9) 104%, rgba(33, 47, 60, 1) 100%);
  background: linear-gradient(1deg, rgba(33, 47, 60, 1) 0%, rgba(33, 47, 60, 0.71) 100%);
  background: linear-gradient(290deg, rgba(33, 47, 60, 1) 62%, rgba(33, 47, 60, 0.71) 100%);
  background: linear-gradient(-1deg, rgba(33, 47, 60, 1) 20%, rgba(33, 47, 60, 0.71) 100%);
}

.background-block--img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.background-block-aft {
  position: relative;
}



/* Responsive */
@media (max-width: 992px) {
  .categories-slider__wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .category-slide {
    padding: 16px;
  }

  .category-slide__title {
    font-size: 20px;
  }

  .category-slide__image {
    width: 50%;
  }
}

.swiper-button-next, .swiper-button-prev{
    transform: translateY(-50%);
}


.link-arrow-n {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-decoration:none;
}

.link-arrow-n {
  --primary-color: #fff;
  --hovered-color: #c84747;
  position: relative;
  display: flex;
  font-weight: 600;
  font-size: 20px;
  gap: 0.5rem;
  align-items: center;
}

.link-arrow-n p {
  margin: 0;
  position: relative;
  font-size: 14px;
  color: var(--primary-color);
}

.link-arrow-n::after {
  position: absolute;
  content: "";
  width: 0;
  left: 0;
  bottom: -7px;
  background: var(--hovered-color);
  height: 2px;
  transition: 0.3s ease-out;
}

.link-arrow-n p::before {
  position: absolute;
  /*   box-sizing: border-box; */
  content: "Подробнее";
  width: 0%;
  inset: 0;
  color: var(--hovered-color);
  overflow: hidden;
  transition: 0.3s ease-out;
}

.link-arrow-n:hover::after {
  width: 100%;
}

.link-arrow-n:hover p::before {
  width: 100%;
}

.link-arrow-n:hover p{
    color:transparent;
}

.link-arrow-n:hover svg {
  transform: translateX(4px);
  color: var(--hovered-color);
}

.link-arrow-n svg {
  color: var(--primary-color);
  transition: 0.2s;
  position: relative;
  width: 12px;
  transition-delay: 0.2s;
}

.region-accordion{
    position:fixed;
    right: 0;
    top: 0;
    z-index: 9999;
    color: #000;
    height: 100vh;
    transform: translateX(100%);
    transition:.4s ease;
    background:#fff;
}

.region-accordion._show{
   transform: translateX(0%); 
}

path[data-region="Крым"]{
    transform: translate(7%, 88%)
}

div[data-region="Крым"]{
    bottom: 7% !important;
    top: auto !important;
    left: 8% !important;
}