/* ============================================
   БЛОК "МЕНТОР-КОУЧИНГ" - HONEYCOMB PATTERN
   ЗАКОМЕНТОВАНО - ЗАМІНЕНО НА ЗОБРАЖЕННЯ hexagon.png
   ============================================ */

/*

/* СЕКЦІЯ */
.mentor-coaching-section {
    background: transparent;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.mentor-coaching-section .section-title {
    color: #000000;
    text-align: left;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: none;
}

.mentor-coaching-section .ecosystem-subtitle {
    color: #666666;
    text-align: left;
    font-size: 1.3rem;
    font-weight: 400;
    text-shadow: none;
    margin-bottom: 0;
}

/* КОНТЕЙНЕР */
.mentor-hexagon-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* HONEYCOMB СІТКА */
.hexagon-honeycomb {
    position: relative;
    width: 100%;
    height: 580px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* БАЗОВИЙ ГЕКСАГОН - FLAT TOP */
.hexagon {
    position: absolute;
    width: 220px;
    height: 180px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.14),
        0 5px 12px rgba(0, 0, 0, 0.09);
    transition: all 0.35s ease;
    cursor: pointer;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translate(var(--translate-x, 0), var(--translate-y, 0));
}

.hexagon:hover {
    transform: translate(-50%, -50%) translate(var(--translate-x, 0), var(--translate-y, 0)) translateY(-5px) scale(1.05);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 5px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* ВНУТРІШНІЙ КОНТЕЙНЕР */
.hexagon-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 24px 18px;
    text-align: center;
    gap: 16px;
}

/* КРУГЛИЙ КОНТЕЙНЕР ДЛЯ ІКОНКИ */
.hexagon-icon-wrapper {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background-color: #171717;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.35s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.hexagon:hover .hexagon-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* ІКОНКИ (білі на чорному) */
.hexagon-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: block;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

/* ТЕКСТ */
.hexagon h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    text-shadow: none;
    letter-spacing: -0.4px;
}

/* ЦЕНТРАЛЬНИЙ ГЕКСАГОН */
.hexagon-center {
    z-index: 5;
    background: linear-gradient(135deg, #bdbdbd 0%, #e5e5e5 100%);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.16),
        0 6px 14px rgba(0, 0, 0, 0.11);
}

.hexagon-center:hover {
    transform: translate(-50%, -50%) translate(var(--translate-x, 0), var(--translate-y, 0)) scale(1.04);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.18),
        0 6px 15px rgba(0, 0, 0, 0.12);
}

/* ЛОГОТИП - ЦЕНТРУВАННЯ */
.hexagon-logo {
    width: 150px;
    height: 50px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

/* ОКРЕМІ ГЕКСАГОНИ */
.hexagon-item {
    z-index: 2;
}

/* ПОЗИЦІЇ ГЕКСАГОНІВ - МАТЕМАТИЧНО РОЗРАХОВАНІ */
/* Hexagon: 220×180px
   Вертикальна відстань = 180 × 1.03 = 185px
   Горизонтальна відстань = 220 × 0.866 = 190px
*/

.hexagon-center-pos {
    --translate-x: 0px;
    --translate-y: 0px;
}

.hexagon-top {
    --translate-x: 0px;
    --translate-y: -185px;
}

.hexagon-top-right {
    --translate-x: 190px;
    --translate-y: -93px;
}

.hexagon-bottom-right {
    --translate-x: 190px;
    --translate-y: 93px;
}

.hexagon-bottom {
    --translate-x: 0px;
    --translate-y: 185px;
}

.hexagon-bottom-left {
    --translate-x: -190px;
    --translate-y: 93px;
}

.hexagon-top-left {
    --translate-x: -190px;
    --translate-y: -93px;
}

/* ============================================
   АДАПТИВНІСТЬ - TABLET (769px - 1024px)
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
    .mentor-coaching-section {
        padding: 0;
    }

    .mentor-hexagon-container {
        max-width: 900px;
        padding: 20px;
    }

    .hexagon-honeycomb {
        height: 493px;
        transform: scale(0.85);
    }

    .hexagon {
        width: 187px;
        height: 153px;
    }

    .hexagon-inner {
        gap: 14px;
        padding: 20px 15px;
    }

    .hexagon-icon-wrapper {
        width: 72px;
        height: 72px;
    }

    .hexagon-icon {
        width: 43px;
        height: 43px;
    }

    .hexagon h4 {
        font-size: 15px;
        font-family: 'Roboto', sans-serif;
    }

    .hexagon-logo {
        width: 128px;
        height: 43px;
    }
}

/* ============================================
   АДАПТИВНІСТЬ - MOBILE (480px - 768px)
   ============================================ */
@media (min-width: 480px) and (max-width: 767px) {
    .mentor-coaching-section {
        padding: 0;
    }

    .mentor-coaching-section .section-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .mentor-coaching-section .ecosystem-subtitle {
        font-size: 1.1rem;
        font-family: 'Roboto', sans-serif;
        padding: 0 20px 0 0;
        margin-bottom: 30px;
    }

    .mentor-hexagon-container {
        max-width: 600px;
        padding: 15px;
    }

    .hexagon-honeycomb {
        height: 377px;
        transform: scale(0.65);
    }

    .hexagon {
        width: 143px;
        height: 117px;
    }

    .hexagon-inner {
        gap: 10px;
        padding: 16px 12px;
    }

    .hexagon-icon-wrapper {
        width: 55px;
        height: 55px;
    }

    .hexagon-icon {
        width: 33px;
        height: 33px;
    }

    .hexagon h4 {
        font-size: 12px;
        font-family: 'Roboto', sans-serif;
        line-height: 1.2;
    }

    .hexagon-logo {
        width: 98px;
        height: 33px;
    }
}

/* ============================================
   АДАПТИВНІСТЬ - SMALL MOBILE (до 479px)
   ============================================ */
@media (max-width: 767px) {
    .mentor-coaching-section {
        padding: 0;
    }

    .mentor-coaching-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 5px;
    }

    .mentor-coaching-section .ecosystem-subtitle {
        font-size: 0.95rem;
        font-family: 'Roboto', sans-serif;
        margin-bottom: 20px;
        padding: 0 15px 0 0;
        line-height: 1.4;
        text-align: left;
    }

    .mentor-hexagon-container {
        max-width: 400px;
        padding: 10px;
    }

    .hexagon-honeycomb {
        height: 290px;
        transform: scale(0.5);
    }

    .hexagon {
        width: 110px;
        height: 90px;
    }

    .hexagon-inner {
        gap: 8px;
        padding: 12px 9px;
    }

    .hexagon-icon-wrapper {
        width: 43px;
        height: 43px;
    }

    .hexagon-icon {
        width: 25px;
        height: 25px;
    }

    .hexagon h4 {
        font-size: 9px;
        font-family: 'Roboto', sans-serif;
        line-height: 1.1;
    }

    .hexagon-logo {
        width: 75px;
        height: 25px;
    }

    .hexagon:hover {
        transform: translate(-50%, -50%) translate(var(--translate-x, 0), var(--translate-y, 0)) translateY(-2px) scale(1.02);
    }
}

/* ============================================
   iOS SAFARI ОПТИМІЗАЦІЯ
   ============================================ */
@supports (-webkit-touch-callout: none) {
    .hexagon {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    .hexagon-inner {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-transform-style: preserve-3d;
        transform-style: preserve-3d;
    }

    .hexagon-honeycomb {
        -webkit-overflow-scrolling: touch;
    }
}

*/
/* ============================================
   КІНЕЦЬ ЗАКОМЕНТОВАНОГО КОДУ HEXAGONS
   ============================================ */

/* ============================================
   СТИЛІ ДЛЯ ЗОБРАЖЕННЯ BANNER.SVG
   ============================================ */

.mentor-coaching-section .mentoring-image-block {
    max-width: 1000px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.mentor-coaching-section .mentoring-image-block img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.mentor-coaching-section .mentor-coaching-svg-wrapper {
    width: 50%;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 767px) {
    .mentor-coaching-section .mentoring-image-block {
        max-width: 100%;
        margin: 30px auto 40px;
        padding: 0 15px;
    }

    .mentor-coaching-section .mentor-coaching-svg-wrapper {
        width: 85%;
    }
}

@media (max-width: 767px) {
    .mentor-coaching-section .mentoring-image-block {
        margin: 20px auto 30px;
        padding: 0;
        max-width: 100%;
    }

    .mentor-coaching-section .mentor-coaching-svg-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .mentor-coaching-section .mentor-coaching-svg-wrapper svg {
        width: 100%;
        max-width: 100%;
    }
}

@supports (-webkit-touch-callout: none) {
    @media (max-width: 767px) {
        .mentor-coaching-section .mentoring-image-block {
            padding: 0;
            box-sizing: border-box;
        }
        
        .mentor-coaching-section .mentor-coaching-svg-wrapper {
            width: 100%;
            max-width: 100%;
            margin: 0;
            transform: translateZ(0);
        }
        
        .mentor-coaching-section .mentor-coaching-svg-wrapper svg {
            width: 100%;
            max-width: 100%;
            backface-visibility: hidden;
        }
    }
}