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

.hero {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(12, 18, 24, 0.62),
            rgba(12, 18, 24, 0.62)
        ),
        url("/static/img/content/hero-home.webp")
        center center / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 12, 15, 0.84) 0%,
            rgba(8, 12, 15, 0.55) 52%,
            rgba(8, 12, 15, 0.20) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 820px;

    padding-block: 90px;

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

.hero-kicker {
    display: inline-block;

    margin-bottom: 18px;

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

    letter-spacing: 0.14em;

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

.hero h1 {
    margin: 0;

    max-width: 820px;

    font-size: clamp(
        2.8rem,
        4vw,
        4rem
    );

    line-height: 1.08;

    letter-spacing: -0.03em;

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

.hero p {
    max-width: 650px;

    margin:
        26px
        0
        0;

    font-size: 1.12rem;

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

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 34px;
}

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


/* =========================================================
   ### Început: Elemente comune secțiuni ###
   ========================================================= */

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

    margin-bottom: 42px;
}

.section-kicker {
    display: inline-block;

    margin-bottom: 10px;

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

    letter-spacing: 0.12em;
    text-transform: uppercase;

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

.section-heading h2 {
    margin: 0;

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

    line-height: 1.12;

    letter-spacing: -0.02em;

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

.section-heading p {
    margin:
        16px
        0
        0;

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

/* =========================================================
   ### Sfârșit: Elemente comune secțiuni ###
   ========================================================= */


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

.services-section {
    padding:
        90px
        0
        90px;

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

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


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

.services-grid {
    display: grid;

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

    gap: 22px;
}

.service-card {
    position: relative;

    min-height: 300px;

    padding: 28px;

    background:
        linear-gradient(
            145deg,
            #1c2328 0%,
            #151b1f 100%
        );

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

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

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.20);

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

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

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

    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.32),
        0 8px 22px rgba(227, 6, 19, 0.08);
}

.service-icon {
    width: 52px;
    height: 52px;

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

    margin-bottom: 28px;

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

    color: var(--color-white);

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

    border-radius: 12px;

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

.service-card h3 {
    margin: 0;

    font-size: 1.2rem;

    line-height: 1.3;

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

.service-card p {
    margin:
        16px
        0
        22px;

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

.service-card a {
    position: absolute;

    left: 28px;
    bottom: 26px;

    font-size: 0.92rem;
    font-weight: 700;

    color: var(--color-white);

    transition: color 0.2s ease;
}

.service-card a::after {
    content: " →";

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

.service-card a:hover {
    color: var(--color-accent);
}

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


/* =========================================================
   ### Început: Despre companie ###
   ========================================================= */

.about-section {
    padding: 100px 0;

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

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

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

.about-grid {
    display: grid;

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

    align-items: center;

    gap: 70px;
}

.about-media {
    overflow: hidden;

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

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

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.30);
}

.about-media img {
    width: 100%;
    height: 520px;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.about-media:hover img {
    transform: scale(1.025);
}

.about-content h2 {
    margin: 0;

    max-width: 600px;

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

    line-height: 1.15;

    letter-spacing: -0.025em;

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

.about-content > p {
    margin:
        20px
        0
        0;

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


/* =========================================================
   ### Început: Avantaje companie ###
   ========================================================= */

.about-features {
    display: grid;

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

    gap: 26px;

    margin-top: 38px;
}

.about-feature {
    padding-top: 18px;

    border-top:
        2px solid var(--color-accent);
}

.about-feature strong {
    display: block;

    margin-bottom: 6px;

    font-size: 1rem;

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

.about-feature span {
    display: block;

    font-size: 0.9rem;
    line-height: 1.5;

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

/* =========================================================
   ### Sfârșit: Avantaje companie ###
   ========================================================= */

/* =========================================================
   ### Sfârșit: Despre companie ###
   ========================================================= */


/* =========================================================
   ### Început: Proiecte și instalații ###
   ========================================================= */

.projects-section {
    padding: 100px 0;

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

.projects-heading {
    margin-bottom: 42px;
}

.projects-grid {
    display: grid;

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

    grid-template-rows:
        repeat(2, minmax(240px, 1fr));

    gap: 20px;
}

.project-card {
    position: relative;

    margin: 0;

    min-height: 240px;

    overflow: hidden;

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

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

    background: var(--color-dark);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.26);
}

.project-card-large {
    grid-row: 1 / 3;

    min-height: 500px;
}

.project-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

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

.project-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(5, 8, 10, 0.92) 0%,
            rgba(8, 12, 15, 0.32) 55%,
            rgba(8, 12, 15, 0.04) 100%
        );
}

.project-card:hover {
    border-color:
        rgba(227, 6, 19, 0.45);
}

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

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

.project-card figcaption {
    position: absolute;

    left: 26px;
    right: 26px;
    bottom: 24px;

    z-index: 2;

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

.project-card figcaption strong {
    display: block;

    margin-bottom: 6px;

    font-size: 1.08rem;

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

.project-card figcaption span {
    display: block;

    max-width: 420px;

    font-size: 0.9rem;
    line-height: 1.5;

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


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

.projects-action {
    display: flex;
    justify-content: center;

    margin-top: 36px;
}

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

/* =========================================================
   ### Sfârșit: Proiecte și instalații ###
   ========================================================= */


/* =========================================================
   ### Început: Beneficiari ###
   ========================================================= */

.partners-section {
    padding: 100px 0;

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

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

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

.partners-heading {
    margin-inline: auto;

    text-align: center;
}

.partners-heading p {
    margin-inline: auto;

    max-width: 620px;
}


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

.partners-grid {
    display: grid;

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

    gap: 18px;

    margin-top: 45px;
}

.partner-item {
    min-height: 120px;

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

    padding: 24px;

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

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

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

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.15);

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

.partner-item:hover {
    transform: translateY(-3px);

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

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.25),
        0 6px 18px rgba(227, 6, 19, 0.07);
}

.partner-item span {
    font-size: 1.15rem;
    font-weight: 800;

    letter-spacing: 0.04em;

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

    transition: color 0.2s ease;
}

.partner-item:hover span {
    color: var(--color-white);
}

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


/* =========================================================
   ### Început: Buton beneficiari ###
   ========================================================= */

.partners-action {
    display: flex;
    justify-content: center;

    margin-top: 36px;
}

/* =========================================================
   ### Sfârșit: Buton beneficiari ###
   ========================================================= */

/* =========================================================
   ### Sfârșit: Beneficiari ###
   ========================================================= */


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

.contact-cta {
    padding: 80px 0;

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

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

.contact-cta-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.contact-cta-content {
    max-width: 720px;
}

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

.contact-cta-content h2 {
    margin: 0;

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

    line-height: 1.12;

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

.contact-cta-content p {
    margin:
        18px
        0
        0;

    max-width: 620px;

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

.contact-cta-action {
    flex-shrink: 0;
}

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

/* =========================================================
   ### Început: Secțiune DOGUMAK Homepage ###
   ========================================================= */

.home-dogumak {
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    background:
        radial-gradient(
            circle at 18% 50%,
            rgba(227, 6, 19, 0.08),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #0c1013 0%,
            #11171b 55%,
            #0b0f12 100%
        );
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}


.home-dogumak::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--color-accent);
}


.home-dogumak-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(0, 0.92fr);
    gap: 64px;
    align-items: center;
}


/* =========================================================
   ### Început: Imagine DOGUMAK ###
   ========================================================= */

.home-dogumak-media {
    position: relative;
    min-width: 0;
}


.home-dogumak-media::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -18px;
    left: -18px;
    width: 72%;
    height: 72%;
    border-top: 1px solid rgba(227, 6, 19, 0.55);
    border-left: 1px solid rgba(227, 6, 19, 0.55);
    border-radius: var(--radius-medium);
    pointer-events: none;
}


.home-dogumak-media::after {
    content: "DOGUMAK";
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 17px;
    color: rgba(255, 255, 255, 0.20);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
    pointer-events: none;
}


.home-dogumak-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-medium);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.38);
}

/* =========================================================
   ### Sfârșit: Imagine DOGUMAK ###
   ========================================================= */


/* =========================================================
   ### Început: Conținut DOGUMAK ###
   ========================================================= */

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


.home-dogumak-content h2 {
    max-width: 620px;
    margin: 10px 0 22px;
    color: var(--color-white);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}


.home-dogumak-content > p {
    max-width: 620px;
    margin: 0;
    color: var(--color-text-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}


.home-dogumak-features {
    display: grid;
    gap: 12px;
    margin: 28px 0 32px;
    padding: 0;
    list-style: none;
}


.home-dogumak-features li {
    position: relative;
    padding: 12px 16px 12px 42px;
    color: var(--color-text);
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-small);
}


.home-dogumak-features li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 17px;
    width: 9px;
    height: 9px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.12);
    transform: translateY(-50%);
}

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


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

@media (max-width: 1000px) {

    .home-dogumak-grid {
        gap: 40px;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);
    }

}


@media (max-width: 800px) {

    .home-dogumak {
        padding: 70px 0;
    }


    .home-dogumak-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }


    .home-dogumak-media {
        max-width: 680px;
    }


    .home-dogumak-content h2 {
        max-width: 680px;
    }


    .home-dogumak-content > p {
        max-width: 680px;
    }

}


@media (max-width: 520px) {

    .home-dogumak {
        padding: 56px 0;
    }


    .home-dogumak-grid {
        gap: 34px;
    }


    .home-dogumak-media::before {
        top: -10px;
        left: -10px;
    }


    .home-dogumak-media::after {
        right: 12px;
        bottom: 12px;
        font-size: 1.6rem;
    }


    .home-dogumak-content h2 {
        font-size: 2rem;
    }


    .home-dogumak-features {
        margin: 24px 0 28px;
    }


    .home-dogumak-features li {
        padding:
            11px
            12px
            11px
            38px;
    }


    .home-dogumak-features li::before {
        left: 15px;
    }

}

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


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

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

@media (max-width: 1100px) {

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

    .services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

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


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

    .partners-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

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


@media (max-width: 768px) {

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

    .hero {
        min-height: 540px;
    }

    .hero-text {
        padding-block: 70px;
    }

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


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

    .services-section {
        padding: 65px 0;
    }

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


    /* =====================================================
       ### Început: Despre companie tabletă ###
       ===================================================== */

    .about-section {
        padding: 65px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }

    .about-media img {
        height: 400px;
    }

    /* =====================================================
       ### Sfârșit: Despre companie tabletă ###
       ===================================================== */


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

    .projects-section {
        padding: 65px 0;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;

        gap: 18px;
    }

    .project-card,
    .project-card-large {
        grid-row: auto;

        min-height: 320px;
    }

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


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

    .partners-section {
        padding: 65px 0;
    }

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


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

    .contact-cta {
        padding: 65px 0;
    }

    .contact-cta-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 30px;
    }

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


@media (max-width: 640px) {

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

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

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

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


    /* =====================================================
       ### Început: Servicii telefon ###
       ===================================================== */

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

    .service-card {
        min-height: 270px;
    }

    /* =====================================================
       ### Sfârșit: Servicii telefon ###
       ===================================================== */


    /* =====================================================
       ### Început: Despre companie telefon ###
       ===================================================== */

    .about-media img {
        height: 320px;
    }

    .about-features {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    /* =====================================================
       ### Sfârșit: Despre companie telefon ###
       ===================================================== */


    /* =====================================================
       ### Început: Proiecte telefon ###
       ===================================================== */

    .project-card,
    .project-card-large {
        min-height: 260px;
    }

    .project-card figcaption {
        left: 20px;
        right: 20px;
        bottom: 18px;
    }

    /* =====================================================
       ### Sfârșit: Proiecte telefon ###
       ===================================================== */


    /* =====================================================
       ### Început: Beneficiari telefon ###
       ===================================================== */

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

    .partner-item {
        min-height: 100px;
    }

    /* =====================================================
       ### Sfârșit: Beneficiari telefon ###
       ===================================================== */
}

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