/* ==========================================================================
   Trang chu theo Figma "Home" (frame 1920px). Toa do ghi chu = toa do Figma.
   Desktop >= 1440px: dung kich thuoc Figma; nho hon: bo cuc co gian.
   ========================================================================== */

/* ---------- Ve chung toi (khoi moi, moi kich thuoc man hinh) ---------- */
.ma-about {
    padding: 60px 20px
}

.ma-about__inner {
    display: flex;
    flex-direction: column;
    gap: 32px
}

.ma-about__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 760 / 443;
    object-fit: cover
}

.ma-about__title {
    margin: 0 0 24px;
    font-family: "Proza Libre", iCielProza, serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.34;
    letter-spacing: .36px;
    text-transform: uppercase;
    color: #2b1f18
}

.ma-about__text p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.2;
    color: #2b1f18
}

.ma-about__text .readmore--link {
    margin-top: 32px
}

@media screen and (min-width:1024px) {
    .ma-about {
        padding: 80px 70px
    }

    .ma-about__inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 64px
    }

    .ma-about__img {
        flex: 0 0 54%;
        width: 54%
    }
}

/* Cac phan khong co trong Figma */
.ma-journey__tagline,
.ma-journey__script,
.ma-journey__foot,
.ma-journey__line {
    display: none !important
}

.ma-journey__dots {
    display: none
}

/* ==========================================================================
   Desktop >= 1440px: pixel-perfect theo Figma
   ========================================================================== */
@media screen and (min-width:1024px) {

    /* ---------- Tieu de section 2 vach ngang: le 256px, co chu Figma ---------- */
    body.home .section-heading {
        padding-left: var(--gt-edge);
        padding-right: var(--gt-edge);
        font-size: 16px;
        font-weight: 700;
        line-height: 22.4px
    }

    body.home .coffee-shop .section-heading {
        font-size: 14.4px
    }

    body.home .value-lasting--mirror .section-heading {
        font-size: 14.8px
    }

    /* ---------- Hero (top-area): Figma 0 -> 1726 ---------- */
    body.home .top-area {
        padding-top: 212px
    }

    body.home .top-area__wapper {
        padding-top: 29px
    }

    body.home .top-area__wapper h1 {
        font-family: "Proza Libre", iCielProza, serif;
        font-weight: 500;
        font-size: 32px;
        line-height: 44.8px
    }

    body.home .top-area__wapper h3 {
        font-family: "Proza Libre", iCielProza, serif;
        font-weight: 500;
        line-height: 44.8px
    }

    body.home .top-area__wapper h3 .gt-l1,
    body.home .top-area__wapper h3 .gt-l2 {
        display: block
    }

    body.home .top-area__wapper h3 .gt-l1 {
        font-size: 29px
    }

    body.home .top-area__wapper h3 .gt-l2 {
        font-size: 28.3px
    }

    body.home .top-area__wapper p {
        font-size: 14.6px;
        line-height: 19.42px
    }

    /* 1726 - 859 (day nut mui ten) = 867, +2 bu chieu cao dong thuc te */
    body.home #patch-image {
        height: 869px
    }

    /* ---------- Ve chung toi: Figma 2926 -> 3498 ---------- */
    body.home .ma-about {
        padding: 108px var(--gt-edge) 21px
    }

    body.home .ma-about__inner {
        gap: 64px
    }

    body.home .ma-about__img {
        flex: 1 1 760px;
        min-width: 0;
        width: auto;
        max-width: 760px;
        height: auto;
        aspect-ratio: 760 / 443
    }

    body.home .ma-about__text {
        flex: 0 0 584px;
        width: 584px;
        padding-top: 19px
    }

    body.home .ma-about__title {
        margin: 0 0 32px;
        font-size: 35px;
        line-height: 46.8px
    }

    body.home .ma-about__text p {
        margin: 0 0 26px;
        font-size: 20px;
        line-height: 24px
    }

    body.home .ma-about__text p:last-of-type {
        margin-bottom: 0
    }

    body.home .ma-about__text .readmore--link {
        margin-top: 64px;
        font-size: 16px;
        line-height: 19.42px
    }

    /* ---------- Hanh trinh Minh Anh: Figma 3498 -> 5216 ---------- */
    body.home .ma-journey {
        padding: 120px 0 188px
    }

    body.home .ma-journey__inner {
        display: block;
        max-width: none;
        width: min(1398px, calc(100% - 2 * var(--gt-edge) - 10px));
        margin: 0 0 0 calc(var(--gt-edge) + 5px)
    }

    body.home .ma-journey__dots {
        display: block;
        position: absolute;
        z-index: 0;
        /* Figma: x 1270, y 3955 (khung noi dung bat dau 261, section 3498) */
        right: 79px;
        top: 337px;
        pointer-events: none
    }

    body.home .ma-journey__intro {
        display: grid;
        grid-template-columns: minmax(0, 1023px) 353px;
        justify-content: space-between;
        align-items: end;
        padding: 0 0 0 1px;
        margin-bottom: 52px
    }

    body.home .ma-journey__eyebrow {
        grid-column: 1;
        grid-row: 1;
        margin: 0 0 21px;
        font-size: 12px;
        line-height: 14.57px;
        letter-spacing: 3.84px
    }

    body.home .ma-journey__title {
        grid-column: 1;
        grid-row: 2;
        margin: 0;
        font-family: "Proza Libre", iCielProza, serif;
        font-weight: 600;
        font-size: 35px;
        line-height: 46.8px;
        letter-spacing: .36px
    }

    body.home .ma-journey__lead {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: end;
        max-width: none;
        margin: 0;
        font-size: 13.2px;
        line-height: 24.75px
    }

    body.home .ma-journey__item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        margin: 0 0 32px
    }

    body.home .ma-journey__item--04 {
        margin-bottom: 0
    }

    body.home .ma-journey__item--01 {
        height: 320px
    }

    body.home .ma-journey__item--02 {
        height: 260px
    }

    body.home .ma-journey__item--03 {
        height: 245px
    }

    body.home .ma-journey__item--04 {
        height: 261px
    }

    body.home .ma-journey__text {
        flex: 0 0 513px;
        max-width: 513px
    }

    body.home .ma-journey__num {
        gap: 11.26px;
        font-family: "Proza Libre", iCielProza, serif;
        font-weight: 600;
        font-size: 39.4px;
        line-height: 59.41px
    }

    body.home .ma-journey__item--01 .ma-journey__num {
        gap: 17px
    }

    body.home .ma-journey__num:after {
        width: 77px;
        height: 5px;
        background: #a13a27;
        opacity: 1
    }

    /* Le tren +4 / duoi -4 so voi gap Figma de dong chu khop toa do Figma */
    body.home .ma-journey__heading {
        margin: 16.8px 0 8.8px;
        font-family: "Proza Libre", iCielProza, serif;
        font-weight: 600;
        font-size: 28px;
        line-height: 33.6px;
        letter-spacing: .21px
    }

    body.home .ma-journey__item--01 .ma-journey__heading {
        margin: 23.15px 0 15.15px;
        letter-spacing: .36px
    }

    /* Figma: tieu de buoc 04 dung Inter 600 20.5px */
    body.home .ma-journey__item--04 .ma-journey__heading {
        font-family: Inter, sans-serif;
        font-size: 20.5px;
        line-height: 27.72px
    }

    body.home .ma-journey__text p {
        max-width: 481px;
        font-size: 16px;
        line-height: 22.4px
    }

    body.home .ma-journey__media {
        flex: none;
        max-width: none;
        margin: 0
    }

    body.home .ma-journey__item--01 .ma-journey__media {
        width: 337px
    }

    body.home .ma-journey__item--02 .ma-journey__media {
        width: 364px
    }

    body.home .ma-journey__item--03 .ma-journey__media {
        width: 388px
    }

    body.home .ma-journey__item--04 .ma-journey__media {
        width: 353px
    }

    /* Anh xuat thang tu Figma (da gom khung bo cong + hoa tiet la) */
    body.home .ma-journey__item--01 .ma-journey__media {
        width: 337px
    }

    body.home .ma-journey__item--02 .ma-journey__media {
        width: 381px
    }

    body.home .ma-journey__item--03 .ma-journey__media {
        width: 388px;
        margin-right: -10px
    }

    body.home .ma-journey__item--03 .ma-journey__media img {
        height: 252px
    }

    body.home .ma-journey__item--01 .ma-journey__media,
    body.home .ma-journey__item--02 .ma-journey__media,
    body.home .ma-journey__item--03 .ma-journey__media,
    body.home .ma-journey__item--04 .ma-journey__media {
        transform: translateY(20px) scale(.97)
    }

    body.home .ma-journey .is-in .ma-journey__media {
        transform: none
    }

    /* ---------- San pham: Figma 5216 -> 6469, cach khoi sau 39px ---------- */
    body.home .featured-product {
        padding-bottom: 40px
    }

    body.home .featured-product__wapper {
        /* Ti le theo khung Figma 1920: 590 / 508 / phan con lai */
        grid-template-columns: 30.73vw 26.46vw 1fr;
        padding: 100px 0 0 calc(var(--gt-edge) + 2px);
        min-height: max(700px, 62.5vw)
    }

    body.home .featured-product__description {
        padding: 0
    }

    body.home .featured-product__description>div {
        width: 35vw;
        max-width: 672px;
        padding-right: 50px
    }

    body.home .featured-product__wapper h2 {
        margin: 80px 0 14.2px;
        font-family: "Proza Libre", iCielProza, serif;
        font-weight: 500;
        font-size: 40px;
        line-height: 56px
    }

    body.home .featured-product__description p {
        font-size: 13.9px;
        line-height: 19.42px
    }

    body.home .featured-product__wapper .readmore--link {
        margin-top: 59px
    }

    body.home .featured-product__image {
        padding: 0
    }

    body.home .featured-product__image img {
        width: 30vw;
        max-width: 576px;
        height: auto;
        aspect-ratio: 576 / 830;
        object-fit: contain
    }

    body.home .button-change-product,
    body.home .button-change-product--stacked {
        margin-top: 80px;
        padding-left: 5.2vw
    }

    body.home .button-change-product .bullet span {
        white-space: nowrap
    }

    body.home .button-change-product strong {
        font-size: 45px;
        line-height: 54.63px
    }

    body.home .button-change-product .bullet span {
        font-size: 15px;
        line-height: 18.21px
    }

    /* ---------- Dia diem: Figma 6508 -> 7975 ---------- */
    body.home .coffee-shop__wapper {
        padding: 125px 0 60px
    }

    body.home .coffee-shop__into {
        padding: 0 var(--gt-edge);
        margin: 0
    }

    body.home .coffee-shop__into--counter {
        padding: 0;
        display: grid;
        grid-template-columns: minmax(0, 322fr) minmax(0, 322fr) minmax(0, 644fr);
        column-gap: 60px;
        align-items: start
    }

    body.home .coffee-shop h6 {
        margin: 0;
        font-weight: 700;
        font-size: 14.5px;
        line-height: 22.4px
    }

    body.home .coffee-shop__into__right h6 {
        font-size: 15.6px
    }

    body.home .coffee-shop h6 span {
        display: block;
        font-family: "Proza Libre", iCielProza, serif;
        font-weight: 500;
        font-size: 72px;
        line-height: 91px;
        margin: 0 0 -.5px
    }

    body.home .coffee-shop__into__desc {
        width: auto;
        padding: 0;
        margin: 0
    }

    body.home .coffee-shop__into__desc p {
        margin: 0 0 25px;
        font-size: 14.1px;
        line-height: 19.42px
    }

    body.home .coffee-shop__into__desc .readmore--link {
        margin: 0
    }

    body.home .coffee-shop__photo {
        display: block;
        width: 100%;
        max-width: none;
        /* 1016px o 1920 -> co theo be ngang */
        height: 52.92vw;
        margin: 100px 0 0;
        object-fit: cover
    }

    /* ---------- Vung trong: Figma 7975 -> 8798 ----------
       Khung slide 1404px tu 256; ban do 640x440 can giua (638);
       hang thong tin: tieu de 240 + 82, 4 cot 354/175/240/208 cach 35 */
    body.home .areas__wapper {
        padding-left: var(--gt-edge);
        padding-right: max(var(--gt-edge), calc(100% - var(--gt-edge) - 1404px))
    }

    body.home .areas__map {
        margin: 0 auto
    }

    body.home .areas .slick-arrow.slick-next {
        right: -4px
    }

    body.home .areas__infos {
        display: flex;
        align-items: flex-start;
        gap: 35px
    }

    body.home .areas__infos h3 {
        flex: 0 0 240px;
        margin: 0 47px 0 0;
        font-family: "Proza Libre", iCielProza, serif;
        font-weight: 500;
        font-size: 34px;
        line-height: 47.6px
    }

    body.home .areas__infos .area-meta {
        flex-shrink: 1;
        min-width: 0;
        margin: 0
    }

    body.home .areas__infos .area-meta:nth-of-type(1) {
        width: 354px
    }

    body.home .areas__infos .area-meta:nth-of-type(2) {
        width: 175px
    }

    body.home .areas__infos .area-meta:nth-of-type(3) {
        width: 240px
    }

    body.home .areas__infos .area-meta:nth-of-type(4) {
        width: 208px
    }

    body.home .areas__infos .area-meta p {
        margin: 0;
        font-weight: 400;
        font-size: 14.4px;
        line-height: 25.6px
    }

    body.home .areas__infos .area-meta p.h6 {
        margin: 0 0 14px;
        font-weight: 600;
        font-size: 14.6px
    }

    body.home .areas__infos .area-meta:nth-of-type(1) p.h6 {
        font-size: 15.1px
    }

    body.home .areas__infos .area-meta:nth-of-type(2) p.h6 {
        font-size: 15.3px
    }

    body.home .areas__infos .area-meta:nth-of-type(1) p:not(.h6) {
        font-size: 14.3px
    }

    body.home .areas__infos .area-meta:nth-of-type(2) p:not(.h6) {
        font-size: 15.5px
    }

    body.home .areas__infos .area-meta:nth-of-type(4) p:not(.h6) {
        font-size: 14.8px
    }

    /* ---------- Kien tao gia tri dai han: Figma 8798 -> 9808 ---------- */
    body.home .value-lasting--mirror .mt-container {
        max-width: none;
        padding: 0
    }

    body.home .value-lasting--mirror .value-lasting__wapper {
        width: min(1400px, calc(100% - 2 * var(--gt-edge)));
        margin: 59px 0 0 calc(var(--gt-edge) + 4px);
        padding: 40px 0 0
    }

    body.home .value-lasting--mirror .value-lasting__wapper article {
        min-height: 97px;
        display: grid;
        grid-template-areas: none;
        grid-template-rows: auto;
        grid-template-columns: repeat(3, minmax(0, 447fr));
        column-gap: 30px;
        row-gap: 0;
        align-items: start
    }

    body.home .value-lasting--mirror article h4 {
        display: none
    }

    body.home .value-lasting--mirror .readmore--link {
        grid-column: 1;
        grid-row: 1;
        margin: 0
    }

    body.home .value-lasting--mirror .block1 {
        grid-column: 2;
        grid-row: 1;
        width: 325px;
        margin: 0
    }

    body.home .value-lasting--mirror .block2 {
        grid-column: 3;
        grid-row: 1;
        margin: 0
    }

    body.home .value-lasting--mirror .value-lasting__wapper p {
        font-size: 14.1px;
        line-height: 19.42px
    }

    body.home .value-lasting--mirror .value-lasting__thumbnail {
        display: block;
        width: 100%;
        max-width: none;
        /* 731px o 1920 -> co theo be ngang; Figma cat phan duoi anh */
        height: 38.07vw;
        object-position: 50% 85%;
        margin: 30px 0 0;
        padding: 0;
        object-fit: cover
    }
}
