/* Оптимизированный CSS для одностраничного сайта Bticino (bticino.org.ru) */

/* Общие стили */
html, body {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    line-height: 1;
    font-family: "RobotoRegular", sans-serif;
    color: #3f3d3d;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
  font-family: "AcuminProCondBold", sans-serif;
  line-height: normal;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; margin-top: 22px; margin-bottom: 22px; }
h3 { font-size: 24px; margin-top: 8px; margin-bottom: 8px;}

p {
    font-family: "RobotoRegular", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

strong {
    font-family: "RobotoMedium", sans-serif;
}

.page-title {
    font-family: "AcuminProCondBold", sans-serif;
    font-size: 30px;
    color: #3f3d3d;
    font-weight: 500;
    line-height: normal;
}

.subtitle {
    font-family: "AcuminProCondBold", sans-serif;
    font-size: 18px;
    color: #3f3d3d;
    line-height: normal;
}

/* Ссылки */
.link--orange {
    font-family: "RobotoMedium", sans-serif;
    color: #ea6720;
    font-size: 16px;
    cursor: pointer;
}

.link--orange:hover {
    color: #3f3d3d;
}

/* Кнопки */
.button__primary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 0;
    border: 2px solid #ea6720;
    background-color: #ea6720;
    font-family: "RobotoMedium", sans-serif;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.button__primary:hover {
    background-color: #3f3d3d;
    border-color: #3f3d3d;
    color: #fff;
}

/* Формы */
.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Секции */
.pro-container {
    padding-left: 46px;
    padding-right: 46px;
}

/* Footer */
.footer {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.footer__bottom-bar {
    display: flex;
    justify-content: space-between;
    background-color: #3f3d3d;
    padding-top: 10px;
    padding-bottom: 9px;
    padding-left: 32px;
    padding-right: 32px;
}

.white-text {
    color: #fff !important;
}

.body__text--small {
    font-family: "RobotoRegular", sans-serif;
    font-size: 14px;
    color: #3f3d3d;
    line-height: normal;
}

/* Header и навигация */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10;
    background-color: #fff;
}

.menu-main__full {
    position: relative;
    background-color: #fff;
    border-bottom: solid 1px #aaa6a5;
    top: 0;
}

.menu-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 22px;
    padding-right: 46px;
}

.menu-main__logo {
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: 46px;
    margin-right: 46px;
}

.menu-main-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    gap: 48px;
    transition: padding 0.5s;
    -webkit-transition: padding 0.5s;
    -moz-transition: padding 0.5s;
}

.menu-main-nav > li {
    padding-top: 35px;
    padding-bottom: 35px;
}

.menu-main-nav > li:hover a {
    color: #ea6720;
}

.menu-link {
    font-family: "RobotoMedium", sans-serif;
    font-size: 16px;
    color: #3f3d3d;
    cursor: pointer;
}

/* Добавленные стили */

/* Стили для логотипа */
.logo img {
    height: 50px; /* Пример высоты логотипа */
}

/* Стили для секции hero */
#hero {
    padding: 80px 0;
    text-align: center;
    background-color: #f8f9fa; /* Пример фонового цвета */
}

#hero h1 {
    margin-bottom: 20px;
}

#hero p {
    font-size: 18px;
}

/* Стили для категорий продукции */
.product-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.category {
    width: 30%;
    margin-bottom: 20px;
    text-align: center;
}

.category img {
    max-height: 150px;
    margin: 0 auto 10px;
}

.category h3 {
    font-size: 20px;
}

/* Стили для списка преимуществ */
.list-unstyled {
    padding-left: 0;
    list-style: none;
}

/* Стили для объектов */
.object-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.object {
    width: 30%;
    margin-bottom: 20px;
    text-align: center;
}

.object img {
    max-height: 150px;
    margin: 0 auto 10px;
}

.object h3 {
    font-size: 20px;
}

/* Подключение шрифтов (укажите правильные пути к файлам) */
@font-face {
    font-family: "DINRegular";
    src: url("../fonts/dinproregular-webfont.eot");
    src: url("../fonts/dinproregular-webfont.woff") format("woff"),
         url("../fonts/dinproregular-webfont.ttf") format("truetype");
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "DINMedium";
    src: url("../fonts/dinpromedium-webfont.eot");
    src: url("../fonts/dinpromedium-webfont.woff") format("woff"),
         url("../fonts/dinpromedium-webfont.ttf") format("truetype");
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "DINBold";
    src: url("../fonts/dinprobold-webfont.eot");
    src: url("../fonts/dinprobold-webfont.woff") format("woff"),
         url("../fonts/dinprobold-webfont.ttf") format("truetype");
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "RobotoRegular";
    src: url("../fonts/Roboto-Regular.eot");
    src: url("../fonts/Roboto-Regular.woff") format("woff"),
         url("../fonts/Roboto-Regular.ttf") format("truetype");
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "RobotoMedium";
    src: url("../fonts/Roboto-Medium.eot");
    src: url("../fonts/Roboto-Medium.woff") format("woff"),
         url("../fonts/Roboto-Medium.ttf") format("truetype");
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "RobotoBold";
    src: url("../fonts/Roboto-Bold.eot");
    src: url("../fonts/Roboto-Bold.woff") format("woff"),
         url("../fonts/Roboto-Bold-.ttf") format("truetype");
    font-style: normal;
    font-stretch: normal;
}

@font-face {
    font-family: "AcuminProCondBold";
    src: url("../fonts/AcuminProCond-Bold.eot");
    src: url("../fonts/AcuminProCond-Bold.woff") format("woff"),
         url("../fonts/AcuminProCond-Bold.ttf") format("truetype");
    font-style: normal;
    font-stretch: normal;
}

.img-fluid {
	max-width:768px;
	
  }
  
.col-md-4 {
	margin-bottom: 22px;
  	width: 770px;
  	border:1px solid #e9e4e2;
  	text-align: center;	
  }

  
/* Стили для кнопки "гамбургер-меню" */
.menu-toggle {
    display: none; /* Скрываем на десктопе */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 20; /* Чтобы кнопка была над мобильным меню */
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #3f3d3d;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) { top: 0px; }
.menu-toggle span:nth-child(2), .menu-toggle span:nth-child(3) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

/* Стили для активной кнопки "гамбургер-меню" */
.menu-toggle.open span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Стили для мобильного меню */
.mobile-menu {
    display: none; /* Скрываем на десктопе */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 10; /* Чтобы меню было над контентом */
    padding-top: 80px; /* Отступ сверху */
    overflow-y: auto; /* Если меню не помещается на экран */
}

.mobile-menu-nav {
    text-align: center;
}

.mobile-menu-nav li {
    padding: 20px;
}

/* Кнопка "Вверх" (текстовая ссылка) */
.btt-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ea6720;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 999;
    font-family: "RobotoMedium", sans-serif; /* Добавим шрифт */
    font-size: 14px; /* Добавим размер шрифта */
}

.btt-button:hover {
    background-color: #3f3d3d;
}

.btt-button.show {
    opacity: 1;
    visibility: visible;
}



ul {
    list-style: none; /* Убираем стандартные маркеры списка */
    padding-left: 0; /* Убираем отступ слева, если он есть */
}

ul > li {
    position: relative; /* Для позиционирования псевдоэлемента */
    padding-left: 20px; /* Отступ для текста, чтобы не накладывался на треугольник */
    margin-bottom: 5px; /* Отступ между элементами списка */
    /*color: #fff; /* Белый цвет текста (по умолчанию) */
}

ul > li::before {
    content: '\25B6'; /* HTML мнемоника для треугольника (черный) */
    position: absolute;
    left: 0;
    top: 0;
    width: 15px; /* Ширина треугольника */
    height: 15px; /* Высота треугольника */
    background-color: #ea6720; /* Оранжевый фон */
    color: white; /* Белый цвет треугольника */
    border-radius: 3px; /* Небольшое скругление углов */
    text-align: center; /* Центрирование текста в треугольнике */
    line-height: 15px; /* Вертикальное центрирование текста */
    font-size: 12px; /* Размер текста в треугольнике */
}



/*Адаптив
*//*Медиа-запросы (адаптивность) - пример */
@media (max-width: 768px) {
	h2 {
	font-size: 28px;
	}
	p {
	font-size: 14px;
	}
	.container {
	padding: 0 10px;
	}
	.img-fluid {
	max-width:320px;  
	}
	.col-md-4 {
	max-width:320px;  
	}
	
	.menu-main-nav {
	display: none; /* Скрываем основное меню */
	}
	
	.menu-main__logo {
	margin-left: 10px;
	}
	
	.menu-toggle {
	display: block; /* Отображаем кнопку "гамбургер" */
	position: absolute;
	top: 20px;
	right: 20px;
	}
	
}


