/* =========================================================
   COLLECTIVE52 — SEKCJA O NAS
   ========================================================= */

.home-about {
    --about-bg: #020b14;
    --about-bg-secondary: #041625;
    --about-white: #ffffff;
    --about-text: #d8e2ec;
    --about-muted: #96a7b8;
    --about-blue: #1479ff;
    --about-cyan: #18bec7;
    --about-border: rgba(125, 211, 252, 0.14);

    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(80px, 8vw, 140px) 0;
    color: var(--about-text);
    background:
        radial-gradient(
            circle at 82% 24%,
            rgba(20, 121, 255, 0.16),
            transparent 32%
        ),
        radial-gradient(
            circle at 10% 85%,
            rgba(24, 190, 199, 0.08),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--about-bg) 0%,
            #03101c 52%,
            var(--about-bg-secondary) 100%
        );
}

.home-about__grid {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.34;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 18%,
        #000 82%,
        transparent
    );
    mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 18%,
        #000 82%,
        transparent
    );
}

.home-about__glow {
    position: absolute;
    z-index: -2;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    filter: blur(95px);
    pointer-events: none;
}

.home-about__glow--left {
    bottom: -250px;
    left: -210px;
    background: rgba(24, 190, 199, 0.1);
}

.home-about__glow--right {
    top: -230px;
    right: -160px;
    background: rgba(20, 121, 255, 0.13);
}

/* =========================================================
   TREŚĆ SEKCJI
   ========================================================= */

.home-about__content {
    max-width: 680px;
}

.home-about__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--about-cyan);
    font-size: 0.77rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-about__eyebrow-line {
    display: block;
    width: 34px;
    height: 2px;
    flex: 0 0 auto;
    background: linear-gradient(
        90deg,
        var(--about-blue),
        var(--about-cyan)
    );
}

.home-about__title {
    max-width: 720px;
    margin: 0 0 25px;
    color: var(--about-white);
    font-size: clamp(2.3rem, 2.3vw, 2.3rem);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.045em;
    text-transform: uppercase;
}

.home-about__title span {
    display: block;
    margin-top: 8px;
    color: var(--about-blue);
}

.home-about__lead {
    max-width: 650px;
    margin-bottom: 17px;
    color: var(--about-white);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.7;
}

.home-about__text {
    max-width: 650px;
    margin-bottom: 0;
    color: var(--about-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* =========================================================
   KAFELKI USŁUG
   ========================================================= */

.home-about__features {
    margin-top: 30px;
}

.home-about__feature-column {
    display: flex;
}

.home-about__feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    height: 100%;
    min-height: 138px;
    padding: 18px;
    border: 1px solid var(--about-border);
    border-radius: 3px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.home-about__feature:hover {
    transform: translateY(-4px);
    border-color: rgba(24, 190, 199, 0.46);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.home-about__feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    margin-top: 1px;
    border: 1px solid rgba(24, 190, 199, 0.32);
    color: var(--about-cyan);
    background:
        linear-gradient(
            135deg,
            rgba(24, 190, 199, 0.14),
            rgba(20, 121, 255, 0.08)
        );
}

.home-about__feature-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-about__feature h3 {
    margin: 0 0 7px;
    color: var(--about-white);
    font-size: 0.97rem;
    font-weight: 800;
    line-height: 1.35;
}

.home-about__feature p {
    margin: 0;
    color: var(--about-muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

/* =========================================================
   PRZYCISKI
   ========================================================= */

.home-about__buttons {
    margin-top: 38px;
}

.home-about__btn-primary,
.home-about__btn-outline {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 13px 24px;
    border-radius: 2px;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.015em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.home-about__btn-primary {
    border: 1px solid var(--about-cyan);
    color: #ffffff;
    background: var(--about-cyan);
    box-shadow: 0 15px 35px rgba(24, 190, 199, 0.16);
}

.home-about__btn-primary:hover,
.home-about__btn-primary:focus-visible {
    transform: translateY(-2px);
    border-color: #22d6df;
    color: #ffffff;
    background: #22cbd4;
    box-shadow: 0 18px 42px rgba(24, 190, 199, 0.25);
}

.home-about__btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #ffffff;
    background: transparent;
}

.home-about__btn-outline:hover,
.home-about__btn-outline:focus-visible {
    transform: translateY(-2px);
    border-color: #ffffff;
    color: #04101c;
    background: #ffffff;
}

/* =========================================================
   CZĘŚĆ GRAFICZNA
   ========================================================= */

.home-about__visual {
    position: relative;
    max-width: 650px;
    margin-left: auto;
    padding: 24px 24px 65px 0;
}

.home-about__image-frame {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #071421;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.42);
}

.home-about__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-about__visual:hover .home-about__image {
    transform: scale(1.035);
}

.home-about__image-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(2, 11, 20, 0.02),
            rgba(2, 11, 20, 0.14) 45%,
            rgba(2, 11, 20, 0.9)
        ),
        linear-gradient(
            90deg,
            rgba(2, 11, 20, 0.36),
            transparent 58%
        );
}

/* =========================================================
   PANEL NA ZDJĘCIU
   ========================================================= */

.home-about__image-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    padding: 30px;
}

.home-about__image-panel-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 11px;
    color: var(--about-cyan);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


.home-about__image-panel h3 {
    max-width: 450px;
    margin: 0 0 19px;
    color: #ffffff;
    font-size: clamp(1.45rem, 2.5vw, 2.2rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.home-about__service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-about__service-tag {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #eaf4ff;
    background: rgba(3, 15, 27, 0.72);
    font-size: 0.69rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0.025em;
    backdrop-filter: blur(10px);
}

/* =========================================================
   DOLNA KARTA INFORMACYJNA
   ========================================================= */

.home-about__floating-card {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(390px, calc(100% - 35px));
    padding: 17px 20px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(4, 17, 29, 0.96);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
}

.home-about__floating-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    color: var(--about-cyan);
    background: rgba(24, 190, 199, 0.1);
}

.home-about__floating-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-about__floating-content {
    min-width: 0;
}

.home-about__floating-card strong,
.home-about__floating-card span {
    display: block;
}

.home-about__floating-card strong {
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 0.86rem;
    line-height: 1.35;
}

.home-about__floating-card span {
    color: var(--about-muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */

@media (max-width: 1199.98px) {
    .home-about__image-frame {
        min-height: 520px;
    }

    .home-about__feature {
        min-height: 155px;
    }
}

@media (max-width: 991.98px) {
    .home-about {
        padding: 85px 0;
    }

    .home-about__content {
        max-width: none;
    }

    .home-about__visual {
        max-width: 760px;
        margin: 0 auto;
    }

    .home-about__image-frame {
        min-height: 520px;
    }

    .home-about__title {
        max-width: 780px;
    }

    .home-about__feature {
        min-height: 130px;
    }
}

@media (max-width: 767.98px) {
    .home-about {
        padding: 70px 0;
    }

    .home-about__title {
        line-height: 1.02;
    }

    .home-about__visual {
        padding: 15px 15px 68px 0;
    }


    .home-about__image-frame {
        min-height: 440px;
    }

    .home-about__image-panel {
        padding: 24px;
    }

    .home-about__floating-card {
        right: 15px;
        width: calc(100% - 15px);
    }
}

@media (max-width: 575.98px) {
    .home-about {
        padding: 60px 0;
    }

    .home-about__eyebrow {
        font-size: 0.66rem;
    }

    .home-about__title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .home-about__lead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .home-about__text {
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .home-about__feature {
        min-height: 0;
    }

    .home-about__buttons {
        margin-top: 30px;
    }

    .home-about__btn-primary,
    .home-about__btn-outline {
        width: 100%;
    }

    .home-about__image-frame {
        min-height: 410px;
    }

    .home-about__image-panel {
        padding: 19px;
    }

    .home-about__image-panel h3 {
        font-size: 1.45rem;
    }

    .home-about__service-tag {
        padding: 6px 9px;
        font-size: 0.62rem;
    }

    .home-about__floating-card {
        padding: 14px;
    }

    .home-about__floating-icon {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }
}

@media (max-width: 420px) {
    .home-about__image-frame {
        min-height: 390px;
    }

    .home-about__service-tags {
        gap: 6px;
    }

    .home-about__image-panel {
        padding: 16px;
    }

    .home-about__floating-card strong {
        font-size: 0.79rem;
    }

    .home-about__floating-card span {
        font-size: 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-about__image,
    .home-about__feature,
    .home-about__btn-primary,
    .home-about__btn-outline {
        transition: none;
    }
}
