/* ==================================================
   DP MONTBAU GROUP
   Main website stylesheet
================================================== */


/* ==================================================
   VARIABLES
================================================== */

:root {
    --black: #0b0b0b;
    --black-soft: #151515;
    --black-light: #202020;

    --red: #e30613;
    --red-dark: #b9000a;

    --gold: #c9a24a;
    --gold-light: #dfc477;

    --white: #ffffff;
    --light: #f4f4f2;
    --grey: #777777;
    --grey-light: #ddddda;

    --max-width: 1280px;

    --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);

    --transition: 0.25s ease;
}


/* ==================================================
   RESET
================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--white);
    color: var(--black);

    line-height: 1.6;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(
        calc(100% - 80px),
        var(--max-width)
    );

    margin: 0 auto;
}


/* ==================================================
   TYPOGRAPHY
================================================== */

h1,
h2,
h3 {
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(
        3.8rem,
        7vw,
        6.8rem
    );
}

h2 {
    font-size: clamp(
        2.3rem,
        4vw,
        4rem
    );
}

h3 {
    font-size: 1.35rem;
}

p {
    color: #444;
}

.eyebrow {
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}


/* ==================================================
   HEADER
================================================== */

.site-header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    background: rgba(5, 5, 5, 0.9);

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

.header-inner {
    min-height: 82px;

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

    gap: 30px;
}


/* ==================================================
   LOGO
================================================== */

.logo {
    position: relative;

    display: inline-flex;
    align-items: center;

    font-weight: 900;

    letter-spacing: -0.04em;

    color: var(--white);

    min-width: 155px;
}

.logo-dp {
    font-size: 1.8rem;
    color: var(--white);
    margin-right: 6px;
}

.logo-dp::first-letter {
    color: var(--red);
}

.logo-name {
    font-size: 1.3rem;
}

.logo-group {
    position: absolute;

    left: 31px;
    bottom: -11px;

    font-size: 0.43rem;

    letter-spacing: 0.45em;

    color: var(--gold);
}


/* ==================================================
   NAVIGATION
================================================== */

.nav {
    display: flex;
    align-items: center;

    gap: 32px;
}

.nav a {
    position: relative;

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

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

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

    padding: 31px 0;

    transition:
        color var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--white);
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 22px;

    height: 2px;

    background: var(--red);

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
    transform: scaleX(1);
}


/* ==================================================
   HEADER CTA
================================================== */

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;

    padding: 14px 21px;

    background: var(--red);

    color: var(--white);

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

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

    transition:
        background var(--transition),
        transform var(--transition);
}

.header-cta:hover {
    background: var(--red-dark);

    transform: translateY(-2px);
}

.header-cta span {
    font-size: 1.1rem;
}


/* ==================================================
   MOBILE MENU BUTTON
================================================== */

.nav-toggle {
    display: none;

    border: 0;
    background: none;

    color: var(--white);

    font-size: 1.7rem;

    cursor: pointer;
}


/* ==================================================
   HERO
================================================== */

.hero {
    min-height: 760px;

    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.78) 38%,
            rgba(0, 0, 0, 0.2) 75%
        ),
        linear-gradient(
            120deg,
            #1b1b1b,
            #333
        );

    overflow: hidden;
}

.hero::after {
    content: "";

    position: absolute;

    right: -5%;
    top: 0;

    width: 65%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            transparent 0 20%,
            rgba(227, 6, 19, 0.12) 20% 21%,
            transparent 21%
        );

    pointer-events: none;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(201, 162, 74, 0.12),
            transparent 35%
        );

    pointer-events: none;
}

.hero-content {
    position: relative;

    z-index: 2;

    padding-top: 80px;

    max-width: 760px;
}

.hero h1 {
    color: var(--white);

    text-transform: uppercase;

    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--red);
}

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

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

    font-size: 1.1rem;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    align-items: center;

    gap: 14px;
}


/* ==================================================
   BUTTONS
================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    min-height: 52px;

    padding: 0 25px;

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

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

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.btn span {
    font-size: 1.1rem;
}

.btn-red {
    background: var(--red);
    color: var(--white);
}

.btn-red:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid
        rgba(255, 255, 255, 0.7);

    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
}


/* ==================================================
   BENEFITS
================================================== */

.benefits {
    background: var(--black);

    border-top: 1px solid
        rgba(201, 162, 74, 0.2);
}

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    min-height: 145px;
}

.benefit {
    position: relative;

    padding: 28px 25px;

    text-align: center;

    border-right: 1px solid
        rgba(201, 162, 74, 0.35);
}

.benefit:first-child {
    border-left: 1px solid
        rgba(201, 162, 74, 0.35);
}

.benefit-icon {
    color: var(--gold);

    font-size: 1.8rem;

    margin-bottom: 5px;
}

.benefit h3 {
    color: var(--white);

    font-size: 0.85rem;

    text-transform: uppercase;

    letter-spacing: 0.03em;

    margin-bottom: 5px;
}

.benefit p {
    color: rgba(255, 255, 255, 0.6);

    font-size: 0.7rem;

    line-height: 1.4;
}


/* ==================================================
   GENERAL SECTIONS
================================================== */

.section {
    padding: 110px 0;
}

.section-light {
    background: var(--light);
}


/* ==================================================
   ABOUT
================================================== */

.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;

    grid-template-columns:
        1.1fr 1.2fr 0.65fr;

    gap: 55px;

    align-items: center;
}

.about-image {
    min-height: 390px;

    position: relative;

    overflow: hidden;
}

.image-placeholder {
    position: absolute;

    inset: 0;

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

    background:
        linear-gradient(
            135deg,
            #222,
            #444
        );

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

    font-size: 1.3rem;

    font-weight: 800;

    letter-spacing: 0.15em;
}

.about-image::after {
    content: "";

    position: absolute;

    right: -1px;
    bottom: 0;

    width: 75px;
    height: 190px;

    background: var(--red);

    clip-path: polygon(
        100% 0,
        100% 100%,
        0 100%
    );
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content p {
    max-width: 600px;

    margin-bottom: 18px;
}

.about-content .lead {
    font-size: 1.08rem;

    color: #222;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--red);

    font-size: 0.75rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.06em;

    margin-top: 15px;
}

.text-link span {
    font-size: 1.1rem;

    transition:
        transform var(--transition);
}

.text-link:hover span {
    transform: translateX(5px);
}


/* ==================================================
   ABOUT HIGHLIGHT
================================================== */

.about-highlight {
    background: var(--light);

    padding: 38px 30px;

    border-top: 2px solid var(--gold);

    position: relative;
}

.about-highlight h3 {
    font-size: 1.1rem;

    margin-bottom: 15px;
}

.about-highlight p {
    font-size: 0.85rem;

    margin-bottom: 25px;
}

.about-highlight strong {
    font-family: cursive;

    color: var(--gold);

    font-size: 1.15rem;

    font-weight: 500;
}


/* ==================================================
   SERVICES
================================================== */

.services-section {
    background: var(--black);

    color: var(--white);
}

.services-section p {
    color: rgba(255, 255, 255, 0.68);
}

.section-heading {
    display: grid;

    grid-template-columns:
        1fr 0.8fr;

    gap: 70px;

    align-items: end;

    margin-bottom: 50px;
}

.section-heading h2 {
    color: var(--white);
}

.section-heading > p {
    max-width: 480px;
}


/* ==================================================
   SERVICE CARDS
================================================== */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 12px;
}

.service-card {
    background: var(--black-soft);

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

    transition:
        transform var(--transition),
        border-color var(--transition);
}

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

    border-color:
        rgba(201, 162, 74, 0.7);
}

.service-image {
    height: 180px;

    background:
        linear-gradient(
            135deg,
            #242424,
            #4a4a4a
        );

    position: relative;

    overflow: hidden;
}

.service-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            transparent 50%,
            rgba(227, 6, 19, 0.3)
        );
}

.service-image-1 {
    background:
        linear-gradient(
            135deg,
            #222 0%,
            #555 100%
        );
}

.service-image-2 {
    background:
        linear-gradient(
            135deg,
            #303030 0%,
            #666 100%
        );
}

.service-image-3 {
    background:
        linear-gradient(
            135deg,
            #191919 0%,
            #484848 100%
        );
}

.service-image-4 {
    background:
        linear-gradient(
            135deg,
            #272727 0%,
            #575757 100%
        );
}

.service-image-5 {
    background:
        linear-gradient(
            135deg,
            #202020 0%,
            #626262 100%
        );
}

.service-card-content {
    padding: 25px 20px 28px;
}

.service-number {
    color: var(--gold);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 0.15em;
}

.service-card h3 {
    color: var(--white);

    font-size: 1.05rem;

    margin: 10px 0 12px;
}

.service-card p {
    font-size: 0.75rem;

    line-height: 1.55;

    min-height: 75px;
}

.service-card a {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;

    color: var(--white);

    font-size: 0.68rem;

    font-weight: 800;

    text-transform: uppercase;
}

.service-card a span {
    color: var(--gold);

    font-size: 1rem;
}


/* ==================================================
   DARK CTA
================================================== */

.dark-section {
    position: relative;

    padding: 85px 0;

    background:
        linear-gradient(
            90deg,
            #080808,
            #181818
        );

    overflow: hidden;
}

.dark-section::after {
    content: "";

    position: absolute;

    right: -80px;
    top: -100px;

    width: 430px;
    height: 430px;

    border: 1px solid
        rgba(201, 162, 74, 0.2);

    transform: rotate(45deg);
}

.dark-section-inner {
    position: relative;

    z-index: 2;

    display: flex;

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

    gap: 60px;
}

.dark-section h2 {
    color: var(--white);
}

.dark-section p {
    max-width: 400px;

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


/* ==================================================
   PROJECTS
================================================== */

.projects-section {
    background: var(--white);
}

.projects-section .section-heading h2 {
    color: var(--black);
}

.projects-section .section-heading p {
    color: #555;
}

.project-preview-grid {
    display: grid;

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

    gap: 15px;
}

.project-preview-placeholder {
    min-height: 240px;

    position: relative;

    display: flex;
    align-items: end;

    padding: 20px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #292929,
            #686868
        );

    transition:
        transform var(--transition);
}

.project-preview-placeholder:hover {
    transform: translateY(-5px);
}

.project-preview-placeholder::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 30%,
            rgba(0, 0, 0, 0.8)
        );
}

.project-preview-placeholder span {
    position: relative;

    z-index: 2;

    color: var(--white);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.12em;
}


/* ==================================================
   STATS
================================================== */

.stats-section {
    position: relative;

    background: var(--black);

    padding: 55px 0;

    overflow: hidden;
}

.stats-grid {
    display: grid;

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

.stat {
    padding: 15px 40px;

    border-right: 1px solid
        rgba(201, 162, 74, 0.35);
}

.stat:first-child {
    padding-left: 0;
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;

    color: var(--gold);

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

    line-height: 1;

    margin-bottom: 10px;
}

.stat span {
    display: block;

    max-width: 160px;

    color: var(--white);

    font-size: 0.68rem;

    font-weight: 700;

    text-transform: uppercase;

    line-height: 1.45;
}


/* ==================================================
   REFERENCES
================================================== */

.reference-section {
    background: var(--light);
}

.reference-grid {
    display: grid;

    grid-template-columns:
        0.75fr 1.25fr;

    gap: 100px;

    align-items: center;
}

.reference-grid h2 {
    max-width: 400px;
}

.reference-content {
    position: relative;

    padding-left: 45px;
}

.quote {
    position: absolute;

    left: 0;
    top: -30px;

    color: var(--gold);

    font-family: Georgia, serif;

    font-size: 5rem;

    line-height: 1;
}

.reference-content blockquote {
    color: #333;

    font-size: 1.15rem;

    line-height: 1.7;

    margin-bottom: 25px;
}

.reference-author {
    color: #777;

    font-size: 0.75rem;

    font-weight: 700;
}


/* ==================================================
   CONTACT CTA
================================================== */

.contact-cta {
    position: relative;

    background:
        linear-gradient(
            100deg,
            #090909,
            #1b1b1b
        );

    padding: 65px 0;

    overflow: hidden;
}

.contact-cta::before {
    content: "";

    position: absolute;

    right: 0;
    top: 0;

    width: 40%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            transparent 48%,
            rgba(201, 162, 74, 0.3) 48% 49%,
            transparent 49%
        );
}

.contact-cta-inner {
    position: relative;

    z-index: 2;

    display: flex;

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

    gap: 50px;
}

.contact-cta h2 {
    color: var(--white);

    font-size: 2.5rem;

    margin-bottom: 10px;
}

.contact-cta p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.6);
}


/* ==================================================
   CONTACT
================================================== */

.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: start;
}

.contact-grid > div:first-child p:not(.eyebrow) {
    max-width: 500px;

    margin-top: 25px;
}

.contact-details {
    display: grid;

    gap: 30px;
}

.contact-details div {
    padding-bottom: 25px;

    border-bottom: 1px solid var(--grey-light);
}

.contact-details span {
    display: block;

    color: var(--gold);

    font-size: 0.68rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    margin-bottom: 7px;
}

.contact-details a,
.contact-details p {
    color: var(--black);

    font-size: 1.05rem;

    font-weight: 600;
}


/* ==================================================
   FOOTER
================================================== */

.footer {
    background: #080808;

    color: var(--white);

    padding-top: 70px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1.3fr 0.8fr;

    gap: 50px;

    padding-bottom: 55px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.45);

    font-size: 0.75rem;

    margin-top: 18px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-column h3 {
    color: var(--gold);

    font-size: 0.7rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    margin-bottom: 8px;
}

.footer-column a,
.footer-column p {
    color: rgba(255, 255, 255, 0.62);

    font-size: 0.75rem;

    transition:
        color var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.social-links {
    display: flex;

    gap: 8px;
}

.social-links a {
    width: 35px;
    height: 35px;

    display: flex;

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

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

    color: var(--white);

    font-size: 0.7rem;

    font-weight: 700;
}

.social-links a:hover {
    border-color: var(--red);

    background: var(--red);
}


/* ==================================================
   FOOTER BOTTOM
================================================== */

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding: 20px 0;

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

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

    font-size: 0.65rem;
}

.footer-bottom div {
    display: flex;

    gap: 25px;
}

.footer-bottom a:hover {
    color: var(--white);
}


/* ==================================================
   RESPONSIVE — TABLET
================================================== */

@media (max-width: 1100px) {

    .container {
        width: min(
            calc(100% - 50px),
            var(--max-width)
        );
    }

    .nav {
        gap: 18px;
    }

    .header-cta {
        display: none;
    }

    .benefits-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .benefit:nth-child(4),
    .benefit:nth-child(5) {
        border-top: 1px solid
            rgba(201, 162, 74, 0.35);
    }

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

    .about-highlight {
        grid-column: 1 / -1;
    }

    .service-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .project-preview-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

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


/* ==================================================
   RESPONSIVE — MOBILE
================================================== */

@media (max-width: 760px) {

    .container {
        width: calc(100% - 36px);
    }


    /* HEADER */

    .site-header {
        position: absolute;
    }

    .header-inner {
        min-height: 70px;
    }

    .nav-toggle {
        display: block;

        order: 3;
    }

    .nav {
        display: none;

        position: absolute;

        top: 70px;
        left: 0;
        right: 0;

        padding: 15px 18px 25px;

        background: var(--black);

        flex-direction: column;

        align-items: stretch;

        gap: 0;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 15px 5px;

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

    .nav a::after {
        display: none;
    }

    .logo {
        min-width: 0;
    }


    /* HERO */

    .hero {
        min-height: 720px;

        padding: 80px 0 60px;
    }

    .hero-content {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: clamp(
            3rem,
            15vw,
            5rem
        );
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;

        max-width: 300px;
    }

    .btn {
        width: 100%;
    }


    /* BENEFITS */

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

    .benefit {
        border-bottom: 1px solid
            rgba(201, 162, 74, 0.35);
    }

    .benefit:nth-child(3) {
        border-left: 0;
    }

    .benefit:last-child {
        grid-column: 1 / -1;
    }


    /* SECTIONS */

    .section {
        padding: 75px 0;
    }


    /* ABOUT */

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

        gap: 35px;
    }

    .about-image {
        min-height: 300px;
    }

    .about-highlight {
        grid-column: auto;
    }


    /* SECTION HEADINGS */

    .section-heading {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-bottom: 35px;
    }


    /* SERVICES */

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

    .service-image {
        height: 220px;
    }


    /* DARK SECTION */

    .dark-section {
        padding: 70px 0;
    }

    .dark-section-inner {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }


    /* PROJECTS */

    .project-preview-grid {
        grid-template-columns: 1fr;
    }

    .project-preview-placeholder {
        min-height: 280px;
    }


    /* STATS */

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

    .stat {
        padding: 25px 15px;

        border-bottom: 1px solid
            rgba(201, 162, 74, 0.3);
    }

    .stat:first-child {
        padding-left: 15px;
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(3) {
        border-right: 1px solid
            rgba(201, 162, 74, 0.3);
    }


    /* REFERENCE */

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

        gap: 45px;
    }

    .reference-content {
        padding-left: 35px;
    }


    /* CONTACT CTA */

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

        align-items: flex-start;
    }

    .contact-cta h2 {
        font-size: 2.1rem;
    }


    /* CONTACT */

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

        gap: 50px;
    }


    /* FOOTER */

    .footer {
        padding-top: 55px;
    }

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

        gap: 40px 25px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 15px;
    }

    .footer-bottom div {
        flex-wrap: wrap;

        gap: 15px;
    }
}


/* ==================================================
   RESPONSIVE — SMALL MOBILE
================================================== */

@media (max-width: 430px) {

    .container {
        width: calc(100% - 28px);
    }

    .hero {
        min-height: 680px;
    }

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

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

    .benefit,
    .benefit:first-child {
        border-left: 0;
        border-right: 0;
    }

    .benefit:last-child {
        grid-column: auto;
    }

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

    .stat,
    .stat:nth-child(3) {
        border-right: 0;
    }

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

/* ==================================================
   PROJECTS PAGE
================================================== */

.page-hero {

    min-height: 500px;

    position: relative;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.96) 0%,
            rgba(0, 0, 0, 0.78) 45%,
            rgba(0, 0, 0, 0.35) 100%
        ),
        linear-gradient(
            135deg,
            #171717,
            #3a3a3a
        );

    overflow: hidden;
}


.page-hero::after {

    content: "";

    position: absolute;

    right: -5%;
    top: -30%;

    width: 55%;
    height: 160%;

    border: 1px solid
        rgba(201, 162, 74, 0.18);

    transform: rotate(35deg);

    pointer-events: none;
}


.page-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(201, 162, 74, 0.14),
            transparent 35%
        );

    pointer-events: none;
}


.page-hero-content {

    position: relative;

    z-index: 2;

    padding-top: 70px;

    max-width: 850px;
}


.page-hero h1 {

    color: var(--white);

    text-transform: uppercase;

    margin-bottom: 20px;
}


.page-hero h1 span {

    color: var(--red);
}


.page-hero-content > p:last-child {

    max-width: 580px;

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

    font-size: 1.05rem;
}



/* ==================================================
   PROJECTS SECTION
================================================== */

.projects-page-section {

    background: var(--white);
}


.projects-page-heading {

    margin-bottom: 55px;
}


.projects-page-heading > p {

    max-width: 480px;
}



/* ==================================================
   PROJECT GRID
================================================== */

.projects-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}



/* ==================================================
   PROJECT CARD
================================================== */

.project-card {

    position: relative;

    background: var(--white);

    border: 1px solid
        var(--grey-light);

    overflow: hidden;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.project-card:hover {

    transform: translateY(-7px);

    border-color:
        rgba(201, 162, 74, 0.7);

    box-shadow:
        var(--shadow);
}



/* ==================================================
   PROJECT IMAGE
================================================== */

.project-card-image {

    position: relative;

    height: 300px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #222,
            #555
        );
}


.project-card-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


.project-card:hover
.project-card-image img {

    transform: scale(1.05);
}


.project-card-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(0, 0, 0, 0.55)
        );

    pointer-events: none;
}



/* ==================================================
   PROJECT CONTENT
================================================== */

.project-card-content {

    padding: 27px 25px 30px;

}


.project-card-category {

    display: block;

    color: var(--gold);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    margin-bottom: 10px;
}


.project-card h3 {

    font-size: 1.35rem;

    margin-bottom: 12px;
}


.project-card p {

    font-size: 0.82rem;

    line-height: 1.6;

    color: #555;

}


.project-card-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;

    color: var(--red);

    font-size: 0.68rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}


.project-card-link span {

    font-size: 1rem;

    transition:
        transform var(--transition);
}


.project-card:hover
.project-card-link span {

    transform:
        translateX(5px);
}



/* ==================================================
   LOADING
================================================== */

.loading {

    grid-column: 1 / -1;

    min-height: 300px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--grey);

    font-size: 0.8rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;
}



/* ==================================================
   EMPTY / ERROR
================================================== */

.projects-empty {

    grid-column: 1 / -1;

    padding: 80px 20px;

    text-align: center;

    background: var(--light);

}


.projects-empty h3 {

    margin-bottom: 10px;
}


.projects-empty p {

    color: var(--grey);

    font-size: 0.85rem;
}



/* ==================================================
   RESPONSIVE — TABLET
================================================== */

@media (max-width: 1100px) {

    .page-hero {

        min-height: 450px;
    }

    .projects-grid {

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

}



/* ==================================================
   RESPONSIVE — MOBILE
================================================== */

@media (max-width: 760px) {

    .page-hero {

        min-height: 430px;

        padding:
            80px 0 60px;
    }


    .page-hero-content {

        padding-top: 60px;
    }


    .page-hero h1 {

        font-size:
            clamp(
                3rem,
                14vw,
                5rem
            );
    }


    .projects-grid {

        grid-template-columns: 1fr;

        gap: 18px;
    }


    .project-card-image {

        height: 260px;
    }

}



/* ==================================================
   RESPONSIVE — SMALL MOBILE
================================================== */

@media (max-width: 430px) {

    .page-hero {

        min-height: 390px;
    }


    .page-hero h1 {

        font-size: 3rem;
    }


    .project-card-image {

        height: 230px;
    }

}

/* ==================================================
   PROJECT CARD META
================================================== */

.project-card-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 8px 18px;

    margin-top: 22px;

    padding-top: 17px;

    border-top: 1px solid var(--grey-light);

    color: var(--grey);

    font-size: 0.68rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.04em;
}


/* ==================================================
   PROJECT CARD BOTTOM
================================================== */

.project-card-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 20px;
}


/* ==================================================
   PROJECT STATUS
================================================== */

.project-card .badge {

    display: inline-flex;

    align-items: center;

    padding: 6px 9px;

    background: var(--black);

    color: var(--gold);

    font-size: 0.58rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* ==================================================
   PROJECT LINK
================================================== */

.project-card .project-card-link {

    margin-top: 0;

}

/* ==================================================
   PROJECT DETAIL PAGE
================================================== */

.project-detail-hero {

    position: relative;

    padding: 145px 0 90px;

    background:

        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.97),
            rgba(0, 0, 0, 0.82)
        );

    color: var(--white);

    overflow: hidden;
}


.project-detail-hero::after {

    content: "";

    position: absolute;

    right: -100px;

    top: -180px;

    width: 500px;

    height: 500px;

    border: 1px solid
        rgba(201, 162, 74, 0.2);

    transform: rotate(45deg);

    pointer-events: none;
}


.project-detail-hero-overlay {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 80% 45%,
            rgba(201, 162, 74, 0.12),
            transparent 35%
        );

    pointer-events: none;
}


.project-detail {

    position: relative;

    z-index: 2;
}


.back-link {

    position: relative;

    z-index: 3;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 45px;

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

    font-size: 0.7rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition:
        color var(--transition),
        transform var(--transition);
}


.back-link:hover {

    color: var(--white);

    transform: translateX(-4px);
}


/* ==================================================
   DETAIL HEADER
================================================== */

.project-detail-header {

    max-width: 950px;

    margin-bottom: 45px;
}


.project-detail-header .eyebrow {

    margin-bottom: 15px;
}


.project-detail-header h1 {

    color: var(--white);

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

    margin-bottom: 35px;
}


/* ==================================================
   DETAIL META
================================================== */

.detail-meta {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 10px 12px;
}


.detail-badge {

    display: inline-flex;

    align-items: center;

    padding: 8px 12px;

    background: var(--red);

    color: var(--white);

    font-size: 0.62rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


.detail-meta-item {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 12px;

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

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

    font-size: 0.62rem;

    text-transform: uppercase;

    letter-spacing: 0.05em;
}


.detail-meta-item strong {

    color: var(--gold);

    font-size: 0.58rem;

    letter-spacing: 0.08em;
}


/* ==================================================
   DETAIL IMAGE
================================================== */

.detail-image {

    position: relative;

    z-index: 2;

    width: 100%;

    max-height: 650px;

    overflow: hidden;

    margin-bottom: 55px;

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

    background: var(--black-soft);
}


.detail-image img {

    width: 100%;

    max-height: 650px;

    object-fit: cover;

    display: block;
}


.detail-image-placeholder {

    min-height: 400px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

        linear-gradient(
            135deg,
            #222,
            #4a4a4a
        );
}


.detail-image-placeholder span {

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

    font-size: 1.2rem;

    font-weight: 800;

    letter-spacing: 0.18em;
}


/* ==================================================
   DETAIL DESCRIPTION
================================================== */

.detail-description {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    gap: 80px;

    padding-bottom: 30px;
}


.detail-lead {

    color: var(--white);

    font-size: 1.25rem;

    line-height: 1.6;

    font-weight: 600;
}


.detail-text {

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

    font-size: 0.95rem;

    line-height: 1.8;

    white-space: pre-line;
}


/* ==================================================
   LOADING
================================================== */

.project-detail .loading {

    min-height: 250px;

    display: flex;

    align-items: center;

    justify-content: center;

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

    font-size: 0.75rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;
}


/* ==================================================
   DETAIL MOBILE
================================================== */

@media (max-width: 760px) {

    .project-detail-hero {

        padding: 120px 0 65px;
    }


    .back-link {

        margin-bottom: 35px;
    }


    .project-detail-header {

        margin-bottom: 35px;
    }


    .project-detail-header h1 {

        font-size: 3rem;

        margin-bottom: 25px;
    }


    .detail-meta {

        flex-direction: column;

        align-items: stretch;
    }


    .detail-badge,

    .detail-meta-item {

        width: 100%;
    }


    .detail-image {

        margin-bottom: 40px;
    }


    .detail-image-placeholder {

        min-height: 260px;
    }


    .detail-description {

        grid-template-columns: 1fr;

        gap: 30px;
    }


    .detail-lead {

        font-size: 1.05rem;
    }

}


/* ==================================================
   DETAIL SMALL MOBILE
================================================== */

@media (max-width: 430px) {

    .project-detail-hero {

        padding-top: 110px;
    }


    .project-detail-header h1 {

        font-size: 2.5rem;
    }

}

.projects-page-section .section-heading h2 {
    color: var(--black);
}

/* ==================================================
   ADMINISTRATION
================================================== */

.admin-page {

    background: var(--light);

    min-height: 100vh;
}


/* ==================================================
   ADMIN HEADER
================================================== */

.admin-header {

    background: var(--black);

    border-bottom: 1px solid
        rgba(201, 162, 74, 0.25);
}


.admin-header-inner {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


.admin-back {

    display: inline-flex;

    align-items: center;

    gap: 10px;

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

    font-size: 0.7rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    transition:
        color var(--transition),
        transform var(--transition);
}


.admin-back:hover {

    color: var(--white);

    transform: translateX(-3px);
}


/* ==================================================
   ADMIN MAIN
================================================== */

.admin-main {

    padding: 70px 0 100px;
}


/* ==================================================
   ADMIN CARD
================================================== */

.admin-card {

    background: var(--white);

    border: 1px solid
        var(--grey-light);

    box-shadow:
        0 15px 45px
        rgba(0, 0, 0, 0.06);
}


.login-card {

    max-width: 560px;

    margin: 40px auto 0;

    padding: 45px;
}


.admin-card-header {

    margin-bottom: 35px;
}


.admin-card h1 {

    font-size: 2.8rem;

    margin-bottom: 12px;
}


.admin-card-header > p:last-child {

    color: var(--grey);

    font-size: 0.9rem;
}


/* ==================================================
   ADMIN TOOLBAR
================================================== */

.admin-toolbar {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 35px;
}


.admin-toolbar h1 {

    font-size: 3.2rem;

    margin-bottom: 5px;
}


.toolbar-actions {

    display: flex;

    align-items: center;

    gap: 10px;
}


.muted {

    color: var(--grey);

    font-size: 0.75rem;
}


/* ==================================================
   FORM
================================================== */

.admin-form {

    display: flex;

    flex-direction: column;

    gap: 24px;
}


.admin-form label {

    display: flex;

    flex-direction: column;

    gap: 8px;

    color: var(--black);

    font-size: 0.68rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.07em;
}


.admin-form input,
.admin-form textarea,
.admin-form select {

    width: 100%;

    border: 1px solid
        #d4d4d0;

    background: var(--white);

    color: var(--black);

    padding: 13px 14px;

    border-radius: 0;

    outline: none;

    font-family: inherit;

    font-size: 0.9rem;

    font-weight: 400;

    text-transform: none;

    letter-spacing: normal;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}


.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {

    border-color: var(--gold);

    box-shadow:
        0 0 0 3px
        rgba(201, 162, 74, 0.12);
}


.admin-form textarea {

    resize: vertical;

    line-height: 1.6;
}


.admin-form input[type="file"] {

    padding: 10px;

    background: var(--light);

    cursor: pointer;
}


.admin-form small {

    color: var(--grey);

    font-size: 0.65rem;

    font-weight: 400;

    text-transform: none;

    letter-spacing: normal;
}


/* ==================================================
   FORM GRID
================================================== */

.form-grid {

    display: grid;

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

    gap: 22px;
}


/* ==================================================
   FORM HEADER
================================================== */

.form-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 30px;

    padding: 32px 35px;

    background: var(--black);

    color: var(--white);
}


.form-header h2 {

    color: var(--white);

    font-size: 2rem;
}


.form-header .eyebrow {

    margin-bottom: 10px;
}


/* ==================================================
   PROJECT FORM
================================================== */

.project-form-card {

    margin-bottom: 45px;
}


.project-form-card .admin-form {

    padding: 35px;
}


/* ==================================================
   BUTTONS
================================================== */

.btn-admin-outline {

    border: 1px solid #aaa;

    background: transparent;

    color: var(--black);
}


.btn-admin-outline:hover {

    background: var(--black);

    color: var(--white);

    border-color: var(--black);
}


/* ==================================================
   ICON BUTTON
================================================== */

.icon-button {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

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

    background: transparent;

    color: var(--white);

    font-size: 1.5rem;

    cursor: pointer;

    transition:
        background var(--transition),
        border-color var(--transition);
}


.icon-button:hover {

    background: var(--red);

    border-color: var(--red);
}


/* ==================================================
   CURRENT IMAGE
================================================== */

.current-image {

    padding: 20px;

    background: var(--light);

    border-left: 3px solid var(--gold);
}


.current-image-label {

    color: var(--black);

    font-size: 0.68rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    margin-bottom: 12px;
}


.current-image img {

    display: block;

    width: 240px;

    max-width: 100%;

    max-height: 180px;

    object-fit: cover;

    margin-bottom: 15px;
}


.checkbox {

    display: flex !important;

    flex-direction: row !important;

    align-items: center;

    gap: 8px !important;

    color: #555 !important;

    font-size: 0.68rem !important;

    font-weight: 600 !important;

    text-transform: none !important;

    letter-spacing: normal !important;

}


.checkbox input {

    width: auto;

    margin: 0;
}


/* ==================================================
   FORM ACTIONS
================================================== */

.form-actions {

    display: flex;

    align-items: center;

    gap: 10px;

    padding-top: 10px;

    border-top: 1px solid var(--grey-light);
}


.form-message {

    min-height: 20px;

    color: var(--red);

    font-size: 0.75rem;

    font-weight: 700;
}


/* ==================================================
   ADMIN PROJECTS
================================================== */

.admin-projects {

    display: grid;

    gap: 15px;
}


/*
   Tohle je základ pro karty,
   které generuje admin.js.
   Pokud admin.js používá staré
   třídy, upravíme je stejně jako
   projects.js.
*/

.admin-projects > * {

    background: var(--white);

    border: 1px solid
        var(--grey-light);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}


.admin-projects > *:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.08);
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 760px) {

    .admin-main {

        padding: 45px 0 70px;
    }


    .admin-header-inner {

        min-height: 70px;
    }


    .login-card {

        padding: 30px 22px;
    }


    .admin-card h1 {

        font-size: 2.3rem;
    }


    .admin-toolbar {

        align-items: flex-start;

        flex-direction: column;

        gap: 25px;
    }


    .admin-toolbar h1 {

        font-size: 2.6rem;
    }


    .toolbar-actions {

        width: 100%;
    }


    .toolbar-actions .btn {

        flex: 1;

        width: auto;
    }


    .form-grid {

        grid-template-columns: 1fr;
    }


    .form-header {

        padding: 25px 22px;
    }


    .form-header h2 {

        font-size: 1.6rem;
    }


    .project-form-card .admin-form {

        padding: 25px 22px;
    }


    .form-actions {

        flex-direction: column;

        align-items: stretch;
    }


    .form-actions .btn {

        width: 100%;
    }

}


@media (max-width: 430px) {

    .admin-back {

        font-size: 0.62rem;
    }


    .admin-toolbar {

        margin-bottom: 25px;
    }


    .toolbar-actions {

        flex-direction: column;

        align-items: stretch;
    }


    .toolbar-actions .btn {

        width: 100%;
    }

}

/* ==================================================
   ADMIN PROJECT LIST
================================================== */

.admin-projects {

    display: grid;

    gap: 18px;
}


.admin-project {

    display: grid;

    grid-template-columns: 230px 1fr;

    background: var(--white);

    border: 1px solid
        var(--grey-light);

    overflow: hidden;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}


.admin-project:hover {

    transform: translateY(-3px);

    border-color:
        rgba(201, 162, 74, 0.6);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.08);
}


/* ==================================================
   ADMIN PROJECT IMAGE
================================================== */

.admin-project-image {

    min-height: 190px;

    background:
        linear-gradient(
            135deg,
            #222,
            #555
        );

    overflow: hidden;
}


.admin-project-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.5s ease;
}


.admin-project:hover
.admin-project-image img {

    transform: scale(1.04);
}


.admin-project-placeholder {

    width: 100%;

    height: 100%;

    min-height: 190px;

    display: flex;

    align-items: center;

    justify-content: center;

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

    font-size: 0.8rem;

    font-weight: 800;

    letter-spacing: 0.15em;
}


/* ==================================================
   ADMIN PROJECT CONTENT
================================================== */

.admin-project-content {

    padding: 27px 30px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}


/* ==================================================
   ADMIN PROJECT HEADING
================================================== */

.admin-project-heading {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 25px;
}


.admin-project-category {

    display: block;

    color: var(--gold);

    font-size: 0.62rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    margin-bottom: 8px;
}


.admin-project h3 {

    font-size: 1.4rem;

    margin-bottom: 0;
}


/* ==================================================
   ADMIN STATUS
================================================== */

.admin-project-status {

    flex-shrink: 0;

    padding: 7px 10px;

    background: var(--black);

    color: var(--gold);

    font-size: 0.58rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


/* ==================================================
   ADMIN META
================================================== */

.admin-project-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 10px 25px;

    margin-top: 20px;

    padding-top: 16px;

    border-top: 1px solid
        var(--grey-light);

    color: var(--grey);

    font-size: 0.68rem;
}


.admin-project-meta span {

    display: flex;

    align-items: center;

    gap: 7px;
}


.admin-project-meta strong {

    color: var(--black);

    font-size: 0.6rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}


/* ==================================================
   ADMIN ACTIONS
================================================== */

.admin-project-actions {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;
}


.admin-project-actions button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 38px;

    padding: 0 15px;

    border: 1px solid
        var(--grey-light);

    background: transparent;

    color: var(--black);

    font-family: inherit;

    font-size: 0.63rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.06em;

    cursor: pointer;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}


.admin-action-edit:hover {

    background: var(--black);

    border-color: var(--black);

    color: var(--white);
}


.admin-action-edit span {

    color: var(--gold);

    font-size: 1rem;
}


.admin-action-delete {

    color: var(--red) !important;

    border-color:
        rgba(227, 6, 19, 0.25) !important;
}


.admin-action-delete:hover {

    background: var(--red);

    border-color: var(--red) !important;

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


/* ==================================================
   ADMIN SUCCESS / ERROR
================================================== */

.form-message.success {

    color: #26733b;
}


.form-message.error {

    color: var(--red);
}


/* ==================================================
   ADMIN PROJECTS MOBILE
================================================== */

@media (max-width: 760px) {

    .admin-project {

        grid-template-columns: 1fr;
    }


    .admin-project-image {

        height: 220px;

        min-height: 0;
    }


    .admin-project-placeholder {

        min-height: 220px;
    }


    .admin-project-content {

        padding: 24px 22px;
    }


    .admin-project-heading {

        flex-direction: column;

        gap: 15px;
    }


    .admin-project-status {

        align-self: flex-start;
    }


    .admin-project-actions {

        width: 100%;
    }


    .admin-project-actions button {

        flex: 1;
    }

}

/* ==================================================
   AKTUÁLNÍ ZAKÁZKY – HOMEPAGE
================================================== */

#featured-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.featured-project-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--grey-light);
    overflow: hidden;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.featured-project-card:hover {
    transform: translateY(-7px);
    border-color: rgba(201, 162, 74, 0.7);
    box-shadow: var(--shadow);
}

.featured-project-card > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.featured-project-image {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #222,
        #555
    );
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.featured-project-card:hover
.featured-project-image img {
    transform: scale(1.05);
}

.featured-project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.35),
        transparent 50%
    );
    pointer-events: none;
}

.featured-project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-project-placeholder span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.featured-project-content {
    padding: 25px 24px 27px;
}

.featured-project-category {
    display: block;
    margin-bottom: 9px;

    color: var(--gold);

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

    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.featured-project-content h3 {
    margin-bottom: 11px;

    color: var(--black);

    font-size: 1.3rem;
    line-height: 1.2;
}

.featured-project-content p {
    margin: 0;

    color: #555;

    font-size: 0.82rem;
    line-height: 1.6;
}

.featured-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;

    margin-top: 20px;
    padding-top: 16px;

    border-top: 1px solid var(--grey-light);

    color: var(--grey);

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

    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.featured-project-meta span {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.featured-project-meta strong {
    color: var(--black);

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

    letter-spacing: 0.06em;
}

.featured-project-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-top: 20px;
}

.featured-project-status {
    display: inline-flex;
    align-items: center;

    padding: 6px 9px;

    background: var(--black);
    color: var(--gold);

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

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.featured-project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--red);

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

    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-project-link span {
    font-size: 1rem;

    transition:
        transform var(--transition);
}

.featured-project-card:hover
.featured-project-link span {
    transform: translateX(5px);
}

.featured-projects-empty {
    grid-column: 1 / -1;

    padding: 65px 20px;

    text-align: center;

    background: var(--light);
}

.featured-projects-empty h3 {
    margin-bottom: 10px;
}

.featured-projects-empty p {
    color: var(--grey);

    font-size: 0.85rem;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1100px) {

    #featured-projects {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 760px) {

    #featured-projects {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .featured-project-image {
        height: 260px;
    }

}


@media (max-width: 430px) {

    .featured-project-image {
        height: 230px;
    }

    .featured-project-content {
        padding: 22px 20px 24px;
    }

    .featured-project-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* ==================================================
   OPRAVA – AKTUÁLNÍ ZAKÁZKY NA HOMEPAGE
================================================== */

#featured-projects {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    width: 100%;
}

#featured-projects .featured-project-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    background: #fff;
    border: 1px solid #ddddda;
    overflow: hidden;
}

#featured-projects .featured-project-card > a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-decoration: none;
    color: inherit;
}

#featured-projects .featured-project-image {
    display: block !important;
    height: 270px;
    overflow: hidden;
    background: #222;
}

#featured-projects .featured-project-image img {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#featured-projects .featured-project-content {
    display: block !important;
    padding: 25px 24px 27px;
    background: #fff;
}

#featured-projects .featured-project-category,
#featured-projects h3,
#featured-projects p,
#featured-projects .featured-project-meta,
#featured-projects .featured-project-bottom {
    display: block;
    visibility: visible;
    opacity: 1;
}

#featured-projects h3 {
    color: #0b0b0b;
}

#featured-projects p {
    color: #555;
}

#featured-projects .featured-project-category {
    color: #c9a24a;
}

#featured-projects .featured-project-link {
    color: #e30613;
}

@media (max-width: 1100px) {
    #featured-projects {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    #featured-projects {
        grid-template-columns: 1fr !important;
    }
}

/* ==================================================
   HOMEPAGE – AKTUÁLNÍ ZAKÁZKY
================================================== */

.projects-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    overflow: visible !important;
}

.projects-section .container {
    display: block !important;
}

.projects-section .section-heading {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#featured-projects {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;

    width: 100% !important;
    min-height: 100px !important;

    visibility: visible !important;
    opacity: 1 !important;
}

#featured-projects .featured-project-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    min-width: 0 !important;

    background: #ffffff !important;
    border: 1px solid #ddddda !important;
}

#featured-projects .featured-project-card a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#featured-projects .featured-project-image {
    display: block !important;
    width: 100% !important;
    height: 270px !important;
    overflow: hidden !important;
    background: #222 !important;
}

#featured-projects .featured-project-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

#featured-projects .featured-project-content {
    display: block !important;
    padding: 25px 24px 27px !important;
    background: #ffffff !important;
}

#featured-projects .featured-project-category {
    display: block !important;
    color: #c9a24a !important;
}

#featured-projects .featured-project-content h3 {
    display: block !important;
    color: #0b0b0b !important;
}

#featured-projects .featured-project-content p {
    display: block !important;
    color: #555555 !important;
}

#featured-projects .featured-project-meta {
    display: flex !important;
    visibility: visible !important;
}

#featured-projects .featured-project-bottom {
    display: flex !important;
    visibility: visible !important;
}

#featured-projects .featured-project-status {
    display: inline-flex !important;
}

#featured-projects .featured-project-link {
    display: inline-flex !important;
    color: #e30613 !important;
}


@media (max-width: 1100px) {

    #featured-projects {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


@media (max-width: 760px) {

    #featured-projects {
        grid-template-columns: 1fr !important;
    }

}

/* ==================================================
   DETAIL ZAKÁZKY – PRACOVNÍ NABÍDKA
================================================== */

.project-detail-header {
    max-width: 1000px;
    margin-bottom: 45px;
}

.project-detail-header h1 {
    max-width: 1000px;
    margin-bottom: 20px;
}

.detail-lead-top {
    max-width: 850px;
    margin-bottom: 30px;
}


/* META INFORMACE */

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.detail-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 20px;
    min-width: 170px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.detail-meta-item strong {
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-light);
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: var(--red);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* HLAVNÍ OBRÁZEK */

.detail-image {
    width: 100%;
    max-height: 560px;
    margin-bottom: 55px;
    overflow: hidden;
    background: var(--black-soft);
}

.detail-image img {
    display: block;
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.detail-image-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-image-placeholder span {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
}


/* PODROBNOSTI */

.detail-description {
    max-width: 900px;
    margin: 0 auto 70px;
    padding: 0 20px;
}

.detail-section-heading {
    margin-bottom: 30px;
}

.detail-section-heading h2 {
    margin: 0;
    color: var(--white);
}

.detail-text {
    padding: 35px;
    background: var(--white);
    color: var(--black);
    font-size: 17px;
    line-height: 1.85;
    white-space: pre-line;
    box-shadow: var(--shadow);
}

.detail-text p {
    margin-bottom: 20px;
}

.detail-text p:last-child {
    margin-bottom: 0;
}


/* KONTAKTNÍ BOX */

.detail-contact-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto 20px;
    padding: 40px;
    max-width: 1000px;
    background: var(--black-soft);
    border-left: 4px solid var(--red);
}

.detail-contact-box h2 {
    margin: 0 0 12px;
    color: var(--white);
}

.detail-contact-box p:not(.eyebrow) {
    margin: 0;
    color: #cccccc;
}


/* ZPĚT */

.back-link {
    display: inline-flex;
    margin-bottom: 45px;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--gold-light);
}


/* RESPONSIVE */

@media (max-width: 760px) {

    .project-detail-header {
        margin-bottom: 30px;
    }

    .project-detail-header h1 {
        font-size: 38px;
    }

    .detail-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .detail-meta-item {
        min-width: 0;
    }

    .detail-image {
        margin-bottom: 40px;
    }

    .detail-image img {
        height: 350px;
    }

    .detail-description {
        padding: 0;
        margin-bottom: 45px;
    }

    .detail-text {
        padding: 25px;
        font-size: 16px;
        line-height: 1.7;
    }

    .detail-contact-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 25px;
    }

}


@media (max-width: 430px) {

    .project-detail-header h1 {
        font-size: 32px;
    }

    .detail-meta {
        grid-template-columns: 1fr;
    }

    .detail-image img {
        height: 260px;
    }

    .detail-image-placeholder {
        height: 260px;
    }

}

/* ==================================================
   DETAIL ZAKÁZKY – PODROBNOSTI
================================================== */

.detail-description {
    display: grid !important;
    grid-template-columns: 320px minmax(0, 1fr) !important;
    gap: 70px !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto 80px !important;
    padding: 0 !important;
}

.detail-section-heading {
    display: block !important;
    margin: 0 !important;
    padding-top: 5px !important;
}

.detail-section-heading .eyebrow {
    margin-bottom: 18px !important;
}

.detail-section-heading h2 {
    margin: 0 !important;
    color: var(--white) !important;
    font-size: 42px !important;
    line-height: 1.05 !important;
}

.detail-text {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;

    padding: 0 0 0 40px !important;

    background: transparent !important;
    color: #e5e5e5 !important;

    border-left: 2px solid var(--gold) !important;

    box-shadow: none !important;

    font-size: 18px !important;
    line-height: 1.9 !important;

    white-space: pre-line !important;
}


/* jemné zvýraznění textu */

.detail-text::first-line {
    color: var(--white);
}


/* mobil */

@media (max-width: 760px) {

    .detail-description {
        display: block !important;
        width: 100% !important;
        margin-bottom: 55px !important;
    }

    .detail-section-heading {
        margin-bottom: 30px !important;
    }

    .detail-section-heading h2 {
        font-size: 34px !important;
    }

    .detail-text {
        padding: 25px 0 0 25px !important;
        font-size: 16px !important;
        line-height: 1.75 !important;
    }

}

/* ==================================================
   LOGO V HEADERU
================================================== */

.site-header .logo {
    display: flex;
    align-items: center;
    width: 190px;
    flex-shrink: 0;
}

.site-header .logo img {
    display: block;
    width: 190px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

.footer-brand .logo img {
    display: block;
    width: 190px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

/* Logo v sekci O nás */
.about-image .image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: var(--white);
    border: 1px solid rgba(201, 162, 74, 0.45);
    border-radius: 4px;
    overflow: hidden;
}

.about-image .image-placeholder img {
    display: block;
    width: 80%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}