/*
Theme Name: Thủy Liên Phát
Theme URI: https://thuylienphat.com
Description: Theme riêng cho thuylienphat.com (nền tảng chung với cuachongngap.vn, giao diện riêng) — hiện đại, nhẹ, ưu tiên mobile, chuẩn SEO, giữ nguyên URL web cũ (cần mu-plugin tlp-legacy-urls).
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: tlp
*/

/* =========================================================
   Tokens
   ========================================================= */
:root {
	--navy: #08223d;
	--navy-2: #0d3560;
	--primary: #0b6aa8;
	--primary-dark: #084f7e;
	--brand: #2098d1;
	--sky: #eaf5fc;
	--sky-2: #d6ebf8;
	--accent: #f7931e;
	--accent-dark: #d97a08;
	--ink: #13212e;
	--text: #34434f;
	--muted: #66737f;
	--line: #e2e9ef;
	--bg: #ffffff;
	--bg-alt: #f5f8fb;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(8, 34, 61, .06), 0 2px 8px rgba(8, 34, 61, .05);
	--shadow: 0 10px 30px rgba(8, 34, 61, .08);
	--shadow-lg: 0 24px 60px rgba(8, 34, 61, .16);
	--container: 1240px;
	--gutter: 16px;
	--cta-h: 62px;
	--header-h: 64px;
	--font: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 16px/1.7 var(--font); color: var(--text); background: var(--bg); padding-bottom: var(--cta-h); -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.22; margin: 0 0 .55em; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 5.2vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.15rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.3rem); font-weight: 700; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--sky-2); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.icon { flex: none; vertical-align: middle; }
.center { text-align: center; }
.hp { position: absolute !important; left: -9999px !important; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }

/* =========================================================
   Buttons & chips
   ========================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 11px 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .15s, color .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(11, 106, 168, .28); }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--accent { background: var(--accent); color: #1a1a1a; box-shadow: 0 6px 18px rgba(247, 147, 30, .35); }
.btn--accent:hover { background: var(--accent-dark); color: #1a1a1a; }
.btn--ghost { border-color: currentColor; color: var(--primary); background: transparent; }
.btn--ghost:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--light { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.08); }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; background: #fff; transition: .15s; }
.chip.is-active, .chip:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--sky); color: var(--primary-dark); }
.badge .icon { width: 16px; height: 16px; color: var(--brand); }

/* =========================================================
   Topbar & header
   ========================================================= */
.topbar { display: none; background: var(--navy); color: #b8c7d6; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-left: 18px; }
.topbar .icon { width: 15px; height: 15px; opacity: .8; }

/* Nền mờ đặt ở ::before: backdrop-filter trên chính header sẽ giam menu điện thoại (position: fixed) trong header cao 64px và đẩy trang tràn ngang */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); }
.nav-open .site-header { z-index: 110; } /* menu mở nằm trên lớp phủ tối và thanh Gọi/Zalo */
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.logo img { height: 44px; width: auto; }
.logo__text { font-weight: 800; font-size: 1.2rem; color: var(--primary); }
/* Chữ trong ảnh logo quá nhỏ: ghi tên thương hiệu bên cạnh (ẩn trên máy tính vì thiếu chỗ cho menu) */
.logo__name { margin-left: 8px; font-weight: 800; font-size: 1.05rem; line-height: 1.1; color: var(--primary); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.logo__name small { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; letter-spacing: .08em; color: var(--muted); }

.header-call { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; }
.header-call .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--accent); color: #1a1a1a; }
.header-call span { display: none; line-height: 1.15; }
.header-call small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.header-quote { display: none; }

.nav-toggle, .nav-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--bg-alt); cursor: pointer; color: var(--ink); }
.nav-toggle .icon, .nav-close .icon { width: 24px; height: 24px; }

/* Menu mobile: ngăn kéo */
.main-nav { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: #fff; z-index: 100; transform: translateX(100%); transition: transform .28s var(--ease), visibility .28s; overflow-y: auto; box-shadow: var(--shadow-lg); visibility: hidden; }
.main-nav.is-open { transform: none; visibility: visible; }
.main-nav__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.main-nav .menu, .main-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.main-nav .menu { padding: 8px 0; }
.main-nav a { display: block; padding: 13px 20px; color: var(--ink); text-decoration: none; font-weight: 600; }
.main-nav .sub-menu { padding-bottom: 6px; }
.main-nav .sub-menu a { padding: 9px 20px 9px 36px; font-weight: 500; color: var(--muted); font-size: 15px; }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav a:hover { color: var(--primary); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(8, 34, 61, .5); z-index: 90; backdrop-filter: blur(2px); }
body.nav-open { overflow: hidden; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--sky { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); }
.section--dark { background: var(--navy); color: #c5d3e0; }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section--dark .section-head p { color: #a9bccd; }
.section-head--left { margin-left: 0; text-align: left; }
.section-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

/* =========================================================
   Hero (trang chủ)
   ========================================================= */
.hero { position: relative; overflow: hidden; color: #d7e4ef; background: radial-gradient(1200px 500px at 85% -10%, rgba(32,152,209,.45), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #0b4f86 100%); padding: 36px 0 84px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 40c120 18 240 28 360 22S600 30 720 22s240-6 360 6 240 30 360 26V70H0z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.hero .eyebrow { color: #7cc7ee; }
.hero__title { color: #fff; margin-bottom: 14px; }
.hero__title span { background: linear-gradient(90deg, var(--accent), #ffc36b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { font-size: 1.06rem; color: #c9d8e6; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: #c9d8e6; }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust .icon { width: 18px; height: 18px; color: #5fd08b; }
.hero__media { position: relative; }
.hero__media .slider { border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }

/* Slider */
.slider { position: relative; overflow: hidden; background: #0b2c4d; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__slide { flex: 0 0 100%; scroll-snap-align: start; }
.slider__slide img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; display: none; box-shadow: var(--shadow-sm); }
.slider__nav--prev { left: 12px; }
.slider__nav--next { right: 12px; }
.slider__dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0; } /* dải riêng dưới ảnh: không đè lên chữ trong ảnh trình chiếu */
.slider__dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: width .2s; }
.slider__dots button[aria-current="true"] { background: var(--accent); width: 22px; border-radius: 5px; }

/* Dải con số */
.stats-bar { position: relative; z-index: 2; margin-top: -56px; }
.stats-bar__inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat { background: #fff; padding: 18px 12px; text-align: center; }
.stat strong { display: block; font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }

/* =========================================================
   Cards & grids
   ========================================================= */
.grid { display: grid; gap: 16px; }
.grid--cats { grid-template-columns: 1fr; }
.grid--products, .grid--featured { grid-template-columns: repeat(2, 1fr); }
.grid--posts { grid-template-columns: 1fr; }
.grid--usps { grid-template-columns: 1fr; }
.grid--steps { grid-template-columns: 1fr; counter-reset: step; }

.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { display: block; overflow: hidden; background: var(--bg-alt); }
.card__media img, .card__media .img-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card--product .card__media { background: linear-gradient(180deg, #fff, var(--bg-alt)); }
.card--product .card__media img { object-fit: contain; padding: 10px; }
.card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.card__title { font-size: 1rem; margin: 0; font-weight: 700; line-height: 1.35; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* cả thẻ bấm được */
.card__title a:hover { color: var(--primary); }
.card__date { font-size: 13px; color: var(--muted); }
.card__excerpt { color: var(--muted); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.card__more .icon { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__more .icon { transform: translateX(3px); }

/* Thẻ danh mục */
.cat-card { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.cat-card img { width: 112px; height: 96px; object-fit: cover; border-radius: 12px; background: var(--bg-alt); }
.cat-card h3 { font-size: 1.05rem; margin: 0 0 4px; }
.cat-card p { font-size: 14px; color: var(--muted); margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card__more { font-size: 14px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.cat-card__more .icon { width: 16px; height: 16px; }

/* Sản phẩm nổi bật */

/* Điểm mạnh */
.usp { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.usp__icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--sky); color: var(--primary); }
.usp__icon .icon { width: 24px; height: 24px; }
.usp h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.usp p { margin: 0; font-size: 14px; color: var(--muted); }
.section--dark .usp { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--dark .usp p { color: #a9bccd; }
.section--dark .usp__icon { background: rgba(32,152,209,.18); color: #7cc7ee; }

/* Quy trình */
.step { position: relative; padding: 22px 18px 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-size: 2rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--brand); margin-bottom: 10px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--brand); margin-top: 3px; }

/* Ứng dụng */
.apps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.app { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.app img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s var(--ease); }
.app:hover img { transform: scale(1.05); }
.app figcaption { position: absolute; inset: auto 0 0; padding: 28px 10px 12px; text-align: center; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(8,34,61,.85)); }

/* Video, đối tác */
.videos__row, .partners__row { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.videos__row > *, .partners__row > * { scroll-snap-align: start; }
.yt { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000; aspect-ratio: 16 / 9; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); background: #f00; border-radius: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.yt__play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.yt--content { margin: 18px 0; }
.partners__row { grid-auto-columns: 42%; align-items: center; }
/* Logo đã chuẩn hóa sẵn khung trắng 400x200 (tools/logo-doi-tac.mjs): hiển thị đủ màu, cùng kích thước */
.partners__row img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: transform .2s, box-shadow .2s; }
/* Video mp4 tự lưu trên trang sản phẩm: giữ đúng tỉ lệ gốc (dọc, vuông, ngang) */
.product-videos { margin-top: 28px; }
.product-videos h2 { font-size: 1.35rem; margin: 0 0 14px; }
.product-videos__list { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.product-videos__item { margin: 0; flex: 1 1 280px; max-width: 100%; }
.product-videos__item.is-tall { flex: 0 1 360px; } /* video dọc/vuông: khung hẹp theo đúng tỉ lệ */
.product-videos__item video { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 16 / 9); background: #000; border-radius: 12px; }
.product-videos__item figcaption { margin-top: 8px; font-size: .9rem; color: var(--muted, #555); }
.partners__row img:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.08); }

/* =========================================================
   Page hero (danh mục, trang, sản phẩm)
   ========================================================= */
.page-hero { position: relative; background: linear-gradient(180deg, var(--sky) 0%, #f7fbfe 100%); border-bottom: 1px solid var(--line); padding: 8px 0 30px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(32,152,209,.18), transparent 70%); }
.page-hero > .container { position: relative; }
.page-hero__title { color: var(--ink); margin: 10px 0 10px; }
.page-hero__lead { font-size: 1.05rem; color: var(--text); max-width: 760px; margin-bottom: 18px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-hero--compact { padding-bottom: 22px; }
.page-hero .chips { margin-top: 18px; }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 14px 0 0; margin: 0; font-size: 13.5px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }
.empty { padding: 30px 0; color: var(--muted); }
.pagination ul { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 28px 0 0; margin: 0; }
.pagination a, .pagination span { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* =========================================================
   Nội dung dài (prose) — bảng, hỏi đáp
   ========================================================= */
.prose { overflow-wrap: anywhere; font-size: 1.02rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin: 1.8em 0 .6em; padding-left: 14px; border-left: 4px solid var(--brand); font-size: clamp(1.3rem, 3vw, 1.75rem); }
.prose h3 { margin: 1.5em 0 .5em; }
.prose img { border-radius: 12px; margin: 16px auto; height: auto; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--brand); }
.prose a { font-weight: 600; }
.table-wrap, .prose table { width: 100%; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.prose table { border-collapse: collapse; font-size: 15px; min-width: 560px; }
/* Điện thoại: bảng chưa bọc .table-wrap tự cuộn ngang trong khung, không kéo rộng cả trang */
@media (max-width: 767px) { .prose table:not(.table-wrap table) { display: block; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--navy); color: #fff; font-weight: 700; }
.prose thead th a { color: #fff; }
.prose tbody th { background: var(--bg-alt); color: var(--ink); width: 34%; }
.prose tbody tr:nth-child(even) td { background: #fafcfe; }
.prose tbody tr:last-child td, .prose tbody tr:last-child th { border-bottom: 0; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: var(--sky-2); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 700; color: var(--ink); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--primary); font-size: 20px; font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > *:not(summary) { padding: 0 18px; margin: 0 0 16px; color: var(--text); }

/* =========================================================
   Sản phẩm
   ========================================================= */
.product__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 20px; padding-bottom: 8px; } /* minmax(0): dải ảnh nhỏ cuộn ngang, không kéo rộng cả trang */
.product__main { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.product__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.product__thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; }
.product__thumbs button { flex: none; width: 76px; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; transition: border-color .15s; }
.product__thumbs button.is-active { border-color: var(--accent); }
.product__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product__cat { margin-bottom: 4px; }
.product__title { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 8px 0 10px; }
.product__lead { font-size: 1.04rem; color: var(--text); }
.product__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.product__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.product__actions .btn { padding-left: 12px; padding-right: 12px; }
.specs { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-top: 14px; }
.specs__title { font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; color: var(--primary); margin-bottom: 8px; }
.specs ul { margin: 0; padding-left: 18px; }
.specs li { margin-bottom: 5px; }
.specs li::marker { color: var(--brand); }
.specs p { margin: 0 0 6px; }
.specs--compact { background: none; border: 0; padding: 0; margin: 0; font-size: 15px; }
.subnav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-top: 28px; }
.subnav .chips { padding: 10px 0; }
.product__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 28px; }
.aside-card { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #c9d8e6; border-radius: var(--radius); padding: 22px; }
.aside-card h2 { color: #fff; font-size: 1.2rem; }
.aside-card .btn { width: 100%; margin-top: 10px; }

/* =========================================================
   Bài viết / trang
   ========================================================= */
.entry__meta { color: var(--muted); font-size: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.entry__cover { margin: 0 0 24px; }
.entry__cover img { width: 100%; border-radius: var(--radius); }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.contact-card .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--sky); color: var(--primary); }
.contact-card h2 { font-size: 1rem; margin: 10px 0 4px; }
.contact-card a { display: block; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.notfound { padding: 64px var(--gutter); text-align: center; }
.notfound__code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; line-height: 1; color: var(--sky-2); }

/* =========================================================
   Form báo giá
   ========================================================= */
.quote { padding: 56px 0; background: var(--bg-alt); }
.quote__card { display: grid; gap: 24px; padding: 26px 20px; border-radius: calc(var(--radius) + 8px); color: #c9d8e6; background: radial-gradient(600px 300px at 0% 0%, rgba(32,152,209,.4), transparent 60%), linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); box-shadow: var(--shadow-lg); }
.quote h2 { color: #fff; }
.quote__hotline { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 1.5rem; font-weight: 800; text-decoration: none; margin-top: 6px; }
.quote__hotline .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--accent); color: #1a1a1a; }
.quote__hotline:hover { color: var(--accent); }
.quote__perks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.quote__perks li { display: flex; gap: 8px; align-items: center; }
.quote__perks .icon { color: #5fd08b; width: 18px; height: 18px; }
.quote__form { display: grid; gap: 12px; background: #fff; color: var(--ink); padding: 20px; border-radius: var(--radius); }
.quote__form label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; }
.quote__form input, .quote__form select, .quote__form textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #cdd8e1; border-radius: 12px; background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.dealer-form { margin: 20px 0; border: 2px solid var(--sky-2); scroll-margin-top: calc(var(--header-h) + 16px); }
.dealer-form p { margin: 0; }
.dutoan { background: var(--sky); border: 1px solid var(--sky-2); border-radius: var(--radius); padding: 16px; margin: 20px 0; }
.dutoan__inputs { display: grid; gap: 12px; margin-bottom: 12px; }
.dutoan label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.dutoan input, .dutoan select { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #cdd8e1; border-radius: 12px; background: #fff; font-size: 16px; }
.dutoan input:focus, .dutoan select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(32,152,209,.15); }
.prose .dutoan .table-wrap { margin: 0 0 12px; background: #fff; }
.prose .dutoan table { min-width: 0; }
.dutoan__out th { width: 55%; }
.dutoan__out td { font-weight: 700; color: var(--ink); }
.dutoan__warn { color: var(--accent-dark); font-weight: 600; }
@media (min-width: 768px) { .dutoan { padding: 24px; } .dutoan__inputs { grid-template-columns: repeat(3, 1fr); } }
.quote__form input:focus, .quote__form select:focus, .quote__form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(32,152,209,.15); }
.quote__note { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.notice { padding: 11px 14px; border-radius: 10px; margin: 0; font-weight: 600; }
.notice--success { background: #e5f6ea; color: #17602f; }
.notice--error { background: #fdecea; color: #8a1c12; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy); color: #a9bccd; padding: 48px 0 20px; font-size: 15px; }
.site-footer a { color: #dbe6f0; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 52px; width: auto; margin-bottom: 14px; background: #fff; border-radius: 10px; padding: 4px 8px; }
.footer-brand p { margin-bottom: 10px; }
.footer-col h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-hotline { display: inline-flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 800; color: #fff !important; }
.footer-hotline .icon { color: var(--accent); }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.branches { display: grid; gap: 12px; padding: 28px 0; }
.branch h3 { font-size: .95rem; color: #fff; margin-bottom: 4px; }
.branch p { margin: 0 0 3px; display: flex; gap: 6px; align-items: flex-start; font-size: 14px; }
.branch .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--brand); }
.branch--hq h3 { color: var(--accent); }
.branches--light { padding: 0; margin-bottom: 28px; }
.branches--light .branch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.branches--light .branch h3 { color: var(--primary); }
.branches--light .branch p { display: block; color: var(--text); }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.copyright p { margin: 0; }

/* =========================================================
   CTA nổi
   ========================================================= */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.2fr 1fr 1fr; height: var(--cta-h); background: #fff; box-shadow: 0 -4px 20px rgba(8,34,61,.12); padding-bottom: env(safe-area-inset-bottom); }
.mobile-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.mobile-cta .icon { width: 22px; height: 22px; }
.mobile-cta__call { background: var(--accent); color: #1a1a1a !important; }
.mobile-cta__zalo .icon { color: #0068ff; }
.mobile-cta__quote .icon { color: var(--primary); }
.float-cta { display: none; }

/* Hiệu ứng xuất hiện khi cuộn */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   ≥ 600px
   ========================================================= */
@media (min-width: 600px) {
	:root { --gutter: 22px; }
	.grid--products { grid-template-columns: repeat(3, 1fr); }
	.grid--posts, .grid--cats, .grid--usps, .grid--steps { grid-template-columns: repeat(2, 1fr); }
	.stats-bar__inner { grid-template-columns: repeat(4, 1fr); }
	.branches { grid-template-columns: repeat(2, 1fr); }
	.videos__row { grid-auto-columns: 46%; }
	.partners__row { grid-auto-columns: 23%; }
	.contact-cards { grid-template-columns: repeat(4, 1fr); }
	.quote__form { grid-template-columns: 1fr 1fr; }
	.quote__form .full { grid-column: 1 / -1; }
	.header-call span { display: block; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.product__actions { display: flex; flex-wrap: wrap; }
}

/* =========================================================
   ≥ 1024px: desktop
   ========================================================= */
@media (min-width: 1024px) {
	:root { --gutter: 28px; --cta-h: 0px; --header-h: 78px; }
	body { padding-bottom: 0; }
	.topbar { display: block; }
	.mobile-cta, .nav-toggle, .main-nav__head, .nav-backdrop { display: none !important; }
	.site-header__inner { gap: 28px; }
	.logo img { height: 56px; }
	.logo { margin-right: 0; }
	.header-quote { display: inline-flex; min-height: 44px; padding: 9px 18px; }
	.main-nav { position: static; transform: none; visibility: visible; width: auto; box-shadow: none; overflow: visible; background: none; margin-right: auto; }
	.main-nav .menu { display: flex; gap: 2px; padding: 0; }
	.main-nav .menu > li { position: relative; }
	.main-nav .menu > li > a { padding: 27px 12px; font-size: 15px; font-weight: 600; position: relative; }
	.main-nav .menu > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 18px; height: 2px; background: var(--brand); border-radius: 2px; transform: scaleX(0); transition: transform .2s var(--ease); }
	.main-nav .menu > li:hover > a::after, .main-nav .menu > .current-menu-item > a::after, .main-nav .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
	.main-nav .menu-item-has-children > a { padding-right: 30px; }
	.main-nav .menu-item-has-children > a::before { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: .6; }
	.main-nav .sub-menu { position: absolute; left: 0; top: 100%; min-width: 280px; padding: 8px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); border-radius: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s var(--ease); }
	.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.main-nav .sub-menu a { padding: 10px 14px; color: var(--ink); border-radius: 10px; font-size: 15px; }
	.main-nav .sub-menu a:hover { background: var(--sky); color: var(--primary); }
	.slider__nav { display: block; }
	.section { padding: 88px 0; }
	.section-head { margin-bottom: 44px; }
	.hero { padding: 64px 0 130px; }
	.hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
	.stats-bar { margin-top: -80px; }
	.stat { padding: 26px 16px; }
	.grid { gap: 24px; }
	.grid--products, .grid--featured { grid-template-columns: repeat(4, 1fr); }
	.grid--posts { grid-template-columns: repeat(3, 1fr); }
	.grid--usps, .grid--steps { grid-template-columns: repeat(4, 1fr); }
	.grid--cats { grid-template-columns: repeat(2, 1fr); }
	.cat-card { grid-template-columns: 170px 1fr; padding: 14px; gap: 20px; }
	.cat-card img { width: 170px; height: 140px; }
	.apps__grid { gap: 20px; }
	.videos__row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
	.partners__row { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; }
	.page-hero { padding: 10px 0 48px; }
	.product__top { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; padding-top: 28px; }
	.product__summary { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
	.product__body { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
	.product__aside { position: sticky; top: calc(var(--header-h) + 76px); align-self: start; }
	.quote__card { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; padding: 44px; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
	.footer-brand { grid-column: auto; }
	.branches { grid-template-columns: repeat(3, 1fr); }
	.float-cta { display: flex; flex-direction: column; gap: 10px; position: fixed; right: 18px; bottom: 24px; z-index: 60; }
	.float-cta a { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 13px; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
	.float-cta a:hover { transform: scale(1.06); }
	.float-cta__zalo { background: #0068ff; }
	.float-cta__call { background: var(--accent); color: #1a1a1a !important; animation: tlp-pulse 2s infinite; }
	.float-cta__call .icon { width: 26px; height: 26px; }
}

@keyframes tlp-pulse { 0% { box-shadow: 0 0 0 0 rgba(247,147,30,.6); } 70% { box-shadow: 0 0 0 16px rgba(247,147,30,0); } 100% { box-shadow: 0 0 0 0 rgba(247,147,30,0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.branch-box { margin: 18px 0; padding: 16px 18px; border-radius: 14px; background: var(--sky); border-left: 4px solid var(--brand); }
.prose figure { margin: 20px 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 8px; }
/* Ảnh hướng dẫn có nút tải ảnh gốc (bài bid43–45) */
.hd-fig img { border: 1px solid var(--line); border-radius: 10px; }
.hd-dl { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--sky); color: var(--primary); font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; }
.hd-dl:hover { background: var(--primary); color: #fff; }
.prose .note { padding: 14px 16px; border-radius: 12px; background: #fff7ec; border: 1px solid #fde3bf; }

/* Desktop nhỏ (1024–1279px): menu 7 mục trên một dòng */
@media (min-width: 1024px) {
	.main-nav .menu > li > a, .header-quote, .header-call span { white-space: nowrap; }
}
/* Tên thương hiệu cạnh logo chỉ hiện trên điện thoại/máy tính bảng: header máy tính rộng tối đa 1240px (--container) dù màn hình lớn, menu 7 mục đã dùng hết chỗ – hiện chữ sẽ đè lên menu */
@media (min-width: 1024px) {
	.logo__name { display: none; }
	.logo { flex-shrink: 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.site-header__inner { gap: 16px; }
	.logo img { height: 48px; }
	.main-nav .menu > li > a { padding-left: 8px; padding-right: 8px; font-size: 14px; }
	.main-nav .menu-item-has-children > a { padding-right: 25px; }
	.main-nav .menu-item-has-children > a::before { right: 8px; }
	.main-nav .menu > li > a::after { left: 8px; right: 8px; }
	.header-quote, .header-call span { display: none !important; }
}

/* ---------- Hồ sơ năng lực, dự án, logo (nội dung từ hồ sơ/catalogue) ---------- */
.tlp-lead { font-size: 1.08rem; }
.tlp-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.tlp-downloads .btn { text-decoration: none; }
.tlp-cards3 { display: grid; gap: 14px; margin: 22px 0; }
.tlp-cards3 > div { padding: 18px; border-radius: 14px; background: var(--sky); border-top: 4px solid var(--brand); }
.tlp-cards3 h3 { margin: 0 0 6px; color: var(--primary); }
.tlp-cards3 p { margin: 0; }
.prose ul.tlp-checks { list-style: none; padding: 0; }
.prose ul.tlp-checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.prose ul.tlp-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; }
.prose ol.tlp-steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.prose ol.tlp-steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin: 0; }
.prose ol.tlp-steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; }
.tlp-project { margin: 26px 0; }
.tlp-project h3 { margin-bottom: 2px; }
.tlp-project__meta { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.tlp-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.prose .tlp-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; border-radius: 10px; background: #fff; }
.tlp-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.prose .tlp-logos img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.pains__grid { display: grid; gap: 24px; align-items: center; }
.pains__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pains__list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #fff6f5; border: 1px solid #f6d5d1; color: var(--ink); font-weight: 600; }
.pains__list span { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #d9483b; color: #fff; font-size: 13px; }
@media (min-width: 600px) {
	.tlp-cards3 { grid-template-columns: repeat(3, 1fr); }
	.tlp-gallery { grid-template-columns: repeat(3, 1fr); }
	.tlp-logos { grid-template-columns: repeat(4, 1fr); }
	.grid--steps6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
	.pains__grid { grid-template-columns: .9fr 1.1fr; gap: 56px; }
	.tlp-logos { grid-template-columns: repeat(6, 1fr); }
	.grid--steps.grid--steps6 { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   GIAO DIỆN RIÊNG THUYLIENPHAT.COM
   Giữ màu xanh như cuachongngap.vn, đổi bố cục: phông Montserrat/Inter, góc vuông hơn,
   banner nền sáng có lưới kỹ thuật + khung ảnh lệch, tiêu đề mục căn trái có vạch xanh.
   ========================================================= */
:root {
	--radius: 8px;
	--radius-sm: 6px;
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "Montserrat", "Inter", Arial, sans-serif;
}
h1, h2, h3, h4, .btn, .eyebrow, .stat strong, .footer-col h2 { font-family: var(--font-head); }
h1, h2 { letter-spacing: -.02em; }

/* Nút: chữ nhật */
.btn { border-radius: var(--radius); letter-spacing: .01em; }
.btn--primary { background: var(--navy); box-shadow: none; }
.btn--primary:hover { background: var(--primary); }
.btn--ghost { color: var(--navy); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); }
.chip { border-radius: var(--radius); }
.chip.is-active, .chip:hover { background: var(--navy); border-color: var(--navy); }

/* Nhãn nhỏ & tiêu đề mục: căn trái, vạch xanh */
.eyebrow { color: var(--brand); letter-spacing: .14em; }
.eyebrow::before { width: 28px; height: 3px; border-radius: 0; }
.section-head { margin-left: 0; text-align: left; max-width: 820px; }
.section-head h2 { position: relative; padding-bottom: 14px; }
.section-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--brand); }
.section-foot { justify-content: flex-start; }

/* Thanh trên & header */
.topbar { background: var(--navy); color: #fff; }
.topbar a { color: #fff; }
.site-header::before { background: rgba(255, 255, 255, .96); }
.site-header.is-scrolled { border-bottom-color: var(--brand); }
.main-nav .menu > li > a::after { background: var(--brand); height: 3px; border-radius: 0; }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav a:hover { color: var(--primary); }
.header-call .icon { background: var(--navy); color: #fff; }
.logo__name { color: var(--navy); }

/* Banner: nền sáng có lưới kỹ thuật, chữ tối, ảnh có khung xanh lệch */
.hero { color: var(--text); background:
	linear-gradient(90deg, rgba(8, 34, 61, .04) 1px, transparent 1px) 0 0 / 40px 40px,
	linear-gradient(rgba(8, 34, 61, .04) 1px, transparent 1px) 0 0 / 40px 40px,
	linear-gradient(120deg, #fff 0%, var(--sky) 100%); padding: 40px 0 72px; }
.hero::after { display: none; }
.hero .eyebrow { color: var(--primary); }
.hero__title { color: var(--ink); }
.hero__title span { background: none; color: var(--brand); -webkit-text-fill-color: currentColor; }
.hero__text, .hero__trust { color: var(--text); }
.hero__trust .icon { color: var(--brand); }
.btn--light { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--light:hover { background: var(--navy); color: #fff; }
/* Ảnh trình chiếu web cũ là banner 1200×450 (8:3): hiện trọn ảnh, chấm chuyển ảnh nằm trên đáy ảnh */
.hero__media .slider { position: relative; border-radius: var(--radius); border: 0; box-shadow: 0 20px 50px rgba(8, 34, 61, .18); background: var(--navy); }
.hero__media .slider__slide img { aspect-ratio: 1200 / 450; }
.hero__media .slider__dots { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 0 10px; background: linear-gradient(transparent, rgba(8, 34, 61, .35)); }
.hero__media .slider__dots button { background: rgba(255, 255, 255, .8); }
/* Máy tính: hàng trên = tiêu đề | mô tả + nút, hàng dưới = banner rộng hết khung */
@media (min-width: 1024px) {
	.hero { padding: 56px 0 72px; }
	.hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.hero__content { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 64px; align-items: start; }
	.hero__content .eyebrow { grid-column: 1 / -1; }
	.hero__title { grid-column: 1; grid-row: 2 / span 3; margin: 0; }
	.hero__text { grid-column: 2; grid-row: 2; margin: 6px 0 0; }
	.hero__actions { grid-column: 2; grid-row: 3; margin: 20px 0 16px; }
	.hero__trust { grid-column: 2; grid-row: 4; }
}
/* Header thuylienphat chỉ 6 mục menu: màn hình rộng đủ chỗ hiện tên thương hiệu cạnh logo */
@media (min-width: 1280px) {
	.logo__name { display: block; }
}

/* Số liệu, thẻ */
.stats-bar__inner { border-radius: 0; border-top: 4px solid var(--brand); }
.stat strong { color: var(--navy); }
.card, .cat-card, .usp, .step, .partners__row img, .quote__form, .quote__form input, .quote__form select, .quote__form textarea { border-radius: var(--radius); }
.card:hover, .cat-card:hover { box-shadow: 0 0 0 2px var(--brand), var(--shadow); }
.card__cat, .cat-card__more { color: var(--primary); }
.cat-card img { border-radius: var(--radius-sm); }
.usp__icon { border-radius: var(--radius); background: var(--sky); color: var(--primary); }
.step { border-top: 3px solid var(--navy); }
.step::before { -webkit-text-stroke: 1.5px var(--brand); }

/* Khối tối "Vì sao chọn" và khung báo giá: xanh than + xanh */
.section--dark { background: var(--navy); }
.section--dark .eyebrow { color: var(--brand); }
.section--dark .section-head h2::after { background: var(--brand); }
.quote__card { border-radius: var(--radius); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); border-left: 6px solid var(--brand); }
.quote__hotline .icon { background: var(--brand); color: #fff; }
.quote__perks .icon { color: var(--brand); }

/* Đầu trang con */
.page-hero { background: linear-gradient(120deg, #fff 0%, var(--sky) 100%); border-bottom: 3px solid var(--brand); }
.page-hero::before { display: none; }
.prose h2 { border-left-color: var(--brand); }
.prose li::marker { color: var(--brand); }

/* Chân trang */
.site-footer { background: var(--navy); border-top: 4px solid var(--brand); }
.footer-col h2 { color: var(--brand); }
.site-footer a:hover { color: var(--brand); }
.footer-brand img { border-radius: var(--radius); }

/* Thanh gọi nhanh trên điện thoại */
.mobile-cta__quote .icon { color: var(--navy); }

/* Ảnh đại diện bài: ảnh vuông (vd. logo bài Giới thiệu 800×800) không phóng hết bề ngang */
.entry__cover img { width: auto; max-width: 100%; max-height: 440px; margin: 0 auto; display: block; }
