/* ===== ЛОГОТИП ===== */
.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #e31e24;
    text-decoration: none;
}

.logo:hover {
    opacity: 0.8;
}

/* ===== КНОПКИ НАВИГАЦИИ ===== */
.nav-links a,
.dropdown-btn {
    text-decoration: none;
    color: #2d2d2d;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    background: white;
    border: 1px solid #e0e0e0;
    font-family: inherit;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    border-radius: 40px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.nav-links a:hover,
.dropdown-btn:hover {
    background: #f9f9f9;
    color: #666;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.dropdown-btn {
    gap: 4px;
}

/* ===== HERO ТЕГ ===== */
.hero-tag {
    display: inline-block;
    background: #e31e24;
    color: white;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

/* ===== КАРТОЧКИ УСЛУГ ===== */
.service-card {
    background: #ffffff;
    padding: 0;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid #eef2ee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    will-change: transform;
}


.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: #d4e0d4;
}


.service-icon {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5f7f5;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-img {
    transform: scale(1.03);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 20px 12px;
    color: #1a2a1f;
    line-height: 1.3;
}

.service-features {
    list-style: none;
    padding: 0 20px;
    margin: 0 0 20px;
    flex: 1;
}

.service-features li {
    font-size: 14px;
    color: #4a5b4a;
    padding: 6px 0;
    border-bottom: 1px dashed #e8f0e8;
    line-height: 1.4;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-btn {
    background: #e31e24;
    color: white;
    border: none;
    padding: 12px 20px;
    margin: 0 20px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: center;
    will-change: transform;
}

.service-btn:hover {
    background: #c41a1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

.service-btn:active {
    transform: translateY(0);
}

.section-title {
    text-align: left;
    margin-bottom: 40px;
}

.section-title-red {
    color: #e31e24;
}

/* ===== БЕГУЩАЯ СТРОКА ===== */
.marquee-content span {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    margin-right: 50px;
    letter-spacing: 1px;
}

.marquee-content span::before {
    content: '•';
    margin-right: 20px;
    color: #999;
    font-size: 24px;
    vertical-align: middle;
}

.marquee-content span:first-child::before {
    display: none;
}

/* Разные цвета для бегущей строки */
.marquee-content span:nth-child(1),
.marquee-content span:nth-child(8),
.marquee-content span:nth-child(15) { color: #1a1a1a; }

.marquee-content span:nth-child(2),
.marquee-content span:nth-child(9),
.marquee-content span:nth-child(16) { color: #e31e24; }

.marquee-content span:nth-child(3),
.marquee-content span:nth-child(10),
.marquee-content span:nth-child(17) { color: #2c5e2a; }

.marquee-content span:nth-child(4),
.marquee-content span:nth-child(11),
.marquee-content span:nth-child(18) { color: #1a1a1a; }

.marquee-content span:nth-child(5),
.marquee-content span:nth-child(12),
.marquee-content span:nth-child(19) { color: #e31e24; }

.marquee-content span:nth-child(6),
.marquee-content span:nth-child(13),
.marquee-content span:nth-child(20) { color: #2c5e2a; }

.marquee-content span:nth-child(7),
.marquee-content span:nth-child(14),
.marquee-content span:nth-child(21) { color: #1a1a1a; }

/* ===== КОНТАКТЫ ===== */
.contact-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eef2ee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: #d4e0d4;
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #1a2a1f;
}

.contact-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    color: #e31e24;
    text-decoration: none;
    padding-bottom: 4px;
    margin-top: 10px;
    transition: all 0.2s;
    border-bottom: 1px solid #f0d0d0;
}

.contact-link:hover {
    color: #c41a1f;
    border-bottom-color: #e31e24;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #4a5b4a;
}

.info-item .icon {
    font-size: 22px;
}

.info-item .inn {
    color: #8a9a8a;
    font-size: 14px;
}

/* ===== ФУТЕР ===== */
footer {
    background: #ffffff;
    padding: 32px 0;
    text-align: center;
    color: #8a9a8a;
    font-size: 13px;
    border-top: 1px solid #eef2ee;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #8a9a8a;
}

.footer-licenses {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.license-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #a0aea0;
    background: #f8faf8;
    padding: 4px 12px;
    border-radius: 40px;
    transition: all 0.2s ease;
    cursor: help;
}

.license-icon:hover {
    color: #e31e24;
    background: #fef0f0;
    transform: translateY(-2px);
}
.license-img {
    height: 40px;
    width: auto;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.license-img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Адаптация для мобильных 
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-licenses {
        gap: 12px;
    }
    
    .license-icon {
        font-size: 11px;
        padding: 3px 10px;
    }
}
*/
/* ===== ПРОЕКТЫ (СЛАЙДЕР) ===== */
.projects-slider-section {
    background: #ffffff;
}

.projects-slider-container {
    width: 100%;
}

.project-slide {
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* .project-main-title {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 32px;
    color: #1a2a1f;
    letter-spacing: -0.02em;
    text-align: left;
    width: fit-content;
} */

.project-content {
    display: flex;
    gap: 40px;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

.project-gallery {
    flex: 0 0 60%;
    min-width: 280px;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.gallery-main {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f7f5;
    width: 100%;
    min-height: 320px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
}

.gallery-main:hover img {
    transform: scale(1.05);
    opacity: 0.92;
}

.gallery-arrow {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #ffffff;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #2d2d2d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    will-change: transform;
}

.gallery-arrow:hover {
    background: #f5f5f5;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #ccc;
}

/* ===== БЛОК ОПИСАНИЯ ПРОЕКТА (исправленный) ===== */
.project-info {
    flex: 0 0 36%;
    min-width: 280px;
    max-width: 380px;
    background: #f8faf8;
    padding: 28px 24px;
    border-radius: 20px;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    overflow: visible;
}

.project-info .detail-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8ece8;
}

.project-info .detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-info .detail-label {
    font-weight: 700;
    font-size: 15px;
    min-width: 85px;
    color: #1a2a1f;
    letter-spacing: 0.3px;
    line-height: 1.5;
    padding-top: 0;
    padding-bottom: 0;
}

.project-info .detail-label::after {
    content: ":";
    margin-left: 2px;
}

.project-info .detail-value {
    font-weight: 500;
    font-size: 15px;
    color: #2d3a2d;
    line-height: 1.5;
    flex: 1;
    padding-top: 0;
    padding-bottom: 0;
}

/* ===== БЛОК СТАТИСТИКИ ===== */
#about {
    background: #f5f7f5;
    padding: 20px 0;
}

.about-stats-grid {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    gap: 0;
}

.stat-card {
    background: #f5f7f5;
    padding: 8px 12px;
    text-align: center;
    border: none;
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: #c8d4c8;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #e31e24;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.stat-number img {
    width: 28px;
    height: 28px;
    display: block;
}

.stat-number span {
    font-size: 28px;
    font-weight: 800;
    color: #e31e24;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: #1a2a1f;
    line-height: 1.3;
}

/* Адаптация 
@media (max-width: 992px) {
    .about-stats-grid {
        flex-wrap: wrap;
        gap: 0;
    }
    
    .stat-card {
        flex: 0 0 calc(33.33%);
        padding: 10px 8px;
    }
    
    .stat-card:not(:last-child)::after {
        display: none;
    }
    
    .stat-card:not(:last-child) {
        border-right: 1px solid #c8d4c8;
    }
}

@media (max-width: 768px) {
    .stat-card {
        flex: 0 0 50%;
    }
    
    .stat-card:nth-child(odd):not(:last-child) {
        border-right: 1px solid #c8d4c8;
    }
}

@media (max-width: 480px) {
    .stat-card {
        flex: 0 0 100%;
        border-right: none !important;
        border-bottom: 1px solid #c8d4c8;
    }
    
    .stat-card:last-child {
        border-bottom: none;
    }
}

/* Адаптация 
@media (max-width: 992px) {
    .about-stats-grid {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .stat-card {
        flex: 0 0 calc(33.33% - 12px);
        padding: 10px 8px;
    }
    
    .stat-card:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .stat-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 480px) {
    .stat-card {
        flex: 0 0 100%;
    }
}

@media (max-width: 1280px) {
    .about-stats-grid {
        max-width: 1000px;
    }
}

@media (max-width: 992px) {
    .about-stats-grid {
        flex-direction: column;
    }

    .stat-card {
        padding: 16px 24px;
    }
    
    .stat-card:not(:last-child)::after {
        display: none;
    }
    
    .stat-card:not(:last-child) {
        border-bottom: 1px solid #d4e0d4;
    }
}

@media (max-width: 600px) {
    .stat-number {
        font-size: 32px;
        white-space: normal;
    }

    .stat-label {
        font-size: 13px;
    }
}
*/
/* ===== ТЕНДЕРЫ ===== */
.tender-block {
    background: #ffffff;
    padding: 48px;
    border-radius: 24px;
    border: 1px solid #eef2ee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tender-block p {
    font-size: 16px;
    color: #4a5b4a;
    line-height: 1.6;
}

/* ===== ВЫПАДАЮЩЕЕ МЕНЮ КАТАЛОГА ===== */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1000;
    border: 1px solid #eef2ee;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #2d2d2d;
    font-size: 14px;
    font-weight: 450;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f8faf8;
    color: #e31e24;
    padding-left: 28px;
}

.dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
}

.dropdown-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ===== АДАПТАЦИЯ ===== *
@media (max-width: 1100px) {
    .project-gallery {
        flex: 1 1 500px;
        max-width: 100%;
    }
    
    .project-info {
        flex: 1 1 360px;
        max-width: 100%;
    }
    
    .gallery-main {
        min-height: 320px;
    }
    
    .project-info {
        height: auto;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .project-content {
        flex-direction: column;
        gap: 32px;
        min-height: auto;
        align-items: center;
    }
    
    .project-gallery {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .project-info {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        height: auto;
        min-height: auto;
    }
    
    .gallery-main {
        min-height: 320px;
        aspect-ratio: 16 / 9;
    }
    
    .project-main-title {
        font-size: 28px;
        margin-bottom: 24px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-gallery {
        gap: 12px;
    }
    
    .gallery-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .project-info .detail-row {
        min-height: 60px;
    }
    
    .project-info .detail-label {
        min-width: 85px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    
    .project-info .detail-value {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    
    .project-main-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-card {
        padding: 28px 20px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .tender-block {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .project-gallery {
        gap: 8px;
    }
    
    .gallery-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .project-info .detail-row {
        flex-direction: column;
        gap: 6px;
        min-height: auto;
    }
    
    .project-info .detail-label {
        min-width: auto;
        padding-top: 8px;
        padding-bottom: 0;
    }
    
    .project-info .detail-value {
        padding-top: 0;
        padding-bottom: 12px;
    }
    
    .project-main-title {
        font-size: 22px;
    }
}
    */
/* ===== СОЦИАЛЬНЫЕ СЕТИ В ШАПКЕ ===== */
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    justify-content: flex-end;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f7f5;
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    background: #e31e24;
}

.social-icon:hover svg path,
.social-icon:hover svg circle {
    fill: white;
    stroke: white;
}

/* Адаптация для мобильных 
@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
        margin-top: 6px;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
    }
}
    */
/* ===== ССЫЛКА НА СКАЧИВАНИЕ РЕКВИЗИТОВ ===== */
.rekvizit-link {
    color: #e31e24;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px dashed #e31e24;
}

.rekvizit-link:hover {
    color: #c41a1f;
    border-bottom-style: solid;
    transform: translateX(2px);
}
/* ===== КНОПКИ ТЕНДЕРОВ ===== */
.tender-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.tender-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    border: none;
    font-family: inherit;
    will-change: transform;
}

.tender-btn-email {
    background: #e31e24;
    color: white;
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.2);
}

.tender-btn-email:hover {
    background: #c41a1f;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.3);
}

.tender-btn-tg {
    background: #f5f7f5;
    color: #1a2a1f;
    border: 1px solid #e0e0e0;
}

.tender-btn-tg:hover {
    background: #e8f0e8;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.tender-btn:active {
    transform: translateY(0);
}

/* Адаптация для мобильных 
@media (max-width: 480px) {
    .tender-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .tender-buttons {
        gap: 12px;
    }
}
    */
/* ===== ПОЧЕМУ ВЫБИРАЮТ НАС (6 преимуществ) ===== */
.why-us {
    background: #ffffff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.advantage-card {
    background: #f8faf8;
    padding: 32px 28px;
    border-radius: 24px;
    border: 1px solid #eef2ee;
    text-align: center;
}

/*
.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
    border-color: #e0e8e0;
}
*/

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a2a1f;
}

.advantage-card p {
    font-size: 14px;
    color: #6b7a6b;
    line-height: 1.5;
}

/* Адаптация 
@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        padding: 28px 24px;
    }
    
    .advantage-card h3 {
        font-size: 18px;
    }
}
    */
/* ===== ИЗГОТОВЛЕНИЕ ДИЗАЙН-ПРОЕКТА ===== */
.design-project {
    background: #ffffff;
}

.design-project-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    background: linear-gradient(135deg, #f8faf8 0%, #ffffff 100%);
    border-radius: 32px;
    padding: 48px;
    border: 1px solid #eef2ee;
}

.design-project-content {
    flex: 1;
}

.design-project-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.design-project-content p {
    font-size: 16px;
    color: #4a5b4a;
    line-height: 1.6;
    margin-bottom: 24px;
}

.design-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.design-features li {
    font-size: 15px;
    color: #1a2a1f;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.design-features li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #e31e24;
    border-radius: 50%;
}

.design-btn {
    background: #e31e24;
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    font-family: inherit;
    will-change: transform;
}

.design-btn:hover {
    background: #c41a1f;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.3);
}

.design-btn:active {
    transform: translateY(0);
}

.design-project-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.design-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.design-project-image:hover img {
    transform: scale(1.03);
}

/* Адаптация 
@media (max-width: 992px) {
    .design-project-wrapper {
        flex-direction: column;
        padding: 32px;
        gap: 32px;
    }
    
    .design-project-content h2 {
        text-align: center;
    }
    
    .design-project-content p {
        text-align: center;
    }
    
    .design-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px 20px;
    }
    
    .design-btn {
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .design-project-wrapper {
        padding: 24px;
    }
    
    .design-features {
        grid-template-columns: 1fr;
    }
    
    .design-btn {
        width: 100%;
        text-align: center;
    }
}
    */
/* ===== МОДАЛЬНОЕ ОКНО ФОРМЫ ЗАЯВКИ ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    max-width: 500px;
    width: 90%;
    border-radius: 28px;
    position: relative;
    padding: 32px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #8a9a8a;
    transition: all 0.2s ease;
    font-family: inherit;
}

.modal-close:hover {
    color: #e31e24;
    transform: scale(1.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-header h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1a2a1f;
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 14px;
    color: #8a9a8a;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #1a2a1f;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e31e24;
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 12px;
    color: #6b7a6b;
    cursor: pointer;
}

.form-submit {
    background: #e31e24;
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 8px;
}

.form-submit:hover {
    background: #c41a1f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 30, 36, 0.3);
}

.form-submit:active {
    transform: translateY(0);
}
/* ===== ИНДИВИДУАЛЬНЫЕ ЗАГОЛОВКИ ===== */
/* Красный цвет для "Наши услуги" - ЛЮБОЙ вариант */
#services h2,
.services-section h2,
section:first-of-type h2,
section:nth-of-type(2) h2 {
    color: #e31e24 !important;
}

/* "Почему выбирают нас" - красный и левый край */
#why-us h2,
.why-us-section h2,
section:nth-of-type(3) h2 {
    color: #e31e24 !important;
    text-align: left !important;
}
/* Миниатюры под фото */
.gallery-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumbnail.active {
    border-color: #e31e24;
    transform: scale(1.02);
}

.thumbnail:hover {
    border-color: #e31e24;
    opacity: 0.8;
}

/* Стрелки переключения фото */
.gallery-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.photo-arrow {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-arrow:hover {
    background: #e31e24;
    color: white;
    border-color: #e31e24;
}
/* Обводка для блока "Гарантия качества" */
.hero-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #cccccc;  /* серая обводка */
    padding: 8px 20px;
    border-radius: 40px;
    background: transparent;
}
/* Чтобы иконки в кнопках нормально встали рядом с текстом */
.hero-btn,
.hero-guarantee {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    will-change: transform;
}

.hero-btn img,
.hero-guarantee img {
    display: block;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    display: block;
    height: 32px;
    width: auto;
}

.logo span {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #e31e24;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    display: block;
    height: 32px;
    width: auto;
}

.logo span {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #e31e24;
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.nav-phones {
    display: flex;
    gap: 16px;
}

.nav-phone {
    font-weight: 600;
    font-size: 15px;
    color: #1a2a1f;
    text-decoration: none;
}

.nav-phone:hover {
    color: #e31e24;
}

.nav-email {
    font-size: 13px;
    color: #8a9a8a;
    text-decoration: none;
}

.nav-email:hover {
    color: #e31e24;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f5f7f5;
    transition: all 0.2s;
}

.social-icon:hover {
    background: #e31e24;
    transform: translateY(-2px);
}

.social-icon img {
    display: block;
    width: 16px;
    height: 16px;
}
/*
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-contact {
        align-items: center;
        text-align: center;
    }
    
    .nav-phones {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }
}
*/
/* Анимация появления при скролле */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}


/* 1. Появление карточек */
/* Подпрыгивание карточек услуг */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #e31e24;
}

/* Подчеркивание ссылок (без конфликта) */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e31e24;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Мерцание кнопки (если нужно) */
.hero-btn {
    animation: gentlePulse 2s infinite;
}

@keyframes gentlePulse {
    0% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(227, 30, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0); }
}

.service-img,
.gallery-main img,
.design-project-image img {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.thumbnail {
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail.active {
    transform: scale(1.05);
    border-color: #e31e24;
}
