/* ===== HERO ===== */
.hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #2c3e50;
}
.hero__bg {
  width: 100%;
  height: 100%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30,40,50,0.55) 0%, rgba(30,40,50,0.2) 100%);
}
.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  white-space: nowrap;
}
.hero__title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero__badge {
  display: inline-block;
  background: var(--accent-green);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 8px 28px;
  border-radius: 3px;
}

/* ===== SLIDER ===== */
.slider-container {
  width: 860px;
  height: 550px;
  margin: 45px auto;
  overflow: hidden;
  position: relative;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  background: rgba(255,255,255,0.9);
  font-size: 24px;
  transition: background 0.2s;
}
.slider-nav:hover { background: var(--white); }
.slider-nav--prev { left: 15px; }
.slider-nav--next { right: 15px; }
.slide {
  width: 860px;
  height: 550px;
  flex-shrink: 0;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== SLIDER RESPONSIVE ===== */
@media (max-width: 900px) {
  .slider-container {
    width: 100%;
    height: 400px;
    margin: 24px auto;
  }
  .slide {
    min-width: 100%;
    height: 400px;
  }
}
@media (max-width: 600px) {
  .slider-container {
    height: 240px;
    margin: 16px auto;
  }
  .slide {
    min-width: 100%;
    height: 240px;
  }
  .slider-nav {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
}
.product-card {
  background: var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
}
.product-card__img {
  position: relative;
  width: 100%;
  padding-top: 100%; /* квадрат 1:1 */
  overflow: hidden;
}
.product-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card__info {
  padding: 12px 14px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.product-card__name {
  font-size: 14px;
  font-weight: 500;
}

/* ===== CLIENTS ===== */
.clients-section {
  padding: 48px 24px 60px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.client-logo {
  height: 36px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logo__placeholder {
  height: 36px;
  padding: 0 16px;
  background: var(--gray-mid);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
  min-width: 80px;
}
/* Coloured brand placeholders */
.client-logo--mega   .client-logo__placeholder { background: #ffd600; color: #222; }
.client-logo--mvideo .client-logo__placeholder { background: #e31e24; color: #fff; }
.client-logo--mega2  .client-logo__placeholder { background: #00a651; color: #fff; }
.client-logo--kk     .client-logo__placeholder { background: #f7a800; color: #fff; }
.client-logo--lukoil .client-logo__placeholder { background: #e31e24; color: #fff; }

/* ===== DARK FOOTER ===== */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.85);
  padding: 48px 24px 0;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand__logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.footer-brand__address,
.footer-brand__hours {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.footer-brand__hours { margin-top: 10px; }
.footer-nav h4,
.footer-products h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-nav ul,
.footer-products ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav ul li a,
.footer-products ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-nav ul li a:hover,
.footer-products ul li a:hover { color: var(--white); }
.footer-products ul li a.green { color: var(--accent-green); }

.footer-map {
  height: 180px;
  background: var(--gray-mid);
  position: relative;
  margin: 0 0 0;
}
.footer-map__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-map__placeholder {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 32px;
}
.footer-map__placeholder .img-placeholder {
  height: 180px;
  border-radius: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ===== TILDA BADGE ===== */
.tilda-badge {
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 24px;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.tilda-badge__btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.5);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 11px;
  cursor: pointer;
  font-family: var(--font-main);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero { height: 280px; }
  .hero__title { font-size: 22px; white-space: normal; }
  .hero__badge { font-size: 13px; padding: 6px 18px; }
  .products-grid { grid-template-columns: 1fr; }
  .slider-track__item { flex: 0 0 100%; }
  .slider-track__item:not(.center) { display: none; }
  .clients-logos { gap: 16px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
