/* vigov-bottom-2311a.css — dot FB-2311, nua duoi: #security #process #vihat #faq.
   Tien to rieng: sec- proc- vh- faq-. Chi dung bien mau cua base; khong dinh nghia lai lop dung chung. */

/* ---------- #security (sec-) ---------- */
.sec-card{display:flex;flex-direction:column;gap:10px}
.sec-ico{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:var(--radius-sm);background:var(--blue-100);color:var(--blue);margin-bottom:8px}
.sec-card .text-muted{font-size:15.5px;line-height:1.65}
@media (max-width:639px){
  .sec-ico{width:44px;height:44px;margin-bottom:4px}
}

/* ---------- #process (proc-) ---------- */
.proc-steps{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(16px,2vw,28px);margin-bottom:clamp(40px,5vw,64px)}
.proc-step:not(:last-child)::after{content:"";position:absolute;z-index:-1;left:64px;right:calc(-1 * clamp(16px,2vw,28px));top:31px;height:2px;background:linear-gradient(90deg,var(--blue) 0%,var(--indigo-from) 100%);opacity:.35}
.proc-step{position:relative;z-index:1;display:flex;flex-direction:column;gap:18px}
.proc-num{font-size:20px}
.proc-step:nth-child(odd) .proc-num{background:var(--blue)}
.proc-body .h3{text-wrap:balance;margin-bottom:8px}
.proc-body .text-muted{font-size:15px;line-height:1.65}

.proc-deliver{margin-bottom:clamp(36px,4.5vw,56px)}
.proc-deliver-label{font-size:13px;font-weight:700;line-height:1.6;letter-spacing:.14em;text-transform:uppercase;color:var(--hl);margin-bottom:14px}
.proc-commits{display:grid;grid-template-columns:repeat(2,max-content);gap:12px 14px}
.proc-pill{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:10px 20px 10px 12px;border-radius:999px;background:var(--bg-tint);border:1px solid var(--line);color:var(--navy);font-weight:600;font-size:15px;line-height:1.4}
.proc-pill .icon{width:26px;height:26px;padding:5px;border-radius:50%;background:var(--blue);color:var(--bg);stroke-width:3}

.proc-quote{display:flex;align-items:center;justify-content:space-between;gap:clamp(20px,3vw,40px);padding:clamp(22px,3vw,36px) clamp(22px,3.4vw,44px);background:var(--bg-tint);border:1px solid var(--line);border-radius:var(--radius)}
.proc-quote-text{min-width:0;max-width:680px}
.proc-quote-text .h3{margin-bottom:8px}
.proc-quote-btn{flex:none}

@media (max-width:1023px){
  .proc-steps{grid-template-columns:minmax(0,1fr);gap:28px;max-width:640px}
  .proc-step:not(:last-child)::after{left:31px;right:auto;top:64px;bottom:-28px;width:2px;height:auto;background:linear-gradient(180deg,var(--blue) 0%,var(--indigo-from) 100%)}
  .proc-step{flex-direction:row;align-items:flex-start;gap:20px}
  .proc-body{padding-top:6px}
}
@media (max-width:639px){
  .proc-commits{grid-template-columns:minmax(0,1fr)}
  .proc-pill{border-radius:var(--radius)}
  .proc-quote{flex-direction:column;align-items:stretch}
  .proc-quote-btn{align-self:flex-start}
}

/* ---------- #vihat (vh-) ---------- */
.vh-head{display:flex;align-items:flex-end;justify-content:space-between;gap:clamp(24px,4vw,64px);margin-bottom:clamp(36px,5vw,64px)}
.vh-head .section-head{margin-bottom:0}
.vh-logo{width:180px;height:auto;flex:none;opacity:.95}

.vh-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(20px,3vw,40px);margin-bottom:clamp(40px,5vw,64px)}
.vh-stat{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}
.vh-badge{background:var(--blue);border-color:rgba(255,255,255,.92);font-size:calc(var(--size)*.18)}
.vh-badge--long{font-size:16px;line-height:1.2;letter-spacing:0;gap:2px}
.vh-badge--long span{display:block}
.vh-stat-label{max-width:20ch;font-weight:600;color:var(--muted);text-wrap:balance}

.vh-certs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2.4vw,28px);margin-bottom:clamp(48px,6vw,80px)}
.vh-cert{display:flex;align-items:center;gap:clamp(18px,2.4vw,28px)}
.vh-cert .h3{margin-bottom:8px}
.vh-cert-img{flex:none;display:block;padding:8px;background:var(--bg);border-radius:var(--radius-sm)}
.vh-cert-img img{width:auto;height:120px;border-radius:6px}

.vh-subtitle{margin-bottom:clamp(18px,2.4vw,28px);text-wrap:balance}

/* Luoi logo khach hang: 4 x 2 tu 640 tro len, 2 x 4 duoi 640 */
.vh-logos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.8vw,20px);margin-bottom:clamp(48px,6vw,80px)}
.vh-logo-cell{display:flex;align-items:center;justify-content:center;height:88px;padding:0 8px;background:var(--bg);border-radius:var(--radius-sm);overflow:hidden}
.vh-logo-cell img{display:block;width:auto;height:auto;max-width:70%;max-height:70%;object-fit:contain}

/* Giai thuong: dat cuoi muc, 3 cot tu 640, 1 cot duoi 640 */
.vh-awards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2vw,24px)}
.vh-award{display:flex;flex-direction:column;gap:12px}
.vh-award-img{display:block;padding:6px;background:var(--award-bg);border:1px solid rgba(255,255,255,.14);border-radius:var(--radius-sm);overflow:hidden}
.vh-award-img img{width:100%;height:auto;aspect-ratio:339/240;object-fit:contain}
.vh-award-cap{display:flex;flex-direction:column;gap:2px;font-size:14px;line-height:1.5;color:var(--muted)}
.vh-award-meta{text-wrap:balance}
.vh-award-product{display:block;font-weight:700;color:var(--ink)}

@media (max-width:1023px){
  .vh-head{flex-direction:column;align-items:flex-start}
  .vh-logo{width:150px;order:-1}
  .vh-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:639px){
  .vh-certs{grid-template-columns:minmax(0,1fr)}
  .vh-cert{flex-direction:column;align-items:flex-start;gap:18px}
  .vh-cert-img img{height:104px}
  .vh-stats .badge-circle{--size:116px!important}
  .vh-badge--long{font-size:14px}
  .vh-logos{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vh-logo-cell{height:72px}
  .vh-awards{grid-template-columns:minmax(0,1fr)}
  .vh-award{width:100%;max-width:340px;margin-inline:auto}
}

/* #vihat: chu "2013" khong lo dat goc tren phai */
.giant.vh-giant{top:16px;transform:rotate(180deg);font-size:56px;-webkit-text-stroke-width:1.5px}
@media (min-width:640px){.giant.vh-giant{top:20px;font-size:clamp(56px,9.2vw,76px)}}
@media (min-width:1024px){.giant.vh-giant{top:20px;font-size:68px}}
@media (min-width:1440px){.giant.vh-giant{top:28px;font-size:120px;-webkit-text-stroke-width:2px}}

/* ---------- #faq (faq-) ---------- */
.faq-list{display:grid;gap:12px;max-width:860px;margin-inline:auto}
.faq-item{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-sm)}
.faq-q{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:14px 20px;cursor:pointer;list-style:none;font-size:17px;font-weight:700;line-height:1.45;color:var(--ink);border-radius:var(--radius-sm)}
.faq-q::-webkit-details-marker{display:none}
.faq-q::marker{content:""}
.faq-q:focus{outline:none}
.faq-q:focus-visible{outline:2px solid var(--blue-600);outline-offset:2px}
.faq-q-text{min-width:0}
.faq-chev{flex:none;width:22px;height:22px;color:var(--blue)}
.faq-item[open] .faq-chev{rotate:180deg}
.faq-a{padding:0 20px 18px}
.faq-a p{font-size:15.5px;line-height:1.7;color:var(--muted)}
.faq-more{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:clamp(28px,3.6vw,40px);text-align:center}
.faq-more-text{font-size:17px;font-weight:600;color:var(--ink)}
@media (max-width:639px){
  .faq-q{padding:14px 16px;font-size:16px}
  .faq-a{padding:0 16px 16px}
}

/* ============ Hieu ung nua duoi. Chi chay khi co JS va nguoi dung khong tat chuyen dong. ============ */
@media (prefers-reduced-motion:no-preference){
  html.js .vh-award-img{transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease}
  html.js .vh-award:hover .vh-award-img{transform:translateY(-6px);box-shadow:0 0 0 2px var(--blue-300),0 18px 30px -16px rgba(19,29,57,.9)}

  html.js .proc-num{transition:opacity .45s ease,scale .55s cubic-bezier(.3,1.5,.5,1);transition-delay:calc(var(--pi,0) * .42s + .1s)}
  html.js .proc-steps:not(.is-in) .proc-num{opacity:0;scale:.4}
  html.js .proc-step:not(:last-child)::after{transform-origin:left center;transition:transform .42s linear;transition-delay:calc(var(--pi,0) * .42s + .35s)}
  html.js .proc-steps:not(.is-in) .proc-step:not(:last-child)::after{transform:scaleX(0)}
  html.js .proc-body{transition:opacity .5s ease,transform .5s ease;transition-delay:calc(var(--pi,0) * .42s + .2s)}
  html.js .proc-steps:not(.is-in) .proc-body{opacity:0;transform:translateY(10px)}
  html.js .proc-pill.is-in .icon{animation:proc-tick .7s cubic-bezier(.3,1.7,.5,1) both;animation-delay:calc(var(--d,0) * 90ms + .45s)}
  @keyframes proc-tick{0%{transform:scale(0) rotate(-20deg)}100%{transform:none}}

  .faq-chev{transition:rotate .25s ease}
}
@media (prefers-reduced-motion:no-preference) and (max-width:1023px){
  html.js .proc-step:not(:last-child)::after{transform-origin:center top}
  html.js .proc-steps:not(.is-in) .proc-step:not(:last-child)::after{transform:scaleY(0)}
}

/* ==================== iPad 744–1023 ==================== */
@media (min-width:744px) and (max-width:1023px){
  #vihat,#process{padding-block:clamp(72px,9vw,88px)}

  .vh-head{flex-direction:row;align-items:flex-end;justify-content:space-between}
  .vh-head .section-head{flex:1 1 auto;min-width:0}
  .vh-logo{order:0;width:140px;margin-bottom:6px;margin-right:max(0px,calc(min(76px,9.2vw) * .92 - var(--gutter) + 10px))}
  .vh-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(16px,2.4vw,24px)}
  .vh-stats .badge-circle{--size:120px!important}
  .vh-stat{gap:12px}
  .vh-stat-label{font-size:14.5px}
  .vh-cert{flex-direction:column;align-items:flex-start;gap:16px}
  .vh-cert-img img{height:112px}
  .vh-award-cap{font-size:13px}

  .proc-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(14px,2vw,22px);max-width:none}
  .proc-step{flex-direction:column;align-items:stretch;gap:14px}
  .proc-step:not(:last-child)::after{left:64px;right:calc(-1 * clamp(14px,2vw,22px));top:31px;bottom:auto;width:auto;height:2px;background:linear-gradient(90deg,var(--blue) 0%,var(--indigo-from) 100%)}
  .proc-body{padding-top:0}
  .proc-body .h3{font-size:17px}
  .proc-body .text-muted{font-size:14px;line-height:1.6}
}
/* 744–773: dong thoi gian doc 2 cot */
@media (min-width:744px) and (max-width:773px){
  .proc-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 28px}
  .proc-step{flex-direction:row;align-items:flex-start;gap:16px}
  .proc-step:not(:last-child)::after{display:none}
  .proc-body{padding-top:4px}
}
@media (prefers-reduced-motion:no-preference) and (min-width:744px) and (max-width:1023px){
  html.js .proc-step:not(:last-child)::after{transform-origin:left center}
  html.js .proc-steps:not(.is-in) .proc-step:not(:last-child)::after{transform:scaleX(0)}
}
@media (min-width:1024px) and (max-width:1279px){
  .vh-logo{margin-right:max(0px,calc(68px * .92 - var(--gutter) + 10px))}
}

/* PM 23/11: tieu de muc ViHAT khong tach "don | vi" giua dong */
.vh-head .h2 .hl{display:inline-block}
