* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === Переключатель языков === */
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  display: flex;
  gap: 8px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  backdrop-filter: blur(4px);
}

.lang-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: #f0f0f0;
  color: #333;
  font-weight: 600;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.lang-btn:hover {
  background: #0056b3;
  color: white;
  transform: scale(1.1);
}

.lang-btn.active {
  background: #c60c30;
  color: white;
  transform: scale(1.15);
}

/* === Шапка === */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

/* === Логотип === */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  max-width: 200px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* === Навигация === */
.nav {
  display: flex;
  align-items: center;
}

.nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.3s;
}

.nav a:hover {
  color: #c60c30;
}

/* === Бургер-меню === */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1100;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #0056b3;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* === Герой-блок === */
.hero {
  background: linear-gradient(135deg, #0056b3 0%, #003d7a 100%);
  color: white;
  text-align: center;
  padding: 160px 20px 100px;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://via.placeholder.com/1920x600?text=') no-repeat center center;
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* === Кнопка === */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #c60c30 0%, #e01136 100%);
  color: white;
  padding: 16px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  margin-top: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(198, 12, 48, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(198, 12, 48, 0.4);
}

/* === Секции === */
.section {
  padding: 100px 0;
  text-align: center;
}

.section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  color: #003d7a;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: #c60c30;
  border-radius: 2px;
}

.bg-light {
  background-color: #f7fbff;
}

/* === Продукция === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  justify-items: center;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  width: 100%;
  max-width: 320px;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-color: #c60c30;
}

.product-image {
  height: 200px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-style: italic;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #eee;
}

.product-card h3 {
  padding: 18px 15px 10px;
  font-size: 1.3rem;
  color: #003d7a;
  font-family: 'Montserrat', sans-serif;
}

.product-card p {
  padding: 0 15px 18px;
  font-size: 0.95rem;
  color: #555;
}

/* === Преимущества === */
.advantages-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  list-style: none;
}

.advantages-list li {
  font-size: 1.15rem;
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
  line-height: 1.5;
}

.advantages-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  background: #c60c30;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

/* === Контакты === */
#contacts address {
  font-style: normal;
  color: #333;
  line-height: 2;
}

#contacts a {
  color: #c60c30;
  text-decoration: none;
}

#contacts a:hover {
  text-decoration: underline;
}

/* === Футер === */
.footer {
  background: #003d7a;
  color: white;
  text-align: center;
  padding: 40px 0 30px;
}

.footer p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin: 10px 0;
}

.footer a {
  color: #ffcc00;
  text-decoration: underline;
}

.footer a:hover {
  color: #ffd633;
}

/* === Мобильная адаптация === */
@media (max-width: 768px) {
  /* Бургер */
  .burger {
    display: flex;
  }

  /* Навигация */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    z-index: 1000;
  }

  .nav.show {
    max-height: 500px;
    padding: 20px 0;
  }

  .nav a {
    margin: 10px 0;
    text-align: center;
    font-size: 1.1rem;
  }

  /* Контейнер шапки */
  .header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Переключатель языков */
  .lang-switcher {
    top: 20px;
    right: 20px;
  }

  /* Текст */
  .hero h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: 2rem;
  }
}