html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  color: #111;
  background-image: url('images/background.webp');
  background-size: contain;
  background-color: #f7f7f7;
}

a {
  color: #111;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

/*   background: rgba(255,255,255,0.5);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05); */
}

.header-inner {
  min-height: 80px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  display: flex;
  gap: 10px;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
}

.header-contacts a {
  text-decoration: none;
  color: #149b32;
  font-weight: 700;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  z-index: 2;

  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: white;

  padding: 20px;
}

.hero-title {
  font-size: 54px;
  line-height: 1.1;
  margin: 20px 0;
}

.hero-subtitle {
  font-size: 20px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-main {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 30px;

  background: #149b32;
  color: white;

  text-decoration: none;
  border: none;
  cursor: pointer;

  transition: 0.3s ease;
}

.btn-main:hover {
  transform: translateY(-2px);
}

.glass {
  background: rgba(55,55,55,0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(55,55,55,0.3);
}

.glass_logo {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
}

.block {
  max-width: 1200px;
  margin: 60px auto;

  padding: 40px;

  border-radius: 24px;

  background: rgba(255,255,255,0.5);

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  
  scroll-margin-top: 100px;
}

.block h2 {
  margin-top: 0;
  font-size: 38px;
}

.products-grid,
.advantages-grid,
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.product-card,
.advantage-card,
.client-item {
  background: rgba(155, 155, 155, 0.2);

  border-radius: 20px;

  padding: 24px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);

  transition: 0.3s ease;
}

.product-card:hover,
.advantage-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}

.client-item {
  text-align: center;
  font-weight: 600;
}

.geo-stats {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.geo-stats div {
  flex: 1;
  min-width: 200px;

  background: rgba(255,255,255,0.85);

  padding: 30px;

  border-radius: 20px;

  text-align: center;
}

.geo-stats strong {
  display: block;
  font-size: 32px;
  margin-bottom: 10px;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.request-form input,
.request-form textarea,
.request-form select {
  padding: 14px;

  border-radius: 12px;

  border: 1px solid #ddd;

  font-size: 16px;
}

.contacts {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.map {
  border-radius: 20px;
  overflow: hidden;
}

.media-slider {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  touch-action: pan-y;
  background: rgba(255,255,255,0.8);
}

.media-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}

.media-slider__slide {
  min-width: 100%;
  width: 100%;
  max-width: 1920px;
  max-height: 1080px;
  flex-shrink: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.media-slider__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 40px;
  height: 40px;

  border: none;
  border-radius: 50%;

  background: rgba(0,0,0,0.5);

  color: white;

  font-size: 24px;

  cursor: pointer;

  z-index: 10;
}

.media-slider__btn--prev {
  left: 10px;
}

.media-slider__btn--next {
  right: 10px;
}

.social {
  position: fixed;
  z-index: 1001;
  right: 20px;
  bottom: 20px;
  padding: 15px;
}

.float img {
	width: 32px; 
	height: 32px;
	padding: 5px;
	transition: transform 0.3s ease; /* Плавное увеличение за 0.3 сек */
}
.float img:hover {
  transform: scale(1.3); /* Увеличение на 30% (1.3x) */
}

.float {
	text-decoration: none;
}

.media-slider__progress {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);

  width: 140px;
  height: 6px;

  border-radius: 999px;

  background: rgba(255,255,255,0.2);

  overflow: hidden;
}

.media-slider__progress-bar {
  height: 100%;
  width: 0%;

  background: white;

  transition: width 0.3s ease;
}

.footer {
  background: rgba(55,55,55,0.5);
  color: white;
  padding: 20px 10px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-inner a, .footer-inner p {
  color: white;
  display: block;
  text-decoration: none;
  margin: 0px;
}

@media (max-width: 768px) {

  .hero-title {
    font-size: 34px;
  }

  .nav {
    display: none;
  }

  .contacts {
    flex-direction: column;
  }

  .media-slider {
    height: 400px;
  }

}