/*
=====================================================
--- ПРЕМИУМ СТИЛИ ДЛЯ СЕКЦИИ "ОСНОВАТЕЛИ" (v4.1) ---
=====================================================
*/

.founders-section-premium {
    padding: 120px 0;
    color: #f0f0f0;
    overflow: hidden;
    position: relative;
}

.founders-container-premium {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

/* --- СТИЛИ КАРТОЧКИ ОСНОВАТЕЛЯ --- */
.founder-card-premium {
    flex-basis: 450px;
    flex-shrink: 0;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.founder-card-premium .card-content {
    background-color: #111;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.founder-card-premium img {
        /* object-position: center bottom; */
        /* transform: translateY(-50px); */
        scale: 1.2;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: filter 0.5s ease;
}

.founder-info-premium {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    text-align: left;
    transform: translateY(0);
    opacity: 1;
    z-index: 2;
}

.founder-info-premium h4 {
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.founder-info-premium p {
    font-size: 1rem;
    color: #d4af37;
    margin-top: 0.25rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgb(231 178 7 / 28%), #00000000 40%);
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity 0.8s ease;
    pointer-events: none;
    filter: blur(24px);
    -webkit-filter: blur(24px);
}

/* --- СТИЛИ ДЛЯ ИКОНОК СОЦСЕТЕЙ --- */
.founder-socials {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease-in-out;
    z-index: 5;
}

.founder-socials a {
    color: #fff;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.295);
}

.founder-card-premium:hover .founder-socials {
    opacity: 1;
    transform: translateX(0);
}

.founder-socials a:hover {
    background-color: #d4af37;
    color: #111;
}

/* --- ЦЕНТРАЛЬНЫЙ БЛОК С ИСТОРИЕЙ --- */
.founders-story-premium {
    flex: 1;
    max-width: 650px;
    padding: 2rem;
    text-align: left;
    z-index: 10;
}

.founders-story-premium h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #d4af37, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: "sansation", sans-serif;
}

.motto-premium {
    font-style: italic;
    color: #ccc;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid #d4af37;
    line-height: 1.6;
}

.founders-story-premium h3 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.founders-story-premium p {
    line-height: 1.7;
    color: #b0b0b0;
}

/*
=====================================================
--- УЛУЧШЕННАЯ АДАПТАЦИЯ (v4.1) ---
=====================================================
*/

/* --- ПЛАВНАЯ ТИПОГРАФИКА --- */
.founders-story-premium h2 {
    font-size: clamp(2.1rem, 5vw, 2.8rem);
}
.founders-story-premium h3 {
    font-size: clamp(1.5rem, 4vw, 1.8rem);
}
.founder-info-premium h4 {
    font-size: clamp(1.4rem, 3.5vw, 1.6rem);
}
.founders-story-premium p, .motto-premium {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

/* --- НОУТБУКИ И БОЛЬШИЕ ПЛАНШЕТЫ (до 1400px) --- */
@media (max-width: 1400px) {
    .founders-container-premium {
        padding: 0 2rem;
        gap: 1.5rem;
        align-items: stretch;
    }
    .founders-story-premium h2 {
        font-size: 2.4rem;

    }
    .founder-card-premium {
        flex-basis: 300px;
    }
    .card-glow{

        display: none;
    }
}

/* --- ПЛАНШЕТЫ В ПОРТРЕТНОЙ ОРИЕНТАЦИИ (до 1024px) --- */
@media (max-width: 1180px) {
    .founders-section-premium {
        padding: 100px 0;
    }
    .founders-container-premium {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }
    .founders-story-premium {
        order: 1;
        flex-basis: 100%;
        max-width: 720px;
        text-align: center;
        padding: 0;
        margin-bottom: 1.5rem;
    }
    .motto-premium {
        margin-left: auto;
        margin-right: auto;
        max-width: 550px;
        text-align: left;
        border-left-width: 4px;
    }
    .founder-card-premium {
        order: 2;
        flex-basis: 340px;
        flex-grow: 1;
        max-width: 380px;
    }
    .founder-socials {

        opacity: 1;
    
        transform: translateX(0);
    }
    
}

/* --- МОБИЛЬНЫЕ УСТРОЙСТВА (до 767px) --- */
@media (max-width: 767px) {
    .founders-section-premium {
        padding: 80px 0;
    }
    .founders-container-premium {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        padding: 0 1rem;
        margin-bottom: 0;
    }
    .founders-story-premium {
        order: 2;
        flex-basis: auto;
    }
    .motto-premium {
        max-width: 100%;
    }
    .founder-card-premium {
        flex-grow: 0;
        width: 90%;
        max-width: 380px;
    }
    .founder-card-premium:first-of-type {
        order: 1;
    }
    .founder-card-premium:last-of-type {
        order: 3;
    }
    /* --- СТИЛИ ДЛЯ ИКОНОК СОЦСЕТЕЙ --- */
.founder-socials {

    opacity: 1;

    transform: translateX(0);
}


}