/* ===================================================================
   EUROWINDOW — Façade & High-Rise Systems (HCM Branch)
   Design language: editorial minimalism — typography-led, hairline
   dividers, full-bleed photography, one restrained accent colour.
   Shared stylesheet for every VI + EN page.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --navy: #0060af;
  --navy-dark: #060f1c;
  --steel: #56606b;
  --ink: #0c1116;
  --ink-soft: #5b6470;
  --accent: #c8952f;
  --accent-dim: #9c7526;
  --bg: #ffffff;
  --bg-tint: #f6f5f2;
  --white: #ffffff;
  --hairline: #e2e0da;
  --hairline-dark: rgba(255,255,255,0.16);
  --radius: 2px;
  --max-width: 1240px;
  --text-max-width: 640px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--hdr-h, 130px); }

html, body { overflow-x: hidden; max-width: 100%; }

body {
  margin: 0;
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
  padding-top: var(--hdr-h, 130px);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.lede { max-width: var(--text-max-width); }

/* ---------- Eyebrow / small caps label ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  display: block;
}
.on-dark .eyebrow { color: rgba(255,255,255,0.55); }
.eyebrow.accent { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  border-bottom: 1px solid var(--hairline);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-tagline {
  font-size: 12px;
  color: var(--ink-soft);
  display: none;
}
@media (min-width: 700px) {
  .brand-tagline { display: inline; border-left: 1px solid var(--hairline); padding-left: 12px; }
}

.header-right { display: flex; align-items: center; gap: 22px; }

.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.lang-switch a { color: var(--ink-soft); padding: 2px 2px; }
.lang-switch a.active { color: var(--ink); border-bottom: 1px solid var(--ink); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch .sep { color: var(--hairline); }

.menu-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-transform: uppercase;
  padding: 0;
}
.menu-trigger .bars { display: flex; flex-direction: column; gap: 4px; width: 22px; }
.menu-trigger .bars span { display: block; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
.menu-trigger:hover .bars span { background: var(--accent); }

/* ---------- Full-screen nav overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  color: var(--white);
  z-index: 200;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; transform: translateY(0); }
body.nav-open { overflow: hidden; }

.nav-overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--hairline-dark);
}
.nav-overlay-top .brand-name { color: var(--white); }
.nav-close {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.nav-close:hover { border-color: var(--accent); color: var(--accent); }

.nav-overlay-body {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 32px 64px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  min-width: 0;
}
.nav-overlay-body > * { min-width: 0; }
.nav-links { list-style: none; padding: 0; margin: 0; min-width: 0; }
.nav-links a { overflow-wrap: break-word; }
.nav-links li { border-top: 1px solid var(--hairline-dark); }
.nav-links li:last-child { border-bottom: 1px solid var(--hairline-dark); }
.nav-links a {
  display: block;
  padding: 18px 4px;
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.88);
  transition: color .2s, padding-left .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); padding-left: 14px; }
.nav-links a.active { color: var(--accent); }

.nav-side { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.nav-side h5 { margin: 0 0 10px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.45); font-weight: 600; }
.nav-side p, .nav-side a { font-size: 14px; color: rgba(255,255,255,0.78); margin: 0 0 4px; }
.nav-side a:hover { color: var(--accent); }
.nav-social { display: flex; gap: 10px; margin-top: 4px; }
.nav-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.nav-social a:hover { border-color: var(--accent); color: var(--accent); }

.nav-monogram {
  position: absolute;
  right: 0;
  bottom: -40px;
  font-size: min(46vw, 480px);
  font-weight: 800;
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.breadcrumb {
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink-soft);
}
.breadcrumb .container { padding-top: 14px; padding-bottom: 14px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span.current { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 76px 0 84px;
}
.hero:not(.hero-fullbleed) .container:first-child {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero:not(.hero-fullbleed) .container:first-child > * { min-width: 0; }

/* ---------- Hero full-bleed (ảnh nền toàn khung) ---------- */
.hero-fullbleed {
  position: relative;
  padding: 0;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-fullbleed .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-fullbleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,15,28,.12) 0%, rgba(6,15,28,.45) 55%, rgba(6,15,28,.92) 100%);
  z-index: 0;
}
.hero-fb-content {
  position: relative;
  z-index: 1;
  padding: 120px 32px 56px;
  display: block;
}
.hero-fb-content .hero-copy { max-width: 680px; }
.hero-fb-content .stat-strip { margin-top: 56px; }
.hero-fb-content .stat-strip .stat:first-child { padding-left: 0; }
@media (max-width: 720px) {
  .hero-fullbleed { min-height: 92vh; }
  .hero-fb-content { padding: 90px 32px 40px; }
}
.hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 14px 0 20px;
  font-weight: 700;
}
.hero p.lead {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }

.hero-visual {
  min-height: 320px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #1c1300; }
.btn-primary:hover { background: #e0aa3f; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--navy); }
.btn-block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow .arr { transition: transform .2s; }
.link-arrow:hover .arr { transform: translateX(4px); }
.hero .link-arrow { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.45); }
.hero .link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--bg-tint); }
.section-dark { background: var(--navy); color: var(--white); }

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-dark .section-head h2 { color: var(--white); }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 16px; }
.section-dark .section-head p { color: rgba(255,255,255,0.65); }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  border-top: 1px solid var(--hairline-dark);
}
.section:not(.section-dark) .stat-strip,
.stat-strip.on-light { border-top: 1px solid var(--hairline); }
.stat-strip .stat { padding: 28px 24px 0; border-left: 1px solid var(--hairline-dark); }
.stat-strip.on-light .stat { border-left: 1px solid var(--hairline); }
.stat-strip .stat:first-child { border-left: none; }
.stat-num { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.on-dark .stat-label,
.hero .stat-label { color: rgba(255,255,255,0.65); }

/* ---------- Product / index grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px 28px;
}
.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-card .product-thumb {
  aspect-ratio: 4/3;
  background: var(--bg-tint);
  overflow: hidden;
  margin-bottom: 6px;
}
.product-card .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-card .icon-tag { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; }
.product-card h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--ink); }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { color: var(--navy); }
.product-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; flex-grow: 1; }

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
.reveal-init { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal-init.is-revealed { opacity: 1; transform: none; }

/* ---------- Feature list (hairline rows) ---------- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--hairline);
}
.feature-list li {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}
.feature-list li strong { display: block; color: var(--ink); font-size: 16px; font-weight: 700; }
.feature-list li span { color: var(--ink-soft); font-size: 14.5px; }
@media (max-width: 640px) {
  .feature-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Spec table (hairline, no boxes) ---------- */
.table-wrap { overflow-x: auto; }
table.compare {
  width: 100%;
  border-collapse: collapse;
}
table.compare th, table.compare td {
  padding: 16px 18px 16px 0;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  font-size: 14.5px;
  vertical-align: top;
}
table.compare thead th {
  color: var(--ink-soft);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
}
table.compare tbody tr:first-child td { padding-top: 20px; }
table.compare td:first-child { font-weight: 600; color: var(--ink); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.gallery-item {
  aspect-ratio: 4/3;
  background: var(--bg-tint);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item span.cap {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 10px 12px;
  background: linear-gradient(0deg, rgba(6,15,28,0.82), rgba(6,15,28,0));
  color: #fff;
  font-weight: 600;
  text-align: left;
  font-size: 12.5px;
}
.gallery-item.empty {
  color: var(--ink-soft);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* ---------- Capability / profile CTA ---------- */
.capability-box {
  padding: 40px 0 0;
  border-top: 1px solid var(--hairline);
  display: flex;
  gap: 32px;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
}
.capability-box .cap-text { flex: 1 1 360px; }
.capability-box h3 { margin: 0 0 10px; color: var(--ink); font-size: 22px; font-weight: 700; }
.capability-box p { margin: 0; color: var(--ink-soft); }
.capability-box .cap-cta { flex: 0 0 auto; }

.cat-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin: 48px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.cat-heading:first-child { margin-top: 0; padding-top: 0; border-top: none; }

/* ---------- Flagship grid (ảnh + tên overlay, không chữ mô tả) ---------- */
.flagship-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.flagship-card {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-tint);
}
.flagship-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.flagship-card:hover img { transform: scale(1.06); }
.flagship-card .fc-name {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 22px;
  background: linear-gradient(0deg, rgba(6,15,28,.9), rgba(6,15,28,0));
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}
@media (max-width: 860px) {
  .flagship-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .flagship-grid { grid-template-columns: 1fr; }
}

/* ---------- Horizontal scroll strip (toàn bộ dự án) ---------- */
.scroll-strip-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.scroll-strip {
  display: flex;
  gap: 3px;
  padding: 0 24px 16px;
  width: max-content;
}
.scroll-strip .ss-item {
  position: relative;
  flex: 0 0 280px;
  aspect-ratio: 4/3;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--bg-tint);
  display: block;
}
.scroll-strip { scroll-snap-type: x proximity; }
.scroll-strip .ss-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.scroll-strip .ss-item:hover img { transform: scale(1.06); }
.scroll-strip .ss-item .ss-name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(6,15,28,.88), rgba(6,15,28,0));
  color: #fff; font-weight: 600; font-size: 13.5px; line-height: 1.3;
}

/* ---------- Dự án đang triển khai (ảnh + tên + địa chỉ, nền trắng) ---------- */
.ongoing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.ongoing-card .oc-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-tint);
}
.ongoing-card .oc-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.ongoing-card:hover .oc-thumb img { transform: scale(1.04); }
.ongoing-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--ink); }
.ongoing-card h3 a { color: inherit; text-decoration: none; }
.ongoing-card h3 a:hover { color: var(--navy); }
.ongoing-card p { margin: 0; color: var(--ink-soft); font-size: 13.5px; }

/* ---------- Case study grid ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px 32px;
}
.case-card { }
.case-card > a { display: block; }
.case-card .case-thumb {
  aspect-ratio: 4/3;
  background: var(--bg-tint);
  overflow: hidden;
  margin-bottom: 18px;
}
.case-card .case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.case-card:hover .case-thumb img { transform: scale(1.04); }
.case-card .case-tag { font-size: 11px; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; letter-spacing: 0.1em; }
.case-card h4 { margin: 8px 0 8px; color: var(--ink); font-size: 19px; font-weight: 700; line-height: 1.3; }
.case-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* ---------- Contact / form ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.contact-wrap > * { min-width: 0; }
.contact-info h3 { color: var(--ink); margin-top: 0; font-size: 20px; font-weight: 700; }
.contact-info dl { margin: 0; border-top: 1px solid var(--hairline); }
.contact-info dt { font-weight: 600; color: var(--ink-soft); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 20px; }
.contact-info dd { margin: 4px 0 20px; color: var(--ink); font-size: 15px; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); }

/* Lien ket bam duoc (dien thoai/email/Zalo): to mau xanh kieu link de nguoi xem nhan biet */
a[href^="tel:"], a[href^="mailto:"], .contact-info dd a, a.nhom-zalo-lh {
  color: #1a73e8;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(26,115,232,0.35);
  text-underline-offset: 2px;
}
a[href^="tel:"]:hover, a[href^="mailto:"]:hover, .contact-info dd a:hover, a.nhom-zalo-lh:hover {
  text-decoration-color: currentColor;
}
.contact-info dd a.qr-link { display: inline-flex; align-items: center; gap: 10px; }
.contact-info dd img.qr-inline { width: 132px; height: auto; border-radius: 6px; border: 1px solid var(--hairline); flex: none; }
.site-footer a[href^="tel:"], .site-footer a[href^="mailto:"], .site-footer a.nhom-zalo-lh,
.nav-overlay a[href^="tel:"], .nav-overlay a[href^="mailto:"], .nav-overlay a.nhom-zalo-lh {
  color: #6cb2ff;
}

.form-box { padding: 0; }
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  transition: border-color .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row textarea { resize: vertical; min-height: 80px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; }
.check-list input[type="checkbox"] { margin-top: 3px; width: 15px; height: 15px; accent-color: var(--accent); flex-shrink: 0; }
.check-list label { font-size: 14px; color: var(--ink); text-transform: none; letter-spacing: normal; font-weight: 400; margin: 0; cursor: pointer; }
.check-list li.all-option { grid-column: 1 / -1; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--hairline); }
.check-list li.all-option label { font-weight: 700; }
@media (max-width: 480px) { .check-list { grid-template-columns: 1fr; } }
.form-note { font-size: 12px; color: var(--ink-soft); margin-top: 14px; }
.form-success {
  margin-top: 14px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-tint);
  border-left: 3px solid var(--accent);
}

/* ---------- Related-keyword chips (article pages) ---------- */
.kw-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.kw-chip {
  display: inline-block;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--bg);
}

/* ---------- Technical diagram (article pages) ---------- */
.diagram-visual { max-width: 760px; margin: 0 auto; background: var(--bg); border: 1px solid var(--hairline); padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.diagram-visual svg { width: 100%; height: auto; display: block; }
.diagram-visual img { width: 100%; height: auto; display: block; border: 1px solid var(--hairline); }
.diagram-visual.compare { max-width: 940px; }
.diagram-visual .diagram-row { display: flex; gap: 16px; width: 100%; flex-wrap: wrap; }
.diagram-visual .diagram-row > div { flex: 1 1 260px; }
.diagram-visual .diagram-row img { border: 1px solid var(--hairline); }
.diagram-caption { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 0; max-width: 640px; }
.diagram-source-tag { display: inline-block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 700; margin: 0 0 2px; }

/* ---------- Process steps ---------- */
.process-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hairline); }
.process-list li { display: grid; grid-template-columns: 90px 1fr 2fr; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.process-list .num { font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1; }
.process-list strong { display: block; color: var(--ink); font-size: 18px; font-weight: 700; }
.process-list span { color: var(--ink-soft); font-size: 14.5px; }
@media (max-width: 700px) {
  .process-list li { grid-template-columns: 50px 1fr; }
  .process-list strong { margin-top: 4px; }
  .process-list span { grid-column: 2 / 3; }
}

/* ---------- Project detail spec list ---------- */
.spec-list { margin: 0; border-top: 1px solid var(--hairline); }
.spec-list dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 600; padding-top: 18px; }
.spec-list dd { margin: 4px 0 18px; color: var(--ink); font-size: 15.5px; padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }

/* ---------- Related satellites strip ---------- */
.related-strip {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.related-strip a {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  border-right: 1px solid var(--hairline);
}
.related-strip a:last-child { border-right: none; }
.related-strip a.active { color: var(--ink); background: var(--bg-tint); }
.related-strip a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline-dark);
}
.footer-grid h4 { color: var(--white); font-size: 12px; margin: 0 0 16px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.footer-grid p, .footer-grid li { color: rgba(255,255,255,0.6); margin: 0 0 8px; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid a { color: rgba(255,255,255,0.6); }
.footer-grid a:hover { color: var(--white); }
.social-links { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social-links a {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 12px;
}
.social-links a:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Floating contact widget ---------- */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.fc-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(6,15,28,0.28);
  transition: transform .2s ease, box-shadow .2s ease;
  color: #fff;
}
.fc-btn:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 10px 22px rgba(6,15,28,0.34); }
.fc-btn svg { width: 24px; height: 24px; position: relative; z-index: 2; fill: #fff; }
.fc-zalo { background: #0068FF; }
.fc-phone { background: var(--accent); }
.fc-email { background: var(--navy); }

.fc-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #0068FF;
  opacity: 0.6;
  animation: fc-pulse-anim 2.2s ease-out infinite;
  z-index: 1;
}
@keyframes fc-pulse-anim {
  0%   { transform: scale(1); opacity: 0.55; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fc-pulse { animation: none; display: none; }
}
@media (max-width: 640px) {
  .floating-contact { right: 14px; bottom: 16px; }
  .fc-btn { width: 46px; height: 46px; }
  .fc-btn svg { width: 21px; height: 21px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .container:first-child { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-overlay-body { grid-template-columns: 1fr; padding-top: 32px; }
  .nav-monogram { font-size: min(60vw, 300px); right: -20px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .stat:nth-child(2) { border-left: 1px solid var(--hairline-dark); }
  .stat-strip.on-light .stat:nth-child(2) { border-left: 1px solid var(--hairline); }
}

/* ===== Video / clip ===== */
.video-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 36px; }
.video-filters button {
  font: inherit; font-size: 13px; letter-spacing: .04em; padding: 9px 16px; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--radius);
}
.video-filters button:hover { border-color: var(--ink); }
.video-filters button.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.video-card h3 { font-size: 18px; line-height: 1.35; margin: 8px 0 6px; }
.video-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.video-thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-dark);
  margin-bottom: 14px;
}
.video-card.is-vertical .video-thumb { aspect-ratio: 9 / 16; max-height: 460px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.video-card:hover .video-thumb img { transform: scale(1.04); }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(6, 15, 28, .55); border: 1px solid rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
}
.video-play span { display: block; width: 0; height: 0; margin-left: 4px; border-left: 16px solid var(--white); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.video-card:hover .video-play, .video-embed:hover .video-play { background: var(--accent); border-color: var(--accent); }
.video-dur { position: absolute; right: 10px; bottom: 10px; font-size: 12px; color: var(--white); background: rgba(6,15,28,.75); padding: 2px 8px; }
.video-empty { color: var(--ink-soft); }
.video-embed { position: relative; aspect-ratio: 16 / 9; background: var(--navy-dark); margin: 28px 0; overflow: hidden; }
.video-embed img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-modal { position: fixed; inset: 0; z-index: 3000; background: rgba(6,15,28,.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.video-modal.open { display: flex; }
.video-modal-box { width: min(1100px, 100%); }
.video-modal-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-modal-frame.is-vertical { aspect-ratio: 9 / 16; width: min(360px, 88vw); max-height: 82vh; margin: 0 auto; }
.video-modal-frame iframe, .video-modal-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-title { color: var(--white); margin: 14px 0 0; font-size: 15px; text-align: center; }
.video-modal-close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: var(--white); font-size: 26px; cursor: pointer; }
body.video-open { overflow: hidden; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } .video-play { width: 54px; height: 54px; } }

.video-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.video-pair .video-embed, .video-single .video-embed { margin: 0; }
.video-single { max-width: 860px; }
@media (max-width: 760px) { .video-pair { grid-template-columns: 1fr; } }

/* ===== Tin tuc tham khao ===== */
.news-body { max-width: 780px; }
.news-body h2 { margin: 40px 0 14px; }
.news-body p, .news-body li { line-height: 1.7; }
.news-body ol, .news-body ul { padding-left: 22px; }
.news-note { border-left: 3px solid var(--accent); padding: 12px 16px; background: var(--bg-tint); font-size: 14px; color: var(--ink-soft); }
.news-facts { list-style: none; padding-left: 0 !important; border-top: 1px solid var(--hairline); }
.news-facts li { padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.news-embed { margin: 32px 0; display: flex; flex-direction: column; align-items: flex-start; }
.news-embed .video-embed { width: 100%; align-self: stretch; }
.news-credit { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.news-sources li { font-size: 14px; }

/* ===== Thanh "Mới cập nhật" (trang chủ) ===== */
.ticker { padding: 0; background: var(--navy-dark); color: #fff; display: flex; align-items: stretch; border-bottom: 1px solid var(--hairline-dark); overflow: hidden; }
.ticker-label { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 0 20px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: rgba(255,255,255,.04); border-right: 1px solid var(--hairline-dark); z-index: 2; }
.ticker-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: tk-pulse 1.6s ease-in-out infinite; }
@keyframes tk-pulse { 50% { opacity: .25; } }
.ticker-viewport { flex: 1 1 auto; overflow: hidden; min-width: 0; }
.ticker-viewport.tk-static { overflow-x: auto; }
.ticker-track { display: flex; width: max-content; }
.ticker-track.tk-run { animation: tk-scroll var(--tk-dur, 60s) linear infinite; }
.ticker-track:hover, .ticker-track:focus-within { animation-play-state: paused; }
@keyframes tk-scroll { from { transform: translateX(0); } to { transform: translateX(var(--tk-dist, -50%)); } }
.tk-card { display: flex; align-items: center; gap: 10px; padding: 14px 26px; color: #fff; text-decoration: none; white-space: nowrap; border-right: 1px solid var(--hairline-dark); font-size: 14px; }
.tk-card:hover { background: rgba(255,255,255,.07); }
.tk-tab { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; background: var(--accent); color: var(--navy-dark); }
.tk-tab.tk-video { background: #5aa7e6; }
.tk-tab.tk-other { background: rgba(255,255,255,.85); }
.tk-date { color: rgba(255,255,255,.55); font-size: 12px; }
.tk-title { font-weight: 500; }
.tk-intro .tk-title { color: var(--accent); }
@media (max-width: 760px) { .ticker-label { padding: 0 12px; font-size: 10px; } .ticker-label::before { display: none; } .tk-card { padding: 12px 18px; font-size: 13px; } }

/* ===== Tìm kiếm gợi ý ===== */
.search-band { background: var(--bg-tint); border-bottom: 1px solid var(--hairline); padding: 56px 0; }
.search-band .section-head { margin-bottom: 24px; }
.ss-box { position: relative; max-width: 760px; }
.ss-form { display: flex; align-items: center; background: #fff; border: 1px solid var(--ink); }
.ss-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,149,47,.25); }
.ss-form input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 17px; padding: 16px 18px; background: transparent; min-width: 0; }
.ss-form button { border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 600; padding: 0 24px; align-self: stretch; cursor: pointer; }
.ss-form button:hover { background: var(--navy); }
.ss-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 120; background: #fff; border: 1px solid var(--hairline); border-top: 0; box-shadow: 0 14px 30px rgba(6,15,28,.14); max-height: 420px; overflow-y: auto; }
.ss-head { padding: 10px 18px 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.ss-item { display: flex; align-items: center; gap: 12px; padding: 11px 18px; color: var(--ink); text-decoration: none; border-top: 1px solid var(--hairline); }
.ss-item:hover, .ss-item.is-active { background: var(--bg-tint); }
.ss-title { font-weight: 500; line-height: 1.35; }
.ss-query { font-weight: 500; }
.ss-ico { opacity: .5; }
.ss-all { font-weight: 600; color: var(--navy); }
.ss-empty { padding: 16px 18px; color: var(--ink-soft); font-size: 14px; }
.ss-chip { flex: 0 0 auto; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--hairline); background: #fff; color: var(--ink-soft); }
.ss-c-kien-thuc { color: #0060af; border-color: #0060af; } .ss-c-du-an { color: var(--accent-dim); border-color: var(--accent); } .ss-c-tin-tuc { color: #b3261e; border-color: #b3261e; } .ss-c-video { color: #1b7f5a; border-color: #1b7f5a; }
.ss-hint { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
.ss-summary { color: var(--ink-soft); }
.ss-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 26px; }
.ss-tab { padding: 6px 14px; border: 1px solid var(--hairline); text-decoration: none; color: var(--ink); font-size: 14px; }
.ss-tab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ss-res { padding: 18px 0; border-top: 1px solid var(--hairline); }
.ss-res h3 { margin: 8px 0 4px; font-size: 19px; }
.ss-res h3 a { text-decoration: none; color: var(--ink); } .ss-res h3 a:hover { color: var(--navy); }
.ss-res p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
@media (max-width: 760px) { .search-band { padding: 40px 0; } .ss-form input { font-size: 16px; } .ss-form button { padding: 0 16px; } }

.ss-c-projects { color: var(--accent-dim); border-color: var(--accent); } .ss-c-news { color: #b3261e; border-color: #b3261e; } .ss-c-products { color: #0060af; border-color: #0060af; }

.video-search { width: 100%; max-width: 420px; padding: 12px 16px; font: inherit; border: 1px solid var(--ink); background: #fff; margin: 0 0 20px; }
.video-search:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,149,47,.25); }
.video-more { display: block; margin: 40px auto 0; cursor: pointer; border: 0; }
.video-more[hidden] { display: none; }

.search-strip { padding: 10px 0; background: #fff; border-bottom: 1px solid var(--hairline); position: relative; z-index: 60; }
.search-strip .ss-box { max-width: 100%; }
.search-strip .ss-form input { padding: 12px 14px; font-size: 16px; }
.search-strip .ss-form button { padding: 0 20px; }

.form-hint { margin: 6px 0 0; font-size: 13px; color: var(--muted, #5b6b7d); }
.form-row input[type="file"] { padding: 10px 0; border: 0; border-bottom: 1px solid var(--line, #d8dee6); font-size: 14px; }
.form-hint-warn { color: #7a5a12; }
.form-hint a { text-decoration: underline; }
.form-error { color: #b3261e; font-size: 14px; margin: 8px 0 0; }

/* ---------- Thumbnail bai tin tuc (tu ve) + ghim Pinterest khi ro chuot ---------- */
.news-thumb { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; margin-bottom: 16px; border-radius: var(--radius); color: #fff; }
.news-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform .6s ease; }
.case-card:hover .news-thumb svg { transform: scale(1.06); }
.news-thumb .nt-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(to top, rgba(6,15,28,.82), rgba(6,15,28,0)); display: flex; flex-direction: column; gap: 2px; }
.news-thumb .nt-cap b { font-size: 16px; line-height: 1.25; font-weight: 700; color: #fff; }
.news-thumb .nt-cap i { font-style: normal; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.news-thumb::after { content: attr(data-cta); position: absolute; top: 12px; right: 12px; padding: 5px 10px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--ink); opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.case-card:hover .news-thumb::after { opacity: 1; transform: none; }
.news-thumb .nt-pop { position: absolute; z-index: 5; top: 8px; left: 8px; bottom: 8px; width: 46%; overflow: hidden; background: #fff; box-shadow: 0 8px 28px rgba(6,15,28,.35); }
.news-thumb .nt-pop a { display: block; }
@media (max-width: 899px) { .news-thumb .nt-cap b { font-size: 15px; } }

/* ---------- Cong dong Zalo ---------- */
.zalo-band { background: var(--bg-tint); }
.zalo-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.zalo-copy h2 { margin: 8px 0 16px; }
.zalo-copy p { color: var(--ink-soft); max-width: 560px; }
.zalo-note { font-size: 14px; margin-top: 10px; }
.zalo-qr { text-align: center; }
.zalo-qr img { width: 100%; max-width: 300px; height: auto; border-radius: 12px; box-shadow: 0 6px 24px rgba(6,15,28,.18); }
@media (max-width: 800px) { .zalo-grid { grid-template-columns: 1fr; gap: 28px; } .zalo-qr { order: -1; } .zalo-qr img { max-width: 220px; } }

/* ---------- Ô tìm kiếm trong header (mọi trang) ---------- */
.hdr-search { border-top: 1px solid var(--hairline); background: #fff; padding: 8px 0; }
.hdr-search .ss-box { max-width: 100%; }
.hdr-search .ss-form input { padding: 9px 14px; font-size: 16px; }
.hdr-search .ss-form button { padding: 0 20px; }
@media (max-width: 760px) { .site-header .container { padding-top: 12px; padding-bottom: 12px; } .hdr-search { padding: 6px 0; } }

.hdr-search .container { display: block; padding-top: 0; padding-bottom: 0; }
.hdr-search .ss-box { width: 100%; }
.hdr-search .ss-list { max-height: 60vh; }

/* ---------- Hero trên điện thoại: gọn, đọc rõ, thống kê lưới 2x2 ---------- */
@media (max-width: 720px) {
  .hero-fullbleed { min-height: 0; }
  .hero-fullbleed::after { background: linear-gradient(180deg, rgba(6,15,28,.18) 0%, rgba(6,15,28,.58) 38%, rgba(6,15,28,.94) 100%); }
  .hero-fb-content { padding: 150px 22px 30px; }
  .hero-fb-content .hero-copy { max-width: none; }
  .hero h1 { font-size: 31px; line-height: 1.14; margin: 12px 0 16px; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
  .hero p.lead { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.9); margin-bottom: 26px; max-width: none; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 18px; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; padding: 17px 20px; }
  .hero-actions .link-arrow { align-self: flex-start; }
  .hero-fb-content .stat-strip { margin-top: 34px; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.28); }
  .hero-fb-content .stat-strip .stat { padding: 18px 0 18px 18px; border-left: 1px solid rgba(255,255,255,.2); }
  .hero-fb-content .stat-strip .stat:nth-child(odd) { padding-left: 0; border-left: none; }
  .hero-fb-content .stat-strip .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); }
  .hero-fb-content .stat-strip .stat:nth-child(4) { padding-right: 52px; }
  .hero .stat-num { font-size: 34px; line-height: 1; }
  .hero .stat-label { font-size: 13px; line-height: 1.4; margin-top: 8px; color: rgba(255,255,255,.82); }
}
