/* Основные стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #bdddf4;
  position: relative;
  padding-top: 132px; /* Высота хедера по умолчанию для десктопа */
  overflow-x: hidden;
  width: 100%;
}

.cont {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

button {
  border: none;
  cursor: pointer;
}

.container_2 {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Отступы и поля */
.paddging_big_block {
  padding: 80px 0;
}

.m-bottom_100 {
  margin-bottom: 100px !important;
}

.m-bottom_70 {
  margin-bottom: 70px !important;
}

.m-bottom_30 {
  margin-bottom: 30px !important;
}

.m-bottom_150 {
  margin-bottom: 150px !important;
}

.m-bottom_40 {
  margin-bottom: 40px !important;
}

/* Кнопки */
.offer_button {
  padding: 15px 60px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.offer_button:hover {
  transform: translateY(-2px);
}

/* Цвета фона */
.bg_color_header {
  background-color: rgb(0, 0, 0);
}

.bg_color_blue {
  background-color: #002d7f;
}

.bg_color_white {
  background-color: #ffffff;
}

.bg_color_footer {
  background-color: #050027;
}

.bg_color_yellow {
  background-color: yellow;
}

.bg_color_black {
  background-color: #000;
}

.bg_color_prodact {
  background-color: #eeeeee !important;
}

/* Цвета текста */
.color_yellow {
  color: yellow;
}

.color_black {
  color: #000000;
}

.color_white {
  color: #ffffff;
}

.color_blue {
  color: #002d7f;
}

/* Стили текста */
.text_characters {
  line-height: 140%;
  font-size: 18px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.text_name_characters {
  font-size: 20px;
  line-height: 22px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.text_title_subtitle {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.2;
}

.text_subtitle {
  font-weight: 500;
  letter-spacing: 0.7px;
  line-height: 140%;
}

.text_offer_title {
  font-size: 50px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.7px;
}

.text_smallest {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1.5px;
}

.text_card_title {
  font-weight: 600;
  letter-spacing: 0.7px;
}

.text_footer {
  font-size: 15px;
  line-height: 25px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.text_offer_block {
  font-weight: 600;
  font-size: 40px;
  line-height: 42px;
  letter-spacing: 1px;
}

.text_information_title {
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: 0.5px;
}

.text_information_subtitle {
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.5px;
  max-width: 305px;
}

.text_prodact {
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.5px;
}

/* Тени */
.shadow_block {
  box-shadow: 10px 10px 50px 0px rgba(0, 0, 0, 0.25);
}

.shadow_button {
  box-shadow: 5px 5px 20px 0px rgba(0, 0, 0, 0.5);
}

.shadow_header {
  box-shadow: 0px 10px 50px 0px rgba(0, 0, 0, 0.25);
}

.shadow_small_button {
  box-shadow: 2px 1px 4px 0px rgba(0, 0, 0, 0.25);
}

.shadow_yellow_button {
  box-shadow: 0px 5px 0px 0px #fccf14, 10px 10px 50px 10px rgba(0, 0, 0, 0.25);
}

.shadow_prodact {
  box-shadow: 5px 5px 20px 0px rgba(0, 0, 0, 0.25);
}

/* Границы */
.border_10 {
  border-radius: 10px;
}

.border_3 {
  border-radius: 3px;
}

.center_column {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.border-bottom {
  border-bottom: 1px #ffffff solid;
}

/* Хедер */
header {
  width: 100%;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin-bottom: 50px;
}

.header { 
  display: flex;
  align-items: center;
  justify-content: space-between; 
  height: 132px; 
  padding: 0 15px;
  position: relative; 
}

#logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0; 
  flex-shrink: 0; 
}

.img_logo {
  height: 50px;
}

.logo_name {
  display: flex;
  justify-content: start;
  flex-direction: column;
}

.desktop-nav {
    display: flex; 
    flex-grow: 1; 
    justify-content: center; 
}
.navbar { 
  display: flex;
  align-items: center;
  flex-direction: row;
  list-style-type: none;
  gap: 100px; 
  position: relative;
  font-size: 16px;
}

.prodacts {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: start;
  top: 25px;
  background-color: #002d7f;
  left: 152px; 
  border-top: none;
  visibility: hidden;
  opacity: 0;
  transition: all 0.15s ease-in-out;
  z-index: 1000;
}

.prodacts_active {
  visibility: visible !important;
  opacity: 1 !important;
}

.nav_prodact:hover + .prodacts,
.prodacts:hover {
  visibility: visible;
  opacity: 1;
}

.prodact {
  cursor: pointer;
  padding: 9px;
  border-bottom: 1px solid #535353;
  transition: all 0.15s;
  color: #ffffff; 
}

.prodact:hover {
  background-color: #000000;
}

.nav_item {
  cursor: pointer;
  transition: all 0.15s;
}

.nav_item:hover {
  border-bottom: 1px solid #fff;
}

.nav_prodact::after {
  content: "▼";
  display: inline-block;
  transform: rotate(-90deg);
  transition: transform 0.15s ease-in-out;
}

.nav_prodact:hover::after {
  transform: rotate(0deg);
}

.measuring {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: start;
  top: 25px; 
  left: 358px; 
  border-top: none;
  visibility: hidden;
  opacity: 0;
  transition: all 0.15s ease-in-out;
  background-color: #002d7f;
  z-index: 1000;
}

.prodact_measure:hover + .measuring,
.measuring:hover {
  visibility: visible !important;
  opacity: 1 !important;
}

.measuring_item:hover {
  background-color: #000000;
}

.measuring_item {
  cursor: pointer;
  padding: 9px;
  border-bottom: 1px solid #535353;
  transition: all 0.15s;
  white-space: nowrap;
  max-width: 250px;
  color: #ffffff; 
}

.economy_menu {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: start;
  top: 25px; 
  left: 358px; 
  border-top: none;
  visibility: hidden;
  opacity: 0;
  transition: all 0.15s ease-in-out;
  background-color: #002d7f;
  z-index: 1000;
}

.prodact_eco:hover + .economy_menu,
.economy_menu:hover {
  visibility: visible !important;
  opacity: 1 !important;
}

.economy_menu_item:hover {
  background-color: #000000;
}

.economy_menu_item {
  cursor: pointer;
  padding: 9px;
  border-bottom: 1px solid #535353;
  transition: all 0.15s;
  max-width: 300px;
  white-space: nowrap;
  color: #ffffff; 
}

.header-contacts { 
  display: flex; 
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0; 
}

.header-contacts img {
  user-select: none;
}

.header-contacts .phone,
.header-contacts .email {
  display: flex;
  align-items: center;
  gap: 3px;
}

footer {
  width: 100%;
}

.footer {
  padding: 50px 0 20px 0;
  width: 100%;
}

.footer_logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-top {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  padding: 0 15px;
}

.footer-top .phone,
.footer-top .email { 
  margin-top: -30px; 
}


.footer_logo {
  margin-right: -35px;
}

.burger-menu-button {
  display: none; 
  flex-direction: column;
  justify-content: space-around; 
  width: 40px;  
  height: 30px; 
  padding: 5px; 
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 10000; 
  box-sizing: border-box; 
}

.burger-menu-line {
  width: 100%;
  height: 3px; 
  background-color: #ffffff;
  border-radius: 2px; 
}

.burger-menu {
  position: fixed;
  top: 132px; 
  right: -100%; 
  padding: 20px;
  background-color: #002d7f; 
  transition: right 0.3s ease-in-out;
  z-index: 9999; 
  width: 250px; 
  box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.3);
  max-height: calc(100vh - 132px); 
  overflow-y: auto; 
}


.close-menu {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: none; 
}

.close-menu::before,
.close-menu::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
}

.close-menu::before {
  transform: rotate(45deg);
}

.close-menu::after {
  transform: rotate(-45deg);
}

.burger-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.burger-menu li {
  margin-bottom: 0; 
  padding-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.burger-menu li:last-child {
    border-bottom: none;
}

.burger-menu li a,
.burger-menu li > span { 
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 12px 0; 
  cursor: pointer;
}

.burger-menu li.has-submenu > span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.burger-menu li.has-submenu > span::after {
    content: '▶'; 
    display: inline-block;
    margin-left: 10px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.burger-menu li.has-submenu.open > span::after {
    transform: rotate(90deg); 
}

.burger-menu ul ul {
    list-style: none;
    padding: 0 0 0 15px; 
    margin: 0;
    background-color: #555e69; 
    display: none; 
}
.burger-menu li.has-submenu.open > ul {
    display: block;
    background-color: transparent; 
}

.burger-menu ul ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}
.burger-menu ul ul li:last-child {
    border-bottom: none;
}

.burger-menu ul ul li a {
    padding: 10px 0; 
    font-size: 15px; 
}

.burger-menu.active {
  right: 0;
}

.burger-menu.active .close-menu {
  display: block; 
}

.elpi_cards, .economy_cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin: 0 -5px;
}

.elpi_cards > div, .economy_cards > div {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 300px;
  margin: 0 5px 20px;
}

/* --- Стили для отображения email --- */
/* По умолчанию (десктоп): показываем полный email, скрываем короткий */
.email_sub .email-full {
  display: inline !important; /* Используем !important для переопределения, если необходимо */
}
.email_sub .email-short {
  display: none !important;
}


@media (max-width: 1200px) {
  .navbar { 
    gap: 50px;
  }
  
  .text_offer_title { font-size: 40px; }
  .text_offer_block { font-size: 35px; line-height: 38px; }
  .elpi_cards > div, .economy_cards > div { flex: 0 0 calc(33.333% - 20px); min-width: 280px; }
}

@media (max-width: 992px) {
  .header { 
    height: 110px; 
  }
  body {
    padding-top: 110px;
  }
  .burger-menu {
    top: 110px; 
    max-height: calc(100vh - 110px);
  }
  .navbar { 
    gap: 30px;
  }
  .text_offer_title { font-size: 35px; }
  .text_title_subtitle { font-size: 26px; }
  .paddging_big_block { padding: 60px 0; }
  .m-bottom_100 { margin-bottom: 80px !important; }
  .m-bottom_150 { margin-bottom: 120px !important; }
  .elpi_cards > div, .economy_cards > div { flex: 0 0 calc(50% - 20px); min-width: 260px; }
}

@media (max-width: 768px) {
  .header { 
    flex-wrap: wrap; 
    height: auto;    
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: space-between; 
  }

  #logo {
    order: 1; 
    margin-right: auto; 
  }

  .header-contacts {
    order: 2; 
    display: flex; 
    flex-direction: column;
    align-items: flex-end; 
    margin-left: 15px; 
  }
  
  .desktop-nav { 
    display: none !important; 
  }
  
  .burger-menu-button {
    display: flex !important; 
    order: 3; 
    margin-top: 10px; 
    margin-left: 0; 
  }

  body {
    padding-top: 110px; 
  }
  .burger-menu {
    top: 110px; 
    max-height: calc(100vh - 110px);
  }
  
  /* Мобильные устройства: показываем короткий email, скрываем полный */
  .email_sub .email-full {
    display: none !important;
  }
  .email_sub .email-short {
    display: inline !important;
    margin-right:3px !important;
  }

  .text_offer_title { font-size: 30px; }
  .text_offer_block { font-size: 28px; line-height: 32px; }
  .text_title_subtitle { font-size: 24px; }
  .m-bottom_100 { margin-bottom: 60px !important; }
  .m-bottom_70 { margin-bottom: 50px !important; }
  .m-bottom_30 { margin-bottom: 20px !important; }
  .m-bottom_150 { margin-bottom: 100px !important; }
  .m-bottom_40 { margin-bottom: 30px !important; }
  .paddging_big_block { padding: 50px 0; }
  .offer_button { padding: 12px 40px; }
  .footer-top { flex-direction: column; gap: 30px; align-items: center; text-align: center; }
  .footer-top .phone, .footer-top .email { margin-top: 0; justify-content: center; }
  .footer_logo { margin-right: 0; }
  .elpi_cards, .economy_cards { justify-content: center; }
  .elpi_cards > div, .economy_cards > div { flex: 0 0 calc(98% - 16px); min-width: auto; max-width: 480px; margin: 0 8px 20px; }
}

@media (max-width: 576px) {
  .img_logo {
    height: 40px; 
  }
  .header-contacts {
    font-size: 13px; 
  }
  body {
    padding-top: 100px; 
  }
  .burger-menu {
    top: 100px; 
    width: 100%; 
    max-height: calc(100vh - 100px);
  }
  
  .first_block { padding: 20px 20px !important; }
  .offer { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
  .offer_title { display: flex; text-align: center; max-width: 576px; }    
  .text_offer_title { font-size: 26px; }
  .text_offer_block { font-size: 24px; line-height: 28px; }
  .text_title_subtitle { font-size: 22px; }
  .text_characters { font-size: 16px; }
  .m-bottom_100 { margin-bottom: 50px !important; }
  .m-bottom_70 { margin-bottom: 40px !important; }
  .m-bottom_150 { margin-bottom: 80px !important; }
  .paddging_big_block { padding: 40px 0; }
  .offer_button { padding: 10px 30px; font-size: 14px; }
  .elpi_cards > div, .economy_cards > div { flex: 0 0 calc(98% - 10px); margin: 0 5px 20px; }
}

img {
  max-width: 100%;
  height: auto;
}

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