/* ===========================================================
   WebSEO Visa24 - home.css  (style trang chủ, port từ demo)
   =========================================================== */
.webseo-page{
  --navy:#173a8f; --navy-d:#102a6b;
  --blue:#1f47a0; --orange:#f5821f; --orange-d:#e2710f;
  --red:#e23030; --txt:#2a2f3a; --muted:#5b6473; --line:#dfe6f3;
  font-family:'Segoe UI',Roboto,Arial,sans-serif;color:var(--txt);line-height:1.5;background:#fff;
}
.webseo-page *{margin:0;padding:0;box-sizing:border-box;}
.webseo-page img{display:block;max-width:100%;}
.webseo-page a{text-decoration:none;color:inherit;}
.webseo-page .wrap{max-width:1400px;margin:0 auto;padding:0 30px;}

/* ----- khung ảnh sửa được ----- */
.webseo-page .wse-img{position:relative;display:block;width:100%;height:100%;}
.webseo-page .wse-img img{width:100%;height:100%;object-fit:cover;display:block;}
/* Nút "Thay ảnh" chỉ hiện khi đang bật trình sửa (body.wse-editing).
   Mặc định luôn ẩn cho khách xem, kể cả khi chưa nạp editor.css. */
.wse-img-tool{display:none;}
.webseo-page .ph{background:linear-gradient(135deg,#dfe7f5,#eef3fb);position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center;color:#a9b6cf;font-size:13px;text-align:center;
  width:100%;height:100%;}
.webseo-page .ph i{font-size:30px;}

/* ===================== HEADER ===================== */
.wse-header{background:#fff;border-bottom:1px solid #eef0f4;}
.wse-header .hd{display:flex;align-items:center;justify-content:space-between;padding:14px 30px;max-width:1400px;margin:0 auto;}
.wse-header .logo{display:flex;align-items:center;gap:14px;}
.wse-header .logo .mark{width:74px;height:46px;display:flex;align-items:center;justify-content:center;}
.wse-header .logo .mark svg{width:74px;height:46px;}
.wse-header .logo .sep{width:2px;height:48px;background:#e2e6ee;}
.wse-header .logo .txt .brand{font-size:30px;font-weight:800;color:var(--navy);letter-spacing:.5px;line-height:1;}
.wse-header .logo .txt .sub{font-size:12px;color:#6b7280;margin-top:4px;letter-spacing:.3px;}
.wse-header nav ul{display:flex;list-style:none;gap:34px;}
.wse-header nav a{font-weight:700;font-size:15px;color:#243049;letter-spacing:.3px;}
.wse-header nav a:hover{color:var(--orange);}
.wse-header .hotline{display:flex;align-items:center;gap:12px;}
.wse-header .hotline .ic{width:46px;height:46px;border-radius:50%;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-size:22px;}
.wse-header .hotline .num{line-height:1.15;}
.wse-header .hotline .num .lbl{font-size:11px;color:#8a93a5;font-weight:600;letter-spacing:.5px;}
.wse-header .hotline .num .n{font-size:20px;font-weight:800;color:var(--orange);}

/* ===================== HERO ===================== */
.webseo-page .hero{background:linear-gradient(120deg,#dbe6fb 0%,#eef4fe 45%,#cfe0f7 100%);position:relative;overflow:hidden;}
.webseo-page .hero-inner{max-width:1400px;margin:0 auto;display:flex;min-height:430px;position:relative;}
.webseo-page .hero-left{width:50%;padding:48px 30px;z-index:3;}
.webseo-page .hero .script{font-family:'Brush Script MT','Segoe Script',cursive;font-size:34px;color:var(--navy);font-weight:600;margin-bottom:4px;}
.webseo-page .hero h1{font-size:54px;line-height:1.02;font-weight:800;color:var(--navy);letter-spacing:.5px;}
.webseo-page .hero h1 .badge{display:inline-block;background:var(--orange);color:#fff;font-size:26px;border-radius:8px;padding:4px 16px;vertical-align:middle;margin-left:10px;font-weight:800;}
.webseo-page .hero ul{list-style:none;margin:26px 0 30px;}
.webseo-page .hero ul li{display:flex;align-items:center;gap:11px;font-size:17px;font-weight:600;color:#23314f;margin-bottom:13px;}
.webseo-page .hero ul li i{color:var(--orange);width:22px;height:22px;border:2px solid var(--orange);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;}
.webseo-page .hero-btns{display:flex;gap:18px;}
.webseo-page .btn{display:inline-flex;align-items:center;justify-content:center;font-weight:800;border-radius:8px;cursor:pointer;letter-spacing:.4px;}
.webseo-page .btn-orange{background:var(--orange);color:#fff;padding:16px 30px;font-size:16px;}
.webseo-page .btn-orange:hover{background:var(--orange-d);}
.webseo-page .btn-outline{background:#fff;color:var(--navy);border:2px solid var(--navy);padding:14px 28px;font-size:16px;}
.webseo-page .hero-right{position:absolute;right:0;top:0;width:54%;height:100%;}

/* ===================== FEATURE BAR ===================== */
.webseo-page .featbar{background:linear-gradient(90deg,#173a8f,#15357d);}
.webseo-page .featbar-inner{max-width:1400px;margin:0 auto;display:flex;}
.webseo-page .featbar .item{flex:1;display:flex;align-items:center;gap:16px;padding:20px 26px;color:#fff;position:relative;}
.webseo-page .featbar .item:not(:last-child)::after{content:"";position:absolute;right:0;top:22%;height:56%;width:1px;background:rgba(255,255,255,.18);}
.webseo-page .featbar .item i{font-size:30px;opacity:.92;}
.webseo-page .featbar .item .t{font-size:15px;font-weight:800;line-height:1.25;letter-spacing:.4px;}

/* ===================== SECTION TITLES ===================== */
.webseo-page .sec{padding:46px 0;}
.webseo-page .sec-title{text-align:center;font-size:30px;font-weight:800;color:var(--navy);letter-spacing:.5px;line-height:1.2;}
.webseo-page .sec-title.two{margin-bottom:8px;}
.webseo-page .sec-sub{text-align:center;font-size:24px;font-weight:800;color:var(--navy);letter-spacing:.4px;margin-bottom:34px;}

/* ===================== PAIN POINTS ===================== */
.webseo-page .pain-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:16px;}
.webseo-page .pain-card{background:#fbfcff;border:1px solid #eef1f7;border-radius:14px;padding:24px 14px 20px;text-align:center;box-shadow:0 6px 18px rgba(20,40,90,.04);}
.webseo-page .pain-ic{width:54px;height:54px;margin:0 auto 16px;border-radius:50%;background:radial-gradient(circle at 50% 40%,#ffe1e1,#fff0);display:flex;align-items:center;justify-content:center;color:var(--red);font-size:26px;}
.webseo-page .pain-card p{font-size:13px;color:#3a4456;font-weight:600;line-height:1.4;}
.webseo-page .warn{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:30px;}
.webseo-page .warn .wic{width:40px;height:40px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;flex:none;}
.webseo-page .warn .wt{font-size:18px;font-weight:800;color:var(--red);letter-spacing:.3px;}
.webseo-page .warn .btn-mini{background:var(--orange);color:#fff;font-size:12px;font-weight:800;padding:10px 18px;border-radius:7px;letter-spacing:.4px;text-transform:uppercase;cursor:pointer;}

/* ===================== WHAT IS / TABLE ===================== */
.webseo-page .whatis{display:grid;grid-template-columns:0.92fr 1.45fr;gap:46px;align-items:start;}
.webseo-page .whatis .left{display:flex;gap:24px;}
.webseo-page .whatis .passimg{width:170px;flex:none;aspect-ratio:170/235;border-radius:12px;overflow:hidden;box-shadow:0 10px 26px rgba(20,40,90,.12);}
.webseo-page .whatis .passimg .wse-img,.webseo-page .whatis .passimg .ph{border-radius:12px;}
.webseo-page .whatis h3{font-size:26px;font-weight:800;color:var(--navy);margin-bottom:14px;letter-spacing:.4px;}
.webseo-page .whatis .desc{font-size:15px;color:#4b5566;margin-bottom:16px;line-height:1.65;}
.webseo-page .whatis ul{list-style:none;}
.webseo-page .whatis ul li{display:flex;gap:11px;font-size:14.5px;color:#3a4456;margin-bottom:11px;line-height:1.5;align-items:flex-start;}
.webseo-page .whatis ul li i{color:var(--orange);font-size:15px;margin-top:2px;flex:none;}
.webseo-page .tbl-title{text-align:center;font-size:23px;font-weight:800;color:var(--navy);margin-bottom:18px;letter-spacing:.4px;}
.webseo-page table.cmp{width:100%;border-collapse:collapse;font-size:13.5px;border:1px solid #d7dff0;border-radius:10px;overflow:hidden;}
.webseo-page table.cmp thead th{background:linear-gradient(90deg,#1d3f90,#1a3a83);color:#fff;font-weight:800;padding:14px 12px;font-size:13px;letter-spacing:.4px;}
.webseo-page table.cmp tbody td{border:1px solid #e3e9f4;padding:13px 14px;vertical-align:middle;text-align:center;color:#41495a;line-height:1.45;}
.webseo-page table.cmp tbody td:first-child{font-weight:800;color:var(--navy);background:#f5f8fd;text-align:center;width:18%;}
.webseo-page table.cmp tbody tr:nth-child(even) td:not(:first-child){background:#fafcff;}
.webseo-page .note-strip{display:flex;align-items:center;gap:12px;background:#eaf1fd;border-radius:10px;padding:14px 22px;margin-top:30px;font-size:14.5px;color:#33405c;font-weight:600;}
.webseo-page .note-strip i{color:var(--blue);font-size:18px;}

/* ===================== WHO ===================== */
.webseo-page .who-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;}
.webseo-page .who-box{border-radius:16px;overflow:hidden;display:flex;background:#f4f8fe;border:1px solid #e6edf8;box-shadow:0 8px 22px rgba(20,40,90,.05);}
.webseo-page .who-box .img{width:170px;flex:none;}
.webseo-page .who-box .body{flex:1;}
.webseo-page .who-head{padding:14px 24px;font-size:17px;font-weight:800;color:#fff;letter-spacing:.3px;}
.webseo-page .who-head.s1{background:linear-gradient(90deg,#1d3f90,#244aa0);}
.webseo-page .who-head.s2{background:linear-gradient(90deg,#f5821f,#f59324);}
.webseo-page .who-list{list-style:none;padding:18px 24px 22px;}
.webseo-page .who-list li{display:flex;gap:10px;font-size:14.5px;color:#3a4456;margin-bottom:13px;line-height:1.5;align-items:flex-start;}
.webseo-page .who-list li i{color:var(--orange);font-size:13px;margin-top:4px;flex:none;}
.webseo-page .who-box.s2 .img{order:2;}

/* ===================== BASIC DOCS 7 CARDS ===================== */
.webseo-page .docs7{display:grid;grid-template-columns:repeat(7,1fr);gap:14px;}
.webseo-page .doc-card{background:#fbfdff;border:1px solid #eaf0fa;border-radius:14px;padding:22px 12px 0;text-align:center;box-shadow:0 6px 16px rgba(20,40,90,.04);display:flex;flex-direction:column;}
.webseo-page .doc-num{width:34px;height:34px;margin:0 auto 10px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;}
.webseo-page .doc-card h4{font-size:15px;font-weight:800;color:var(--navy);line-height:1.2;margin-bottom:9px;min-height:38px;display:flex;align-items:center;justify-content:center;}
.webseo-page .doc-card p{font-size:12.5px;color:#566076;line-height:1.45;margin-bottom:14px;flex:1;}
.webseo-page .doc-card .imgph{margin:0 -12px;aspect-ratio:1/0.8;overflow:hidden;border-radius:0 0 14px 14px;}
.webseo-page .doc-card .imgph .wse-img,.webseo-page .doc-card .imgph .ph{border-radius:0 0 14px 14px;}

/* ===================== DETAIL S1/S2 ===================== */
.webseo-page .detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:stretch;}
.webseo-page .detail-box{border-radius:16px;overflow:hidden;display:flex;background:#f5f8fe;border:1px solid #e6edf8;box-shadow:0 8px 22px rgba(20,40,90,.05);}
.webseo-page .detail-box .side{width:140px;flex:none;}
.webseo-page .detail-box .main{flex:1;display:flex;flex-direction:column;}
.webseo-page .detail-head{text-align:center;padding:14px 20px;color:#fff;font-weight:800;line-height:1.25;}
.webseo-page .detail-head .a{font-size:17px;letter-spacing:.3px;}
.webseo-page .detail-head .b{font-size:14px;}
.webseo-page .detail-head.s1{background:linear-gradient(90deg,#1d3f90,#244aa0);}
.webseo-page .detail-head.s2{background:linear-gradient(90deg,#f5821f,#f59324);}
.webseo-page .detail-list{padding:18px 22px 20px;list-style:none;}
.webseo-page .detail-list li{display:flex;gap:14px;margin-bottom:14px;}
.webseo-page .detail-list li .di{width:38px;height:38px;border-radius:9px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;flex:none;}
.webseo-page .detail-box.s1 .di{background:var(--navy);}
.webseo-page .detail-box.s2 .di{background:var(--orange);}
.webseo-page .detail-list li .dt b{display:block;font-size:14.5px;margin-bottom:3px;}
.webseo-page .detail-box.s1 .dt b{color:var(--navy);}
.webseo-page .detail-box.s2 .dt b{color:var(--orange);}
.webseo-page .detail-list li .dt span{font-size:13px;color:#566076;line-height:1.45;display:block;}
.webseo-page .detail-box.s2 .side{order:2;}

/* ===================== COMMON ERRORS ===================== */
.webseo-page .errors{background:#eef3fc;border-radius:16px;padding:32px 26px 26px;position:relative;}
.webseo-page .err-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:14px;}
.webseo-page .err-card{text-align:center;}
.webseo-page .err-ic{width:50px;height:50px;margin:0 auto 12px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:var(--navy);font-size:22px;box-shadow:0 4px 12px rgba(20,40,90,.06);}
.webseo-page .err-card p{font-size:12px;color:#54607a;line-height:1.4;}
.webseo-page .err-bear{position:absolute;right:10px;bottom:10px;width:56px;height:56px;border-radius:50%;background:#d9c3a0;display:flex;align-items:center;justify-content:center;color:#8a6d44;font-size:26px;}

/* ===================== FAQ ===================== */
.webseo-page .faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 26px;}
.webseo-page .faq-item{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e6ecf7;border-radius:10px;padding:15px 20px;font-size:14.5px;font-weight:600;color:#2c3650;box-shadow:0 3px 9px rgba(20,40,90,.03);}
.webseo-page .faq-item .pl{color:var(--blue);font-size:20px;font-weight:700;}

/* ===================== PROCESS + CTA ===================== */
.webseo-page .proc-cta{display:grid;grid-template-columns:1.05fr 1fr;gap:30px;align-items:stretch;}
.webseo-page .proc{padding-right:10px;}
.webseo-page .proc-title{font-size:24px;font-weight:800;color:var(--navy);margin-bottom:34px;letter-spacing:.3px;}
.webseo-page .steps{display:flex;justify-content:space-between;position:relative;}
.webseo-page .steps::before{content:"";position:absolute;top:24px;left:6%;right:6%;height:2px;background:#cdd7ea;z-index:0;}
.webseo-page .step{text-align:center;width:18%;position:relative;z-index:1;}
.webseo-page .step .circle{width:48px;height:48px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;font-size:17px;display:flex;align-items:center;justify-content:center;margin:0 auto 14px;border:4px solid #eaf0fb;}
.webseo-page .step h5{font-size:13.5px;font-weight:800;color:var(--navy);line-height:1.25;margin-bottom:7px;}
.webseo-page .step p{font-size:11px;color:#7c879c;line-height:1.4;}
.webseo-page .cta-box{background:linear-gradient(135deg,#1d3f90,#15347b);border-radius:16px;padding:26px;color:#fff;}
.webseo-page .cta-box h3{text-align:center;font-size:21px;font-weight:800;letter-spacing:.3px;text-decoration:underline;text-underline-offset:5px;margin-bottom:10px;}
.webseo-page .cta-box .lead{text-align:center;font-size:13.5px;line-height:1.5;color:#dbe4f7;margin-bottom:20px;}
.webseo-page .cta-mini{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.webseo-page .mini{background:#fff;border-radius:12px;padding:16px 8px;text-align:center;color:var(--navy);}
.webseo-page .mini.hl{background:var(--orange);color:#fff;}
.webseo-page .mini .mi{font-size:26px;margin-bottom:10px;}
.webseo-page .mini p{font-size:11px;font-weight:800;line-height:1.3;letter-spacing:.2px;}

/* ===================== FOOTER ===================== */
.wse-footer{background:linear-gradient(90deg,#173a8f,#16357d);color:#fff;position:relative;overflow:hidden;}
.wse-footer .ft-inner{max-width:1400px;margin:0 auto;display:flex;align-items:center;gap:50px;padding:30px;position:relative;z-index:2;}
.wse-footer .ft-msg{text-align:center;flex:1;position:relative;z-index:2;}
.wse-footer .ft-msg h2{font-size:26px;font-weight:800;letter-spacing:.4px;margin-bottom:14px;}
.wse-footer .ft-logo{flex:none;text-align:left;}
.wse-footer .ft-logo .brand{font-size:30px;font-weight:800;letter-spacing:1px;}
.wse-footer .ft-logo .brand .go{color:var(--orange,#f5821f);}
.wse-footer .ft-logo .v24{font-size:30px;font-weight:800;margin-top:4px;}
.wse-footer .ft-logo .tag{font-size:12px;color:#cdd8ef;margin-top:6px;}
.wse-footer .ft-contact{display:inline-block;text-align:left;}
.wse-footer .ft-contact .row{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:600;margin-bottom:13px;}
.wse-footer .ft-contact .row i{width:22px;color:#fff;font-size:16px;}
.wse-footer .ft-btns{flex:none;display:flex;flex-direction:column;gap:14px;}
.wse-footer .ft-btn{background:#f5821f;color:#fff;border-radius:9px;padding:13px 26px;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:280px;line-height:1.2;text-align:left;cursor:pointer;}
.wse-footer .ft-btn:hover{background:#e2710f;}
.wse-footer .ft-btn .arr{width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.25);display:flex;align-items:center;justify-content:center;flex:none;}
.wse-footer .ft-temple{position:absolute;right:0;top:0;height:100%;width:340px;z-index:1;}
.wse-footer .ft-temple .wse-img .ph,.wse-footer .ft-temple .ph{background:linear-gradient(120deg,#2a4a9a,#3a5fb0);color:#cdd8ef;}

/* ===================== RESPONSIVE (gọn) ===================== */
@media (max-width:1024px){
  .webseo-page .pain-grid{grid-template-columns:repeat(4,1fr);}
  .webseo-page .docs7,.webseo-page .err-grid{grid-template-columns:repeat(4,1fr);}
  .webseo-page .whatis,.webseo-page .who-grid,.webseo-page .detail-grid,.webseo-page .proc-cta,.webseo-page .faq-grid{grid-template-columns:1fr;}
  .webseo-page .hero-inner{flex-direction:column;}
  .webseo-page .hero-left{width:100%;}
  .webseo-page .hero-right{position:relative;width:100%;height:300px;}
  .wse-footer .ft-inner{flex-wrap:wrap;}
}
@media (max-width:640px){
  .wse-header .hd{flex-wrap:wrap;gap:10px;}
  .wse-header nav{display:none;}
  .webseo-page .featbar-inner{flex-wrap:wrap;}
  .webseo-page .featbar .item{flex:1 0 50%;}
  .webseo-page .pain-grid,.webseo-page .docs7,.webseo-page .err-grid,.webseo-page .cta-mini{grid-template-columns:repeat(2,1fr);}
  .webseo-page .hero h1{font-size:38px;}
  .webseo-page .sec-title{font-size:22px;}
  .webseo-page .steps{flex-wrap:wrap;gap:18px;}
  .webseo-page .step{width:46%;}
  .webseo-page .warn{flex-direction:column;text-align:center;}
}

/* ===========================================================
   HOME TỔNG (front-page mới) — các lớp .hm-*
   =========================================================== */
.webseo-page.hm{background:#fff;}
.webseo-page.hm .sec{padding:40px 0;}
.hm-sectit{text-align:center;font-size:26px;font-weight:800;color:var(--navy);letter-spacing:.4px;margin-bottom:26px;}
.hm-sectit.sm{font-size:20px;margin-bottom:18px;}
.hm-orange{color:var(--orange);}

/* ---- HEADER ---- */
.hm-header{background:#fff;border-bottom:1px solid #eef0f4;position:sticky;top:0;z-index:60;box-shadow:0 2px 12px rgba(20,40,90,.05);}
.hm-header .wrap{max-width:1400px;margin:0 auto;display:flex;align-items:center;gap:22px;padding:10px 30px;}
.hm-logo{display:flex;align-items:center;gap:12px;}
.hm-logo-img{max-height:56px;width:auto;display:block;}
.hm-mark svg{width:60px;height:38px;}
.hm-logo-txt b{display:block;color:var(--navy);font-size:17px;font-weight:800;line-height:1.1;}
.hm-logo-txt small{color:#6b7280;font-size:11.5px;}
.hm-nav{margin-left:auto;}
.hm-nav > ul{display:flex;gap:16px;list-style:none;align-items:center;}
.hm-nav li{position:relative;list-style:none;}
.hm-nav a{display:block;font-size:12.5px;font-weight:700;color:#23304a;text-transform:uppercase;letter-spacing:.2px;white-space:nowrap;}
.hm-nav a:hover{color:var(--orange);}
/* Mục có menu con: mũi tên nhỏ */
.hm-nav .menu-item-has-children > a::after,.hm-nav .page_item_has_children > a::after{content:"\f107";font-family:"Font Awesome 6 Free";font-weight:900;font-size:10px;margin-left:5px;opacity:.7;}
/* Dropdown menu con */
.hm-nav ul ul{position:absolute;top:100%;left:0;min-width:216px;background:#fff;list-style:none;margin:0;padding:8px 0;
	border-radius:10px;box-shadow:0 14px 34px rgba(15,29,63,.16);border:1px solid #eef0f4;
	opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s;z-index:80;}
.hm-nav li:hover > ul{opacity:1;visibility:visible;transform:translateY(0);}
.hm-nav ul ul li{width:100%;}
.hm-nav ul ul a{padding:10px 18px;font-size:12.5px;text-transform:none;letter-spacing:0;color:#33415a;white-space:normal;}
.hm-nav ul ul a:hover{background:#f5f8ff;color:var(--orange);}
/* Menu con cấp 3 (nếu có): xổ sang phải */
.hm-nav ul ul ul{top:0;left:100%;}
.hm-hotline{display:flex;align-items:center;gap:10px;border:2px solid #e6ecf7;border-radius:30px;padding:6px 16px;}
.hm-hotline i{color:var(--orange);font-size:22px;}
.hm-hotline .num{line-height:1.15;}
.hm-hotline .n{display:block;font-size:18px;font-weight:800;color:var(--orange);}
.hm-hotline small{color:#8a93a5;font-size:10.5px;font-weight:600;}

/* ---- HERO ---- */
/* HERO: nền sáng bên trái + ảnh thật bên phải, đường cong trắng phân tách (giống thiết kế gốc) */
.hm-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#eaf1fc 0%,#f4f8fe 46%,#dbe8fb 100%);}
/* Ảnh nằm nửa phải */
.hm-hero-photo{position:absolute;inset:0;width:100%;height:100%;z-index:1;}
.hm-hero-photo .wse-img,.hm-hero-photo .wse-img img,.hm-hero-photo .ph{width:100%;height:100%;object-fit:cover;object-position:right center;display:block;}
/* Lớp phủ sáng: đục bên trái → trong suốt bên phải. ::after để luôn trên <img>. */
.hm-hero::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
	background:linear-gradient(90deg,
		#eef3fc 0%,
		rgba(238,243,252,.98) 26%,
		rgba(238,243,252,.90) 38%,
		rgba(238,243,252,.62) 50%,
		rgba(238,243,252,.30) 62%,
		rgba(238,243,252,.08) 74%,
		rgba(238,243,252,0) 86%);}
.hm-hero-curve{display:none;}
.hm-hero-inner{display:flex;min-height:480px;position:relative;z-index:3;align-items:center;}
.hm-hero-left{width:56%;padding:46px 30px;}
.hm-hero .eyebrow{font-size:20px;font-weight:700;color:var(--navy);letter-spacing:1px;}
.hm-hero h1{font-size:56px;font-weight:800;color:var(--navy);line-height:1.02;letter-spacing:.5px;margin:4px 0 8px;}
.hm-sub{font-size:18px;font-weight:800;color:var(--navy);margin-bottom:20px;}
.hm-hero-ul{list-style:none;margin:0 0 24px;}
.hm-hero-ul li{display:flex;align-items:center;gap:11px;font-size:15.5px;font-weight:600;color:#23314f;margin-bottom:11px;}
.hm-hero-ul li i{color:var(--navy);font-size:17px;}
.hm-hero-btns{display:flex;flex-direction:column;gap:12px;align-items:flex-start;}
.hm-btn-orange{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--orange);color:#fff;font-weight:800;padding:14px 26px;border-radius:8px;cursor:pointer;letter-spacing:.3px;font-size:14.5px;}
.hm-btn-orange:hover{background:var(--orange-d);}
.hm-btn-orange.sm{padding:11px 18px;font-size:12.5px;}
.hm-btn-call{display:inline-flex;align-items:center;gap:9px;border:2px solid var(--navy);color:var(--navy);background:#fff;font-weight:800;padding:11px 22px;border-radius:8px;font-size:14.5px;}

/* ---- FEATURE BAR ---- */
.hm-featbar{background:linear-gradient(90deg,#173a8f,#15357d);}
.hm-featbar-inner{display:flex;}
.hm-featbar .item{flex:1;display:flex;align-items:center;gap:13px;padding:18px 22px;color:#fff;position:relative;}
.hm-featbar .item:not(:last-child)::after{content:"";position:absolute;right:0;top:24%;height:52%;width:1px;background:rgba(255,255,255,.18);}
.hm-featbar .item i{font-size:26px;}
.hm-featbar .t b{display:block;font-size:13.5px;font-weight:800;}
.hm-featbar .t span{font-size:12.5px;color:#ffb066;font-weight:700;}

/* ---- PAIN + HELP ---- */
.hm-help-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;}
.hm-coltit{font-size:21px;font-weight:800;color:var(--navy);text-align:center;line-height:1.3;margin-bottom:20px;}
.hm-coltit.red{color:var(--navy);}
.hm-coltit.red br + *{}
.hm-help-left .hm-coltit{color:var(--navy);}
.hm-help-left .hm-coltit{color:#173a8f;}
.hm-pain-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.hm-pain{background:#fbfcff;border:1px solid #eef1f7;border-radius:12px;padding:18px 10px;text-align:center;box-shadow:0 6px 16px rgba(20,40,90,.04);}
.hm-pain i{color:var(--red);font-size:24px;margin-bottom:10px;display:block;}
.hm-pain p{font-size:12px;color:#3a4456;font-weight:600;line-height:1.4;}
.hm-help-right .hm-coltit{text-align:left;}
.hm-help-top{display:flex;gap:18px;align-items:flex-start;}
.hm-help-list{list-style:none;margin:0;}
.hm-help-list li{display:flex;gap:10px;font-size:14px;color:#33405c;margin-bottom:12px;align-items:flex-start;line-height:1.45;}
.hm-help-list li i{color:var(--navy);margin-top:3px;}
.hm-help-img{width:230px;flex:none;align-self:stretch;border-radius:14px;overflow:hidden;min-height:240px;}
.hm-help-btns{display:flex;gap:14px;margin-top:18px;}
.hm-help-btns .hm-btn-orange{flex:1;text-align:center;line-height:1.25;}

/* ---- SERVICES ---- */
.hm-services{background:#f6f9fe;}
.hm-svc-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;}
.hm-svc{background:#fff;border:1px solid #e7eefb;border-radius:13px;overflow:hidden;box-shadow:0 8px 20px rgba(20,40,90,.05);display:flex;flex-direction:column;}
.hm-svc-thumb{position:relative;aspect-ratio:16/10;background:linear-gradient(135deg,#dfe7f5,#eef3fb);}
.hm-svc-num{position:absolute;left:8px;bottom:-13px;width:26px;height:26px;border-radius:50%;background:var(--orange);color:#fff;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;border:2px solid #fff;z-index:2;}
.hm-svc-body{padding:18px 10px 14px;text-align:center;display:flex;flex-direction:column;flex:1;}
.hm-svc-title{font-size:13.5px;color:var(--navy);line-height:1.3;flex:1;}
.hm-svc-title b{font-weight:800;}
.hm-svc-btn{display:inline-block;margin-top:12px;background:var(--orange);color:#fff;font-weight:800;font-size:11px;padding:7px 14px;border-radius:6px;letter-spacing:.3px;align-self:center;cursor:pointer;}

/* ---- PROCESS ---- */
.hm-proc{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;}
.hm-step{flex:1;text-align:center;max-width:18%;}
.hm-step .ic{width:74px;height:74px;border-radius:50%;border:3px solid var(--navy);color:var(--navy);display:flex;align-items:center;justify-content:center;font-size:30px;margin:0 auto 14px;}
.hm-step h5{font-size:13px;font-weight:800;color:var(--navy);margin-bottom:7px;letter-spacing:.2px;}
.hm-step p{font-size:11.5px;color:#5a6577;line-height:1.45;}
.hm-arrow{color:var(--orange);font-size:20px;padding-top:24px;flex:none;}

/* ---- WHY + COMMIT ---- */
.hm-why-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:24px;align-items:stretch;}
.hm-why-box{border:1px solid #e7eefb;border-radius:16px;padding:24px;background:#fff;box-shadow:0 10px 24px rgba(20,40,90,.05);}
.hm-why-grid6{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;}
.hm-why{text-align:center;padding:6px 4px;}
.hm-why i{color:var(--navy);font-size:30px;}
.hm-why b{display:block;font-size:12.5px;color:var(--navy);font-weight:800;margin-top:8px;line-height:1.2;}
.hm-why span{display:block;font-size:12.5px;color:var(--navy);font-weight:800;line-height:1.2;}
.hm-why small{display:block;font-size:11px;color:#7c879c;margin-top:5px;line-height:1.3;}
.hm-commit{background:linear-gradient(135deg,#1d3f90,#15347b);border-radius:16px;padding:24px 26px;color:#fff;position:relative;overflow:hidden;}
.hm-commit-tag{background:var(--orange);color:#fff;font-weight:800;font-size:16px;padding:8px 18px;border-radius:8px;display:inline-block;margin-bottom:16px;letter-spacing:.3px;}
.hm-commit ul{list-style:none;margin:0;position:relative;z-index:2;}
.hm-commit li{display:flex;gap:10px;font-size:14px;color:#eaf1ff;margin-bottom:12px;align-items:flex-start;line-height:1.45;}
.hm-commit li i{color:#7fb0ff;margin-top:3px;}
.hm-commit-shield{position:absolute;right:18px;bottom:14px;font-size:96px;color:rgba(255,255,255,.10);z-index:1;}

/* ---- CTA BAR ---- */
.hm-ctabar{background:linear-gradient(90deg,#173a8f,#1f47a0);border-radius:16px;display:flex;align-items:center;gap:24px;padding:20px 28px;position:relative;overflow:hidden;}
.hm-ctabar-img{width:120px;height:120px;flex:none;border-radius:12px;overflow:hidden;align-self:center;}
.hm-ctabar-mid{flex:1;color:#fff;}
.hm-ctabar-mid h3{font-size:20px;font-weight:800;margin-bottom:8px;}
.hm-ctabar-phone{font-size:30px;font-weight:800;color:var(--orange);letter-spacing:.5px;}
.hm-ctabar-phone i{font-size:24px;vertical-align:middle;}
.hm-ctabar-sub{color:#cfddf3;font-size:13.5px;margin-top:4px;}
.hm-ctabar .hm-btn-orange{white-space:nowrap;}

/* ---- FAQ ---- */
.hm-faq-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.hm-faq-item{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e6ecf7;border-radius:10px;padding:13px 14px;font-size:13px;font-weight:600;color:#2c3650;box-shadow:0 3px 9px rgba(20,40,90,.03);}
.hm-faq-item > i{color:var(--navy);font-size:15px;flex:none;}
.hm-faq-item span[data-wse]{flex:1;}
.hm-faq-item .pl{color:var(--blue);font-size:18px;font-weight:700;flex:none;}

/* ---- FOOTER ---- */
.hm-footer{background:#fff;padding-top:30px;}
.hm-foot-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:1fr 1.1fr 0.8fr;gap:24px;align-items:center;border-top:1px solid #eef0f4;padding-top:26px;}
.hm-foot-check{background:linear-gradient(135deg,#1d3f90,#15347b);border-radius:16px;padding:26px;color:#fff;text-align:center;}
.hm-foot-check h3{font-size:20px;font-weight:800;line-height:1.25;margin-bottom:12px;}
.hm-foot-check p{font-size:13px;color:#cfddf3;line-height:1.55;margin-bottom:16px;}
.hm-foot-contact .row{display:flex;align-items:center;gap:13px;font-size:15px;color:#2c3650;margin-bottom:16px;}
.hm-foot-contact .row i{width:34px;height:34px;border-radius:50%;background:#eef3fc;color:var(--navy);display:flex;align-items:center;justify-content:center;font-size:15px;flex:none;}
.hm-foot-contact .lb{font-weight:700;color:var(--navy);}
.hm-foot-img{height:170px;border-radius:14px;overflow:hidden;}
.hm-foot-bottom{text-align:center;color:#7c879c;font-size:12.5px;padding:18px 0 22px;margin-top:22px;border-top:1px solid #f0f2f6;}

/* ---- RESPONSIVE HOME ---- */
@media(max-width:1100px){
  .hm-svc-grid{grid-template-columns:repeat(3,1fr);}
  .hm-faq-grid{grid-template-columns:repeat(2,1fr);}
  .hm-why-grid6{grid-template-columns:repeat(3,1fr);}
}
@media(max-width:1024px){
  .hm-help-grid,.hm-why-grid{grid-template-columns:1fr;}
  .hm-hero-inner{flex-direction:column;}
  .hm-hero-left{width:100%;}
  /* Mobile: ảnh xuống dưới, tắt đường cong */
  .hm-hero-photo{position:relative;width:100%;height:260px;}
  .hm-hero::after{display:none;}
  .hm-hero-inner{min-height:0;}
  .hm-foot-grid{grid-template-columns:1fr;}
  .hm-proc{flex-wrap:wrap;justify-content:center;gap:16px;}
  .hm-step{max-width:45%;}
  .hm-arrow{display:none;}
}
@media(max-width:760px){
  .hm-featbar-inner{flex-wrap:wrap;}
  .hm-featbar .item{flex:1 0 50%;}
  .hm-pain-grid,.hm-svc-grid,.hm-faq-grid,.hm-why-grid6{grid-template-columns:repeat(2,1fr);}
  .hm-help-top{flex-direction:column;}
  .hm-help-img{width:100%;min-height:200px;}
  .hm-hero h1{font-size:40px;}
  .hm-ctabar{flex-direction:column;text-align:center;}
}

/* ---- Hero trang chủ responsive: ảnh chồng dọc trên mobile ---- */
@media (max-width:860px){
  .hm-hero-left{width:100%;}
  .hm-hero-inner{min-height:0;}
}
@media (max-width:600px){
  .hm-hero h1{font-size:38px;}
  .hm-hero-left{padding:38px 20px;}
}

/* =====================================================================
 * MOBILE: hamburger + drawer menu + FAB gọi điện (tối ưu mobile)
 * ===================================================================== */

/* --- Nút hamburger (ẩn ở desktop) --- */
.hm-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;
	border:0;background:transparent;cursor:pointer;padding:0;margin-left:auto;flex:0 0 auto;}
.hm-burger span{display:block;width:26px;height:3px;border-radius:3px;background:var(--navy);margin:0 auto;
	transition:transform .25s ease,opacity .2s ease;}
.hm-burger.is-active span:nth-child(1){transform:translateY(8px) rotate(45deg);}
.hm-burger.is-active span:nth-child(2){opacity:0;}
.hm-burger.is-active span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

/* --- Lớp phủ nền khi mở drawer --- */
.hm-nav-overlay{position:fixed;inset:0;background:rgba(10,20,45,.5);opacity:0;visibility:hidden;
	transition:opacity .25s ease,visibility .25s ease;z-index:9000;}
body.hm-nav-open .hm-nav-overlay{opacity:1;visibility:visible;}
/* Khoá cuộn nền khi mở menu + chặn cuộn ngang trên mobile */
body.hm-nav-open{overflow:hidden;}

/* --- FAB: nút gọi điện cố định góc phải màn hình --- */
.wse-fab{position:fixed;right:16px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:9500;display:flex;flex-direction:column;gap:12px;align-items:center;}
.wse-fab-btn{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
	width:58px;height:58px;border-radius:50%;text-decoration:none;color:#fff;box-shadow:0 8px 22px rgba(0,0,0,.28);}
.wse-fab-btn.call{background:linear-gradient(135deg,#f5821f,#e2670a);}
.wse-fab-btn.call i{font-size:22px;line-height:1;}
.wse-fab-label{font-size:8.5px;font-weight:800;letter-spacing:.2px;margin-top:1px;text-transform:uppercase;}
.wse-fab-btn.zalo{background:#0068ff;}
.wse-fab-zalo-txt{font-size:14px;font-weight:900;font-style:italic;}
/* Vòng sóng nhấp nháy quanh nút gọi */
.wse-fab-ring{position:absolute;inset:0;border-radius:50%;border:2px solid rgba(245,130,31,.55);
	animation:wseFabPulse 1.8s ease-out infinite;}
@keyframes wseFabPulse{0%{transform:scale(1);opacity:.9;}70%{transform:scale(1.55);opacity:0;}100%{opacity:0;}}
/* Mặc định (desktop) ẩn FAB — chỉ hiện ở mobile/tablet. */
.wse-fab{display:none;}

/* =====================================================================
 * BREAKPOINT: <= 900px  → bật menu mobile + FAB
 * ===================================================================== */
@media (max-width:900px){
	.hm-burger{display:flex;}
	.wse-fab{display:flex;}
	body.hm-nav-open .wse-fab{display:none;}
	/* Chặn cuộn ngang do drawer nằm ngoài màn hình */
	html,body{overflow-x:hidden;}

	/* Header gọn: logo trái, hamburger phải; ẩn hotline chữ (đã có FAB gọi) */
	.hm-header .wrap{gap:12px;padding:10px 16px;}
	.hm-logo-img{max-height:44px;}
	.hm-logo-txt b{font-size:14px;}
	.hm-logo-txt small{display:none;}
	.hm-hotline{display:none;}

	/* Drawer: trượt từ phải vào */
	.hm-nav{position:fixed;top:0;right:0;height:100%;width:82%;max-width:330px;margin:0;
		background:#fff;box-shadow:-10px 0 40px rgba(10,20,45,.22);z-index:9200;
		transform:translateX(100%);transition:transform .28s ease;overflow-y:auto;
		padding:72px 0 24px;}
	/* Header là stacking context (sticky z-index:60) nên phải nâng lên khi mở menu
	   để drawer (con của header) nổi TRÊN lớp phủ, click được vào menu */
	body.hm-nav-open .hm-header{z-index:9300;}
	.hm-burger{position:relative;z-index:9400;}
	body.hm-nav-open .hm-nav{transform:translateX(0);}
	.hm-nav > ul{flex-direction:column;gap:0;align-items:stretch;}
	.hm-nav li{border-bottom:1px solid #eef0f4;}
	.hm-nav a{display:block;padding:15px 22px;font-size:14px;color:var(--navy);white-space:normal;}
	.hm-nav a:hover{background:#f5f8ff;color:var(--orange);}
	.hm-nav .current-menu-item > a,.hm-nav .current_page_item > a{color:var(--orange);}
	/* Menu con trên mobile: xổ dọc, thụt lề, luôn hiện */
	.hm-nav ul ul{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;
		border-radius:0;padding:0;min-width:0;background:#f7f9fd;}
	.hm-nav ul ul a{padding:12px 22px 12px 38px;font-size:13.5px;color:#42506b;}
	.hm-nav .menu-item-has-children > a::after,.hm-nav .page_item_has_children > a::after{float:right;opacity:.5;}
}

/* Màn nhỏ hơn (điện thoại) */
@media (max-width:600px){
	.hm-logo-txt b{font-size:13px;}
	.wse-fab-btn{width:54px;height:54px;}
	.wse-fab-btn.call i{font-size:20px;}
}

/* =====================================================================
 * MODAL FORM TƯ VẤN (dùng chung mọi trang)
 * ===================================================================== */
body.wse-lead-lock{overflow:hidden;}
.wse-lead-modal{position:fixed;inset:0;z-index:10000;display:none;align-items:flex-start;justify-content:center;padding:24px 16px;}
.wse-lead-modal.is-open{display:flex;}
.wse-lead-backdrop{position:fixed;inset:0;background:rgba(9,18,42,.62);backdrop-filter:blur(2px);}
.wse-lead-dialog{position:relative;z-index:2;width:100%;max-width:460px;background:#fff;border-radius:18px;
	box-shadow:0 30px 80px rgba(9,18,42,.4);overflow:hidden;margin:auto;animation:wseLeadIn .28s cubic-bezier(.2,.8,.3,1);}
@keyframes wseLeadIn{from{opacity:0;transform:translateY(24px) scale(.97);}to{opacity:1;transform:none;}}
.wse-lead-x{position:absolute;top:12px;right:14px;z-index:3;width:34px;height:34px;border:0;border-radius:50%;
	background:rgba(255,255,255,.18);color:#fff;font-size:24px;line-height:1;cursor:pointer;transition:.15s;}
.wse-lead-x:hover{background:rgba(255,255,255,.32);transform:rotate(90deg);}
.wse-lead-head{background:linear-gradient(120deg,#0f2657,#1d47a0);color:#fff;padding:24px 26px 20px;}
.wse-lead-eyebrow{font-size:12px;font-weight:800;letter-spacing:1.5px;opacity:.85;}
.wse-lead-head h3{margin:6px 0 8px;font-size:23px;font-weight:900;line-height:1.15;color:#fff;}
.wse-lead-head p{margin:0;font-size:13.5px;line-height:1.5;opacity:.92;}
.wse-lead-form{padding:20px 26px 24px;}
.wse-lead-row{margin-bottom:13px;}
.wse-lead-row label{display:block;font-size:13px;font-weight:700;color:#26324c;margin-bottom:5px;}
.wse-lead-row label span{color:#e0431f;}
.wse-lead-form input,.wse-lead-form select,.wse-lead-form textarea{width:100%;border:1.5px solid #d6deec;border-radius:10px;
	padding:12px 14px;font-size:14.5px;font-family:inherit;background:#fbfdff;color:#1f2a44;transition:.15s;box-sizing:border-box;}
.wse-lead-form input:focus,.wse-lead-form select:focus,.wse-lead-form textarea:focus{outline:none;border-color:#1d47a0;background:#fff;box-shadow:0 0 0 3px rgba(29,71,160,.12);}
.wse-lead-form textarea{resize:vertical;min-height:64px;}
.wse-lead-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;}
.wse-lead-submit{width:100%;margin-top:6px;border:0;border-radius:10px;padding:15px;cursor:pointer;
	background:linear-gradient(120deg,#f5821f,#e2670a);color:#fff;font-size:15px;font-weight:800;letter-spacing:.3px;
	box-shadow:0 8px 20px rgba(245,130,31,.34);transition:.15s;}
.wse-lead-submit:hover{filter:brightness(1.05);transform:translateY(-1px);}
.wse-lead-submit:disabled{opacity:.7;cursor:default;transform:none;}
.wse-lead-msg{margin-top:12px;font-size:13.5px;font-weight:700;text-align:center;min-height:1px;}
.wse-lead-msg.ok{color:#128a4b;}
.wse-lead-msg.err{color:#d43b23;}
.wse-lead-trust{margin-top:12px;text-align:center;font-size:11.5px;color:#8a93a5;font-weight:600;}
.wse-lead-trust i{color:#128a4b;margin-right:4px;}
@media (max-width:480px){
	.wse-lead-modal{padding:0;align-items:flex-end;}
	.wse-lead-dialog{max-width:100%;border-radius:20px 20px 0 0;margin:0;}
	.wse-lead-head h3{font-size:20px;}
}

/* Form AJAX phụ trợ (dùng trên landing Q + nơi khác) */
.wse-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;}
.wse-ct-msg{font-size:13.5px;font-weight:700;text-align:center;min-height:1px;}
.wse-ct-msg.ok{color:#128a4b;}
.wse-ct-msg.err{color:#d43b23;}
.ld-form .s{opacity:.85;}
