﻿:root {
    --r: #b51f27;
    --rd: #7f1218;
    --b: #2ca8dc;
    --bd: #087dab;
    --d: #182b32;
    --t: #526169;
    --l: #f5fafc
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px
}

body {
    margin: 0;
    font-family: math;
    color: var(--t);
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: inherit
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.wrap {
    width: 100%;
    padding: 0 3vw
}
.owl-controls {
    display: none;
}
.header {
    height: 76px;
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: #fffffff5;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #ddd;
    transition: .3s
}

    .header.scrolled {
        box-shadow: 0 8px 28px #0001
    }

.head {
    height: 76px;
    display: flex;
    align-items: center;
    gap: 25px
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 205px
}

    .logo b {
        font: 700 21px 'Playfair Display',Georgia,serif;
        color: #18272d
    }

    .logo small {
        display: block;
        font-size: 7px;
        font-weight: 800;
        color: var(--r)
    }

.mark {
    width: 45px;
    height: 38px;
    position: relative
}

    .mark:before, .mark:after {
        content: '';
        position: absolute;
        bottom: 2px;
        border-style: solid
    }

    .mark:before {
        left: 1px;
        border-width: 0 17px 30px;
        border-color: transparent transparent var(--b) transparent;
        transform: rotate(-8deg)
    }

    .mark:after {
        right: 0;
        border-width: 0 17px 35px;
        border-color: transparent transparent var(--r) transparent;
        transform: rotate(9deg)
    }

.nav {
    margin-left: auto;
    display: flex;
    gap: 27px
}

    .nav a {
        font-size: 11px;
        font-weight: 800;
        padding: 30px 0 25px;
        position: relative
    }

        .nav a:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 17px;
            width: 0;
            height: 2px;
            background: var(--r);
            transition: .25s
        }

        .nav a:hover, .nav a.active {
            color: var(--r)
        }

            .nav a:hover:after, .nav a.active:after {
                width: 100%
            }

.head-btn, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border-radius: 5px
}

.head-btn {
    background: var(--r);
    color: #fff;
    padding: 12px 17px;
    font-size: 10px
}

.menu {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 7px
}

.hero {
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg,#fff 0%,#fffffff5 28%,#ffffffb8 46%,#fff1 76%),url('/img/bang-hieu-da.webp') center right/cover no-repeat
}

.hero-copy {
    max-width: 800px;
}

.kicker {
    font: 22px 'Playfair Display',Georgia,serif;
    color: #bd8520
}

.hero h1 {
    font: 700 clamp(48px,5.3vw,80px)/1.02 'Playfair Display',Georgia,serif;
    color: var(--rd);
    margin: 8px 0 22px
}

.line {
    width: 65px;
    height: 3px;
    background: var(--b);
    margin-bottom: 20px
}

.hero p {
    font-size: 23px;
    line-height: 1.8
}

.features {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin: 25px 0
}

.feature {
    display: flex;
    align-items: center;
    gap: 7px
}

    .feature i {
        width: 38px;
        height: 38px;
        flex: none;
        border: 1px solid var(--b);
        border-radius: 50%;
        display: grid;
        place-items: center;
        color: var(--r);
        font-style: normal
    }

    .feature span {
        font-size: 20px;
        font-weight: 800;
        line-height: 1.35
    }

.btn {
    padding: 13px 18px;
    font-size: 20px;
}

.red {
    background: var(--r);
    color: #fff
}

.outline {
    border: 1px solid var(--r);
    color: var(--rd);
    margin-left: 7px
}

    .outline:hover {
        background: var(--r);
        color: #fff
    }

.scroll {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--r)
}

    .scroll:after {
        content: '';
        display: block;
        width: 1px;
        height: 35px;
        margin: 6px auto;
        background: linear-gradient(var(--r),transparent);
        animation: pulse 1.5s infinite
    }

@keyframes pulse {
    50% {
        transform: scaleY(.35);
        transform-origin: top
    }
}

.stats {
    background: linear-gradient(100deg, var(--rd), var(--r), #6d1212);
    color: #fff
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr)
}

.stat {
    min-height: 112px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 1px solid #fff2
}

    .stat b {
        font-size: 2rem
    }

    .stat span {
        font-size: 15px;
        line-height: 1.4
    }

.section {
    padding: 82px 0
}

.title {
    text-align: center;
    margin-bottom: 38px
}

    .title h2 {
        font-weight: 900;
        margin: 0;
        color: var(--d);
        text-transform: uppercase
    }

    .title p {
        font-size: 20px
    }

.dec {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px
}

    .dec:before, .dec:after {
        content: '';
        width: 42px;
        height: 1px;
        background: var(--b)
    }

    .dec i {
        width: 8px;
        height: 8px;
        border: 1px solid var(--r);
        transform: rotate(45deg)
    }

.products {
    background: #fff
}

.grid4 {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

.card {
    overflow: hidden;
    border: 1px solid #dce7eb;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 8px 25px #193c4a12;
    transition: .35s
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px #193c4a20
    }

.card-img {
    height: 300px;
    position: relative;
    overflow: hidden;
    background: #eaf2f5
}

    .card-img img {
        transition: .5s
    }

.card:hover img {
    transform: scale(1.07)
}

.badge {
    position: absolute;
    top: 13px;
    left: 13px;
    background: var(--r);
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 800
}

.card-body {
    text-align: center;
    padding: 19px
}

.card h3 {
    font-size: 16px;
    color: var(--d);
    margin: 0 0 7px;
    text-transform: uppercase
}

.card p {
    font-size: 15px;
    line-height: 1.6;
    min-height: 48px
}

.more {
    display: inline-block;
    background: var(--r);
    color: #fff;
    padding: 9px 14px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 900
}

.projects {
    background: linear-gradient(120deg, #721118, var(--r) 55%, #730404);
    color: #fff
}

    .projects .title h2 {
        color: #fff
    }

    .projects .title p {
        color: #e5f6fc
    }

    .projects .dec:before, .projects .dec:after {
        background: #b5ebfb
    }

    .projects .dec i {
        border-color: #fff
    }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 12px
}

.project {
    margin: 0;
    overflow: hidden;
    border: 1px solid #fff3;
    border-radius: 9px;
    background: #fff1;
    transition: .3s
}

    .project:hover {
        transform: translateY(-6px)
    }

    .project img {
        height: 200px
    }

    .project figcaption {
        text-align: center;
        font-size: 1rem;
        font-weight: 700;
        padding: 10px;
        min-height: 50px
    }

.why-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 520px;
    box-shadow: 0 15px 45px #193c4a12
}

.why-copy {
    padding: 52px
}

    .why-copy h2 {
        font: 700 32px 'Playfair Display',Georgia,serif;
        color: var(--d);
        margin: 0 0 32px
    }

.why-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 25px
}

.why-item {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 10px
}

.why-icon {
    width: 44px;
    height: 44px;
    border: 1px solid #ffc800;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--r)
}

.why-item h3 {
    font-size: 24px;
    color: var(--d);
    margin: 0;
    text-transform: uppercase
}

.why-item p {
    font-size: 18px;
    line-height: 1.55
}

/* =========================================
   WHY IMAGE - PARALLAX HOVER
========================================= */

.why-img {
    min-height: 520px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: end;
    justify-content: end;
    padding: 40px;
    background: #4a0d12;
    opacity: 0;
    transform: translateX(55px);
    transition: opacity 1s ease, transform 1.2s cubic-bezier(.16,1,.3,1);
    cursor: crosshair;
}

    /* HÌNH */
    .why-img img {
        position: absolute;
        inset: -30px;
        width: calc(100% + 60px);
        height: calc(100% + 60px);
        object-fit: cover;
        opacity: 0;
        will-change: transform;
        z-index: 0;
    }

    /* LỚP ĐỎ */
    .why-img::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
    }

    /* ÁNH SÁNG */
    .why-img::after {
        content: "";
        position: absolute;
        top: -30%;
        left: -100%;
        width: 35%;
        height: 160%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.2), transparent );
        transform: skewX(-20deg);
        z-index: 2;
        pointer-events: none;
    }

    /* =========================
   KHI SCROLL TỚI
========================= */

    .why-img.show {
        background: linear-gradient(120deg, #721118, var(--r) 55%, #730404);
        opacity: 1;
        transform: translateX(0);
    }

        .why-img.show img {
            opacity: 1;
        }

        .why-img.show::after {
            animation: cncstoneLight 2s ease forwards;
        }


    /* =========================
   PARALLAX KHI HOVER
========================= */

    .why-img:hover img {
        transition: transform .12s ease-out;
    }


/* =========================
   ÁNH SÁNG CHẠY QUA
========================= */

@keyframes cncstoneLight {

    from {
        left: -100%;
    }

    to {
        left: 150%;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width:768px) {

    .why-img {
        min-height: 400px;
    }

        .why-img img {
            inset: -15px;
            width: calc(100% + 30px);
            height: calc(100% + 30px);
        }
}

.process {
    background: var(--l)
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px
}

.step {
    text-align: center
}

.step-icon {
    width: 68px;
    height: 68px;
    margin: auto;
    font-size: 20px;
    border: 2px solid #d9a513;
    border-radius: 13px;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--r);
    font-weight: 900
}

.step h3 {
    font-size: 24px;
    color: var(--d);
    text-transform: uppercase;
    margin: 12px 0 4px
}

.step p {
    font-size: 20px
}
/* =====================================================
   TESTIMONIALS
===================================================== */

.testimonials {
    padding: 100px 0;
    background: #f7f4f2;
}


/* =====================================================
   LAYOUT
===================================================== */

.testimonial-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    width: 100%;
    min-height: 650px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 25px 70px rgba(60, 10, 15, .10);
}


/* =====================================================
   PARTNER IMAGE
===================================================== */

.partner-showcase {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: #4a0d12;
}


    .partner-showcase img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1s cubic-bezier(.16,1,.3,1);
    }


    .partner-showcase::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, rgba(40,5,9,.05), rgba(55,7,12,.82) );
        z-index: 1;
    }


    .partner-showcase:hover img {
        transform: scale(1.06);
    }


/* =====================================================
   PARTNER TEXT
===================================================== */

.partner-overlay {
    position: absolute;
    left: 45px;
    right: 45px;
    bottom: 45px;
    z-index: 2;
    color: #fff;
}


    .partner-overlay span {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 4px;
        color: #d9a477;
    }


    .partner-overlay h3 {
        margin: 14px 0 18px;
        font-size: clamp(30px, 3vw, 46px);
        line-height: 1.15;
        font-weight: 600;
    }


    .partner-overlay p {
        max-width: 420px;
        margin: 0;
        font-size: 12px;
        line-height: 1.7;
        color: rgba(255,255,255,.78);
    }


/* =====================================================
   REVIEWS AREA
===================================================== */

.reviews-box {
    padding: 50px 45px;
    background: #fff;
    min-width: 0;
}


/* =====================================================
   HEADER
===================================================== */

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 28px;
    border-bottom: 1px solid #eee3e1;
    margin-bottom: 25px;
}


    .reviews-header span {
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 3px;
        color: #9b1c24;
    }


    .reviews-header h3 {
        margin: 8px 0 0;
        font-size: 30px;
        line-height: 1.2;
        color: #351418;
    }


/* =====================================================
   RATING
===================================================== */

.rating-total {
    text-align: right;
}
    .rating-total strong {
        display: block;
        font-family: "Playfair Display", Georgia, serif;
        font-size: 42px;
        line-height: 1;
        color: #8f1820;
    }
    .rating-total .stars {
        margin-top: 5px;
    }
    .rating-total small {
        display: block;
        margin-top: 4px;
        font-size: 10px;
        color: #8a7779;
    }


/* =====================================================
   REVIEWS SCROLL
===================================================== */

.reviews-scroll {
    height: 475px;
    overflow-y: auto;
    padding-right: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}


    /* scrollbar */

    .reviews-scroll::-webkit-scrollbar {
        width: 5px;
    }


    .reviews-scroll::-webkit-scrollbar-track {
        background: #f3ecea;
    }


    .reviews-scroll::-webkit-scrollbar-thumb {
        background: #9b1c24;
        border-radius: 10px;
    }


/* =====================================================
   REVIEW
===================================================== */

.review-item {
    padding: 18px;
    border: 1px solid #eee5e3;
    background: #fff;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    min-width: 0;
}


    .review-item:hover {
        transform: translateY(-4px);
        border-color: #d6b2ad;
        box-shadow: 0 12px 25px rgba(80, 10, 16, .08);
    }


/* =====================================================
   AVATAR
===================================================== */

.review-avatar {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8f1820;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 14px;
}


/* =====================================================
   STARS
===================================================== */

.stars {
    color: #b77a38;
    font-size: 11px;
    letter-spacing: 2px;
}


/* =====================================================
   REVIEW TEXT
===================================================== */

.review-item p {
    margin: 8px 0 12px;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #665658;
}


.review-item b {
    display: block;
    font-family: "Be Vietnam Pro", Arial, sans-serif;
    font-size: 18px;
    color: #351418;
}


.review-item small {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    color: #9a898b;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 1100px) {

    .testimonial-layout {
        grid-template-columns: 1fr;
    }

    .partner-showcase {
        min-height: 500px;
    }

    .reviews-scroll {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 650px) {

    .testimonials {
        padding: 60px 0;
    }

    .reviews-box {
        padding: 35px 20px;
    }

    .reviews-header {
        align-items: flex-start;
        gap: 20px;
    }

        .reviews-header h3 {
            font-size: 25px;
        }

    .reviews-scroll {
        grid-template-columns: 1fr;
        height: 550px;
    }

    .partner-overlay {
        left: 25px;
        right: 25px;
        bottom: 30px;
    }
}
.testimonials {
    background: linear-gradient(120deg, #75151a, var(--r), #772020);
    color: #fff
}

    .testimonials .title h2 {
        color: #fff
    }

.quotes {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px
}

.quote, .partners {
    background: #fff;
    color: var(--d);
    border-radius: 9px;
    padding: 20px
}

    .quote p {
        font-size: 20px;
        line-height: 1.6
    }

.stars {
    color: #e5a91d;
    font-size: 24px
}

.quote b, .quote small {
    font-size: 18px
}

.partners h3 {
    text-align: center;
    font-size: 24px
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px
}

.partner {
    height: 55px;
    border: 1px dashed #d5e1e5;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 900;
    color: #718087
}

.cta {
    text-align: center;
    padding: 55px 0;
    background: linear-gradient(90deg,#fff,#e9f8fd)
}

    .cta h2 {
        font: 700 29px 'Playfair Display',Georgia,serif;
        color: var(--d);
        margin: 0 0 8px
    }

    .cta p {
        font-size: 20px
    }

.footer {
    background: #172930;
    color: #d8e2e5
}

.footer-main {
    padding: 52px 0 35px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 35px
}

.footer strong {
    font: 700 25px 'Playfair Display',Georgia,serif;
    color: #fff
}

.footer small {
    color: #ed6c72;
    font-size: 18px;
    font-weight: 800
}

.footer h3 {
    font-size: 18px;
    color: #aee9fc
}

.footer a, .footer p {
    font-size: 20px;
    line-height: 1.7
}

.bottom {
    border-top: 1px solid #fff2;
    padding: 12px 0;
    font-size: 8px
}

    .bottom .wrap {
        display: flex;
        justify-content: space-between
    }

.float {
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 900;
    display: grid;
    gap: 8px
}

    .float a, .float button {
        width: 47px;
        height: 47px;
        border: 0;
        border-radius: 50%;
        display: grid;
        place-items: center;
        color: #fff;
        box-shadow: 0 8px 22px #0003;
        cursor: pointer
    }

.zalo {
    background: var(--bd)
}

.call {
    background: var(--r)
}

.top {
    background: #35454c
}

.reveal, .left, .right {
    opacity: 0;
    transition: opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)
}

.reveal {
    transform: translateY(45px)
}

.left {
    transform: translateX(-55px)
}

.right {
    transform: translateX(55px)
}

.show {
    opacity: 1 !important;
    transform: none !important
}

.delay1 {
    transition-delay: .08s
}

.delay2 {
    transition-delay: .16s
}

.delay3 {
    transition-delay: .24s
}

.delay4 {
    transition-delay: .32s
}

.delay5 {
    transition-delay: .4s
}

@media(max-width:1050px) {
    .nav {
        gap: 14px
    }

        .nav a {
            font-size: 9px
        }

    .projects-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .grid4 {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:800px) {
    .wrap {
        padding: 0 20px
    }

    .nav, .head-btn {
        display: none
    }

    .menu {
        display: block
    }

    .hero {
        height: auto;
        min-height: 760px;
        padding: 100px 0 60px;
        background: linear-gradient(180deg,#fffffff8 0%,#ffffffdf 48%,#fff2 100%),url('../img/dai-phun-nuoc.webp') center/cover
    }

    .features {
        grid-template-columns: repeat(2,1fr)
    }

    .stats-grid {
        display: flex;
        overflow: auto
    }

    .stat {
        min-width: 180px
    }

    .why-grid {
        grid-template-columns: 1fr
    }

    .why-img {
        min-height: 400px
    }

    .process-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .quotes {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr)
    }
}

@media(max-width:520px) {
    .wrap {
        padding: 0 14px
    }

    .hero h1 {
        font-size: 42px
    }

    .hero p {
        font-size: 12px
    }

    .hero-buttons {
        display: grid
    }

    .outline {
        margin: 8px 0 0
    }

    .grid4, .quote-grid, .footer-grid {
        grid-template-columns: 1fr
    }

    .projects-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .project img {
        height: 160px
    }

    .why-copy {
        padding: 34px 20px
    }

    .why-list {
        grid-template-columns: 1fr
    }

    .process-grid {
        grid-template-columns: 1fr
    }

    .title h2 {
        font-size: 27px
    }

    .bottom .wrap {
        display: block
    }
}
