/* Специфичные стили для страницы тренингов */
.training-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.training-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="0,100 100,0 200,50 300,0 400,80 500,20 600,60 700,0 800,40 900,0 1000,30 1000,100"/></svg>') repeat-x;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(-50px); }
}

.training-hero-content {
    position: relative;
    z-index: 2;
}

.training-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.training-stat {
    text-align: center;
}

.training-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.training-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.program-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.program-header {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.program-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.program-card:hover .program-header::before {
    transform: scale(1.5);
}

.program-duration {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    display: inline-block;
}

.program-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
}

.program-content {
    padding: 2rem;
}

.program-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.program-features li i {
    color: #10b981;
    font-size: 1.1rem;
    width: 20px;
}

.program-price {
    background: #f3f4f6;
    padding: 1rem 2rem;
    text-align: center;
    font-weight: 600;
    color: #1f2937;
    font-size: 1.1rem;
}

.price-value {
    color: #3b82f6;
    font-size: 1.3rem;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.benefit-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.benefit-card:hover .benefit-icon::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.benefit-icon.icon-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.benefit-icon.icon-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.benefit-icon.icon-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.benefit-icon.icon-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.benefit-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.benefit-description {
    color: #6b7280;
    line-height: 1.6;
}

.schedule-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-top: 2rem;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.schedule-table tr:hover {
    background: #f8fafc;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.cta-section {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.05"><polygon points="0,100 100,0 200,50 300,0 400,80 500,20 600,60 700,0 800,40 900,0 1000,30 1000,100"/></svg>') repeat-x;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: auto !important;
    }

    .training-stats {
        gap: 2rem;
    }

    .training-stat-number {
        font-size: 2rem;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1rem;
    }

    .schedule-table {
        overflow-x: auto;
    }
}

.footer-map {
    display: flex;
    flex-direction: column;
    align-items: center;
}