/* ===== О КОМПАНИИ НА ГЛАВНОЙ ===== */
.about-skymax-section {
    margin: 80px 0;
    position: relative;
    overflow: visible;
    padding: 0;
    z-index: 1;
    width: 100%;
}

/* Серпантин с круглыми петлями - на заднем плане */
.serpentine-top,
.serpentine-bottom {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 0;
    pointer-events: none;
    line-height: 0;
}

.serpentine-top {
    top: -20px;
}

.serpentine-bottom {
    bottom: -20px;
}

.serpentine-line {
    width: 100%;
    overflow: visible;
    margin: 0;
    padding: 0;
}

.serpentine-line svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 160px;
    margin: 0;
    padding: 0;
}

.serpentine-line svg path {
    stroke: #a43ccf;
    stroke-opacity: 0.3;
    filter: drop-shadow(0 0 3px rgba(164, 60, 207, 0.1));
}

.markers-top,
.markers-bottom {
    position: absolute;
    gap: 200px;
    z-index: 1;
    width: 100%;
    justify-content: center;
    pointer-events: none;
    opacity: 0.5;
}

.markers-top {
    top: -5px;
}

.markers-bottom {
    bottom: -5px;
}

.markers-top .marker-dot,
.markers-bottom .marker-dot {
    width: 28px;
    height: 28px;
    background: #a43ccf;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    position: relative;
    animation: markerPulse 3s infinite;
    box-shadow: 0 3px 10px rgba(164, 60, 207, 0.2);
    opacity: 0.6;
}

.markers-top .marker-dot::before,
.markers-bottom .marker-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    z-index: 2;
    opacity: 0.9;
}

@keyframes markerPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(164, 60, 207, 0.3);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(164, 60, 207, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(164, 60, 207, 0);
    }
}

.about-skymax-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    position: relative;
    z-index: 2;
    background: transparent;
    flex-wrap: wrap;
}

/* Левая и правая колонки с картинками */
.about-images-left,
.about-images-right {
    flex: 1;
    min-height: 300px;
    position: relative;
    z-index: 3;
}

/* Стили для кружочков с изображениями */
.image-circle {
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    transition: all 0.3s ease;
    z-index: 4;
}

.image-circle:hover {
    transform: scale(1.1);
    z-index: 10;
    border-color: #a43ccf;
    box-shadow: 0 25px 45px rgba(164, 60, 207, 0.3);
}

.image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Размеры кружочков */
.image-circle-large {
    width: 80px;
    height: 80px;
}

.image-circle-medium {
    width: 50px;
    height: 50px;
}

.image-circle-small {
    width: 30px;
    height: 30px;
}

/* Позиционирование для левой колонки */
.about-images-left .image-circle-large {
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    z-index: 5;
}

.about-images-left .image-circle-medium.image-circle-top-left {
    top: 10%;
    left: 0px;
    z-index: 4;
}

.about-images-left .image-circle-small.image-circle-right {
    top: 60px;
    right: 10px;
    z-index: 6;
}

/* Позиционирование для правой колонки */
.about-images-right .image-circle-large {
    top: 60%;
    right: 20%;
    transform: translateY(-50%);
    z-index: 5;
}

.about-images-right .image-circle-medium.image-circle-top-right {
    top: 60px;
    right: 20px;
    z-index: 4;
}

.about-images-right .image-circle-small.image-circle-left {
    top: 10px;
    left: 10px;
    z-index: 6;
}

/* Центральный контент - выше серпантина */
.about-skymax-content {
    flex: 7;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 7;
    background: transparent;
}

.about-skymax-content h1 {
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
}

.large-text {
    display: inline;
    font-size: 60px;
    font-weight: 800;
    color: #2d2a2f;
    line-height: 1.2;
}

.small-text {
    display: inline;
    font-size: 25px;
    font-weight: 500;
    color: #555;
    line-height: 0.8;
    font-style: italic;
}

.about-description {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 30px 0;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .about-skymax-container {
        width: 90%;
        gap: 30px;
        padding: 40px 0;
    }

    .large-text {
        font-size: 50px;
    }

    .small-text {
        font-size: 22px;
    }
}

@media (max-width: 992px) {
    .about-skymax-container {
        flex-wrap: wrap;
        width: 95%;
        padding: 30px 0;
    }

    .about-images-left,
    .about-images-right {
        flex: 0 0 100%;
        min-height: 200px;
        order: 1;
    }

    .about-skymax-content {
        order: 2;
    }

    .serpentine-top {
        top: -10px;
    }

    .serpentine-bottom {
        bottom: -10px;
    }

    .serpentine-line svg {
        max-height: 120px;
    }

    .markers-top,
    .markers-bottom {
        gap: 120px;
    }

    .about-images-left .image-circle-large,
    .about-images-right .image-circle-large {
        width: 60px;
        height: 60px;
    }

    .about-images-left .image-circle-medium,
    .about-images-right .image-circle-medium {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .about-skymax-section {
        margin: 60px 0;
    }

    .large-text {
        font-size: 32px;
        display: block;
    }

    .small-text {
        font-size: 18px;
        display: block;
        margin-top: 10px;
    }

    .about-description {
        font-size: 14px;
    }

    .serpentine-line svg {
        max-height: 100px;
    }

    .markers-top .marker-dot,
    .markers-bottom .marker-dot {
        width: 22px;
        height: 22px;
    }

    .markers-top .marker-dot::before,
    .markers-bottom .marker-dot::before {
        width: 10px;
        height: 10px;
    }

    .about-images-left,
    .about-images-right {
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .large-text {
        font-size: 28px;
    }

    .small-text {
        font-size: 16px;
    }

    .about-description {
        font-size: 13px;
    }

    .about-skymax-container {
        padding: 20px 0;
    }

    .about-skymax-content {
        padding: 10px;
    }

    .markers-top,
    .markers-bottom {
        display: none;
    }
}