@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito+Sans&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap);

:root {
  --bg: rgb(192, 119, 55);
  --gradient: linear-gradient(0deg, #5ddcff, #3c67e3 40%, #4e00c2);
  --cardBg: linear-gradient(rgba(49, 114, 230, 0.67), rgba(49, 36, 109, 0.6));
}

a {
  text-decoration: none;
  color: #000;
}

body,
html {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Roboto", "Nunito", "Nunito Sans", "Lato", "Montserrat",
    "Raleway", sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}


.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  padding: 20px;
  text-align: center;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Лого слева, кнопки справа */
}

.navbar__logo {
  width: 100px;
  height: 100px;
  object-fit: contain; /* или cover, если хотите заполнить блок */
  margin-right: 400px; /* отступ справа от логотипа, чтобы отделить от ссылок */
  margin-left: 0px; /* небольшой отступ от левого края */
  flex-shrink: 0;
}

.navbar__nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.navbar a {
  color: rgb(226, 229, 226);
  background: rgba(49, 36, 109, 0.9);
  text-decoration: underline;
  margin: 0 10px;
  font-size: 25px;
  font-weight: 700;
  padding-top: 10px;
  padding-right: 10px;
  display: inline-block;
}

.navbar a:hover {
  background: #409f45;
  transition: 0.5s;
}

.navbar a:first-of-type {
  justify-content: center;
  border-radius: 20px;
  
}

.navbar__btn {
  display: inline-flex;
  align-items: center;
  background: rgba(49, 36, 109, 0.9);
  color: #fff !important;
  font-weight: bold;
  font-size: 25px;
  font-family: inherit;
  border: 2px solid #8d82be;
  border-radius: 20px;
  padding: 8px 18px;
  margin: 0 8px 0px 8px; 
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(49,36,109,0.8);
}



.navbar__burger {
  background: (49, 36, 109, 0.5)!important;
  color: #31246d !important;
  border: 2px solid #8d82be;
  border-radius: 20px;
  font-weight: bold;
  font-size: 25px;
  box-shadow: 0 2px 8px rgba(49,36,109,0.15);
  padding: 8px 18px;
  margin: 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: background 0.3s, color 0.3s, border 0.3s;
}

.navbar__burger .burger-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  position: relative;
}
.navbar__burger .burger-icon span {
  display: block;
  height: 4px;
  width: 100%;
  background: #978dc0;
  border-radius: 2px;
  margin: 4px 0;
  transition: background 0.3s;
}

.navbar__burger:hover, .navbar__burger:focus {
  background: #31246d !important;
  color: #fff !important;
  border-color: #409f45;
}

.header {
  text-align: center;
  padding: 20pt;
  margin: 20px auto;
  margin-top: 170px;
  font-family: Nunito;
  position: relative;
  z-index: 1;
}

.header h1 {
  margin: 20px 0;
  font-family: Roboto;
  color: rgba(49, 36, 109, 0.8);
  font-size: 5vw;
  margin-bottom: 0px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.service-card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: var(--cardBg);
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  overflow: hidden;
  transition: transform 0.1s;
  justify-content: center;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  z-index: 0;
  transition: background 0.5s;
}

.service-card:hover::before {
  background: linear-gradient(
    0deg,
    rgba(96, 228, 105, 0.9),
    rgba(37, 125, 10, 0.96)
  );
}

.service-card::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border-radius: 10px;
  z-index: 1;
}

.service-card:hover {
  transform: scale(1.05);
}

.service-card .content {
  position: relative;
  z-index: 2;
  color: black;
  text-align: center;
}

.service-card h2 {
  font-size: 24px;
  margin-top: 0;
}

.content-form {
  position: relative;
  z-index: 100;
  color: white;
  text-align: center;
  padding: 20px;
}

.footer {
  box-sizing: border-box;
  padding: 10px 10px;
  margin: 10px 10px 10px 10px;
  text-align: left;
  background: rgba(0, 0, 0, 0.5);
  color: white;
}

.contact__footer {
  line-height: 1.5;
}

* {
  margin: 0;
}

.title__head {
  background-color: rgb(243, 181, 88);
  padding: 10px;
  max-height: 15vh;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-section {
  overflow: hidden;
  position: relative;
  min-height: 100vh; /* Минимальная высота секции - вся высота экрана */
  height: auto; /* Высота секции будет подстраиваться под содержимое */
}

.parallax-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  z-index: 0;
}

.blok1,
.blok2,
.blok3,
.blok4,
.blok5,
.blok6,
.blok7 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  box-sizing: border-box;
  width: 100%;
}

.blok1::before,
.blok2::before,
.blok3::before,
.blok4::before,
.blok5::before,
.blok6::before,
.blok7::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
  opacity: 1;
}

.blok1::before {
  background-image: url("images/CNC-milling.jpg");
}

.blok2::before {
  background-image: url("images/turning_img.webp");
}

.blok3::before {
  background-image: url("images/erosion_form.jpg");
}

.blok4::before {
  background-image: url("images/print_fon.jpg");
}

.blok5::before {
  background-image: url("images/reve-image.jpeg");
}

.blok6::before {
  background-image: url("images/oboi_kraska2.png");
}

.blok7::before {
  background-image: url("images/borated-steel.jpg");
}

.card {
  background: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 10px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.card__title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.card__desc {
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
}

.card-section-right .card,
.card-section-left .card {
  margin: 0 20px;
}

/* Redesigned blok1 styles */
.blok1.parallax-section {
  padding: 40px;
  display: block;
}

.frezer-content-wrapper {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  z-index: 1;
}

.card__equipment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.equipment-card {
  background-color: rgba(230, 230, 230, 0.9);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  font-family: Roboto;
  font-weight: 600;
  color: #222;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0;
}

.equipment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.equipment-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
  display: block;
}

.equipment-card strong {
  font-size: 1.4em;
  color: #111;
  margin-bottom: 8px;
  text-align: center;
  display: block;
  min-height: 40px; /* Для 2 строк заголовка */
}

.equipment-card ul {
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 0;
  margin-bottom: 0;
  font-size: 1em;
  color: #333;
  text-align: center;
  flex-grow: 1;
}

.equipment-card ul li {
  margin-bottom: 4px;
  line-height: 1.3;
  font-size: 1.1em;
}

.frezer-text-description {
  background-color: rgba(255, 255, 245, 0.85);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: fit-content;
  position: sticky;
  top: 100px;
  font-family: Roboto;
  font-size: 0.9em;
}

.frezer-text-description h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 1.8em;
}

.frezer-text-description p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #444;
}

.frezer-text-description h3 {
  margin-top: 20px;
  color: #333;
}

/* Media queries for responsive layout */
@media (max-width: 1200px) {
  .frezer-content-wrapper {
    grid-template-columns: 1fr;
  }

  .card__equipment-list {
    order: 2;
  }

  .frezer-text-description {
    order: 1;
    position: static;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .card__equipment-list {
    grid-template-columns: 1fr;
  }

  .blok1.parallax-section {
    padding: 20px;
  }

  .equipment-card {
    transform: scale(1.1);
    padding: 30px;
  }

  .equipment-card:hover {
    transform: scale(1.15);
  }
}

.form-map-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: 30px;
  align-items: stretch;
}

.form-container {
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 10px;
  width: 45%;
  margin-top: 20px;
  margin-left: 10px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.form-container h2 {
  margin-bottom: 20px;
  text-align: center;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container textarea,
.form-container input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background-color: white;
  color: #333;
}

.form-container input[type="file"] {
  padding: 8px;
  cursor: pointer;
}

.form-container input[type="file"]::-webkit-file-upload-button {
  background-color: #4caf50;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
}

.form-container input[type="file"]::-webkit-file-upload-button:hover {
  background-color: #45a049;
}

@media (max-width: 768px) {
  .form-container input[type="file"] {
    font-size: 14px;
  }

  .form-container input[type="file"]::-webkit-file-upload-button {
    padding: 6px 12px;
    font-size: 12px;
  }
}

.form-container textarea {
  height: 150px;
  resize: vertical;
}

.form-container input[type="submit"] {
  margin-top: 20px;
  width: auto;
  padding: 10px 20px;
  background-color: #4caf50;
  border: none;
  align-self: center;
  cursor: pointer;
}

.form-container label {
  margin-top: 10px;
  width: 100%;
  text-align: left;
  color: white;
}

.form-container #contactForm {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
}

.map-container {
  width: 45%;
  margin: 20px 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#map {
  width: 100%;
  height: 100%;
}

@media (max-width: 1920px) {
  .header h1 {
    font-size: 6vw;
  }
}

@media (max-width: 1600px) {
  .header h1 {
    font-size: 6.5vw;
  }
}

@media (max-width: 1200px) {
  .header h1 {
    font-size: 7vw;
  }
}

@media (max-width: 900px) {
  .header h1 {
    font-size: 8vw;
  }
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 9vw;
  }
  /*стили для маленьких экранов*/
  .form-container,
  .map-container {
    width: 90vw; /* делаем ширину 90% от ширины экрана */
  }
}

@media (max-width: 480px) {
  .navbar, .navbar__nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    padding: 2px 4px !important;
    gap: 4px !important;
    width: 100vw !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }
  .navbar__logo {
    width: 50px !important;
    height: 50px !important;
    margin-left: 5px !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .navbar a, .navbar__btn, .navbar__burger {
    font-size: 10px !important;
    padding: 4px 4px 4px 4px !important;
    margin: 2px 0 2px 0 !important;
    min-width: 17vw !important;
    border-radius: 10px !important;
  }
  /* Сервисы и карточки */
  .services {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 10px 1vw !important;
    width: 100vw !important;
  }
  .service-card {
    width: 98vw !important;
    min-width: 10vw !important;
    max-width: 100vw !important;
    padding: 8px 1vw !important;
    margin: 0 auto 8px auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .service-card h2 {
    font-size: 1em !important;
  }
  .service-card .content {
    font-size: 0.97em !important;
  }
  /* Все изображения на главной */
  .service-card img, .equipment-card img, .tokar-feature img, .erosion-feature img,
   .print-feature img, .kraska-feature img,
   .anod-feature img {
    width: 240px !important;
    height: 240px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto 2px auto !important;
    border-radius: 8px !important;
  }
  .navbar__btn .email-label{
    display: none;
  }
   .kraska-feature-small img,
   .slesar-feature img {
    width: 90px !important;
    height: 90px !important;
   }

  /* Текстовые блоки и секции */
  .header, .footer, .card, .frezer-text-description, .tokar-seo-text,
   .kraska-feature-text, .anod-feature-text, .content-form, .text-block, 
   .blok1, .blok2, .blok3, .blok4, .blok5, .blok6, .blok7 {
    width: 98vw !important;
    max-width: 98vw !important;
    padding: 15px 1vw !important;
    font-size: 0.97em !important;
    margin: 30px auto 10px auto !important;
    box-sizing: border-box !important;
  }

  .header h1 {
    font-size: 5vw !important;
    margin: 10px 0 !important;
  }
  /* Сетки и списки */
  .frezer-content-wrapper, .tokar-content-wrapper,
   .kraska-content-wrapper, .erosion-content-wrapper, .print-content-wrapper,
    .slesar-content-wrapper, .anod-content-wrapper {
    display: block !important;
    padding: 8px 1vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  .card__equipment-list, .tokar-grid, .erosion-grid, .print-grid, 
  .slesar-grid, .kraska-grid, .anod-grid, .materials-grid {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    gap: 8px !important;
  }
  /* Видео */
  .video-block, .video-container, video, iframe {
    width: 98vw !important;
    max-width: 98vw !important;
    display: block;
    margin: 0 auto 12px auto;
    border-radius: 10px !important;
    box-sizing: border-box;
  }
  /* Убираем горизонтальный скролл */
  * {
    box-sizing: border-box;
    max-width: 100vw !important;
  }
 .phone-label
  .email-label {
    display: none !important;
  }
}
/*стили для больших экранов*/
@media (min-width: 769px) {
  .form-container,
  .map-container {
    width: 45%; /* делаем ширину 45% от ширины экрана */
  }
}

@media (max-width: 900px) {
  .frezer-content-wrapper,
  .tokar-content-wrapper,
  .kraska-content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 25px; /* Добавляем вертикальный отступ между блоками */
  }

  .card__equipment-list {
    width: 100%;
    /* margin-bottom: 20px;  Удаляем, так как используем gap на родителе */
    flex: none;
    gap: 20px; /* Уменьшаем отступ между карточками оборудования */
  }

  .frezer-text-description,
  .tokar-text-description {
    width: 100%;
    flex: none;
    margin-left: 0; /* Убираем отступ слева */
    padding: 30px; /* Уменьшаем внутренние отступы */
  }
}

@media (max-width: 600px) {
  .card__equipment-list {
    grid-template-columns: 1fr; /* Одна колонка для карточек оборудования */
    gap: 20px; /* Отступ между карточками в одной колонке */
  }

  .frezer-text-description,
  .tokar-text-description {
    padding: 20px; /* Еще уменьшаем внутренние отступы */
  }

  .equipment-card img {
    height: 260px; /* Increased by 30% from 200px */
  }

  .equipment-card strong {
    font-size: 1.3em;
  }

  .equipment-card ul {
    font-size: 1.1em;
  }

  .frezer-text-description h2,
  .tokar-text-description h2 {
    font-size: 1.5em; /* Уменьшаем заголовок в текстовом блоке */
  }

  .frezer-text-description p .tokar-text-description p {
    font-size: 0.9em; /* Уменьшаем основной текст */
    line-height: 1.5;
  }

  .blok1.parallax-section {
    padding: 15px; /* Уменьшаем общие отступы секции */
  }
}

@media (max-width: 1200px) {
  .navbar__logo {
    width: 120px;
    height: 120px;
    margin-right: 120px;
  }
  .navbar a {
    font-size: 20px;
    padding: 8px 6px;
  }
}

/* Экраны до 900px */
@media (max-width: 900px) {
  .navbar {
    padding: 10px 10px;
    min-height: 60px;
    gap: 10px;
  }
  .navbar__logo {
    width: 80px;
    height: 80px;
    margin-right: 10px;
  }
  .navbar a {
    font-size: 16px;
    padding: 6px 4px;
  }
}

/* Мобильные устройства до 600px */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 5px 2vw;
    min-height: 40px;
    gap: 5px;
  }
  .navbar__logo {
    width: 50px;
    height: 50px;
    margin-right: 0;
    margin-bottom: 5px;
  }
  .navbar a {
    font-size: 13px;
    padding: 4px 2px;
    margin: 0;
  }
}

.blok3 {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.erosion-content-wrapper,
.print-content-wrapper,
.slesar-content-wrapper,
.kraska-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  gap: 40px;
  padding: 40px;
}

.erosion-header,
.print-header,
.slesar-header,
.kraska-header,
.anod-header {
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}

.erosion-header h2,
.print-header h2,
.slesar-header h2,
.kraska-header h2,
.anod-header h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.anod-header {
  justify-content: center;
  margin-left: 250px;
}

.erosion-grid,
.print-grid,
.slesar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
}

.erosion-feature,
.print-feature,
.slesar-feature,
.kraska-feature {
  background-color: rgba(230, 230, 230, 0.85);
  border-radius: 15px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.namotka slesar-feature {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.namotka .slesar-feature img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  display: inline-block;
}

.namotka-text {
  display: block;
  width: 100%;
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.namotka-text p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1em;
  font-weight: 700;
  margin: 0;
}

.erosion-feature:hover,
.print-feature:hover,
.slesar-feature:hover,
.kraska-feature:hover,
.anod-feature:hover {
  transform: translateY(-5px);
}

.erosion-feature img,
.slesar-feature img,
.kraska-feature img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.kraska-feature-small img {
  width: 150px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.kraska-feature-small {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: rgba(230, 230, 230, 0.85);
  padding: 10px;
  border-radius: 10px;
  margin-top: 40px;
}

.print-feature img {
  width: 100%;
  height: 370px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
}

.erosion-feature h3,
.print-feature h3 {
  color: #333;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.erosion-feature p,
.print-feature p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1em;
  font-weight: 700;
}

.erosion-stats,
.print-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 30px;
}

.namotka slesar-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: rgba(230, 230, 230, 0.85);
  padding: 30px;
  border-radius: 15px;
  margin: 20px 0;
}

.stat-item {
  background-color: rgba(230, 230, 230, 0.85);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.stat-item h4 {
  color: #333;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.stat-item p {
  color: #666;
  font-size: 1.1em;
}

@media (max-width: 1200px) {
  .erosion-grid,
  .print-grid {
    grid-template-columns: 1fr;
  }

  .erosion-stats,
  .print-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .erosion-stats,
  .print-stats {
    grid-template-columns: 1fr;
  }

  .erosion-header h2,
  .print-header h2 {
    font-size: 2em;
  }

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

.tokar-content-wrapper,
.kraska-content-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  gap: 40px;
  padding: 40px;
}

.tokar-header {
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
  margin-left: 150px;
}

.tokar-header h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tokar-grid,
.slesar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.kraska-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
}

.anod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

.anod-feature {
  background-color: rgba(230, 230, 230, 0.85);
  border-radius: 15px;
  padding: 25px;
}

.anod-feature img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
}

.anod-feature-text {
  background-color: rgba(230, 230, 230, 0.85);
  border-radius: 15px;
  padding: 30px;
  color: #000;
  font-weight: 500;
  text-align: left;
  font-size: 1.1em;
  font-family: "Roboto", sans-serif;
  width: 1000px;
}

.tokar-feature {
  background-color: rgba(230, 230, 230, 0.85);
  border-radius: 15px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tokar-feature ul {
  color: #000;
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  text-align: left;
}

.tokar-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.tokar-feature img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.tokar-feature h3 {
  color: #333;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.specs-list {
  color: #000;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.specs-list li {
  color: #000;
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.specs-list li:before {
  content: "•";
  color: #333;
  position: absolute;
  left: 0;
}

.tokar-seo-text,
.kraska-feature-text {
  background-color: rgba(230, 230, 230, 0.85);
  border-radius: 15px;
  padding: 30px;
  margin-top: 40px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tokar-seo-text h3,
.kraska-feature-text h3 {
  color: #333;
  font-size: 1.8em;
  margin-bottom: 20px;
  text-align: center;
}

.tokar-seo-text h4 {
  color: #333;
  font-size: 1.4em;
  margin: 25px 0 15px;
}

.tokar-seo-text p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1em;
  margin-bottom: 20px;
}
.kraska-feature-text p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 800;
}

.tokar-seo-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.tokar-seo-text ul li {
  color: #666;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.tokar-seo-text ul li:before {
  content: "•";
  color: #333;
  position: absolute;
  left: 0;
}

.tokar-seo-text strong {
  color: #333;
  font-weight: 600;
}

.tokar-materials {
  background-color: rgba(230, 230, 230, 0.85);
  border-radius: 15px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tokar-materials h3 {
  color: #333;
  font-size: 1.8em;
  margin-bottom: 20px;
  text-align: center;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.material-item {
  background-color: rgba(230, 230, 230, 0.85);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.material-item:hover {
  background-color: rgba(220, 220, 220, 0.9);
  transform: scale(1.02);
}

.material-item h4 {
  color: #333;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.material-item p {
  color: #666;
  font-size: 1.1em;
}

@media (max-width: 1200px) {
  .tokar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .tokar-grid,
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .tokar-header h2 {
    font-size: 2em;
  }

  .tokar-feature img {
    height: 200px;
  }
}

.blok5 .slesar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.blok5 .slesar-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(230, 230, 230, 0.85);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.blok5 .namotka {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(230, 230, 230, 0.85);
  border-radius: 15px;
  padding: 25px;
  margin-top: 20px;
  width: 100%;
}

.blok5 .namotka .slesar-feature {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: none;
  box-shadow: none;
  padding: 0;
  width: 100%;
}

.blok5 .namotka .slesar-feature img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  display: inline-block;
  margin: 0;
}

.blok5 .namotka-text {
  margin-top: 30px;
  text-align: center;
  width: 100%;
}

.blok5 .slesar-feature img {
  width: 600px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.blok5 .slesar-feature h3 {
  color: #333;
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: 700;
}

.blok5 .slesar-feature p {
  color: #666;
  line-height: 1.6;
  font-size: 1.1em;
  font-weight: 700;
  margin: 0;
}

.navbar__dropdown {
  position: relative;
  display: inline-block;
  display: flex;
  flex-direction: column; /* вертикальное расположение элементов */
  align-items: flex-start; /* выравнивание по левому краю */
  gap: 10px;
}

.navbar__menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  background: rgba(49,36,109,0.97);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border-radius: 0 0 16px 16px;
  z-index: 2000;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
  display: none;
}

.navbar__dropdown:hover .navbar__menu,
.navbar__dropdown:focus-within .navbar__menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.navbar__menu a {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  color: #fff;
  background: none;
  border-radius: 0;
  text-align: left;
  transition: background 0.2s;
  white-space: normal;
  word-break: break-word;
  box-sizing: border-box;
  display: block;
}

.navbar__menu a:hover {
  background: #444;
  color: #fff;
}

/* === Мобильные (до 480px) === */
@media (max-width: 480px) {
  .navbar__dropdown.menu-open .navbar__menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 100% !important;
    width: 100% !important;
    min-width: unset !important;
    max-width: unset !important;
    background: rgba(49,36,109,0.97) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18) !important;
    border-radius: 0 0 16px 16px !important;
    z-index: 2000 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }
  .navbar__dropdown.menu-open .navbar__menu a {
    width: 100% !important;
    padding: 14px 18px !important;
    font-size: 16px !important;
    color: #fff !important;
    background: none !important;
    border-radius: 0 !important;
    text-align: left !important;
    transition: background 0.2s;
    white-space: normal !important;
    word-break: break-word !important;
    box-sizing: border-box;
    display: block !important;
  }
  .navbar__dropdown.menu-open .navbar__menu a:hover {
    background: #444 !important;
    color: #fff !important;
  }
  /* Скрыть стандартное меню вне .menu-open */
  .navbar__menu {
    display: none !important;
  }
  .navbar__btn,
  .navbar__burger {
    min-width: 17vw !important;
    max-width: 17vw !important;
    min-height: 28px !important;
    max-height: 28px !important;
    padding: 4px 4px 4px 4px !important;
    font-size: 10px !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    display: inline-flex !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    white-space: normal !important;
    border-radius: 10px !important;
    margin: 2px 0 2px 0 !important;
  }
}

/* --- Унифицированные стили для кнопки "Услуги" (бургер) и остальных кнопок navbar --- */
.navbar__btn, .navbar__burger {
  background: rgba(49,36,109,0.9);
  color: #fff !important;
  border-radius: 20px;
  font-weight: bold;
  font-size: 25px;
  box-shadow: 0 2px 8px rgba(49,36,109,0.8);
  transition: background 0.4s, color 0.3s;
}

.navbar__btn:hover, .navbar__btn:focus,
.navbar__burger:hover, .navbar__burger:focus {
  background: rgb(75, 199, 71);
  color: #fff;
}

/* Адаптивность для бургер-кнопки */
@media (max-width: 1200px) {
  .navbar__burger {
    font-size: 20px;
    padding: 8px 12px;
    min-width: 90px;
  }
}
@media (max-width: 900px) {
  .navbar__burger {
    font-size: 16px;
    padding: 6px 8px;
    min-width: 70px;
  }
}
@media (max-width: 600px) {
  .navbar__burger {
    font-size: 14px;
    padding: 4px 6px;
    min-width: 40px;
    margin: 0;
  }
}

/* --- Унификация выпадающего меню "Услуги" --- */
.navbar__menu {
  background: transparent;
  box-shadow: none;
  border-radius: 8px;
  z-index: 10;
  padding: 0;
  /* Для мобильных: фиксированная позиция, если меню открыто */
}

/* Показывать меню при .menu-open (для мобильных по клику) */
.navbar__dropdown.menu-open .navbar__menu {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
  width: 100% !important;
  min-width: unset !important;
  max-width: unset !important;
  background: rgba(49,36,109,0.97) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18) !important;
  border-radius: 0 0 16px 16px !important;
  z-index: 2000 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
.navbar__dropdown.menu-open .navbar__menu a {
  width: 100% !important;
  padding: 14px 18px !important;
  font-size: 16px !important;
  color: #fff !important;
  background: none !important;
  border-radius: 0 !important;
  text-align: left !important;
  transition: background 0.2s;
  white-space: normal !important;
  word-break: break-word !important;
  box-sizing: border-box;
  display: block !important;
}
.navbar__dropdown.menu-open .navbar__menu a:hover {
  background: #444 !important;
  color: #fff !important;
}

/* Для десктопа — по hover/focus */
.navbar__dropdown:hover .navbar__menu,
.navbar__dropdown:focus-within .navbar__menu {
  display: block;
}

/* Адаптивность выпадающего меню */
@media (max-width: 900px) {
  .navbar__menu {
    min-width: 160px;
    left: 0;
    top: 110%;
  }
  .navbar__menu a {
    font-size: 13px;
    padding: 8px 14px;
    min-width: 120px;
  }
}
@media (max-width: 600px) {
  .navbar__menu {
    position: static;
    min-width: 100vw;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }
  .navbar__menu a {
    font-size: 12px;
    padding: 8px 10px;
    min-width: 100vw;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
  }
}

.navbar__menu-btn {
  color: rgb(186, 188, 186);
  background: rgba(49, 36, 109, 0.95);
  font-size: 18px;
  font-weight: 600;
  padding: 5px 22px;
  border-radius: 12px;
  margin: 8px 0;
  display: block;
  text-align: left;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(49,36,109,0.15);
  cursor: pointer;
}

.navbar__menu-btn:hover,
.navbar__menu-btn:focus {
  background: #3c67e3;
  color: #d4d0d0;
}

@media (max-width: 900px) {
  .navbar__menu-btn {
    font-size: 13px;
    padding: 8px 14px;
    min-width: 120px;
    border-radius: 15;
    background-color: #333;
  }
}
@media (max-width: 600px) {
  .navbar__menu-btn {
    font-size: 12px;
    padding: 8px 10px;
    min-width: 100vw;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
  }
}

.navbar__menu-frez_nerj,
.navbar__menu-frez_titan,
.navbar__menu-eeo,
.navbar__menu-3d,
.navbar__menu-stator {
  font-size: 16px !important;
  background-color: rgba(59, 50, 50, 0.8) !important;
  color: #fff !important;
  justify-content: center;
  align-items: center;
  border-radius: 20px !important;
  padding: 10px 24px !important;
  margin: 1px 0 !important;
  display: inline-block;
  box-sizing: border-box;
  transition: background 0.2s;
}

.navbar__menu-frez_nerj:hover,
.navbar__menu-frez_titan:hover,
.navbar__menu-eeo:hover,
.navbar__menu-3d:hover,
.navbar__menu-stator:hover {
  background-color: rgba(135, 163, 136, 0.8) !important;
  color: #222 !important;
}

.navbar__btn--phone {
  border-radius: 20px !important;
  min-width: 220px;
  box-sizing: border-box;
  white-space: nowrap;
  padding: 8px 18px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1200px) {
  .navbar__btn--phone {
    border-radius: 20px !important;
    min-width: 180px;
    padding: 8px 12px !important;
  }
}
@media (max-width: 900px) {
  .navbar__btn--phone {
    border-radius: 20px !important;
    min-width: 140px;
    padding: 6px 8px !important;
  }
}
@media (max-width: 600px) {
  .navbar__btn--phone {
    border-radius: 20px !important;
    min-width: 100px;
    padding: 4px 6px !important;
  }
}

@media (max-width: 480px) {
  .navbar__btn .email-label,
  .navbar a[href^="mailto:"],
  .navbar__btn[href^="mailto:"],
  .navbar__btn--email {
    display: none !important;
  }
}
