/* === ГЛАВНАЯ СТРАНИЦА === */

/* Hero секция */
.hero-banner {
    position: relative;
    background-image: url('../images/glavn.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 76, 209, 0.6) 0%, rgba(1, 71, 133, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    max-width: 750px;
}

.home-hero .page-header-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 32px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    background: #f8f9fa;
}

.hero-btn svg { transition: transform 0.3s ease; }
.hero-btn:hover svg { transform: translateX(5px); }

/* Производственные возможности */
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark);
    margin: -20px auto 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
    line-height: 1.4;
}

/* Услуги */
.services-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.service-list-block { margin-bottom: 30px; }

.services-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-item-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.service-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-item span {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.4;
}

.services-photo {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.services-photo img {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
}

/* Отзывы */
.home-reviews {
    background: var(--white);
    padding: 60px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
}

.review-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-avatar img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.review-company {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 16px;
}

.review-text {
    border-radius: 12px;
    padding: 10px 5px; 
}

.review-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #000000; 
    margin: 0;
}


@media (max-width: 900px) {
    .hero-banner { min-height: 400px; }
    .hero-content { padding: 40px; }
    .home-hero .page-header-title { font-size: 2rem; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-layout { grid-template-columns: 1fr; gap: 40px; }
    .services-video { order: -1; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .hero-banner { min-height: 350px; }
    .hero-content { padding: 30px; }
    .home-hero .page-header-title { font-size: 1.75rem; }
    .hero-description { font-size: 1rem; }
    
    .stats-grid { grid-template-columns: 1fr; gap: 15px; }
    .stat-card { padding: 30px 20px; }
    .stat-value { font-size: 2rem; }
    
    .services-grid-2col { grid-template-columns: 1fr; gap: 12px; }
    .reviews-grid { grid-template-columns: 1fr; gap: 20px; }
    .review-card { padding: 30px 20px; }
}