.onas-hero {
    background: white;
    padding: 40px 0;
    margin-bottom: 0px;
}

.onas-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
}

.onas-hero h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: var(--red);
}

.onas-hero p {
    font-size: 1.1rem;
    color: #666;
    margin-top: 20px;
}

.onas-section {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background-color: var(--red);
}

.about-text p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Values Section */
.values-section {
    padding: 60px 0;
    background: white;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--red);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: white;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.value-card h3::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--red);
    transition: width 0.3s ease;
}

.value-card:hover h3::after {
    width: 60px;
}

.value-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}


@media (max-width: 992px) {
    .onas-hero h1 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .about-image {
        order: -1;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 30px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

footer {
    margin-top: 0;
}



/* ================= ABOUT MODERN ================= */

.about-modern {
    padding: 60px 0;
    background: #f4f4f4;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* ===== LEWA STRONA ===== */

.about-modern .about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
}

.about-modern .about-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background: var(--red);
}

.about-modern .about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* ===== DOLNY PARAGRAF ===== */

.about-bottom {
    margin-top: 60px;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-bottom p {
    margin: 0;
    color: #666;
    line-height: 1.8;
}

/* ===== HIGHLIGHT ===== */

.about-highlight {
    margin-top: 40px;
    padding: 20px 25px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--red);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);

    max-width: 420px;
    /* klucz */
}

/* ===== OBRAZKI ===== */

.about-images {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.img-main img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: block;
}

/* obrazek nachodzący */
.img-secondary {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 60%;
}

.img-secondary img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: block;
    border: 5px solid #f8f8f8;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 992px) {

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .img-secondary {
        bottom: -30px;
        left: -20px;
        width: 70%;
    }

    .about-bottom {
        margin-top: 40px;
        padding: 30px;
    }

    .about-highlight {
        padding: 20px;
    }

    .about-images {
        max-width: 100%;
        margin: 0 10px;
    }
}