/* VCC ALU – cốp pha nhôm Hualv
   Bảng màu lấy từ công trường: nhôm xám, bê tông sáng, cam an toàn của cột chống. */

:root {
  --ink: #0f1316;
  --graphite: #171d21;
  --steel: #3a454c;
  --mute: #5f6b73;
  --line: #dde2e4;
  --paper: #f1f2f1;
  --paper-2: #e7eaea;
  --white: #ffffff;
  --orange: #dd5713;
  --orange-dark: #b0420c;
  --orange-soft: #fbeee5;
  --radius: 14px;
  --max: 1160px;
  --shadow-sm: 0 2px 8px rgba(15, 19, 22, 0.06);
  --shadow-md: 0 14px 34px rgba(15, 19, 22, 0.1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.14; letter-spacing: -0.02em; font-weight: 800; }

h1 { font-size: clamp(1.85rem, 5.4vw, 3.15rem); }

h2 { font-size: clamp(1.45rem, 3.4vw, 2.1rem); }

h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.wrap-narrow { max-width: 820px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(15, 19, 22, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-decoration: none;
  line-height: 1;
}

.brand-mark {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand-mark span {
  color: var(--orange);
  font-weight: 700;
  margin-left: 2px;
}

.brand-sub {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

.nav { display: none; }

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--steel);
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a:hover { color: var(--ink); background: var(--paper); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(221, 87, 19, 0.24);
}

.btn-primary:hover { background: var(--orange-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #c6ced2;
}

.btn-ghost:hover { background: var(--paper); border-color: var(--steel); }

.btn-sm {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.9rem;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ---------- Bands ---------- */

.band { padding: 60px 0; }

.band-white { background: var(--white); }
.band-paper { background: var(--paper); }
.band-tint { background: var(--orange-soft); }

.band-dark {
  background: var(--graphite);
  color: #eef1f2;
  padding: 60px 0;
}

.band-dark h2, .band-dark h3 { color: #fff; }

.section-head { margin-bottom: 28px; max-width: 720px; }

.section-lead {
  margin-top: 12px;
  color: var(--mute);
  font-size: 1rem;
  max-width: 60ch;
}

.band-dark .section-lead { color: #aab5bb; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--orange-dark);
}

.band-dark .eyebrow { color: #f08a4d; }

.tick {
  width: 10px;
  height: 10px;
  background: var(--orange);
  display: inline-block;
  flex: 0 0 auto;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(241, 242, 241, 0.4), rgba(241, 242, 241, 0.98) 78%),
    repeating-linear-gradient(0deg, #dfe4e6 0 1px, transparent 1px 56px),
    repeating-linear-gradient(90deg, #dfe4e6 0 1px, transparent 1px 56px),
    var(--paper);
  padding: 34px 0 24px;
  overflow: hidden;
}

.hero-grid { display: grid; gap: 26px; }

.hero h1 { max-width: 22ch; }

.lead {
  margin-top: 16px;
  font-size: 1.03rem;
  color: var(--steel);
  max-width: 52ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cta-row .btn { flex: 1 1 auto; }

.proof {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--mute);
}

.hero-media {
  position: relative;
  padding-bottom: 34px;
}

.hero-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.hero-figure img,
.hero-inset img,
.media img,
.gallery img,
.doc-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(15, 19, 22, 0.78));
  color: #f3f5f6;
  font-size: 0.76rem;
  line-height: 1.4;
}

.hero-inset {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: 34%;
  max-width: 168px;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 5px solid var(--paper);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d3d9db;
}

.facts li {
  padding: 14px 0 16px;
  border-bottom: 1px solid #d3d9db;
}

.facts li:nth-child(odd) { padding-right: 10px; }

.fact-num {
  display: block;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.fact-label {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--mute);
}

/* ---------- Offer cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #c8d0d4;
  transform: translateY(-2px);
}

.media {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--paper);
}

.card-body {
  padding: 12px 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card-body p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--mute);
}

.code {
  margin-top: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.price-note {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #cdd5d8;
  border-left: 4px solid var(--orange);
  border-radius: 10px;
  background: #f8f9f9;
}

.price-note p { font-size: 0.92rem; color: var(--steel); }

.price-note .btn { flex: 0 0 auto; }

/* ---------- Why ---------- */

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  counter-reset: why;
}

.why-item { counter-increment: why; }

.why-item {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.why-num::before {
  content: counter(why, decimal-leading-zero);
}

.why-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f08a4d;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.why-item h3 { margin-bottom: 6px; }

.why-item p { color: #aab5bb; font-size: 0.92rem; }

/* ---------- Detail / specs ---------- */

.spec-grid { display: grid; gap: 20px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.9rem;
}

.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }

.spec-table th,
.spec-table td {
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 44%;
  font-weight: 600;
  color: var(--mute);
  background: #f7f8f8;
}

.spec-table td {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.doc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.doc-figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  max-height: 420px;
  background: var(--paper-2);
}

.doc-figure img { object-fit: contain; }

.doc-body { padding: 16px; }

.doc-body h3 { margin-bottom: 8px; }

.doc-body p { font-size: 0.88rem; color: var(--mute); }

.doc-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.doc-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--steel);
}

.doc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--orange);
}

.source-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--mute);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.gallery figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.gallery figure img { aspect-ratio: 1 / 1; }

.gallery figcaption {
  padding: 9px 10px 11px;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--mute);
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  counter-reset: step;
}

.steps li {
  padding: 18px 0 20px;
  border-top: 2px solid var(--ink);
  counter-increment: step;
}

.step-num::before {
  content: counter(step, decimal-leading-zero);
}

.step-num {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.steps h3 { margin-bottom: 6px; }

.steps p { font-size: 0.9rem; color: var(--mute); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid #cfd6d9; }

.faq details { border-bottom: 1px solid #cfd6d9; }

.faq summary {
  position: relative;
  padding: 16px 40px 16px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--orange);
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  padding: 0 0 16px;
  font-size: 0.92rem;
  color: var(--steel);
  max-width: 62ch;
}

/* ---------- Visit ---------- */

.visit-grid { display: grid; gap: 22px; }

.visit-block { padding: 14px 0; border-bottom: 1px solid var(--line); }

.visit-block:first-child { border-top: 1px solid var(--line); }

.visit-block h3 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 700;
  margin-bottom: 6px;
}

.visit-block p { font-size: 0.94rem; color: var(--steel); }

.visit-block p + p { margin-top: 6px; }

.visit-contact { padding-top: 18px; }

.visit-hours {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mute);
}

.visit-phone {
  display: inline-block;
  margin-top: 4px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.visit-phone:hover { color: var(--orange-dark); }

.visit-note {
  margin: 6px 0 16px;
  font-size: 0.84rem;
  color: var(--mute);
  max-width: 40ch;
}

.visit-note a { color: var(--steel); }

.visit-map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
  background: var(--paper);
}

.visit-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.map-link {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--steel);
  box-shadow: var(--shadow-sm);
}

/* ---------- Form ---------- */

.form-grid { display: grid; gap: 22px; }

.form-text h2 { max-width: 20ch; }

.form-text p { margin-top: 12px; color: var(--steel); font-size: 0.96rem; }

.form-note { font-size: 0.8rem; color: var(--mute); }

.form-box {
  background: #fff;
  border: 1px solid #e6d5c8;
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #c8d1d6;
  padding: 44px 0 0;
  font-size: 0.88rem;
}

.footer-grid { display: grid; gap: 26px; }

.footer-brand .brand-mark { color: #fff; font-size: 1.35rem; }

.footer-brand p { margin-top: 10px; line-height: 1.55; color: #a9b4ba; max-width: 44ch; }

.footer-addr { color: #8d9aa1 !important; font-size: 0.83rem; }

.footer-brand a { color: #dfe6e9; }

.footer-nav { display: grid; gap: 8px; align-content: start; }

.footer-nav a {
  text-decoration: none;
  color: #c8d1d6;
  padding: 2px 0;
}

.footer-nav a:hover { color: #fff; }

.footer-cta p { margin-bottom: 12px; color: #a9b4ba; }

.footer-bottom {
  margin-top: 30px;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: #7f8c93;
}

/* ---------- Mobile bar ---------- */

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(15, 19, 22, 0.1);
}

.mb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.mb-call { background: var(--orange); color: #fff; }
.mb-zalo { background: var(--graphite); color: #fff; }
.mb-dir { background: #fff; color: var(--steel); border-color: #c6ced2; }

body { padding-bottom: 74px; }

/* ---------- Reveal ---------- */

[data-reveal] { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */

@media (min-width: 640px) {
  .band, .band-dark { padding: 76px 0; }
  .hero { padding-top: 46px; }
  .card-grid { gap: 14px; }
  .spec-table th { width: 38%; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 700px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts li { border-bottom: 0; border-right: 1px solid #d3d9db; padding-right: 14px; padding-left: 14px; }
  .facts li:first-child { padding-left: 0; }
  .facts li:last-child { border-right: 0; }
  .why-grid { grid-template-columns: repeat(2, 1fr); column-gap: 30px; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 26px; }
  .price-note { flex-direction: row; align-items: center; justify-content: space-between; }
  .price-note p { max-width: 62ch; }
}

/* ---------- Desktop ---------- */

@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 2px; }
  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 44px;
    align-items: center;
  }
  .hero { padding-bottom: 28px; }
  .hero-media { padding-bottom: 26px; }
  .hero-inset { right: -14px; width: 32%; max-width: 190px; }
  .lead { font-size: 1.08rem; }
  .spec-grid { grid-template-columns: 1.45fr 1fr; gap: 26px; align-items: start; }
  .doc-card { position: sticky; top: 86px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .visit-map, .visit-map iframe { min-height: 420px; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .band, .band-dark { padding: 92px 0; }
}

@media (min-width: 1000px) {
  .card-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Small phone ---------- */

@media (max-width: 520px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .price-note .btn { width: 100%; }
}

@media (max-width: 400px) {
  .brand-sub { display: none; }
  .header-inner { min-height: 56px; }
  .card-body { padding: 11px 11px 13px; }
  .card-body p { font-size: 0.82rem; }
  .visit-phone { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}