.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

/* Специальные стили для блока price с галереей */
.price-with-gallery {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.price-about-section {
    padding: 60px 0;
    margin-top: 10px;
}

.price-about-section .about-container {
    flex-direction: row-reverse;
}

.price-about-section .about-content {
    flex: 1;
    padding-right: 40px;
}

.price-about-section .about-gallery {
    flex: 1;
    height: 400px;
}

/* Центрированная версия контейнера */
.about-container-centered {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

/* Центрированная галерея */
.about-gallery-centered {
    width: 100%;
    max-width: 800px;
    height: 450px;
    position: relative;
}

.gallery-frame {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 4px;
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}


.about-gallery-centered .about-gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.about-gallery-centered .about-gallery-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-gallery-centered .about-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
    border-radius: 16px;
}

.gallery-frame:hover .about-gallery-slide img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
    border-radius: 16px;
    pointer-events: none;
}

/* Декоративные элементы */


@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Общий стиль для всех заголовков section-title */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #000000;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 80px;
    height: 4px;
    background: #7c3aed;
    border-radius: 2px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-gallery {
    flex: 1;
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-gallery:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-gallery-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.about-gallery-slide {
    min-width: 100%;
    height: 100%;
}

.about-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-gallery:hover .about-gallery-slide img {
    transform: scale(1.05);
}

.about-content {
    flex: 1;
}

.about-title {
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 30px;
    line-height: 1.2;
    position: relative;
}

.about-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background: #7c3aed;
    border-radius: 2px;
}

.about-description {
    font-size: 18px;
    line-height: 1.7;
    color: #000000;
    margin-bottom: 25px;
    font-weight: 400;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #F97316;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* Планшеты в альбомной ориентации */
@media (max-width: 1024px) {
    .about-section {
        padding: 60px 0;
    }

    .about-container {
        gap: 40px;
    }

    .about-gallery {
        height: 450px;
    }

    .about-title {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .about-title::after {
        width: 60px;
    }

    .about-description {
        font-size: 16px;
    }
}

/* Планшеты в портретной ориентации */
@media (max-width: 992px) {
    .about-section {
        padding: 50px 0;
    }

    .about-container {
        flex-direction: column;
        gap: 30px;
    }

    .about-gallery {
        width: 100%;
        height: 380px;
        max-width: 600px;
        margin: 0 auto;
        order: -1;
    }

    .about-content {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .about-title {
        font-size: 32px;
        text-align: center;
    }

    .about-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-description {
        font-size: 16px;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Адаптивность для price-about-section */
    .price-about-section .about-container {
        flex-direction: column;
    }

    .price-about-section .about-content {
        padding-right: 0;
        text-align: center;
        order: -1;
    }

    .price-about-section .about-gallery {
        height: 350px;
    }

    /* Адаптивность для центрированной галереи */
    .about-container-centered {
        gap: 30px;
    }

    .about-gallery-centered {
        height: 350px;
        max-width: 600px;
    }
}

/* Большие мобильные устройства */
@media (max-width: 768px) {
    .about-section {
        padding: 40px 0;
    }

    .about-container {
        padding: 0 20px;
        gap: 25px;
    }

    .about-gallery {
        height: 320px;
    }

    .about-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .about-title::after {
        width: 50px;
    }

    .about-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Адаптивность для price-about-section на мобильных */
    .price-with-gallery {
        gap: 30px;
    }

    .price-about-section {
        padding: 40px 0;
        margin-top: 30px;
    }

    .price-about-section .about-gallery {
        height: 300px;
    }

    .price-about-section .about-content {
        padding-right: 0;
    }

    /* Адаптивность для центрированной галереи на мобильных */
    .about-container-centered {
        gap: 25px;
        padding: 0 20px;
    }

    .about-gallery-centered {
        height: 300px;
        max-width: 500px;
    }
}

/* Средние мобильные устройства */
@media (max-width: 576px) {
    .about-section {
        padding: 40px 0;
    }

    .about-gallery {
        height: 300px;
    }

    .about-title {
        font-size: 28px;
    }

    .about-description {
        font-size: 15px;
        line-height: 1.5;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Адаптивность для price-about-section на средних мобильных */
    .price-with-gallery {
        gap: 25px;
    }

    .price-about-section {
        padding: 30px 0;
        margin-top: 25px;
    }

    .price-about-section .about-gallery {
        height: 280px;
    }

    .price-about-section .about-title {
        font-size: 26px;
    }

    .price-about-section .about-description {
        font-size: 14px;
    }

    /* Адаптивность для центрированной галереи на средних мобильных */
    .about-container-centered {
        gap: 20px;
        padding: 0 15px;
    }

    .about-gallery-centered {
        height: 280px;
        max-width: 450px;
    }
}

/* Маленькие мобильные устройства */
@media (max-width: 375px) {
    .about-section {
        padding: 30px 0;
    }

    .about-container {
        padding: 0 15px;
        gap: 20px;
    }

    .about-gallery {
        height: 260px;
    }

    .about-title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .about-title::after {
        width: 40px;
    }

    .about-description {
        font-size: 14px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Адаптивность для price-about-section на маленьких мобильных */
    .price-with-gallery {
        gap: 20px;
    }

    .price-about-section {
        padding: 25px 0;
        margin-top: 20px;
    }

    .price-about-section .about-gallery {
        height: 250px;
    }

    .price-about-section .about-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .price-about-section .about-description {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Адаптивность для центрированной галереи на маленьких мобильных */
    .about-container-centered {
        gap: 15px;
        padding: 0 10px;
    }

    .about-gallery-centered {
        height: 250px;
        max-width: 350px;
    }
}
