*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
   background: rgba(10, 18, 30, 0.35);
  z-index: 1000;
  transition: background 0.3s ease, padding 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.scrolled {
  background: rgba(10, 18, 30, 0.9);
  backdrop-filter: blur(6px);
  padding: 14px 0;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 30px;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

nav a:hover {
  opacity: 0.7;
}

.logo-metal {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(
    180deg,
    #f4f4f4 0%,
    #cfcfcf 18%,
    #8e8e8e 35%,
    #fdfdfd 50%,
    #9b9b9b 65%,
    #d8d8d8 82%,
    #ffffff 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.35),
    0 2px 4px rgba(0,0,0,0.35);
}

.hero {
  background-image: url("images/hero3.jpg");
  background-size: cover;
  background-position: center 20%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding-top: 100px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.0);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .container {
  width: 100%;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
}

.info-section {
  padding: 110px 0;
}

.service-text ul {
  margin: 15px 0 15px 20px;
  line-height: 1.6;
}

.service-text li {
  margin-bottom: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* контейнер кнопки */
.language-dropdown {
  position: relative;
  margin-left: 20px;
}

/* кнопка Language */
.lang-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}

/* стрелка */
.arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.language-dropdown.active .arrow {
  transform: rotate(180deg);
}

/* меню */
.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: rgba(30, 30, 30, 0.95);
  border-radius: 6px;
  min-width: 190px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1000;
}

/* когда меню активно */
.language-dropdown.active .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ссылки */
.language-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 12px 10px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* hover */
.language-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* картинки флагов */
.lang-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  margin-left: 0;
}

/* Section 1 */
#section1 {
  background: linear-gradient(180deg, #0b1624 0%, #14263d 100%);
  color: white;
}

/* Section 3 */
#section3 {
  background: linear-gradient(180deg, #0b1624 0%, #14263d 100%);
  color: white;
}

.info-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.info-section:nth-child(even) {
  background: #f5f5f5;
}

.info-section h1 {
  margin-bottom: 20px;
  font-size: 32px;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.94);
  z-index: 0;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-wrapper {
  display: flex;
  gap: 60px;
  align-items: stretch;
}

.contact-form-block,
.contact-info-block {
  flex: 1;
  background: white;
  padding: 40px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

.contact-form-block h2,
.contact-info-block h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: #111;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  font-size: 16px;
  font-family: Arial, sans-serif;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1f4ea3;
}

.contact-form button {
  width: 180px;
  padding: 14px 20px;
  border: none;
  background: #1f4ea3;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #163b7d;
}

.contact-info-block p {
  font-size: 18px;
  margin-bottom: 16px;
  color: #222;
}

.contact-section {
  position: relative;
  padding: 140px 0;
}
.services-section {
  text-align: center;
}

.services-title {
  font-size: 42px;
  font-weight: 700;
  color: white;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.services-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 40px;
  margin-top: 20px;
}

.service-btn {
  background: white;
  border: 1px solid #d9dde3;
  padding: 18px 18px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  border-radius: 14px;
  overflow: hidden;
}

.service-btn img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-bottom: 20px;

  border-radius: 8px;
}

.service-btn span {
  font-size: 15px;
  font-weight: 600;
  color: #1b1b1b;
  margin-top: auto;
}

.service-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.15);
  border-color: #b9c2cf;
}

.service-btn.active {
  background: #14263d;
  border-color: #14263d;
}

.service-btn.active span {
  color: white;
}

.services-text-box {
  position: relative;
  min-height: 140px;
  max-width: 950px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  text-align: left;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  overflow: hidden;

  border-radius: 16px;
}

.service-text {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  color: #333;
  line-height: 1.7;
}

.service-text.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: auto;
}

footer {
  background: #111;
  color: white;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  margin-left: 20px;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-form button {
    width: 100%;
  }
}

#section2,
.contact-section {
  position: relative;
  background-image: url("images/vetr.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

#section2::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.40);
  z-index: 0;
}

#section2 .container,
.contact-section .container {
  position: relative;
  z-index: 1;
}

#section1,
#section3 {
  background: linear-gradient(180deg, #0b1624 0%, #14263d 100%);
  color: white;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  #section2,
  .contact-section {
    background-attachment: scroll;
  }
}

.supply-section {
  text-align: center;
  padding: 90px 0;
}

.supply-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 50px;
  color: white;
  position: relative;
  display: inline-block;
  padding: 0 40px;
}

.supply-title::before,
.supply-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 180px;
  height: 1px;
  background: rgba(255,255,255,0.22);
}

.supply-title::before {
  right: 100%;
  margin-right: 20px;
}

.supply-title::after {
  left: 100%;
  margin-left: 20px;
}

.supply-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.supply-item {
  text-align: left;
  color: #e4ebf5;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
}

.supply-item .check {
  color: #4da3ff;
  margin-right: 10px;
  font-weight: 700;
}

.legal-page {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 80px;

  background-image: url("images/vetr.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.legal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.40);
  z-index: 0;
}

.legal-page .container {
  position: relative;
  z-index: 1;
}

.legal-box {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.legal-box h1 {
  font-size: 42px;
  margin-bottom: 30px;
  color: #111;
}

.legal-box h2 {
  font-size: 26px;
  margin-top: 35px;
  margin-bottom: 15px;
  color: #111;
}

.legal-box p {
  font-size: 17px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 18px;
}

.legal-box ul {
  padding-left: 0;
  margin-left: 0;
  list-style-position: inside;
}

.legal-box li {
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 130px 0 50px;
  }

  .legal-box {
    padding: 30px 20px;
  }

  .legal-box h1 {
    font-size: 32px;
  }

  .legal-box h2 {
    font-size: 22px;
  }

  .legal-box p {
    font-size: 16px;
  }
}