/**
 * About page (/about)
 *
 * @package Bringits
 */

.about-page {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    background: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.about-page,
.about-page *,
.about-page *::before,
.about-page *::after {
    box-sizing: border-box;
}

.about-section-inner {
    max-width: 1144px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-section-inner--narrow {
    max-width: 800px;
}

.about-section--alt {
    background: #f8f9fb;
}

.about-section-head {
    text-align: center;
    margin-bottom: 48px;
}

.about-section-head--left {
    text-align: left;
    margin-bottom: 0;
}

.about-section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-color);
    margin: 16px 0 0;
}

.about-section-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #4b5563;
    max-width: 720px;
    margin: 16px auto 0;
}

.about-section-lead--left {
    margin-left: 0;
    margin-right: 0;
}

.about-chip,
.about-section-chip {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.about-chip {
    background: var(--primary-color);
    color: var(--text-color);
}

.about-section-chip {
    background: #edecf0;
    color: #413bb4;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    padding: 8px 24px;
}

/* Hero */

.about-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 104px;
    background: #e8eef5;
}

.about-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url('../images/about/hero-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.about-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.62) 45%, rgba(255, 255, 255, 0.48) 100%),
        radial-gradient(ellipse 90% 80% at 50% 20%, rgba(255, 255, 255, 0.55) 0%, transparent 70%);
}

.about-hero-inner {
    position: relative;
    z-index: 1;
}

.about-hero-content {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.about-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 24px;
    color: var(--text-color);
}

.about-hero-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: #4b5563;
    margin: 0 0 32px;
}

.about-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.about-btn--hero {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
}

.about-btn--hero:hover {
    background: #2a12b8;
    border-color: #2a12b8;
    color: #ffffff;
}

/* Split layouts */

.about-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.about-split-layout--reverse .about-split-content {
    order: 1;
}

.about-split-layout--reverse .about-split-visual {
    order: 2;
}

.about-split-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 300px);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(16, 24, 40, 0.08);
}

.about-mission-visual,
.about-team-visual {
    width: 108%;
    height: 108%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    box-shadow: none;
    opacity: 0.96;
    filter: blur(2.5px) saturate(0.9);
    transform: scale(1.03);
}

/* Mission / team */

.about-mission,
.about-team {
    padding: 72px 0;
}

.about-prose p {
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
    margin: 20px 0 0;
}

.about-prose p:last-child {
    margin-bottom: 0;
}

.about-team-cta {
    margin-top: 28px;
}

/* Buttons */

.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.about-btn:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.about-btn--primary {
    background: var(--secondary-color);
    color: #ffffff;
    border: 2px solid var(--secondary-color);
}

.about-btn--primary:hover {
    background: #2a12b8;
    border-color: #2a12b8;
    color: #ffffff;
}

.about-btn--secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid #d1d5db;
}

.about-btn--secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Values */

.about-values {
    padding: 72px 0;
}

.about-values-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-values-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.about-values-grid--bottom {
    width: 100%;
}

.about-value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 172px;
    min-height: 172px;
    max-height: 172px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: var(--background-color);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
    text-align: center;
}

.about-value-card:hover {
    border-color: rgba(55, 22, 222, 0.25);
    box-shadow: 0 8px 24px rgba(55, 22, 222, 0.08);
    transform: translateY(-2px);
}

.about-value-label {
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
    margin: 0 0 10px;
    text-align: center;
}

.about-value-subtitle {
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
    margin: 0;
    text-align: center;
}

.about-values-grid--top .about-value-card:nth-child(1) {
    border-top: 3px solid var(--secondary-color);
}

.about-values-grid--top .about-value-card:nth-child(2) {
    border-top: 3px solid #686aff;
}

.about-values-grid--top .about-value-card:nth-child(3) {
    border-top: 3px solid var(--primary-color);
}

.about-values-grid--bottom .about-value-card:nth-child(1) {
    border-top: 3px solid #413bb4;
}

.about-values-grid--bottom .about-value-card:nth-child(2) {
    border-top: 3px solid #1b1f1d;
}

/* Contact */

.about-contact {
    width: 100%;
    padding: 0;
}

.about-contact-panel {
    width: 100%;
    text-align: center;
    padding: 64px 24px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-left: none;
    border-right: none;
    border-radius: 0;
    background: #f8f9fb;
}

.about-contact-inner {
    max-width: 640px;
    margin: 0 auto;
}

.about-contact-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 16px;
    color: var(--text-color);
}

.about-contact-lead {
    font-size: 17px;
    line-height: 1.65;
    color: #4b5563;
    max-width: 560px;
    margin: 0 auto 28px;
}

/* Responsive */

@media (min-width: 768px) {
    .about-split-layout {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 48px;
    }

    .about-split-layout--reverse {
        grid-template-columns: 0.95fr 1.05fr;
    }

    .about-split-layout--reverse .about-split-content {
        order: 2;
    }

    .about-split-layout--reverse .about-split-visual {
        order: 1;
    }

    .about-split-visual {
        width: min(100%, 280px);
    }

    .about-values-grid--top {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-values-grid--bottom {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .about-values-grid--bottom .about-value-card:nth-child(1) {
        grid-column: 2 / 4;
    }

    .about-values-grid--bottom .about-value-card:nth-child(2) {
        grid-column: 4 / 6;
    }
}

@media (max-width: 767px) {
    .about-hero {
        padding: 64px 0 72px;
    }

    .about-hero-subtitle {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .about-mission,
    .about-team,
    .about-values {
        padding: 48px 0;
    }

    .about-section-head {
        margin-bottom: 32px;
    }

    .about-section-head--left {
        text-align: left;
    }

    .about-section-title {
        font-size: clamp(24px, 7vw, 32px);
    }

    .about-section-lead {
        font-size: 16px;
    }

    .about-split-layout {
        gap: 32px;
    }

    .about-split-layout--reverse .about-split-content,
    .about-split-layout--reverse .about-split-visual {
        order: unset;
    }

    .about-split-visual {
        width: min(78vw, 260px);
    }

    .about-prose p {
        font-size: 16px;
    }

    .about-values-grid {
        width: 100%;
    }

    .about-value-card {
        height: auto;
        min-height: 0;
        max-height: none;
        padding: 20px 18px;
    }

    .about-value-label {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .about-value-subtitle {
        font-size: 14px;
    }

    .about-contact-panel {
        width: 100%;
        padding: 48px 16px;
    }

    .about-contact-lead {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .about-section-inner {
        padding: 0 16px;
    }

    .about-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .about-btn {
        width: 100%;
    }
}
