body {
    background: linear-gradient(135deg, #000000, #22009f, #d10000);
    margin: 0;
    padding: 0;
    color: white;
    font-family: 'Open Sans', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

/* Hero Section — на всю ширину экрана слева и справа */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #000000, #22009f, #d10000);
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

.hero-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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 150px;
}

.hero-content h1 {
    font-family: 'Teko', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 30px rgba(255, 107, 107, 0.5); }
    to { text-shadow: 0 0 50px rgba(255, 107, 107, 0.8), 0 0 70px rgba(255, 107, 107, 0.3); }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: #ff6b6b;
}

.stat h3 {
    font-family: 'Teko', sans-serif;
    font-size: 2.5rem;
    color: #ff6b6b;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Десктоп: блок статистики в одну линию */
@media (min-width: 1025px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mission Section */
.mission-section {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-section h2 {
    font-family: 'Teko', sans-serif;
    font-size: 3.5rem;
    color: white;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.mission-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mission-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.mission-card:hover::before {
    left: 100%;
}

.mission-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #ff6b6b;
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.mission-card:hover .mission-icon {
    transform: rotate(360deg) scale(1.1);
}

.mission-card h3 {
    font-family: 'Teko', sans-serif;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.mission-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}

/* Story Section */
.story-section {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.2);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-family: 'Teko', sans-serif;
    font-size: 3rem;
    color: white;
    margin-bottom: 30px;
}

.story-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.timeline {
    margin-top: 40px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.timeline-date {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    margin-right: 20px;
    min-width: 80px;
    text-align: center;
}

.timeline-content h4 {
    font-family: 'Teko', sans-serif;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 5px;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

/* Team Section */
.team-section {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.3);
}

.team-section h2 {
    font-family: 'Teko', sans-serif;
    font-size: 3.5rem;
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: #ff6b6b;
}

.member-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 3rem;
    color: white;
}

.member-info h4 {
    font-family: 'Teko', sans-serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.member-role {
    color: #ff6b6b;
    font-weight: 600;
    margin-bottom: 15px;
}

.member-bio {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #ff6b6b;
    transform: scale(1.2);
}

/* Achievements Section */
.achievements-section {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.2);
}

.achievements-section h2 {
    font-family: 'Teko', sans-serif;
    font-size: 3.5rem;
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    border-color: #4ecdc4;
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

.achievement-card h3 {
    font-family: 'Teko', sans-serif;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
}

.achievement-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Values Section */
.values-section {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.3);
}

.values-section h2 {
    font-family: 'Teko', sans-serif;
    font-size: 3.5rem;
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.values-list {
    display: grid;
    gap: 30px;
}

.value-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateX(10px);
    border-color: #ff6b6b;
}

.value-number {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Teko', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 30px;
    flex-shrink: 0;
}

.value-content h3 {
    font-family: 'Teko', sans-serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
}

.value-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Partners Section */
.partners-section {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.2);
}

.partners-section h2 {
    font-family: 'Teko', sans-serif;
    font-size: 3.5rem;
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.partner-logo {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-10px);
    border-color: #4ecdc4;
}

.partner-placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.partner-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.partner-placeholder h4 {
    font-family: 'Teko', sans-serif;
    font-size: 1.2rem;
    color: white;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 100px 20px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
}

.contact-section h2 {
    font-family: 'Teko', sans-serif;
    font-size: 3.5rem;
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-10px);
    border-color: #ff6b6b;
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2);
}

.contact-item i {
    font-size: 2rem;
    color: #ff6b6b;
    margin-right: 20px;
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-family: 'Teko', sans-serif;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1rem;
    text-decoration: none;
}
.contact-item a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

/* Адаптация при повороте экрана (992px — ландшафт телефона) */
@media (max-width: 992px) {
    /* Только на «О нас»: убираем отступ body, чтобы шапка осталась у верха экрана */
    body.about-page {
        padding-top: 0 !important;
    }
    
    .about-container {
        padding-top: 0;
    }
    
    main:has(.about-container) {
        padding-top: 0 !important;
    }
    
    /* Переопределяем mobile-fixes: hero вплотную к шапке, градиент от верха */
    body.about-page .about-container .hero-section {
        margin-top: 0 !important;
        padding-top: 72px !important;
        min-height: auto !important;
        padding-bottom: 60px;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 72px 0 60px;
    }
    
    /* В ландшафте слова и контейнеры по центру, не слева */
    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 40px;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    
    .stat {
        padding: 20px 16px;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .mission-section,
    .story-section,
    .team-section,
    .achievements-section,
    .values-section,
    .partners-section,
    .contact-section {
        padding: 50px 16px;
    }
    
    .mission-section h2,
    .team-section h2,
    .achievements-section h2,
    .values-section h2,
    .partners-section h2,
    .contact-section h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-text h2 {
        font-size: 2.25rem;
    }
    
    .story-text p {
        font-size: 1rem;
    }
    
    .story-image {
        order: -1;
    }
    
    .story-image img {
        max-height: 220px;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .mission-card {
        padding: 28px 20px;
    }
    
    .mission-icon {
        width: 64px;
        height: 64px;
        font-size: 1.6rem;
    }
    
    .mission-card h3 {
        font-size: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .achievement-card {
        padding: 20px 16px;
    }
    
    .achievement-card h3 {
        font-size: 1.1rem;
    }
    
    .values-list {
        gap: 20px;
    }
    
    .value-item {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    
    .value-number {
        margin-right: 0;
        margin-bottom: 16px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .partner-logo {
        padding: 24px 16px;
    }
    
    .partner-placeholder h4 {
        font-size: 1rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-item {
        padding: 24px 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 24px;
    }
    
    .timeline-date {
        margin-right: 0;
        margin-bottom: 8px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 12px;
    }
    
    .mission-section h2,
    .team-section h2,
    .achievements-section h2,
    .values-section h2,
    .partners-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .stat {
        padding: 18px 12px;
    }
    
    .stat h3 {
        font-size: 1.75rem;
    }
    
    .mission-card,
    .team-member,
    .achievement-card,
    .partner-logo,
    .contact-item {
        padding: 20px 16px;
    }
} 