/* WEBBE.vn V6 — shared navigation, editorial footer, thematic proof/reasons and CTA.
   Always load after brand-unified-2026.css and cta-adaptive-2026.css. */
body.wb-unified{
  --wb-theme-dark:#081d45;
  --wb-theme-deep:var(--wb-theme-dark);
  --wb-ui-border:color-mix(in srgb,var(--wb-theme-primary) 18%,#d8e7f0);
  --wb-ui-shadow:0 14px 35px rgba(10,36,72,.07);
  font-family:var(--wb-font-body,"Be Vietnam Pro",sans-serif);
  font-size:clamp(14px,.9vw,16px);
  line-height:1.7;
}
body.wb-unified main :is(h1,h2,h3,h4){font-family:var(--wb-font-head,"Montserrat",sans-serif);line-height:1.26;letter-spacing:-.025em;overflow-wrap:anywhere}
body.wb-unified main h1{font-size:clamp(30px,3.6vw,55px)}
body.wb-unified main h2{font-size:clamp(24px,2.4vw,38px)}
body.wb-unified main h3{font-size:clamp(16px,1.35vw,22px)}
body.wb-unified main :is(p,li){line-height:1.75}
body.wb-unified :is(a,button,input,select,textarea){font-family:var(--wb-font-body,"Be Vietnam Pro",sans-serif)}
body.wb-unified :is(button,a):focus-visible{outline:3px solid var(--wb-theme-primary);outline-offset:3px}
/* Header: keep the quote link AFTER the consultation action, never in mega nav on desktop. */
body.wb-unified .header .header-row{gap:clamp(8px,1.15vw,22px)}
body.wb-unified .header .header-actions{display:flex;align-items:center;gap:clamp(6px,.6vw,11px);flex-shrink:0}
body.wb-unified .header-actions .wb-nav-consult{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 white-space:nowrap;min-height:40px;padding:9px 16px;border:0;border-radius:100px;
 font-size:12px!important;font-weight:800;line-height:1.2;cursor:pointer;
 background:linear-gradient(115deg,var(--wb-theme-primary),var(--wb-theme-deep))!important;color:white!important;
 box-shadow:0 8px 20px color-mix(in srgb,var(--wb-theme-primary) 17%,transparent);
}
body.wb-unified .header-actions .wb-nav-estimate{
 display:inline-flex;min-height:40px;align-items:center;justify-content:center;
 border-radius:100px;border:1px solid var(--wb-ui-border);background:var(--wb-theme-surface);
 color:var(--wb-theme-dark)!important;white-space:nowrap;padding:9px 15px;
 text-transform:none!important;font-size:12px!important;font-weight:800;line-height:1.2;
 box-shadow:0 4px 14px rgba(16,58,102,.04);text-decoration:none;
}
body.wb-unified .header-actions .wb-nav-estimate:hover,
body.wb-unified .header-actions .wb-nav-estimate[aria-current="page"]{
 background:var(--wb-theme-primary)!important;color:#fff!important;border-color:var(--wb-theme-primary);
}
body.wb-unified #nav .wb-nav-estimate-mobile{display:none}
@media(min-width:801px) and (max-width:1450px){
 body.wb-unified .header .nav{gap:clamp(7px,.75vw,14px)}
 body.wb-unified .header .nav>.nav-item .nav-main-link,
 body.wb-unified .header .nav>a{font-size:clamp(9px,.76vw,11px)}
 body.wb-unified .header-actions .wb-nav-consult,
 body.wb-unified .header-actions .wb-nav-estimate{padding-inline:12px;font-size:11px!important}
}
@media(min-width:801px) and (max-width:1130px){
 body.wb-unified .header-actions .wb-nav-estimate{display:none}
 body.wb-unified #nav .wb-nav-estimate-mobile{display:inline-flex;border:1px solid var(--wb-ui-border);padding:8px 10px;border-radius:12px;color:var(--wb-theme-primary);white-space:nowrap;text-transform:none;font-weight:800;font-size:11px}
}
@media(max-width:800px){
 body.wb-unified .header-actions .wb-nav-estimate{display:none!important}
 body.wb-unified #nav .wb-nav-estimate-mobile{display:flex;width:calc(100% - 20px);min-height:44px;align-items:center;margin:9px 10px 14px;padding:10px 16px;border-radius:12px;
  color:var(--wb-theme-primary)!important;background:var(--wb-theme-surface);font-weight:800;font-size:13px;text-transform:none;border:1px solid var(--wb-ui-border)}
 body.wb-unified .header-actions .wb-nav-consult{padding:9px 12px;font-size:11px!important;min-height:36px}
 body.wb-unified .header-actions .wb-nav-consult span{display:none}
}
@media(max-width:390px){
 body.wb-unified .header-actions .wb-nav-consult{font-size:10px!important;padding:7px 9px;min-height:34px}
}
/* Footer: brand image removed; actionable content arranged in four manageable columns. */
body.wb-unified footer.footer.wb-footer-v6{
 color:#fff!important;padding:0 0 22px!important;
 background:radial-gradient(ellipse at 87% 10%,color-mix(in srgb,var(--wb-theme-bright) 13%,transparent),transparent 43%),
 linear-gradient(128deg,var(--wb-theme-deep),color-mix(in srgb,var(--wb-theme-primary) 53%,var(--wb-theme-deep)))!important;
}
body.wb-unified .wb-footer-lead{display:flex;justify-content:space-between;align-items:center;gap:26px;padding:clamp(30px,4vw,55px) 0 33px;border-bottom:1px solid rgba(255,255,255,.18)}
body.wb-unified .wb-footer-lead__text{max-width:690px}
body.wb-unified .wb-footer-eyebrow{display:block;font-size:11px;letter-spacing:.13em;font-weight:800;color:var(--wb-theme-bright);margin-bottom:8px}
body.wb-unified .wb-footer-lead h2{font-size:clamp(23px,2.45vw,34px);font-weight:800;color:#fff!important;line-height:1.28;letter-spacing:-.02em;margin:0 0 12px;font-family:var(--wb-font-head)}
body.wb-unified .wb-footer-lead p{font-size:clamp(12px,1.05vw,15px);line-height:1.75;color:#e7f2f9!important;opacity:.95;margin:0}
body.wb-unified .wb-footer-lead__actions{display:flex;flex-direction:column;align-items:stretch;gap:10px;flex:0 0 auto}
body.wb-unified .wb-footer-consult,
body.wb-unified .wb-footer-estimate{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;min-width:193px;min-height:44px;padding:11px 22px;
 border-radius:100px;font-size:13px!important;line-height:1.25;font-weight:800;text-align:center;cursor:pointer;text-decoration:none!important;transition:transform .18s,background .18s}
body.wb-unified .wb-footer-consult{color:var(--wb-theme-deep)!important;background:var(--wb-theme-bright)!important;border:1px solid transparent}
body.wb-unified .wb-footer-estimate{color:#fff!important;background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.5)}
body.wb-unified .wb-footer-lead__actions :is(button,a):hover{transform:translateY(-2px)}
body.wb-unified .footer-grid.wb-footer-links{display:grid!important;grid-template-columns:minmax(0,1.8fr) minmax(0,1.05fr) minmax(0,1fr) minmax(0,1.1fr)!important;align-items:start;gap:clamp(18px,3vw,42px);padding:32px 0 27px}
body.wb-unified .footer-grid.wb-footer-links>.wb-footer-col{min-width:0;border:0!important;padding:0!important;margin:0!important}
body.wb-unified .footer-grid.wb-footer-links h3{font-family:var(--wb-font-head);font-size:13px!important;letter-spacing:.035em;font-weight:800;margin:0 0 16px;color:#fff!important}
body.wb-unified .footer-grid.wb-footer-links a{display:block!important;font-size:12px!important;font-weight:500;line-height:1.65!important;margin:0 0 9px;padding:0!important;color:#dcebf7!important;white-space:normal;text-decoration:none;overflow-wrap:break-word}
body.wb-unified .footer-grid.wb-footer-links a:hover{color:var(--wb-theme-bright)!important;text-decoration:underline}
body.wb-unified .wb-footer-specialty-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:15px}
body.wb-unified .wb-footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding-top:16px;margin:0;border-top:1px solid rgba(255,255,255,.21);color:#d0e4f3;font-size:11px;line-height:1.5}
@media(max-width:1000px){body.wb-unified .footer-grid.wb-footer-links{grid-template-columns:1.35fr 1fr!important;row-gap:28px}}
@media(max-width:680px){
 body.wb-unified .wb-footer-lead{flex-direction:column;align-items:stretch;gap:20px;padding-top:32px}
 body.wb-unified .wb-footer-lead__actions{flex-direction:row;flex-wrap:wrap}
 body.wb-unified .wb-footer-consult,body.wb-unified .wb-footer-estimate{flex:1 1 170px;min-width:0;font-size:12px!important}
 body.wb-unified .footer-grid.wb-footer-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 16px}
 body.wb-unified .wb-footer-specialty-links{grid-template-columns:1fr}
}
@media(max-width:390px){body.wb-unified .footer-grid.wb-footer-links{grid-template-columns:1fr 1fr!important}body.wb-unified .wb-footer-lead__actions{flex-direction:column}}
/* Theme-matched LÝ DO CHỌN WEBBE.vn and Con số sections. */
body.wb-unified .wb-v6-section{position:relative;isolation:isolate;padding:clamp(48px,5vw,78px) 0;overflow:hidden}
body.wb-unified .wb-v6-container{width:min(1210px,calc(100% - 40px));margin-inline:auto}
body.wb-unified .wb-v6-heading{text-align:center;max-width:760px;margin:0 auto 30px}
body.wb-unified .wb-v6-kicker{font:800 11px/1.5 var(--wb-font-body);letter-spacing:.12em;color:var(--wb-theme-primary)}
body.wb-unified .wb-v6-heading h2{font:800 clamp(26px,3vw,39px)/1.25 var(--wb-font-head);color:var(--wb-theme-deep);margin:10px 0 12px}
body.wb-unified .wb-v6-heading p{font-size:clamp(13px,1vw,16px);color:#50647a;line-height:1.78;margin:0}
body.wb-unified .wb-v6-reasons{background:radial-gradient(circle at 10% 0%,color-mix(in srgb,var(--wb-theme-bright) 30%,transparent),transparent 35%),linear-gradient(145deg,var(--wb-theme-surface),#fff 72%)}
body.wb-unified .wb-v6-reason-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.wb-unified .wb-v6-card{min-width:0;padding:clamp(22px,2vw,32px);border:1px solid var(--wb-ui-border);border-radius:20px;background:rgba(255,255,255,.93);box-shadow:var(--wb-ui-shadow);position:relative;overflow:hidden}
body.wb-unified .wb-v6-card::before{content:"";display:block;width:100%;height:4px;position:absolute;left:0;top:0;background:linear-gradient(90deg,var(--wb-theme-primary),var(--wb-theme-bright))}
body.wb-unified .wb-v6-card-index{display:grid;place-items:center;border-radius:15px;background:var(--wb-theme-surface);color:var(--wb-theme-primary);width:46px;height:46px;font-weight:900;font-size:15px}
body.wb-unified .wb-v6-card h3{color:var(--wb-theme-deep);font:800 clamp(16px,1.3vw,20px)/1.45 var(--wb-font-head);margin:15px 0 8px}
body.wb-unified .wb-v6-card p{font-size:13px;color:#4d6073;line-height:1.7;margin:0}
body.wb-unified .wb-v6-proof{background:radial-gradient(circle at 85% 10%,color-mix(in srgb,var(--wb-theme-bright) 29%,transparent),transparent 40%),linear-gradient(140deg,#fff,var(--wb-theme-surface))}
body.wb-unified .wb-v6-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.wb-unified .wb-v6-proof-item{text-align:center;background:#fff;border:1px solid var(--wb-ui-border);padding:26px 16px;border-radius:19px;box-shadow:var(--wb-ui-shadow)}
body.wb-unified .wb-v6-proof-item strong{display:block;color:var(--wb-theme-primary);font:800 clamp(38px,4vw,62px)/1.05 var(--wb-font-head);letter-spacing:-.04em;margin-bottom:12px}
body.wb-unified .wb-v6-proof-item span{display:block;color:var(--wb-theme-deep);font-size:clamp(12px,1vw,15px);font-weight:700;line-height:1.6}
/* Existing modules: retain original copy and images while aligning color tokens. */
body.wb-unified main .wb-v6-reasons-legacy:not(:has(img)){
 background:linear-gradient(155deg,var(--wb-theme-surface),#fff 70%)!important;
}
body.wb-unified main .wb-v6-proof-legacy:not(:has(img)){
 background:linear-gradient(155deg,var(--wb-theme-surface),#fff 75%)!important;
 color:var(--wb-theme-ink)!important;
}
body.wb-unified main .wb-v6-reasons-legacy :is(h2,h3){color:var(--wb-theme-deep)}
body.wb-unified main .wb-v6-reasons-legacy :is(.icon,.feature-icon,.step-icon){color:var(--wb-theme-primary)}
body.wb-unified main .wb-v6-proof-legacy:not(:has(img)) :is(h2,h3,strong){color:var(--wb-theme-primary)!important}
body.wb-unified main .wb-v6-proof-legacy:not(:has(img)) :is(p,span,small){color:var(--wb-theme-ink)!important}
body.wb-unified main .wb-v6-proof-legacy{border-top:3px solid var(--wb-theme-primary)}
body.wb-unified main .wb-v6-reasons-legacy :is(.card,.why-card,.reason-card,.reason-item,.ec-why-card){border-color:var(--wb-ui-border)!important}
@media(max-width:850px){body.wb-unified .wb-v6-reason-grid{grid-template-columns:1fr 1fr}body.wb-unified .wb-v6-proof-grid{gap:10px}}
@media(max-width:600px){body.wb-unified .wb-v6-reason-grid,body.wb-unified .wb-v6-proof-grid{grid-template-columns:1fr}body.wb-unified .wb-v6-section{padding:44px 0}body.wb-unified .wb-v6-heading{margin-bottom:22px}body.wb-unified .wb-v6-proof-item{padding:17px 14px}}
/* CTA stays in the EXACT palette declared on each page's data-cta-theme. */
body.wb-unified #site-cta.cta-section-pro[data-cta-theme]{--wb-cta-border:color-mix(in srgb,var(--wb-cta-accent) 31%,transparent);background:linear-gradient(180deg,#fff,var(--wb-cta-surround))!important}
body.wb-unified #site-cta.cta-section-pro .cta.cta-pro{border:1px solid var(--wb-cta-border)!important;box-shadow:0 17px 44px color-mix(in srgb,var(--wb-cta-bg1) 15%,transparent)!important}
body.wb-unified #site-cta .cta-primary{border:1px solid var(--wb-cta-accent)!important;font-size:clamp(12px,1vw,15px)!important}
body.wb-unified #site-cta .cta-secondary{font-size:clamp(12px,.95vw,14px)!important}
body.wb-unified #site-cta .cta-copy h2{font-family:var(--wb-font-head);font-size:clamp(25px,3vw,44px)!important;line-height:1.25!important}
body.wb-unified #site-cta .cta-assurances{flex-wrap:wrap;gap:8px 17px}
@media(max-width:600px){body.wb-unified #site-cta .cta-actions{flex-wrap:wrap;gap:10px}body.wb-unified #site-cta .cta-actions>*{max-width:100%;min-height:44px}}
@media(prefers-reduced-motion:reduce){body.wb-unified .wb-footer-lead__actions :is(button,a){transition:none}}
/* Prevent flex-basis from stretching footer action buttons on narrow phones. */
@media(max-width:680px){
 body.wb-unified .wb-footer-lead__actions>*{height:auto!important;min-height:46px!important;flex:1 1 170px;}
}
@media(max-width:390px){
 body.wb-unified .wb-footer-lead__actions>*{flex:0 0 auto!important;width:100%;min-height:46px!important}
}
