/* ==========================================================
   DESKTOP (>=1024px) – dựng riêng theo frame "Hằng tín" 1920px.
   Container 1300px (x310..1610), khung chia cột 1360px (x280..1640).
   Dưới 1920px co giãn: container = min(1300, 100% - 80px); cỡ chữ lớn dùng clamp().
   ========================================================== */
@media (min-width:1024px){
  .only-m{display:none!important}
  .only-d{display:block}
  :root{--cw:min(1300px,calc(100% - 80px));--hd:clamp(34px,2.7vw,52px)}
  body{font-size:15px;line-height:23px;background:var(--cream)}
  .d-c{width:var(--cw);margin-inline:auto}
  .d-sec{position:relative}
  .d-sec::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:min(1360px,calc(100% - 40px));transform:translateX(-50%);border:solid #b7b2a7;border-width:1px 1px 0;pointer-events:none}
  .d-about::before{border-top-width:0}
  .d-sec--dark::before{border-color:#394146}
  .d-sec h2{font-size:var(--hd);line-height:1.057;font-weight:400;letter-spacing:-.025em;color:var(--ink)}
  .d-sec--dark h2{color:#eeebe4}
  .d-lead{font-size:20px;line-height:30px;letter-spacing:-.005em;color:#4a5054}
  .d-center{text-align:center}
  .d-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
  .d-head h2{padding-top:3px}

  /* Header */
  .site-header{position:absolute;left:0;right:0;top:0;height:72px;padding:0;background:linear-gradient(180deg,rgba(10,12,13,.42),rgba(10,12,13,0));border-bottom:1px solid rgba(238,235,228,.18);z-index:60}
  .dh{width:var(--cw);height:72px;margin-inline:auto;display:flex;align-items:center;position:relative}
  .dh__logo{position:absolute;left:0;top:2px;display:block;width:115px;height:69px}
  .dh__logo img{width:115px;height:69px;object-fit:contain}
  .dh__nav{display:flex;gap:40px;margin-left:230px;font-size:15px;line-height:18px;color:#eeebe4}
  .dh__nav a.is-on{color:var(--gold)}
  .dh__nav a:hover{color:var(--gold)}
  .dh__lang{display:flex;align-items:center;gap:6px;margin-left:auto;margin-right:40px;font-size:15px;color:#eeebe4}
  .d-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;height:50px;padding:0 22px;font-size:15px;line-height:18px;font-weight:400;color:#fff;border:1px solid transparent;cursor:pointer;white-space:nowrap}
  .d-btn--gold{background:var(--gold)}
  .d-btn--gold:hover{background:#b98b3f}
  .d-btn--glass{background:rgba(7,27,53,.9);border-color:rgba(201,155,77,.85);color:#eeebe4;backdrop-filter:blur(20px)}
  .d-btn--navy{background:var(--navy);color:#f2f0eb}
  .d-ghost{display:inline-flex;align-items:center;justify-content:center;gap:12px;height:50px;padding:0 22px;border:1px solid #b7b2a7;font-size:15px;line-height:18px;color:var(--ink);white-space:nowrap}
  .d-ghost:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
  .d-link{display:inline-flex;align-items:center;gap:11px;font-size:14px;line-height:20px;color:var(--ink)}
  .gl{flex:none}

  /* S01 Hero (943) */
  .d-hero{position:relative;height:100vh;height:100svh;min-height:720px;background:#15191b var(--bg) center/cover no-repeat;color:#eeebe4;overflow:hidden}
  .d-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,12,13,.45),rgba(10,12,13,0) 22%,rgba(10,12,13,.05) 45%,rgba(10,12,13,.82))}
  .d-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,12,13,.5),rgba(10,12,13,.22) 45%,rgba(10,12,13,0) 70%)}
  .d-reg{position:absolute;z-index:2;width:18px;height:18px;border:0 solid rgba(238,235,228,.55)}
  .d-reg--tl{left:28px;top:96px;border-width:1px 0 0 1px}.d-reg--tr{right:28px;top:96px;border-width:1px 1px 0 0}
  .d-reg--bl{left:28px;bottom:24px;border-width:0 0 1px 1px}.d-reg--br{right:28px;bottom:24px;border-width:0 1px 1px 0}
  .d-hero__in{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:96px 0 82px}
  .d-hero h1{font-size:clamp(46px,4.17vw,80px);line-height:1.175;font-weight:400;letter-spacing:-.034em;color:#eeebe4;max-width:1200px}
  .d-hero__lead{margin-top:40px;max-width:620px;font-size:20px;line-height:30px;letter-spacing:-.005em;color:rgba(238,235,228,.82)}
  .d-hero__btns{display:flex;gap:22px;margin-top:78px}
  .d-strip{display:grid;grid-template-columns:244px repeat(4,264px);margin-top:40px;border-top:1px solid rgba(238,235,228,.28);width:max-content;max-width:100%}
  .d-strip>div{padding:18px 0 0 20px;height:68px;border-left:1px solid rgba(238,235,228,.22)}
  .d-strip>div:first-child{padding-left:0;border-left:0}
  .d-strip span{display:block;font-size:15px;line-height:22px;color:#abb0b0}
  .d-strip strong{display:block;font-size:16px;line-height:23px;font-weight:400;letter-spacing:-.005em;color:#eeebe4}

  /* S02 */
  .d-about{min-height:940px}
  .d-about__top{display:grid;grid-template-columns:470px 1fr;column-gap:58px;padding-top:120px}
  .d-about figure{margin:0}.d-about figure img{width:470px;height:440px;object-fit:cover}
  .d-about figcaption{margin-top:14px;max-width:380px;font-size:15px;line-height:22px;color:#4a5054}
  .d-about__top>div{padding-top:69px}
  .d-about__top p{margin-top:29px;max-width:772px;font-size:17px;line-height:27px;color:#4a5054}
  .d-about .d-link{margin-top:29px}
  .d-specs{position:absolute;left:0;right:0;margin-inline:auto;top:676px;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--ink);height:150px}
  .d-specs>div{padding:27px 0 0 24px;border-left:1px solid #d6d2c9}
  .d-specs>div:first-child{padding-left:0;border-left:0}
  .d-specs b{display:block;font-size:48px;line-height:60px;font-weight:400;letter-spacing:-.036em;color:var(--ink)}
  .d-specs p{margin-top:14px;max-width:270px;font-size:15px;line-height:23px;color:#4a5054}

  /* S03 */
  .d-sec--sand{background:var(--sand)}
  .d-prob{padding:120px 0 112px}
  .d-prob__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:51px}
  .d-card{position:relative;display:flex;flex-direction:column;justify-content:flex-end;height:480px;padding:28px;background:#2a3036 var(--bg) center/cover no-repeat;color:#eeebe4;overflow:hidden}
  .d-card::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,12,13,.25),rgba(10,12,13,0) 22%,rgba(10,12,13,.1) 45%,rgba(10,12,13,.88))}
  .d-card>*{position:relative}
  .d-card h3{font-size:32px;line-height:36px;font-weight:400;letter-spacing:-.019em}
  .d-card p{margin-top:8px;max-width:360px;font-size:15px;line-height:23px;color:rgba(238,235,228,.78)}

  /* S04 */
  .d-life{padding:120px 0 110px}
  .d-life__grid{display:grid;grid-template-columns:628px 600px;justify-content:space-between;margin-top:51px}
  .d-life__list{border-top:1px solid #d6d2c9}
  .d-life__list li{display:flex;align-items:center;height:89px;border-bottom:1px solid #d6d2c9;color:#80868a}
  .d-life__list i{font-style:normal;width:64px;font-size:16px;color:#80868a}
  .d-life__list span{flex:1;font-size:32px;line-height:36px;letter-spacing:-.019em}
  .d-life__list li.is-on,.d-life__list li.is-on i{color:var(--ink)}.d-life__list li.is-on i{color:var(--gold)}
  .d-life__side img{width:600px;height:460px;object-fit:cover}
  .d-life__side>p{margin-top:28px;font-size:17px;line-height:27px;color:#4a5054}
  .d-life__side dl{margin:23px 0 0;border-top:1px solid #b7b2a7}
  .d-life__side dl>div{display:flex;justify-content:space-between;align-items:center;height:56px;border-bottom:1px solid #b7b2a7}
  .d-life__side dt{font-size:15px;color:#4a5054}.d-life__side dd{margin:0;font-size:17px;line-height:26px;color:var(--ink);text-align:right}

  /* S05 */
  .d-why{min-height:719px}
  .d-why__grid{display:grid;grid-template-columns:688px 540px;justify-content:space-between;padding-top:108px}
  .d-why figure{margin:12px 0 0}.d-why figure img{width:688px;height:425px;object-fit:cover}
  .d-why figcaption{margin-top:14px;font-size:15px;line-height:22px;color:#4a5054}
  .d-why .d-lead{margin-top:12px}
  .d-certs{display:grid;grid-template-columns:1fr 1fr;margin-top:22px;border:solid #d6d2c9;border-width:1px 0 0 1px}
  .d-certs>div{height:129px;padding:20px;border:solid #d6d2c9;border-width:0 1px 1px 0}
  .d-certs h3{font-size:20px;line-height:28px;font-weight:400;letter-spacing:-.01em;color:var(--ink)}
  .d-certs p{margin-top:8px;max-width:230px;font-size:15px;line-height:23px;color:#4a5054}
  .d-why .d-link{margin-top:36px}

  /* S06 */
  .d-sec--dark{background:#15191b;color:#eeebe4}
  .d-fdi{padding:120px 0 111px}
  .d-fdi__top{display:flex;justify-content:space-between;align-items:flex-start}
  .d-fdi__top>div{padding-top:70px;max-width:700px}
  .d-fdi__top p{margin-top:20px;max-width:640px;font-size:18px;line-height:28px;letter-spacing:-.005em;color:#abb0b0}
  .d-fdi__top .d-btn{margin-top:38px}
  .d-fdi__top img{width:560px;height:400px;object-fit:cover;flex:none}
  .d-table{margin-top:63px}
  .d-table__h,.d-table__r{display:grid;grid-template-columns:80px 290px 486px 1fr;align-items:center}
  .d-table__h{height:34px;font-size:15px;color:#abb0b0}
  .d-table__r{height:62px;border-top:1px solid #394146}
  .d-table__r:last-child{border-bottom:1px solid #394146}
  .d-table__r i{font-style:normal;font-size:16px;color:#eeebe4}
  .d-table__r b{font-weight:400;font-size:17px;line-height:26px}
  .d-table__r em{font-style:normal;font-size:15px;color:#abb0b0}
  .d-table__r span{font-size:16px;letter-spacing:-.005em}

  /* S07 */
  .d-proj{padding:123px 0 0;min-height:870px}
  .d-proj__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:45px}
  .d-pcard{display:block}
  .d-pcard__img{position:relative;aspect-ratio:1/1;background:#2a3036 var(--bg) center/cover no-repeat}
  .d-pcard__img span{position:absolute;left:16px;bottom:16px;padding:7px 10px;font-size:15px;line-height:22px;color:#eeebe4;background:rgba(7,27,53,.9);border:1px solid rgba(201,155,77,.85);backdrop-filter:blur(16px)}
  .d-pcard__meta{margin-top:18px;font-size:15px;line-height:22px;color:#4a5054}
  .d-pcard__meta i{font-style:normal;margin:0 4px}
  .d-pcard h3{margin-top:18px;max-width:370px;font-size:22px;line-height:28px;font-weight:400;letter-spacing:-.01em;color:var(--ink)}

  /* S08 */
  .d-proc{padding:120px 0 156px}
  .d-proc .d-lead{margin-top:29px;max-width:1015px}
  .d-proc__grid{display:grid;grid-template-columns:760px 460px;justify-content:space-between;margin-top:64px}
  .d-proc__grid img{width:760px;height:600px;object-fit:cover}
  .d-proc h3{font-size:46px;line-height:55px;font-weight:400;letter-spacing:-.028em;color:var(--ink)}
  .d-proc__grid .d-lead{margin-top:18px}
  .d-proc ol{margin-top:77px;border-top:1px solid #b7b2a7}
  .d-proc li{display:flex;align-items:center;height:50px;border-bottom:1px solid #b7b2a7;color:#80868a}
  .d-proc li i{font-style:normal;width:48px;font-size:16px}
  .d-proc li span{font-size:17px;line-height:26px}
  .d-proc li.is-on,.d-proc li.is-on span{color:var(--ink)}.d-proc li.is-on i{color:var(--gold)}
  .d-segs{display:flex;gap:8px;margin-top:33px}
  .d-segs b{width:70px;height:3px;background:#b7b2a7}.d-segs b.is-on{background:var(--ink)}

  /* S08B */
  .d-vision{padding:170px 0 120px;background:var(--cream);min-height:694px}
  .d-vision__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:55px}
  .d-vision article{height:294px;padding:55px 32px 0;background:#faf9f6;border:1px solid #b7b2a7}
  .d-vision h3{font-size:24px;line-height:32px;font-weight:400;color:var(--ink)}
  .d-vision hr{position:relative;height:1px;margin:18px 0 0 7px;border:0;background:#b7b2a7;overflow:visible}
  .d-vision hr::before{content:"";position:absolute;left:-7px;top:-3px;width:7px;height:7px;background:var(--navy)}
  .d-vision p{margin-top:21px;font-size:17px;line-height:27px;color:var(--ink)}
  .d-vision small{display:block;margin-top:21px;font-size:13px;line-height:20px;letter-spacing:.23em;color:var(--gold)}

  /* S10 */
  .d-news{padding:120px 0 0;min-height:818px}
  .d-news__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:53px}
  .d-ncard{display:block}
  .d-ncard img{width:100%;height:300px;object-fit:cover}
  .d-ncard__meta{margin-top:16px;font-size:15px;line-height:22px;color:#4a5054}
  .d-ncard__meta i{font-style:normal;margin:0 3px}
  .d-ncard h3{margin-top:16px;max-width:373px;font-size:22px;line-height:28px;font-weight:400;letter-spacing:-.01em;color:var(--ink)}
  .d-ncard__txt{margin-top:16px;max-width:380px;font-size:15px;line-height:23px;color:#4a5054}

  /* S10B */
  .d-faq{padding:120px 0 0;min-height:740px}
  .d-faq__grid{display:grid;grid-template-columns:440px 788px;justify-content:space-between}
  .d-eng{margin-top:32px;height:253px;padding:28px;background:var(--sand)}
  .d-eng>span{display:block;font-size:15px;line-height:22px;color:#4a5054}
  .d-eng strong{display:block;margin-top:14px;font-size:32px;line-height:36px;font-weight:400;letter-spacing:-.019em;color:var(--ink)}
  .d-eng p{margin-top:14px;font-size:15px;line-height:23px;color:#4a5054}
  .d-eng .d-btn{margin-top:15px;height:50px;color:#f2f0eb}
  .d-faq__list{border-top:1px solid #d6d2c9;list-style:none}
  .d-faq__item{border-bottom:1px solid #d6d2c9}
  .d-faq__head{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;min-height:84px;padding:0;background:none;border:0;cursor:pointer;text-align:left;font-size:22px;line-height:28px;letter-spacing:-.01em;color:var(--ink)}
  .d-faq__head:hover i{background:var(--navy);border-color:var(--navy)}
  .d-faq__head:hover i::before,.d-faq__head:hover i::after{background:#fff}
  .d-faq__body{padding:0 56px 28px 0}
  .d-faq__body p{max-width:640px;font-size:15px;line-height:23px;color:#4a5054}
  .d-faq__item.is-open .d-faq__head i::after{display:none}
  .d-faq__list i{position:relative;flex:none;width:32px;height:32px;border:1px solid #b7b2a7}
  .d-faq__list i::before,.d-faq__list i::after{content:"";position:absolute;left:50%;top:50%;background:var(--ink);transform:translate(-50%,-50%)}
  .d-faq__list i::before{width:13px;height:1.5px}.d-faq__list i::after{width:1.5px;height:13px}

  /* S11 */
  .d-cta{min-height:868px;padding-top:120px}
  .d-cta__grid{display:grid;grid-template-columns:1fr 560px;column-gap:60px}
  .d-cta__grid>div{padding-top:115px}
  .d-cta h2{max-width:620px}
  .d-cta__grid p{margin-top:37px;max-width:493px;font-size:20px;line-height:30px;letter-spacing:-.005em;color:#abb0b0}
  .d-cta .d-btn--glass{margin-top:36px}
  .d-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-content:start;padding:36px;background:#faf9f6;color:var(--ink);height:633px}
  .d-form label{display:flex;flex-direction:column;gap:8px}
  .d-form label>span{font-size:15px;line-height:22px;color:var(--ink)}
  .d-form input,.d-form textarea{width:100%;height:52px;padding:0 16px;background:#fff;border:1px solid #c0c0c0;border-radius:0;font-size:16px;color:var(--ink);outline:0}
  .d-form input::placeholder,.d-form textarea::placeholder{color:#5f6468;opacity:1}
  .d-form input:focus,.d-form textarea:focus{border-color:var(--navy)}
  .d-form .d-file{padding:14px 16px}
  .d-form__wide{grid-column:1/-1}
  .d-form textarea{height:112px;padding:14px 16px;resize:none}
  .d-form__submit{grid-column:1/-1;width:100%;height:54px;font-weight:500}
  .d-form__note{grid-column:1/-1;text-align:center;font-size:15px;line-height:24px;color:#4a5054}

  /* Footer (456) */
  .d-footer{position:relative;background:#15191b;color:#abb0b0;font-size:15px}
  .d-footer::before{content:"";position:absolute;top:0;left:50%;width:min(1360px,calc(100% - 40px));height:376px;transform:translateX(-50%);border:1px solid #394146;pointer-events:none}
  .d-footer__top{display:grid;grid-template-columns:440px repeat(4,1fr);height:376px}
  .d-footer__brand{padding:34px 36px 0 0;border-right:1px solid #394146}
  .d-footer__row{display:flex;gap:17px}
  .d-footer__row img{width:154px;height:154px;object-fit:contain;flex:none}
  .d-footer__row p{padding-top:22px;font-size:13.5px;line-height:25px;color:#abb0b0}
  .d-footer__row b{font-weight:400;color:var(--gold)}
  .d-footer__brand strong{display:block;margin-top:12px;font-size:16px;line-height:24px;font-weight:400;color:#eeebe4}
  .d-footer__brand small{display:block;margin-top:6px;font-size:14px;line-height:22px}
  .d-footer__brand p{margin-top:8px;font-size:15px;line-height:23px}
  .d-footer__brand small+p{margin-top:15px}
  .d-footer__top>div:not(.d-footer__brand){padding:36px 0 0 36px}
  .d-footer h4{margin-bottom:20px;font-size:15px;line-height:22px;font-weight:400;color:var(--gold)}
  .d-footer__top a,.d-footer__top span{display:block;margin-bottom:12px;font-size:15px;line-height:24px;color:#eeebe4}
  .d-footer__top a:hover{color:var(--gold)}
  .d-footer__bot{display:flex;justify-content:space-between;align-items:center;height:80px;font-size:14px;line-height:22px;color:#abb0b0}
}

/* ----- Co giãn 1024 → 1920: cột giữ đúng số đo Figma ở 1920, thu nhỏ khi màn hẹp hơn ----- */
@media (min-width:1024px){
  .d-strip{grid-template-columns:minmax(0,244fr) repeat(4,minmax(0,264fr));width:100%}
  .d-strip strong{white-space:nowrap}
  .d-about__top{grid-template-columns:minmax(0,470px) minmax(0,1fr)}
  .d-about figure img{width:100%;height:auto;aspect-ratio:470/440}
  .d-life__grid{grid-template-columns:minmax(0,628px) minmax(0,600px)}
  .d-life__side img{width:100%;height:auto;aspect-ratio:600/460}
  .d-why__grid{grid-template-columns:minmax(0,688px) minmax(0,540px)}
  .d-why figure img{width:100%;height:auto;aspect-ratio:688/425}
  .d-fdi__top img{flex:0 1 560px;min-width:0;max-width:45%;width:560px;height:auto;aspect-ratio:560/400}
  .d-table__h,.d-table__r{grid-template-columns:80px minmax(0,290px) minmax(0,486px) minmax(0,1fr)}
  .d-proc__grid{grid-template-columns:minmax(0,760px) minmax(0,460px)}
  .d-proc__grid img{width:100%;height:auto;aspect-ratio:760/600}
  .d-faq__grid{grid-template-columns:minmax(0,440px) minmax(0,788px)}
  .d-cta__grid{grid-template-columns:minmax(0,1fr) minmax(0,560px)}
  .d-footer__top{grid-template-columns:minmax(0,440px) repeat(4,minmax(0,1fr))}
  .d-pcard__img{height:auto;aspect-ratio:1/1}
  .d-ncard img{height:auto;aspect-ratio:417/300}
}
@media (min-width:1024px) and (max-width:1279px){
  .dh__nav{margin-left:130px;gap:22px}
  .dh__lang{display:none}
  .dh__cta{margin-left:auto}
  .d-hero__btns{flex-wrap:wrap}
  .d-card h3{font-size:26px;line-height:30px}
  .d-life__list span{font-size:26px}
  .d-specs b{font-size:36px;line-height:46px}
}
