/* ============================================================
   VILINK X — main stylesheet
   Phong cách phẳng, hiện đại · Xanh thương hiệu · B2B2G
   ============================================================ */
:root{
  --blue:#0060C0;          /* VILINK Blue – lấy mẫu từ logo */
  --sky:#1E8FE0;           /* xanh sáng nhấn */
  --blue-deep:#004a96;
  --navy:#06203F;          /* nền tối */
  --ink:#0E1A2B;
  --slate:#5C6B82;
  --line:#E6ECF4;
  --surface:#F5F8FC;
  --white:#fff;
  --maxw:1200px;
  --r:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',system-ui,sans-serif;color:var(--ink);line-height:1.55;background:#fff;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:'Montserrat',sans-serif;letter-spacing:-.02em;line-height:1.08}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 26px}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.muted{color:var(--slate)}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:14.5px;padding:13px 24px;border-radius:9px;cursor:pointer;border:none;transition:.18s;font-family:'Inter'}
.btn-w{background:#fff;color:var(--blue)}.btn-w:hover{background:#eaf3fc}
.btn-blue{background:var(--blue);color:#fff}.btn-blue:hover{background:var(--blue-deep)}
.btn-out{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.4)}.btn-out:hover{background:rgba(255,255,255,.12)}
.btn-line{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn-line:hover{border-color:var(--blue);color:var(--blue)}

/* ---------- Header ---------- */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:60}
.site-header.transparent{position:absolute;top:0;left:0;right:0;background:transparent;border-bottom:none}
.nav{display:flex;align-items:center;justify-content:space-between;height:74px;gap:24px}
.brand{display:flex;align-items:center;gap:11px;font-family:'Montserrat';font-weight:800;font-size:21px;color:var(--ink);white-space:nowrap}
.transparent .brand{color:#fff}
.brand .vi{color:var(--blue)}.brand .lk{color:var(--navy)}
.transparent .brand .vi,.transparent .brand .lk{color:#fff}
.brand img{height:34px;width:auto}
/* Logo ảnh VILINK X */
.brand-logo{gap:0}
.brand-img{height:36px;width:auto;display:block}
/* Nền tối (header trang chủ trong suốt + footer): đổi logo sang trắng */
.transparent .brand-img,.foot-brand .brand-img{filter:brightness(0) invert(1)}
.menu{display:flex;gap:26px;list-style:none;font-size:14px;font-weight:600;color:#3a4d66;white-space:nowrap}
.transparent .menu{color:rgba(255,255,255,.85)}
.menu a:hover{color:var(--blue)}.transparent .menu a:hover{color:#fff}
.menu .current-menu-item>a{color:var(--blue)}
.nav-cta{display:flex;align-items:center;gap:12px}
.menu-toggle{display:none;background:none;border:1px solid var(--line);border-radius:9px;padding:9px;cursor:pointer}
.transparent .menu-toggle{border-color:rgba(255,255,255,.4)}
.menu-toggle svg{display:block;stroke:var(--ink)}
.transparent .menu-toggle svg{stroke:#fff}

/* ---------- Hero ---------- */
.hero{background:linear-gradient(140deg,#0060C0 0%,#004a96 55%,#06203F 120%);color:#fff;position:relative;overflow:hidden;padding:150px 0 110px}
.hero .x-mark{position:absolute;right:-120px;top:50%;transform:translateY(-50%);width:680px;height:680px;opacity:.10;pointer-events:none}
.hero .x-mark svg{width:100%;height:100%}
.hero-in{position:relative;max-width:700px}
.hero .eyebrow{color:var(--sky)}
.hero h1{font-size:clamp(38px,6vw,72px);font-weight:900;margin:18px 0 0;text-transform:uppercase}
.hero h1 .o{-webkit-text-stroke:1.5px rgba(255,255,255,.6);color:transparent}
.hero p{font-size:18px;color:rgba(255,255,255,.85);margin:24px 0 34px;max-width:540px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.hero-stats{display:flex;gap:46px;margin-top:54px;flex-wrap:wrap}
.hero-stats .s b{font-family:'Montserrat';font-weight:800;font-size:28px;display:block}
.hero-stats .s span{font-size:13px;color:rgba(255,255,255,.7)}

/* ---------- Sections ---------- */
.section{padding:92px 0}
.section.surface{background:var(--surface)}
.head{text-align:center;max-width:660px;margin:0 auto 50px}
.head .eyebrow{color:var(--blue)}
.head h2{font-size:clamp(28px,3.8vw,42px);font-weight:800;margin-top:12px}
.head p{color:var(--slate);margin-top:14px}

/* ---------- Compliance band ---------- */
.compliance{background:var(--navy);color:#fff;padding:34px 0}
.compliance-in{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap}
.compliance .lbl{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--sky);margin-right:6px}
.cchip{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:#dce7f5;border:1px solid rgba(255,255,255,.18);padding:9px 15px;border-radius:999px}
.cchip svg{width:16px;height:16px;color:var(--sky)}

/* ---------- Sectors ---------- */
.inds{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ind{border-radius:16px;padding:30px 24px;color:#fff;min-height:220px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(160deg,#0060C0,#004a96);transition:.22s;text-decoration:none}
.ind:nth-child(2){background:linear-gradient(160deg,#1E8FE0,#0060C0)}
.ind:nth-child(3){background:linear-gradient(160deg,#0a3f86,#06203F)}
.ind:nth-child(4){background:linear-gradient(160deg,#0060C0,#0a3f86)}
.ind:hover{transform:translateY(-6px);box-shadow:0 22px 44px -26px rgba(0,96,192,.7)}
.ind svg{width:34px;height:34px}
.ind h3{font-size:18px;font-weight:800;margin-top:auto}
.ind p{font-size:13.5px;color:rgba(255,255,255,.85);margin-top:6px}

/* ---------- Product lines ---------- */
.lines{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.line{display:flex;gap:22px;align-items:center;background:#fff;border-radius:16px;padding:28px;border:1px solid var(--line);transition:.2s}
.line:hover{box-shadow:0 20px 44px -28px rgba(0,96,192,.55);border-color:transparent}
.line .ic{flex:none;width:74px;height:74px;border-radius:16px;background:linear-gradient(150deg,#0060C0,#004a96);display:grid;place-items:center;color:#fff}
.line .ic svg{width:36px;height:36px}
.line h3{font-size:20px;font-weight:800}
.line p{color:var(--slate);font-size:14.5px;margin:7px 0 12px}
.line .more{font-size:14px;font-weight:700;color:var(--blue);display:inline-flex;align-items:center;gap:7px}
.line:hover .more svg{transform:translateX(4px)}.line .more svg{transition:.2s}

/* ---------- Partner / B2B2G program ---------- */
.partner{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.partner .copy .eyebrow{color:var(--blue)}
.partner .copy h2{font-size:clamp(26px,3.4vw,38px);font-weight:800;margin:12px 0 16px}
.partner .copy p{color:var(--slate);margin-bottom:26px}
.partner-list{display:grid;gap:14px}
.pl-item{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}
.pl-item .pico{flex:none;width:40px;height:40px;border-radius:10px;background:var(--surface);display:grid;place-items:center;color:var(--blue)}
.pl-item .pico svg{width:20px;height:20px}
.pl-item h4{font-family:'Montserrat';font-weight:700;font-size:15.5px}
.pl-item p{color:var(--slate);font-size:13.5px;margin-top:4px}

/* ---------- Product cards (archive / featured) ---------- */
.prod-filter{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:30px}
.prod-filter-lines{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.prod-filter-search{margin-left:auto}
/* Mobile: nút lọc dòng thành hàng pill cuộn ngang (vuốt); nút Tra cứu full-width dưới */
@media(max-width:640px){
  .prod-filter{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:24px}
  .prod-filter-lines{flex-wrap:nowrap;overflow-x:auto;gap:8px;padding-bottom:6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .prod-filter-lines::-webkit-scrollbar{display:none}
  .prod-filter-lines .btn{flex:none;white-space:nowrap;padding:10px 16px;font-size:13.5px}
  .prod-filter-search{margin-left:0;width:100%;justify-content:center}
}
.prod-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.pcard{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff;transition:.22s;display:flex;flex-direction:column}
.pcard:hover{box-shadow:0 18px 40px -22px rgba(14,26,43,.4);transform:translateY(-3px)}
.pcard .thumb{aspect-ratio:4/3;background:#eef4fb url('../img/product-bg-lines.png') center/cover no-repeat;display:grid;place-items:center;position:relative;overflow:hidden}
.pcard .thumb img{max-width:78%;max-height:78%;width:auto;height:auto;object-fit:contain}
.pcard .thumb .ph{width:80px;height:80px;color:var(--blue)}
.pcard .cat{position:absolute;top:12px;left:12px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:#fff;color:var(--blue);padding:5px 10px;border-radius:7px;border:1px solid var(--line)}
.pcard .body{padding:18px;display:flex;flex-direction:column;flex:1}
.pcard .code{font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--slate)}
.pcard h3{font-size:16.5px;font-weight:700;margin:5px 0 12px}
.pcard .chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}
.pcard .chip{font-size:11.5px;font-weight:600;color:#33455e;background:var(--surface);border:1px solid var(--line);padding:5px 9px;border-radius:7px}
.pcard .ask{margin-top:auto;font-size:13.5px;font-weight:700;color:var(--blue);display:inline-flex;align-items:center;gap:6px}
/* Mobile: thẻ sản phẩm gọn lại cho lưới 2 cột */
@media(max-width:560px){
  .pcard .body{padding:13px}
  .pcard h3{font-size:14.5px;margin:4px 0 9px;line-height:1.3}
  .pcard .chips{gap:5px;margin-bottom:10px}
  .pcard .chip{font-size:10.5px;padding:4px 7px}
  .pcard .cat{font-size:10px;padding:4px 8px;top:8px;left:8px}
  .pcard .ask{font-size:12.5px}
  .pcard-add{padding:11px 10px;font-size:12.5px;line-height:1.25}
  .tender-flag{font-size:9.5px;padding:4px 7px;top:8px;right:8px;gap:3px}
  .tender-flag svg{width:11px;height:11px}
}
/* Máy rất nhỏ (≤380px): 1 cột cho dễ đọc */
@media(max-width:380px){
  .prod-grid{grid-template-columns:1fr}
}

/* ---------- CTA ---------- */
.cta{background:var(--navy);color:#fff;text-align:center;position:relative;overflow:hidden}
.cta::after{content:"";position:absolute;left:50%;top:-40%;transform:translateX(-50%);width:560px;height:560px;background:radial-gradient(circle,rgba(30,143,224,.3),transparent 65%)}
.cta .in{position:relative}
.cta h2{font-size:clamp(28px,3.6vw,44px);font-weight:900;text-transform:uppercase}
.cta p{color:#b9c6da;margin:16px auto 30px;max-width:540px}

/* ---------- Single product ---------- */
.single-wrap{padding:54px 0}
.crumbs{font-size:13px;color:var(--slate);margin-bottom:22px}
.crumbs a:hover{color:var(--blue)}
/* DESKTOP/tablet: ảnh + form bên TRÁI · thông tin/thông số bên PHẢI (grid-areas, KHÔNG display:contents) */
.single-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 44px;align-items:start;grid-template-areas:"media info" "forms info"}
.single-media{grid-area:media;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#eef4fb url('../img/product-bg-lines.png') center/cover no-repeat;aspect-ratio:4/3;display:grid;place-items:center}
.single-media img{max-width:78%;max-height:78%;width:auto;height:auto;object-fit:contain;display:block}
.single-media .ph{width:130px;height:130px;color:var(--blue)}
.single-info{grid-area:info}
.single-forms{grid-area:forms;display:flex;flex-direction:column;gap:22px}
.single-forms .quote-box,.single-forms .dossier-box{margin-top:0}
/* Bù chiều cao header sticky (74px) khi nhảy tới form qua nút CTA */
#baogia,#hosothau{scroll-margin-top:90px}
/* MOBILE (≤640px): 1 cột — ảnh → thông tin (tên/thông số) → FORM xuống dưới cùng */
@media(max-width:640px){
  .single-grid{grid-template-columns:1fr;grid-template-areas:"media" "info" "forms";gap:24px}
}
.single-info .cat{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--blue)}
.single-info h1{font-size:clamp(26px,3.2vw,36px);font-weight:800;margin:10px 0 6px}
.single-info .code{font-family:'IBM Plex Mono',monospace;font-size:13px;color:var(--slate);margin-bottom:20px}
.spec-table{width:100%;border-collapse:collapse;margin:8px 0 26px;font-size:14px;border:1px solid var(--line)}
.spec-table thead th{background:var(--surface);color:var(--navy);font-family:'Montserrat';font-weight:800;font-size:11.5px;letter-spacing:.04em;text-transform:uppercase;text-align:left;padding:10px 12px;border:1px solid var(--line)}
.spec-table td,.spec-table tbody th{border:1px solid var(--line);padding:10px 12px;vertical-align:top}
.spec-table .c-stt{width:46px;text-align:center;color:var(--slate);font-weight:600;white-space:nowrap}
.spec-table .c-name{width:46%;color:var(--ink);font-weight:600;text-align:left;overflow-wrap:anywhere}
.spec-table .c-val{font-weight:600;overflow-wrap:anywhere}
.prose{font-size:15.5px;color:#33455e;line-height:1.7}
.prose p{margin-bottom:14px}
.prose h2{font-size:22px;font-weight:800;line-height:1.3;color:var(--navy);margin:34px 0 12px}
.prose h3{font-size:17.5px;font-weight:700;line-height:1.35;color:var(--navy);margin:26px 0 10px}
.prose h4{font-size:15.5px;font-weight:700;color:var(--navy);margin:20px 0 8px}
.prose h2:first-child,.prose h3:first-child,.prose>*:first-child{margin-top:0}
.prose ul,.prose ol{margin:0 0 16px;padding-left:24px}
.prose ul{list-style:disc}
.prose ol{list-style:decimal}
.prose li{margin-bottom:7px}
.prose li>ul,.prose li>ol{margin:7px 0 0}
.prose a{color:var(--blue);text-decoration:underline}
.prose a:hover{color:var(--navy)}
.prose strong{color:var(--navy);font-weight:700}
.prose blockquote{margin:18px 0;padding:10px 18px;border-left:3px solid var(--blue);background:var(--surface);border-radius:0 8px 8px 0}
.prose img{max-width:100%;height:auto;border-radius:10px}

/* ---------- Quote form ---------- */
.quote-box{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:26px;margin-top:26px}
.quote-box h3{font-size:19px;font-weight:800;margin-bottom:6px}
.quote-box .sub{color:var(--slate);font-size:14px;margin-bottom:18px}
.qf{display:grid;gap:13px}
.qf .grid2{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.qf label{font-size:12.5px;font-weight:600;color:#44566f;display:block;margin-bottom:5px}
.qf input,.qf textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:11px 13px;font-family:'Inter';font-size:14px;background:#fff;transition:.15s}
.qf input:focus,.qf textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,96,192,.12)}
.qf textarea{resize:vertical;min-height:90px}
.qf .notice{font-size:13.5px;padding:11px 14px;border-radius:9px}
.qf .ok{background:#e7f6ed;color:#15703c;border:1px solid #b9e3c8}
.qf .err{background:#fdecec;color:#b42323;border:1px solid #f4c4c4}

/* ---------- Footer ---------- */
.site-footer{position:relative;overflow:hidden;background:linear-gradient(160deg,#06203F 0%,#081d36 58%,#0a1f3a 100%);color:#a7b6cc;font-size:14px}
.site-footer .wrap{position:relative;z-index:1}
.foot-x{position:absolute;right:-150px;bottom:-180px;width:560px;height:560px;opacity:.05;pointer-events:none;z-index:0}
.foot-x svg{width:100%;height:100%}

/* CTA strip */
.foot-cta{display:flex;align-items:center;justify-content:space-between;gap:26px;flex-wrap:wrap;padding:40px 0;border-bottom:1px solid rgba(255,255,255,.10)}
.foot-cta h3{font-family:'Montserrat';font-weight:800;font-size:clamp(20px,2.4vw,28px);color:#fff;line-height:1.2}
.foot-cta p{color:#90a2bc;margin-top:7px;font-size:14.5px;max-width:540px}
.foot-cta .acts{display:flex;gap:12px;flex-wrap:wrap}

/* Main grid */
.fg{display:grid;grid-template-columns:1.8fr 1fr 1fr 1.25fr;gap:40px;padding:52px 0 40px}
.foot-brand .brand{color:#fff;margin-bottom:16px;font-family:'Montserrat';font-weight:800;font-size:21px}
.foot-brand .brand .vi,.foot-brand .brand .lk{color:#fff}
.foot-tag{max-width:310px;color:#9fb0c8;line-height:1.65}
.foot-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.foot-chip{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#cfe0f4;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);padding:6px 11px;border-radius:999px}
.foot-chip svg{width:13px;height:13px;color:var(--sky)}
.foot-org{margin-top:18px;font-size:12.5px;color:#7f93ad;line-height:1.7}

.site-footer h5{color:#fff;font-family:'Montserrat';font-weight:700;font-size:12.5px;margin-bottom:15px;text-transform:uppercase;letter-spacing:.05em}
.site-footer ul{list-style:none}
.site-footer .fg li{margin-bottom:11px}
.site-footer .fg a{color:#a7b6cc;transition:.16s}
.site-footer .fg a:hover{color:#fff}

/* Contact with icons */
.foot-contact li{display:flex;gap:11px;align-items:flex-start;margin-bottom:15px}
.foot-contact svg{flex:none;width:17px;height:17px;color:var(--sky);margin-top:2px}
.foot-contact b{display:block;color:#fff;font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px}

/* Bottom bar */
.fb{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:20px 0 32px;border-top:1px solid rgba(255,255,255,.10);font-size:12.5px;color:#7f93ad}
.fb-links{display:flex;gap:20px;flex-wrap:wrap}
.fb-links a{color:#9fb0c8}.fb-links a:hover{color:#fff}
.fb{padding-top:18px;font-size:12.5px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}

/* ---------- Pagination ---------- */
.pagination{display:flex;gap:8px;justify-content:center;margin-top:40px}
.pagination .page-numbers{padding:9px 14px;border:1px solid var(--line);border-radius:9px;font-weight:600;font-size:14px}
.pagination .current{background:var(--blue);color:#fff;border-color:var(--blue)}

/* ---------- P0: Tender badge / positioning / channel pledge ---------- */
.tender-flag{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;letter-spacing:.02em;background:#0d8a4f;color:#fff;padding:5px 10px;border-radius:7px}
.tender-flag svg{width:13px;height:13px}
.tender-badge{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#0d8a4f;background:#e7f6ed;border:1px solid #b9e3c8;padding:8px 14px;border-radius:999px;margin-bottom:18px}
.tender-badge svg{width:16px;height:16px}
.tender-note{font-size:13px;color:var(--slate);margin-top:12px;max-width:440px}
.positioning{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;color:#334a66;background:var(--surface);border-left:3px solid var(--blue);border-radius:0 10px 10px 0;padding:14px 16px;margin:8px 0 24px}
.positioning svg{flex:none;width:19px;height:19px;color:var(--blue);margin-top:1px}
.spec-table tr.spec-group th{background:#eef4fc;color:var(--blue);font-family:'Montserrat';font-weight:800;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;padding:10px 12px;border:1px solid var(--line)}

.pledge{background:linear-gradient(135deg,#0a3f86,#0060C0);color:#fff;padding:34px 0}
.pledge-in{display:flex;align-items:center;gap:22px;justify-content:center;text-align:left;max-width:900px;margin:0 auto}
.pledge-ic{flex:none;width:46px;height:46px;color:#fff;opacity:.95}
.pledge h2{font-family:'Montserrat';font-weight:800;font-size:clamp(20px,2.6vw,28px)}
.pledge p{color:rgba(255,255,255,.9);font-size:15px;margin-top:6px;max-width:620px}

/* ---------- P0: Quote form consent ---------- */
.qf-consent{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:#44566f;line-height:1.5;cursor:pointer}
.qf-consent input{margin-top:3px;flex:none;width:17px;height:17px;accent-color:var(--blue)}
.qf-consent a{color:var(--blue);font-weight:600}
.qf-priv{font-size:12.5px;color:var(--slate);margin-top:4px}

/* ---------- P1: Contractor portal ---------- */
.portal-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;align-items:start}
.portal-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px}
.portal-login{background:var(--surface)}
.portal-badge{display:inline-flex;align-items:center;font-size:12px;font-weight:700;letter-spacing:.03em;padding:6px 12px;border-radius:999px}
.portal-badge.ok{background:#e7f6ed;color:#0d8a4f;border:1px solid #b9e3c8}
.portal-badge.wait{background:#fff4e3;color:#b26a00;border:1px solid #f0d8ad}
.portal-badge.no{background:#fdecec;color:#b42323;border:1px solid #f4c4c4}
.portal-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.portal-login .login-username,.portal-login .login-password{margin-bottom:13px}
.portal-login label{font-size:12.5px;font-weight:600;color:#44566f;display:block;margin-bottom:5px}
.portal-login input[type=text],.portal-login input[type=password]{width:100%;border:1px solid var(--line);border-radius:9px;padding:11px 13px;font-family:'Inter';font-size:14px;background:#fff}
.portal-login input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,96,192,.12)}
.portal-login .login-remember{font-size:13px;margin:6px 0 12px}
.portal-login .button,.portal-login input[type=submit]{background:var(--blue);color:#fff;border:none;font-weight:700;font-size:14.5px;padding:12px 22px;border-radius:9px;cursor:pointer}
.portal-login .button:hover,.portal-login input[type=submit]:hover{background:var(--blue-deep)}
@media(max-width:760px){.portal-grid{grid-template-columns:1fr}}

/* ---------- P2: Tender registration (#13) ---------- */
.reg-list{display:flex;flex-direction:column;gap:10px;margin-bottom:6px}
.reg-item{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:#fff}
.reg-item strong{font-size:15px}
@media(max-width:560px){.reg-item{flex-direction:column;align-items:flex-start;gap:8px}}


/* ---------- P1: Document library (#8) ---------- */
.doc-gate{text-align:center;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:48px 28px;max-width:620px;margin:0 auto}
.doc-gate svg{width:46px;height:46px;color:var(--blue);margin-bottom:14px}
.doc-gate h2{font-family:'Montserrat';font-weight:800;font-size:24px;margin-bottom:8px}
.doc-gate p{color:var(--slate);max-width:460px;margin:0 auto 22px}
.doc-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.chip-f{font-size:13.5px;font-weight:600;color:#44566f;border:1px solid var(--line);background:#fff;padding:8px 14px;border-radius:999px}
.chip-f:hover{border-color:var(--blue);color:var(--blue)}
.chip-f.on{background:var(--blue);color:#fff;border-color:var(--blue)}
.doc-list{display:flex;flex-direction:column;gap:12px}
.doc-row{display:flex;align-items:center;gap:18px;border:1px solid var(--line);border-radius:12px;padding:16px 18px;background:#fff;transition:.18s}
.doc-row:hover{border-color:var(--blue);box-shadow:0 12px 26px -20px rgba(0,96,192,.5)}
.doc-ic{flex:none;width:46px;height:46px;border-radius:10px;background:var(--surface);display:grid;place-items:center;color:var(--blue)}
.doc-ic svg{width:24px;height:24px}
.doc-meta{flex:1}
.doc-meta h3{font-size:16px;font-weight:700}
.doc-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.doc-tags span{font-size:11.5px;font-weight:600;color:#44566f;background:var(--surface);border:1px solid var(--line);padding:4px 9px;border-radius:6px}
.doc-dl{flex:none;padding:10px 18px;font-size:13.5px}
@media(max-width:560px){.doc-row{flex-wrap:wrap}.doc-dl{width:100%;justify-content:center}}

/* ---------- P1: Tender dossier request (#11) ---------- */
.single-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.dossier-box{background:#06203F;color:#fff;border-radius:16px;padding:28px;margin-top:26px}
.dossier-head{display:flex;gap:16px;align-items:flex-start;margin-bottom:18px}
.dossier-head svg{flex:none;width:34px;height:34px;color:var(--sky)}
.dossier-head h3{font-family:'Montserrat';font-weight:800;font-size:20px}
.dossier-head p{color:#b9c6da;font-size:14px;margin-top:6px}
.dossier-box .qf label{color:#cdd9ea}
.dossier-box .qf input,.dossier-box .qf textarea{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.18);color:#fff}
.dossier-box .qf input::placeholder,.dossier-box .qf textarea::placeholder{color:#7f93ad}
.dossier-box .qf input:focus,.dossier-box .qf textarea:focus{border-color:var(--sky);box-shadow:0 0 0 3px rgba(30,143,224,.25)}
.dossier-checks{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:4px}
.dossier-checks label{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;color:#dce7f5;font-weight:500}
.dossier-checks input{width:16px;height:16px;accent-color:var(--sky)}
.dossier-box .muted{color:#9fb1ca}
.dossier-protect{display:flex;gap:12px;align-items:flex-start;margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.14)}
.dossier-protect svg{flex:none;width:22px;height:22px;color:var(--sky);margin-top:2px}
.dossier-protect p{font-size:13.5px;color:#cdd9ea;line-height:1.55}
.dossier-protect a{color:#fff;font-weight:700;white-space:nowrap}
.dossier-protect a:hover{color:var(--sky)}

/* ---------- P1: Project-requirement search (#9) ---------- */
.tracuu-form{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:30px}
.tracuu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.tracuu-form label{font-size:12.5px;font-weight:600;color:#44566f;display:block;margin-bottom:5px}
.tracuu-form select,.tracuu-form input{width:100%;border:1px solid var(--line);border-radius:9px;padding:11px 13px;font-family:'Inter';font-size:14px;background:#fff}
.tracuu-form select:focus,.tracuu-form input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,96,192,.12)}
.tracuu-actions{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}
.tracuu-result-head{font-size:15px;color:#33455e;margin-bottom:18px}
@media(max-width:760px){.tracuu-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.tracuu-grid{grid-template-columns:1fr}}

/* ---------- P2: Quote cart (#12) ---------- */
.cart-link{position:relative;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:10px;color:var(--ink);transition:.18s}
.transparent .cart-link{color:#fff}
.cart-link:hover{background:var(--surface)}
.transparent .cart-link:hover{background:rgba(255,255,255,.12)}
.cart-count{position:absolute;top:2px;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--blue);color:#fff;font-size:11px;font-weight:700;align-items:center;justify-content:center}
.transparent .cart-count{background:#fff;color:var(--blue)}
.pcard-link{display:flex;flex-direction:column;flex:1;color:inherit;text-decoration:none}
.pcard-add{border:none;border-top:1px solid var(--line);background:#fff;color:var(--blue);font-family:'Inter';font-weight:700;font-size:13.5px;padding:13px;cursor:pointer;transition:.16s}
.pcard-add:hover{background:var(--blue);color:#fff}
.pcard-add.added{background:#0d8a4f;color:#fff}
.cart-table{width:100%;border-collapse:collapse;margin-bottom:8px}
#vlx-cart{overflow-x:auto}
.cart-table th{text-align:left;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--slate);padding:10px 8px;border-bottom:2px solid var(--line)}
.cart-table td{padding:14px 8px;border-bottom:1px solid var(--line);font-size:15px;vertical-align:middle}
.cart-table td:first-child{color:var(--slate);width:36px}
.cart-model{display:block;font-family:'IBM Plex Mono',monospace;font-size:12px;color:var(--slate);margin-top:3px}
.cart-qty{width:78px;border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-family:'Inter';font-size:14px}
.cart-qty:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,96,192,.12)}
.cart-del{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--slate);cursor:pointer;font-size:16px;line-height:1}
.cart-del:hover{border-color:#b42323;color:#b42323}






/* Hamburger từ ≤1024px (Surface/iPad ngang) — tránh menu ngang bị ngắt chữ ở dải 901–1024 */
@media(max-width:1024px){
  .menu{display:none}
  .menu-toggle{display:block}
  .nav-cta > .btn{display:none}
}
@media(max-width:900px){
  .inds{grid-template-columns:repeat(2,1fr)}
  .lines,.partner{grid-template-columns:1fr}
  .prod-grid{grid-template-columns:repeat(2,1fr)}
  .fg{grid-template-columns:1fr 1fr}
  .foot-brand{grid-column:1 / -1}
  .hero{padding:130px 0 80px}
}
@media(max-width:560px){
  .inds{grid-template-columns:1fr}
  .prod-grid{gap:12px}
  .fg{grid-template-columns:1fr}
  .foot-cta{flex-direction:column;align-items:flex-start;gap:18px}
  .foot-cta .acts{width:100%}
  .foot-cta .acts .btn{flex:1;justify-content:center}
  .fb{flex-direction:column;align-items:flex-start;gap:10px}
  .section{padding:62px 0}
  .hero{padding:104px 0 64px}
  .hero-stats{gap:28px;margin-top:34px}
  .qf .grid2{grid-template-columns:1fr}
  .line{flex-direction:column;align-items:flex-start}
  .compliance-in{gap:10px}
  .pledge-in{flex-direction:column;text-align:center;gap:14px}
  .pledge p{margin-left:auto;margin-right:auto}
  /* Header điện thoại: LUÔN hiện logo + chữ VILINK X (không co); ẩn nút CTA để đủ chỗ (CTA vẫn có trong menu + footer) */
  .brand{font-size:17px;gap:8px;flex-shrink:0}
  .brand svg{width:24px;height:24px}
  .brand-img{height:30px}
  .nav{gap:8px}
  .nav-cta{gap:8px}
}
/* Bảng .prose có thể tràn nếu nội dung trang chèn bảng — cho cuộn ngang an toàn */
.prose table{width:100%;border-collapse:collapse;display:block;overflow-x:auto}
.prose th,.prose td{border:1px solid var(--line);padding:8px 10px;text-align:left}

/* Mobile fixes bổ sung (rà soát) */
@media(max-width:900px){
  /* Bảng thông số kỹ thuật: ép vừa khung, cho phép xuống dòng, không tràn ngang (gồm cột phải tablet) */
  .spec-table{table-layout:fixed;font-size:13px}
  .spec-table thead th,.spec-table td,.spec-table tbody th{padding:8px 9px;word-break:break-word;overflow-wrap:anywhere}
  /* Cột STT: không xuống hàng, đủ rộng cho số 2 chữ số */
  .spec-table .c-stt{width:40px;padding-left:4px;padding-right:4px;white-space:nowrap;word-break:normal;overflow-wrap:normal;text-align:center}
  .spec-table .c-name{width:42%}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Mobile menu open state (toggled by tiny JS) */
.menu.open{display:flex;position:absolute;top:100%;left:0;right:0;flex-direction:column;background:#fff;padding:8px 26px 18px;gap:0;border-bottom:1px solid var(--line);box-shadow:0 18px 30px -22px rgba(0,0,0,.3);color:#3a4d66;z-index:70}
/* Mục menu mobile: full-width, vùng chạm to, có gạch phân cách */
.menu.open li{width:100%}
.menu.open a:not(.btn){display:block;padding:14px 2px;font-size:15px;font-weight:600;color:#26384f;border-bottom:1px solid var(--line)}
.menu.open a:not(.btn):hover{color:var(--blue)}
.menu.open .current-menu-item>a{color:var(--blue)}
/* Nút CTA trong menu: chỉ hiện khi mở dropdown mobile */
.menu-cta{display:none}
.menu.open .menu-cta{display:block;margin-top:14px}
.menu.open .menu-cta .btn{width:100%;justify-content:center}

/* ============================================================
   BLOG / TIN TỨC
   ============================================================ */
.news-hero{background:linear-gradient(160deg,#f5f8fc,#eaf2fb);border-bottom:1px solid var(--line);padding:54px 0 46px}
.news-hero .eyebrow{color:var(--blue)}
.news-hero h1{font-size:clamp(28px,4vw,46px);font-weight:800;margin-top:12px}
.news-hero p{color:var(--slate);margin-top:12px;max-width:620px;font-size:15.5px}
.news-cats{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:30px}

.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.post-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:.2s}
.post-card:hover{box-shadow:0 22px 46px -28px rgba(0,96,192,.5);border-color:transparent;transform:translateY(-4px)}
.pc-thumb{position:relative;display:block;aspect-ratio:16/9;background:linear-gradient(150deg,#eaf2fb,#dce9f8);overflow:hidden}
.pc-thumb img{width:100%;height:100%;object-fit:cover}
.pc-ph{width:100%;height:100%;display:grid;place-items:center}
.pc-cat{position:absolute;top:12px;left:12px;z-index:2;font-size:11.5px;font-weight:700;color:#fff;background:var(--blue);padding:4px 10px;border-radius:999px}
.pc-body{padding:20px;display:flex;flex-direction:column;flex:1}
.pc-meta{font-size:12.5px;color:var(--slate);display:flex;gap:6px;margin-bottom:9px}
.pc-title{font-family:'Montserrat';font-weight:800;font-size:18px;line-height:1.3;margin-bottom:9px}
.pc-title a:hover{color:var(--blue)}
.pc-ex{color:var(--slate);font-size:14px;flex:1}
.pc-more{margin-top:14px;font-size:13.5px;font-weight:700;color:var(--blue);display:inline-flex;align-items:center;gap:7px}
.post-card:hover .pc-more svg{transform:translateX(4px)}.pc-more svg{transition:.2s}

/* Single post */
.ps-hero{background:linear-gradient(160deg,#f5f8fc,#eaf2fb);border-bottom:1px solid var(--line);padding:40px 0 36px}
.ps-cat{display:inline-block;font-size:12px;font-weight:700;color:#fff;background:var(--blue);padding:5px 12px;border-radius:999px;margin-bottom:14px}
.post-single h1{font-size:clamp(26px,3.6vw,40px);font-weight:800;line-height:1.18}
.ps-meta{margin-top:14px;color:var(--slate);font-size:13.5px;display:flex;gap:7px;flex-wrap:wrap}
.ps-thumb{margin:30px 0;border-radius:16px;overflow:hidden;border:1px solid var(--line)}
.ps-thumb img{width:100%;height:auto;display:block}
.ps-content{margin-top:30px}
.ps-tags{display:flex;gap:9px;flex-wrap:wrap;margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}
.ps-tags a{font-size:13px;font-weight:600;color:#44566f;background:var(--surface);border:1px solid var(--line);padding:6px 12px;border-radius:8px}
.ps-tags a:hover{border-color:var(--blue);color:var(--blue)}
.related{margin-top:48px;padding-top:30px;border-top:1px solid var(--line)}
.related h2{font-family:'Montserrat';font-weight:800;font-size:22px;margin-bottom:22px}

/* Search */
.search-row{padding:20px 0;border-bottom:1px solid var(--line)}
.search-row h2{font-size:20px;font-weight:700;margin-bottom:6px}
.search-row h2 a:hover{color:var(--blue)}

@media(max-width:900px){.post-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.post-grid{grid-template-columns:1fr}}

/* ---------- Giải pháp theo lĩnh vực (page-giai-phap) ---------- */
.sol-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.sol-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px 28px;transition:.2s}
.sol-card:hover{transform:translateY(-4px);box-shadow:0 22px 44px -28px rgba(0,96,192,.45)}
.sol-ic{width:54px;height:54px;border-radius:14px;background:linear-gradient(150deg,#0060C0,#004a96);display:grid;place-items:center;color:#fff;margin-bottom:16px}
.sol-ic svg{width:28px;height:28px}
.sol-card h3{font-size:19px;font-weight:800;line-height:1.25}
.sol-desc{font-size:14px;color:var(--slate);margin:8px 0 16px}
.sol-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.sol-list li{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.5}
.sol-list li svg{flex:none;width:18px;height:18px;color:var(--blue);margin-top:2px}
.proj-tag{display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--blue);background:rgba(0,96,192,.08);border:1px solid rgba(0,96,192,.18);padding:5px 11px;border-radius:999px}
@media(max-width:760px){.sol-grid{grid-template-columns:1fr}}

/* ---------- Dự án: card link + cover ---------- */
.sol-link{display:flex;flex-direction:column;text-decoration:none;color:inherit}
.sol-link h3{transition:color .18s}
.sol-link:hover h3{color:var(--blue)}
.sol-cover{position:relative;border-radius:12px;overflow:hidden;aspect-ratio:16/10;background:var(--surface)}
.sol-cover img{width:100%;height:100%;object-fit:cover;display:block}
.sol-cover-ph{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(160deg,#eaf2fb,#dbe9f8)}
.sol-cover-tag{position:absolute;top:12px;left:12px;background:#fff;border-color:rgba(0,96,192,.12)}
.sol-link .pc-more{margin-top:auto;display:inline-flex;align-items:center;gap:6px;color:var(--blue);font-weight:700;font-size:14px;padding-top:6px}

/* ---------- Dự án: trang chi tiết ---------- */
.pj-cover{border-radius:16px;overflow:hidden;margin:0 0 30px;border:1px solid var(--line)}
.pj-cover img{width:100%;height:auto;display:block}
.pj-layout{display:grid;grid-template-columns:1fr 320px;gap:38px;align-items:start}
.pj-aside{display:flex;flex-direction:column;gap:16px;position:sticky;top:100px}
.pj-facts{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 22px}
.pj-facts h3{font-size:15px;font-weight:800;margin-bottom:12px}
.pj-fact{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-top:1px solid var(--line);font-size:13.5px}
.pj-fact:first-of-type{border-top:0;padding-top:0}
.pj-fact span{color:var(--slate);flex:none}
.pj-fact strong{text-align:right}
@media(max-width:900px){.pj-layout{grid-template-columns:1fr;gap:26px}.pj-aside{position:static}}
