/*
Theme Name: AVASO TECH
Theme URI: https://example.com/
Author: TN
Description: Theme gốc viết tay cho web dịch vụ/sản phẩm: dữ liệu gom trong inc/data.php, schema JSON-LD, form liên hệ lưu đơn, nút liên hệ nổi, không page builder, không jQuery.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: avaso
*/

/* ==========================================================================
   1. Tokens — đổi giao diện chủ yếu ở đây
   ========================================================================== */
:root {
	--c-primary: #2458E8;
	--c-primary-dark: #1A45C2;
	--c-accent: #2FC6A4;
	--c-bg: #ffffff;
	--c-bg-alt: #F5F8FE;
	--c-bg-dark: #0B1D42;
	--c-text: #0F1F3D;
	--c-text-muted: #475569;
	--c-text-invert: #ffffff;
	--c-border: #E2E8F0;

	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-heading: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--fs-sm: 0.875rem;
	--fs-base: 1rem;
	--fs-lg: 1.125rem;
	--fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	--fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem);
	--fs-h1: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem);

	--radius: 16px;
	--radius-sm: 10px;
	--radius-pill: 999px;
	--shadow: 0 18px 48px -18px rgba(36, 88, 232, 0.28);
	--shadow-sm: 0 1px 2px rgba(12, 20, 46, 0.05), 0 12px 28px -16px rgba(12, 20, 46, 0.3);
	--c-blue-soft: #EAF1FC;
	--c-blue-light: #8FB0FF;
	--c-night: #0B1D42;
	--c-night-2: #0F2A57;
	--grad: linear-gradient(100deg, #2458E8 10%, #2FC6A4 95%);

	--space-section: clamp(3.5rem, 2.5rem + 4vw, 6rem);
	--container: 1240px;
	--gutter: 16px;
	--header-h: 88px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-base); line-height: 1.65; color: var(--c-text); background: var(--c-bg); overflow-x: hidden; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3, h4 { font-family: var(--f-heading); line-height: 1.2; margin: 0 0 0.6em; color: inherit; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
input, select, textarea, button { font: inherit; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 8px 16px; background: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-bg-dark); color: var(--c-text-invert); }
.section__head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section__eyebrow { display: inline-block; margin-bottom: 0.5rem; font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); }
.section__lead { color: var(--c-text-muted); font-size: var(--fs-lg); }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.8); }
.grid { display: grid; gap: 24px; grid-template-columns: 1fr; }

/* ==========================================================================
   3. Nút
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--c-primary); color: var(--c-text-invert); }
.btn--primary:hover { background: var(--c-primary-dark); color: var(--c-text-invert); }
.btn--accent { background: var(--c-accent); color: var(--c-bg-dark); }
.btn--accent:hover { color: var(--c-bg-dark); filter: brightness(1.05); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--c-bg); border-bottom: 1px solid var(--c-border); transition: box-shadow 0.2s; }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.site-logo { display: flex; align-items: center; gap: 10px; min-width: 0; font-family: var(--f-heading); font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.35rem); font-weight: 700; line-height: 1.2; color: var(--c-primary); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-logo img { max-height: 52px; width: auto; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 24px; height: 2px; background: var(--c-text); position: relative; transition: transform 0.2s; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }
.primary-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-bg); padding: 16px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); transition: transform 0.25s; }
.nav-open .primary-nav { transform: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a { display: block; padding: 12px 0; color: var(--c-text); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--c-border); }
.primary-nav .sub-menu a, .primary-nav .children a { padding-left: 16px; font-weight: 400; }
.primary-nav .current-menu-item > a, .primary-nav a:hover { color: var(--c-primary); }
.header-cta { display: none; }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { position: relative; display: flex; align-items: center; min-height: min(88vh, 760px); padding-block: 80px; color: var(--c-text-invert); background: var(--c-bg-dark); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.25)); }
.hero__content { position: relative; z-index: 1; max-width: 680px; }
.hero__badge { display: inline-block; margin-bottom: 1rem; padding: 6px 14px; border: 1px solid var(--c-accent); border-radius: var(--radius-pill); color: var(--c-accent); font-size: var(--fs-sm); }
.hero__lead { font-size: var(--fs-lg); opacity: 0.9; }
.hero__price { margin: 1.25rem 0 1.75rem; font-size: 1.25rem; }
.hero__price strong { color: var(--c-accent); font-size: 1.6rem; }

/* ==========================================================================
   6. Thẻ (dịch vụ, sản phẩm, bài viết)
   ========================================================================== */
.card { display: flex; flex-direction: column; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; background: var(--c-bg-alt); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card__title { margin-bottom: 0.4em; }
.card__title a { color: inherit; text-decoration: none; }
.card__text { color: var(--c-text-muted); }
.card__meta { margin-top: auto; font-weight: 600; color: var(--c-primary); }

/* ==========================================================================
   7. Bảng giá
   ========================================================================== */
.pricing { position: relative; display: flex; flex-direction: column; padding: 28px 24px; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius); }
.pricing--featured { border: 2px solid var(--c-primary); box-shadow: var(--shadow); }
.pricing__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 3px 14px; border-radius: var(--radius-pill); background: var(--c-primary); color: #fff; font-size: var(--fs-sm); white-space: nowrap; }
.pricing__name { margin-bottom: 0.25rem; }
.pricing__price { font-family: var(--f-heading); font-size: 2rem; font-weight: 700; color: var(--c-primary); }
.pricing__unit { font-size: var(--fs-sm); color: var(--c-text-muted); }
.pricing__items { margin: 1rem 0 1.5rem; padding: 0; list-style: none; }
.pricing__items li { padding: 6px 0 6px 24px; border-bottom: 1px dashed var(--c-border); position: relative; }
.pricing__items li::before { content: "✓"; position: absolute; left: 0; color: var(--c-accent); font-weight: 700; }
.pricing .btn { margin-top: auto; }

/* ==========================================================================
   8. Lý do, quy trình, FAQ, album
   ========================================================================== */
.feature { padding: 24px; border-radius: var(--radius); background: var(--c-bg); border: 1px solid var(--c-border); }
.feature__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 50%; background: var(--c-bg-alt); color: var(--c-primary); font-size: 1.5rem; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 24px 64px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; font-weight: 700; }
.steps h3 { margin-bottom: 0.25em; font-size: var(--fs-lg); font-family: var(--f-body); }
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__q { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 0; border: 0; background: none; text-align: left; font-weight: 600; font-size: var(--fs-lg); color: inherit; cursor: pointer; }
.faq__q::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--c-primary); transition: transform 0.2s; }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a { padding-bottom: 18px; color: var(--c-text-muted); }
.faq__a[hidden] { display: none; }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.9); }
.lightbox img { max-height: 90vh; width: auto; }
.lightbox__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; font-size: 1.5rem; cursor: pointer; }

/* ==========================================================================
   9. Form
   ========================================================================== */
.form { display: grid; gap: 16px; padding: 24px; background: var(--c-bg); color: var(--c-text); border-radius: var(--radius); box-shadow: var(--shadow); }
.form__row { display: grid; gap: 16px; }
.form label { display: block; margin-bottom: 4px; font-weight: 500; font-size: var(--fs-sm); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; color: var(--c-text); }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06); }
.form__hp { position: absolute; left: -9999px; }
.form__note { font-size: var(--fs-sm); color: var(--c-text-muted); }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.notice--ok { background: #e8f6ec; color: #1d6b35; }
.notice--err { background: #fdecec; color: #9b1c1c; }

/* ==========================================================================
   10. Nội dung trang, bài viết
   ========================================================================== */
.page-hero { padding-block: 48px; background: var(--c-bg-alt); }
.breadcrumb { font-size: var(--fs-sm); color: var(--c-text-muted); margin-bottom: 8px; }
.breadcrumb a { color: inherit; }
.entry { max-width: 780px; margin-inline: auto; }
/* Canh đều đoạn văn dài cho cân đối; dòng cuối canh trái; ô bảng/chú thích ảnh giữ canh trái. */
.entry p, .entry li { text-align: justify; text-align-last: left; }
.entry td p, .entry th p, .entry figcaption { text-align: left; }
.entry img { border-radius: var(--radius-sm); }
.entry h2 { margin-top: 1.6em; }
.entry blockquote { margin: 1.5em 0; padding: 12px 20px; border-left: 4px solid var(--c-accent); background: var(--c-bg-alt); }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { padding: 10px; border: 1px solid var(--c-border); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 2.5rem; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm); text-decoration: none; }
.pagination .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ==========================================================================
   11. CTA + Footer
   ========================================================================== */
.cta-band { padding-block: 56px; background: var(--c-primary); color: #fff; text-align: center; }
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band .btn-group { justify-content: center; }
.site-footer { padding-top: 56px; background: var(--c-bg-dark); color: rgba(255, 255, 255, 0.82); font-size: var(--fs-sm); }
.site-footer a { color: inherit; }
.site-footer h3 { color: #fff; font-size: var(--fs-lg); font-family: var(--f-body); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer__bottom { margin-top: 40px; padding-block: 20px; padding-bottom: 88px; border-top: 1px solid rgba(255, 255, 255, 0.12); text-align: center; }

/* ==========================================================================
   12. Nút liên hệ nổi — mobile: thanh dưới đáy; desktop: cột nút tròn góc phải
   ========================================================================== */
.float-contact { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--c-bg); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12); }
.float-contact__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; font-size: 0.75rem; font-weight: 600; color: #fff; text-decoration: none; }
.float-contact__btn:hover { color: #fff; }
.float-contact__btn svg { width: 22px; height: 22px; fill: currentColor; }
.float-contact__phone { background: var(--c-primary); }
.float-contact__zalo { background: #0068ff; }
.float-contact__mess { background: #a033ff; }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (min-width: 600px) {
	.gallery { grid-template-columns: repeat(3, 1fr); }
	.form__row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
	:root { --gutter: 24px; }
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
	.site-footer .grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 1024px) {
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
	.gallery { grid-template-columns: repeat(4, 1fr); }
	.nav-toggle { display: none; }
	.primary-nav { position: static; transform: none; padding: 0; overflow: visible; background: none; }
	.primary-nav > div > ul, .primary-nav > ul { display: flex; gap: 4px; }
	.primary-nav a { padding: 10px 12px; border: 0; }
	.primary-nav li { position: relative; }
	.primary-nav .sub-menu, .primary-nav .children { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px 0; background: var(--c-bg); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu,
	.primary-nav li:hover > .children, .primary-nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .sub-menu a, .primary-nav .children a { padding: 8px 16px; white-space: nowrap; }
	.primary-nav a { white-space: nowrap; }
	.header-cta { display: inline-flex; }
	.float-contact { left: auto; right: 20px; bottom: 20px; grid-auto-flow: row; gap: 12px; background: none; box-shadow: none; }
	.float-contact__btn { width: 56px; height: 56px; min-height: 0; border-radius: 50%; box-shadow: var(--shadow); }
	.float-contact__btn span { display: none; }
	.site-footer__bottom { padding-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   14. AVASO — phong cách nền tảng phần mềm (học từ mẫu, viết lại)
   ========================================================================== */
body { letter-spacing: -0.005em; }
h1, h2 { letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; }
h3 { letter-spacing: -0.015em; font-weight: 700; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.text-blue { color: var(--c-primary); }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn { font-size: 0.95rem; }
.btn .icon { width: 18px; height: 18px; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 0.9rem; }
.btn--ghost { border: 1px solid var(--c-border); background: #fff; color: var(--c-text); }
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--primary { box-shadow: 0 10px 22px -10px rgba(36, 88, 232, 0.7); }
.btn--accent { background: var(--c-accent); color: #062b24; }

/* Nhãn viên thuốc có chấm + nhãn gạch ngang (nền tối) */
.pill-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1.1rem; padding: 8px 18px; border: 1px solid #d4e1fb; border-radius: var(--radius-pill); background: var(--c-blue-soft); color: var(--c-primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pill-label__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 4px rgba(36, 88, 232, 0.15); }
.line-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 1rem; color: var(--c-blue-light); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.line-label::before { content: ""; width: 28px; height: 2px; background: var(--c-accent); }
.section__head .pill-label { margin-inline: auto; }
.section__head--left { margin-left: 0; text-align: left; }
.section__head--left .pill-label { margin-inline: 0; }
.section__lead { font-size: 1.05rem; line-height: 1.7; }
.section--soft { background: var(--c-bg-alt); }
.note-center { max-width: 760px; margin: 2rem auto 0; color: var(--c-text-muted); font-size: var(--fs-sm); text-align: center; }

/* Header nổi dạng viên thuốc */
.site-header { background: transparent; border: 0; padding-top: 12px; }
.site-header__inner { min-height: 68px; padding: 8px 10px 8px 24px; background: rgba(255, 255, 255, 0.92); border: 1px solid #e7ecf5; border-radius: var(--radius-pill); box-shadow: 0 8px 30px -14px rgba(12, 20, 46, 0.25); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); max-width: calc(var(--container) - 2 * var(--gutter)); margin-inline: auto; }
.site-header.is-scrolled { box-shadow: none; }
.site-header > .container { padding-inline: 0; width: calc(100% - 2 * var(--gutter)); }
.site-logo img { height: 40px; width: auto; max-height: none; }
.header-actions { display: none; gap: 8px; align-items: center; }
.site-header__inner { position: relative; }
.primary-nav { position: absolute; inset: calc(100% + 8px) 0 auto 0; max-height: calc(100vh - var(--header-h) - 20px); border: 1px solid #e7ecf5; border-radius: var(--radius); box-shadow: var(--shadow-sm); transform: none; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; }
.nav-open .primary-nav { opacity: 1; visibility: visible; }
.primary-nav a { font-size: 0.95rem; }

/* Hero */
.hero { display: block; min-height: 0; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 48px) 0 56px; background-color: #fff; background-image: radial-gradient(circle at 1px 1px, rgba(36, 88, 232, 0.10) 1px, transparent 0), radial-gradient(60% 55% at 85% 35%, rgba(47, 198, 164, 0.16), transparent 70%), radial-gradient(50% 60% at 15% 10%, rgba(36, 88, 232, 0.10), transparent 70%); background-size: 26px 26px, auto, auto; color: var(--c-text); overflow: hidden; }
.hero::after { display: none; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__content { max-width: 600px; }
.hero h1 { margin-bottom: 1.25rem; line-height: 1.12; text-wrap: balance; }
.hero h1 .text-grad { display: inline; }
.hero__thesis { margin-bottom: 0.75rem; font-size: 1.15rem; font-weight: 600; color: var(--c-text); }
.hero__lead { margin-bottom: 1.75rem; color: var(--c-text-muted); font-size: 1.02rem; opacity: 1; text-align: justify; text-align-last: left; }
.hero__visual { position: relative; }
.app-window { overflow: hidden; background: #fff; border: 1px solid #e3e9f4; border-radius: 18px; box-shadow: var(--shadow), 0 40px 80px -50px rgba(12, 20, 46, 0.5); }
.app-window__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #f7f9fd; border-bottom: 1px solid #e8edf6; }
.app-window__dots { display: flex; gap: 6px; }
.app-window__dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.app-window__dots i:nth-child(2) { background: #febc2e; }
.app-window__dots i:nth-child(3) { background: #28c840; }
.app-window__title { padding: 4px 14px; border: 1px solid #d4e1fb; border-radius: var(--radius-pill); background: var(--c-blue-soft); color: var(--c-primary); font-size: 0.78rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-window img { width: 100%; height: auto; }
.hero__note { position: absolute; left: -12px; bottom: -22px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); font-size: 0.85rem; color: var(--c-text-muted); }
.hero__note strong { display: block; color: var(--c-text); font-size: 0.92rem; }
.hero__note-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--c-accent); color: #fff; }
.hero__note-icon .icon { width: 20px; height: 20px; stroke-width: 2.6; }

/* Dải cam kết */
.promises { border-block: 1px solid var(--c-border); background: #fff; }
.promises__list { display: grid; gap: 10px; padding-block: 18px; }
.promises__item { display: flex; align-items: center; gap: 10px; color: var(--c-text); font-size: 0.9rem; font-weight: 500; }
.promises__item .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(47, 198, 164, 0.15); color: #179a7d; stroke-width: 2.6; }

/* Thẻ lý do */
.feature { display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid #e3e9f4; border-radius: 20px; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05); transition: transform 0.2s, box-shadow 0.2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature:first-child { background: linear-gradient(150deg, #eef4ff, #fff 60%); border-color: #cddcfb; }
.feature__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.feature__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--c-primary); color: #fff; box-shadow: 0 12px 22px -10px rgba(36, 88, 232, 0.8); }
.feature:nth-child(2) .feature__icon { background: #17a688; box-shadow: 0 12px 22px -10px rgba(23, 166, 136, 0.8); }
.feature:nth-child(3) .feature__icon { background: #0F2A57; box-shadow: 0 12px 22px -10px rgba(15, 42, 87, 0.8); }
.feature__icon .icon { width: 32px; height: 32px; }
.feature__no { font-size: 3rem; font-weight: 800; line-height: 1; color: #e2e9f6; letter-spacing: -0.04em; }
.feature__label { margin-bottom: 0.5rem; color: var(--c-primary); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.feature h3 { font-size: 1.4rem; line-height: 1.35; }
.feature p { margin: 0; color: var(--c-text-muted); }

/* Khối nền tối có lưới */
.section--night { position: relative; overflow: hidden; color: #fff; background-color: var(--c-night); background-image: linear-gradient(rgba(143, 176, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 176, 255, 0.07) 1px, transparent 1px), radial-gradient(70% 60% at 50% 0%, #17377a 0%, transparent 70%); background-size: 40px 40px, 40px 40px, auto; }
.section--night h2 { color: #fff; }
.section--night .section__lead { color: #b8c6e3; }
.night__head { max-width: 760px; margin-bottom: 3rem; }
.module-track { scroll-padding-inline: var(--gutter); display: grid; grid-auto-flow: column; grid-auto-columns: min(320px, 82vw); gap: 18px; padding: 8px var(--gutter) 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #2b4a8a transparent; }
.module { scroll-snap-align: start; display: flex; flex-direction: column; padding: 24px; background: #fff; color: var(--c-text); border-radius: 18px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.6); }
.module--active { background: linear-gradient(160deg, #d9e6ff, #c8f1e6); box-shadow: 0 0 0 2px rgba(143, 176, 255, 0.9), 0 0 40px rgba(47, 198, 164, 0.45); }
.module__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.module__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--c-blue-soft); color: var(--c-primary); }
.module--active .module__icon { background: var(--c-primary); color: #fff; }
.module__icon .icon { width: 24px; height: 24px; }
.module__tag { padding: 3px 10px; border: 1px solid #c9d6f2; border-radius: var(--radius-pill); color: #5a6c90; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.module h3 { font-size: 1.08rem; line-height: 1.4; }
.module p { color: var(--c-text-muted); font-size: 0.9rem; }
.module__flow { display: flex; justify-content: space-between; gap: 6px; margin: auto 0 0; padding: 14px 0 0; border-top: 1px dashed #cfd9ec; list-style: none; counter-reset: f; }
.module__flow li { position: relative; flex: 1; padding-top: 16px; color: #6a7896; font-size: 0.72rem; text-align: center; }
.module__flow li::before { content: ""; position: absolute; top: 0; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border: 2px solid var(--c-primary); border-radius: 50%; background: #fff; }
.module__flow li:first-child::before { background: var(--c-primary); }
.pillars { display: grid; gap: 28px; margin-top: 3rem; }
.pillar { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.pillar h3 { color: #fff; font-size: 1.05rem; }
.pillar p { margin: 0; color: #a9b8d6; font-size: 0.93rem; }

/* Thư viện giao diện */
.screens { display: grid; gap: 20px; align-items: start; }
.screens__tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.screens__tab { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding: 12px 16px; border: 1px solid var(--c-border); border-radius: 12px; background: #fff; color: var(--c-text); font-weight: 600; font-size: 0.9rem; text-align: left; cursor: pointer; transition: 0.2s; }
.screens__tab:hover { border-color: var(--c-primary); }
.screens__tab[aria-selected="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; box-shadow: 0 10px 22px -12px rgba(36, 88, 232, 0.8); }
.screens__no { color: var(--c-blue-light); font-size: 0.75rem; font-weight: 700; }
.screens__tab[aria-selected="true"] .screens__no { color: #cfe0ff; }
.screens__caption { margin: 0; padding: 12px 18px; border-top: 1px solid #e8edf6; color: var(--c-text-muted); font-size: 0.9rem; }
.screens__note { max-width: 900px; margin: 1.5rem auto 0; color: #6a7896; font-size: 0.8rem; text-align: center; }

/* Khách hàng tiên phong — nền pastel */
.section--pastel { background: linear-gradient(115deg, #dfeaff 0%, #e9ecff 45%, #dff6ef 100%); }
.story { display: grid; margin: 0; overflow: hidden; background: #fff; border-radius: 28px; box-shadow: 0 30px 70px -30px rgba(36, 88, 232, 0.35); }
.story__media { background: #0b0d12; }
.story__media img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; object-position: 50% 30%; }
.story__body { display: flex; flex-direction: column; padding: 32px 28px; }
.story__mark { color: var(--c-primary); }
.story__mark .icon { width: 44px; height: 44px; fill: var(--c-primary); stroke: none; }
.story__quote { margin: 12px 0 24px; padding: 0; border: 0; background: none; }
.story__quote p { margin: 0; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); font-weight: 600; line-height: 1.5; color: var(--c-text); }
.story__facts { display: grid; gap: 12px; margin: 0 0 28px; }
.story__facts div { padding: 12px 16px; border-radius: 12px; background: var(--c-bg-alt); }
.story__facts dt { color: var(--c-primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.story__facts dd { margin: 2px 0 0; font-size: 0.93rem; font-weight: 500; }
.story__who { margin-top: auto; }
.story__who strong { display: block; font-size: 1.15rem; }
.story__role { display: block; margin: 2px 0 12px; color: var(--c-primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.story__badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid #a5e6d4; border-radius: var(--radius-pill); background: #e8f9f3; color: #127a62; font-size: 0.82rem; font-weight: 600; }
.story__badge .icon { width: 16px; height: 16px; stroke-width: 2.8; }

/* Cách triển khai */
.steps { display: grid; gap: 20px; counter-reset: none; }
.step { position: relative; padding: 28px 24px; border: 1px solid #e3e9f4; border-radius: 20px; background: #fff; }
.step::before { display: none; }
.steps li { padding: 28px 24px; }
.steps li::before { display: none; }
.step__no { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; background: var(--c-primary); color: #fff; font-size: 1.15rem; font-weight: 800; box-shadow: 0 10px 20px -10px rgba(36, 88, 232, 0.8); }
.step:nth-child(even) .step__no { background: #17a688; box-shadow: 0 10px 20px -10px rgba(23, 166, 136, 0.8); }
.steps h3 { font-size: 1.12rem; font-family: var(--f-heading); }
.steps p { margin: 0; color: var(--c-text-muted); font-size: 0.93rem; }

/* Chi phí */
.pricing-grid { display: grid; gap: 22px; align-items: stretch; }
.pricing { padding: 32px 28px; border: 1px solid #e3e9f4; border-radius: 22px; }
.pricing--featured { border: 1.5px solid var(--c-primary); background: linear-gradient(160deg, #eef4ff, #fff 55%); }
.pricing__tag { position: static; align-self: flex-start; margin-bottom: 14px; transform: none; padding: 5px 12px; background: var(--c-blue-soft); color: var(--c-primary); font-size: 0.75rem; font-weight: 700; }
.pricing__name { font-size: 1.2rem; margin-bottom: 0.6rem; }
.pricing__price { margin-bottom: 0.8rem; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--c-text); }
.pricing__price--text { font-size: 1.5rem; color: var(--c-primary); }
.pricing__unit { font-size: 0.85rem; font-weight: 500; letter-spacing: 0; }
.pricing__text { color: var(--c-text-muted); font-size: 0.93rem; }
.pricing__items li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #dbe3f1; font-size: 0.92rem; }
.pricing__items li::before { display: none; }
.pricing__items .icon { width: 18px; height: 18px; margin-top: 3px; color: #17a688; stroke-width: 2.6; }
.pricing .btn { margin-top: auto; }

/* FAQ */
.faq-layout { display: grid; gap: 32px; }
.faq { max-width: none; }
.faq__q { font-size: 1.02rem; padding: 20px 0; }

/* Đăng ký tư vấn */
.section--cta .split { gap: 40px; }
.section--cta h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); }
.contact-list { display: grid; gap: 14px; margin: 1.5rem 0 1.75rem; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: #b8c6e3; font-size: 0.9rem; }
.contact-list a { color: #fff; font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.contact-list .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(143, 176, 255, 0.14); color: #8FB0FF; }
.section--cta .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.form { border-radius: 22px; padding: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.form input:focus, .form select:focus, .form textarea:focus { box-shadow: 0 0 0 3px rgba(36, 88, 232, 0.15); }
.form .btn { width: 100%; }

/* Footer */
.site-footer { padding-top: 64px; background: #081634; }
.site-footer__grid { display: grid; gap: 36px; }
.site-footer .site-logo img { height: 44px; }
.site-footer__slogan { margin: 18px 0 8px; color: #fff; font-weight: 600; }
.site-footer h3 { margin-bottom: 1rem; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 3px; color: #8FB0FF; }
.site-footer .btn { margin-top: 10px; }
.site-footer__bottom { color: rgba(255, 255, 255, 0.55); }

/* Nút nổi: Zalo trước, màu thương hiệu */
.float-contact__phone { background: var(--c-accent); }

@media (min-width: 600px) {
	.promises__list { grid-template-columns: 1fr 1fr; }
	.story__facts { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 768px) {
	.steps { grid-template-columns: 1fr 1fr; }
	.pricing-grid { grid-template-columns: 1fr 1fr; }
	.pricing--featured { grid-column: 1 / -1; }
	.pillars { grid-template-columns: repeat(3, 1fr); gap: 36px; }
	.story { grid-template-columns: 0.85fr 1.15fr; }
	.story__media img { max-height: none; min-height: 100%; }
	.story__body { padding: 44px 44px 40px; }
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1.3fr; }
}
@media (min-width: 1024px) {
	.header-actions { display: flex; }
	.header-cta { display: inline-flex; }
	.primary-nav { position: static; border: 0; border-radius: 0; box-shadow: none; max-height: none; opacity: 1; visibility: visible; }
	.primary-nav a { padding: 10px 14px; font-size: 0.95rem; color: #334155; }
	.hero { padding-top: calc(var(--header-h) + 72px); padding-bottom: 88px; }
	.hero__grid { grid-template-columns: 1fr 1.08fr; gap: 56px; }
	.promises__list { grid-template-columns: repeat(4, auto); justify-content: space-between; }
	.module-track { --track-pad: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); grid-auto-columns: 330px; padding-left: var(--track-pad); padding-right: var(--track-pad); scroll-padding-inline: var(--track-pad); }
	.screens { grid-template-columns: 260px minmax(0, 1fr); gap: 28px; }
	.screens__tabs { flex-direction: column; overflow: visible; }
	.steps { grid-template-columns: repeat(4, 1fr); }
	.pricing-grid { grid-template-columns: 1.25fr 1fr 1fr; }
	.pricing--featured { grid-column: auto; }
	.faq-layout { grid-template-columns: 0.8fr 1.4fr; gap: 72px; align-items: start; }
	.section--cta .split { grid-template-columns: 1fr 1.05fr; gap: 64px; }
}
@media (max-width: 1180px) and (min-width: 1024px) {
	.header-phone { display: none; }
	.primary-nav a { padding: 10px 9px; font-size: 0.9rem; }
}
.site-footer a:not(.btn) { text-decoration: none; } .site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }

/* Khách hàng nói gì — bản gọn (03/11/2026) */
.section--compact { padding-block: clamp(3rem, 2.4rem + 2.5vw, 4.5rem); }
.say__head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 1.75rem; }
.say__head h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.say__head .pill-label { margin-bottom: 0.75rem; }
.say { display: grid; grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; overflow: hidden; background: #fff; border-radius: 22px; box-shadow: 0 20px 50px -30px rgba(36, 88, 232, 0.35); }
.say__media img { width: 100%; height: 220px; object-fit: cover; object-position: 50% 42%; }
.say__body { display: flex; flex-direction: column; padding: 24px 26px 26px; }
.say__mark { height: 34px; color: var(--c-primary); font-size: 4rem; font-weight: 800; line-height: 1; }
.say__quote { margin: 4px 0 20px; padding: 0; border: 0; background: none; }
.say__quote p { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.6; color: var(--c-text); }
.say__who strong { display: block; font-size: 1rem; }
.say__role { display: block; margin: 2px 0 10px; color: var(--c-primary); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
@media (min-width: 768px) {
	.say { grid-template-columns: 260px 1fr; }
	.say__media img { height: 100%; min-height: 300px; }
	.say__body { padding: 32px 36px; }
}
.say__head { max-width: 880px; margin-inline: auto; align-items: center; text-align: center; }
