/* Страница учредителя — premium (.founder-page) */

.founder-page {
    --founder-brand-1: #1e3a8a;
    --founder-brand-2: #667eea;
    --founder-brand-3: #764ba2;
    --founder-brand-4: #c471ed;
    --founder-muted: #5c6370;
    --founder-radius: 18px;
    --founder-shadow: 0 14px 40px rgba(30, 27, 75, 0.1);
}

.founder-page .founder-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a 0%, #667eea 45%, #764ba2 75%, #5b21b6 100%);
    color: #fff;
    padding: 5rem 0 5.5rem;
    margin-bottom: 0;
}

.founder-page .founder-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 15% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 50% 45% at 95% 100%, rgba(196, 113, 237, 0.22) 0%, transparent 50%);
    pointer-events: none;
}

.founder-page .founder-section .container {
    position: relative;
    z-index: 1;
}

.founder-page .founder-hero__label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.65rem;
}

.founder-page .founder-hero__name {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.founder-page .founder-hero__role {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.55;
    opacity: 0.92;
    max-width: 36rem;
    margin-bottom: 1.75rem;
}

.founder-page .founder-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.25rem;
}

.founder-page .founder-stat {
    flex: 1 1 7.5rem;
    min-width: 7.5rem;
    max-width: 11rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.founder-page .founder-stat__value {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.founder-page .founder-stat__label {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0.88;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.founder-page .founder-hero__photo-col {
    position: relative;
}

.founder-page .founder-hero__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 56px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath fill='%23f8f9fc' d='M0 56V28c120-18 240-28 360-28s240 10 360 28 240 28 360 28 240-10 360-28V56H0z'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: 100% 100%;
    pointer-events: none;
}

.founder-page .achievement-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin: 0.2rem 0.25rem 0.2rem 0;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.founder-page .founder-photo-container {
    display: inline-block;
    position: relative;
    padding: 6px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.12));
    border-radius: 24px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.founder-page .founder-photo-container::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 32px;
    background: radial-gradient(circle at 50% 0%, rgba(196, 113, 237, 0.35) 0%, transparent 65%);
    z-index: -1;
    pointer-events: none;
}

.founder-page .founder-photo {
    max-width: 300px;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.founder-page .founder-main {
    padding: 3rem 0 4rem;
    background: linear-gradient(180deg, #f8f9fc 0%, #fff 10%);
}

.founder-page .founder-card {
    background: #fff;
    border-radius: var(--founder-radius);
    border: 1px solid rgba(30, 27, 75, 0.06);
    box-shadow: var(--founder-shadow);
    overflow: hidden;
    margin-bottom: 1.75rem;
    position: relative;
}

.founder-page .founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--founder-brand-2), var(--founder-brand-3), var(--founder-brand-4));
}

.founder-page .founder-card .p-4 {
    padding: 1.75rem 1.65rem !important;
}

.founder-page .founder-card h3,
.founder-page .founder-section-title {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: var(--founder-brand-1);
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 0.65rem;
}

.founder-page .founder-card h3::after,
.founder-page .founder-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3.5rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--founder-brand-2), var(--founder-brand-4));
}

.founder-page .founder-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--founder-brand-1);
    margin-top: 1.5rem;
}

.founder-page .founder-highlight {
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    border: 1px solid transparent;
    margin-bottom: 1rem;
}

.founder-page .founder-highlight--info {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.15);
}

.founder-page .founder-highlight--info h5 {
    color: var(--founder-brand-1);
    font-weight: 700;
    font-size: 0.95rem;
}

.founder-page .founder-highlight--awards {
    background: linear-gradient(135deg, rgba(253, 230, 138, 0.2) 0%, rgba(251, 191, 36, 0.08) 100%);
    border-color: rgba(245, 158, 11, 0.22);
}

.founder-page .founder-highlight--awards h5 {
    color: #92400e;
    font-weight: 700;
    font-size: 0.95rem;
}

.founder-page .founder-highlight--awards li {
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
    color: #4b5563;
}

.founder-page .founder-highlight--awards li::before {
    content: '\f091';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15rem;
    font-size: 0.75rem;
    color: #d97706;
}

.founder-page .founder-skill-list li {
    padding: 0.45rem 0;
    color: var(--founder-muted);
    border-bottom: 1px solid rgba(30, 27, 75, 0.06);
}

.founder-page .founder-skill-list li:last-child {
    border-bottom: none;
}

.founder-page .founder-skill-list i {
    color: var(--founder-brand-2) !important;
}

.founder-page .founder-book-card {
    height: 100%;
    border-radius: 16px !important;
    border: 1px solid rgba(30, 27, 75, 0.08) !important;
    box-shadow: 0 6px 22px rgba(30, 27, 75, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.founder-page .founder-book-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--founder-shadow);
}

.founder-page .founder-book-card .card-title {
    font-size: 1rem;
    font-weight: 700;
}

.founder-page .founder-book-card .btn {
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.82rem;
}

.founder-page .founder-article-card {
    border-radius: 16px !important;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
    background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
}

.founder-page .certificate-card {
    background: #fff;
    border-radius: var(--founder-radius);
    border: 1px solid rgba(30, 27, 75, 0.06);
    box-shadow: 0 6px 24px rgba(30, 27, 75, 0.06);
    padding: 1.35rem;
    margin-bottom: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: calc(100% - 1.5rem);
}

.founder-page .certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--founder-shadow);
}

.founder-page .certificate-image {
    width: 100%;
    height: 210px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: #f8f9fc;
    padding: 0.5rem;
}

.founder-page .profi-widget-container,
.founder-page .founder-sidebar-card {
    background: #fff;
    border-radius: var(--founder-radius);
    border: 1px solid rgba(30, 27, 75, 0.06);
    box-shadow: var(--founder-shadow);
    padding: 1.65rem;
}

@media (min-width: 992px) {
    .founder-page .founder-sidebar {
        position: sticky;
        top: 1.25rem;
        align-self: flex-start;
    }
}

.founder-page .founder-sidebar-card .card-title {
    font-weight: 700;
    color: var(--founder-brand-1);
}

.founder-page .founder-sidebar-card .btn {
    border-radius: 999px;
    font-weight: 600;
}

.founder-page .profi-widget-container .btn-primary {
    border-radius: 999px;
    font-weight: 700;
    border: none;
    background: linear-gradient(135deg, var(--founder-brand-2), var(--founder-brand-3));
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.28);
}

@media (max-width: 767.98px) {
    .founder-page .founder-section {
        padding: 2.75rem 0 3.25rem;
        text-align: center;
    }

    .founder-page .founder-hero__role {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.25rem;
    }

    .founder-page .founder-hero__stats {
        justify-content: center;
    }

    .founder-page .founder-stat {
        flex: 1 1 calc(50% - 0.5rem);
        max-width: none;
    }

    .founder-page .founder-photo-container {
        margin-top: 1.75rem;
    }

    .founder-page .founder-photo {
        max-width: 240px;
        height: 320px;
    }

    .founder-page .founder-main {
        padding: 2rem 0 3rem;
    }

    .founder-page .founder-card .p-4 {
        padding: 1.35rem 1.15rem !important;
    }

    .founder-page .achievement-badge {
        font-size: 0.72rem;
        padding: 0.35rem 0.7rem;
    }

    .founder-page .founder-sidebar-card .btn,
    .founder-page .profi-widget-container .btn {
        width: 100%;
    }
}
