/* Базовые сбросы и настройки шрифта */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f1f1f1; /* Основной фон белый */
    color: #333333; /* Основной текст темный */
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта */
.header {
    background-color: #1E1E1E;
    color: #f1f1f1;
    border-bottom: 1px solid #333333;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .logo a, .header .menu-list a {
    color: #f1f1f1;
}

.header .menu-list a:hover {
    color: #cccccc;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.menu-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu-list a {
    font-size: 16px;
    transition: color 0.2s;
}

.menu-list a:hover {
    color: #888888;
}
.main-content {
    background-color: #f1f1f1;
    padding-bottom: 60px;
}
/* Главный баннер */
.hero-section {
    margin-top: 40px;
    margin-bottom: 60px;
    background-color: #f9f9f9; /* Светло-серый акцент для главного блока */
    border: 1px solid #eeeeee;
    color: #1E1E1E;
}

.hero-content {
    background-color: #111111;
    border: 1px solid #333333;
    padding: 60px 40px;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #f1f1f1;
}

.hero-content p {
    font-size: 18px;
    color: #cccccc;
    margin-bottom: 30px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #f1f1f1;
    color: #1E1E1E;
    font-weight: bold;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #cccccc;
}

/* Сетка контента */
.grid-section {
    margin-bottom: 80px;
}

.section-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #333333;
    padding-bottom: 10px;
}

.section-header h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: #1E1E1E;
    border-bottom: 2px solid #1E1E1E;
    display: inline-block;
    padding-bottom: 5px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {


    display: flex;
    flex-direction: column;
    background-color: #f1f1f1;
    border: 1px solid #dddddd;
    color: #333333;
}

.card-image {
    height: 200px;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333333;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1E1E1E;
}

.card-body p {
    font-size: 14px;
    color: #999999;
}
.card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
/* --- Выделенный блок (Highlight Section) --- */
.highlight-section {
    background-color: #f0f0f0; /* Светло-серый фон для выделения */
    padding: 10px 0;
    text-align: left;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px; /* Отступ до следующего блока */
}

.highlight-content {
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-content h2 {
    font-size: 38px;
    color: #000000;
    margin-bottom: 25px;
    line-height: 1.2;
}

.highlight-content p {
    font-size: 18px;
    color: #555555;
    margin-bottom: 40px;
}

.highlight-content .btn {
    background-color: #000000;
    color: #ffffff;
    padding: 18px 45px;
    font-size: 16px;
    border-radius: 4px;
}

.highlight-content .btn:hover {
    background-color: #333333;
}
.contacts-section {
    background-color: #f1f1f1;
    color: #1E1E1E;
    border-top: 1px solid #eeeeee;
}

.contact-item h3 {
    color: #1E1E1E;
}

.contact-item p, .contact-item a {
    color: #555555;
}

/* Подвал */
.footer-main {
    background-color: #3C3C3B;;
    color: #f1f1f1;
    padding: 80px 0 40px;
    border-top: 1px solid #1a1a1a;
    font-size: 14px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
    color: #f1f1f1;
}

.footer-description, 
.footer-col ul li a {
    color: #f1f1f1;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a,
.footer-col.contacts p {
    padding: 5px 0px;
    color: #f1f1f1
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #888888;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.footer-description {
    color: #f1f1f1;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-link:hover {
    background: #fff;
    color: #000;
}

.phone-link {
    font-size: 18px;
    font-weight: bold;
    color: #fff !important;
}

/* Нижняя часть футера */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    display: flex;
    justify-content: space-between;
    color: #fffff;
}

.legal-links a {
    margin-left: 20px;
    color: #f1f1f1;
    text-decoration: none;
}

.legal-links a:hover {
    color: #888;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col.info {
        grid-column: span 2;
    }
}






/* Кнопка в меню */
.callback-trigger {
    border: 1px solid #f1f1f1;
    padding: 5px 15px;
    border-radius: 4px;
    transition: all 0.3s;
}

.callback-trigger:hover {
    background: #f1f1f1;
    color: #1E1E1E !important;
}

/* Модальное окно */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9); /* Затемнение фона */
}

.modal-content {
    background-color: #f1f1f1;
    margin: 15% auto;
    padding: 40px;
    border: 1px solid #333;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover { color: #fff; }

#callbackForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
}

#callbackForm input {
    background: #f1f1f1;
    border: 1px solid #333;
    padding: 12px;
    color: #fff;
    font-size: 16px;
    outline: none;
}

#callbackForm input:focus {
    border-color: #fff;
}