/* ================= SECȚIUNE ================= */
.why-us {
    padding: 80px 0 90px;
    position: relative;
    overflow: hidden;
}

/* strat separat pentru textura de puncte - NU pe secțiune direct,
           pentru că masca ar estompa și cardurile, nu doar punctele */
.why-us__dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(
        rgba(0, 113, 168, 0.11) 1.4px,
        transparent 1.4px
    );
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(
        ellipse at center,
        #000 0%,
        transparent 78%
    );
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 78%);
}

/* decor discret, în spirit cu restul paginii */
.why-us::before,
.why-us::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.why-us::before {
    width: 420px;
    height: 420px;
    background: radial-gradient(
        circle,
        rgba(16, 191, 107, 0.35),
        transparent 70%
    );
    filter: blur(30px);
    top: -160px;
    left: -120px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 36%, #000 74%);
    mask-image: linear-gradient(to bottom, transparent 36%, #000 74%);
}

.why-us::after {
    width: 300px;
    height: 300px;
    border: 1.5px solid rgba(0, 113, 168, 0.1);
    bottom: -110px;
    right: -60px;
}

.why-us .wrapper2 {
    position: relative;
    z-index: 1;
}

/* ================= HEADING ================= */
.why-us__head {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 52px;
}

.why-us__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(16, 191, 107, 0.1);
    color: var(--simple-green-new);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.why-us__eyebrow span.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--simple-green);
}

.why-us__head h2 {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 42px;
    line-height: 1.2;
    color: var(--blue-new);
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.why-us__head h2 em {
    font-style: normal;
    color: var(--simple-green-new);
}

.why-us__head p {
    font-size: 16px;
    line-height: 1.65;
    color: #5c747f;
    margin: 0;
}

/* ================= CARDURI ================= */
/* spațiul dintre carduri (clasa .g-4 din Bootstrap a fost scoasă la curățarea CSS-ului) */
.why-us .row.g-4 {
    row-gap: 24px;
}

.why-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid #e1eef5;
    border-radius: 20px;
    padding: 30px 26px 28px;
    overflow: hidden;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

/* bara de accent care crește la hover */
.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(
        to right,
        var(--simple-green-new),
        var(--blue-color)
    );
    transition: width 0.38s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 26px 46px -26px rgba(0, 61, 92, 0.38);
}

.why-card:hover::before {
    width: 100%;
}

/* numărul mare, decorativ, în colț */
.why-card__num {
    position: absolute;
    top: 16px;
    right: 22px;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 46px;
    line-height: 1;
    color: #edf5f9;
    transition:
        color 0.28s ease,
        transform 0.28s ease;
    user-select: none;
}

.why-card:hover .why-card__num {
    color: rgba(16, 191, 107, 0.14);
    transform: translateY(-2px);
}

.why-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(0, 113, 168, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    transition:
        background 0.28s ease,
        transform 0.28s ease;
}

.why-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--blue-color);
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.28s ease;
}

.why-card:hover .why-card__icon {
    background: linear-gradient(
        135deg,
        var(--simple-green-new),
        var(--blue-color)
    );
    transform: scale(1.06) rotate(-4deg);
}

.why-card:hover .why-card__icon svg {
    stroke: #fff;
}

/* cifra mare, cu argumentul concret (18 servicii, 50.000 € etc.) */
.why-card__stat {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8f1f6;
}

.why-card__stat strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 38px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, var(--simple-green-new), var(--blue-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.why-card__stat span {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #51687a;
}

.why-card h3 {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    color: var(--blue-new);
    margin: 0 0 10px;
    position: relative;
    z-index: 1;
}

.why-card p {
    font-size: 14.5px;
    line-height: 1.62;
    color: #5c747f;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* eticheta scurtă, scanabilă */
.why-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    background: #f1f9fc;
    color: var(--blue-new);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 6px 13px;
    border-radius: 999px;
    transition:
        background 0.28s ease,
        color 0.28s ease;
}

.why-card:hover .why-card__tag {
    background: rgba(16, 191, 107, 0.12);
    color: var(--simple-green-new);
}

/* ================= BANDA CTA ================= */
.why-cta {
    margin-top: 46px;
    background: var(--blue-new);
    border-radius: 22px;
    padding: 34px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.why-cta::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(16, 191, 107, 0.22),
        transparent 70%
    );
    filter: blur(24px);
    top: -160px;
    right: -60px;
    pointer-events: none;
}

.why-cta__text {
    position: relative;
    z-index: 1;
}

.why-cta__text h3 {
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
}

.why-cta__text p {
    font-size: 14.5px;
    color: #8fb4c7;
    margin: 0;
}

.why-cta__btn {
    position: relative;
    z-index: 1;
    border: none;
    border-radius: 999px;
    padding: 15px 32px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(
        to right,
        var(--simple-green-new) 0%,
        var(--blue-color) 130%
    );
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 12px 26px -12px rgba(16, 191, 107, 0.6);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.why-cta__btn:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none !important;
}

.why-cta__btn svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.why-cta__btn:hover svg {
    transform: translateX(4px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .why-us__head h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .why-us {
        padding: 60px 0 70px;
    }

    .why-us__head {
        margin-bottom: 36px;
        max-width: 350px;
    }

    .why-us__head h2 {
        font-size: 27px;
    }

    /* pe telefon, carduri mai compacte: iconița și cifra pe același rând */
    .why-us .row.g-4 {
        row-gap: 14px;
    }

    .why-card {
        padding: 18px 18px 18px;
        border-radius: 16px;
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 14px;
        align-items: center;
    }

    .why-card__num {
        font-size: 30px;
        top: 12px;
        right: 16px;
    }

    .why-card__icon {
        width: 44px;
        height: 44px;
        border-radius: 13px;
        margin: 0;
    }

    .why-card__icon svg {
        width: 21px;
        height: 21px;
    }

    .why-card__stat {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .why-card__stat strong {
        font-size: 28px;
    }

    .why-card__stat span {
        margin-top: 2px;
        font-size: 11px;
    }

    .why-card h3,
    .why-card p {
        grid-column: 1 / -1;
    }

    .why-card h3 {
        font-size: 16.5px;
        margin: 14px 0 6px;
    }

    .why-card p {
        font-size: 14px;
        line-height: 1.55;
    }

    .why-cta {
        padding: 28px 24px;
        text-align: center;
        justify-content: center;
    }

    .why-cta__text h3 {
        font-size: 20px;
    }

    .why-cta__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .why-card,
    .why-card::before,
    .why-card__icon,
    .why-card__num,
    .why-cta__btn,
    .why-cta__btn svg {
        transition: none;
    }
}
