/* ======================================= */
/* НОВАЯ ЦВЕТОВАЯ ПАЛИТРА      */
/* ======================================= */
:root {
    --main-green: #1a535c; /* Темно-зеленый для основного бренда */
    --accent-orange: #ff6b35; /* Яркий оранжевый для призыва к действию */
    --light-grey: #f4f7f6; /* Светло-серый фон */
    --text-dark: #333333; /* Почти черный для основного текста */
    --text-light: #fefefe; /* Белый для текста на темном фоне */
    --border-color: #e0e0e0; /* Легкая граница */
    --shadow-color: rgba(0, 0, 0, 0.05); /* Легкая тень */
}

/* ======================================= */
/* ОБЩИЕ СТИЛИ И ШРИФТЫ        */
/* ======================================= */
body {
    /* Roboto для основного текста */
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--text-light);
}

h1, h2, h3, h4 {
    /* Montserrat для заголовков */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--main-green);
}

.container {
    max-width: 1200px; /* Немного шире */
    margin: 0 auto;
    padding: 0 20px;
}

.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.bg-light {
    background-color: var(--light-grey);
}

/* ======================================= */
/* КНОПКИ                  */
/* ======================================= */
.img_banner {
    display:none;
}
.btn {
    padding: 0.8rem 2.5rem;
    text-decoration: none;
    border-radius: 50px; /* Сильное скругление */
    display: inline-block;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    background-color: #e85a22; /* Темнее оранжевый */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background-color: #FFF;
    border: 2px solid var(--main-green);
    color: var(--main-green);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--main-green);
    color: var(--text-light);
}

.btn-dark-2 {
    background-color: var(--main-green);
    color: var(--text-light);
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 400;
}

.w-100 {
    width: 100%;
}
.center-call-to-action {
    text-align: center;
    margin-top: 3rem;
}

/* ======================================= */
/* НАВИГАЦИЯ                 */
/* ======================================= */
.navbar {
    background-color: var(--main-green);
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-orange);
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

/* ======================================= */
/* ГЛАВНЫЙ БЛОК (HEADER)         */
/* ======================================= */
#main-header {
    background: linear-gradient(rgba(26, 83, 92, 0.85), rgba(26, 83, 92, 0.85)), url('header-background.jpg') no-repeat center center/cover;
    color: var(--text-light);
    text-align: left; /* Изменили выравнивание */
    padding: 8rem 0 10rem 0;
}

#main-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-light);
}

#main-header p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ======================================= */
/* ОБЩИЕ СТИЛИ СЕКЦИЙ            */
/* ======================================= */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* ======================================= */
/* МАКЕТ СЕТКИ (ROW/COL)            */
/* ======================================= */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px; /* Для отступов внутри */
}

.col, .col-half, .col-third {
    padding: 15px;
    box-sizing: border-box;
}

.col {
    flex: 1 1 25%; /* 4 колонки */
}

.col-half {
    flex: 1 1 50%; /* 2 колонки */
}

.col-third {
    flex: 1 1 33.333%; /* 3 колонки */
}

@media (max-width: 992px) {
    .col {
        flex: 1 1 50%;
    }
    .col-third {
        flex: 1 1 50%;
    }
}

@media (max-width: 768px) {
    .col, .col-half, .col-third {
        flex: 1 1 100%;
        margin-top: 20px;
    }
    #main-header h1 {
        font-size: 2.5rem;
    }
    .navbar .container {
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        margin-top: 10px;
    }
    .nav-links a {
        margin: 0 10px;
    }
}

/* ======================================= */
/* КАРТОЧКИ                  */
/* ======================================= */

.card {
    border: none;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    /* Увеличенная тень для современного вида */
    box-shadow: 0 10px 30px var(--shadow-color);
    background-color: var(--text-light);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card img {
    max-width: 80px; /* Меньше иконки */
    height: auto;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--main-green);
    margin-top: 0;
    margin-bottom: 10px;
}

.card-text {
    color: var(--text-dark);
    font-size: 1rem;
}

/* ======================================= */
/* СЕКЦИЯ ЦЕН (RATES)             */
/* ======================================= */

.price-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    background-color: var(--text-light);
    height: 100%;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.price-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2);
}

.price-card .card-title {
    color: var(--main-green);
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.price-from {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent-orange);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.price-card.recommended {
    border-color: var(--accent-orange);
    background-color: #fff9f6; /* Легкий оранжевый фон */
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.15);
}

.price-card .btn {
    margin-top: 2rem;
}

/* ======================================= */
/* СЕКЦИЯ ПРОЦЕССА (PROCESS)      */
/* ======================================= */

#process img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px var(--shadow-color);
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.step-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-orange);
    background-color: var(--main-green);
    color: var(--text-light);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border: 3px solid var(--accent-orange);
}

.step-title {
    font-size: 1.3rem;
    margin-top: 0;
}

/* ======================================= */
/* СЕКЦИЯ УСЛУГ (SERVICE-LIST)   */
/* ======================================= */
.service-card {
    padding: 1.5rem;
    text-align: left;
    height: auto;
}

.service-card .card-title {
    font-size: 1.3rem;
    color: var(--accent-orange);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* ======================================= */
/* СПИСКИ (LISTS)                */
/* ======================================= */
.list-unstyled {
    list-style: none;
    padding-left: 0;
}

.list-unstyled li {
    padding: 0.4rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

/* Новые стили для элементов списка */
.price-card .list-unstyled li::before {
    content: "✓";
    color: var(--main-green);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    margin-right: 5px;
}

/* ======================================= */
/* БЛОК БРЕНДОВ                  */
/* ======================================= */
.brands-grid .row {
    justify-content: center;
    margin-top: 3rem;
}
.brand-logo {
    flex: 0 0 16.666%; /* 6 колонок на широком экране */
    text-align: center;
    padding: 20px;
}
.brand-logo img {
    max-width: 100px;
    height: auto;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s;
}

.brand-logo img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .brand-logo {
        flex: 0 0 33.333%; /* 3 колонки на мобильном */
    }
}

/* ======================================= */
/* БЛОК КОНТАКТОВ               */
/* ======================================= */

.contact-section .form-card {
    padding: 2.5rem;
    background-color: var(--text-light);
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 30px;
}

.contact-section .form-card .card-title {
    color: var(--accent-orange);
    font-size: 1.8rem;
}

.contact-details {
    padding-left: 30px;
}

.contact-details p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-label {
    font-weight: 700;
    color: var(--main-green);
    display: block;
}
.contact-value {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
}
.contact-value:hover {
    text-decoration: underline;
}

/* ======================================= */
/* ФОРМЫ                     */
/* ======================================= */
.form-card form, #callbackForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.form-control {
    width: 98%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--accent-orange);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

/* ======================================= */
/* ФУТЕР (FOOTER)               */
/* ======================================= */
.main-footer {
    background-color: var(--main-green);
    color: var(--light-grey);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
    border-top: 5px solid var(--accent-orange);
}

.main-footer a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

.main-footer a:hover {
    color: var(--accent-orange);
}

/* ======================================= */
/* МОДАЛЬНЫЕ ОКНА               */
/* ======================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}

.modal-content {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: 2px solid var(--accent-orange);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.modal-title {
    color: var(--main-green);
    font-size: 1.8rem;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 36px;
    line-height: 1;
    color: var(--main-green);
}
.article-more-content {
    display: none;
}
.read-more-container {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;

}
.read-more-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.read-more-btn:hover {
    background-color: #45a049;
}
    @media screen and (max-width: 600px) {
    .img_banner {
        display:block;
        width: 100%;
        height: auto;
    }

    #target-block {
        width: 100%;
    }
}