* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: inline-block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  margin: 0 auto;
  padding: 0 30px;
}

.site-header {
  position: sticky;
  top: 0;
  height: 80px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0;
  height: 100%;
  position: relative;
}

.main-nav {
  display: flex;
  gap: 26px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.header-phone {
  position: absolute;
  right: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%), url("static/fon.jpg") center/cover no-repeat;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%), image-set(url("static/fon.webp") type("image/webp"), url("static/fon.jpg") type("image/jpeg"));
  color: #fff;
}

.hero .container {
  padding: 0;
}

.hero-layout {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-inner {
  display: grid;
  gap: 14px;
  justify-items: center;
  flex: 1;
  align-content: center;
}

.hero-logo {
  width: 60px;
}

.hero h1 {
  font-size: 68px;
  font-weight: 700;
}

.hero p {
  font-size: 22px;
  font-weight: 300;
}

.hero-arrow img {
  width: 30px;
  height: 30px;
}

.section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  margin: 10px 0 40px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: center;
}

.info-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
}

.docs {
  margin-top: 40px;
  text-align: center;
}

.docs a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.docs img {
  width: 30px;
  height: 30px;
}

.image-divider {
  position: relative;
  display: block;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.image-divider--fon2 {
  background-image: url("static/fon2.jpg");
  background-image: image-set(url("static/fon2.webp") type("image/webp"), url("static/fon2.jpg") type("image/jpeg"));
}

.image-divider--fon3 {
  background-image: url("static/fon3.jpg");
  background-image: image-set(url("static/fon3.webp") type("image/webp"), url("static/fon3.jpg") type("image/jpeg"));
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.panel-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
}

.panel-card p {
  margin: 6px 0;
}

.production {
  text-align: center;
}

.production-title {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 22px;
  color: #ffb62e;
  margin-bottom: 10px;
}

.production-text {
  font-size: 26px;
  padding: 0 100px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  word-break: normal;
  hyphens: auto;
}

.contacts {
  display: flex;
  justify-content: center;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 150px 30px;
  margin-top: 50px;
}

.contacts h2 {
  font-size: 37px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contacts p {
  font-size: 22px;
  font-weight: 300;
}

.contacts a {
  color: #fff;

}

.contact-social {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}

.contact-social a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-social a:hover {
  color: #ffb62e;
  border-color: #ffb62e;
  transform: translateY(-1px);
}

.contact-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-social img {
  width: 26px;
  height: 26px;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease;
}

.contact-social a:hover img {
  filter: brightness(0) invert(1) sepia(1) saturate(7) hue-rotate(-15deg);
}




@media (max-width: 1024px) {
  .hero h1 {
    font-size: 50px;
  }

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

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

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .header-phone {
    position: static;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

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

  .production-text {
    font-size: 17px;
    padding: 0 12px;
    max-width: 600px;
    text-align: center;
  }
}
