* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.header-panel {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.header-location-text {
    font-weight: 400;
    font-size: 14px;
    color: #999999;
    margin-left: 5px;
}

.header_container {
    margin: 0 auto;
    width: 1200px;
    display: flex;
    align-items: center;
}


/* Номер телефона в шапке — старый цвет (как был изначально) */
.contact-link {
    font-size: 16px;
    line-height: 24px;
    padding-top: 5px;
    color: #2d2d2d;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;

}

.title-middle {
    padding: 10px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 28px;
}

.item-contact {
    display: flex;
    align-items: start;
}


.contact-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Кнопка "Заказать звонок" — квадратная, высота больше, отступ снизу */
.contact-button {
    border: none;
    background-color: #2a9126;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    padding: 8px 16px;
    min-width: 130px;
    text-align: center;
    margin-bottom: 5px;
}

.container {
    margin: 0 auto;
    width: 1200px;
}

.decore{
font-size: 30px;
}

.navigation {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    background: #2d2d2d;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navigation-list {
    display: flex;
    list-style: none;
}

.navigation-li {
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 0.3px solid #707070;
    height: 50px;
    gap: 10px;
    padding: 0px 10px;
}

.navigation-li:last-child {
    border-right: 0.3px solid #707070;
}

.navigation-link {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    line-height: 21px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.navigation-li:hover {
    background: #707070;
    transition: all .3s;
}

.green {
    color: #34b52f;
}

.section-hero {
    background: url(NOVA_6.jpg);
    background-size: cover;
    background-position: center;
    height: 850px;
    padding: 80px 0px;
    margin-bottom: 90px;
    position: relative;
}

.section-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.section-hero .container {
    position: relative;
    z-index: 2;
}

.title-middle_two {
    margin-top: 100px;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
}

.title-big {
    margin: 20px 0px 40px;
    font-size: 46px;
    font-weight: 800;
    width: 70%;
    color: #fff;
}

.hero-link {
    padding: 10px;
    color: #ffff;
    background: #34b52f;
    text-decoration: none;
    display: inline-block;
}

.hero-text {
    margin-top: 20px;
    display: flex;
}

.text {
    font-weight: 600;
    font-size: 20px;
    color: #fff;
}

.section-service {
    margin-bottom: 100px;
}

.service-title {
    padding: 10px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

.service-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-item {
    width: 370px;
    display: flex;
    flex-direction: column;
    padding: 2%;
}

.service-item:hover {
    box-shadow: 2px 2px 10px #707070;
    transition: all .5s;
}

.item-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #e8e8e8;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: #e8e8e8;
}

.title-small {
    margin: 10px 0px;
}

.service-text {
    font-size: 14px;
    color: #999999;
    margin-bottom: 10px;
}

.link {
    padding: 5px;
    background: #34b52f;
    color: #fff;
    text-decoration: none;
    width: 90px;
    text-align: center;
}

.logo-img {
    max-width: 100px;
    height: auto;
}

/* Оплата и сроки */
.section-payment {
    margin-bottom: 100px;
}
.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.payment-card {
    width: 270px;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 20px;
    text-align: center;
}
.payment-card h3 {
    font-size: 18px;
    margin: 0 0 10px 0;
}
.payment-card p {
    font-size: 14px;
    color: #666;
}

/* Наши работы - карусель слайдер */
.section-works {
    margin-bottom: 100px;
    position: relative;
}
.works-slider-container {
    position: relative;
    overflow: hidden;
}
.works-slider {
    overflow: hidden;
    margin: 0 40px;
}
.works-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
}
.work-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 250px;
    text-align: center;
}
.work-img {
    width: 100%;
    height: 200px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.work-item h4 {
    margin: 10px 0 5px;
    font-size: 16px;
}
.work-item p {
    font-size: 13px;
    color: #999;
}
.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #34b52f;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    border-radius: 50%;
}
.slider-btn:hover {
    background: #2a9126;
}
.prev-btn {
    left: 0;
}
.next-btn {
    right: 0;
}
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;

}
.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    cursor: pointer;
    border-radius: 50%;
}
.dot.active {
    background: #34b52f;
}

/* Intro преимущества с иконками */
.section-intro {
    margin-bottom: 100px;
}
.intro-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}
.intro-item {
    width: calc(33.333% - 20px);
    margin: 0 10px 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.item-titel {
    display: flex;
    align-items: center;
    gap: 10px;
}
.title-figure {
    width: 50px;
    height: 50px;
    background: #34b52f;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.title-figure svg {
    width: 28px;
    height: 28px;
}
.title-text {
    font-weight: 600;
    font-size: 16px;
}
.item-info {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* О нас */
.section-about {
    padding: 40px 0;
    background: #f9f9f9;
    margin-bottom: 100px;
}
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}
.about-text {
    flex: 1.5;
}
.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
    font-size: 15px;
}
.about-link {
    display: inline-block;
    padding: 10px 20px;
    background: #34b52f;
    color: #fff;
    text-decoration: none;
}
.about-link:hover {
    background: #2a9126;
}
.about-numbers {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.number-item {
    text-align: center;
    min-width: 120px;
}
.number {
    font-size: 36px;
    font-weight: 800;
    color: #34b52f;
    display: block;
}
.number-label {
    font-size: 14px;
    color: #666;
}

/* Отзывы анимированные */
.section-reviews {
    margin-bottom: 100px;
    overflow: hidden;
}
.reviews-slider {
    overflow: hidden;
}
.reviews-track {
    display: flex;
    gap: 20px;
    animation: scrollReviews 25s linear infinite;
    width: fit-content;
}
.reviews-track:hover {
    animation-play-state: paused;
}
.review-item {
    width: 320px;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 20px;
    flex-shrink: 0;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.review-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}
.review-rating {
    color: #ffc107;
    font-size: 14px;
}
.review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}
@keyframes scrollReviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Футер */
.footer {
    background: #2d2d2d;
    color: #ccc;
    padding: 40px 0 20px;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #444;
}
.footer-col {
    flex: 1;
    min-width: 180px;
}
.footer-logo {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}
.footer-desc {
    font-size: 13px;
}
.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}
.footer-phone {
    display: block;
    color: #34b52f;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.footer-address, .footer-worktime {
    font-size: 13px;
    margin-bottom: 8px;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 8px;
}
.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
}
.footer-links a:hover {
    color: #34b52f;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: #888;
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-container {
    background: #fff;
    max-width: 450px;
    width: 90%;
    padding: 30px 25px;
    border-radius: 12px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}
.modal-close:hover {
    color: #333;
}
.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d2d2d;
}
.modal-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}
.modal-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    box-sizing: border-box;
    outline: none;
}
.modal-input:focus {
    border-color: #34b52f;
}
.modal-submit {
    width: 100%;
    background: #34b52f;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}
.modal-submit:hover {
    background: #2a9126;
}
.form-status {
    margin-top: 15px;
    font-size: 13px;
    color: #34b52f;
}
.form-status.error {
    color: #e74c3c;
}

/* ========== АДАПТИВНОСТЬ ========== */

@media (max-width: 1200px) {
    .container,
    .header_container {
        width: 100%;
        padding: 0 15px;
    }
    .title-big {
        width: 80%;
        font-size: 40px;
    }
    .work-item {
        flex: 0 0 calc(33.333% - 14px);
    }
    .service-item {
        width: calc(33.333% - 14px);
        min-width: 280px;
    }
}

@media (max-width: 992px) {
    .service-items {
        justify-content: center;
    }
    .service-item {
        width: 45%;
    }
    .title-big {
        font-size: 36px;
        width: 90%;
    }
    .title-middle_two {
        font-size: 30px;
        margin-top: 60px;
    }
    .section-hero {
        height: auto;
        min-height: 650px;
        padding: 60px 0;
    }
    .intro-item {
        width: calc(50% - 20px);
    }
    .work-item {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .header_container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .contact-block{
        display: flex;
        flex-direction: row;
    }
    .contact-link{
        width: 131px;
        height: 31px;
        text-align: center;
    }
    .title-middle {
        font-size: 20px;
        text-align: center;
    }
    .service-item {
        width: 100%;
        max-width: 400px;
    }
    .service-items {
        flex-direction: column;
        align-items: center;
    }
    .title-big {
        font-size: 28px;
        width: 100%;
    }
    .title-middle_two {
        font-size: 24px;
        margin-top: 40px;
    }
    .text {
        font-size: 16px;
    }
    .section-hero {
        padding: 40px 0;
        min-height: 500px;
    }
    .navigation {
        height: auto;
        position: relative;
    }
    /* Меню в 2 строки вместо 3 */
    .navigation-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
        max-width: 500px;
        margin: 0 auto;
    }
    .navigation-li {
        border: none;
        padding: 0px 8px;
    }
    .navigation-li:last-child {
        border: none;
    }
    .navigation-link {
        padding: 8px 10px;
        font-size: 11px;
        white-space: nowrap;
    }
    .intro-item {
        width: calc(100% - 20px);
    }
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .payment-card, .work-item {
        width: 100%;
        max-width: 300px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .footer-links li {
        margin-bottom: 0;
    }
    .works-slider {
        margin: 0 30px;
    }
    .work-item {
        flex: 0 0 calc(100% - 0px);
        min-width: 260px;
    }
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

@media (max-width: 550px) {
    /* Меню все равно в 2 строки, но шрифт чуть меньше */
    .navigation-list {
        max-width: 100%;
        gap: 3px;
    }
    .navigation-li {
        padding: 0px 5px;
    }
    .navigation-link {
        font-size: 9px;
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    .title-big {
        font-size: 24px;
    }
    .decore{
    font-weight: 800;
    }
    .title-middle_two {
        font-size: 20px;
    }
    .contact-link {
        font-size: 16px;
    }
    .title-middle {
        font-size: 16px;
        padding: 5px;
    }
    .service-title {
        font-size: 24px;
    }
    .item-img {
        height: 220px;
    }
    .review-item {
        width: 280px;
    }
    .logo-img {
        max-width: 80px;
    }
    .works-slider {
        margin: 0 20px;
    }
    /* Меню в 2 строки, очень компактно */
    .navigation-list {
        gap: 2px;
    }
    .navigation-link {
        font-size: 8px;
        padding: 5px 6px;
    }
}
