html{scroll-behavior:auto}
:root{
  --ds-ink:#080a0d;
  --ds-ink-soft:#0e1117;
  --ds-panel:#141820;
  --ds-white:#f8fafc;
  --ds-muted:#9da7b5;
  --ds-line:rgba(255,255,255,.12);
  --ds-cyan:#22d3ee;
  --ds-blue:#2563eb;
  --ds-ease:cubic-bezier(.22,1,.36,1);
}
html{scroll-padding-top:88px}
body.is-home{background:var(--ds-ink);color:var(--ds-white);overflow-x:clip}
body.is-home main{overflow:visible}
body.is-home .site-header{position:fixed;inset:0 0 auto;z-index:1200;background:transparent;border-bottom-color:transparent;transition:background .35s ease,border-color .35s ease,transform .35s ease;backdrop-filter:none}
body.is-home .site-header.is-scrolled{background:rgba(8,10,13,.82);border-bottom-color:rgba(255,255,255,.1);backdrop-filter:blur(18px) saturate(130%)}
body.is-home .header-inner{height:84px}
body.is-home .brand{color:#fff;letter-spacing:-.02em}
body.is-home .brand img{height:42px;max-width:190px;object-fit:contain;filter:brightness(0) invert(1)}
body.is-home .main-nav{color:rgba(255,255,255,.84)}
body.is-home .main-nav>a:not(.btn){position:relative}
body.is-home .main-nav>a:not(.btn)::after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:1px;background:var(--ds-cyan);transition:right .3s var(--ds-ease)}
body.is-home .main-nav>a:not(.btn):hover,body.is-home .main-nav>a:not(.btn).is-active{color:#fff}
body.is-home .main-nav>a:not(.btn):hover::after,body.is-home .main-nav>a:not(.btn).is-active::after{right:0}
body.is-home .nav-cta{border-radius:999px;background:#fff;color:#080a0d;box-shadow:none}
body.is-home .nav-cta:hover{background:var(--ds-cyan)}
body.is-home .menu-toggle span{background:#fff}

.ds-shell{width:min(1280px,calc(100% - 64px));margin-inline:auto}
.ds-kicker{display:inline-flex;align-items:center;gap:10px;color:var(--ds-cyan);font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
.ds-kicker::before{content:"";width:28px;height:1px;background:currentColor}
.ds-kicker--dark{color:#0d7490}
.ds-button{display:inline-flex;min-height:52px;align-items:center;justify-content:center;padding:12px 22px;border-radius:999px;border:1px solid transparent;font-size:14px;font-weight:800;letter-spacing:-.01em;transition:transform .3s var(--ds-ease),background .3s ease,color .3s ease,border-color .3s ease,box-shadow .3s ease}
.ds-button:hover{transform:translateY(-2px)}
.ds-button--solid{background:#fff;color:#080a0d;box-shadow:0 18px 45px rgba(0,0,0,.2)}
.ds-button--solid:hover{background:var(--ds-cyan);box-shadow:0 20px 50px rgba(34,211,238,.18)}
.ds-button--ghost{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.03);color:#fff;backdrop-filter:blur(10px)}
.ds-button--ghost:hover{border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.08)}
.ds-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}

/* Fallback tĩnh khi JavaScript hoặc GSAP không tải. */
.ds-cinematic{position:relative;background:var(--ds-ink);padding:140px 0 90px;overflow:hidden}
.ds-cinematic__viewport,.ds-cinematic__stage{position:relative}
.ds-cinematic__ambient{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.ds-glow{position:absolute;border-radius:50%;filter:blur(90px);opacity:.34}
.ds-glow--one{width:42vw;height:42vw;right:-8vw;top:8vh;background:rgba(37,99,235,.48)}
.ds-glow--two{width:32vw;height:32vw;left:-10vw;bottom:3vh;background:rgba(34,211,238,.18)}
.ds-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 88%)}
.ds-noise{position:absolute;inset:-50%;opacity:.03;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");transform:rotate(8deg)}
.ds-scene{position:relative;z-index:2;width:min(1280px,calc(100% - 64px));min-height:760px;margin:0 auto 64px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(480px,1.1fr);align-items:center;gap:76px}
.ds-scene:last-of-type{margin-bottom:0}
.ds-scene__copy{max-width:680px}
.ds-scene__copy h1,.ds-scene__copy h2,.ds-portfolio-heading h2,.ds-final-copy h2{margin:18px 0 22px;color:#fff;font-weight:700;letter-spacing:-.065em;line-height:.98}
.ds-scene__copy h1{font-size:clamp(52px,6.25vw,96px)}
.ds-scene__copy h2,.ds-portfolio-heading h2,.ds-final-copy h2{font-size:clamp(46px,5vw,78px)}
.ds-scene__copy h1 em,.ds-scene__copy h2 em{font-style:normal;color:var(--ds-cyan)}
.ds-scene__copy p,.ds-portfolio-heading p{max-width:610px;margin:0;color:#aab3c0;font-size:clamp(16px,1.4vw,20px);line-height:1.75}
.ds-scene__copy--compact{max-width:590px}
.ds-scroll-hint{position:absolute;left:0;bottom:24px;display:flex;align-items:center;gap:12px;color:#87919f;font-size:11px;letter-spacing:.16em;text-transform:uppercase}
.ds-scroll-hint span{width:42px;height:1px;background:#87919f;position:relative;overflow:hidden}
.ds-scroll-hint span::after{content:"";position:absolute;inset:0;background:var(--ds-cyan);transform:translateX(-100%);animation:dsHint 1.8s ease-in-out infinite}
@keyframes dsHint{50%,100%{transform:translateX(100%)}}

.ds-browser{position:relative;justify-self:end;width:min(700px,52vw);border:1px solid rgba(255,255,255,.16);border-radius:22px;background:#11151c;box-shadow:0 60px 130px rgba(0,0,0,.52),0 0 0 1px rgba(255,255,255,.03) inset;transform:perspective(1200px) rotateY(-5deg) rotateX(3deg);overflow:hidden}
.ds-browser::after{content:"";position:absolute;inset:0;background:linear-gradient(125deg,rgba(255,255,255,.12),transparent 20% 70%,rgba(34,211,238,.08));pointer-events:none}
.ds-browser__bar{height:44px;display:flex;align-items:center;gap:7px;padding:0 15px;border-bottom:1px solid rgba(255,255,255,.08);color:#647182;font-size:11px}
.ds-browser__bar i{width:8px;height:8px;border-radius:50%;background:#3f4752}.ds-browser__bar i:nth-child(1){background:#ff6b6b}.ds-browser__bar i:nth-child(2){background:#fbbf24}.ds-browser__bar i:nth-child(3){background:#34d399}.ds-browser__bar span{margin-left:10px;display:block;max-width:260px;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.05)}
.ds-browser__screen{position:relative;aspect-ratio:16/10;background:#111;overflow:hidden}
.ds-browser__screen>img{width:100%;height:100%;object-fit:cover;object-position:center}
.ds-browser__screen::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(8,10,13,.5),transparent 55%)}
.ds-browser__layer{position:absolute;z-index:2;border:1px solid rgba(255,255,255,.2);background:rgba(8,10,13,.7);backdrop-filter:blur(8px);box-shadow:0 18px 40px rgba(0,0,0,.25)}
.ds-browser__layer--header{left:6%;right:6%;top:6%;height:9%;border-radius:8px}
.ds-browser__layer--headline{left:7%;top:25%;width:41%;height:22%;border-radius:10px}
.ds-browser__layer--cta{left:7%;top:53%;width:20%;height:7%;border-radius:999px;background:var(--ds-cyan)}
.ds-browser__layer--cards{left:7%;right:7%;bottom:8%;height:19%;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;border:0;background:none;backdrop-filter:none;box-shadow:none}
.ds-browser__layer--cards i{border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(8,10,13,.72);backdrop-filter:blur(8px)}

.ds-keywords{display:flex;gap:9px;flex-wrap:wrap;margin-top:28px}.ds-keywords span,.ds-metrics span{padding:8px 12px;border:1px solid rgba(255,255,255,.13);border-radius:999px;color:#c5ccd5;font-size:12px;background:rgba(255,255,255,.035)}
.ds-assembly{position:relative;justify-self:end;width:min(700px,52vw);aspect-ratio:16/11;perspective:1000px}
.ds-assembly__frame{position:absolute;inset:7%;border:1px solid rgba(255,255,255,.12);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.015));box-shadow:0 50px 100px rgba(0,0,0,.4);transform:rotateY(-6deg) rotateX(4deg)}
.ds-assembly__part{position:absolute;display:flex;align-items:center;padding:0 18px;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(20,24,32,.9);color:#aab4c2;font-size:11px;text-transform:uppercase;letter-spacing:.12em;box-shadow:0 22px 60px rgba(0,0,0,.3);overflow:hidden}
.ds-assembly__part--nav{left:13%;right:13%;top:12%;height:10%}.ds-assembly__part--hero{left:13%;top:27%;width:45%;height:23%}.ds-assembly__part--image{right:13%;top:27%;width:24%;height:38%;padding:0}.ds-assembly__part--image img{width:100%;height:100%;object-fit:cover}.ds-assembly__part--button{left:13%;top:55%;width:22%;height:8%;background:var(--ds-blue);color:#fff}.ds-assembly__part--card-a{left:13%;bottom:15%;width:22%;height:13%}.ds-assembly__part--card-b{left:38%;bottom:15%;width:22%;height:13%}.ds-assembly__part--footer{left:13%;right:13%;bottom:6%;height:6%}

.ds-metrics{display:flex;gap:9px;flex-wrap:wrap;margin-top:30px}.ds-devices{position:relative;justify-self:end;width:min(720px,54vw);height:560px;perspective:1400px}.ds-device{position:absolute;padding:9px;border:1px solid rgba(255,255,255,.18);background:#11151d;box-shadow:0 45px 100px rgba(0,0,0,.52)}.ds-device>div{height:100%;overflow:hidden;background:#0c0f14}.ds-device img{width:100%;height:100%;object-fit:cover}.ds-device--desktop{width:78%;height:340px;left:0;top:82px;border-radius:18px;transform:rotateY(8deg)}.ds-device--tablet{width:35%;height:330px;right:8%;top:150px;border-radius:20px;transform:rotateY(-7deg)}.ds-device--mobile{width:20%;height:310px;right:0;bottom:12px;border-radius:27px;transform:translateZ(80px)}.ds-device--mobile>div{border-radius:19px}.ds-device--tablet>div{border-radius:12px}

.ds-scene--portfolio{grid-template-columns:.72fr 1.28fr}.ds-portfolio-heading{max-width:500px}.ds-portfolio-deck{position:relative;height:590px;perspective:1600px}.ds-deck-card{position:absolute;left:50%;top:50%;width:min(560px,41vw);aspect-ratio:16/11;border-radius:22px;overflow:hidden;border:1px solid rgba(255,255,255,.14);box-shadow:0 60px 130px rgba(0,0,0,.52);transform:translate(-50%,-50%);color:#fff}.ds-deck-card img{width:100%;height:100%;object-fit:cover}.ds-deck-card__shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(4,6,9,.92),transparent 65%)}.ds-deck-card__meta{position:absolute;left:28px;right:28px;bottom:24px;display:flex;flex-direction:column}.ds-deck-card__meta small{color:var(--ds-cyan);font-size:10px;text-transform:uppercase;letter-spacing:.15em}.ds-deck-card__meta strong{font-size:28px;letter-spacing:-.04em}.ds-deck-card__meta em{font-style:normal;color:#b5bdc8;font-size:12px}.ds-deck-card:nth-child(1){z-index:5}.ds-deck-card:nth-child(2){z-index:4;transform:translate(-22%,-48%) scale(.87);filter:brightness(.58)}.ds-deck-card:nth-child(3){z-index:3;transform:translate(-78%,-46%) scale(.78);filter:brightness(.45)}.ds-deck-card:nth-child(n+4){opacity:0}

.ds-scene--final{display:flex;align-items:center;justify-content:center;text-align:center}.ds-final-mark{position:absolute;display:flex;align-items:flex-end;font-size:clamp(180px,25vw,420px);font-weight:900;line-height:.72;letter-spacing:-.18em;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.09);opacity:.8}.ds-final-mark i{font-style:normal;color:rgba(34,211,238,.06);-webkit-text-stroke:1px rgba(34,211,238,.18)}.ds-final-copy{position:relative;z-index:2;max-width:900px}.ds-final-copy .ds-hero-actions{justify-content:center}.ds-scene-progress{display:none}

/* Chỉ chuyển thành cinematic pinned khi JS đã xác nhận đầy đủ thư viện. */
html.ds-cinematic-running .ds-cinematic{height:520vh;padding:0;overflow:visible}
html.ds-cinematic-running .ds-cinematic__viewport{height:100vh;width:100%;overflow:hidden;background:var(--ds-ink)}
html.ds-cinematic-running .ds-cinematic__stage{height:100%;width:100%;overflow:hidden}
html.ds-cinematic-running .ds-scene{position:absolute;inset:0;width:min(1280px,calc(100% - 64px));min-height:0;height:100%;margin:auto;opacity:0;visibility:hidden}
html.ds-cinematic-running .ds-scene--intro{opacity:1;visibility:visible}
html.ds-cinematic-running .ds-scene-progress{position:absolute;z-index:10;right:32px;bottom:32px;display:grid;grid-template-columns:auto 90px auto;align-items:center;gap:10px;color:#7e8794;font-size:10px;font-weight:800;letter-spacing:.1em}
html.ds-cinematic-running .ds-scene-progress span{height:1px;background:rgba(255,255,255,.16);position:relative;overflow:hidden}
html.ds-cinematic-running .ds-scene-progress span::after{content:"";position:absolute;inset:0;background:var(--ds-cyan);transform-origin:left;transform:scaleX(var(--ds-progress,0))}
html.ds-cinematic-running .ds-scene-progress i,html.ds-cinematic-running .ds-scene-progress b{font-style:normal;font-weight:800}

/* Native fallback: vẫn có cinematic scroll khi CDN GSAP/Lenis bị chặn. */
html.ds-native-cinematic .ds-cinematic__viewport{position:sticky;top:0}
html.ds-native-cinematic .ds-cinematic__stage{isolation:isolate}
html.ds-native-cinematic .ds-scene,
html.ds-native-cinematic .ds-browser,
html.ds-native-cinematic .ds-scene__copy,
html.ds-native-cinematic .ds-assembly,
html.ds-native-cinematic .ds-assembly__part,
html.ds-native-cinematic .ds-device,
html.ds-native-cinematic .ds-portfolio-heading,
html.ds-native-cinematic .ds-deck-card,
html.ds-native-cinematic .ds-final-mark,
html.ds-native-cinematic .ds-final-copy{will-change:transform,opacity,filter}
html.ds-native-cinematic .ds-scene{transition:none}
html.ds-native-cinematic .ds-scene-progress{display:grid}

/* Nội dung bán hàng */
.ds-section{position:relative;padding:132px 0;background:#f5f6f7;color:#11151b}
.ds-section:nth-of-type(even){background:#fff}
.ds-section-heading{max-width:860px;margin-bottom:58px}.ds-section-heading h2,.ds-reasons__copy h2,.ds-final-cta__heading h2{margin:14px 0 18px;font-size:clamp(42px,5vw,72px);line-height:1.02;letter-spacing:-.06em;color:#0a0d12}.ds-section-heading p,.ds-reasons__copy p,.ds-final-cta__heading p{max-width:720px;margin:0;color:#616b77;font-size:17px;line-height:1.8}.ds-section-heading--row{max-width:none;display:flex;justify-content:space-between;align-items:flex-end;gap:42px}.ds-section-heading--row>div{max-width:900px}.ds-text-link{display:inline-flex;align-items:center;gap:10px;padding-bottom:6px;border-bottom:1px solid #11151b;font-weight:800;white-space:nowrap}.ds-text-link span{transition:transform .25s ease}.ds-text-link:hover span{transform:translate(3px,-3px)}
.ds-service-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #d9dde3;border-left:1px solid #d9dde3}.ds-service-card{position:relative;min-height:310px;padding:28px;border-right:1px solid #d9dde3;border-bottom:1px solid #d9dde3;background:#fff;overflow:hidden;transition:background .35s ease,color .35s ease}.ds-service-card::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 0,rgba(34,211,238,.24),transparent 45%),linear-gradient(145deg,#0b0e13,#141b24);opacity:0;transition:opacity .4s ease}.ds-service-card>*{position:relative;z-index:1}.ds-service-card__number{display:block;color:#8b95a1;font-size:12px;letter-spacing:.12em}.ds-service-card h3{margin:68px 0 14px;color:#0c1117;font-size:23px;line-height:1.15;letter-spacing:-.035em}.ds-service-card p{color:#68727e;font-size:14px;line-height:1.75}.ds-service-card>a{position:absolute;left:28px;bottom:27px;display:flex;gap:8px;font-size:13px;font-weight:800}.ds-service-card>a span{transition:transform .3s var(--ds-ease)}.ds-service-card:hover{color:#fff}.ds-service-card:hover::before{opacity:1}.ds-service-card:hover h3,.ds-service-card:hover p,.ds-service-card:hover .ds-service-card__number{color:#fff}.ds-service-card:hover>a span{transform:translate(4px,-4px)}

.ds-projects{background:#0a0d12;color:#fff}.ds-projects .ds-section-heading h2{color:#fff}.ds-projects .ds-kicker--dark{color:var(--ds-cyan)}.ds-projects .ds-text-link{border-color:rgba(255,255,255,.45)}.ds-project-layout{display:grid;grid-template-columns:repeat(2,1fr);gap:62px 28px}.ds-project-card--wide{grid-column:1/-1}.ds-project-card__visual{position:relative;display:block;border-radius:22px;overflow:hidden;background:#151a22;box-shadow:0 35px 80px rgba(0,0,0,.28)}.ds-project-card__visual::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.38),transparent 55%);opacity:0;transition:opacity .4s ease}.ds-project-card__browser{height:34px;display:flex;align-items:center;gap:6px;padding:0 14px;background:#171c24;border-bottom:1px solid rgba(255,255,255,.07)}.ds-project-card__browser span{width:7px;height:7px;border-radius:50%;background:#4b5563}.ds-project-card__visual img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .8s var(--ds-ease)}.ds-project-card--wide .ds-project-card__visual img{aspect-ratio:21/9}.ds-project-card__view{position:absolute;z-index:2;right:24px;bottom:22px;display:grid;place-items:center;width:88px;height:88px;border-radius:50%;background:#fff;color:#0b0e13;font-size:12px;font-weight:800;transform:scale(0);transition:transform .4s var(--ds-ease)}.ds-project-card__visual:hover img{transform:scale(1.025)}.ds-project-card__visual:hover::after{opacity:1}.ds-project-card__visual:hover .ds-project-card__view{transform:scale(1)}.ds-project-card__info{display:grid;grid-template-columns:120px 1fr auto;align-items:baseline;gap:18px;margin-top:22px}.ds-project-card__info span,.ds-project-card__info p,.ds-project-card__info small{color:#8f99a7;font-size:12px}.ds-project-card__info h3{margin:0;font-size:28px;letter-spacing:-.04em}.ds-project-card__info p{margin:0;text-align:right}.ds-project-card__info small{padding:4px 8px;border:1px solid rgba(255,255,255,.15);border-radius:999px}

.ds-process{background:#0d1117;color:#fff}.ds-process__layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:110px}.ds-process__intro{position:sticky;top:140px;align-self:start}.ds-process__intro h2{color:#fff}.ds-process__intro p{color:#9ca6b3}.ds-process__timeline{position:relative;padding-left:55px}.ds-process__rail{position:absolute;left:14px;top:0;bottom:0;width:1px;background:rgba(255,255,255,.13)}.ds-process__rail i{position:absolute;left:0;top:0;width:1px;height:100%;background:var(--ds-cyan);transform-origin:top;transform:scaleY(0)}.ds-process-step{position:relative;display:grid;grid-template-columns:74px 1fr;gap:24px;padding:6px 0 74px;opacity:.38;transition:opacity .35s ease}.ds-process-step:last-child{padding-bottom:0}.ds-process-step::before{content:"";position:absolute;left:-47px;top:10px;width:15px;height:15px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:#0d1117;transition:background .3s ease,box-shadow .3s ease}.ds-process-step.is-active{opacity:1}.ds-process-step.is-active::before{background:var(--ds-cyan);box-shadow:0 0 0 7px rgba(34,211,238,.1)}.ds-process-step>span{color:var(--ds-cyan);font-size:12px;letter-spacing:.12em}.ds-process-step h3{margin:0 0 12px;font-size:29px;letter-spacing:-.04em}.ds-process-step p{margin:0;color:#9ca6b3;line-height:1.8}

.ds-templates{background:#f6f7f8}.ds-filter{display:flex;gap:8px;flex-wrap:wrap;margin:-20px 0 38px}.ds-filter button{border:1px solid #d6dbe1;background:transparent;border-radius:999px;padding:9px 14px;color:#4b5563;font-size:12px;font-weight:750;cursor:pointer;transition:.25s}.ds-filter button:hover,.ds-filter button.is-active{border-color:#0a0d12;background:#0a0d12;color:#fff}.ds-template-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.ds-template-card{min-width:0}.ds-template-card[hidden]{display:none!important}.ds-template-card__image{position:relative;display:block;aspect-ratio:16/11;border-radius:17px;overflow:hidden;background:#dce1e6}.ds-template-card__image img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ds-ease),filter .4s ease}.ds-template-card__image::after{content:"";position:absolute;inset:0;background:rgba(7,10,14,.5);opacity:0;transition:opacity .35s ease}.ds-template-card__image span{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-42%);opacity:0;padding:10px 14px;border-radius:999px;background:#fff;color:#0a0d12;font-size:12px;font-weight:800;transition:.35s var(--ds-ease)}.ds-template-card__image:hover img{transform:scale(1.035);filter:saturate(.82)}.ds-template-card__image:hover::after{opacity:1}.ds-template-card__image:hover span{opacity:1;transform:translate(-50%,-50%)}.ds-template-card__body{padding:18px 2px}.ds-template-card__body small{color:#0d7490;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.ds-template-card__body h3{margin:7px 0;font-size:21px;letter-spacing:-.035em}.ds-template-card__body p{min-height:48px;margin:0;color:#737d89;font-size:13px;line-height:1.65}.ds-template-card__body>div{display:flex;justify-content:space-between;gap:10px;margin-top:14px;padding-top:13px;border-top:1px solid #dce1e6}.ds-template-card__body a{font-size:12px;font-weight:800}.ds-template-card__body a:last-child{color:#0d7490}

.ds-reasons{background:#0a0d12;color:#fff}.ds-reasons__layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:100px;align-items:center}.ds-reasons__copy h2{color:#fff}.ds-reasons__copy p{color:#9aa4b1}.ds-reasons__copy .ds-button{margin-top:32px}.ds-reasons__list{border-top:1px solid rgba(255,255,255,.13)}.ds-reasons__list>div{display:grid;grid-template-columns:70px 1fr;align-items:center;min-height:88px;border-bottom:1px solid rgba(255,255,255,.13)}.ds-reasons__list span{color:#657080;font-size:11px}.ds-reasons__list strong{font-size:19px;font-weight:600;letter-spacing:-.02em}

.ds-testimonials{background:#fff}.ds-slider-controls{display:flex;gap:8px}.ds-slider-controls button{width:46px;height:46px;border:1px solid #d5dae0;border-radius:50%;background:#fff;cursor:pointer;font-size:18px;transition:.25s}.ds-slider-controls button:hover{background:#0b0e13;color:#fff;border-color:#0b0e13}.ds-testimonial-track{display:grid;grid-auto-flow:column;grid-auto-columns:min(520px,72vw);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}.ds-testimonial-track::-webkit-scrollbar{display:none}.ds-testimonial-card{scroll-snap-align:start;min-height:330px;margin:0;padding:36px;border:1px solid #dce1e6;border-radius:20px;box-shadow:none;display:flex;flex-direction:column}.ds-testimonial-card__stars{color:#0d7490;letter-spacing:.14em}.ds-testimonial-card>p{margin:40px 0 34px;font-size:24px;line-height:1.5;letter-spacing:-.025em}.ds-testimonial-card footer{margin-top:auto}.ds-testimonial-card footer strong{display:block}.ds-testimonial-card footer span,.ds-testimonial-card footer small{display:block;color:#77818d;font-size:12px}.ds-testimonial-card footer small{width:max-content;margin-top:7px;padding:4px 8px;border:1px solid #dce1e6;border-radius:999px}

.ds-final-cta{background:radial-gradient(circle at 90% 0,rgba(37,99,235,.32),transparent 32%),radial-gradient(circle at 10% 100%,rgba(34,211,238,.15),transparent 34%),#080a0d;color:#fff}.ds-final-cta__heading{max-width:950px;margin-bottom:64px}.ds-final-cta__heading h2{color:#fff}.ds-final-cta__heading p{color:#a7b0bd}.ds-final-cta__grid{display:grid;grid-template-columns:.58fr 1.42fr;gap:24px;align-items:start}.ds-contact-card,.ds-form-wrap{border:1px solid rgba(255,255,255,.13);border-radius:22px;background:rgba(255,255,255,.045);backdrop-filter:blur(18px)}.ds-contact-card{padding:28px}.ds-contact-card>span{display:block;margin-bottom:28px;color:#7f8996;font-size:11px;text-transform:uppercase;letter-spacing:.15em}.ds-contact-card>a{display:block;padding:18px 0;border-top:1px solid rgba(255,255,255,.12)}.ds-contact-card small{display:block;color:#7f8996;font-size:11px}.ds-contact-card strong{display:block;margin-top:4px;font-size:18px}.ds-form-wrap{padding:30px}.ds-form-wrap .lead-form{color:#fff}.ds-form-wrap .lead-form label{color:#d9dfe7}.ds-form-wrap .lead-form input,.ds-form-wrap .lead-form select,.ds-form-wrap .lead-form textarea{border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.065);color:#fff}.ds-form-wrap .lead-form input::placeholder,.ds-form-wrap .lead-form textarea::placeholder{color:#77818d}.ds-form-wrap .lead-form select option{color:#111;background:#fff}.ds-form-wrap .lead-form .btn{border-radius:999px;background:#fff;color:#080a0d}.ds-form-wrap .lead-form .btn:hover{background:var(--ds-cyan)}.ds-form-wrap .form-note{color:#808a97}.ds-form-wrap .checkbox a{color:var(--ds-cyan)}

/* Reveal có fallback: chỉ ẩn sau khi JS đã sẵn sàng. */
html.ds-home-js [data-ds-reveal]{opacity:0;transform:translateY(34px)}
html.ds-home-js [data-ds-reveal].is-revealed{opacity:1;transform:none;transition:opacity .75s var(--ds-ease),transform .75s var(--ds-ease)}

html.lenis,html.lenis body{height:auto}.lenis.lenis-smooth{scroll-behavior:auto!important}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}.lenis.lenis-stopped{overflow:hidden}.lenis.lenis-smooth iframe{pointer-events:none}

@media (max-width:1199px){
  .ds-shell,.ds-scene{width:min(100% - 40px,1080px)}
  .ds-service-grid{grid-template-columns:repeat(2,1fr)}
  .ds-template-grid{grid-template-columns:repeat(2,1fr)}
  .ds-scene{grid-template-columns:.9fr 1.1fr;gap:34px}
  .ds-browser,.ds-assembly{width:52vw}.ds-devices{width:53vw}
  .ds-process__layout,.ds-reasons__layout{gap:58px}
}

@media (max-width:991px){
  body.is-home .site-header{background:rgba(8,10,13,.88);backdrop-filter:blur(18px)}
  body.is-home .main-nav{background:#0d1117;color:#fff;border-top:1px solid rgba(255,255,255,.1)}
  body.is-home .main-nav.open{display:flex}
  .ds-shell{width:min(100% - 32px,760px)}
  .ds-cinematic{padding:128px 0 72px}
  html.ds-cinematic-running .ds-cinematic{height:auto;padding:128px 0 72px;overflow:hidden}
  html.ds-cinematic-running .ds-cinematic__viewport,html.ds-cinematic-running .ds-cinematic__stage{height:auto;overflow:visible}
  .ds-scene,html.ds-cinematic-running .ds-scene{position:relative;inset:auto;width:min(100% - 32px,760px);height:auto;min-height:0;margin:0 auto 110px;display:block;opacity:1!important;visibility:visible!important}
  .ds-scene:last-of-type,html.ds-cinematic-running .ds-scene:last-of-type{margin-bottom:0}
  .ds-scene__copy h1{font-size:clamp(46px,10vw,72px)}
  .ds-scene__copy h2,.ds-portfolio-heading h2,.ds-final-copy h2{font-size:clamp(40px,8vw,62px)}
  .ds-browser,.ds-assembly,.ds-devices{width:100%;margin-top:46px;justify-self:auto}
  .ds-browser{transform:none}
  .ds-assembly{height:auto;min-height:480px}
  .ds-devices{height:500px}
  .ds-scroll-hint,.ds-scene-progress{display:none!important}
  .ds-scene--portfolio{display:block}.ds-portfolio-deck{height:auto;margin-top:40px;display:grid;grid-template-columns:1fr 1fr;gap:16px}.ds-deck-card,.ds-deck-card:nth-child(n){position:relative;left:auto;top:auto;width:100%;transform:none!important;filter:none!important;opacity:1!important;aspect-ratio:16/11}.ds-deck-card:first-child{grid-column:1/-1}.ds-final-mark{font-size:44vw}
  .ds-section{padding:96px 0}.ds-section-heading--row{display:block}.ds-section-heading--row .ds-text-link{margin-top:24px}.ds-section-heading h2,.ds-reasons__copy h2,.ds-final-cta__heading h2{font-size:clamp(38px,8vw,58px)}
  .ds-project-layout{gap:48px 18px}.ds-project-card__info{grid-template-columns:1fr}.ds-project-card__info p{text-align:left}.ds-process__layout,.ds-reasons__layout,.ds-final-cta__grid{grid-template-columns:1fr}.ds-process__intro{position:relative;top:auto}.ds-process__timeline{padding-left:46px}.ds-template-grid{grid-template-columns:repeat(2,1fr)}.ds-reasons__layout{gap:58px}.ds-final-cta__grid{gap:18px}
}

@media (max-width:640px){
  .ds-shell{width:calc(100% - 28px)}
  .ds-cinematic{padding-top:118px}.ds-scene,html.ds-cinematic-running .ds-scene{width:calc(100% - 28px);margin-bottom:82px}
  .ds-scene__copy h1{font-size:clamp(41px,12vw,60px);letter-spacing:-.055em}.ds-scene__copy h2,.ds-portfolio-heading h2,.ds-final-copy h2{font-size:clamp(37px,11vw,54px)}
  .ds-scene__copy p,.ds-portfolio-heading p{font-size:16px}.ds-browser{border-radius:15px}.ds-browser__bar{height:36px}.ds-assembly{min-height:380px}.ds-assembly__part{padding:0 10px;font-size:8px}.ds-devices{height:390px}.ds-device--desktop{width:90%;height:240px;top:55px}.ds-device--tablet{width:38%;height:240px;top:115px}.ds-device--mobile{width:24%;height:225px}.ds-portfolio-deck{grid-template-columns:1fr}.ds-deck-card:first-child{grid-column:auto}.ds-deck-card__meta strong{font-size:22px}.ds-final-mark{font-size:55vw}
  .ds-section{padding:78px 0}.ds-section-heading{margin-bottom:38px}.ds-section-heading h2,.ds-reasons__copy h2,.ds-final-cta__heading h2{font-size:clamp(36px,11vw,50px)}.ds-service-grid{grid-template-columns:1fr}.ds-service-card{min-height:280px}.ds-project-layout{grid-template-columns:1fr}.ds-project-card--wide{grid-column:auto}.ds-project-card--wide .ds-project-card__visual img,.ds-project-card__visual img{aspect-ratio:16/11}.ds-project-card__view{display:none}.ds-process-step{grid-template-columns:50px 1fr;padding-bottom:54px}.ds-process-step h3{font-size:24px}.ds-template-grid{grid-template-columns:1fr}.ds-filter{overflow-x:auto;flex-wrap:nowrap;padding-bottom:6px}.ds-filter button{white-space:nowrap}.ds-reasons__list>div{grid-template-columns:54px 1fr}.ds-testimonial-track{grid-auto-columns:88vw}.ds-testimonial-card{padding:26px;min-height:310px}.ds-testimonial-card>p{font-size:20px}.ds-final-cta__heading{margin-bottom:42px}.ds-contact-card,.ds-form-wrap{padding:22px}.ds-form-wrap .form-grid{grid-template-columns:1fr}.ds-form-wrap .form-grid .full{grid-column:auto}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  .ds-scroll-hint span::after{animation:none}
  html.ds-home-js [data-ds-reveal]{opacity:1;transform:none}
  .ds-browser,.ds-device,.ds-assembly__part,.ds-deck-card{transform:none!important}
  .ds-project-card__visual img,.ds-template-card__image img{transition:none}
}

@media (max-width:980px){
  body.is-home.menu-open{overflow:hidden}
  body.is-home.menu-open .site-header{position:fixed;inset:0;height:100dvh;background:#080a0d;backdrop-filter:none}
  body.is-home.menu-open .header-inner{height:100%;align-items:flex-start;padding-top:11px}
  body.is-home.menu-open .mobile-contact{display:none}
  body.is-home .brand,body.is-home .menu-toggle{position:relative;z-index:3}
  body.is-home .main-nav{position:absolute;inset:0;z-index:2;width:100%;height:100%;display:flex!important;justify-content:flex-start;align-items:flex-start;gap:4px;padding:94px 24px 90px;background:#080a0d;border:0;overflow-y:auto;visibility:hidden;opacity:0;transform:translateY(-18px);pointer-events:none;transition:opacity .28s ease,transform .36s var(--ds-ease),visibility .28s ease}
  body.is-home .main-nav.open{visibility:visible;opacity:1;transform:none;pointer-events:auto}
  body.is-home .main-nav>a:not(.btn){width:100%;max-width:520px;padding:13px 0;font-size:clamp(24px,7vw,38px);line-height:1.15;letter-spacing:-.04em;border-bottom:1px solid rgba(255,255,255,.09)}
  body.is-home .main-nav>a:not(.btn)::after{display:none}
  body.is-home .main-nav .nav-cta{width:100%;max-width:520px;margin-top:18px}
  body.is-home .menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  body.is-home .menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  body.is-home .menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  body.is-home .menu-toggle span{transition:transform .28s ease,opacity .2s ease}
}

/* =========================================================
   Dustin Studio cinematic engine v2.1.0
   Self-contained native scroll engine: no CDN dependency.
   ========================================================= */
html.ds-effects-v211 .ds-cinematic{height:560vh}
html.ds-effects-v211 .ds-cinematic__viewport{position:sticky!important;top:0!important}
html.ds-effects-v211 .ds-cinematic__stage{isolation:isolate}
html.ds-effects-v211 .ds-scene{transition:none!important;will-change:transform,opacity,filter}
html.ds-effects-v211 .ds-cinematic__ambient,
html.ds-effects-v211 .ds-glow,
html.ds-effects-v211 .ds-grid,
html.ds-effects-v211 .ds-browser,
html.ds-effects-v211 .ds-browser__layer,
html.ds-effects-v211 .ds-assembly,
html.ds-effects-v211 .ds-assembly__frame,
html.ds-effects-v211 .ds-assembly__part,
html.ds-effects-v211 .ds-device,
html.ds-effects-v211 .ds-deck-card,
html.ds-effects-v211 .ds-final-mark,
html.ds-effects-v211 .ds-final-copy{will-change:transform,opacity,filter}
html.ds-effects-v211 .ds-browser{transform-origin:50% 50%;overflow:visible}
html.ds-effects-v211 .ds-browser__screen{border-radius:0 0 20px 20px;overflow:hidden}
html.ds-effects-v211 .ds-browser::before{content:"";position:absolute;inset:-30px;border-radius:34px;background:radial-gradient(circle at 50% 50%,rgba(34,211,238,.16),transparent 68%);filter:blur(22px);opacity:.7;z-index:-1}
html.ds-effects-v211 .ds-assembly{transform-style:preserve-3d}
html.ds-effects-v211 .ds-assembly__part{transform-style:preserve-3d}
html.ds-effects-v211 .ds-devices{transform-style:preserve-3d}
html.ds-effects-v211 .ds-portfolio-deck{transform-style:preserve-3d}
html.ds-effects-v211 .ds-scene-progress{right:34px;bottom:30px;padding:10px 12px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(8,10,13,.48);backdrop-filter:blur(12px)}
html.ds-effects-v211 .ds-scene-progress span{width:110px;height:2px}
html.ds-effects-v211 .ds-scene-progress span::after{transform:scaleX(var(--ds-progress,0));transition:none}
body.ds-cinematic-enabled .floating-contact{transition:opacity .28s ease,transform .38s cubic-bezier(.22,1,.36,1)}
body.ds-in-cinematic .floating-contact{opacity:0;transform:translateX(130%);pointer-events:none}
.ds-project-card__visual img{transform:translate3d(0,var(--ds-project-y,0),0) scale(1.035)}
.ds-project-card__visual:hover img{transform:translate3d(0,var(--ds-project-y,0),0) scale(1.06)}

@media (max-width:991px){
  html.ds-effects-v211 .ds-cinematic{height:auto}
  html.ds-effects-v211 .ds-cinematic__viewport{position:relative!important;top:auto!important}
  body.ds-in-cinematic .floating-contact{opacity:1;transform:none;pointer-events:auto}
}


/* v2.1.1 fail-safe: không bao giờ để hero thành màn hình đen nếu JS lỗi hoặc cache CSS/JS lệch phiên bản. */
html:not(.ds-cinematic-running) .ds-cinematic{
  height:auto!important;
  min-height:100vh;
  padding:140px 0 90px!important;
  overflow:hidden!important;
}
html:not(.ds-cinematic-running) .ds-cinematic__viewport,
html:not(.ds-cinematic-running) .ds-cinematic__stage{
  position:relative!important;
  top:auto!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
html:not(.ds-cinematic-running) .ds-scene{
  position:relative!important;
  inset:auto!important;
  width:min(1280px,calc(100% - 64px))!important;
  height:auto!important;
  min-height:720px!important;
  margin:0 auto 64px!important;
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
  transform:none!important;
  filter:none!important;
}
html:not(.ds-cinematic-running) .ds-scene:last-of-type{margin-bottom:0!important}
html:not(.ds-cinematic-running) .ds-scene-progress{display:none!important}
html.ds-cinematic-fallback .ds-cinematic::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 78% 18%,rgba(37,99,235,.18),transparent 35%),radial-gradient(circle at 14% 74%,rgba(34,211,238,.10),transparent 32%);
}
@media (max-width:991px){
  html:not(.ds-cinematic-running) .ds-scene{
    width:min(100% - 32px,760px)!important;
    min-height:0!important;
    margin-bottom:100px!important;
  }
}
