*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: #3a3a3a; font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* Шапка сайта */
.site-header { padding: 10px 0; }
.header-inner { display: flex; align-items: center; min-height: 112px; }
.header-logo { width: 300px; height: 112px; margin-left: 100px; flex-shrink: 0; }
.header-logo img { display: block; width: 300px; height: 112px; }
.header-decoration { width: 328px; height: 112px; flex-shrink: 0; background: url(../images/logotype_1.jpg) no-repeat left center; }
.header-contacts { width: 239px; min-height: 112px; flex-shrink: 0; background: url(../images/logotype_2.jpg) no-repeat left center; }
.phone-block { padding: 10px 0 0 20px; font-family: Trebuchet MS, Arial, sans-serif; font-size: 14px; line-height: 20px; color: #757d7f; }
.phone-block em { display: block; color: #020202; font-style: normal; }

/* Главное меню */
.main-navigation { min-height: 50px; background: #f8f8f8; border-top: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7; }
.navigation-inner { display: flex; align-items: stretch; min-height: 50px; }
.cloud-link { display: inline-flex; align-items: center; min-height: 50px; padding: 0 18px; background: #addaf3; color: #000; font-weight: bold; text-decoration: none; }
.cloud-link:hover, .cloud-link:focus-visible { background: #95ccec; color: #000; }

/* Баннер */
.main-content { padding-top: 20px; }
.main-banner { margin-bottom: 20px; }
.main-banner img { display: block; width: 100%; height: auto; }
/* Логотипы производителей */
.brands-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0 0 25px; }
.brand-item { display: flex; align-items: center; justify-content: center; min-height: 95px; padding: 5px; }
.brand-item img { display: block; max-width: 100%; max-height: 90px; width: auto; height: auto; object-fit: contain; filter: none; opacity: 1; }

/* Информация о компании */
.full-info { padding-bottom: 20px; color: #3a3a3a; font-family: Verdana, Geneva, sans-serif; font-size: 13px; line-height: 20px; }
/* Подвал */
.site-footer { background: #eaeaea; }
.footer-inner { padding-top: 10px; padding-bottom: 20px; color: #242424; font-size: 13px; line-height: 20px; }

/* Планшеты */
@media (max-width: 1100px) {
.header-logo { margin-left: 0; }
.header-decoration { flex: 1 1 auto; min-width: 0; background-size: contain; }
.brands-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Смартфоны */
@media (max-width: 700px) {
.header-inner { flex-wrap: wrap; justify-content: center; gap: 10px; }
.header-logo { max-width: 100%; width: 300px; }
.header-decoration { display: none; }
.header-contacts { background: none; width: 100%; min-height: 0; text-align: center; }
.phone-block { padding: 5px; }
.navigation-inner { justify-content: center; }
.cloud-link { justify-content: center; text-align: center; }
.brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.brand-item { min-height: 75px; }
.brand-item img { max-height: 70px; }
}
@media (max-width: 420px) {
.brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
