/* Trang /thiet-ke-website (app/views/webdesign.php). Dùng phông của site.css; mọi lớp bắt đầu bằng wd-.
   Bố cục kiểu trang web của Sapo; MÀU theo web NBK (biến trong site.css: đỏ, đen, trắng, xám), màu phẳng, KHÔNG chuyển màu; riêng menu trong trang xanh đậm, nút vàng như trang Google Ads (Trung chốt 28/11/2026). */
body:has(.wd-nav) .crumbs{display:none}
body:has(.wd-nav) .hd{position:relative}
body:has(.wd-nav) main{background:#fff}
.wd-nav,.wd-hero,.wd-sec{--ink:#111;--mut:#454545;--red:#e11e31;--red-d:#b3101f;--rsoft:#ffeaec;--soft:#f6f6f6;--line:#eaeaea}
.wd-w{max-width:1200px;margin:0 auto;padding:0 20px}
/* màn rộng: khung bằng .wrap của site.css (đổi mức ở đó thì đổi cả đây) */
@media (min-width:1360px){.wd-w,.wd-nav-in{max-width:1320px!important}}
@media (min-width:1600px){.wd-w,.wd-nav-in{max-width:1480px!important;padding-left:28px!important;padding-right:28px!important}}
@media (min-width:1900px){.wd-w,.wd-nav-in{max-width:1680px!important;padding-left:32px!important;padding-right:32px!important}}
@media (min-width:2400px){.wd-w,.wd-nav-in{max-width:1960px!important}}
[id].wd-sec,#tong-quan{scroll-margin-top:62px}
/* menu trong trang */
.wd-nav{position:sticky;top:0;z-index:40;background:#19245c;box-shadow:0 8px 20px rgba(16,26,69,.22)}
.wd-nav-in{max-width:1200px;margin:0 auto;padding:0 20px;min-height:60px;display:flex;align-items:center;gap:18px}
.wd-brand{display:flex;align-items:center;gap:9px;color:#fff;white-space:nowrap;padding-right:18px;border-right:1px solid rgba(255,255,255,.22)}.wd-brand .ico{color:#ffd54a}.wd-brand b{font-size:15.5px}
.wd-tabs{display:flex;gap:4px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.wd-tabs::-webkit-scrollbar{display:none}
.wd-tabs a{flex:none;padding:8px 13px;border-radius:999px;color:#d5daf5;font-size:14.5px;font-weight:500;white-space:nowrap}
.wd-tabs a:hover{background:rgba(255,255,255,.12);color:#fff}.wd-tabs a.on{background:#fff;color:#19245c;font-weight:700}
/* nút: cùng kiểu .btn của site.css (bo 16px, đỏ phẳng, đen, viền) */
.wd-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:0 24px;border-radius:16px;border:1.5px solid transparent;font:700 15.5px/1.25 var(--font);text-align:center;cursor:pointer;transition:transform .15s,box-shadow .15s,background .15s,border-color .15s}
.wd-btn:hover{transform:translateY(-2px)}
.wd-btn.go{background:var(--red);color:#fff}.wd-btn.go:hover{background:var(--red-d)}
.wd-btn i{display:inline-flex;font-style:normal}
.wd-btn.soft{background:var(--rsoft);color:var(--red-d)}.wd-btn.soft:hover{background:var(--red);color:#fff}
.wd-btn.line{border-color:#dcdcdc;background:#fff;color:#111}.wd-btn.line:hover{border-color:var(--red);color:var(--red)}
.wd-btn.sm{min-height:40px;padding:0 16px;gap:7px;border-radius:13px;font-size:14px;white-space:nowrap}
.wd-nav .wd-btn.go{border-radius:999px;background:#ffd54a;color:#2c2000}.wd-nav .wd-btn.go:hover{background:#ffe27d;color:#2c2000}.wd-nav :focus-visible{outline-color:#ffd54a}
.wd-cta{display:flex;flex-wrap:wrap;gap:12px}
/* khung mục và tiêu đề */
.wd-sec{padding:48px 0;color:var(--mut)}.wd-sec.soft{background:var(--soft)}
.wd-hero{background:var(--soft);color:var(--mut)}
.wd-hd{margin:0 auto 28px;text-align:center;container-type:inline-size}
/* tiêu đề mục nằm một dòng, chữ co theo bề rộng khung; chỉ xuống dòng khi màn quá hẹp */
.wd-sec h2{color:var(--ink);font-weight:800;letter-spacing:-.02em;line-height:1.22;text-wrap:balance}
.wd-sec .wd-hd h2{font-size:clamp(22px,3cqw,36px)}
.wd-sub{margin:8px auto 0;max-width:760px;font-size:16.5px;text-wrap:balance}
/* đầu trang */
.wd-hero{padding:64px 0 36px;overflow:hidden}
.wd-hero-tx{container-type:inline-size;text-align:center}
.wd-hero h1{color:var(--ink);font-size:clamp(30px,3.3cqw,42px);font-weight:800;line-height:1.2;letter-spacing:-.025em;text-wrap:balance}
.wd-hero h1 span{display:block;margin-top:4px;color:var(--red);font-size:clamp(17px,3.3cqw,42px);text-wrap:balance}
.wd-lead{max-width:860px;margin:12px auto 0;font-size:17px;line-height:1.7}
.wd-hero .wd-cta{justify-content:center;margin-top:18px}.wd-hero .wd-cta .go{padding-left:34px;padding-right:34px}
.wd-show{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr);gap:18px;margin-top:24px}
.wd-stage,.wd-why li{border:1px solid var(--line);border-radius:20px;background:#fff}
/* khung thiết bị */
.wd-stage{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:16px 20px 14px}
.wd-device{position:relative;width:100%;max-width:660px;margin:0 auto;padding:0 28px 18px 14px}
.wd-screen{position:relative;aspect-ratio:1200/750;border:8px solid #1a1a1a;border-bottom-width:10px;border-radius:14px 14px 5px 5px;background:#1a1a1a;overflow:hidden;box-shadow:0 18px 36px rgba(17,17,17,.18)}
.wd-base{height:10px;margin:0 -14px;border-radius:2px 2px 14px 14px;background:#bdbdc2}
.wd-slide{position:absolute;inset:0;opacity:0;transition:opacity .7s}.wd-slide.on{opacity:1}
.wd-slide img{width:100%;height:100%;object-fit:cover;object-position:top}
.wd-phone{position:absolute;right:0;bottom:0;width:22%;aspect-ratio:390/844;border:5px solid #1a1a1a;border-radius:22px;background:#1a1a1a;overflow:hidden;box-shadow:0 16px 30px rgba(17,17,17,.22)}
.wd-phone .wd-slide{inset:0;border-radius:17px;overflow:hidden}
/* bốn ưu điểm */
.wd-why{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:1fr;gap:14px}
.wd-why li{display:flex;align-items:center;gap:14px;padding:14px 20px}
.wd-why i{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:var(--rsoft);color:var(--red)}
.wd-why span{display:flex;flex-direction:column;gap:3px;line-height:1.4}.wd-why b{color:var(--ink);font-size:17px}.wd-why small{font-size:14px;color:var(--mut)}
/* trưng bày theo ngành */
.wd-ind{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:26px}
.wd-ind button{flex:none;padding:10px 19px;border:1.5px solid var(--line);border-radius:999px;background:#fff;color:#111;font:600 14.5px/1.2 var(--font);cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.wd-ind button:hover{border-color:var(--red)}.wd-ind button[aria-selected=true]{background:var(--red);border-color:var(--red);color:#fff}
.wd-case[hidden]{display:none!important}
.wd-case{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:46px;align-items:center;padding:34px 38px;border-radius:24px;background:var(--soft);animation:wdin .45s ease}
@keyframes wdin{from{opacity:0;transform:translateY(12px)}}
.wd-case-vis,.wd-get-vis{position:relative;padding:0 34px 26px 0;min-width:0}
.wd-browser{border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 18px 40px rgba(17,17,17,.13)}
.wd-bar{display:flex;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid var(--line)}.wd-bar i{width:9px;height:9px;border-radius:50%;background:#d4d4d4}
.wd-bar em{margin-left:12px;padding:3px 14px;border-radius:8px;background:var(--soft);font:500 11.5px/1.5 var(--font);color:#6b7280}
.wd-browser img{width:100%;height:auto}
.wd-phone.sm{width:23%}.wd-phone.sm img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:17px}
.wd-case-tx h3{color:var(--ink);font-size:clamp(26px,2.8vw,32px);font-weight:800;letter-spacing:-.02em}
.wd-case-tx>p{margin-top:10px;line-height:1.75}
.wd-case-tx ul{display:grid;gap:10px;margin-top:18px}.wd-case-tx li{display:flex;gap:11px;font-weight:600;color:var(--ink);font-size:15px}.wd-case-tx li .ico{flex:none;margin-top:3px;color:var(--red)}
.wd-case-tx .wd-cta{margin-top:20px}
.wd-more{margin-top:24px;text-align:center}.wd-more a{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--red)}
/* bạn nhận được: ảnh bên trái, các ý bên phải */
.wd-get{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center}
.wd-get ul{display:grid;gap:26px}.wd-get li{display:flex;gap:18px;align-items:flex-start}
.wd-get li>i{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#fff;color:var(--red);border:1px solid var(--line)}
.wd-get h3{color:var(--ink);font-size:19px;line-height:1.35}.wd-get li p{margin-top:5px;font-size:15.5px;line-height:1.7}
/* cần mua: thẻ giá */
.wd-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.wd-cards li{display:flex;flex-direction:column;align-items:center;padding:28px 24px 26px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--mut);box-shadow:0 8px 24px rgba(17,17,17,.05);text-align:center}
.wd-cards li>i{display:grid;place-items:center;width:60px;height:60px;border-radius:18px;background:var(--rsoft);color:var(--red)}
.wd-cards h3{margin-top:16px;color:var(--ink);font-size:21px;font-weight:800;text-transform:uppercase;letter-spacing:.01em}
.wd-cards li>p{margin-top:6px;font-size:15px;line-height:1.6}.wd-cards .wd-btn{align-self:stretch;margin-top:auto}
.wd-cards .gia{display:flex;align-items:baseline;gap:7px;margin-top:16px!important;padding-top:16px;border-top:1px solid var(--line);align-self:stretch;justify-content:center}.wd-cards .gia small{font-size:14px}.wd-cards .gia b{color:var(--red);font-size:34px;line-height:1.2}
.wd-cards .dv{margin:0 0 18px;font-size:13.5px!important;color:#6b7280}
.wd-sum{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:4px 12px;margin-top:28px;color:var(--ink);font-size:19px;font-weight:600;text-align:center}
.wd-sum strong{color:var(--red);font-size:32px;line-height:1.2}.wd-sum span{flex:0 0 100%;font-size:14.5px;font-weight:400;color:var(--mut)}
/* chi phí */
.wd-price{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.wd-price.one{grid-template-columns:minmax(0,520px);justify-content:center;max-width:none}
.wd-price article{position:relative;overflow:hidden;display:flex;flex-direction:column;padding:30px 32px;border:1.5px solid var(--line);border-radius:20px;background:#fff}
.wd-price .hot{border:2px solid var(--red);box-shadow:0 14px 32px rgba(225,30,49,.12)}
.wd-price .badge{position:absolute;top:22px;right:-44px;width:170px;padding:6px 0;transform:rotate(45deg);background:var(--red);color:#fff;font-size:12px;font-weight:700;text-align:center}
.wd-price h3{color:var(--ink);font-size:22px;font-weight:800;text-transform:uppercase}
.wd-price .d{margin-top:6px;min-height:2.9em;font-size:15px;line-height:1.45;padding-right:56px}
.wd-price .v{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;min-height:52px;margin:12px 0 16px}.wd-price .v small{font-size:14px}.wd-price .v b{color:var(--red);font-size:clamp(28px,3vw,38px);line-height:1.25;letter-spacing:-.02em}.wd-price .v del{font-size:16px;color:#6b7280}
.wd-price ul{display:grid;gap:12px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.wd-price li{display:flex;gap:10px;font-size:15px;line-height:1.55;color:var(--ink)}.wd-price li .ico{flex:none;margin-top:3px;color:var(--red)}
.wd-note{margin-top:20px;text-align:center;font-size:14px}.wd-note a{color:var(--red);text-decoration:underline;text-underline-offset:3px}
/* quy trình: ô biểu tượng nối nhau bằng cung nét đứt */
.wd-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.wd-steps li{position:relative}
.wd-steps .ic{display:grid;place-items:center;width:84px;height:84px;border-radius:22px;background:#fff;color:var(--red);border:1px solid var(--line);box-shadow:0 10px 24px rgba(17,17,17,.07)}
.wd-steps li+li::before{content:'';position:absolute;right:calc(100% - 4px);left:calc(-100% + 80px);top:14px;height:30px;border-top:2px dashed #e6b8bd;border-radius:50%}
.wd-steps li:nth-child(2n+3)::before{top:48px;border-top:0;border-bottom:2px dashed #e6b8bd}
.wd-steps h3{margin-top:18px;color:var(--ink);font-size:17.5px;line-height:1.35}.wd-steps p{margin-top:6px;font-size:14.8px;line-height:1.65}
/* hỏi đáp: tiêu đề bên trái, danh sách kẻ mảnh bên phải */
.wd-faq{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:48px;align-items:start}
.wd-faq-hd{container-type:inline-size}.wd-sec .wd-faq-hd h2{font-size:clamp(22px,8.2cqw,36px)}.wd-faq-hd>p{margin-top:8px}.wd-faq-hd .wd-cta{margin-top:22px}
.wd-faq-hd .wd-cta .wd-btn{min-height:58px;padding:0 28px;font-size:17.5px;white-space:nowrap}
.wd-faq-hd .wd-btn.soft{background:var(--red);color:#fff;box-shadow:0 10px 22px rgba(225,30,49,.3)}.wd-faq-hd .wd-btn.soft:hover{background:var(--red-d)}
.wd-faq-hd .wd-btn.line{background:#0068ff;border-color:#0068ff;color:#fff;box-shadow:0 10px 22px rgba(0,104,255,.3)}.wd-faq-hd .wd-btn.line:hover{background:#0056d2;border-color:#0056d2;color:#fff}
.wd-faq-hd .wd-btn .ico{width:24px;height:24px}.wd-faq-hd .wd-btn.line rect{fill:#fff}.wd-faq-hd .wd-btn.line text{fill:#0068ff}
.wd-faq .faq{gap:0}
.wd-faq .faq details,.wd-faq .faq details:hover,.wd-faq .faq details[open]{border:0;border-bottom:1px solid #e0e0e0;border-radius:0;background:transparent;box-shadow:none}
.wd-faq .faq summary{padding:18px 8px 18px 40px;color:var(--ink);font-size:16.5px}
.wd-faq .faq summary::after,.wd-faq .faq details[open] summary::after{left:0;right:auto;background:transparent;color:var(--ink);font-size:26px;font-weight:400}
.wd-faq .faq details:first-child summary{padding-top:4px}
.wd-faq .faq-a{padding:0 8px 20px 40px;color:var(--mut)}
@media (max-width:1100px){
	.wd-why li{gap:11px;padding:12px}.wd-why i{width:38px;height:38px;border-radius:11px}.wd-why b{font-size:15px}.wd-why small{font-size:12.8px}
}
@media (max-width:980px){
	.wd-show,.wd-case,.wd-get,.wd-faq{grid-template-columns:minmax(0,1fr)}
	.wd-case{gap:28px;padding:26px}.wd-get{gap:30px;max-width:640px;margin:0 auto}.wd-faq{gap:24px}
	.wd-show{max-width:640px;margin-left:auto;margin-right:auto;gap:12px}.wd-why{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
	.wd-cards,.wd-price{grid-template-columns:minmax(0,1fr);max-width:480px;margin:0 auto;gap:18px}.wd-price .d{min-height:0}
	.wd-steps{grid-template-columns:minmax(0,1fr);gap:22px;max-width:520px;margin:0 auto}
	.wd-steps li{display:flex;align-items:center;gap:18px}.wd-steps .ic{flex:none;width:64px;height:64px;border-radius:18px}
	.wd-steps li+li::before,.wd-steps li:nth-child(2n+3)::before{left:32px;right:auto;top:-22px;width:0;height:22px;border:0;border-left:2px dashed #e6b8bd;border-radius:0}
	.wd-steps h3{margin:0}.wd-steps p{margin-top:2px;font-size:14.3px}
}
@media (max-width:900px){
	.wd-nav-in{flex-wrap:wrap;gap:0 10px;padding:8px 14px 6px;justify-content:space-between;min-height:0}.wd-brand{border:0;padding:0}.wd-tabs{order:3;flex:0 0 100%;margin-top:4px}.wd-tabs a{font-size:13.5px;padding:7px 10px}
	[id].wd-sec,#tong-quan{scroll-margin-top:100px}
}
@media (max-width:760px){
	.wd-w{padding:0 16px}.wd-sec{padding:32px 0}.wd-hd{margin-bottom:20px}.wd-sub{font-size:15px}
	.wd-hero{padding:42px 0 30px}.wd-hero h1{font-size:28px}.wd-hero h1 span{margin-top:8px;font-size:clamp(15px,5.6cqw,24px)}.wd-lead{font-size:15.5px}
	.wd-hero .wd-cta .wd-btn{flex:1 1 100%}.wd-show{margin-top:24px}
	.wd-stage{padding:14px 12px}.wd-device{padding:0 10px 14px 4px}.wd-screen{border-width:5px;border-bottom-width:7px;border-radius:10px 10px 4px 4px}.wd-base{height:7px;margin:0 -4px}
	.wd-phone{width:24%;border-width:3px;border-radius:14px}.wd-phone .wd-slide,.wd-phone.sm img{border-radius:11px}
	.wd-why li{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;padding:14px 12px}.wd-why i{width:40px;height:40px;border-radius:12px}.wd-why b{font-size:14.5px}.wd-why small{font-size:12.5px}
	.wd-ind{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;margin:0 -16px 20px;padding:2px 16px 8px;scrollbar-width:none}.wd-ind::-webkit-scrollbar{display:none}
	.wd-case{padding:16px 14px 24px;border-radius:20px}.wd-case-vis,.wd-get-vis{padding:0 12px 20px 0}.wd-bar em{display:none}.wd-phone.sm{width:27%}
	.wd-case-tx .wd-cta .wd-btn{flex:1 1 140px}
	.wd-get li{gap:14px}.wd-get li>i{width:46px;height:46px;border-radius:13px}.wd-get h3{font-size:17px}.wd-get li p{font-size:14.8px}
	.wd-price article{padding:24px 20px}.wd-sum{font-size:16px}.wd-sum strong{font-size:27px}
	.wd-faq-hd .wd-cta .wd-btn{flex:1 1 150px;min-height:54px;gap:7px;padding:0 8px;font-size:15.5px}.wd-faq-hd .wd-btn .ico{width:21px;height:21px}.wd-faq .faq summary{font-size:15px}
}
@media (max-width:360px){.wd-nav-in{padding-left:10px;padding-right:10px}.wd-brand .ico{display:none}.wd-brand b{font-size:13.5px}.wd-nav .wd-btn.sm{padding:0 11px;font-size:12.5px;min-height:36px}.wd-nav .wd-btn.sm i{display:none}}
@media (prefers-reduced-motion:reduce){.wd-case{animation:none}.wd-slide{transition:none}}
