/* Сброс и базовые стили */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Убираем горизонтальный скролл */
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: #fff;
  color: #111;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* Контейнер с отступами и max-width */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* -------- HEADER -------- */
.header {
  background: #252222;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 15px 0;
}

.logo {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

/* Навигация */
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  transition: right 0.4s ease;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 8px 12px;
  position: relative;
  transition: color 0.3s ease;
  user-select: none;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #fff;
  transition: width 0.3s ease;
}

.nav-list a:hover,
.nav-list a:focus {
  color: #fff;
}

.nav-list a:hover::after,
.nav-list a:focus::after {
  width: 100%;
}

/* Телефоны справа */
.phones {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 14px;
  user-select: none;
}

.phones a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phones a:hover,
.phones a:focus {
  text-decoration: underline;
  color: #fff;
}

/* Телефоны внутри меню (для мобилы) */
.nav-phones {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}

.nav-phones a {
  color: #fff;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 5px;
  text-decoration: none;
  user-select: none;
}

.nav-phones a:hover,
.nav-phones a:focus {
  color: #fff;
}

/* Бургер меню */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  user-select: none;
  z-index: 10000;
}

.burger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 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(5px, -5px);
}

/* -------- Hero Section -------- */
.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #d40000, #9b0000);
  color: #fff;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  animation: fadeIn 1.5s ease;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 20px);
  line-height: 1.6;
  margin-bottom: 35px;
  color: rgba(255,255,255,0.9);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  user-select: none;
  display: inline-block;
  text-align: center;
  min-width: 120px;
}

.btn-primary {
  background: #fff;
  color: #d40000;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #f2f2f2;
  transform: translateY(-3px);
  outline: none;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
  outline: none;
}

/* -------- Catalog Section -------- */
.catalog {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.catalog h2 {
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 700;
  color: #d40000;
  margin-bottom: 40px;
  text-transform: uppercase;
  position: relative;
}

.catalog h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #d40000;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Сетка каталога */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}


.catalog-item {
  padding: 40px 30px;
  font-size: 18px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  border: 2px solid #e5e5e5;
  text-transform: uppercase;
  transition: all 0.35s ease;
  background: #f8f8f8;
  position: relative;
  overflow: hidden;
  height: auto; /* убираем фиксированную высоту */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  user-select: none;
}

/* Заливка на ховер */
.catalog-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(212,0,0,0.85), rgba(155,0,0,0.95));
  transition: left 0.35s ease;
  z-index: 0;
  border-radius: 4px;
}

.catalog-item:hover::before,
.catalog-item:focus::before {
  left: 0;
}

.catalog-item:hover,
.catalog-item:focus {
  color: #fff;
  border-color: #d40000;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  outline: none;
}

.catalog-item span {
  position: relative;
  z-index: 1;
}

/* -------- Footer -------- */
.footer {
  background: #252222;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  padding: 60px 40px 30px;
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1 1 200px;
  margin-bottom: 30px;
  min-width: 250px;
}

.footer-logo {
  font-weight: 900;
  font-size: 36px;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  user-select: none;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 18px;
}

.footer-column p,
.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
  color: #f0c4c4;
  outline: none;
}

.subscribe-form {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 3px;
  font-size: 14px;
  outline: none;
}

.subscribe-form input[type="email"]:focus {
  outline: 2px solid #fff;
}

.subscribe-form button {
  padding: 8px 18px;
  border: none;
  background: #fff;
  color: #b70000;
  font-weight: 700;
  cursor: pointer;
  border-radius: 3px;
  transition: background-color 0.3s ease;
  user-select: none;
}

.subscribe-form button:hover,
.subscribe-form button:focus {
  background-color: #f2f2f2;
  outline: none;
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.social-icons a img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.social-icons a:hover img,
.social-icons a:focus img {
  filter: brightness(0) invert(0.7);
  outline: none;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-top: 40px;
  user-select: none;
}

/* -------- Адаптив -------- */

@media (max-width: 1120px) {
  .container{
    padding: 0px 30px
  }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
    height: 100vh;
    background: #d40000;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1500;
    
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 25px;
  }

  .nav-phones {
    display: flex;
  }

  .phones {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(22px, 7vw, 36px);
  }

  .hero-subtitle {
    font-size: clamp(12px, 4vw, 18px);
  }

  .catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }



.footer-column a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
  
}


.footer-column a:hover::after {
  width: 100%;
}

.footer-column a:hover {
  color: #ffdcdc;
}

.footer-column a:hover {
  text-decoration: underline !important;
}
/* Для футерных ссылок позиционирование обязательно */
.footer-column a {
  position: relative; /* Добавлено */
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  padding-bottom: 4px; /* чтобы было место под подчеркивание */
}

/* Подчеркивание ::after */
.footer-column a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

/* При ховере раскрываем ширину подчеркивания */
.footer-column a:hover::after,
.footer-column a:focus::after {
  width: 100%;
}

/* Цвет текста при ховере */
.footer-column a:hover,
.footer-column a:focus {
  color: #ffdcdc;
  outline: none;
}

/* Вертикальные разделители между колонками (только для широких экранов) */
@media(min-width: 700px) {
  .footer-column:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 30px;
    margin-right: 30px;
  }
}

/* При сужении экрана — убираем вертикальные линии и делаем горизонтальные */
@media(max-width: 700px) {
  .footer-column {
    border-right: none !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  /* У последнего блока убираем нижнюю линию */
  .footer-column:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}





#izovat-red-product-section {
  padding: 60px 20px;
  background-color: #fff;
  font-family: "Segoe UI", sans-serif;
  max-width: 1300px;
  margin: 0 auto;
}

.izovat-red-title {
  margin-top: 70px;
  margin-bottom: 30px;
  background-color: #d40000;  
  border-radius: 15px;
  padding: 5px 0px;
  text-align: center;
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #ffffff;
}

.izovat-red-grid {
  display: flex;
  gap: 100px;
  flex-wrap: wrap;
  justify-content: center;
}

.izovat-red-card {
  width: 320px;
  background-color: #d40000;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.izovat-red-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.izovat-red-img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  background: white;
  padding: 5px;
}

.izovat-red-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 10px 0 6px;
  text-align: center;
  color: #ffffff;
}

.izovat-red-desc {
  font-size: 0.9rem;
  text-align: center;
  color: #ffe4e4;
  margin-bottom: 12px;
}

.izovat-red-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  background: #b3001f;
  padding: 8px 14px;
  border-radius: 6px;
  margin-top: auto;
  user-select: none;
  margin-top: 20px;
}

/* --- Переключатель толщины --- */
.izovat-thickness-toggle {
  margin: 20px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  user-select: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Контейнер переключателя (стильный toggle switch) */
.izovat-switch {
  position: relative;
  width: 60px;
  height: 30px;
  z-index: 100;
}

.izovat-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
  cursor: pointer;
}

.izovat-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #b3001f;
  border-radius: 30px;
  transition: background-color 0.3s ease;
  box-shadow: 0 0 5px rgba(255,255,255,0.2);
}

.izovat-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.izovat-switch input:checked + .izovat-slider {
  background-color: #ff4d66;
}

.izovat-switch input:checked + .izovat-slider:before {
  transform: translateX(30px);
}

/* Подписи */
.izovat-thickness-label {
  font-size: 0.85rem;
  color: #fff;
  min-width: 30px;
  text-align: center;
  user-select: none;
  pointer-events: none; /* чтобы не мешал кликам */
}

.glass-mesh {
  max-width: 900px;
  margin: 30px auto;
  padding: 25px;
  border: 1px solid #ccc;
  border-radius: 12px;
  background-color: #fff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.glass-mesh__image {
  text-align: center;
  margin-bottom: 20px;
}

.glass-mesh__image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.glass-mesh__title {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #222;
}

.glass-mesh__description {
  font-size: 15px;
  margin-bottom: 20px;
}

.glass-mesh__section {
  margin-bottom: 20px;
}

.glass-mesh__section-title {
  font-weight: bold;
  margin-bottom: 8px;
  color: #444;
}

.glass-mesh__section-text {
  font-size: 15px;
  line-height: 1.6;
}
.logo{
  color: #fff;
  text-decoration: none;
  font-size: 40px;
}



.loc_game{
  margin-bottom: 20px;
  font-weight: bold;
}