/* ===== ABOUT PAGE ===== */
body {
    background-image: url("/images/about/My-Digitalyty.png");
    background-size: cover;
    background-position: center bottom;
}

.header--about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: -1;
}

.header--about {
    padding: clamp(56px, 8vw, 96px) 0;
}

.header__container--about {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(18px, 2.6vw, 28px) clamp(16px, 2.2vw, 24px);
    background: rgba(17, 18, 21, 0.7); /* полупрозрачный фон */
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px); /* для Safari */
}
/* FLEX вместо GRID */
.about-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.hero__lede {
    margin: 1rem 0 1rem 0;
    color: aliceblue;
}
.about-text {
    display: flex;
    flex-direction: column;
    flex: 1 1 52%;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 2;
    gap: 1rem;
}

.about-image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    width: 50%;
}

.about-photo {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    object-fit: cover;
}

/* CTA */
.services-cta {
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(0, 230, 255, 0.08),
        rgba(139, 92, 246, 0.12)
    );
    border-radius: 16px;
    padding: clamp(18px, 3vw, 32px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 900px) {
    .about-flex {
        flex-direction: column-reverse;
        text-align: center;
    }
    .about-text,
    .about-image {
        flex: 1 1 100%;
    }
    .about-photo {
        max-width: 280px;
    }
    .about-image {
        width: 100%;
    }
}
