/* =========================================================
   ### Început: Hero produse ###
   ========================================================= */

.products-hero {
    padding: 110px 0 85px;

    color: var(--color-white);

    background:
        linear-gradient(
            90deg,
            rgba(8, 12, 15, 0.88) 0%,
            rgba(8, 12, 15, 0.68) 55%,
            rgba(8, 12, 15, 0.38) 100%
        ),
        url("/static/img/projects/10.webp")
        center center / cover no-repeat;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.products-hero-inner {
    max-width: 850px;
}

.products-hero .section-kicker {
    color: var(--color-accent);
}

.products-hero h1 {
    margin: 14px 0 22px;

    max-width: 820px;

    font-size:
        clamp(
            2.6rem,
            5vw,
            4.6rem
        );

    line-height: 1.05;
    letter-spacing: -0.035em;

    color: var(--color-white);
}

.products-hero p {
    margin: 0;

    max-width: 720px;

    font-size: 1.15rem;
    line-height: 1.75;

    color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   ### Sfârșit: Hero produse ###
   ========================================================= */


/* =========================================================
   ### Început: Introducere produse ###
   ========================================================= */

.products-intro {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #11161a 0%,
            #0e1317 100%
        );
}

.products-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;

    align-items: start;
}

.products-intro .section-kicker {
    color: var(--color-accent);
}

.products-intro h2 {
    margin: 10px 0 0;

    max-width: 560px;

    font-size:
        clamp(
            2rem,
            3vw,
            3rem
        );

    line-height: 1.1;

    letter-spacing: -0.025em;

    color: var(--color-text);
}

.products-intro-grid p {
    margin: 0 0 18px;

    color: var(--color-text-muted);

    line-height: 1.75;
}

.products-intro-grid p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   ### Sfârșit: Introducere produse ###
   ========================================================= */


/* =========================================================
   ### Început: Secțiune categorii produse ###
   ========================================================= */

.products-section {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #181e22 0%,
            #141a1e 100%
        );

    border-top:
        1px solid rgba(255, 255, 255, 0.05);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.05);
}

.products-section .section-heading {
    max-width: 720px;

    margin-bottom: 42px;
}

.products-section .section-kicker {
    color: var(--color-accent);
}

.products-section .section-heading h2 {
    margin: 10px 0 14px;

    font-size:
        clamp(
            2rem,
            3vw,
            3rem
        );

    line-height: 1.1;

    color: var(--color-text);
}

.products-section .section-heading p {
    margin: 0;

    color: var(--color-text-muted);

    line-height: 1.7;
}

/* =========================================================
   ### Sfârșit: Secțiune categorii produse ###
   ========================================================= */


/* =========================================================
   ### Început: Grid produse ###
   ========================================================= */

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 26px;
}

/* =========================================================
   ### Sfârșit: Grid produse ###
   ========================================================= */


/* =========================================================
   ### Început: Card produs ###
   ========================================================= */

.product-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            #20272c 0%,
            #161c20 100%
        );

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius: var(--radius-medium);

    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.24);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(227, 6, 19, 0.55);

    box-shadow:
        0 20px 46px rgba(0, 0, 0, 0.34),
        0 8px 22px rgba(227, 6, 19, 0.08);
}

.product-card-image {
    overflow: hidden;

    height: 300px;

    background: var(--color-surface-dark);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.product-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.04);

    filter:
        brightness(0.92)
        saturate(1.05);
}

.product-card-content {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 32px;
}

.product-card-index {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    font-size: 0.9rem;
    font-weight: 800;

    color: var(--color-white);

    background:
        linear-gradient(
            135deg,
            #f10b19,
            #bd0711
        );

    border-radius: var(--radius-small);

    box-shadow:
        0 8px 20px rgba(227, 6, 19, 0.18);
}

.product-card h3 {
    margin: 0 0 14px;

    font-size: 1.55rem;
    line-height: 1.2;

    color: var(--color-text);
}

.product-card p {
    margin: 0 0 26px;

    color: var(--color-text-muted);

    line-height: 1.7;
}

.product-card .btn {
    margin-top: auto;
}

/* =========================================================
   ### Sfârșit: Card produs ###
   ========================================================= */


/* =========================================================
   ### Început: Secțiune proiecte ###
   ========================================================= */

.products-projects {
    padding: 85px 0;

    background:
        linear-gradient(
            180deg,
            #101519 0%,
            #0c1114 100%
        );
}

.products-projects-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.products-projects-inner > div {
    max-width: 720px;
}

.products-projects .section-kicker {
    color: var(--color-accent);
}

.products-projects h2 {
    margin: 10px 0 14px;

    font-size:
        clamp(
            2rem,
            3vw,
            3rem
        );

    line-height: 1.1;

    color: var(--color-text);
}

.products-projects p {
    margin: 0;

    color: var(--color-text-muted);

    line-height: 1.7;
}

.products-projects .btn {
    flex-shrink: 0;
}

/* =========================================================
   ### Sfârșit: Secțiune proiecte ###
   ========================================================= */


/* =========================================================
   ### Început: CTA produse ###
   ========================================================= */

.products-cta {
    padding: 80px 0;

    color: var(--color-white);

    background:
        linear-gradient(
            135deg,
            #0b0f12 0%,
            #12181c 70%,
            #171316 100%
        );

    border-top:
        1px solid rgba(255, 255, 255, 0.06);
}

.products-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.products-cta-inner > div {
    max-width: 720px;
}

.products-cta .section-kicker {
    color: var(--color-accent);
}

.products-cta h2 {
    margin: 10px 0 14px;

    font-size:
        clamp(
            2rem,
            3vw,
            3rem
        );

    line-height: 1.1;

    color: var(--color-white);
}

.products-cta p {
    margin: 0;

    color: rgba(255, 255, 255, 0.70);

    line-height: 1.7;
}

.products-cta .btn {
    flex-shrink: 0;
}

/* =========================================================
   ### Sfârșit: CTA produse ###
   ========================================================= */


/* =========================================================
   ### Început: Responsive produse ###
   ========================================================= */

@media (max-width: 900px) {

    /* =====================================================
       ### Început: Hero produse tabletă ###
       ===================================================== */

    .products-hero {
        padding: 90px 0 70px;
    }

    /* =====================================================
       ### Sfârșit: Hero produse tabletă ###
       ===================================================== */


    /* =====================================================
       ### Început: Conținut produse tabletă ###
       ===================================================== */

    .products-intro,
    .products-section {
        padding: 75px 0;
    }

    .products-intro-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    /* =====================================================
       ### Sfârșit: Conținut produse tabletă ###
       ===================================================== */


    /* =====================================================
       ### Început: Carduri produse tabletă ###
       ===================================================== */

    .product-card-image {
        height: 260px;
    }

    /* =====================================================
       ### Sfârșit: Carduri produse tabletă ###
       ===================================================== */


    /* =====================================================
       ### Început: CTA tabletă ###
       ===================================================== */

    .products-projects-inner,
    .products-cta-inner {
        flex-direction: column;
        align-items: flex-start;

        gap: 30px;
    }

    /* =====================================================
       ### Sfârșit: CTA tabletă ###
       ===================================================== */
}


@media (max-width: 700px) {

    /* =====================================================
       ### Început: Grid produse mobil ###
       ===================================================== */

    .products-grid {
        grid-template-columns: 1fr;
    }

    /* =====================================================
       ### Sfârșit: Grid produse mobil ###
       ===================================================== */
}


@media (max-width: 640px) {

    /* =====================================================
       ### Început: Hero produse telefon ###
       ===================================================== */

    .products-hero {
        padding: 70px 0 55px;
    }

    .products-hero h1 {
        font-size: 2.5rem;
    }

    .products-hero p {
        font-size: 1rem;
    }

    /* =====================================================
       ### Sfârșit: Hero produse telefon ###
       ===================================================== */


    /* =====================================================
       ### Început: Conținut produse telefon ###
       ===================================================== */

    .products-intro,
    .products-section {
        padding: 60px 0;
    }

    /* =====================================================
       ### Sfârșit: Conținut produse telefon ###
       ===================================================== */


    /* =====================================================
       ### Început: Card produs telefon ###
       ===================================================== */

    .product-card-image {
        height: 230px;
    }

    .product-card-content {
        padding: 24px;
    }

    /* =====================================================
       ### Sfârșit: Card produs telefon ###
       ===================================================== */


    /* =====================================================
       ### Început: Secțiuni finale telefon ###
       ===================================================== */

    .products-projects,
    .products-cta {
        padding: 60px 0;
    }

    /* =====================================================
       ### Sfârșit: Secțiuni finale telefon ###
       ===================================================== */
}

/* =========================================================
   ### Sfârșit: Responsive produse ###
   ========================================================= */