/* About Page Styles */
.about-page-header {
    background: #F9F9F9;
    padding: 5rem 0 3rem;
}

.about-page-header .page-title {
    color: var(--primary-green);
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    margin-bottom: 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.about-page-content {
    padding: 5rem 0;
    background: var(--white);
}

.about-text-content {
    max-width: 900px;
    margin: 0 auto 5rem;
}

.about-text-block {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.about-text-block h2 {
    color: var(--primary-green);
    font-size: 2.75rem;
    font-weight: var(--font-weight-extrabold);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-green);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-text-block p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-text);
    font-weight: var(--font-weight-normal);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

/* Activities Section */
.activities-section {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.activities-section .section-title {
    color: var(--primary-green);
    font-size: 2.75rem;
    font-weight: var(--font-weight-extrabold);
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-green);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.activity-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.activity-item img {
    width: 100%;
    height: 250px;
    min-height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

.activity-item h3 {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin: 1.25rem 0 0.75rem;
    padding: 0 1.25rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.activity-item p {
    color: #555;
    font-size: 1rem;
    font-weight: var(--font-weight-normal);
    margin-bottom: 1.25rem;
    padding: 0 1.25rem;
    line-height: 1.6;
    flex-grow: 1;
    letter-spacing: -0.01em;
}

/* From Field to Table Section */
.field-to-table-section {
    margin-top: 5rem;
    margin-bottom: 5rem;
    padding: 3rem 0;
    background: var(--white);
}

.field-to-table-section .section-title {
    color: var(--primary-green);
    font-size: 2.75rem;
    font-weight: var(--font-weight-extrabold);
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-green);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.field-to-table-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.field-to-table-text {
    background: var(--white);
    padding: 0;
    margin-bottom: 2.5rem; /* 40px отступ сверху от текста до изображения */
}

.field-to-table-intro {
    font-size: 1.3rem;
    font-weight: var(--font-weight-semibold);
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.field-to-table-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    font-weight: var(--font-weight-normal);
    letter-spacing: -0.01em;
}

.field-to-table-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.field-to-table-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-text);
    font-weight: var(--font-weight-normal);
    letter-spacing: -0.01em;
}

.field-to-table-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.field-to-table-image {
    text-align: center;
    padding: 0;
    margin-top: 0;
    margin-bottom: 3.75rem; /* 60px отступ снизу до следующей секции */
    background: var(--white);
    width: 100%;
}

.field-to-table-img {
    max-width: 100%;
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s, box-shadow 0.3s;
}

.field-to-table-img.clickable-image {
    cursor: pointer;
}

.field-to-table-img.clickable-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* Advantages Section on About Page */
.advantages-about-section {
    margin-top: 5rem;
    padding: 4rem 0;
    background: #F9F9F9;
    border-radius: 12px;
}

.advantages-about-section .section-title {
    color: var(--primary-green);
    font-size: 2.75rem;
    font-weight: var(--font-weight-extrabold);
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-green);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.advantages-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.advantage-card-about {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
}

.advantage-card-about:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.advantage-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.advantage-card-about h3 {
    color: var(--dark-text);
    font-size: 1.3rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.01em;
}

@media (max-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-page-header {
        padding: 3rem 0 2rem;
    }

    .about-page-header .page-title {
        font-size: 2.5rem;
    }

    .about-page-content {
        padding: 3rem 0;
    }

    .about-text-content {
        margin-bottom: 3rem;
    }

    .about-text-block {
        padding: 2rem;
    }

    .about-text-block h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-text-block p {
        font-size: 1.1rem;
    }

    .activities-section {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .activities-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .activity-item {
        min-height: auto;
    }

    .activity-item img {
        height: 200px;
        min-height: 200px;
    }

    .activity-item h3 {
        font-size: 1.3rem;
        margin: 1.25rem 0 0.75rem;
        padding: 0 1rem;
    }

    .activity-item p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
        padding: 0 1rem;
    }

    .field-to-table-section {
        margin-top: 3rem;
        margin-bottom: 3rem;
        padding: 2rem 0;
    }

    .field-to-table-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .field-to-table-content {
        padding: 0 16px;
    }

    .field-to-table-text {
        padding: 0 0 1.5rem 0;
        margin-bottom: 0;
    }

    .field-to-table-image {
        margin-top: 1.5rem;
        padding: 0;
    }

    .field-to-table-img {
        max-width: 100%;
        width: 100%;
        border-radius: 8px;
    }

    .field-to-table-intro {
        font-size: 1.1rem;
    }

    .field-to-table-text p {
        font-size: 1rem;
    }

    .field-to-table-list li {
        font-size: 1rem;
    }

    .advantages-about-section {
        margin-top: 3rem;
        padding: 3rem 0;
    }

    .advantages-about-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .advantages-grid-about {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .advantage-card-about {
        padding: 2rem;
    }

    .advantage-icon {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    .advantage-card-about h3 {
        font-size: 1.2rem;
    }
}

/* Events Gallery Section */
.events-gallery-section {
    margin-top: 5rem;
    margin-bottom: 5rem;
    padding: 3rem 0;
    background: var(--white);
}

.events-gallery-section .section-title {
    color: var(--primary-green);
    font-size: 2.75rem;
    font-weight: var(--font-weight-extrabold);
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-green);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.events-gallery-description {
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark-text);
    text-align: center;
    font-weight: var(--font-weight-normal);
    letter-spacing: -0.01em;
    padding: 0 1.5rem;
}

/* Swiper Container */
.events-swiper-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

.events-swiper {
    width: 100%;
    padding-bottom: 3rem;
    /* Оптимизация производительности */
    will-change: transform;
    transform: translateZ(0);
    /* Изоляция для лучшей производительности */
    contain: layout style paint;
    /* Улучшение рендеринга */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.events-swiper .swiper-wrapper {
    /* Оптимизация для плавности */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.event-slide {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: var(--white);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    /* Оптимизация для плавности анимаций */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Изоляция для лучшей производительности */
    contain: layout style paint;
    /* Улучшение рендеринга */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.event-slide:hover {
    transform: translateY(-5px) translateZ(0);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* Отключаем hover на мобильных для лучшей производительности */
@media (hover: none) {
    .event-slide:hover {
        transform: translateZ(0);
    }
}

.event-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
    /* Оптимизация для плавности */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Убираем размытие при масштабировании */
    image-rendering: auto;
    /* Изоляция для лучшей производительности */
    contain: layout style paint;
    /* Улучшение рендеринга */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Оптимизация загрузки */
    content-visibility: auto;
}

/* Swiper lazy loading styles */
.swiper-lazy {
    opacity: 0;
    transition: opacity 0.3s;
}


.event-slide-caption {
    padding: 1.25rem;
    background: var(--white);
    color: var(--dark-text);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    text-align: center;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

/* Swiper Navigation Buttons */
.events-swiper .swiper-button-next,
.events-swiper .swiper-button-prev {
    color: var(--primary-green);
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-out;
    /* Оптимизация для плавности */
    will-change: transform, background-color, color;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.events-swiper .swiper-button-next:hover,
.events-swiper .swiper-button-prev:hover {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.events-swiper .swiper-button-next::after,
.events-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* Swiper Pagination */
.events-swiper .swiper-pagination {
    bottom: 0;
}

.events-swiper .swiper-pagination-bullet {
    background: var(--primary-green);
    opacity: 0.3;
    width: 12px;
    height: 12px;
    transition: all 0.3s;
}

.events-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 6px;
}

/* Responsive Styles for Events Gallery */
@media (max-width: 1024px) {
    .events-gallery-section {
        margin-top: 4rem;
        margin-bottom: 4rem;
        padding: 2.5rem 0;
    }
    
    .events-gallery-section .section-title {
        font-size: 2.25rem;
    }
    
    .events-gallery-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .event-slide img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .events-gallery-section {
        margin-top: 3rem;
        margin-bottom: 3rem;
        padding: 2rem 0;
    }
    
    .events-gallery-section .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .events-gallery-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .events-swiper-container {
        padding: 0 1rem;
    }
    
    .event-slide img {
        height: 300px;
    }
    
    .event-slide-caption {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .events-swiper .swiper-button-next,
    .events-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .events-swiper .swiper-button-next::after,
    .events-swiper .swiper-button-prev::after {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .events-gallery-section .section-title {
        font-size: 1.75rem;
    }
    
    .events-gallery-description {
        font-size: 0.95rem;
    }
    
    .event-slide img {
        height: 250px;
    }
    
    .events-swiper .swiper-button-next,
    .events-swiper .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    
    .events-swiper .swiper-button-next::after,
    .events-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
}

