:root {
    --orange: #F36F21;
    --blue: #2662b8;
    --dark: #2A2A2A;
    --light-gray: #F5F5F5;
    --text-gray: #333333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Только для заголовка ЛУЧШИЕ ПРОЕКТЫ */
.section-title-compact::after {
    bottom: -8px !important;
}


/* --- КОНТАКТЫ И КАРТА --- */
.contacts-map-section {
    background: #fff;
}

.contacts-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container {
    height: 100%;
    min-height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contacts-info-wrapper {
    background: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: 0.4s;
}

.contact-info-card:hover {
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.contact-info-card .contact-icon {
    width: 60px;
    height: 60px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-info-card .contact-icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.contact-info-card h3 {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-info-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.contact-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.contact-link:hover {
    color: var(--blue);
}

.contact-note {
    font-size: 13px;
    margin-top: 10px;
}

/* РЕЖИМ РАБОТЫ */
.work-hours-section {
    background: #f9f9f9;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.hours-card {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: 0.4s;
}

.hours-card:hover {
    border-color: var(--orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hours-icon {
    width: 60px;
    height: 60px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.hours-icon svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.hours-card h4 {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--dark);
}

.hours-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* --- УЛУЧШЕННЫЙ ЗАПРОС КП --- */
.kp-section-enhanced {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.kp-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f1aa3c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.kp-enhanced-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.kp-left h2 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.2;
}

.kp-left > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
    line-height: 1.7;
}

.kp-benefits {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.kp-benefit {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.kp-benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kp-benefit-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.kp-benefit-text h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.kp-benefit-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.kp-contacts-mini {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.kp-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kp-contact-item svg {
    width: 20px;
    height: 20px;
    fill: var(--orange);
}

.kp-contact-item a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.kp-contact-item a:hover {
    color: var(--orange);
}

/* Форма */
.kp-right {
    background: #fff;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.kp-form-container h3 {
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--dark);
}

.kp-form-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row-modern label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.form-row-modern input,
.form-row-modern select,
.form-row-modern textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.3s;
    outline: none;
    font-family: inherit;
}

.form-row-modern input:focus,
.form-row-modern select:focus,
.form-row-modern textarea:focus {
    border-color: var(--orange);
}

.form-row-modern textarea {
    resize: vertical;
    min-height: 100px;
}

.kp-submit-modern {
    background: var(--orange);
    color: #fff;
    padding: 18px 40px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.kp-submit-modern svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    transition: 0.3s;
}

.kp-submit-modern:hover {
    background: #d9952b;
    transform: translateX(5px);
}

.kp-submit-modern:hover svg {
    transform: translateX(5px);
}

.form-privacy {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 15px;
    text-align: center;
}

.form-privacy svg {
    width: 16px;
    height: 16px;
    fill: var(--orange);
    flex-shrink: 0;
}

.form-privacy a {
    color: var(--orange);
    text-decoration: none;
}

.form-privacy a:hover {
    text-decoration: underline;
}

/* СОЦИАЛЬНЫЕ СЕТИ */
.social-section {
    background: #f9f9f9;
}

.social-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.social-content h3 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--dark);
}

.social-content p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--dark);
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
    border: 2px solid #e0e0e0;
}

.social-link:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Адаптивность */
@media (max-width: 992px) {
    .contacts-map-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        min-height: 400px;
    }
    
    .contacts-info-wrapper {
        padding: 40px;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .kp-enhanced-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .kp-left h2 {
        font-size: 36px;
    }
    
    .kp-right {
        padding: 40px;
    }
}

@media (max-width: 600px) {
    .contacts-info-wrapper {
        padding: 30px;
    }
    
    .kp-left h2 {
        font-size: 28px;
    }
    
    .kp-right {
        padding: 30px;
    }
    
    .kp-form-container h3 {
        font-size: 22px;
    }
    
    .kp-submit-modern {
        width: 100%;
    }
}

/* --- КНОПКА НАВЕРХ ЯКОРЬ--- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(241, 170, 60, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--blue);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(30, 77, 142, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    transition: 0.3s;
}

.scroll-to-top:hover svg {
    transform: translateY(-3px);
}








/* ШАПКА */

header {
    background: #fff;
    border-top: 5px solid var(--orange);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    width: 100%;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px; 
    height: 100px;   
    position: relative;
    max-width: 1400px; 
    margin: 0 auto;
}

/* Логотип */
.logo {
    display: flex;
    align-items: center;
    height: 100%; 
    text-decoration: none;
    color: var(--blue);
    flex-shrink: 0; 
    transition: transform 0.3s ease;
    font-weight: 500;       
    font-size: 22px;        
    text-transform: uppercase;
}

.logo img {
    height: 150%;      
    max-height: 150px; 
    width: auto;      
    object-fit: contain;
    display: block;
}

/* Навигация с подчёркиванием */
.nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav a {
    text-decoration: none;
    color: var(--dark);
    padding: 10px 20px;
    font-size: 20px;
    position: relative;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--orange);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav a:hover,
.nav a.active {
    color: var(--blue);
}

.nav a:hover::before,
.nav a.active::before {
    width: 70%;
}

/* Кнопка с градиентом */
.cta-button {
    background: linear-gradient(135deg, var(--orange) 0%, #e89a2c 100%);
    color: #fff;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(241, 170, 60, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 170, 60, 0.4);
    border-color: var(--orange);
}

.cta-button:hover::before {
    left: 100%;
}

/* Гамбургер меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--dark);
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Адаптивность */
@media (max-width: 992px) {
    .header-flex {
        padding: 20px 30px;
    }
    
    .nav {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 85px);
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 10px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav a {
        width: 100%;
        text-align: center;
        padding: 15px;
        font-size: 18px;
    }
    
    .nav a::before {
        bottom: 5px;
    }
    
    .cta-button {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo img {
        height: 50px;
    }
}

@media (max-width: 600px) {
    .header-flex {
        padding: 15px 20px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo img {
        height: 45px;
        margin-right: 10px;
    }
}

/* --- 2. ГЛАВНОЕ ФОТО --- */
.hero-section {
    position: relative;
    height: 850px;
    background-color: #000;  
    background-image: linear-gradient(rgba(0, 0, 0, 0.568), rgba(0, 0, 0, 0.568)), 
                      url('../src/nain.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-content {
    position: relative;  
    max-width: 1400px;   
    margin: 0 auto;      
    padding: 0 50px;    
    left: auto;          
    top: auto;          
    transform: none;     
    width: 100%;         
    box-sizing: border-box;
}

.hero-title {
    color: #fff;
    font-size: 55px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 25px;
    text-align: left;  
}

.hero-highlight {
    color: var(--orange);
    display: block;
}

/* Статистика */
.stats-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 10px;  
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hero-content {
        padding: 0 30px;
    }
}

@media (max-width: 600px) {
    .hero-section {
        height: 500px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .stats-overlay {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }
}

/* --- СТАТИСТИКА --- */
.stats-overlay {
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 1100px;
    background: #333;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

.stat-item {
    color: #fff;
    padding: 50px 30px;
    text-align: center;
    border-right: 1px solid #444;
    transition: 0.4s;
    position: relative;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: var(--orange);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    display: block;
    margin-bottom: 15px;
    line-height: 1;
}

.stat-label {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.9;
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-label {
    color: #fff;
}

/* Иконки в статистике */
.stat-icon {
    width: 48px;
    height: 48px;
    fill: var(--orange);
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: 0.3s;
}

.stat-item:hover .stat-icon {
    fill: #fff;
    transform: scale(1.1);
}

/* --- ОБЩИЕ ЗАГОЛОВКИ --- */
section {
    padding: 80px 0;
}

h2 {
    font-size: 48px;
    text-transform: uppercase;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    font-weight: 400;
}

h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;  /* ← ИСПРАВЛЕНО */
    width: 70px;
    height: 5px;
    background: var(--orange);
}

/* --- 2. СЕТКА КАРТОЧЕК --- */
.achievements-section {
    padding: 160px 0 80px 0;
    background: #fff;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px; /* Увеличил зазор для эффекта смещенных рамок */
    max-width: 1300px;
    margin: 0 auto;
}

.achieve-card {
    position: relative;
    padding: 45px 35px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Строго по левому краю */
    text-align: left;
    transition: 0.3s ease-in-out;
    z-index: 1;
}

/* Белая/серая рамка-подложка */
.achieve-card::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    border: 1px solid #e0e0e0;
    z-index: -1;
    transition: 0.3s;
}

.card-dark { background: var(--dark); color: #fff; }
.card-orange { background: var(--orange); color: #fff; }

/* Иконки в карточках */
.achieve-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 25px;
}

.card-dark .achieve-icon { fill: var(--orange); }
.card-orange .achieve-icon { fill: #fff; }

/* Текст */
.achieve-card h3 {
    font-size: 28px;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.achieve-card p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 30px;
    opacity: 0.85;
}

/* Ссылка "Подробнее" */
.more-link {
    margin-top: auto;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.more-link::after {
    content: '';
    width: 25px;
    height: 2px;
    background: currentColor;
    transition: 0.3s;
}

/* Ховер эффекты */
.achieve-card:hover {
    transform: translate(-8px, -8px);
}

.achieve-card:hover::after {
    transform: translate(8px, 8px);
    border-color: var(--orange);
}

/* --- 4. КЕЙСЫ --- */
.cases-outer {
    position: relative;
    padding: 0 70px;
}

.case-slide-content {
    width: 100%;
    height: 550px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: var(--light-gray);
    border-radius: 4px;
}

.case-label {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.cases-outer .swiper-button-next,
.cases-outer .swiper-button-prev {
    color: var(--dark) !important;
}

.cases-outer .swiper-button-prev {
    left: 0;
}

.cases-outer .swiper-button-next {
    right: 0;
}

.swiper-pagination-cases {
    margin-top: 30px;
    position: relative !important;
}

/* --- 5. УСЛУГИ --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img-box {
    width: 100%;
    height: 350px;
    background: var(--light-gray);
    overflow: hidden;
    margin-bottom: 25px;
}

.service-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.service-card:hover .service-img-box img {
    transform: scale(1.1);
}

.service-name {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 25px;
    min-height: 30px;
    color: #333;
}

.service-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-serv {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
    text-align: center;
}

.btn-more {
    background: #444;
    color: #fff;
}

.btn-more:hover {
    background: var(--blue);
}

.btn-calc {
    background: var(--orange);
    color: #fff;
}

.btn-calc:hover {
    background: #333;
    transform: scale(1.05);
}

/* --- 6. КОМАНДА --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    filter: grayscale(100%);
    transition: 0.5s;
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    filter: grayscale(0%);
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #fff;
    transform: translateY(100%);
    transition: 0.4s;
}

.team-card:hover .team-info {
    transform: translateY(0);
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.team-position {
    font-size: 14px;
    color: var(--orange);
    font-weight: 500;
}

/* --- 7. КАК МЫ РАБОТАЕМ --- */
.process-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    border-left: 8px solid var(--orange);
    padding-left: 40px;
    transition: 0.3s;
}

.process-step:hover {
    border-left-width: 15px;
}

.process-step-number {
    font-size: 60px;
    font-weight: 900;
    color: #f0f0f0;
    line-height: 1;
    min-width: 80px;
}

.process-step-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
}

.process-step-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    line-height: 1.2;
}

.process-step-text {
    font-size: 16px;
    color: var(--text-gray);
    font-weight: 400;
    line-height: 1.5;
    max-width: 600px;
}

/* --- 8. ЛУЧШИЕ ПРОЕКТЫ --- */
.best-projects-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.best-project-item {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.4s;
}

.best-project-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    z-index: 1;
}

.best-project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.best-project-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
    color: #fff;
}

.best-project-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.best-project-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: #fff;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.best-project-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.4s;
}

.best-project-btn:hover::before {
    left: 0;
}

.best-project-btn:hover {
    background: #d9952b;
    transform: translateX(5px);
}

.best-project-btn .arrow {
    transition: 0.3s;
    font-size: 18px;
}

.best-project-btn:hover .arrow {
    transform: translateX(5px);
}

/* --- 9. ПАРТНЕРЫ --- */
.partners-slider-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 40px 0;
    position: relative;
}

.swiper-partners {
    padding: 20px 0;
}

.partner-logo-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: #fff;
    transition: 0.3s;
}

.partner-logo-slide img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}

.partner-logo-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partners-slider-container .swiper-button-prev,
.partners-slider-container .swiper-button-next {
    color: var(--dark) !important;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.partners-slider-container .swiper-button-prev:hover,
.partners-slider-container .swiper-button-next:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff !important;
}

/* --- 10. ДОКУМЕНТАЦИЯ --- */
.docs-slider-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 40px;
    position: relative;
    background: #fafafa;
}

.swiper-docs {
    padding: 10px 0;
}

.doc-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}

.doc-preview {
    width: 200px;
    height: 260px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.doc-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doc-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.doc-title {
    font-size: 14px;
    color: var(--text-gray);
    text-align: center;
    font-weight: 500;
}

.docs-slider-container .swiper-button-prev,
.docs-slider-container .swiper-button-next {
    color: var(--dark) !important;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.docs-slider-container .swiper-button-prev:hover,
.docs-slider-container .swiper-button-next:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff !important;
}

.docs-slider-container .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 12px;
    height: 12px;
    transition: 0.3s;
}

.docs-slider-container .swiper-pagination-bullet-active {
    background: var(--orange);
    width: 12px;
    height: 12px;
}

/* --- 11. FAQ --- */
.accordion {
    width: 100%;
}

.acc-item {
    border: 1px solid #ddd;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
    overflow: hidden;
}

.acc-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.acc-item.active {
    box-shadow: 0 8px 30px rgba(241, 170, 60, 0.2);
    border-left: 4px solid var(--orange);
}

.acc-header {
    padding: 45px 40px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 400;
    font-size: 20px;
    color: var(--dark);
    transition: 0.3s;
    min-height: 120px;
}

.acc-header:hover {
    color: var(--orange);
}

.acc-header span {
    font-size: 24px;
    color: var(--orange);
    transition: 0.4s;
    font-weight: 400;
}

.acc-item.active .acc-header span {
    transform: rotate(180deg);
}

.acc-body {
    padding: 0 40px;
    max-height: 0;
    overflow: hidden;
    transition: 0.5s ease-out;
    background: linear-gradient(to bottom, #fafafa, #fff);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
}

.acc-item.active .acc-body {
    padding: 0 40px 45px 40px;
    max-height: 600px;
    border-top: 1px solid #f0f0f0;
}

/* --- 12. ОТЗЫВ + СЕРТИФИКАТ --- */
.review-certificate-section {
    background: #3a3a3a;
    padding: 100px 0;
}

.review-cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.review-content {
    padding-left: 60px;
    padding-right: 40px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.review-certificate-section .review-author-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange);
}

.review-author-name {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review-text {
    color: #d0d0d0;
    font-size: 17px;
    line-height: 2;
    margin-bottom: 40px;
    font-weight: 400;
    text-align: left;
    max-width: 550px;
}

.review-text p {
    margin: 0;
}

.review-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--orange);
    color: #fff;
    padding: 16px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.review-btn:hover {
    background: #d9952b;
    transform: translateX(5px);
}

.review-btn .arrow {
    transition: 0.3s;
}

.review-btn:hover .arrow {
    transform: translateX(5px);
}

.cert-image-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 40px;
}

.cert-image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid #555;
}

/* --- 13. ОТЗЫВЫ  --- */
.reviews-slider-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 40px 0;
    position: relative;
    background: #fafafa;
}

.swiper-reviews {
    padding: 20px 0;
}

.review-slide-card {
    background: #e8e8e8;
    border-radius: 8px;
    padding: 35px;
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
    margin: 10px;
    position: relative;
}

.review-slide-card:hover {
    background: #e0e0e0;
    transform: translateY(-5px);
}

.review-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.reviews-slider-container .review-author-photo {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
}

.review-author-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
}

.review-preview-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
}

.review-preview-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(transparent, #e8e8e8);
    pointer-events: none;
}

.review-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
    align-self: flex-start;
}

.review-read-btn:hover {
    color: var(--blue);
}

.review-read-btn .arrow {
    transition: 0.3s;
}

.review-read-btn:hover .arrow {
    transform: translateX(5px);
}

.reviews-slider-container .swiper-button-prev,
.reviews-slider-container .swiper-button-next {
    color: var(--dark) !important;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.reviews-slider-container .swiper-button-prev:hover,
.reviews-slider-container .swiper-button-next:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff !important;
}

/* --- 14. КОНТАКТЫ --- */
.contacts-section {
    padding: 0;
}

.contacts-header {
    padding: 80px 0 40px 0;
}

.contacts-header h2 {
    font-size: 48px;
    text-transform: uppercase;
    margin-bottom: 0;
    position: relative;
    display: inline-block;
    font-weight: 400;
}

.contacts-header h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 70px;
    height: 5px;
    background: var(--orange);
}

.map-container {
    position: relative;
    height: 500px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contacts-info-box {
    position: absolute;
    top: 40px;
    left: 40px;
    background: #fff;
    padding: 40px;
    min-width: 350px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.contacts-city {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--orange);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-gray);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 24px;
    height: 24px;
    fill: var(--orange);
    flex-shrink: 0;
}

.contact-text {
    color: var(--dark);
    font-weight: 500;
}

.map-open-link {
    position: absolute;
    bottom: 20px;
    left: 40px;
    color: var(--orange);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    z-index: 10;
}

.map-open-link:hover {
    color: var(--blue);
}

/* Форма КП */
.kp-section {
    background: #3a3a3a;
    padding: 80px 0;
}

.kp-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.kp-info {
    padding-top: 20px;
    border-right: 2px solid #555;
    padding-right: 60px;
}

.kp-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.kp-subtitle {
    color: #bbb;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.kp-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kp-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kp-form label {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.kp-form input,
.kp-form select,
.kp-form textarea {
    background: #4a4a4a;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 16px 20px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
    width: 100%;
}

.kp-form input:focus,
.kp-form select:focus,
.kp-form textarea:focus {
    border-color: var(--orange);
    background: #555;
}

.kp-form input::placeholder,
.kp-form textarea::placeholder {
    color: #888;
}

.kp-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f1aa3c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 45px;
}

.kp-form select option {
    background: #3a3a3a;
    color: #fff;
    padding: 10px;
}

.kp-form textarea {
    resize: vertical;
    min-height: 100px;
}

.kp-submit-btn {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    align-self: flex-start;
    margin-top: 10px;
}

.kp-submit-btn:hover {
    background: #d9952b;
    transform: translateX(5px);
}

.kp-submit-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
}

/* Ошибки формы */
.form-error {
    color: #ff6b6b;
    font-size: 13px;
    display: none;
}

.form-error.visible {
    display: block;
}

/* Успех формы */
.form-success {
    display: none;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.form-success.visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

.form-success .success-icon {
    width: 48px;
    height: 48px;
    fill: #4caf50;
    margin-bottom: 10px;
}

.form-success p {
    color: #fff;
    font-size: 16px;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   ПОДВАЛ
   ============================================ */
footer {
    background: linear-gradient(135deg, #2A2A2A 0%, #1a1a1a 100%);
    color: #fff;
    padding: 80px 0 40px 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #F36F21, #ff8c42, #F36F21);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Логотип и описание */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 120px;
    width: auto;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.footer-description {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    max-width: 350px;
}


/* Социальные сети */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: #ffffff !important;
    display: block;
}

.social-link:hover {
    background: #F36F21;
    border-color: #F36F21;
    transform: translateY(-3px);
}

.social-link:hover svg {
    fill: #ffffff !important;
}

footer {
    background: linear-gradient(135deg, #2A2A2A 0%, #1a1a1a 100%);
    color: #fff;
    padding: 80px 0 40px 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Колонки */
.footer-column h4 {
    color: #F36F21;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 1px;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: #F36F21;
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #fff;
    padding-left: 8px;
}

/* Контакты */
.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact-item svg {
    width: 22px;
    height: 22px;
    fill: #F36F21;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-item div span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.footer-contact-item div p,
.footer-contact-item div a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    text-decoration: none;
}

.footer-contact-item div a:hover {
    color: #F36F21;
}

/* Нижняя часть */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-legal a:hover {
    color: #F36F21;
}

/* Адаптивность */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 0 30px 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    .footer-description {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer-logo {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul li a:hover {
        padding-left: 0;
    }
    
    .footer-contact-item {
        justify-content: center;
        text-align: center;
    }
}

/* --- МОДАЛЬНОЕ ОКНО --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-window {
    background: #fff;
    border-radius: 12px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-window {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 10;
}

.modal-close:hover {
    background: var(--orange);
}

.modal-close svg {
    width: 24px;
    height: 24px;
    fill: var(--dark);
}

.modal-close:hover svg {
    fill: #fff;
}

/* Заголовок модального окна */
.modal-header {
    padding: 50px 50px 30px 50px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 700;
}

.modal-header p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Тело модального окна */
.modal-body {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 0;
}

/* Форма */
.modal-form {
    padding: 50px;
    border-right: 1px solid #e0e0e0;
}

.modal-form .form-row {
    margin-bottom: 20px;
}

.modal-form .form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.modal-form .form-row input,
.modal-form .form-row select,
.modal-form .form-row textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.3s;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.modal-form .form-row input:focus,
.modal-form .form-row select:focus,
.modal-form .form-row textarea:focus {
    border-color: var(--orange);
}

.modal-form .form-row textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-submit {
    background: var(--orange);
    color: #fff;
    padding: 16px 40px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
}

.modal-submit svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    transition: 0.3s;
}

.modal-submit:hover {
    background: #d9952b;
    transform: translateX(5px);
}

.modal-submit:hover svg {
    transform: translateX(5px);
}

.modal-privacy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 20px;
    line-height: 1.5;
}

.modal-privacy svg {
    width: 16px;
    height: 16px;
    fill: var(--orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-privacy a {
    color: var(--orange);
    text-decoration: none;
}

/* Контакты */
.modal-contacts {
    background: var(--dark);
    padding: 50px;
    color: #fff;
}

.modal-contacts h4 {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
}

.modal-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.modal-contact-item svg {
    width: 24px;
    height: 24px;
    fill: var(--orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-contact-item a,
.modal-contact-item span {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
    line-height: 1.5;
}

.modal-contact-item a:hover {
    color: var(--orange);
}

/* Адаптивность */
@media (max-width: 992px) {
    .modal-header {
        padding: 40px 40px 25px 40px;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-form {
        padding: 40px;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .modal-contacts {
        padding: 40px;
    }
}

@media (max-width: 600px) {
    .modal-window {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 30px 25px 20px 25px;
    }
    
    .modal-header h3 {
        font-size: 24px;
    }
    
    .modal-form {
        padding: 30px;
    }
    
    .modal-contacts {
        padding: 30px;
    }
    
    .modal-contacts h4 {
        font-size: 16px;
    }
}

/* ============================================
   КАЛЬКУЛЯТОР - МОДАЛЬНОЕ ОКНО
   ============================================ */
.calculator-modal {
    max-width: 700px;
}

.calculator-modal .modal-header h3 {
    color: var(--primary-orange);
}

.calculator-body {
    padding: 0 50px 50px 50px;
}

.calc-row {
    margin-bottom: 25px;
}

.calc-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-grey);
    margin-bottom: 10px;
}

.calc-row input[type="number"],
.calc-row input[type="text"],
.calc-row input[type="tel"],
.calc-row select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    transition: 0.3s;
    outline: none;
}

.calc-row input:focus,
.calc-row select:focus {
    border-color: var(--primary-orange);
}

.calc-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-orange);
}

.calc-result {
    background: var(--light-grey);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary-orange);
}

.calc-result span {
    font-size: 15px;
    color: var(--text-color);
}

.calc-result strong {
    font-size: 24px;
    color: var(--primary-orange);
    font-weight: 700;
}

.calc-submit {
    background: var(--primary-orange);
    color: #fff;
    padding: 16px 40px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.calc-submit svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    transition: 0.3s;
}

.calc-submit:hover {
    background: #d95a1a;
    transform: translateX(5px);
}

.calc-submit:hover svg {
    transform: translateX(5px);
}

.calc-note {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 20px;
    text-align: center;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 600px) {
    .calculator-body {
        padding: 0 30px 30px 30px;
    }
    
    .calc-result {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ============================================
   ПЛАШКА: ТЕСТОВЫЙ СТЕНД (DEV NOTICE)
   ============================================ */

.dev-notice-bar {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    padding: 12px 0;
    position: relative;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dev-notice-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.dev-notice-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.dev-notice-text {
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.dev-notice-text strong {
    font-weight: 700;
    color: #fff;
}

.dev-notice-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    flex-shrink: 0;
    padding: 0;
}

.dev-notice-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.dev-notice-close svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

/* Скрытая плашка */
.dev-notice-bar.hidden {
    display: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .dev-notice-bar {
        padding: 10px 0;
    }
    
    .dev-notice-content {
        gap: 10px;
        padding: 0 20px;
    }
    
    .dev-notice-icon {
        width: 20px;
        height: 20px;
    }
    
    .dev-notice-text {
        font-size: 13px;
    }
    
    .dev-notice-close {
        width: 28px;
        height: 28px;
    }
    
    .dev-notice-close svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .dev-notice-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .dev-notice-close {
        position: absolute;
        top: 8px;
        right: 15px;
    }
}

