/* Hero-секция "О компании" */
.about-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fefefe;
    text-align: center;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/about-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.about-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.about-hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.about-hero-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-hero-subtitle {
    font-size: 36px;
    margin-bottom: 40px;
}

.btn-play-video {
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 24px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-play-video:hover {
    background-color: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-play-video i {
    font-size: 24px;
    margin-right: 10px;
}

/* Видеоплеер */
.about-video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1000px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 10;
}

.about-video-container.show {
    opacity: 1;
    visibility: visible;
}

#aboutVideo {
    width: 100%;
    height: auto;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-close-video {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-close-video:hover {
    color: #dc3545;
}

/* Анимации */
.about-hero-content.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.section-title {
    width: 100%;
    font-size: 36px;
    color: #333;
    margin-bottom: 30px;
}
.brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.brand-item {
    background-color: #F7F7F7;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}
.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.btn-examples {
    margin-top: 20px;
}
.subtitle {
    margin-bottom: 38px;
    font-weight: 400;
}
.repair-list {
    color: #333;
    font-size:18px;
}
.repair-list li {
    font-weight: 300;
    line-height: 1.6;
}
.btn-custom-danger-outline {
    margin-top:15px;
    font-size: 18px;
    width: 50%;
}

.benefits-section {
    background-color: #f0eeee;
    padding: 60px 0;
}
.about-benefit-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.about-benefit-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.about-benefit-content {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-benefit-content p {
    font-size:20px;
    color:#333;
    margin-bottom: 0;
    font-weight: 300;
}
.about-partners-section {
    background-image: url('../assets/about/map.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fefefe;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.section-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}
.about-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.about-partner-item {
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: transform 0.3s ease;
}
.about-partner-item:hover {
    transform: scale(1.05);
}
.about-partner-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    transition: filter 0.3s ease;
}
.about-partner-item:hover img {
    filter: none;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .about-partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .about-partner-item {
        height: 100px;
        padding: 15px;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .section-header p {
        font-size: 1rem;
    }
}
/* Адаптация */
@media (max-width: 991.98px) {
    .about-hero {
        min-height: 500px;
    }
    
    .about-hero-title {
        font-size: 36px;
    }
    
    .about-hero-subtitle {
        font-size: 20px;
    }
    
    .btn-play-video {
        padding: 12px 24px;
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .about-hero {
        min-height: 400px;
    }
    
    .about-hero-title {
        font-size: 32px;
    }
    
    .about-hero-subtitle {
        font-size: 18px;
    }
    
    .about-video-container {
        width: 95%;
    }
    .repair-list {
        margin-bottom: 0;
    }
    .subtitle {
        font-size: 24px;
    }
    .second-subtitle {
        margin-top: 2rem;
    }
}