﻿
.about-company {
    --about-primary: #29064f;
    --about-secondary: #724ace;
    --about-text: #292532;
    --about-muted: #77717f;
    --about-border: #e9e5ef;
    --about-soft: #f7f5fa;
    width: 100%;
    color: var(--about-text);
    font-family: inherit;
    line-height: 1.9;
}

    .about-company * {
        box-sizing: border-box;
    }

    .about-company img {
        display: block;
        max-width: 100%;
    }

.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding: 45px 0 55px;
}

.about-hero-content {
    padding: 20px 0;
}

.about-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--about-secondary);
    font-size: 13px;
    font-weight: 700;
}

.about-hero h3 {
    margin: 0 0 20px;
    color: var(--about-primary);
    font-size: clamp(27px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.6;
}

.about-hero-content > p {
    max-width: 540px;
    margin: 0 0 25px;
    color: var(--about-muted);
    font-size: 15px;
    line-height: 2.2;
}

.about-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--about-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

    .about-hero-link i {
        transition: transform .2s ease;
    }

    .about-hero-link:hover {
        color: var(--about-secondary);
    }

        .about-hero-link:hover i {
            transform: translateX(-4px);
        }

.about-hero-image {
    overflow: hidden;
    min-height: 300px;
    border-radius: 8px;
    background: var(--about-soft);
}

    .about-hero-image img {
        width: 100%;
        height: 100%;
        min-height: 300px;
        object-fit: cover;
    }

.about-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--about-border);
    border-bottom: 1px solid var(--about-border);
    padding: 26px 0;
}

.about-fact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 24px;
    border-left: 1px solid var(--about-border);
}

    .about-fact:first-child {
        padding-right: 0;
    }

    .about-fact:last-child {
        border-left: 0;
    }

.about-fact-icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--about-soft);
    color: var(--about-secondary);
    font-size: 19px;
}

.about-fact strong,
.about-fact div > span {
    display: block;
}

.about-fact strong {
    color: var(--about-primary);
    font-size: 19px;
    font-weight: 800;
}

.about-fact div > span {
    margin-top: 3px;
    color: var(--about-muted);
    font-size: 12px;
}

.about-section {
    padding-top: 70px;
}

.about-section-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

    .about-section-header h2 {
        margin: 0;
        color: var(--about-primary);
        font-size: 27px;
        font-weight: 800;
    }

    .about-section-header p {
        margin: 8px 0 0;
        color: var(--about-muted);
        font-size: 14px;
    }

.about-section-line {
    flex: 1;
    height: 1px;
    background: var(--about-border);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.leader-card {
    padding: 25px;
    border: 1px solid var(--about-border);
    border-radius: 8px;
    background: #fff;
}

.leader-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 76px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--about-border);
}

.leader-avatar {
    display: flex;
    flex: 0 0 98px;
    align-items: center;
    justify-content: center;
    width: 98px;
    height: 98px;
    border-radius: 50%;
    background: var(--about-soft);
    color: var(--about-secondary);
    font-size: 23px;
    overflow: hidden;

    img {
        height: 100%;
        object-fit: cover;
    }
}
.staff-avatar {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--about-soft);
    color: var(--about-secondary);
    font-size: 23px;
    overflow: hidden;

    img {
        height: 100%;
        object-fit: cover;
    }
}

.leader-heading h3 {
    margin: 0 0 5px;
    color: var(--about-primary);
    font-size: 17px;
    font-weight: 800;
}

.leader-heading span {
    color: var(--about-muted);
    font-size: 12px;
}

.leader-body h4 {
    margin: 20px 0 12px;
    color: var(--about-text);
    font-size: 14px;
    font-weight: 800;
}

.leader-body ul {
    margin: 0;
    padding-right: 18px;
}

.leader-body li {
    margin-bottom: 10px;
    padding-right: 2px;
    color: var(--about-muted);
    font-size: 13px;
    line-height: 2;
}

    .leader-body li::marker {
        color: var(--about-secondary);
    }

.about-team-section {
    padding-bottom: 65px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.staff-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--about-border);
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s ease, background-color .2s ease;
}

    .staff-card:hover {
        border-color: #cfc1e7;
        background: #fcfbfe;
    }

    .staff-card img {
        flex: 0 0 62px;
        width: 62px;
        height: 72px;
        border-radius: 5px;
        background: var(--about-soft);
        object-fit: cover;
    }

    .staff-card h3 {
        margin: 0 0 5px;
        color: var(--about-primary);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.8;
    }

    .staff-card span {
        display: block;
        color: var(--about-muted);
        font-size: 11px;
        line-height: 1.9;
    }

@media (max-width: 1100px) {
    .leadership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .staff-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 25px;
    }

    .about-hero-content {
        padding: 0;
    }

    .about-hero-image,
    .about-hero-image img {
        min-height: 220px;
    }

    .about-facts {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-fact,
    .about-fact:first-child {
        padding: 12px 0;
        border-left: 0;
    }

    .about-section {
        padding-top: 45px;
    }

    .about-section-header {
        gap: 15px;
    }

        .about-section-header h2 {
            font-size: 23px;
        }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .staff-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 13px;
    }

        .staff-card img {
            width: 65px;
            height: 72px;
        }
}

@media (max-width: 420px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }

    .staff-card {
        align-items: center;
        flex-direction: row;
    }
}
