/* ==========================================================================
   TimeShot — style.css
   Hệ màu: slate đêm (ink), thép, sương (mist), vàng tín hiệu (signal), xanh biển (sea)
   Font: Barlow Condensed (tiêu đề) + Barlow (nội dung) — tự host, có tiếng Việt
   ========================================================================== */

@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #13232b;
  --ink-2: #1c323d;
  --steel: #5c6f78;
  --line: #d3dcda;
  --mist: #eef2f1;
  --paper: #ffffff;
  --signal: #ffb800;
  --signal-deep: #e09e00;
  --sea: #1f6f78;
  --sea-soft: #d6e8e8;

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Thang chữ ~1.25 */
  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-base: 1.0625rem;
  --t-md: 1.3125rem;
  --t-lg: 1.625rem;
  --t-xl: 2.0625rem;
  --t-2xl: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem);
  --t-hero: clamp(2.6rem, 1.6rem + 4vw, 4.6rem);

  --wrap: 1200px;
  --gut: clamp(1.1rem, 4vw, 2rem);
  --r-sm: 4px;
  --r-md: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: -.005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-lg); font-weight: 600; line-height: 1.15; }
h4 { font-size: var(--t-md); font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
small { font-size: var(--t-xs); }

.skip { position: absolute; left: -999px; top: 0; background: var(--signal); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Section ---------- */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink); color: #dbe4e6; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink a { color: var(--signal); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { font-size: var(--t-md); color: var(--steel); line-height: 1.5; }
.section-ink .section-head p { color: #a9bac0; }
.lead { font-size: var(--t-md); line-height: 1.5; color: var(--steel); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: .01em;
  padding: .7em 1.35em; border-radius: var(--r-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.1;
}
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--signal-deep); color: var(--ink); }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section-ink .btn-line, .hero .btn-line, .page-hero .btn-line { color: #fff; }
.section-ink .btn-line:hover, .hero .btn-line:hover, .page-hero .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.link-more { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--signal); color: var(--ink); padding-bottom: 1px; }
.link-more:hover { border-color: var(--ink); }
.section-ink .link-more { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; height: 34px; width: auto; }
@media (max-width: 640px) { .brand-logo { height: 28px; } }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.75rem; letter-spacing: .01em; line-height: 1; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.nav li { margin: 0; position: relative; }
.nav a.nav-link { display: block; padding: .55rem .7rem; text-decoration: none; color: var(--ink); font-weight: 500; font-size: var(--t-sm); border-radius: var(--r-sm); }
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"] { background: var(--mist); }
.nav .has-sub { display: flex; align-items: center; }
.sub-toggle { background: none; border: 0; padding: .4rem .2rem; cursor: pointer; color: var(--steel); margin-left: -.5rem; }
.sub-toggle svg { width: 14px; height: 14px; }
.sub { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 290px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 18px 40px -18px rgba(19,35,43,.35); display: none; }
.sub a { display: block; padding: .5rem .7rem; text-decoration: none; color: var(--ink); border-radius: var(--r-sm); font-size: var(--t-sm); }
.sub a span { display: block; color: var(--steel); font-size: var(--t-xs); line-height: 1.35; }
.sub a:hover { background: var(--mist); }
@media (min-width: 1081px) {
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
}
.header-cta { margin-left: .5rem; font-size: 1.0625rem; padding: .55em 1.05em; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .45rem .6rem; cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: 68px 0 0 0; background: #fff; overflow-y: auto; padding: 1rem var(--gut) 3rem; display: none; margin: 0; }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a.nav-link { padding: .9rem 0; font-size: var(--t-base); }
  .nav .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .sub-toggle { padding: .8rem; margin: 0; }
  .sub { position: static; box-shadow: none; border: 0; padding: 0 0 .8rem .4rem; min-width: 0; width: 100%; }
  .has-sub.open > .sub { display: block; }
  .nav .nav-cta-mobile { border: 0; padding-top: 1.2rem; }
}
@media (min-width: 1081px) { .nav-cta-mobile { display: none; } }

/* ---------- Viewfinder frame (dấu góc khung ngắm) ---------- */
.vf { position: relative; margin: 0; }
.vf::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  --c: rgba(255,255,255,.92); --l: 22px; --w: 2px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) top right / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--w),
    linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--l);
  background-repeat: no-repeat;
}
.vf img, .vf svg { width: 100%; border-radius: var(--r-sm); }

/* ---------- Hero (trang chủ) ---------- */
.hero { background: var(--ink); color: #dbe4e6; padding: clamp(2.5rem, 6vw, 5rem) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lead { color: #b6c5ca; max-width: 34em; }
.hero-note { margin-top: 1.25rem; font-size: var(--t-sm); color: #8fa3aa; }

.scrub { background: #0c181e; border-radius: var(--r-md); padding: 12px 12px 14px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.scrub-view { position: relative; }
.scrub-view svg { width: 100%; border-radius: 6px; }
.osd { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; justify-content: space-between; font-family: var(--f-display); font-weight: 600; font-size: clamp(.85rem, 1.6vw, 1.05rem); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); font-variant-numeric: tabular-nums; pointer-events: none; }
.osd-rec { display: inline-flex; align-items: center; gap: .4em; }
.osd-rec::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--signal); }
.osd-top { top: 18px; bottom: auto; }
.scrub-ctl { display: flex; align-items: center; gap: .9rem; padding: 12px 6px 0; }
.scrub-ctl label { font-size: var(--t-xs); color: #8fa3aa; white-space: nowrap; }
.scrub-ctl input[type=range] { flex: 1; accent-color: var(--signal); height: 28px; cursor: grab; }
.scrub-btn { background: transparent; border: 1px solid #36505b; color: #fff; border-radius: var(--r-sm); width: 36px; height: 32px; display: grid; place-items: center; cursor: pointer; }
.scrub-btn svg { width: 14px; height: 14px; }

.hero-facts { margin-top: clamp(2.5rem, 6vw, 4.5rem); border-top: 1px solid #2a414c; display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-facts div { padding: 1.4rem 1.4rem 1.6rem 0; border-right: 1px solid #2a414c; }
.hero-facts div + div { padding-left: 1.4rem; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { display: block; font-family: var(--f-display); font-size: var(--t-lg); color: #fff; font-weight: 600; line-height: 1.1; margin-bottom: .25rem; }
.hero-facts span { font-size: var(--t-sm); color: #8fa3aa; line-height: 1.4; display: block; }

/* ---------- Page hero (trang con) ---------- */
.page-hero { background: var(--ink); color: #dbe4e6; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 1.5rem + 3vw, 3.75rem); }
.page-hero .lead { color: #b6c5ca; }
.page-hero-solo .page-hero-grid { grid-template-columns: 1fr; }
.crumbs { font-size: var(--t-xs); margin-bottom: 1.4rem; color: #8fa3aa; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: #4d6670; }
.crumbs a { color: #b6c5ca; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Vai trò khách hàng ---------- */
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.role { padding: 2rem 2rem 2.2rem 0; border-bottom: 1px solid var(--line); }
.role:nth-child(even) { padding-left: 2rem; padding-right: 0; border-left: 1px solid var(--line); }
.role h3 { margin-bottom: .2rem; }
.role .who { color: var(--sea); font-weight: 600; font-size: var(--t-sm); margin-bottom: .9rem; display: block; }
.role ul { list-style: none; padding: 0; margin: 0; }
.role li { padding-left: 1.4rem; position: relative; }
.role li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: 2px; background: var(--signal-deep); }

/* ---------- Luồng hoạt động (chuỗi bước thật) ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; position: relative; }
.flow li { margin: 0; padding: 0 1.2rem 0 0; counter-increment: step; position: relative; }
.flow li::before { content: counter(step); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--signal); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; position: relative; z-index: 1; }
.flow li::after { content: ""; position: absolute; top: 1.3rem; left: 2.6rem; right: 0; height: 2px; background: #2f4853; }
.flow li:last-child::after { display: none; }
.section-mist .flow li::after, .flow-light li::after { background: var(--line); }
.flow h3 { font-size: var(--t-md); margin-bottom: .35rem; }
.flow p { font-size: var(--t-sm); color: inherit; opacity: .85; }
.flow-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Mosaic giải pháp ---------- */
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.tile { display: block; text-decoration: none; color: var(--ink); }
.tile .vf { margin-bottom: .9rem; }
.tile h3 { font-size: var(--t-md); margin-bottom: .25rem; }
.tile p { font-size: var(--t-sm); color: var(--steel); margin: 0; }
.tile:hover h3 { text-decoration: underline; text-decoration-color: var(--signal-deep); text-decoration-thickness: 2px; }
.tile-feature { grid-column: span 2; grid-row: span 2; }
.tile-feature h3 { font-size: var(--t-xl); }
.tile-feature p { font-size: var(--t-base); }

/* ---------- Model sản phẩm ---------- */
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.model { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; display: flex; flex-direction: column; }
.model-top { border-top: 4px solid var(--signal); }
.model h3 { font-size: var(--t-xl); margin-bottom: .1rem; }
.model .fit { color: var(--sea); font-weight: 600; font-size: var(--t-sm); margin-bottom: 1rem; display: block; }
.model dl { margin: 0 0 1.2rem; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: var(--t-sm); }
.model dt { color: var(--steel); }
.model dd { margin: 0; font-weight: 500; }
.model .btn { margin-top: auto; align-self: flex-start; }
.model-art { background: var(--mist); border-radius: var(--r-sm); margin: -0.4rem -0.4rem 1.2rem; }

/* ---------- Danh sách dịch vụ ---------- */
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.svc { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.section-ink .svc { border-color: #2a414c; }
.svc-ico { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--sea-soft); display: grid; place-items: center; color: var(--sea); }
.section-ink .svc-ico { background: #203a45; color: var(--signal); }
.svc-ico svg { width: 26px; height: 26px; }
.svc h3 { font-size: var(--t-md); margin-bottom: .25rem; }
.svc p { font-size: var(--t-sm); margin: 0; opacity: .85; }
a.svc:hover h3 { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }

/* ---------- Hai cột nội dung ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.split-center { align-items: center; }

/* Pain → Gain */
.pain { list-style: none; padding: 0; margin: 0; }
.pain li { padding: .85rem 0 .85rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.pain li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 1rem; height: 1rem; border: 2px solid var(--steel); border-radius: 50%; }
.pain li::after { content: ""; position: absolute; left: .32rem; top: 1.72rem; width: .5rem; height: 2px; background: var(--steel); }
.gains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.gain h3 { font-size: var(--t-md); margin-bottom: .35rem; padding-top: .9rem; border-top: 3px solid var(--signal); }
.gain p { font-size: var(--t-sm); color: var(--steel); margin: 0; }
.section-ink .gain p { color: #a9bac0; }
.gains-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Cấu hình đề xuất */
.config { background: var(--mist); border-radius: var(--r-md); padding: 1.8rem; }
.config h3 { font-size: var(--t-md); }
.config ul { padding: 0; list-style: none; margin: 0; }
.config li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed #c3cfcd; font-size: var(--t-sm); }
.config li span:first-child { color: var(--steel); }
.config li span:last-child { font-weight: 600; text-align: right; }
.config .btn { margin-top: 1.4rem; }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 1.8rem; position: relative; margin-bottom: .6rem; }
.checks li::before { content: ""; position: absolute; left: .1rem; top: .35em; width: .9rem; height: .5rem; border-left: 3px solid var(--sea); border-bottom: 3px solid var(--sea); transform: rotate(-45deg); }
.section-ink .checks li::before { border-color: var(--signal); }

/* ---------- Bảng thông số ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.spec { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 680px; background: #fff; }
.spec th, .spec td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec thead th { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; background: var(--ink); color: #fff; }
.spec tbody th { font-weight: 600; color: var(--steel); width: 24%; }
.spec tbody tr:nth-child(even) td, .spec tbody tr:nth-child(even) th { background: #f7f9f9; }
.spec .grp th { background: var(--mist) !important; color: var(--ink); font-family: var(--f-display); font-size: 1.05rem; }

/* ---------- Bảng giá ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--r-md); padding: 2rem 1.7rem; display: flex; flex-direction: column; background: #fff; }
.plan-pick { border: 2px solid var(--ink); position: relative; }
.plan-tag { position: absolute; top: -.85rem; left: 1.5rem; background: var(--signal); color: var(--ink); font-weight: 600; font-size: var(--t-xs); padding: .25rem .7rem; border-radius: 99px; }
.plan h3 { font-size: var(--t-xl); margin-bottom: .2rem; }
.plan .for { color: var(--steel); font-size: var(--t-sm); min-height: 3em; }
.plan .price { font-family: var(--f-display); font-size: var(--t-xl); font-weight: 700; margin: .6rem 0 .1rem; }
.plan .price-note { font-size: var(--t-xs); color: var(--steel); margin-bottom: 1.2rem; }
.plan .checks { font-size: var(--t-sm); flex: 1; }
.plan .btn { align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 600; font-size: var(--t-md); font-family: var(--f-display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .7rem; height: .7rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 0 1.2rem; color: #33464e; }
.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- CTA band + form ---------- */
.cta-band { background: var(--signal); color: var(--ink); padding: clamp(3rem, 6vw, 5rem) 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cta-band h2 { margin-bottom: .4em; }
.cta-band p { font-size: var(--t-md); line-height: 1.5; }
.cta-band .contact-lines { list-style: none; padding: 0; margin: 1.5rem 0 0; font-weight: 600; }
.cta-band .contact-lines a { color: var(--ink); }

.form { background: #fff; border-radius: var(--r-md); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 30px 60px -35px rgba(19,35,43,.55); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: var(--t-sm); margin-bottom: .3rem; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: .7rem .8rem; border: 1px solid #b9c6c4; border-radius: var(--r-sm); background: #fff; color: var(--ink); }
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--sea); outline-offset: 0; border-color: var(--sea); }
.form .btn { margin-top: 1.2rem; width: 100%; justify-content: center; }
.form-msg { margin: .9rem 0 0; font-size: var(--t-sm); font-weight: 600; }
.form-msg.ok { color: var(--sea); }
.form-msg.err { color: #b3261e; }
.form small { display: block; margin-top: .8rem; color: var(--steel); }
.hp { position: absolute; left: -5000px; }

/* ---------- Footer ---------- */
.site-footer { background: #0c181e; color: #9fb0b6; padding: 4rem 0 2rem; font-size: var(--t-sm); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h3 { font-size: 1.15rem; color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #c7d3d7; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.site-footer .brand { margin-bottom: 1.2rem; }
.site-footer .brand-logo { height: 32px; }
.foot-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #22363f; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* ---------- Nút liên hệ nổi ---------- */
.float-contact { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float-contact a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); text-decoration: none; }
.float-contact svg { width: 24px; height: 24px; }
.fc-call { background: var(--signal); color: var(--ink); }
.fc-zalo { background: #0068ff; color: #fff; font-family: var(--f-display); font-weight: 700; font-size: .95rem; }

/* ---------- Bài viết ---------- */
.prose { max-width: 720px; font-size: 1.125rem; line-height: 1.7; }
.prose h2 { font-size: var(--t-xl); margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose img, .prose figure { margin: 1.8rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: .4rem 0 .4rem 1.2rem; border-left: 4px solid var(--signal); color: #33464e; }
.post-meta { color: #8fa3aa; font-size: var(--t-sm); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.post-card { text-decoration: none; color: var(--ink); display: block; }
.post-card .vf { margin-bottom: 1rem; }
.post-card h3 { font-size: var(--t-md); }
.post-card p { font-size: var(--t-sm); color: var(--steel); }
.post-card time { font-size: var(--t-xs); color: var(--steel); }

/* ---------- Kịch bản triển khai (dự án) ---------- */
.cases { display: grid; gap: 3rem; }
.case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.case:nth-child(even) .vf { order: 2; }
.case-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.case-meta li { margin: 0; background: var(--mist); border-radius: 99px; padding: .2rem .75rem; font-size: var(--t-xs); font-weight: 600; color: #33464e; }
.case .result { border-left: 4px solid var(--signal); padding-left: 1rem; margin-top: 1rem; }

/* ---------- Ghi chú placeholder (xóa khi có nội dung thật) ---------- */
.note { background: #fff8e1; border: 1px dashed var(--signal-deep); border-radius: var(--r-sm); padding: .8rem 1rem; font-size: var(--t-sm); color: #5b4300; max-width: 760px; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .page-hero-grid, .split, .split-wide, .cta-grid, .case { grid-template-columns: 1fr; }
  .case:nth-child(even) .vf { order: 0; }
  .mosaic, .models, .plans, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-feature { grid-column: span 2; grid-row: auto; }
  .flow, .flow-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 0; }
  .flow li::after { display: none; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-facts div { border-bottom: 1px solid #2a414c; }
  .hero-facts div:nth-child(2) { border-right: 0; }
  .hero-facts div:nth-child(3) { padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .gains-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mosaic, .models, .plans, .posts, .svc-list, .roles, .gains, .gains-3, .flow, .flow-4, .form-grid, .foot-grid { grid-template-columns: 1fr; }
  .tile-feature { grid-column: auto; }
  .role, .role:nth-child(even) { padding: 1.6rem 0; border-left: 0; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts div { padding: 1rem .8rem 1.1rem 0 !important; }
  .hero-facts div:nth-child(even) { padding-left: .8rem !important; }
  .scrub-ctl label { display: none; }
}

@media print {
  .site-header, .float-contact, .cta-band, .site-footer { display: none; }
}
