/* ============================================
   БАННЕР
   ============================================ */

.banner {
    position: relative;
    background-size: cover;
    min-height: 200px;
    max-height: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    margin-top: 30px;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

.banner-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.banner-content {
    text-align: center;
    color: #ffffff;
}

.banner-title {
    font-size: 26px;
    font-weight: 700;
    font-family: 'Open Sans', 'Arial', 'Helvetica Neue', sans-serif;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-subtitle {
    font-size: 20px;
    font-weight: 400;
    font-family: 'Open Sans', 'Arial', 'Helvetica Neue', sans-serif;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.banner-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Open Sans', 'Arial', 'Helvetica Neue', sans-serif;
    border-radius: 7px;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.banner-btn-primary {
    background: #E4003A;
    color: #ffffff;
}

.banner-btn-primary:hover {
    background: #a01830;
    transform: scale(1.04);
}

.banner-btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.banner-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.04);
}

.banner-btn-contact {
    background: #2D7DFF;
    color: #ffffff;
}

.banner-btn-contact:hover {
    background: #1a5fd4;
    transform: scale(1.04);
}

.banner-contacts {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 16px;
    font-family: 'Open Sans', 'Arial', 'Helvetica Neue', sans-serif;
    color: #d0d0d0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.banner-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* === ПЛАНШЕТЫ (до 1024px) === */
@media (max-width: 1024px) {
    .banner {
        min-height: 200px;
        max-height: 350px;
        height: 350px;
        padding: 50px 30px;
    }
    
    .banner-title {
        font-size: 34px;
    }
    
    .banner-subtitle {
        font-size: 18px;
    }
    
    .banner-btn {
        padding: 12px 26px;
        font-size: 15px;
    }
}

/* === ТЕЛЕФОНЫ (до 768px) === */
@media (max-width: 768px) {
    .banner {
        min-height: 150px;
        max-height: 250px;
        height: 250px;
        padding: 30px 20px;
    }
    
    .banner-title {
        font-size: 26px;
        margin-bottom: 10px;
    }
    
    .banner-subtitle {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .banner-buttons {
        display: none !important;
    }
    
    .banner-contacts {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.15);
    }
}

/* === МАЛЕНЬКИЕ ТЕЛЕФОНЫ (до 480px) === */
@media (max-width: 480px) {
    .banner {
        min-height: 120px;
        max-height: 250px;
        height: 250px;
        padding: 20px 15px;
    }
    
    .banner-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .banner-subtitle {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .banner-buttons {
        display: none !important;
    }
    
    .banner-contacts {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-size: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255,255,255,0.12);
    }
    
    .banner-contact-item {
        font-size: 12px;
    }
}