/* Trang chu - moi region la mot section cua trang, kem @media rieng */

/*#region page*/
.mddev-tct{ background:#fff; padding-bottom:60px; }
.mddev-tct .swiper{ overflow:hidden; }
.mddev-tct .swiper-slide{ height:auto; }
.mddev-tct .swiper-button-next::after,
.mddev-tct .swiper-button-prev::after{ content:none; }
@media (max-width:979px){
    .mddev-tct{ padding-bottom:36px; }
}
/*#endregion*/

/*#region hero*/
.mddev-hero{ margin-bottom:26px; }
.mddev-hero-swiper{ position:relative; }
.mddev-hero-swiper::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:90px; z-index:2; pointer-events:none; background:linear-gradient(to top, #fff 0%, rgba(255,255,255,.75) 35%, rgba(255,255,255,0) 100%); }
.mddev-hero__slide{ display:block; }
.mddev-hero__slide img{ width:100%; aspect-ratio:1280/478; object-fit:cover; }
.mddev-hero__dots.swiper-pagination{ position:absolute; bottom:14px; left:0; right:0; z-index:5; display:flex; justify-content:center; gap:9px; }
.mddev-hero__dots .swiper-pagination-bullet{ width:10px; height:10px; margin:0; border-radius:50%; background:#8B8B8B; opacity:.85; transition:background .15s ease, width .15s ease; }
.mddev-hero__dots .swiper-pagination-bullet-active{ background:var(--mddev-orange); opacity:1; }
@media (max-width:979px){
    .mddev-hero{ margin-bottom:16px; }
    .mddev-hero-swiper::after{ height:50px; }
    .mddev-hero__slide img{ aspect-ratio:16/9; }
    .mddev-hero__dots.swiper-pagination{ bottom:8px; gap:7px; }
    .mddev-hero__dots .swiper-pagination-bullet{ width:7px; height:7px; }
}
/*#endregion*/

/*#region tabs*/
.mddev-tabs{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-bottom:22px; }
.mddev-tab{ padding:10px 20px; border:1px solid var(--mddev-line); border-radius:24px; font-size:14px; color:var(--mddev-text); background:#fff; cursor:pointer; transition:background .15s ease, color .15s ease, border-color .15s ease; }
.mddev-tab:hover{ border-color:var(--mddev-orange); color:var(--mddev-orange); }
.mddev-tab.is-active{ background:var(--mddev-orange); border-color:var(--mddev-orange); color:#fff; font-weight:600; }
.mddev-tab.is-active:hover{ color:#fff; }
@media (max-width:979px){
    .mddev-tabs{ flex-wrap:nowrap; justify-content:flex-start; gap:8px; margin-inline:-14px; padding-inline:14px; overflow-x:auto; scrollbar-width:none; }
    .mddev-tabs::-webkit-scrollbar{ display:none; }
    .mddev-tab{ flex:0 0 auto; padding:8px 16px; font-size:13px; }
}
/*#endregion*/

/*#region slider*/
.mddev-slider{ position:relative; padding-inline:56px; }
.mddev-slider .swiper{ padding-block:4px; }
.mddev-slider__prev, .mddev-slider__next{ position:absolute; top:50%; z-index:6; display:flex; align-items:center; justify-content:center; width:34px; height:34px; margin-top:-17px; border-radius:50%; background:var(--mddev-orange); box-shadow:0 3px 10px rgba(0,0,0,.16); cursor:pointer; transition:background .15s ease, opacity .15s ease; }
.mddev-slider__prev{ left:0; }
.mddev-slider__next{ right:0; }
.mddev-slider__prev img, .mddev-slider__next img{ width:16px; height:16px; }
.mddev-slider__prev:hover, .mddev-slider__next:hover{ background:var(--mddev-orange-dark); }
.mddev-slider--blue .mddev-slider__prev, .mddev-slider--blue .mddev-slider__next{ background:var(--mddev-orange); }
.mddev-slider__prev.swiper-button-disabled, .mddev-slider__next.swiper-button-disabled{ opacity:.35; cursor:default; }
.mddev-slider__prev.swiper-button-lock, .mddev-slider__next.swiper-button-lock{ display:none; }
@media (max-width:979px){
    .mddev-slider{ padding-inline:0; }
    .mddev-slider__prev, .mddev-slider__next{ display:none; }
}
/*#endregion*/

/*#region card*/
.mddev-card{ display:flex; flex-direction:column; height:100%; background:#fff; border:1px solid #EFEFEF; border-radius:14px; overflow:hidden; box-shadow:0 3px 14px rgba(0,0,0,.06); }
/* Anh nguon la anh chu nhat goc vuong - CSS lo phan bo goc tren (13px = 14px vien the tru 1px border) */
.mddev-card__thumb{ border-radius:13px 13px 0 0; overflow:hidden; }
.mddev-card__thumb img{ width:100%; aspect-ratio:1250/902; object-fit:cover; border-radius:inherit; }
.mddev-card__body{ display:flex; flex-direction:column; flex:1; padding:14px 14px 16px; }
.mddev-card__name{ font-size:17px; font-weight:500; }
.mddev-card__price{ margin-top:4px; }
.mddev-card__amount{ font-size:22px; font-weight:800; color:var(--mddev-orange); }
.mddev-card__unit{ font-size:13px; color:var(--mddev-muted); }
.mddev-card--blue .mddev-card__amount{ color:var(--mddev-blue); }
.mddev-card__speed{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:12px; padding:8px 10px; background:var(--mddev-box); border-radius:8px; }
.mddev-card__speed-label{ font-size:11px; color:var(--mddev-muted); }
.mddev-card__speed-value{ margin-top:2px; font-size:14px; font-weight:500; }
.mddev-card__arrow{ margin-right:2px; color:var(--mddev-text-soft); }
.mddev-card__features{ margin-top:10px; padding:10px; background:var(--mddev-box); border-radius:8px; }
.mddev-card__feature{ display:flex; align-items:flex-start; gap:7px; font-size:12.5px; line-height:1.5; color:var(--mddev-text-soft); }
.mddev-card__feature + .mddev-card__feature{ margin-top:5px; }
.mddev-card__feature img{ flex:0 0 auto; width:16px; height:16px; margin-top:2px; }
.mddev-card__actions{ display:flex; gap:8px; margin-top:auto; padding-top:14px; }
.mddev-card__actions .mddev-btn{ flex:1; padding:10px 8px; font-size:13px; }
@media (max-width:979px){
    .mddev-card__name{ font-size:16px; }
    .mddev-card__amount{ font-size:20px; }
    .mddev-card__actions .mddev-btn{ font-size:12.5px; }
}
/*#endregion*/

/*#region gauge*/
.mddev-gauge{ --deg:-90deg; position:relative; flex:0 0 auto; width:44px; height:24px; }
.mddev-gauge__dial{ width:44px; height:24px; }
.mddev-gauge__needle{ position:absolute; left:50%; bottom:2px; width:2px; height:14px; margin-left:-1px; background:var(--mddev-orange); border-radius:1px; transform-origin:50% 100%; transform:rotate(-90deg); transition:transform 1.1s cubic-bezier(.22,.9,.3,1); }
.mddev-gauge.is-on .mddev-gauge__needle{ transform:rotate(var(--deg)); }
.mddev-gauge__hub{ position:absolute; left:50%; bottom:-1px; width:6px; height:6px; margin-left:-3px; border-radius:50%; background:var(--mddev-orange); }
@media (max-width:979px){
    .mddev-gauge, .mddev-gauge__dial{ width:38px; height:21px; }
    .mddev-gauge__needle{ height:12px; }
}
/*#endregion*/

/*#region goi-ca-nhan*/
.mddev-goi{ padding-block:14px; }
.mddev-goi .mddev-section-title{ font-size:26px; font-weight:800; }
.mddev-goi__more{ margin-top:22px; text-align:center; }
.mddev-tabpanel[hidden]{ display:none; }
@media (max-width:979px){
    .mddev-goi{ padding-block:8px; }
    .mddev-goi .mddev-section-title{ font-size:19px; }
    .mddev-goi__more{ margin-top:16px; }
}
/*#endregion*/

/*#region the-thao*/
.mddev-the-thao{ padding-block:22px; }
.mddev-the-thao .mddev-section-title{ color:var(--mddev-orange); }
@media (max-width:979px){
    .mddev-the-thao{ padding-block:12px; }
}
/*#endregion*/

/*#region doanh-nghiep*/
.mddev-doanh-nghiep{ padding-block:22px; }
@media (max-width:979px){
    .mddev-doanh-nghiep{ padding-block:12px; }
}
/*#endregion*/

/*#region lap-dat-24h*/
.mddev-24h{ padding-block:30px 10px; }
.mddev-24h__grid{ display:grid; grid-template-columns:minmax(0,2fr) minmax(0,3fr); align-items:center; gap:20px; }
.mddev-24h__title{position:relative;font-size:64px;font-weight:900;line-height:1.12;text-transform:uppercase;margin-bottom: 11px;}
.mddev-24h__lead{ display:inline-block; font-size:56px; line-height:1.1; }
.mddev-24h__hl{ color:var(--mddev-orange); }
.mddev-24h__clock{ display:inline-block; width:60px; height:60px; margin-left:8px; vertical-align:-6px; }
.mddev-24h__desc{margin-top: 0;font-size: 20px;line-height:1.55;color:var(--mddev-text-soft);}
.mddev-24h__features{ display:flex; flex-wrap:wrap; gap:18px; margin-top:18px; }
.mddev-24h__feature{ display:flex; align-items:center; gap:8px; }
/* Icon da co san nen cam bo goc trong file anh - CSS khong ve nen nua */
.mddev-24h__feature > img{ flex:0 0 auto; width:31px; height:31px; }
.mddev-24h__feature-text{ display:flex; flex-direction:column; }
.mddev-24h__feature-name{font-size: 15px;font-weight:700;color: #000;}
.mddev-24h__feature-desc{font-size:12px;color: var(--mddev-text);}
.mddev-24h__cta{ margin-top:22px; }
/* Anh da co nen trong suot va bo cuc bo goc san - khong bo goc them */
.mddev-24h__media img{ width:100%; }
@media (max-width:979px){
    .mddev-24h{ padding-block:18px 6px; }
    .mddev-24h__grid{ grid-template-columns:1fr; gap:14px; }
    .mddev-24h__title{ font-size:clamp(34px,9vw,46px); }
    .mddev-24h__lead{ font-size:clamp(32px,8.5vw,42px); }
    .mddev-24h__clock{ width:32px; height:32px; vertical-align:-4px; }
    .mddev-24h__desc{ margin-top:10px; font-size:15px; }
    .mddev-24h__features{ gap:12px; margin-top:14px; }
    .mddev-24h__cta{ margin-top:16px; }
}
/*#endregion*/

/*#region quy-trinh*/
.mddev-quy-trinh{ padding-block:14px 24px; }
.mddev-quy-trinh__title{ font-size:26px; font-weight:800; text-transform:uppercase; }
.mddev-quy-trinh__hl{ color:var(--mddev-orange); }
.mddev-quy-trinh__steps{ position:relative; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:40px; padding-inline:22px 38px; }
.mddev-quy-trinh__steps::before{ content:""; position:absolute; z-index:0; left:0; right:0; top:50%; height:1.5px; margin-top:-.75px; background:repeating-linear-gradient(to right, #FF7E35 0 4px, transparent 4px 8px); }
.mddev-quy-trinh__arrow{ position:absolute; z-index:0; top:50%; right:0; width:8px; height:9px; margin-top:-4.5px; }
.mddev-step{ position:relative; z-index:1; padding:16px 12px 18px; background:#fff; border:1px solid #FF6C18; border-top:none; border-radius:0 0 15px 15px; text-align:center; }
.mddev-step__icon{ display:flex; justify-content:center; margin-bottom:10px; }
.mddev-step__icon img{ width:50px; height:50px; }
.mddev-step__name{ font-size:14px; font-weight:700; line-height:1.2; color:var(--mddev-orange); }
.mddev-step__desc{ margin-top:4px; font-size:12px; line-height:1.3; color:var(--mddev-text); }
.mddev-step__chevron{ position:absolute; z-index:2; top:50%; right:-29px; width:18px; height:18px; margin-top:-9px; }
.mddev-cam-ket{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:22px; padding:13px 43px; background:rgba(255,227,207,.30); border-radius:16px; }
.mddev-cam-ket__item{display:flex;align-items:center;justify-content: center;gap:5px;padding-inline:0 14px;}
.mddev-cam-ket__item + .mddev-cam-ket__item{ padding-left:26px; border-left:.5px solid #525252; }
.mddev-cam-ket__icon{ flex:0 0 auto; display:flex; align-items:center; justify-content:center; width:31px; height:31px; border-radius:6.24px; background:linear-gradient(180deg,#FF792C 0%,#FF5D00 100%); }
.mddev-cam-ket__icon img{ width:23px; height:23px; }
.mddev-cam-ket__text{display:flex;flex-direction:column;gap:2px;color:var(--mddev-text);margin-bottom: unset;}
.mddev-cam-ket__name{ font-size:13px; font-weight:700; line-height:1.3; }
.mddev-cam-ket__desc{ font-size:11.5px; line-height:1.3; }
@media (max-width:979px){
    .mddev-quy-trinh{ padding-block:10px 16px; }
    .mddev-quy-trinh__title{ font-size:18px; }
    .mddev-quy-trinh__steps{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding-inline:0; }
    .mddev-quy-trinh__steps::before{ display:none; }
    .mddev-quy-trinh__arrow{ display:none; }
    .mddev-step{ padding:14px 8px; border:1px solid #FF6C18; border-radius:10px; }
    .mddev-step__icon img{ width:40px; height:40px; }
    .mddev-step__chevron{ display:none; }
    .mddev-cam-ket{ grid-template-columns:1fr; gap:12px; margin-top:16px; padding:14px 16px; }
    .mddev-cam-ket__item{ justify-content:flex-start; padding-inline:0; }
    .mddev-cam-ket__item + .mddev-cam-ket__item{ padding-top:12px; padding-left:0; border-left:none; border-top:1px solid var(--mddev-orange-line); }
}
/*#endregion*/

/*#region qua-tang*/
.mddev-qua-tang{ padding-block:20px 34px; }
.mddev-qua-tang__band{ position:relative; display:flex; align-items:center; justify-content:center; min-height:170px; padding:18px 30px; background:radial-gradient(ellipse at center, var(--mddev-orange-soft) 0%, var(--mddev-orange-soft) 62%, rgba(255,247,241,0) 100%); }
.mddev-qua-tang__inner{ text-align:center; }
.mddev-qua-tang__lead{ font-size:26px; font-weight:700; }
.mddev-qua-tang__hl{ color:var(--mddev-orange); }
.mddev-qua-tang__actions{ display:flex; align-items:center; justify-content:center; gap:22px; margin-top:16px; }
.mddev-qua-tang__actions .mddev-btn{ padding-inline:34px; }
.mddev-qua-tang__phone{ position:relative; padding-left:22px; font-size:28px; font-weight:800; color:var(--mddev-blue); }
.mddev-qua-tang__phone::before{ content:""; position:absolute; top:50%; left:0; width:1px; height:34px; margin-top:-17px; background:var(--mddev-orange-line); }
.mddev-qua-tang__gift{ flex:0 0 auto; }
.mddev-qua-tang__gift--left{ width:170px; height:auto; }
.mddev-qua-tang__gift--right{ width:130px; height:auto; }
@media (max-width:979px){
    .mddev-qua-tang{ padding-block:10px 20px; }
    .mddev-qua-tang__band{ min-height:0; padding:16px 10px; }
    .mddev-qua-tang__lead{ font-size:17px; }
    .mddev-qua-tang__actions{ flex-direction:column; gap:10px; margin-top:12px; }
    .mddev-qua-tang__phone{ padding-left:0; font-size:22px; }
    .mddev-qua-tang__phone::before{ content:none; }
    .mddev-qua-tang__gift--left{ width:74px; }
    .mddev-qua-tang__gift--right{ width:64px; }
}
/*#endregion*/

/*#region tin-tuc*/
.mddev-tin-tuc{ padding-block:16px; }
.mddev-tin-tuc .mddev-section-head{ margin-bottom:20px; }
.mddev-news{ display:flex; flex-direction:column; height:100%; background:#fff; border:1px solid #EFEFEF; border-radius:12px; overflow:hidden; box-shadow:0 3px 14px rgba(0,0,0,.06); }
.mddev-news__thumb img{ width:100%; aspect-ratio:289/165; object-fit:cover; transition:transform .25s ease; }
.mddev-news__thumb:hover img{ transform:scale(1.03); }
.mddev-news__body{ display:flex; flex-direction:column; flex:1; padding:12px 12px 14px; }
.mddev-news__title{ font-size:14px; font-weight:700; line-height:1.45; }
.mddev-news__title a:hover{ color:var(--mddev-orange); }
.mddev-news__more{ margin-top:auto; padding-top:12px; align-self:flex-end; font-size:12.5px; color:var(--mddev-text-soft); text-decoration:underline; }
.mddev-news__more:hover{ color:var(--mddev-orange); }
@media (max-width:979px){
    .mddev-tin-tuc{ padding-block:10px; }
    .mddev-news__title{ font-size:13.5px; }
}
/*#endregion*/
