/* ============================================================
   SEKCJA ZAŁOŻYCIELA — Mariusz Michalak
   ============================================================ */

.mfounder {
    position: relative;
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--color-bg-2, #071828);
    overflow: hidden;
}

/* Subtelny glow w tle */
.mfounder__bg-accent {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 60% at 15% 50%, rgba(0, 180, 166, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 85% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Wrapper */
.mfounder__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

/* ── ZDJĘCIE ── */
.mfounder__photo-col {
    position: relative;
}

.mfounder__photo-frame {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 420px;
}

/* Linia akcentowa po lewej stronie zdjęcia */
.mfounder__photo-line {
    position: absolute;
    top: 2rem;
    left: -1.25rem;
    width: 3px;
    height: calc(100% - 4rem);
    background: linear-gradient(180deg, var(--color-accent) 0%, transparent 100%);
    border-radius: 2px;
}

.mfounder__photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    filter: brightness(0.97) contrast(1.03);
    transition: transform 0.5s ease;
}

.mfounder__photo-frame:hover .mfounder__photo {
    transform: scale(1.015);
}

/* Badge z liczbą realizacji */
.mfounder__photo-badge {
    position: absolute;
    bottom: 1.5rem;
    right: -1.25rem;
    background: rgba(4, 18, 34, 0.97);
    border: 1.5px solid var(--color-accent);
    border-radius: .75rem;
    padding: .875rem 1.375rem;
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 28px rgba(0, 180, 166, 0.45), 0 0 0 1px rgba(0, 180, 166, 0.15);
}

.mfounder__badge-val {
    display: block;
    font-family: var(--font-heading, 'Syne', sans-serif);
    font-size: 2.125rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    text-shadow: 0 0 18px rgba(0, 180, 166, 0.55);
}

.mfounder__badge-lbl {
    display: block;
    font-size: .8rem;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-top: .3rem;
    font-weight: 600;
}

/* ── TREŚĆ ── */
.mfounder__overline {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.mfounder__name {
    font-family: var(--font-heading, 'Syne', sans-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.1;
    margin: 0 0 .35rem;
}

.mfounder__role {
    font-size: .9rem;
    color: var(--color-muted);
    letter-spacing: .04em;
    margin: 0 0 1.75rem;
}

/* Cytat */
.mfounder__quote {
    margin: 0 0 1.5rem;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--color-accent);
    background: rgba(0, 180, 166, 0.06);
    border-radius: 0 .5rem .5rem 0;
}

.mfounder__quote p {
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
}

/* Bio */
.mfounder__bio {
    font-size: .9375rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0 0 1.75rem;
}

/* Mini statystyki */
.mfounder__stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.mfounder__stat {
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.mfounder__stat-val {
    font-family: var(--font-heading, 'Syne', sans-serif);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.mfounder__stat-lbl {
    font-size: .75rem;
    color: var(--color-muted);
    letter-spacing: .04em;
}

/* CTA link */
.mfounder__cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: .125rem;
    transition: color var(--transition-fast, 0.2s), border-color var(--transition-fast, 0.2s);
}

.mfounder__cta:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* ── RESPONSYWNOŚĆ ── */
@media (max-width: 768px) {
    .mfounder__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .mfounder__photo-col {
        display: flex;
        justify-content: center;
    }

    .mfounder__photo-frame {
        max-width: 320px;
    }

    .mfounder__photo-badge {
        right: 0;
    }

    .mfounder__photo-line {
        display: none;
    }

    .mfounder__stats {
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .mfounder__stats {
        gap: 1rem;
    }

    .mfounder__stat-val {
        font-size: 1.375rem;
    }
}
