/* Theme "Alenco" (ADR-0062, hướng A "Tăng trưởng" — chủ doanh nghiệp chọn 27/11/2026) — kế thừa "Cơ bản" (ADR-0054), nạp sau co-ban.css.
 * Màu lấy từ logo ALENCO.vn: xanh than #3F5564 + cam mũi tên #F1592A; nút / chữ nhấn dùng cam đậm #C2410C (tương phản ≥ 4.5:1 trên nền
 * trắng). Be Vietnam Pro (tự lưu ở co-ban/fonts, tới độ đậm 700). */
:root {
  --bg: #FFFFFF; --surface: #F2F5F8; --paper: #FFFFFF; --ink: #14222D; --muted: #4F6170; --line: #DCE3E9;
  --accent: #C2410C; --accent-dark: #9A3412; --on-accent: #FFFFFF; --link: #C2410C;
  --brand: #3F5564; --brand-orange: #F1592A;
  --band: #1F3442; --on-band: #F2F6F9; --band-muted: #B6C4CE; --band-line: rgba(242, 246, 249, .16);
  --chip: #FDEDE6; --chip-ink: #9A3412;
  --display-weight: 700;
  --r: 14px; --r-btn: 10px; --max: 1200px;
  --shadow: 0 18px 40px -28px rgba(20, 34, 45, .35);
}

body { font-size: 16.5px; }
h1, h2, h3 { letter-spacing: -.025em; }
h1 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.07; }
h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.14; }
a { color: var(--link); }
.cb-eyebrow { color: var(--chip-ink); background: var(--chip); display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 700; letter-spacing: .08em; }

/* Thanh trên tối xanh than, đầu trang trắng có vạch mảnh */
.cb-topbar { background: var(--band); color: var(--band-muted); }
.cb-header { background: #FFFFFF; border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(20, 34, 45, .02); }
.cb-logo-img img { height: 38px; }
.cb-menu__link { font-weight: 600; }
.cb-menu__link:hover, .cb-menu__item.is-open > .cb-menu__top .cb-menu__link { color: var(--accent); }

/* Nút: cam đậm, bo 10 px; nút viền xanh than */
.cb-btn, .blk-btn { border-radius: var(--r-btn); font-weight: 700; }
.cb-btn--primary, .blk-btn--primary { background: var(--accent); color: var(--on-accent); }
.cb-btn--primary:hover, .blk-btn--primary:hover { background: var(--accent-dark); color: var(--on-accent); }
.blk-btn--secondary { border-color: var(--brand); color: var(--brand); background: transparent; }
.blk-btn--secondary:hover { background: var(--brand); color: #FFFFFF; }
.blk-section--band .blk-btn--primary { background: var(--brand-orange); color: #14222D; }
.blk-section--band .blk-btn--primary:hover { background: #FF7A4F; color: #14222D; }

/* Phần nền: mặc định trắng; "nền xám" = xanh nhạt; "nền tối" = xanh than */
.blk-section { border-top-color: var(--line); }
.blk-section--surface { background: var(--surface); }
.blk-section--band { background: var(--band); }
.cb-page-body > .blk-section:first-child { background: radial-gradient(#D5DEE5 1.2px, transparent 1.2px) 0 0 / 24px 24px, #FFFFFF; }

/* Thẻ: nền trắng, viền mảnh, bóng nhẹ, bo 14 px */
.blk-cards > .blk-cols > .blk-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.blk-cards > .blk-cols > .blk-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -30px rgba(20, 34, 45, .45); }
.blk-cards > .blk-cols > .blk-card:has(> .cb-media) { padding: 0 0 20px; overflow: hidden; }
.blk-cards > .blk-cols > .blk-card:has(> .cb-media) > :not(.cb-media) { padding-inline: 20px; }
.blk-cards > .blk-cols > .blk-card:has(> .cb-media) .cb-media img { border-radius: 0; }
.blk-card .blk-more { color: var(--accent); }
/* Lưới 4 thẻ có ảnh: Cơ bản phủ chữ lên ảnh — Alenco giữ ảnh trên, chữ dưới (ảnh bìa bài / mẫu web vốn đã có chữ) */
.blk-cards > .blk-cols--4:has(> :nth-child(4)) > .blk-card:has(> .cb-media) { aspect-ratio: auto; justify-content: flex-start; isolation: auto; color: var(--ink); background: #FFFFFF; }
.blk-cards > .blk-cols--4:has(> :nth-child(4)) > .blk-card:has(> .cb-media)::before { content: none; }
.blk-cards > .blk-cols--4:has(> :nth-child(4)) > .blk-card:has(> .cb-media) > .cb-media { position: static; inset: auto; z-index: auto; }
.blk-cards > .blk-cols--4:has(> :nth-child(4)) > .blk-card:has(> .cb-media) > .cb-media img { height: auto; aspect-ratio: 3 / 2; }
.blk-cards > .blk-cols--4:has(> :nth-child(4)) > .blk-card:has(> .cb-media) :is(h2, h3, h4) { font-size: 17px; line-height: 1.35; }
.blk-cards > .blk-cols--4:has(> :nth-child(4)) > .blk-card:has(> .cb-media) :is(h2, h3, h4) a { color: var(--ink); }
.blk-cards > .blk-cols--4:has(> :nth-child(4)) > .blk-card:has(> .cb-media) p { color: var(--muted); }
.blk-cards > .blk-cols--4:has(> :nth-child(4)) > .blk-card:has(> .cb-media) .blk-more { color: var(--accent); }
.blk-post-list .blk-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r); padding: 0 0 18px; overflow: hidden; }
.blk-post-list .blk-card > :not(.cb-media) { padding-inline: 18px; }
.blk-post-list .blk-card .cb-media img { border-radius: 0; }

/* Số liệu, bảng, hỏi đáp, form */
.blk-section--band .blk-card p, .blk-section--band .blk-card time { color: var(--band-muted); }
.blk-faq details { border-color: var(--line); }
.blk-faq summary::after { color: var(--accent); }
.blk-form, .blk-contact-form { border-radius: var(--r); }
.blk-form input, .blk-form select, .blk-form textarea { border-radius: 10px; }

/* Thư viện mẫu web (trang ngành): khung ảnh như trình duyệt */
.blk-gallery figure { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.blk-gallery figure img { border-radius: 0; }
.blk-gallery figcaption { padding: 10px 14px; font-weight: 600; color: var(--ink); }

/* Chân trang tối; logo chuyển trắng */
.cb-footer { background: #14222D; }
.cb-footer .cb-logo-img img { filter: brightness(0) invert(1); }

@media (max-width: 719.98px) {
  body { font-size: 16px; }
  .cb-logo-img img { height: 32px; }
  .blk-cards > .blk-cols > .blk-card { padding: 18px; }
}
