/* ==========================================================================
   NHÔM KÍNH — ARCHITECTURAL SIGNATURE DESIGN SYSTEM (V3)
   Brand Identity: Warm Ivory • Deep Charcoal • Champagne Gold • Mineral Stone
   Architectural Editorial • Material-Driven Design • Asymmetric Portfolio
   ========================================================================== */

:root {
  /* --- 1. CORE ARCHITECTURAL LUXURY TOKENS --- */
  --bg-canvas:         #F5F2EB; /* Warm Ivory canvas nền chủ đạo */
  --bg-surface:        #FFFFFF; /* Bề mặt Card, Form, Dialog */
  --bg-surface-soft:   #FAF8F5; /* Bề mặt phụ, hover row, section xen kẽ */
  --bg-elevated:       #EDE8DE; /* Header bảng, khối callout, pill */
  
  --charcoal-900:      #181A19; /* Tiêu đề tối tương phản cao */
  --charcoal-800:      #242725; /* Deep Charcoal màu chữ chính */
  --charcoal-700:      #383D3A; /* Phụ đề, heading cấp 3 */
  --charcoal-500:      #7A807C; /* Chữ kỹ thuật, metadata, specs */
  --charcoal-300:      #B3B8B4; /* Viền mờ, placeholder */
  
  --gold-primary:      #B89A65; /* Champagne Gold thương hiệu */
  --gold-hover:        #C8AB79; /* Hover state cho CTA */
  --gold-deep:         #967A48; /* Text Gold đạt chuẩn WCAG AA */
  --gold-subtle:       rgba(184, 154, 101, 0.12); /* Nền badge, highlight mềm */
  --gold-glow:         rgba(184, 154, 101, 0.22); /* Shadow focus */
  
  --stone-300:         #D9D4C9; /* Đường viền kiến trúc chính */
  --stone-200:         #E8E3D8; /* Divider mảnh */
  --stone-100:         #F0ECE3; /* Viền mờ cho card trắng */
  
  --shadow-sm:         0 1px 3px rgba(36, 39, 37, 0.04);
  --shadow-card:       0 2px 8px rgba(36, 39, 37, 0.04), 0 1px 2px rgba(36, 39, 37, 0.02);
  --shadow-card-hover: 0 12px 30px rgba(36, 39, 37, 0.08);
  --shadow-elevated:   0 16px 40px rgba(36, 39, 37, 0.10);
  --radius-xs:         1px;
  --radius-sm:         2px;
  --radius-md:         3px;
  --radius-lg:         4px;
  --radius-pill:       999px;

  /* --- 2. BACKWARD COMPATIBILITY ALIASES (ZERO BREAKAGE) --- */
  --bg:                var(--bg-canvas);
  --fg:                var(--charcoal-800);
  --charcoal:          var(--charcoal-800);
  --gold:              var(--gold-primary);
  --gold-light:        var(--gold-hover);
  --gold-dark:         var(--gold-deep);
  --gold-glow:         rgba(184, 154, 101, 0.22);
  --arch-grey:         var(--stone-200);
  --metal-grey:        var(--charcoal-500);
  --mute:              var(--charcoal-500);
  --dim:               rgba(36, 39, 37, 0.45);
  --line:              var(--stone-300);
  --line-strong:       rgba(36, 39, 37, 0.22);
  --card-bg:           var(--bg-surface);
  --card-hover:        var(--bg-surface-soft);
  --surface:           var(--bg-surface);
  --surface-alt:       var(--bg-surface-soft);
  --pad:               clamp(20px, 4vw, 72px);
  --ease-out:          cubic-bezier(0.16, 1, 0.3, 1);
  --accent-gold:       var(--gold-primary);
  --text-secondary:    var(--charcoal-500);
  --text-muted:        var(--charcoal-500);
}

/* ==========================================================================
   RESET & FOUNDATION
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-canvas);
  color-scheme: light;
}

body {
  background: var(--bg-canvas);
  color: var(--charcoal-800);
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  letter-spacing: -0.005em;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

ul {
  list-style: none;
}

.wrap {
  padding-inline: var(--pad);
  max-width: 1480px;
  margin-inline: auto;
  width: 100%;
}

.mute {
  color: var(--charcoal-500);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
}

/* ==========================================================================
   TYPOGRAPHY HIERARCHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--charcoal-900);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: block;
  font-size: clamp(0.68rem, 0.74vw, 0.74rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.display {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--charcoal-900);
}

.display.sm {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal-900);
}

.lead {
  font-size: clamp(1.0rem, 1.15vw, 1.15rem);
  line-height: 1.7;
  color: var(--charcoal-700);
  font-weight: 300;
  max-width: 720px;
}

.statement {
  font-size: clamp(1.3rem, 1.9vw, 1.85rem);
  line-height: 1.5;
  font-weight: 300;
  color: var(--charcoal-900);
  letter-spacing: -0.015em;
  max-width: 1040px;
  border-left: 2px solid var(--gold-primary);
  padding-left: clamp(20px, 3vw, 36px);
  margin-block: 16px;
}

/* ==========================================================================
   BUTTONS & ACTION CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font: 500 0.82rem 'Be Vietnam Pro', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--charcoal-800);
  background: transparent;
  color: var(--charcoal-900);
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn:hover {
  background: var(--charcoal-800);
  color: var(--bg-canvas);
  border-color: var(--charcoal-800);
}

.btn.solid {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #181A19;
  font-weight: 500;
}

.btn.solid:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  box-shadow: 0 4px 16px rgba(184, 154, 101, 0.28);
  color: #181A19;
}

.btn.ghost {
  background: var(--bg-surface);
  border-color: var(--stone-300);
  color: var(--charcoal-800);
}

.btn.ghost:hover {
  border-color: var(--gold-primary);
  color: var(--gold-deep);
  background: var(--bg-surface-soft);
}

.btn.sm {
  padding: 8px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.btn.block {
  width: 100%;
  text-align: center;
}

.btns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ==========================================================================
   NAVIGATION BAR — 3-ZONE EDITORIAL ATELIER
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(18px, 3.2vw, 48px);
  gap: clamp(14px, 2vw, 28px);
  background: rgba(245, 242, 235, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 212, 201, 0.55);
  transition: background 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out), padding 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  width: 100%;
}

.nav.solid {
  background: rgba(245, 242, 235, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px clamp(18px, 3.2vw, 48px);
  border-bottom: 1px solid var(--stone-300);
  box-shadow: 0 2px 12px rgba(36, 39, 37, 0.05);
}

/* Zone 1: Brand */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--charcoal-900);
}

.logo-img {
  height: 32px;
  max-height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-badge {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(184, 154, 101, 0.5);
  flex-shrink: 0;
}

.brand-name {
  display: inline-block;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  line-height: 1.2;
  color: var(--charcoal-900);
  flex-shrink: 0;
}

/* Zone 2: Navigation */
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 24px);
  font-size: clamp(0.72rem, 0.78vw, 0.78rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a:not(.btn) {
  color: var(--charcoal-700);
  position: relative;
  padding: 6px 4px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

.menu a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-primary);
  transition: width 0.3s var(--ease-out);
}

.menu a:not(.btn):hover,
.menu a:not(.btn).on {
  color: var(--charcoal-900);
  font-weight: 500;
}

.menu a:not(.btn):hover::after,
.menu a:not(.btn).on::after {
  width: 100%;
}

.menu-has-sub {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.menu-has-sub .sub-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  border: 1px solid var(--stone-300);
  min-width: 220px;
  padding: 8px 0;
  box-shadow: var(--shadow-elevated);
  border-radius: var(--radius-sm);
  z-index: 110;
}

.menu-has-sub:hover .sub-drop {
  display: block;
}

.menu-has-sub .sub-drop a {
  display: block;
  padding: 9px 18px;
  font-size: 0.84rem;
  color: var(--charcoal-800);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.menu-has-sub .sub-drop a:hover {
  color: var(--gold-deep) !important;
  background: var(--bg-surface-soft);
  padding-left: 22px;
}

.drawer-actions {
  display: none;
}

/* Zone 3: Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta {
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  padding: 8px 18px;
}

.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
  z-index: 101;
  flex-shrink: 0;
}

.burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--charcoal-900);
  transition: transform 0.3s ease, top 0.3s ease, background 0.3s ease;
}

.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }

.burger.on span:first-child {
  top: 22px;
  transform: rotate(45deg);
  background: var(--gold-deep);
}

.burger.on span:last-child {
  top: 22px;
  transform: rotate(-45deg);
  background: var(--gold-deep);
}

/* ==========================================================================
   HERO BANNER — NHÔM KÍNH ARCHITECTURAL SIGNATURE (Asymmetric Editorial)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 120px;
  padding-bottom: clamp(32px, 5vw, 56px);
  overflow: hidden;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--stone-300);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  z-index: 0;
  transition: transform 1.2s var(--ease-out);
}

.hero.has-photo .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(24, 26, 25, 0.88) 0%, rgba(24, 26, 25, 0.62) 52%, rgba(24, 26, 25, 0.28) 100%);
}

.hero.no-photo .hero-blueprint {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(184, 154, 101, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(184, 154, 101, 0.09) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
  margin-block: auto 32px;
  padding-top: clamp(32px, 5vw, 64px);
}

.hero-inner {
  max-width: 820px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-index {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  font-variant-numeric: tabular-nums;
}

.hero-line {
  width: 36px;
  height: 1px;
  background: var(--gold-primary);
  opacity: 0.75;
}

.hero .eyebrow {
  margin: 0;
}

.hero .display {
  font-size: clamp(2.6rem, 5.1vw, 4.75rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-block: 0 22px;
}

.hero.has-photo .display {
  color: #F5F2EB;
}

.hero.has-photo .eyebrow {
  color: #D8BA80;
}

.hero.has-photo .lead {
  color: rgba(245, 242, 235, 0.86);
}

.hero.has-photo .btn.ghost {
  background: rgba(24, 26, 25, 0.55);
  border-color: rgba(245, 242, 235, 0.45);
  color: #F5F2EB;
  backdrop-filter: blur(8px);
}

.hero.has-photo .btn.ghost:hover {
  background: #F5F2EB;
  color: #181A19;
  border-color: #F5F2EB;
}

.hero .lead {
  font-size: clamp(1.02rem, 1.2vw, 1.2rem);
  color: var(--charcoal-700);
  max-width: 620px;
}

/* Right Architectural Dossier Card */
.hero-aside {
  display: flex;
  justify-content: flex-end;
}

.hero-dossier {
  width: 100%;
  max-width: 340px;
  padding: 26px 28px;
  background: rgba(24, 26, 25, 0.92);
  color: #F5F2EB;
  border: 1px solid rgba(184, 154, 101, 0.45);
  border-left: 3px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
}

.dossier-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

.dossier-tag {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #D9D4C9;
  margin-bottom: 18px;
}

.dossier-tel {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  padding-top: 14px;
  border-top: 1px solid rgba(217, 212, 201, 0.18);
  width: 100%;
}

.dossier-tel:hover {
  color: var(--gold-hover);
}

.hero-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(217, 212, 201, 0.35);
}

.hero.has-photo .hero-bottom {
  border-top-color: rgba(245, 242, 235, 0.22);
}

.hero-coord {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-500);
}

.hero.has-photo .hero-coord,
.hero.has-photo .scroll-hint {
  color: rgba(245, 242, 235, 0.72);
}

.scroll-hint {
  position: static;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal-500);
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-hint::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold-primary);
}

/* Editorial Asymmetric Manifesto */
.manifesto-grid {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.sec-idx {
  display: block;
  font-size: clamp(2.4rem, 3.8vw, 3.6rem);
  font-weight: 200;
  line-height: 1;
  color: var(--gold-primary);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.manifesto-sec .statement {
  margin-block: 0;
  font-size: clamp(1.38rem, 2.05vw, 2rem);
}

/* ==========================================================================
   SECTIONS LAYOUT & HEADINGS
   ========================================================================== */
.sec {
  padding-block: clamp(60px, 7vw, 110px);
  position: relative;
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--stone-200);
  padding-bottom: 24px;
}

/* ==========================================================================
   STATS SECTION — ARCHITECTURAL SPECS
   ========================================================================== */
.stats {
  border-block: 1px solid var(--stone-300);
  background: var(--bg-surface);
  padding-block: clamp(40px, 5vw, 64px);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat b {
  font-size: clamp(2.4rem, 3.6vw, 3.6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--charcoal-900);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-500);
  margin-top: 8px;
  font-weight: 500;
}

/* ==========================================================================
   LADDER / ARCHITECTURAL SYSTEMS (Categories)
   ========================================================================== */
.ladder {
  display: flex;
  flex-direction: column;
}

.ladder a {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
  padding-block: clamp(20px, 2.4vw, 32px);
  border-bottom: 1px solid var(--stone-300);
  text-decoration: none;
  transition: all 0.3s var(--ease-out);
}

.ladder a:hover {
  padding-left: 12px;
  background: var(--bg-surface-soft);
  border-bottom-color: var(--gold-primary);
}

.ladder .num {
  font-size: 0.84rem;
  color: var(--gold-deep);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.ladder .ln strong {
  display: block;
  font-size: clamp(1.15rem, 1.4vw, 1.4rem);
  font-weight: 400;
  color: var(--charcoal-900);
  letter-spacing: -0.01em;
}

.ladder .ln small {
  display: block;
  color: var(--charcoal-500);
  font-size: 0.88rem;
  margin-top: 4px;
}

.ladder .cnt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-500);
  transition: color 0.25s ease, transform 0.25s ease;
}

.ladder a:hover .cnt {
  color: var(--gold-deep);
  transform: translateX(4px);
}

/* ==========================================================================
   CARDS & GRIDS (Products, Projects, Posts)
   ========================================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.grid.g2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid.g3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Product Card — Material Spec Sheet */
.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-card-hover);
}

.card .ph {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-surface-soft);
  position: relative;
}

.card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.card:hover .ph img {
  transform: scale(1.045);
}

.card-sku {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(24, 26, 25, 0.86);
  color: #F5F2EB;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  border-left: 2px solid var(--gold-primary);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card .tag {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.card h3 {
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--charcoal-900);
  line-height: 1.35;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 0.86rem;
  color: var(--charcoal-500);
  line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--stone-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.card .price {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-900);
  letter-spacing: 0.02em;
}

.card-arrow {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  transition: transform 0.25s var(--ease-out);
  white-space: nowrap;
}

.card:hover .card-arrow {
  transform: translateX(4px);
}

@media (min-width: 1024px) {
  .grid-signature {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-signature .card:first-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
  }

  .grid-signature .card:first-child .ph {
    aspect-ratio: auto;
    min-height: 360px;
  }

  .grid-signature .card:first-child .card-body {
    padding: clamp(28px, 3.5vw, 48px);
    justify-content: center;
  }

  .grid-signature .card:first-child h3 {
    font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  }
}

/* Room / Editorial Architecture Portfolio */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

@media (min-width: 1024px) {
  .strip.strip-editorial {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(24px, 2.8vw, 36px);
  }

  .strip.strip-editorial .room.room-lead {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
  }
}

.room {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--stone-300);
  display: block;
  text-decoration: none;
}

.room img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.room:hover img {
  transform: scale(1.045);
}

.room-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 28px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(24, 26, 25, 0.88) 100%);
  color: #F5F2EB;
  transition: background 0.3s ease;
}

.room-cap span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D8BA80;
  font-weight: 500;
}

.room-cap h3 {
  color: #FFFFFF;
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  font-weight: 400;
  margin-top: 6px;
}

.room-cap small {
  display: block;
  font-size: 0.8rem;
  color: #D9D4C9;
  margin-top: 6px;
}

.room-ph-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-500);
}

.room-ph-text {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* ==========================================================================
   ENGINEERING COMPARISON TABLE (Dual Materiality)
   ========================================================================== */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.compare .col {
  background: var(--bg-surface);
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-sm);
  padding: clamp(28px, 3.8vw, 44px);
}

.compare .col.hl {
  background: #181A19;
  color: #F5F2EB;
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-elevated);
}

.compare h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stone-200);
}

.compare .col.hl h3 {
  color: #D8BA80;
  border-bottom-color: rgba(184, 154, 101, 0.25);
}

.compare ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.compare li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
  color: var(--charcoal-700);
  line-height: 1.6;
}

.compare .col.hl li {
  color: #E8E3D8;
}

.compare li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--charcoal-500);
}

.compare .col.hl li::before {
  content: '✦';
  color: var(--gold-primary);
}

/* ==========================================================================
   PROCESS / WORKFLOW STEPS (Architectural Precision Timeline)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  margin-top: 44px;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--stone-300);
  padding-top: 28px;
}

.step::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--gold-primary);
  border-radius: 50%;
}

.step span {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--gold-deep);
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-block: 10px 10px;
  color: var(--charcoal-900);
}

.step p {
  font-size: 0.9rem;
  color: var(--charcoal-500);
  line-height: 1.65;
}

/* ==========================================================================
   CTA & CONSULTATION FORM
   ========================================================================== */
.cta {
  background: var(--bg-surface);
  border-block: 1px solid var(--stone-300);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.big-tel {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 300;
  color: var(--gold-deep);
  letter-spacing: 0.05em;
  display: inline-block;
  margin-top: 16px;
}

.big-tel:hover {
  color: var(--charcoal-900);
}

.contact-item {
  margin-top: 24px;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-val {
  color: var(--charcoal-900);
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-val.contact-address {
  color: var(--charcoal-600);
  line-height: 1.7;
}

.pagehead-404 {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lead-spaced {
  margin-bottom: 32px;
}

/* Form Styles */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-canvas);
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-sm);
  padding: clamp(24px, 3.5vw, 40px);
}

.form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal-700);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--charcoal-900);
  font: 300 0.95rem 'Be Vietnam Pro', sans-serif;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form textarea {
  resize: vertical;
  min-height: 90px;
}

/* ==========================================================================
   INNER PAGES, CATALOG & PDP
   ========================================================================== */
.pagehead {
  padding-top: clamp(130px, 14vw, 170px);
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--stone-300);
}

.crumbs {
  font-size: 0.78rem;
  color: var(--charcoal-500);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.crumbs a {
  color: var(--charcoal-700);
}

.crumbs a:hover {
  color: var(--gold-deep);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.chip {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  border: 1px solid var(--stone-300);
  background: var(--bg-surface);
  color: var(--charcoal-700);
  transition: all 0.2s ease;
}

.chip:hover,
.chip.on {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  color: #181A19;
  font-weight: 500;
}

.search {
  margin-top: 20px;
  max-width: 480px;
}

.search input {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.list-sec {
  padding-block: clamp(40px, 6vw, 80px);
}

/* PDP (Product Detail Page) */
.pdp {
  padding-top: clamp(130px, 14vw, 170px);
  padding-bottom: 60px;
}

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
  margin-top: 24px;
}

.gal {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gal-main {
  aspect-ratio: 4 / 3;
  background: var(--bg-surface);
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gal-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbs button {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--stone-300);
  overflow: hidden;
  background: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.65;
  transition: all 0.25s ease;
}

.thumbs button:hover,
.thumbs button.on {
  opacity: 1;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px var(--gold-primary);
}

.thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp .info {
  display: flex;
  flex-direction: column;
}

.pdp .price.big {
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--charcoal-900);
  margin-block: 10px 14px;
}

.specs {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  border-top: 1px solid var(--stone-300);
}

.specs th, .specs td {
  padding: 12px 14px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--stone-200);
  text-align: left;
}

.specs th {
  color: var(--charcoal-500);
  font-weight: 400;
  width: 38%;
}

.specs td {
  color: var(--charcoal-900);
  font-weight: 400;
}

/* ==========================================================================
   EDITORIAL 2-COLUMN (Posts & Static Pages)
   ========================================================================== */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.sidebar-card.gold-accent {
  border-top: 3px solid var(--gold-primary);
}

.sidebar-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal-900);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stone-200);
}

.sidebar-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  color: var(--charcoal-700);
  transition: all 0.2s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--bg-surface-soft);
  color: var(--gold-deep);
  font-weight: 500;
  padding-left: 16px;
}

/* TOC (Table of Contents) Box */
.toc-box {
  background: var(--bg-surface);
  border: 1px solid var(--stone-300);
  border-left: 3px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-block: 28px;
}

.toc-header {
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal-900);
  margin-bottom: 12px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list a {
  font-size: 0.9rem;
  color: var(--charcoal-700);
}

.toc-list a:hover {
  color: var(--gold-deep);
}

.toc-list .toc-h3 {
  padding-left: 16px;
  font-size: 0.85rem;
}

/* Rich-text Prose */
.prose {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--charcoal-800);
}

.prose p {
  margin-bottom: 1.6em;
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 2em;
  margin-bottom: 0.8em;
  color: var(--charcoal-900);
}

.prose h3 {
  font-size: 1.25rem;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  color: var(--charcoal-900);
}

.prose ul, .prose ol {
  margin-bottom: 1.6em;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose blockquote {
  border-left: 3px solid var(--gold-primary);
  padding-left: 20px;
  margin-block: 28px;
  font-style: italic;
  color: var(--charcoal-700);
}

.prose img {
  border-radius: var(--radius-sm);
  margin-block: 28px;
  border: 1px solid var(--stone-300);
}

/* Callout Disclaimers */
.disclaimer-callout {
  padding: 16px 20px;
  background: var(--bg-surface);
  border-left: 3px solid var(--gold-primary);
  border: 1px solid var(--stone-300);
  border-left-width: 3px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--charcoal-700);
  line-height: 1.65;
  margin-block: 24px;
}

.disclaimer-callout strong {
  color: var(--gold-deep);
}

/* Pager */
.pager {
  display: flex;
  gap: 8px;
  margin-top: 36px;
  justify-content: center;
}

.pager a {
  padding: 9px 16px;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--charcoal-800);
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.pager a:hover,
.pager a.on {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  color: #181A19;
  font-weight: 500;
}

/* ==========================================================================
   FOOTER — ARCHITECTURAL ARCHIVE
   ========================================================================== */
.footer {
  background: #181A19;
  color: #E8E3D8;
  padding-top: clamp(60px, 7vw, 100px);
  padding-bottom: 32px;
  border-top: 1px solid var(--stone-300);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
}

.foot-logo {
  color: #FFFFFF;
}

.foot-logo-img {
  max-height: 36px;
  vertical-align: middle;
  margin-right: 8px;
}

.foot-desc {
  margin-top: 16px;
  max-width: 440px;
  line-height: 1.7;
}

.foot-logo .brand-name {
  color: #FFFFFF;
}

.foot-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 20px;
  font-weight: 500;
}

.foot-col p {
  font-size: 0.88rem;
  color: #B3B8B4;
  line-height: 1.8;
  margin-bottom: 8px;
}

.foot-col a {
  color: #E8E3D8;
}

.foot-col a:hover {
  color: var(--gold-hover);
}

.foot-social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.foot-social a {
  color: var(--gold-primary);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
}

.foot-social a:hover {
  color: #FFFFFF;
}

.copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  margin-top: 48px;
  border-top: 1px solid rgba(217, 212, 201, 0.15);
  font-size: 0.78rem;
  color: #7A807C;
}

.accent-link {
  color: var(--gold-primary);
  font-weight: 400;
}

.mute.hours {
  font-size: 0.85rem;
}

.copy-tagline {
  color: var(--gold-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

/* Floating Docked Bar */
.float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 10px;
  z-index: 99;
}

.float a {
  padding: 12px 20px;
  background: var(--charcoal-900);
  color: #F5F2EB;
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(24, 26, 25, 0.35);
  transition: all 0.25s ease;
}

.float a:hover {
  background: var(--gold-primary);
  color: #181A19;
  border-color: var(--gold-primary);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--charcoal-900);
  color: #F5F2EB;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold-primary);
  box-shadow: var(--shadow-elevated);
  z-index: 1000;
  font-size: 0.92rem;
}

.toast.err {
  border-left-color: #A84242;
}

/* ==========================================================================
   SCROLL REVEAL (IntersectionObserver Hooks)
   ========================================================================== */
.js .rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.js .rv.in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
@media (max-width: 1366px) {
  .nav {
    padding: 14px 24px;
  }
  .menu {
    gap: clamp(8px, 1.1vw, 16px);
    font-size: 0.72rem;
  }
}

@media (max-width: 1140px) {
  .burger {
    display: block;
  }

  .menu {
    position: fixed;
    inset: 0;
    background: rgba(245, 242, 235, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    gap: 22px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 100;
    padding: 80px 24px 40px;
    overflow-y: auto;
  }

  .menu.open {
    opacity: 1;
    pointer-events: auto;
  }

  .menu a:not(.btn) {
    font-size: 1.05rem;
    padding: 8px 16px;
  }

  .menu-has-sub {
    flex-direction: column;
    align-items: center;
  }

  .menu-has-sub .sub-drop {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(232, 227, 216, 0.5);
    margin-top: 6px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .drawer-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
    max-width: 260px;
  }

  .drawer-hotline {
    color: var(--gold-deep);
    font-weight: 500;
    font-size: 0.95rem;
  }

  .cta-grid, .compare, .pdp-grid, .content-grid, .hero-grid, .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-aside {
    justify-content: flex-start;
  }

  .hero-dossier {
    max-width: 100%;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
  }
}

@media (max-width: 767px) {
  .nav {
    padding: 12px 18px;
  }

  .nav.solid {
    padding: 10px 18px;
  }

  .nav-cta {
    display: none;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ladder a {
    grid-template-columns: 40px 1fr;
    gap: 10px 14px;
  }

  .ladder .cnt {
    grid-column: 2;
  }

  .grid, .grid.g2, .grid.g3, .strip {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .copy {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* Safe Spacing for Docked Floating Bar on Mobile */
  .footer {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  /* Docked Action Bar Mobile */
  .float {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(24, 26, 25, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--stone-300);
    flex-direction: row;
    gap: 10px;
    border-radius: 0;
  }

  .float a {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-size: 0.78rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .form .row2 {
    grid-template-columns: 1fr;
  }

  .form input, .form select, .form textarea {
    font-size: 16px; /* Chống iOS auto zoom */
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    transition: none !important;
  }
}
