/* ==========================================================================
   Trang Ben vung - bo cuc theo mau thiet ke moi.
   Khoi: hanh trinh (anh + 3 muc danh so) / dai do 3 yeu to / trich dan / san xuat.
   ========================================================================== */

.bv-journey,
.bv-produce {
    --bv-ink: var(--main-text-color, #2b1f18);
    --bv-muted: #5d4c42;
    --bv-accent: var(--main-site-bakground, #a13a27);
    --bv-gold: #c9a56b
}

/* Tieu de banner: moi dong mot khoi */
.product-banner h1 .gt-l1,
.product-banner h1 .gt-l2 {
    display: block
}

/* ---------- Hanh trinh ben vung: nen anh + 3 the trang ---------- */
.bv-journey {
    position: relative;
    overflow: hidden;
    padding: 50px 20px 0
}

.bv-journey__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0
}

.bv-journey__inner {
    position: relative;
    z-index: 1;
    max-width: 1408px;
    margin: 0 auto;
    text-align: center
}

.bv-journey__title {
    margin: 0 0 16px;
    font-family: "Proza Libre", iCielProza, serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #6b3a22
}

.bv-journey__lead {
    margin: 0 auto 40px;
    max-width: 760px;
    font-size: 14px;
    line-height: 22px;
    color: #6b3a22
}

.bv-cards {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none
}

.bv-card {
    padding: 36px 28px;
    background: #fff;
    border: 1px solid #efe7d9
}

.bv-card__no {
    display: block;
    margin-bottom: 32px;
    font-size: 40px;
    line-height: .65;
    color: var(--bv-gold)
}

.bv-card__title {
    margin: 0 0 10px;
    font-family: "Proza Libre", iCielProza, serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 25.65px;
    letter-spacing: .19px;
    text-transform: uppercase;
    color: var(--bv-accent)
}

.bv-card__desc {
    margin: 0;
    font-size: 13px;
    line-height: 24.5px;
    color: var(--bv-muted)
}

@media screen and (min-width:768px) {
    .bv-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px
    }
}

/* ---------- Dai do: 3 yeu to ---------- */
.bv-pillars {
    padding: 48px 20px 54px;
    background-color: var(--main-site-bakground, #a13a27);
    color: #fff;
    text-align: center
}

.bv-pillars__inner {
    max-width: 1100px;
    margin: 0 auto
}

.bv-pillars__title {
    margin: 0 0 10px;
    font-family: iCielProza, var(--main-font-coffee), sans-serif;
    font-size: 22px;
    line-height: 1.3;
    text-transform: none;
    color: #fff
}

/* vach ngan ngan duoi tieu de */
.bv-pillars__title:after {
    content: "";
    display: block;
    width: 46px;
    height: 1px;
    margin: 16px auto 0;
    background: rgba(255, 255, 255, .55)
}

.bv-pillars__grid {
    display: grid;
    gap: 34px;
    margin-top: 30px
}

.bv-pillar__icon svg {
    display: block;
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    fill: none;
    stroke: var(--main-light-color, #e4d3a4);
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round
}

.bv-pillar__title {
    margin: 0 0 12px;
    font-family: iCielProza, var(--main-font-coffee), sans-serif;
    font-size: 15px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff
}

.bv-pillar__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .88)
}

/* ---------- Trich dan tren anh ---------- */
.bv-quote {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 50px 20px;
    overflow: hidden
}

.bv-quote__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0
}

.bv-quote:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(31, 22, 16, .34);
    z-index: 1
}

.bv-quote__text {
    position: relative;
    z-index: 2;
    margin: 0;
    max-width: 760px;
    font-family: iCielProza, var(--main-font-coffee), sans-serif;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    color: #fff
}

/* ---------- Khoi san xuat ---------- */
.bv-produce {
    padding: 56px 20px 64px;
    background-color: #fff
}

.bv-produce__inner {
    display: grid;
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto
}

.bv-produce__media {
    margin: 0
}

.bv-produce__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover
}

.bv-produce__title {
    margin: 0 0 16px;
    font-family: iCielProza, var(--main-font-coffee), sans-serif;
    font-size: 24px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--bv-accent)
}

.bv-produce__body p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--bv-muted)
}

/* Nut vien dung chung cho cac trang noi dung */
.mt-outline-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 14px 28px;
    border: 1px solid var(--main-site-bakground, #a13a27);
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--main-site-bakground, #a13a27);
    transition: background-color .3s ease, color .3s ease
}

.mt-outline-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s ease
}

.mt-outline-link:hover {
    background-color: var(--main-site-bakground, #a13a27);
    color: #fff
}

.mt-outline-link:hover svg {
    transform: translateX(4px)
}

/* ---------- Tablet tro len ---------- */
@media screen and (min-width:768px) {
    .bv-journey {
        padding: 60px 40px 0
    }
    .bv-pillars {
        padding: 56px 40px 60px
    }
    .bv-pillars__title {
        font-size: 26px
    }
    .bv-pillars__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0
    }
    /* vach doc ngan giua 3 cot */
    .bv-pillar + .bv-pillar {
        border-left: 1px solid rgba(255, 255, 255, .3)
    }
    .bv-pillar {
        padding: 0 24px
    }
    .bv-quote {
        min-height: 320px
    }
    .bv-quote__text {
        font-size: 24px
    }
    .bv-produce {
        padding: 70px 40px 80px
    }
    .bv-produce__inner {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: center
    }
}

@media screen and (min-width:1024px) {
    .bv-journey {
        padding: 75px 60px 0
    }
    .bv-journey__title {
        font-size: 40px;
        line-height: 56px
    }
    .bv-quote {
        min-height: 380px
    }
    .bv-quote__text {
        font-size: 27px
    }
    .bv-produce__title {
        font-size: 28px
    }
}

@media (prefers-reduced-motion: reduce) {
    .mt-outline-link,
    .mt-outline-link svg {
        transition: none
    }
}

/* ==========================================================================
   Desktop >= 1440px: pixel-perfect theo Figma "Hanh trinh" (frame 1920px)
   Banner 0-1200 / Hanh trinh 1200-1767 / 3 yeu to 1767-2115 /
   Trich dan 2114-2517 / San xuat 2517-3290 / Ket trang 3290-3512
   ========================================================================== */
@media screen and (min-width:1024px) {

    /* ---------- Banner: tieu de 2 dong 41.5px ---------- */
    .product-banner h1 .gt-l1,
    .product-banner h1 .gt-l2 {
        display: block;
        font-family: "Proza Libre", iCielProza, serif;
        font-weight: 600;
        font-size: 41.5px;
        line-height: 58.8px
    }

    /* ---------- Hanh trinh ben vung: 567px ---------- */
    .bv-journey {
        height: 567px;
        padding: 75px var(--gt-edge) 0
    }

    /* Dai mo mau kem o mep tren anh (Figma: Rectangle 3, layer blur) */
    .bv-journey:before {
        content: "";
        position: absolute;
        z-index: 0;
        top: 21px;
        left: 0;
        right: 0;
        height: 48px;
        background: #e3dfcb;
        filter: blur(24px)
    }

    /* Figma hien phan duoi anh: hat ca phe + tui bo o goc phai */
    .bv-journey__bg {
        object-position: 50% 88%
    }

    .bv-journey__inner {
        max-width: none
    }

    .bv-journey__title {
        margin: 0 0 16px;
        font-size: 40px;
        line-height: 56px;
        letter-spacing: .4px
    }

    .bv-journey__lead {
        width: 760px;
        max-width: none;
        margin: 0 auto 59px;
        font-size: 14.1px;
        line-height: 22px
    }

    .bv-cards {
        grid-template-columns: repeat(3, minmax(0, 448px));
        justify-content: space-between;
        gap: 32px
    }

    .bv-card {
        height: 317px;
        padding: 48px
    }

    .bv-card__no {
        margin: 0 0 48px;
        font-size: 48px;
        line-height: 31.2px
    }

    .bv-card__title {
        margin: 0 0 10px;
        font-size: 18.4px;
        line-height: 25.65px;
        letter-spacing: .19px
    }

    .bv-card:nth-child(1) .bv-card__title {
        font-size: 18.3px
    }

    .bv-card:nth-child(2) .bv-card__title {
        font-size: 18.7px
    }

    .bv-card__desc {
        font-size: 12.3px;
        line-height: 24.5px
    }

    .bv-card:nth-child(1) .bv-card__desc {
        font-size: 12.1px
    }

    .bv-card:nth-child(3) .bv-card__title,
    .bv-card:nth-child(3) .bv-card__desc {
        padding: 0 10px
    }

    /* ---------- 3 yeu to: 348px, khung 1100 ---------- */
    .bv-pillars {
        padding: 56px 0 60px
    }

    .bv-pillars__inner {
        max-width: 1100px
    }

    .bv-pillars__title {
        margin: 0;
        font-family: "Proza Libre", iCielProza, serif;
        font-weight: 600;
        font-size: 24px;
        line-height: 33.8px
    }

    .bv-pillars__title:after {
        margin: 16.3px auto 0
    }

    .bv-pillars__grid {
        margin-top: 30px
    }

    .bv-pillar {
        padding: 0 24px
    }

    .bv-pillar__icon svg {
        margin: 0 auto 10.9px
    }

    .bv-pillar__title {
        margin: 0 0 10.9px;
        padding-top: 7.1px;
        font-family: Inter, sans-serif;
        font-weight: 700;
        font-size: 15px;
        line-height: 21px;
        letter-spacing: 1.8px
    }

    .bv-pillar__desc {
        font-size: 12.3px;
        line-height: 23.8px
    }

    .bv-pillar:nth-child(1) .bv-pillar__desc {
        font-size: 12.4px
    }

    .bv-pillar:nth-child(2) .bv-pillar__desc {
        font-size: 12.1px
    }

    /* ---------- Trich dan: 403px ---------- */
    .bv-quote {
        min-height: 0;
        height: 403px;
        padding: 0 20px
    }

    .bv-quote:after {
        background: rgba(31, 22, 16, .62)
    }

    .bv-quote__text {
        max-width: none;
        font-family: Inter, sans-serif;
        font-weight: 400;
        font-size: 40px;
        line-height: 52px;
        white-space: nowrap
    }

    /* ---------- San xuat: 773px, nen trang ---------- */
    .bv-produce {
        padding: 70px var(--gt-edge) 80px;
        background-color: #fff
    }

    .bv-produce__inner {
        display: flex;
        align-items: center;
        gap: 80px;
        max-width: none;
        min-height: 623px;
        /* Figma: anh 814 + 80 + chu 526 = 1420, vuot khung 1408 dung 12px */
        margin-right: -12px
    }

    .bv-produce__media {
        flex: 0 1 814px;
        min-width: 0
    }

    /* Figma: khung 814x521, anh 814x590 lech -34px va hien tran ra ngoai khung */
    .bv-produce__media {
        height: 521px;
        overflow: visible
    }

    .bv-produce__media img {
        width: 100%;
        height: 590px;
        max-height: none;
        margin-top: -34.5px;
        object-fit: cover
    }

    .bv-produce__body {
        flex: 0 0 526px
    }

    .bv-produce__title {
        margin: 0 0 14px;
        font-family: "Proza Libre", iCielProza, serif;
        font-weight: 600;
        font-size: 26.7px;
        line-height: 39.2px;
        letter-spacing: 1.12px
    }

    .bv-produce__body p {
        margin: 0 0 14px;
        padding-top: 2px;
        font-size: 16px;
        line-height: 27px
    }

    .bv-produce__body p + p {
        padding-top: 0;
        padding-bottom: 12px
    }

    .bv-produce .mt-outline-link {
        margin-top: 0;
        padding: 14px 28px;
        font-size: 13px;
        line-height: 15.78px;
        letter-spacing: 1.82px
    }

    /* ---------- Ket trang: 222px ---------- */
    .page-outro {
        padding: 89px 20px 90.6px
    }

    .page-outro:before {
        width: 148px;
        height: 144px;
        max-height: none
    }

    .page-outro .page-outro__line {
        max-width: none;
        font-family: Inter, sans-serif;
        font-weight: 400;
        font-size: 32px;
        line-height: 41.6px;
        white-space: nowrap
    }
}

/* 1024-1439: the 01/02/03 hep hon -> giam le trong, bo chieu cao co dinh
   de chu khong bi keo doc va khong bi cat */
@media screen and (min-width:1024px) and (max-width:1439px) {
    .bv-journey {
        height: auto;
        min-height: 567px
    }

    .bv-card {
        height: auto;
        min-height: 317px;
        padding: 40px clamp(20px, 2.5vw, 48px)
    }

    .bv-card:nth-child(3) .bv-card__title,
    .bv-card:nth-child(3) .bv-card__desc {
        padding: 0
    }

    .bv-quote__text {
        font-size: clamp(28px, 2.6vw, 40px);
        line-height: 1.3
    }
}
