.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
}

.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.company-name {
  color: white;
  font-size: 20px;
  font-weight: bold;
}

body {
  margin: 0;
  font-family: Helvetica;
}

h1, h3 {
  margin: 0 0 15px;
}

h2 {
  margin: 0 0 15px;
  font-size: 50px;
  justify-content: center;
  color: RGB(28, 69, 135);
}

section {
  padding: 50px 20px;
  text-align: center;
}

/* HERO */
.hero {
  min-height: 85vh;
  font-family: Arial, Helvetica, sans-serif;
  color:white;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(28, 69, 135, 0.6), rgba(0,0,0,0.6)),
    url("img/hero.jpg") center / cover no-repeat;
}
.marquee {
  width: 100%;
  overflow: hidden;
}

.marquee_track {
  display: flex;
  width: max-content;
  animation: scroll 50s linear infinite;
}

.marquee span {
  font-size: clamp(50px, 8vw, 140px);
  font-weight: 900;
  white-space: nowrap;
  padding-right: 60px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* УСЛУГИ */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.services p {
  font-size: 20px;
  font-weight: bold;
}

.services z {
  font-size: 20px;
  color: rgb(28, 69, 135);
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* О НАС */
.about {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  background: rgb(236,236,236);
}

.about-text {
  max-width: 900px;
  text-align: justify;
  font-size: clamp(16px, 2vw, 30px);
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-images img {
  width: 340px;
  height: 440px;
  object-fit: cover;
  border-radius: 12px;
}

/* ВИДЕО */
.videos {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

iframe {
  width: 600px;
  height: 400px;
}

/* FOOTER */
footer {
  background: #222;
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.footer-links a {
  color: #00aced;
  text-decoration: none;
  margin: 0 10px;
  position: relative;
}

.footer-links a:not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: #aaa;
}

footer a {
  color: inherit;
  font-size: 30px;
  text-decoration: none;
}

footer a:visited {
  color: inherit;
}

footer a:hover {
  opacity: 0.7;
}

.map {
  margin-top: 20px;
}

/* КНОПКИ */
.button-86 {
  all: unset;
  width: 200px;
  height: 30px;
  font-size: 16px;
  background: transparent;
  border: none;
  position: relative;
  color: #f0f0f0;
  cursor: pointer;
  z-index: 1;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-86::after,
.button-86::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -99999;
  transition: all .4s;
}

.button-86::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: RGB(28, 69, 135);
  border-radius: 10px;
}

.button-86::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: #ffffff15;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 50px;
}

.button-86:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
}

.button-86:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

.button-86:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}

.contact-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}