.home-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 13, 22, .92), rgba(5, 13, 22, .68), rgba(5, 13, 22, .22)),
        url('../img/background/fy_bg2.jpg') center/cover no-repeat;
    transform: scale(1.02);
    z-index: -2;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 35%, rgba(215, 181, 109, .28), transparent 28%);
    z-index: -1;
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    padding-top: 115px;
    padding-bottom: 85px;
    text-align: center;
}

.home-hero h1 {
    max-width: 880px;
    margin: 0 auto 24px;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1.02;
    letter-spacing: 0;
    color: #fff;
}

.home-hero p {
    max-width: 760px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 42px;
    width: 100%;
}

.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
}

.hero-mini-stats div {
    padding: 22px 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.hero-mini-stats strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    color: #d7b56d;
    margin-bottom: 8px;
}

.hero-mini-stats span {
    display: block;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    font-weight: 700;
}

.about-premium-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 42px;
    align-items: stretch;
    margin-top: 38px
}

.about-visual {
    min-height: 520px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15, 23, 32, .14)
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px
}

.info-card {
    padding: 26px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(15, 23, 32, .08);
    box-shadow: 0 18px 45px rgba(15, 23, 32, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 65px rgba(15, 23, 32, .11);
    border-color: rgba(215, 181, 109, .35)
}

.info-card span {
    display: inline-flex;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(215, 181, 109, .16);
    color: #b48a35;
    font-weight: 800;
    margin-bottom: 16px
}

.info-card h3 {
    margin: 0 0 10px;
    color: #111827
}

.info-card p {
    margin: 0;
    color: #5d6875;
    line-height: 1.7;
    font-size: 15px
}

.service-premium-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 32px
}

.service-premium-card {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(15, 23, 32, .08);
    box-shadow: 0 20px 55px rgba(15, 23, 32, .07);
    transition: transform .25s ease, box-shadow .25s ease
}

.service-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 70px rgba(15, 23, 32, .12)
}

.service-premium-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block
}

.service-premium-card div {
    padding: 22px
}

.service-premium-card h3 {
    margin: 0 0 9px;
    color: #111827;
    font-size: 20px
}

.service-premium-card p {
    margin: 0 0 15px;
    color: #607080;
    line-height: 1.65;
    font-size: 15px
}

.service-premium-card a {
    color: #b48a35;
    font-weight: 800;
    text-decoration: none
}

.service-premium-card a:hover {
    color: #111827
}

.sustainability-section {
    background: #0f1720;
    color: #fff;
    overflow: hidden
}

.sustainability-section .split {
    gap: 34px;
    align-items: center
}

.sustainability-image {
    height: 455px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28)
}

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

.dark-panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 30px;
    padding: 42px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .22)
}

.dark-panel h2 {
    color: #fff
}

.dark-panel p {
    color: rgba(255, 255, 255, .78);
    line-height: 1.75
}

.projects-section {
    padding-bottom: 0
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    margin-top: 35px
}

.project-card {
    position: relative;
    min-height: 285px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #111827
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease, filter .45s ease
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, .68));
}

.project-card span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 1;
    font-weight: 800
}

.project-card:hover img {
    transform: scale(1.07);
    filter: saturate(1.08)
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-top: 35px
}

.product-card {
    display: block;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(15, 23, 32, .08);
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(15, 23, 32, .06);
    transition: transform .25s ease, box-shadow .25s ease
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(15, 23, 32, .11)
}

.product-card img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    display: block
}

.product-card h3 {
    min-height: 66px;
    margin: 0;
    padding: 16px;
    color: #111827;
    font-size: 16px;
    line-height: 1.35
}

.blog-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block
}

.empty-blog-panel {
    border-radius: 28px;
    padding: 36px;
    background: linear-gradient(145deg, #101b28, #182535);
    color: #fff;
    text-align: center
}

.empty-blog-panel h3 {
    margin: 0 0 10px;
    color: #fff
}

.empty-blog-panel p {
    color: rgba(255, 255, 255, .72);
    margin-bottom: 20px
}

.home-references {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #0f1720;
}

.home-references .container { position: relative; z-index: 1; }
.home-references-head {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 42px;
}
.home-references-head h2 {
    margin: 12px 0 0;
    color: #fff;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -.045em;
}
.home-references-copy p { margin: 0 0 22px; color: rgba(255,255,255,.66); font-size: 17px; }
.home-references-copy a { color: var(--gold2); font-weight: 800; }
.home-references-copy a span { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-left: 8px; border: 1px solid rgba(240,215,154,.35); border-radius: 50%; }
.home-reference-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    grid-template-rows: repeat(2, 250px);
    gap: 18px;
}
.home-reference-card {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    border-radius: 26px;
    background: #172434;
}
.home-reference-card.is-featured { grid-row: 1 / 3; }
.home-reference-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.home-reference-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(4,11,18,.88)); }
.home-reference-card:hover img { transform: scale(1.045); }
.home-reference-overlay { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 24px; }
.home-reference-meta { margin-bottom: 8px; color: var(--gold2); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.home-reference-overlay h3 { margin: 0; color: #fff; font-size: clamp(21px, 2.2vw, 34px); line-height: 1.12; }
.home-reference-overlay > span { display: block; margin-top: 7px; color: rgba(255,255,255,.62); font-size: 13px; }
.home-references-empty { padding: 54px; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: rgba(255,255,255,.045); text-align: center; }
.home-references-empty > span { color: var(--gold2); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.home-references-empty h3 { margin: 10px 0 4px; color: #fff; font-size: 30px; }
.home-references-empty p { margin: 0; color: rgba(255,255,255,.62); }

@media(max-width:1200px) {
    .service-premium-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .project-gallery {
        grid-template-columns: repeat(3, 1fr)
    }

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

@media(max-width:992px) {
    .home-hero {
        min-height: 86vh
    }

    .home-hero-inner {
        padding-top: 110px
    }

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

    .about-visual {
        min-height: 380px
    }

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

    .service-premium-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .sustainability-section .split {
        grid-template-columns: 1fr
    }

    .sustainability-image {
        height: 360px
    }
    .home-references-head { grid-template-columns: 1fr; gap: 24px; }
}

@media(max-width:640px) {
    .home-hero h1 {
        font-size: 38px;
        line-height: 1.12;
        letter-spacing: 0
    }

    .home-hero p {
        font-size: 16px;
        line-height: 1.75;
    }

    .hero-actions {
        width: min(100%, 340px);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center
    }

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

    .hero-mini-stats div {
        min-width: 0
    }

    .about-cards,
    .service-premium-grid,
    .project-gallery,
    .product-grid {
        grid-template-columns: 1fr
    }

    .about-visual,
    .sustainability-image {
        height: 300px;
        border-radius: 22px
    }

    .dark-panel {
        padding: 28px;
        border-radius: 24px
    }

    .project-card {
        min-height: 245px
    }

    .home-hero-inner {
        padding-top: 120px;
        padding-bottom: 60px;
        width: min(360px, calc(100vw - 32px));
        margin-left: 16px;
        margin-right: auto;
    }

    .hero-mini-stats {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
    .home-reference-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; }
    .home-reference-card, .home-reference-card.is-featured { grid-row: auto; min-height: 330px; }
    .home-references-empty { padding: 38px 20px; }
}
