/* Podstrona onas.php. Korzysta też z css/oferta.css (hero, offer-cta). */

.about-lead {
    color: #fff !important;
    font-size: clamp(1.15rem, 2vw, 1.45rem) !important;
    font-weight: 700;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.5rem;
    align-items: start;
}

.about-text p,
.about-block p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 820px;
}

.about-text .about-intro {
    border-left: 3px solid var(--red);
    color: #fff;
    font-size: 1.2rem;
    padding-left: 1.1rem;
}

.about-facts {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    display: grid;
    gap: 1.1rem;
    padding: 1.5rem;
    position: sticky;
    top: 105px;
}

.about-facts div {
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
}

.about-facts strong {
    color: var(--red);
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.1;
}

.about-facts span {
    color: var(--muted);
}

.about-block h2,
.about-invite h2 {
    border-bottom: 3px solid var(--red);
    display: inline-block;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 1.2rem;
    padding-bottom: 0.45rem;
}

.about-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.about-service {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    padding: 1.4rem;
}

.about-service > i {
    color: var(--red);
    font-size: 2rem;
    margin-bottom: 0.7rem;
}

.about-service h3 {
    font-size: 1.05rem;
    font-weight: 900;
}

.about-service p {
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.about-service a {
    color: var(--red);
    font-weight: 800;
    margin-top: auto;
}

.about-quote {
    border-left: 3px solid var(--red);
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-style: italic;
    font-weight: 700;
    margin: 1.5rem 0 0;
    max-width: 820px;
    padding-left: 1.1rem;
}

.about-invite p + p {
    margin-top: 0.8rem;
}

.about-signature {
    color: #fff !important;
    margin-top: 1.2rem !important;
}

.about-signature a {
    color: var(--red);
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-facts {
        position: static;
    }

    .about-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    /* Długie słowo „PrimeAutomotive” nie mieści się w dużym nagłówku na telefonie. */
    .about-page .offer-hero h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
        overflow-wrap: anywhere;
    }

    .about-services {
        grid-template-columns: 1fr;
    }
}
