@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&family=Noto+Serif+Display:wght@500;600;700&display=swap");

:root {
  --font-display: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Be Vietnam Pro", "Inter", "Segoe UI", Arial, sans-serif;
  --ink: #171615;
  --charcoal: #252321;
  --stone: #eeece6;
  --paper: #fbfaf6;
  --line: rgba(23, 22, 21, 0.14);
  --brass: #a98448;
  --wine: #6d2635;
  --olive: #516454;
  --white: #ffffff;
  --shadow: 0 20px 56px rgba(23, 22, 21, 0.12);
  --deep-shadow: 0 28px 72px rgba(23, 22, 21, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 22, 21, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 22, 21, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.42;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
blockquote {
  text-wrap: balance;
}

p,
li,
dd,
.service-spec-box span,
.dossier-item span {
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.scrolled,
.site-header.open,
.site-header.site-header--solid {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(23, 22, 21, 0.04);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.brand span {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.15vw, 1.06rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand small {
  font-size: clamp(0.6rem, 0.72vw, 0.68rem);
  line-height: 1.3;
  letter-spacing: 0.08em;
  opacity: 0.78;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  opacity: 0.84;
  white-space: nowrap;
  transition: opacity 180ms ease, color 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
}

.site-header.scrolled .main-nav a.active,
.site-header.site-header--solid .main-nav a.active {
  color: var(--wine);
  font-weight: 700;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brass);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 6px auto;
  background: currentColor;
}

/* ==========================================================================
   TYPOGRAPHY (CHỈN CHU TIẾNG VIỆT, KHÔNG CHỒNG DẤU, KHÔNG RƠI CHỮ LẺ)
   ========================================================================== */

h1,
h2,
h3,
h4,
p {
  margin: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 3.9vw, 3.55rem);
  line-height: 1.24;
  max-width: 18em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.65rem, 2.35vw, 2.25rem);
  line-height: 1.28;
  max-width: 26em;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-body);
  font-size: clamp(1.08rem, 1.25vw, 1.26rem);
  font-weight: 700;
  line-height: 1.4;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
}

.eyebrow.dark {
  color: var(--wine);
}

.section-kicker {
  width: fit-content;
  margin-bottom: 16px;
  color: var(--wine);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid currentColor;
  padding: 0 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--white);
}

.button.primary:hover {
  background: #967239;
  border-color: #967239;
}

.button.secondary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button.secondary:hover {
  background: var(--wine);
  border-color: var(--wine);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--white);
}

.button.outline {
  border-color: rgba(23, 22, 21, 0.28);
  background: transparent;
  color: var(--ink);
}

.button.outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button.full {
  width: 100%;
}

/* ==========================================================================
   HOME HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 420px);
  gap: clamp(32px, 4vw, 64px);
  align-items: end;
  overflow: hidden;
  padding: 128px clamp(20px, 5vw, 72px) 56px;
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 76px clamp(20px, 5vw, 72px) 48px;
  z-index: 1;
  pointer-events: none;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-atelier.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: contrast(1.04) saturate(0.95);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.82) 0%, rgba(12, 11, 10, 0.52) 56%, rgba(12, 11, 10, 0.28) 100%),
    linear-gradient(0deg, rgba(12, 11, 10, 0.62) 0%, rgba(12, 11, 10, 0.12) 48%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-content {
  max-width: 780px;
  padding-left: clamp(0px, 1.5vw, 24px);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.3vw, 3.9rem);
  line-height: 1.24;
  max-width: 16em;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.hero-copy {
  max-width: 640px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-panel {
  width: 100%;
  display: grid;
  gap: 20px;
  padding: 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 3px solid var(--brass);
  background: rgba(20, 19, 18, 0.68);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.hero-panel div {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-panel div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.hero-panel strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: #f3d49c;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ==========================================================================
   INNER PAGE HERO (DỊCH VỤ, QUY TRÌNH, BÁO GIÁ, LIÊN HỆ)
   ========================================================================== */

.page-hero {
  position: relative;
  z-index: 1;
  padding: 132px clamp(20px, 5vw, 72px) 56px;
  background:
    radial-gradient(circle at 85% 20%, rgba(169, 132, 72, 0.14), transparent 36%),
    linear-gradient(180deg, #f3efe6 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.1rem, 3.6vw, 3.25rem);
  line-height: 1.25;
}

.page-hero-lead {
  color: rgba(23, 22, 21, 0.72);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.75;
}

/* ==========================================================================
   SECTIONS & BALANCED GRIDS
   ========================================================================== */

.section {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 7.5vw, 108px) clamp(20px, 5vw, 72px);
}

.section-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.section-head > p {
  color: rgba(23, 22, 21, 0.68);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.72;
}

/* Intro / Brand Story Strip (Vẻ Đẹp Kiến Trúc — Thuần Kiến Trúc, Gọn Gàng, Cân Đối) */
.intro-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.intro-box {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.intro-editorial-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 2.8vw, 36px);
  align-items: center;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.12);
  border-left: 4px solid var(--brass);
  box-shadow: 0 10px 26px rgba(23, 22, 21, 0.04);
}

.intro-head-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.intro-head-left h2 {
  font-size: clamp(1.35rem, 1.75vw, 1.68rem);
  line-height: 1.24;
  text-wrap: balance;
}

.intro-head-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding-left: clamp(18px, 2.4vw, 28px);
  border-left: 1px solid var(--line);
}

.intro-editorial-lead {
  color: rgba(23, 22, 21, 0.78);
  font-size: 0.9rem;
  line-height: 1.62;
  margin: 0;
}

.intro-meta-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(23, 22, 21, 0.08);
  margin-top: 0;
}

.intro-meta-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 10px;
  background: var(--paper);
  border: 1px solid rgba(23, 22, 21, 0.1);
  border-left: 3px solid var(--brass);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--charcoal);
  min-width: 0;
}

.intro-meta-badge small {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wine);
  white-space: nowrap;
}

.intro-meta-badge strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.intro-meta-badge span {
  color: rgba(23, 22, 21, 0.68);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.intro-pillars-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.intro-pillar-item {
  padding: 26px 28px;
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.12);
  border-top: 3px solid var(--brass);
  box-shadow: 0 12px 32px rgba(23, 22, 21, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intro-pillar-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 22, 21, 0.08);
}

.intro-pillar-head span {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 24px;
  padding: 0 7px;
  background: var(--ink);
  border: 1px solid rgba(169, 132, 72, 0.55);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  color: #f3d49c;
  line-height: 1;
  flex-shrink: 0;
}

.intro-pillar-head em {
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
}

.intro-pillar-item h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.intro-pillar-item p {
  color: rgba(23, 22, 21, 0.74);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

.intro-commitment-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 15px;
  background: #f5f2ea;
  border: 1px solid rgba(169, 132, 72, 0.3);
  border-left: 3px solid var(--wine);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.intro-commitment-bar strong {
  color: var(--wine);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.74rem;
  white-space: nowrap;
}

/* ==========================================================================
   HOME FEATURED PROJECTS (6 CÔNG TRÌNH MỚI NHẤT 2025 - CHẠY SANG PAGE DỰ ÁN)
   ========================================================================== */

.home-projects {
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}

.home-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.home-project-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.12);
  box-shadow: 0 14px 36px rgba(23, 22, 21, 0.07);
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 320ms ease, border-color 320ms ease;
}

.home-project-card:hover {
  transform: translateY(-6px);
  border-color: var(--brass);
  box-shadow: var(--deep-shadow);
}

.home-project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 7 / 5;
  background: #ebe6dc;
  overflow: hidden;
}

.home-project-thumb::before {
  content: "";
  position: absolute;
  inset: -16px;
  background-image: var(--thumb-bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.92);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 0;
  pointer-events: none;
}

.home-project-thumb.is-smart-fit::before {
  opacity: 1;
}

.home-project-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-project-thumb.is-smart-fit img {
  object-fit: contain;
  object-position: center center;
}

.home-project-card:hover .home-project-thumb img {
  transform: scale(1.04);
}

.home-project-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: space-between;
  background: var(--white);
}

.home-project-owner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(23, 22, 21, 0.08);
  padding-bottom: 10px;
}

.home-project-owner-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wine);
  margin-right: 4px;
}

.home-project-owner h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.home-project-year {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brass);
  padding: 2px 8px;
  background: rgba(169, 132, 72, 0.12);
  white-space: nowrap;
}

.home-project-specs {
  display: grid;
  gap: 5px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(23, 22, 21, 0.72);
}

.home-project-specs div {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.home-project-specs strong {
  color: var(--ink);
  font-weight: 600;
}

.home-projects-footer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.home-projects-footer p {
  font-size: 0.98rem;
  color: rgba(23, 22, 21, 0.78);
}

.home-projects-footer strong {
  color: var(--ink);
}

/* ==========================================================================
   SERVICES CARDS (4 HẠNG MỤC CỐT LÕI)
   ========================================================================== */

.services {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.12);
  box-shadow: 0 10px 30px rgba(23, 22, 21, 0.05);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--brass);
  box-shadow: var(--shadow);
}

.service-card-top {
  display: grid;
  gap: 12px;
}

.service-card span.service-num {
  color: var(--brass);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--ink);
}

.service-card p {
  color: rgba(23, 22, 21, 0.68);
  font-size: 0.94rem;
  line-height: 1.68;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wine);
  padding-top: 12px;
  border-top: 1px solid rgba(23, 22, 21, 0.08);
}

/* Detailed Service Blocks on services.html */
.service-hero-shell {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.service-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.service-nav-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 15px 18px;
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.14);
  border-left: 3px solid var(--brass);
  box-shadow: 0 8px 22px rgba(23, 22, 21, 0.04);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.service-nav-card:hover {
  transform: translateY(-3px);
  border-color: var(--brass);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(23, 22, 21, 0.14);
}

.service-nav-code {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
  transition: color 200ms ease;
}

.service-nav-card:hover .service-nav-code {
  color: #f3d49c;
}

.service-nav-card strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
  transition: color 200ms ease;
}

.service-nav-card:hover strong {
  color: var(--white);
}

.service-nav-card small {
  font-size: 0.74rem;
  line-height: 1.4;
  color: rgba(23, 22, 21, 0.65);
  transition: color 200ms ease;
}

.service-nav-card:hover small {
  color: rgba(255, 255, 255, 0.78);
}

/* Compact Luxury Quick Bar on pricing.html (Ảnh 2) */
.pricing-quick-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.14);
  border-left: 3px solid var(--brass);
  box-shadow: 0 8px 24px rgba(23, 22, 21, 0.04);
}

.pricing-quick-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wine);
}

.pricing-quick-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pricing-quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--paper);
  border: 1px solid rgba(23, 22, 21, 0.14);
  font-size: 0.86rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.pricing-quick-pill em {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--brass);
}

.pricing-quick-pill strong {
  font-weight: 700;
  color: var(--ink);
}

.pricing-quick-pill span {
  font-size: 0.78rem;
  color: rgba(23, 22, 21, 0.62);
}

.pricing-quick-pill:hover {
  transform: translateY(-2px);
  background: var(--ink);
  border-color: var(--brass);
}

.pricing-quick-pill:hover em {
  color: #f3d49c;
}

.pricing-quick-pill:hover strong,
.pricing-quick-pill:hover span {
  color: var(--white);
}

.service-detail-list {
  display: grid;
  gap: 40px;
}

.service-showcase-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.96fr) minmax(0, 1.14fr);
  gap: clamp(28px, 3.8vw, 48px);
  padding: clamp(26px, 3.5vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(23, 22, 21, 0.07);
  align-items: stretch;
}

.service-showcase-card.reverse {
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.96fr);
}

.service-showcase-card.reverse .service-showcase-media {
  order: 2;
}

.service-showcase-card.reverse .service-showcase-content {
  order: 1;
}

.service-showcase-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.service-media-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #1a1918;
  overflow: hidden;
  border: 1px solid rgba(23, 22, 21, 0.12);
}

.service-media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-showcase-card:hover .service-media-main img {
  transform: scale(1.03);
}

.service-media-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: rgba(23, 22, 21, 0.84);
  backdrop-filter: blur(8px);
  border-left: 3px solid var(--brass);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(0deg, rgba(15, 14, 13, 0.84) 0%, transparent 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 500;
}

.service-media-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  flex: 1;
}

.service-media-sub {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #1a1918;
  overflow: hidden;
  border: 1px solid rgba(23, 22, 21, 0.12);
}

.service-media-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.service-media-sub:hover img {
  transform: scale(1.05);
}

.service-media-sub span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 10px 7px;
  background: linear-gradient(0deg, rgba(15, 14, 13, 0.82) 0%, transparent 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-showcase-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}

.service-showcase-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.service-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(169, 132, 72, 0.12);
  border: 1px solid rgba(169, 132, 72, 0.35);
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.service-showcase-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.25vw, 2.1rem);
  font-weight: 600;
  line-height: 1.26;
  color: var(--ink);
}

.service-showcase-sub {
  margin-top: 6px;
  color: var(--brass);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

.service-showcase-lead {
  color: rgba(23, 22, 21, 0.76);
  font-size: 0.96rem;
  line-height: 1.74;
}

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

.service-spec-box {
  padding: 13px 15px;
  background: var(--paper);
  border: 1px solid rgba(23, 22, 21, 0.1);
  border-left: 3px solid var(--brass);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-spec-box strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.service-spec-box span {
  font-size: 0.82rem;
  color: rgba(23, 22, 21, 0.68);
  line-height: 1.5;
}

.service-showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.service-showcase-note {
  font-size: 0.84rem;
  color: rgba(23, 22, 21, 0.72);
}

.service-showcase-note strong {
  color: var(--wine);
}

/* ==========================================================================
   10 HẠNG MỤC HOÀN THIỆN & VẬT TƯ (4.1 - 4.10 LOCKED CATALOGUE ITEMS)
   ========================================================================== */

.finishing-section {
  background: var(--stone);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.finishing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.finishing-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.39fr) minmax(0, 0.61fr);
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.12);
  box-shadow: 0 12px 32px rgba(23, 22, 21, 0.06);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

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

.finishing-card-media {
  position: relative;
  min-height: 210px;
  background: #1c1b1a;
  overflow: hidden;
}

.finishing-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 460ms ease;
}

.finishing-card:hover .finishing-card-media img {
  transform: scale(1.05);
}

.finishing-code {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(23, 22, 21, 0.86);
  border-left: 3px solid var(--brass);
  color: #f3d49c;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.finishing-card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.finishing-card-top {
  display: grid;
  gap: 8px;
}

.finishing-card-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine);
}

.finishing-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
}

.finishing-card p {
  font-size: 0.87rem;
  line-height: 1.64;
  color: rgba(23, 22, 21, 0.74);
  text-wrap: pretty;
}

.finishing-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(23, 22, 21, 0.08);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--charcoal);
}

.finishing-card-meta strong {
  white-space: nowrap;
}

.finishing-card-meta span {
  color: var(--brass);
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
   HOME OVERVIEW BRIDGES (QUY TRÌNH & BÁO GIÁ TRÊN TRANG CHỦ)
   ========================================================================== */

.home-bridges {
  background: #f5f2ea;
  border-bottom: 1px solid var(--line);
}

.bridge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.bridge-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 3.5vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(23, 22, 21, 0.06);
}

.bridge-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.9vw, 1.78rem);
  font-weight: 600;
  line-height: 1.28;
  margin-top: 6px;
}

.bridge-card p {
  color: rgba(23, 22, 21, 0.72);
  font-size: 0.96rem;
  line-height: 1.72;
  margin-top: 12px;
}

.bridge-list {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bridge-list-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
}

.bridge-list-row strong {
  color: var(--wine);
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
   PROCESS PAGE (3 GIAI ĐOẠN LIÊN KẾT MẠCH LẠC & 10 BƯỚC TIẾN LỚN)
   ========================================================================== */

/* Thanh trục liên kết tổng thể Bước 01 -> Bước 02 -> Bước 03 */
.process-flow-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  margin-bottom: 24px;
  background: var(--ink);
  border: 1px solid rgba(169, 132, 72, 0.45);
  box-shadow: 0 12px 28px rgba(23, 22, 21, 0.08);
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.flow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  background: var(--brass);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.flow-node strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: #f3d49c;
  line-height: 1.25;
}

.flow-connector {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  color: var(--brass);
}

.flow-line {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(169, 132, 72, 0.35), var(--brass));
}

.flow-arrow {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  color: #f3d49c;
}

.process-steps-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  position: relative;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 26px 22px;
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.16);
  border-top: 3px solid var(--brass);
  box-shadow: 0 14px 36px rgba(23, 22, 21, 0.06);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass);
  box-shadow: 0 20px 44px rgba(23, 22, 21, 0.11);
}

/* Nút mũi tên nối trực tiếp giữa Bước 01 -> Bước 02 và Bước 02 -> Bước 03 */
.step-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--brass);
  color: #f3d49c;
  font-size: 0.85rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 6px 16px rgba(23, 22, 21, 0.22);
}

.step-card-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 22, 21, 0.1);
}

.step-num-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--ink);
  color: #f3d49c;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step-head em {
  padding: 5px 11px;
  border: 1px solid rgba(169, 132, 72, 0.4);
  background: rgba(169, 132, 72, 0.12);
  color: var(--wine);
  font-size: 0.73rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.step-card h3 {
  font-size: 1.15rem;
  line-height: 1.32;
  color: var(--ink);
  margin: 0;
}

.step-card p {
  color: rgba(23, 22, 21, 0.74);
  font-size: 0.91rem;
  line-height: 1.66;
  margin: 0;
  text-wrap: pretty;
}

.step-outcome {
  margin-top: 4px;
  padding: 10px 13px;
  background: #f6f3eb;
  border: 1px solid rgba(169, 132, 72, 0.32);
  border-left: 3px solid var(--brass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.77rem;
  color: var(--ink);
  line-height: 1.4;
}

.step-outcome strong {
  color: var(--wine);
  font-weight: 700;
}

.step-next-tag {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wine);
  white-space: nowrap;
  flex-shrink: 0;
}

.step-outcome--done {
  border-left-color: var(--wine);
  background: rgba(109, 38, 53, 0.06);
}

/* 10 Bước Tiến Lớn - Phiên bản Gọn Gàng Đẳng Cấp (Hiển thị đầy đủ 10 bước trên 1 màn hình) */
.ten-steps-section {
  padding-top: 44px;
  padding-bottom: 44px;
  background:
    radial-gradient(circle at 12% 15%, rgba(169, 132, 72, 0.11), transparent 34%),
    linear-gradient(180deg, #f4f0e6 0%, var(--stone) 100%);
  border-bottom: 1px solid var(--line);
}

.ten-steps-block .section-head {
  margin-bottom: 16px !important;
  gap: 20px;
}

.ten-steps-block .section-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 1.9vw, 1.82rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--ink);
  margin: 0;
}

.ten-steps-block .section-head > p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.ten-steps-mobile-more {
  display: none;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.advantage-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 15px;
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.11);
  border-left: 3px solid var(--brass);
  box-shadow: 0 6px 18px rgba(23, 22, 21, 0.035);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.advantage-item:hover {
  transform: translateY(-2px);
  border-color: var(--brass);
  box-shadow: 0 10px 24px rgba(23, 22, 21, 0.08);
}

.advantage-seal {
  width: 44px;
  height: 44px;
  background: var(--ink);
  border: 1px solid rgba(169, 132, 72, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 200ms ease;
}

.advantage-item:hover .advantage-seal {
  background: var(--wine);
}

.advantage-seal small {
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1;
  margin-bottom: 2px;
}

.advantage-seal span {
  color: #f3d49c;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1;
}

.advantage-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.advantage-kicker {
  display: none;
}

.advantage-body h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.24;
  color: var(--ink);
  margin: 0;
}

.advantage-body p {
  color: rgba(23, 22, 21, 0.72);
  font-size: 0.81rem;
  line-height: 1.46;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   PRICING PAGE (BẢNG BÁO GIÁ & TÍNH CHI PHÍ - CÂN ĐỐI 2 CỘT ĐỒNG ĐỀU)
   ========================================================================== */

.pricing-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 38px);
  align-items: stretch;
}

.pricing-table,
.dossier-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  box-shadow: 0 14px 36px rgba(23, 22, 21, 0.06);
}

.dossier-card {
  border-top-color: var(--wine);
}

.pricing-card-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.pricing-card-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 1.9vw, 1.7rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.26;
  margin-top: 4px;
}

.pricing-card-sub {
  color: rgba(23, 22, 21, 0.7);
  font-size: 0.9rem;
  line-height: 1.58;
  margin-top: 6px;
}

/* Bảng Đơn giá chia ô chuẩn mực, sang trọng, rõ từng dòng và cột */
.pricing-rows-wrap {
  display: grid;
  gap: 0;
  border: 1px solid rgba(23, 22, 21, 0.2);
  background: var(--white);
}

.pricing-table-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--ink);
  color: #f3d49c;
  border-bottom: 1px solid rgba(169, 132, 72, 0.45);
}

.pricing-table-head span {
  padding: 11px 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-table-head span:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.pricing-table-head span:last-child {
  text-align: right;
}

.pricing-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  border-bottom: 1px solid rgba(23, 22, 21, 0.14);
  transition: background 160ms ease;
}

.pricing-row:nth-child(even) {
  background: #fbf9f4;
}

.pricing-row:hover {
  background: #f4efe4;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-cell-name {
  padding: 13px 16px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(23, 22, 21, 0.14);
}

.pricing-cell-name span {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.35;
}

.pricing-cell-price {
  padding: 13px 16px;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  text-align: right;
}

.pricing-row strong {
  color: var(--wine);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.55vw, 1.38rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pricing-row em {
  color: rgba(23, 22, 21, 0.62);
  font-size: 0.78rem;
  font-weight: 600;
  font-style: normal;
  white-space: nowrap;
}

.dossier-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.dossier-item {
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid rgba(23, 22, 21, 0.08);
  border-left: 3px solid var(--brass);
}

.dossier-item strong {
  display: block;
  font-size: 0.93rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.dossier-item span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.56;
  color: rgba(23, 22, 21, 0.72);
}

.dossier-summary-box {
  padding: 15px 18px;
  background: #f5f2ea;
  border-left: 3px solid var(--wine);
}

.dossier-summary-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wine);
}

.dossier-summary-desc {
  font-size: 0.85rem;
  color: var(--charcoal);
  margin-top: 5px;
  line-height: 1.56;
}

/* Pricing Calculator */
.pricing-calc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.pricing-calc h4 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--ink);
  margin: 0;
}

.pricing-calc-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 12px;
}

.pricing-calc-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--charcoal);
  font-weight: 700;
}

.pricing-calc-grid select,
.pricing-calc-grid input {
  padding: 11px 12px;
  border: 1px solid rgba(23, 22, 21, 0.2);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
}

.pricing-calc-addons {
  display: grid;
  gap: 8px;
}

.pricing-calc-addons-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--charcoal);
}

.pricing-calc-addons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calc-addon-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid rgba(23, 22, 21, 0.14);
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 180ms ease, background 180ms ease;
}

.calc-addon-option:hover {
  border-color: var(--brass);
  background: #f5f2ea;
}

.calc-addon-option input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--wine);
  cursor: pointer;
  flex-shrink: 0;
}

.calc-addon-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.calc-addon-text strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.calc-addon-text small {
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(23, 22, 21, 0.65);
}

.pricing-calc-result {
  padding: 14px 16px;
  background: #f5f2ea;
  border-left: 3px solid var(--brass);
}

.pricing-calc-total {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--wine);
  line-height: 1.25;
}

.pricing-calc-breakdown {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 5px;
  line-height: 1.48;
}

.pricing-calc-stage {
  font-size: 0.82rem;
  color: var(--charcoal);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(23, 22, 21, 0.15);
  line-height: 1.48;
}

.calc-voucher-link {
  display: inline-block;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed rgba(169, 132, 72, 0.35);
  width: 100%;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wine);
  text-decoration: none;
  transition: color 180ms ease;
}

.calc-voucher-link strong {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.calc-voucher-link:hover {
  color: var(--ink);
}

.pricing-card-cta {
  padding-top: 4px;
}

/* ==========================================================================
   CONTACT PAGE & CTA BAND
   ========================================================================== */

.quote-band {
  padding: clamp(56px, 7vw, 88px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(23, 22, 21, 0.94), rgba(109, 38, 53, 0.86)),
    var(--charcoal);
}

.quote-band-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.quote-band blockquote {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  line-height: 1.32;
}

.quote-band p {
  max-width: 780px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 38px);
  align-items: stretch;
}

.contact-office-card,
.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  box-shadow: 0 14px 36px rgba(23, 22, 21, 0.06);
}

.contact-form {
  border-top-color: var(--wine);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.contact-info-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-info-item {
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid rgba(23, 22, 21, 0.09);
  border-left: 3px solid var(--brass);
}

.contact-info-item small {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--wine);
  margin-bottom: 3px;
}

.contact-info-item strong,
.contact-info-item a {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

.contact-office-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-office-actions .button {
  white-space: nowrap;
  padding-inline: 14px;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  flex: 1;
}

.contact-form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-form-footer {
  display: grid;
  gap: 6px;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(23, 22, 21, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 22, 21, 0.2);
  border-radius: 0;
  background: #fbfaf6;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 13px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brass);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  padding: 12px 14px;
  background: #f5f2ea;
  border-left: 3px solid var(--brass);
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.5;
  display: grid;
  gap: 4px;
}

.form-note:empty {
  display: none;
}

.form-note strong {
  color: var(--wine);
  font-weight: 700;
}

.form-note a {
  color: var(--wine);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER & FLOATING QUICK LINKS (LUXURY ARCHITECTURAL FOOTER)
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 56px clamp(20px, 5vw, 72px) 28px;
  border-top: 2px solid var(--brass);
  background: linear-gradient(180deg, #181715 0%, #100f0d 100%);
  color: var(--white);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(169, 132, 72, 0.25);
  pointer-events: none;
}

.site-footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) minmax(250px, 0.9fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-company-title {
  margin: 0 0 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(169, 132, 72, 0.24);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.4;
  text-decoration: none;
  display: block;
  transition: color 180ms ease;
}

.footer-company-title:hover {
  color: #f3d49c;
}

.footer-col-title {
  margin: 0 0 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(169, 132, 72, 0.24);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3d49c;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.55;
}

.footer-label {
  color: rgba(243, 212, 156, 0.75);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 2px;
}

.footer-legal-box {
  margin-top: 2px;
  padding-top: 9px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.5;
}

.footer-legal-box strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.footer-contact-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
}

.footer-contact-row strong {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 102px;
  flex-shrink: 0;
}

.footer-hotline {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: #f3d49c !important;
  text-decoration: none !important;
  letter-spacing: 0.03em;
}

.site-footer p a,
.footer-contact-row a {
  color: #f3d49c;
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 212, 156, 0.3);
  transition: color 180ms ease, border-color 180ms ease;
}

.site-footer p a:hover,
.footer-contact-row a:hover {
  color: var(--white);
  border-color: var(--white);
}

/* Cột 3: Bản đồ Google Maps & Nút Trở về đầu trang */
.footer-map-card {
  border: 1px solid rgba(169, 132, 72, 0.36);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  transition: border-color 220ms ease;
}

.footer-map-card:hover {
  border-color: #f3d49c;
}

.footer-map-frame {
  position: relative;
  width: 100%;
  height: 138px;
  background: #1d1b18;
  overflow: hidden;
}

.footer-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(18%) contrast(1.04);
}

.footer-map-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(169, 132, 72, 0.14);
  border-top: 1px solid rgba(169, 132, 72, 0.28);
  color: #f3d49c !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 180ms ease, color 180ms ease;
}

.footer-map-link:hover {
  background: var(--brass);
  color: var(--ink) !important;
}

.footer-map-link span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.footer-map-link strong {
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-map-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-back-top {
  margin-top: 4px;
  width: 100%;
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 200ms ease;
}

.footer-back-top:hover {
  border-color: #f3d49c;
  background: rgba(169, 132, 72, 0.18);
  color: #f3d49c;
  transform: translateY(-2px);
}

.footer-back-top .back-top-arrow {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(243, 212, 156, 0.45);
  color: #f3d49c;
  font-size: 0.85rem;
  line-height: 1;
}

.site-footer-bottom {
  max-width: 1360px;
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.copyright {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.52) !important;
  font-size: 0.72rem !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copyright strong {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.footer-tagline-right {
  margin: 0 !important;
  color: rgba(243, 212, 156, 0.62) !important;
  font-size: 0.71rem !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 45;
  display: grid;
  gap: 10px;
}

.quick-link {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: var(--white);
  background: rgba(23, 22, 21, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.quick-link svg {
  width: 26px;
  height: 26px;
  display: block;
}

.quick-link.call svg {
  fill: currentColor;
}

.quick-link.zalo {
  background: rgba(10, 74, 146, 0.88);
}

.quick-link.zalo svg {
  width: 38px;
  height: 38px;
}

.quick-link.zalo svg path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linejoin: round;
}

.quick-link.zalo svg text {
  fill: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
}

.quick-link.facebook {
  background: rgba(24, 119, 242, 0.9);
}

.quick-link.facebook svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.quick-link:hover {
  transform: translateY(-3px);
  border-color: var(--brass);
  background: var(--brass);
}

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible,
.hero .reveal,
.page-hero .reveal {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1080px) {
  .hero,
  .page-hero-inner,
  .service-hero-top,
  .intro-editorial-head,
  .intro-pillars-3,
  .section-head,
  .service-showcase-card,
  .service-showcase-card.reverse,
  .finishing-grid,
  .pricing-layout,
  .quote-band-inner,
  .contact-grid,
  .site-footer-inner,
  .bridge-grid,
  .process-steps-3,
  .process-flow-bar {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-head-right {
    padding-left: 0;
    padding-top: 16px;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .service-showcase-card.reverse .service-showcase-media {
    order: 1;
  }

  .service-showcase-card.reverse .service-showcase-content {
    order: 2;
  }

  .home-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .flow-connector {
    display: none;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  /* Ẩn thanh cuộn dọc thô trên trình giả lập để không chiếm mất 17px chiều ngang */
  ::-webkit-scrollbar {
    width: 3px;
    height: 3px;
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(169, 132, 72, 0.4);
    border-radius: 99px;
  }

  /* Chống rơi chữ (Anti-orphan typography) trên toàn bộ tiêu đề & đoạn văn Mobile */
  h1,
  h2,
  h3,
  h4,
  .section-head h2,
  .hero h1,
  .page-hero h1 {
    text-wrap: balance;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  p,
  li,
  dd {
    text-wrap: pretty;
  }

  /* ========================================================================
     1. HEADER MOBILE GỌN 54PX & NÚT GỌI NHANH (KHÔNG CHỒNG LẤP, KHÔNG CẮT CHỮ)
     ======================================================================== */
  .site-header {
    height: 52px;
    padding-inline: 10px;
    gap: 6px;
    background: rgba(18, 17, 15, 0.96) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(200, 157, 84, 0.28);
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand span {
    font-size: 0.67rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff !important;
  }

  .brand small {
    font-size: 0.54rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    color: #e4be78 !important;
  }

  .mobile-header-call {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d8ae64, #a37833);
    color: #141210 !important;
    font-family: var(--font-body);
    font-size: 0.66rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .menu-toggle {
    display: block;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
  }

  .menu-toggle span {
    background: #ffffff !important;
  }

  .main-nav {
    position: fixed;
    top: 54px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 16px 16px;
    color: var(--ink);
    background: rgba(251, 250, 246, 0.99);
    border-bottom: 2px solid var(--brass);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    z-index: 99;
  }

  .site-header.open .main-nav {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink) !important;
    border-bottom: 1px solid var(--line);
  }

  /* Ẩn cụm 3 nút tròn nổi bên phải & Ẩn 4 nút danh mục thừa dưới Hero */
  .floating-contact,
  .mobile-quick-cats {
    display: none !important;
  }

  /* ========================================================================
     2. THANH ĐIỀU HƯỚNG ĐÁY 5 CỘT: TRANG CHỦ - DỰ ÁN - DỊCH VỤ - BÁO GIÁ - LIÊN HỆ
     CHỌN TAB NÀO THÌ GOLD TAB ĐÓ + BẢNG CHỌN LIÊN HỆ KHI ẤN VÀO
     ======================================================================== */
  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 105;
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-inline: 6px;
    background: rgba(16, 15, 13, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(200, 157, 84, 0.36);
    box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.45);
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    gap: 4px;
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    height: 46px;
    border: none;
    background: transparent;
    padding: 0 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
    border-radius: 10px;
    cursor: pointer;
    transition: all 160ms ease;
  }

  .mobile-bottom-nav svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 160ms ease, transform 160ms ease;
  }

  /* Chọn Tab nào thì Gold nổi bật đúng 1 Tab đó */
  .mobile-bottom-nav:not(.sheet-active) a.active,
  .mobile-bottom-nav:not(.sheet-active) button.active,
  .mobile-bottom-nav button.is-sheet-open {
    color: #141210 !important;
    background: linear-gradient(135deg, #e7c480, #c89d54) !important;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(200, 157, 84, 0.32);
  }

  .mobile-bottom-nav:not(.sheet-active) a.active svg,
  .mobile-bottom-nav:not(.sheet-active) button.active svg,
  .mobile-bottom-nav button.is-sheet-open svg {
    stroke: #141210 !important;
  }

  /* Bảng chọn nhanh Liên Hệ: MẶC ĐỊNH ẨN 100%, chỉ hiện khi ấn vào nút Liên hệ (.is-open) */
  .mobile-contact-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 102;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(4px);
    display: none !important;
    align-items: flex-end;
    justify-content: center;
    padding: 0 10px calc(68px + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
  }

  .mobile-contact-sheet-backdrop.is-open {
    display: flex !important;
    pointer-events: auto;
  }

  .mobile-contact-sheet {
    width: 100%;
    max-width: 400px;
    background: #181614;
    border: 1px solid rgba(200, 157, 84, 0.48);
    border-radius: 16px;
    padding: 13px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: popContactSheet 180ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes popContactSheet {
    from {
      opacity: 0;
      transform: translateY(14px) scale(0.97);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .mcs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mcs-title {
    font-size: 0.76rem;
    font-weight: 800;
    color: #f3d49c;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .mcs-sub {
    display: block;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.62);
    margin-top: 2px;
  }

  .mcs-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #f3d49c;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    padding: 0;
  }

  .mcs-close svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
  }

  .mcs-grid {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .mcs-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #ffffff;
    text-decoration: none;
    transition: background 150ms ease, border-color 150ms ease;
  }

  .mcs-item:hover,
  .mcs-item:active {
    background: rgba(200, 157, 84, 0.16);
    border-color: #c89d54;
  }

  .mcs-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 1px solid rgba(200, 157, 84, 0.35);
    background: rgba(200, 157, 84, 0.12);
    color: #f3d49c;
  }

  .mcs-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mcs-icon.is-call {
    background: linear-gradient(135deg, #e7c480, #b88a3e);
    color: #141210;
    border-color: transparent;
  }

  .mcs-info {
    flex: 1;
    min-width: 0;
  }

  .mcs-info strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.28;
  }

  .mcs-info span {
    display: block;
    font-size: 0.69rem;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.32;
    margin-top: 2px;
  }

  .mcs-arrow {
    flex-shrink: 0;
    color: #c89d54;
    display: grid;
    place-items: center;
  }

  .mcs-arrow svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
  }

  /* ========================================================================
     3. HERO TRANG CHỦ GỌN GÀNG, HIỂN THỊ ĐỦ 100% 2 NÚT BẤM & 3 CON SỐ
     ======================================================================== */
  .hero {
    min-height: auto;
    padding: 74px 14px 20px;
    gap: 14px;
  }

  .hero .eyebrow,
  .page-hero .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
  }

  .hero h1 {
    font-size: clamp(1.48rem, 6.2vw, 1.88rem);
    line-height: 1.22;
    margin-bottom: 10px;
  }

  .hero-copy {
    font-size: 0.8rem;
    line-height: 1.48;
    margin-bottom: 12px;
    display: block;
    overflow: visible;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 6px 8px;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    white-space: normal !important;
    line-height: 1.22;
    justify-content: center;
    text-align: center;
  }

  /* 3 con số năng lực xếp thành 1 hàng ngang 3 cột cực gọn, hiển thị đủ 100% chữ không dấu ... */
  .hero-panel {
    padding: 10px 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-panel div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 0;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 6px;
  }

  .hero-panel div:last-child {
    border-right: none;
    padding-right: 0;
  }

  .hero-panel strong {
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .hero-panel span {
    font-size: 0.62rem;
    line-height: 1.3;
    display: block;
    overflow: visible;
  }

  /* ========================================================================
     4. VẺ ĐẸP KIẾN TRÚC & TRIẾT LÝ 01-02-03: ẨN Ô THỪA, BẤM VÀO MỚI MỞ CHI TIẾT
     ======================================================================== */
  .section {
    padding: 24px 12px;
  }

  .section-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    margin-bottom: 6px !important;
    line-height: 1.35;
  }

  .section-head {
    gap: 6px;
    margin-bottom: 14px;
  }

  .section-head h2 {
    font-size: clamp(1.2rem, 5vw, 1.44rem);
    line-height: 1.25;
  }

  .section-head > p {
    font-size: 0.76rem;
    line-height: 1.45;
    display: block;
    overflow: visible;
  }

  .intro-box {
    gap: 12px;
  }

  .intro-editorial-head {
    padding: 14px 12px;
    gap: 10px;
  }

  .intro-head-left {
    gap: 10px;
  }

  .intro-head-left h2 {
    font-size: 1.18rem;
    line-height: 1.28;
  }

  .intro-meta-badges {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-top: 8px;
  }

  .intro-meta-badge {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    border-radius: 6px;
  }

  .intro-meta-badge small {
    font-size: 0.56rem;
    letter-spacing: 0.05em;
    color: var(--wine);
    display: block;
  }

  .intro-meta-badge strong {
    font-size: 0.67rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-align: left;
    display: block;
  }

  /* Ẩn đoạn văn dài và ô "Chuẩn mực bàn giao" to thô trên Mobile */
  .intro-head-right,
  .intro-commitment-bar {
    display: none !important;
  }

  /* 3 Triết lý 01, 02, 03 thu gọn thành Accordion 1 chạm (Căn trái đồng bộ tuyệt đối) */
  .intro-pillars-3 {
    gap: 8px;
  }

  .intro-pillar-item {
    padding: 10px 12px;
    gap: 4px;
    cursor: pointer;
    border-top-width: 2px;
    border-radius: 6px;
  }

  .intro-pillar-head {
    padding-bottom: 0;
    border-bottom: none;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  .intro-pillar-head span {
    min-width: 26px;
    height: 20px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 0.66rem;
  }

  .intro-pillar-head em {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
  }

  .intro-pillar-item h3 {
    font-size: 0.88rem;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .intro-pillar-item h3::after {
    content: "+";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(169, 132, 72, 0.14);
    color: var(--wine);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
  }

  .intro-pillar-item.is-mobile-open h3::after {
    content: "−";
    background: var(--ink);
    color: #f3d49c;
  }

  .intro-pillar-item p {
    display: none;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(23, 22, 21, 0.12);
    font-size: 0.8rem;
    line-height: 1.52;
  }

  .intro-pillar-item.is-mobile-open p {
    display: block;
  }

  /* ========================================================================
     5. 10 BƯỚC TIẾN LỚN: GỌN HỜ TIÊU ĐỀ CHÍNH PHỤ, ẤN VÀO MỚI HIỆN CHI TIẾT
        MẶC ĐỊNH HIỆN 4 BƯỚC CỐT LÕI TRÊN MOBILE + NÚT BUNG TRỌN BỘ 10 BƯỚC
     ======================================================================== */
  .ten-steps-block .section-head h3 {
    font-size: clamp(1.18rem, 5vw, 1.4rem);
    line-height: 1.25;
  }

  .advantage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .advantage-grid:not(.is-all-shown) .advantage-item:nth-child(n + 5) {
    display: none !important;
  }

  .ten-steps-mobile-more {
    display: block;
    margin-top: 8px;
  }

  .ten-steps-mobile-more .button {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.7rem;
    border-radius: 6px;
    border-color: rgba(169, 132, 72, 0.55);
    background: rgba(255, 255, 255, 0.85);
    color: var(--wine);
  }

  .advantage-item {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 11px;
    align-items: center;
    cursor: pointer;
  }

  .advantage-seal {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }

  .advantage-seal small {
    display: none;
  }

  .advantage-seal span {
    font-size: 1.05rem;
  }

  .advantage-body {
    gap: 2px;
  }

  .advantage-kicker {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .advantage-body h3 {
    font-size: 0.86rem;
    line-height: 1.26;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .advantage-body h3::after {
    content: "+";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(169, 132, 72, 0.15);
    color: var(--wine);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 800;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
  }

  .advantage-item.is-mobile-open .advantage-body h3::after {
    content: "−";
    background: var(--ink);
    color: #f3d49c;
  }

  .advantage-body p {
    display: none;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed rgba(23, 22, 21, 0.12);
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .advantage-item.is-mobile-open .advantage-body p {
    display: block;
  }

  /* ========================================================================
     6. CÔNG TRÌNH TIÊU BIỂU TRANG CHỦ: LƯỚI 2 CỘT NHỎ GỌN, ẤN VÀO XEM TO
     ======================================================================== */
  .home-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .home-project-body {
    padding: 8px 9px 10px;
    gap: 4px;
  }

  .home-project-owner {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding-bottom: 5px;
  }

  .home-project-owner-label {
    font-family: var(--font-body);
    font-size: 0.6rem;
    margin-right: 3px;
  }

  .home-project-owner h3 {
    font-size: 0.8rem;
    line-height: 1.25;
    white-space: normal;
    overflow: visible;
    max-width: 100%;
  }

  .home-project-year {
    font-size: 0.58rem;
    padding: 1px 6px;
    order: -1;
  }

  .home-project-specs {
    font-size: 0.68rem;
    gap: 2px;
  }

  .home-project-specs div:nth-child(2) {
    display: none;
  }

  .home-projects-footer {
    margin-top: 14px;
    padding: 12px;
    gap: 8px;
  }

  .home-projects-footer p {
    font-size: 0.75rem;
    margin: 0;
  }

  .home-projects-footer .button {
    width: 100%;
    min-height: 40px;
    font-size: 0.76rem;
    justify-content: center;
  }

  /* ========================================================================
     7. HỆ SINH THÁI KHÉP KÍN: LƯỚI 2x2 GỌN GÀNG TRÊN MOBILE (KHÔNG CẮT CHỮ ...)
     ======================================================================== */
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .service-card {
    padding: 10px 10px;
    gap: 6px;
  }

  .service-card-top {
    gap: 4px;
  }

  .service-card span.service-num {
    font-size: 0.98rem;
  }

  .service-card h3 {
    font-size: 0.84rem;
    line-height: 1.25;
  }

  .service-card p {
    font-size: 0.68rem;
    line-height: 1.38;
    display: block;
    overflow: visible;
    margin: 0;
  }

  .service-card-link {
    font-size: 0.64rem;
    padding-top: 6px;
    white-space: nowrap;
  }

  /* ========================================================================
     8. QUY TRÌNH MINH BẠCH & BẢNG BÁO GIÁ NIÊM YẾT (ẢNH 3 — RÕ CHỮ 100%, ĐẸP & GỌN)
     ======================================================================== */
  .bridge-grid {
    gap: 14px;
  }

  .bridge-card {
    padding: 14px 12px;
    gap: 10px;
    min-width: 0;
  }

  .bridge-card h3 {
    font-size: 1.14rem;
    margin-top: 3px;
  }

  .bridge-card p {
    font-size: 0.76rem;
    line-height: 1.45;
    margin-top: 5px;
    display: block;
    overflow: visible;
  }

  .bridge-list {
    padding: 10px 0;
    gap: 7px;
  }

  .bridge-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    background: #f8f5ee;
    border: 1px solid rgba(169, 132, 72, 0.28);
    border-left: 3px solid var(--brass);
    border-radius: 6px;
  }

  .bridge-list-row span {
    flex: 1;
    min-width: 0;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.32;
    color: var(--ink);
  }

  .bridge-list-row strong {
    flex-shrink: 0;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--ink);
    color: #f3d49c;
    font-size: 0.67rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .bridge-card .button {
    width: 100%;
    min-height: 38px;
    font-size: 0.74rem;
    justify-content: center;
  }

  /* ========================================================================
     8B. TINH GỌN TOÀN CẢNH CÁC TAB: BÁO GIÁ (pricing.html) · DỊCH VỤ (services.html) · LIÊN HỆ (contact.html)
     ======================================================================== */
  .page-hero {
    padding: 60px 12px 12px;
  }

  .page-hero .eyebrow {
    font-size: 0.58rem;
    margin-bottom: 3px;
  }

  .page-hero h1 {
    font-size: clamp(1.22rem, 5.2vw, 1.45rem);
    line-height: 1.2;
    margin: 0;
  }

  /* Ẩn đoạn văn dài ở đầu trang phụ & hộp Mục lục trang to thô để nhìn thấy ngay nội dung chính */
  .page-hero-lead,
  .pricing-quick-bar,
  .process-flow-bar,
  .section-head .section-note {
    display: none !important;
  }

  /* TAB BÁO GIÁ: Thu gọn 3 Bước Lộ Trình Hợp Tác thành thanh Accordion gọn gàng (Ấn vào mới mở chi tiết) */
  .process-steps-3 {
    gap: 8px;
  }

  .step-card {
    padding: 10px 12px;
    gap: 6px;
    border-radius: 8px;
    cursor: pointer;
  }

  .step-card-top {
    gap: 6px;
  }

  .step-head {
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(23, 22, 21, 0.12);
    justify-content: flex-start;
    gap: 6px;
  }

  .step-num-pill {
    padding: 3px 8px;
    font-size: 0.64rem;
    border-radius: 4px;
  }

  .step-head em {
    padding: 3px 8px;
    font-size: 0.64rem;
    border-radius: 4px;
  }

  .step-card h3 {
    font-size: 0.88rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .step-card h3::after {
    content: "+";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(169, 132, 72, 0.45);
    background: rgba(169, 132, 72, 0.1);
    color: var(--wine);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
  }

  .step-card.is-mobile-open h3::after {
    content: "−";
    background: var(--ink);
    color: #f3d49c;
  }

  .step-card p,
  .step-card .step-outcome {
    display: none;
  }

  .step-card.is-mobile-open p {
    display: block;
    font-size: 0.78rem;
    line-height: 1.48;
    padding-top: 6px;
    border-top: 1px solid rgba(23, 22, 21, 0.08);
  }

  .step-card.is-mobile-open .step-outcome {
    display: flex;
    padding: 7px 10px;
    font-size: 0.7rem;
    margin-top: 4px;
  }

  /* Bảng Báo Giá Niêm Yết & Công cụ tính chi phí gọn gàng trong 1 khung nhìn */
  .pricing-layout {
    gap: 14px;
  }

  .pricing-table,
  .dossier-card,
  .contact-office-card,
  .contact-form {
    padding: 12px 11px;
    gap: 10px;
    min-width: 0;
    border-radius: 8px;
  }

  .pricing-card-head {
    padding-bottom: 8px;
  }

  .pricing-card-head h3 {
    font-size: 1.08rem;
  }

  /* Quy tắc chống tràn nút bấm tuyệt đối trên Mobile */
  .button {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal !important;
    text-align: center;
    line-height: 1.25;
    height: auto;
    padding: 9px 12px;
  }

  .pricing-card-sub {
    font-size: 0.72rem;
    line-height: 1.42;
    display: block;
    overflow: visible;
  }

  .pricing-table-head {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .pricing-table-head span {
    padding: 6px 8px;
    font-size: 0.6rem;
  }

  .pricing-row {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .pricing-cell-name {
    padding: 7px 8px;
  }

  .pricing-cell-name span {
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .pricing-cell-price {
    padding: 7px 8px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 1px;
  }

  .pricing-row strong {
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .pricing-row em {
    font-size: 0.6rem;
    white-space: nowrap;
  }

  .pricing-calc h4 {
    font-size: 0.96rem;
  }

  .pricing-calc-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .pricing-calc-grid label {
    font-size: 0.66rem;
    gap: 4px;
  }

  .pricing-calc-grid select,
  .pricing-calc-grid input {
    padding: 8px 10px;
    font-size: 0.78rem;
    border-radius: 6px;
  }

  .pricing-calc-addons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .calc-addon-option {
    padding: 7px 8px;
    gap: 6px;
  }

  .calc-addon-text strong {
    font-size: 0.72rem;
  }

  .calc-addon-text small {
    font-size: 0.64rem;
  }

  .pricing-calc-result {
    padding: 10px 12px;
  }

  .pricing-calc-total {
    font-size: 1rem;
  }

  .pricing-calc-breakdown,
  .pricing-calc-stage {
    font-size: 0.72rem;
  }

  .dossier-item {
    padding: 8px 10px;
    cursor: pointer;
    border-radius: 6px;
  }

  .dossier-item strong {
    font-size: 0.78rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }

  .dossier-item strong::after {
    content: "+";
    color: var(--wine);
    font-size: 0.85rem;
    font-weight: 700;
  }

  .dossier-item.is-mobile-open strong::after {
    content: "−";
  }

  .dossier-item span {
    display: none;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed rgba(23, 22, 21, 0.12);
    font-size: 0.74rem;
  }

  .dossier-item.is-mobile-open span {
    display: block;
  }

  /* TAB DỊCH VỤ (services.html): Lưới 2 Cột Hiển Thị Đủ 100% 5 Nút (Không Cắt Chữ, Không Che Khuất) */
  .service-nav-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding-top: 10px;
  }

  .service-nav-card {
    padding: 9px 10px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid rgba(169, 132, 72, 0.35);
    border-left: 3px solid var(--brass);
    box-shadow: 0 4px 12px rgba(23, 22, 21, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
  }

  .service-nav-card:last-child {
    grid-column: 1 / -1;
    background: var(--ink);
    border-color: var(--brass);
  }

  .service-nav-code,
  .service-nav-num,
  .service-nav-card small,
  .service-nav-card span:not(.service-nav-num) {
    display: none !important;
  }

  .service-nav-card strong {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
    margin: 0;
  }

  .service-nav-card:last-child strong {
    color: #f3d49c;
  }

  .service-nav-card::after {
    content: "↓";
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--brass);
    flex-shrink: 0;
  }

  /* 4 Dịch vụ chủ lực gọn gàng: 1 ảnh chính + mô tả đầy đủ + thông số chạm để mở */
  .service-showcase-list {
    gap: 14px;
  }

  .service-showcase-card {
    padding: 12px 11px;
    gap: 10px;
    border-radius: 10px;
  }

  .service-media-subgrid {
    display: none !important;
  }

  .service-media-main {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
  }

  .service-media-badge {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 0.6rem;
  }

  .service-media-caption {
    padding: 14px 10px 6px;
    font-size: 0.68rem;
  }

  .service-showcase-content {
    gap: 10px;
  }

  .service-showcase-head {
    padding-bottom: 8px;
  }

  .service-code-pill {
    padding: 3px 8px;
    font-size: 0.6rem;
    margin-bottom: 5px;
  }

  .service-showcase-head h3 {
    font-size: 1.06rem;
  }

  .service-showcase-sub {
    font-size: 0.75rem;
    margin-top: 3px;
  }

  .service-showcase-lead {
    font-size: 0.75rem;
    line-height: 1.46;
    display: block;
    overflow: visible;
    margin: 0;
  }

  .service-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .service-spec-box {
    padding: 7px 9px;
    border-radius: 6px;
    cursor: pointer;
  }

  .service-spec-box strong {
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
  }

  .service-spec-box strong::after {
    content: "+";
    color: var(--wine);
    font-weight: 800;
    flex-shrink: 0;
  }

  .service-spec-box.is-mobile-open strong::after {
    content: "−";
  }

  .service-spec-box span {
    display: none;
    font-size: 0.68rem;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed rgba(23, 22, 21, 0.12);
  }

  .service-spec-box.is-mobile-open span {
    display: block;
  }

  .service-showcase-footer {
    padding-top: 8px;
    gap: 8px;
  }

  .service-showcase-note {
    display: none;
  }

  .service-showcase-footer .button {
    width: 100%;
    min-height: 36px;
    font-size: 0.72rem;
    justify-content: center;
  }

  /* 10 Hạng mục Hoàn thiện & Vật tư (4.1 - 4.10): Lưới 2 Cột Toàn Cảnh, Không Cắt Chữ (...), Chạm Để Mở Chi Tiết */
  .finishing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .finishing-card {
    grid-template-columns: minmax(0, 1fr) !important;
    border-radius: 8px;
    cursor: pointer;
  }

  .finishing-card-media {
    aspect-ratio: 4 / 3;
    min-height: 105px;
  }

  .finishing-code {
    top: 6px;
    left: 6px;
    padding: 2px 7px;
    font-size: 0.64rem;
  }

  .finishing-card-body {
    padding: 8px 9px 10px;
    gap: 5px;
  }

  .finishing-card-top {
    gap: 3px;
  }

  .finishing-card-kicker {
    font-size: 0.56rem;
    line-height: 1.28;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .finishing-card h3 {
    font-size: 0.8rem;
    line-height: 1.26;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
    overflow: visible;
  }

  .finishing-card h3::after {
    content: "+";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(169, 132, 72, 0.14);
    color: var(--wine);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 800;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
  }

  .finishing-card.is-mobile-open h3::after {
    content: "−";
    background: var(--ink);
    color: #f3d49c;
  }

  .finishing-card p {
    display: none;
    font-size: 0.68rem;
    line-height: 1.42;
    margin: 4px 0 0;
    padding-top: 5px;
    border-top: 1px dashed rgba(23, 22, 21, 0.12);
    overflow: visible;
  }

  .finishing-card.is-mobile-open p {
    display: block;
  }

  .finishing-card-meta {
    padding-top: 5px;
    font-size: 0.6rem;
  }

  .finishing-card-meta strong {
    display: none;
  }

  /* TAB LIÊN HỆ (contact.html): Tinh gọn Form & Văn phòng, Nút bấm nằm gọn 100% trong khung */
  .page-hero-metrics {
    display: none !important;
  }

  .contact-grid {
    gap: 14px;
  }

  .contact-office-card,
  .contact-form {
    padding: 12px 11px;
    gap: 10px;
  }

  .contact-info-cards {
    gap: 6px;
  }

  .contact-info-row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .contact-info-item {
    padding: 8px 10px;
    border-radius: 6px;
    min-width: 0;
  }

  .contact-info-item small {
    font-size: 0.56rem;
    margin-bottom: 2px;
    white-space: nowrap;
  }

  .contact-info-item strong,
  .contact-info-item a {
    font-size: 0.67rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    display: block;
  }

  .contact-office-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .contact-office-actions .button {
    width: 100%;
    min-height: 36px;
    padding: 6px 8px;
    font-size: 0.65rem;
    letter-spacing: 0.03em;
    white-space: nowrap !important;
    justify-content: center;
    border-radius: 6px;
  }

  .contact-form-fields {
    gap: 8px;
  }

  .contact-form-row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .contact-form label {
    font-size: 0.62rem;
    gap: 4px;
  }

  .contact-form input,
  .contact-form select {
    height: 36px;
    padding: 0 9px;
    font-size: 0.76rem;
    border-radius: 6px;
  }

  .contact-form textarea {
    min-height: 64px;
    height: 64px;
    padding: 8px 9px;
    font-size: 0.76rem;
    border-radius: 6px;
  }

  .contact-form-footer .button {
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
    white-space: nowrap !important;
    justify-content: center;
    border-radius: 6px;
  }

  /* Dải kêu gọi tư vấn cuối trang (Quote Band — Ảnh 1 & Ảnh 3): Nút bấm xếp gọn, không tràn chữ */
  .quote-band {
    padding: 20px 12px;
  }

  .quote-band-inner {
    gap: 12px;
  }

  .quote-band blockquote {
    font-size: 1rem;
    line-height: 1.34;
  }

  .quote-band p {
    font-size: 0.74rem;
    line-height: 1.45;
    margin-top: 6px;
  }

  .quote-band-inner > div:last-child {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100%;
  }

  .quote-band-inner .button {
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.73rem;
    white-space: normal !important;
    justify-content: center;
    border-radius: 6px;
  }

  /* ========================================================================
     9. PHẦN ĐUÔI (FOOTER — ẢNH 4): GỌN GÀNG, KHÔNG TRÀN CHỮ, DỄ DÙNG
     ======================================================================== */
  .site-footer {
    padding: 24px 14px 20px;
  }

  .site-footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .footer-col {
    gap: 8px;
    min-width: 0;
  }

  .footer-company-title {
    font-size: 0.76rem;
    padding-bottom: 8px;
    margin-bottom: 2px;
    line-height: 1.35;
  }

  .footer-col-title {
    font-size: 0.7rem;
    padding-bottom: 6px;
    margin-bottom: 2px;
  }

  .footer-info-list {
    gap: 6px;
  }

  .site-footer p {
    font-size: 0.76rem;
    line-height: 1.42;
  }

  .footer-legal-box {
    font-size: 0.7rem;
    padding-top: 6px;
  }

  .footer-contact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.75rem;
  }

  .footer-contact-row strong {
    min-width: auto;
    font-size: 0.66rem;
    flex-shrink: 0;
  }

  .footer-contact-row a {
    max-width: 72%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: right;
    border-bottom: none;
    font-size: 0.72rem;
  }

  .footer-hotline {
    font-size: 1.05rem;
  }

  .footer-map-frame {
    height: 105px;
  }

  .footer-back-top {
    height: 36px;
    font-size: 0.7rem;
  }

  .site-footer-bottom {
    margin-top: 14px;
    padding-top: 10px;
    gap: 4px;
  }

  .copyright,
  .footer-tagline-right {
    font-size: 0.62rem !important;
    line-height: 1.35;
  }
}

/* Mặc định ẩn các thành phần chỉ dành riêng cho Mobile khi xem trên Máy tính */
.mobile-header-call,
.mobile-bottom-nav,
.mobile-contact-sheet-backdrop,
.mobile-quick-cats,
.fs-mobile-tabs {
  display: none;
}

/* ==========================================================================
   CỐ VẤN TUỔI XÂY NHÀ, THÁNG TỐT KHỞI CÔNG & HƯỚNG NHÀ BÁT TRẠCH
   ========================================================================== */
.fengshui-advisor-section {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.fs-advisor-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fs-control-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(230px, 1.15fr);
  gap: 16px;
  align-items: end;
  padding: 22px 24px;
  background: var(--ink);
  border: 1px solid rgba(169, 132, 72, 0.52);
  border-left: 4px solid var(--brass);
  box-shadow: 0 14px 36px rgba(23, 22, 21, 0.12);
}

.fs-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  min-width: 0;
}

.fs-field span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f3d49c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-field input,
.fs-field select {
  height: 46px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(243, 212, 156, 0.35);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease;
}

.fs-field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.fs-field select.is-empty {
  color: rgba(255, 255, 255, 0.48);
  font-weight: 500;
}

.fs-field select option {
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}

.fs-field input:focus,
.fs-field select:focus {
  border-color: #f3d49c;
  background: rgba(255, 255, 255, 0.13);
  outline: none;
}

.fs-field--action .button {
  height: 46px;
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.fs-input-hint {
  padding: 12px 16px;
  background: #f8f5ed;
  border: 1px solid rgba(169, 132, 72, 0.5);
  border-left: 4px solid var(--wine);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ink);
}

.fs-drawer-board {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: #f6f2e9;
  border: 1px solid rgba(169, 132, 72, 0.48);
  box-shadow: 0 18px 44px rgba(23, 22, 21, 0.1);
  animation: fsDrawerSlideDown 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fs-drawer-board[hidden] {
  display: none !important;
}

@keyframes fsDrawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fs-drawer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--white);
  border-left: 4px solid var(--brass);
}

.fs-drawer-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fs-drawer-title strong {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #f3d49c;
}

.fs-drawer-title span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.fs-close-btn {
  height: 36px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #f3d49c;
  border: 1px solid rgba(243, 212, 156, 0.45);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 150ms ease;
}

.fs-close-btn:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--white);
}

.fs-drawer-footbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.12);
  font-size: 0.82rem;
  color: rgba(23, 22, 21, 0.76);
}

.fs-close-btn.is-bottom {
  background: var(--ink);
  color: #f3d49c;
  border-color: var(--ink);
}

.fs-close-btn.is-bottom:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--white);
}

.fs-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.fs-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fs-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.12);
  border-top: 3px solid var(--brass);
  box-shadow: 0 10px 28px rgba(23, 22, 21, 0.05);
}

#fs-panel-dir .fs-card {
  border-top-color: var(--wine);
  justify-content: space-between;
}

.fs-card-header {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(23, 22, 21, 0.09);
}

.fs-year-switcher {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  padding: 8px 10px;
  background: #f8f5ed;
  border: 1px solid rgba(169, 132, 72, 0.32);
}

.fs-year-switcher > span {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.fs-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 4px;
}

.fs-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}

.fs-owner-summary {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: rgba(23, 22, 21, 0.76);
  line-height: 1.45;
}

.fs-owner-summary strong {
  color: var(--ink);
}

.fs-owner-summary em {
  font-style: normal;
  color: var(--wine);
  font-weight: 600;
}

.fs-mode-banner {
  padding: 11px 14px;
  background: rgba(169, 132, 72, 0.14);
  border: 1px solid var(--brass);
  border-left: 4px solid var(--wine);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.fs-mode-banner strong {
  display: block;
  font-size: 0.82rem;
  color: var(--wine);
}

.fs-mode-banner span {
  display: block;
  font-size: 0.76rem;
  color: var(--ink);
  margin-top: 2px;
}

.fs-reset-mode-btn {
  height: 30px;
  padding: 0 12px;
  background: var(--ink);
  color: #f3d49c;
  border: 1px solid var(--brass);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.fs-three-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fs-check-item {
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid rgba(23, 22, 21, 0.1);
  border-left: 3px solid var(--brass);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fs-check-item.is-good {
  border-left-color: #267347;
  background: rgba(38, 115, 71, 0.05);
}

.fs-check-item.is-bad {
  border-left-color: var(--wine);
  background: rgba(109, 38, 53, 0.06);
}

.fs-check-item small {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(23, 22, 21, 0.62);
}

.fs-check-item strong {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink);
}

.fs-check-item.is-good strong {
  color: #1e603a;
}

.fs-check-item.is-bad strong {
  color: var(--wine);
}

.fs-check-item span {
  font-size: 0.73rem;
  color: rgba(23, 22, 21, 0.75);
  line-height: 1.36;
}

.fs-strategy-box {
  padding: 14px 16px;
  background: #f8f5ed;
  border: 1px solid rgba(169, 132, 72, 0.36);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fs-strategy-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fs-badge-pill {
  display: inline-block;
  width: fit-content;
  padding: 3px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fs-badge-pill.good {
  background: #1e603a;
  color: var(--white);
}

.fs-badge-pill.warn {
  background: var(--wine);
  color: var(--white);
}

.fs-strategy-head h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin: 0;
}

.fs-priority-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fs-priority-card {
  padding: 11px 13px;
  background: var(--white);
  border: 1px solid rgba(23, 22, 21, 0.1);
  border-left: 3px solid var(--brass);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fs-priority-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wine);
}

.fs-priority-tag.is-green {
  color: #1e603a;
}

.fs-priority-card h5 {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.fs-priority-card p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.44;
  color: rgba(23, 22, 21, 0.76);
}

.fs-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
}

.fs-chip {
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(169, 132, 72, 0.55);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 150ms ease;
}

.fs-chip.future {
  border-color: rgba(30, 96, 58, 0.45);
  background: rgba(30, 96, 58, 0.06);
  color: #1e603a;
}

.fs-chip:hover,
.fs-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #f3d49c;
}

/* Hộp tư vấn Tháng Âm lịch tốt nhất để khởi công */
.fs-months-box {
  padding-top: 12px;
  border-top: 1px solid rgba(23, 22, 21, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fs-months-lead {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(23, 22, 21, 0.78);
}

.fs-months-lead em {
  font-style: normal;
  color: var(--wine);
  font-weight: 700;
}

.fs-months-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fs-month-card {
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid rgba(23, 22, 21, 0.1);
  border-left: 3px solid var(--brass);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fs-month-card.is-highlight {
  border-left-color: #1e603a;
  background: rgba(30, 96, 58, 0.04);
}

.fs-month-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.fs-month-top strong {
  font-size: 0.8rem;
  color: var(--ink);
}

.fs-month-badge {
  padding: 2px 6px;
  background: rgba(30, 96, 58, 0.12);
  color: #1e603a;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fs-month-card p {
  margin: 0;
  font-size: 0.73rem;
  line-height: 1.38;
  color: rgba(23, 22, 21, 0.76);
}

.fs-month-card small {
  font-size: 0.7rem;
  color: var(--wine);
}

/* Kết luận Hướng nhà gia chủ đã chọn */
.fs-selected-dir-verdict {
  padding: 13px 15px;
  background: #f8f5ed;
  border: 1px solid rgba(169, 132, 72, 0.45);
  border-left: 4px solid var(--brass);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-selected-dir-verdict.is-good {
  border-left-color: #1e603a;
  background: rgba(30, 96, 58, 0.05);
}

.fs-selected-dir-verdict.is-bad {
  border-left-color: var(--wine);
  background: rgba(109, 38, 53, 0.05);
}

.fs-verdict-top {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fs-verdict-top strong {
  font-size: 0.9rem;
  color: var(--ink);
}

.fs-selected-dir-verdict p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.46;
  color: rgba(23, 22, 21, 0.82);
}

.fs-block-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink);
  margin-bottom: 6px;
}

.fs-block-title.is-good {
  color: #1e603a;
}

.fs-block-title.is-bad {
  color: var(--wine);
}

.fs-dir-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fs-dir-item {
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid rgba(23, 22, 21, 0.09);
  border-left: 3px solid var(--brass);
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.fs-dir-item.is-good {
  border-left-color: #1e603a;
}

.fs-dir-item.is-bad {
  border-left-color: var(--wine);
  background: rgba(109, 38, 53, 0.03);
}

.fs-dir-item.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  background: #f8f5ed;
}

.fs-dir-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.fs-rank-badge {
  padding: 2px 6px;
  background: var(--ink);
  color: #f3d49c;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.fs-dir-top strong {
  font-size: 0.84rem;
  color: var(--ink);
}

.fs-dir-top em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--wine);
  margin-left: auto;
}

.fs-dir-item.is-good .fs-dir-top em {
  color: #1e603a;
}

.fs-dir-item p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.42;
  color: rgba(23, 22, 21, 0.76);
}

.fs-card-cta {
  padding-top: 8px;
}

@media (max-width: 1080px) {
  .fs-control-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fs-results-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .fs-advisor-shell {
    gap: 10px;
  }

  .fs-control-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 13px 12px;
    border-radius: 8px;
  }

  /* Hàng 1: Năm sinh + Giới tính; Hàng 2: Hướng nhà (full width); Hàng 3: Nút Phân tích */
  .fs-control-bar .fs-field:nth-child(3),
  .fs-field--action {
    grid-column: 1 / -1;
  }

  .fs-field span {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .fs-field input,
  .fs-field select {
    height: 38px;
    padding: 0 10px;
    font-size: 0.82rem;
    border-radius: 6px;
  }

  .fs-field--action .button {
    height: 40px;
    min-height: 40px;
    font-size: 0.74rem;
    border-radius: 6px;
  }

  .fs-drawer-board {
    padding: 12px 10px;
    gap: 10px;
    border-radius: 8px;
  }

  .fs-drawer-topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px;
    gap: 8px;
    border-radius: 6px;
  }

  .fs-drawer-title strong {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .fs-drawer-title span {
    font-size: 0.68rem;
  }

  .fs-close-btn {
    width: 100%;
    height: 32px;
    font-size: 0.68rem;
    border-radius: 5px;
  }

  /* Thanh 2 Tab chuyển nhanh trên Mobile */
  .fs-mobile-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    background: var(--ink);
    padding: 4px;
    border-radius: 8px;
  }

  .fs-mob-tab {
    height: 33px;
    padding: 0 6px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.74);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
  }

  .fs-mob-tab.active {
    background: linear-gradient(135deg, #e7c480, #c89d54);
    color: #141210;
    font-weight: 800;
  }

  [data-fengshui-advisor][data-active-fs-tab="year"] #fs-panel-dir {
    display: none;
  }

  [data-fengshui-advisor][data-active-fs-tab="dir"] #fs-panel-year {
    display: none;
  }

  .fs-card {
    padding: 12px 11px;
    gap: 10px;
    border-radius: 8px;
  }

  .fs-card-header h3 {
    font-size: 1.08rem;
  }

  .fs-owner-summary {
    font-size: 0.73rem;
  }

  .fs-three-checks,
  .fs-dir-grid,
  .fs-months-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .fs-check-item,
  .fs-dir-item,
  .fs-month-card {
    padding: 8px 10px;
    border-radius: 6px;
  }

  .fs-strategy-box {
    padding: 11px 11px;
    border-radius: 6px;
    gap: 8px;
  }

  .fs-priority-card {
    padding: 9px 10px;
    border-radius: 6px;
  }

  .fs-chip {
    height: 26px;
    padding: 0 8px;
    font-size: 0.68rem;
    border-radius: 4px;
  }

  .fs-drawer-footbar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
  }
}

/* ==========================================================================
   MẠNG LƯỚI THIẾT KẾ – THI CÔNG ĐA TỈNH THÀNH & GIẢI ĐÁP CHUYÊN SÂU (SEO HUB)
   ========================================================================== */
.seo-hub-section {
  background: linear-gradient(180deg, #faf8f4 0%, #f3eee5 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 58px 24px;
}

.seo-hub-shell {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.seo-hub-head {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  gap: 28px;
  align-items: end;
}

.seo-hub-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 6px 0 0;
}

.seo-hub-lead {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.68;
  color: var(--muted);
}

.seo-hub-lead strong {
  color: var(--ink);
  font-weight: 700;
}

.seo-region-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.seo-region-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 12px 15px;
  background: #ffffff;
  border: 1px solid rgba(30, 27, 24, 0.11);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.seo-region-pill:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(24, 21, 18, 0.08);
}

.seo-region-pill.is-highlight {
  background: linear-gradient(135deg, #1d1a16 0%, #2a241d 100%);
  border-color: rgba(200, 157, 84, 0.45);
}

.seo-region-pill strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.seo-region-pill.is-highlight strong {
  color: #f4d799;
}

.seo-region-pill span {
  font-size: 0.74rem;
  color: var(--muted);
}

.seo-region-pill.is-highlight span {
  color: rgba(255, 255, 255, 0.76);
}

.seo-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.seo-faq-item {
  background: #ffffff;
  border: 1px solid rgba(30, 27, 24, 0.11);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 160ms ease;
}

.seo-faq-item[open] {
  border-color: rgba(182, 134, 44, 0.55);
  box-shadow: 0 8px 24px rgba(24, 21, 18, 0.05);
}

.seo-faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--ink);
  user-select: none;
}

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

.seo-faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(182, 134, 44, 0.12);
  color: #8c6218;
  font-style: normal;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 160ms ease, background 160ms ease;
}

.seo-faq-item[open] .seo-faq-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: #181512;
}

.seo-faq-body {
  padding: 0 18px 16px;
  border-top: 1px dashed rgba(30, 27, 24, 0.08);
}

.seo-faq-body p {
  margin: 12px 0 0;
  font-size: 0.88rem;
  line-height: 1.68;
  color: var(--muted);
}

.seo-faq-body strong {
  color: var(--ink);
}

.seo-faq-cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid rgba(30, 27, 24, 0.06);
}

.seo-faq-cta {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 13px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(30, 27, 24, 0.16);
  color: var(--ink);
  background: #faf8f4;
  transition: all 150ms ease;
}

.seo-faq-cta:hover {
  border-color: var(--gold);
  background: #f5efe3;
}

.seo-faq-cta.primary {
  background: #1d1a16;
  color: #f4d799;
  border-color: rgba(200, 157, 84, 0.5);
}

.seo-faq-cta.primary:hover {
  background: #2c261f;
  color: #ffe3a8;
}

/* Dải lọc nhanh Tỉnh / Khu vực trên trang Dự án (projects.html) */
.projects-region-quickbar {
  max-width: 1380px;
  margin: 8px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.region-quick-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-right: 4px;
}

.region-quick-chip {
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(30, 27, 24, 0.14);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 150ms ease;
}

.region-quick-chip:hover {
  border-color: var(--gold);
  background: #fdf9f0;
}

.region-quick-chip.is-active {
  background: #1d1a16;
  color: #f4d799;
  border-color: #c89d54;
}

@media (max-width: 900px) {
  .seo-hub-section {
    padding: 28px 14px;
  }

  .seo-hub-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .seo-hub-head h2 {
    font-size: 1.35rem;
  }

  .seo-hub-lead {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .seo-region-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .seo-region-pill {
    padding: 9px 11px;
    border-radius: 8px;
  }

  .seo-region-pill strong {
    font-size: 0.76rem;
  }

  .seo-region-pill span {
    font-size: 0.67rem;
  }

  .seo-faq-item summary {
    padding: 11px 13px;
    font-size: 0.82rem;
  }

  .seo-faq-body {
    padding: 0 13px 12px;
  }

  .seo-faq-body p {
    font-size: 0.79rem;
    line-height: 1.56;
  }

  .seo-faq-cta-row {
    gap: 7px;
    margin-top: 10px;
    padding-top: 9px;
  }

  .seo-faq-cta {
    height: 30px;
    padding: 0 10px;
    font-size: 0.72rem;
    width: 100%;
    justify-content: center;
  }

  .projects-region-quickbar {
    padding: 0 12px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .projects-region-quickbar::-webkit-scrollbar {
    display: none;
  }

  .region-quick-chip,
  .region-quick-label {
    flex-shrink: 0;
  }
}

/* ==========================================================================
   SLIDESHOW 15 ĐÁNH GIÁ GIA CHỦ CHẠY NGANG TỰ ĐỘNG (GỌN GÀNG · ẢNH THẬT SẮC NÉT)
   ========================================================================== */
.home-reviews-section {
  padding-top: 40px;
  padding-bottom: 42px;
  background: linear-gradient(180deg, #f8f5ef 0%, #f1ebe0 100%);
  border-top: 1px solid rgba(169, 132, 72, 0.22);
  border-bottom: 1px solid rgba(169, 132, 72, 0.22);
  overflow: hidden;
}

.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.reviews-head-left {
  max-width: 720px;
}

.reviews-head-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 4px 0 6px;
}

.reviews-head-desc {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--muted);
}

.reviews-head-desc strong {
  color: var(--ink);
  font-weight: 600;
}

.reviews-head-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reviews-score-badge {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  border: 1px solid rgba(205, 165, 95, 0.55);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(23, 22, 21, 0.1);
}

.reviews-score-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  color: #f3c969;
}

.reviews-score-num span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}

.reviews-score-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reviews-stars {
  color: #f5b935;
  font-size: 0.84rem;
  letter-spacing: 1.5px;
  line-height: 1;
}

.reviews-score-meta span {
  font-size: 0.71rem;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 500;
}

.reviews-nav-btns {
  display: flex;
  gap: 6px;
}

.reviews-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(169, 132, 72, 0.5);
  background: #fff;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(23, 22, 21, 0.05);
}

.reviews-nav-btn:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
  transform: translateY(-1px);
}

.reviews-carousel-viewport {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px 10px;
  cursor: grab;
}

.reviews-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.reviews-carousel-viewport:active {
  cursor: grabbing;
}

.reviews-carousel-track {
  display: flex;
  gap: 14px;
  width: max-content;
}

.review-card {
  width: 316px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(169, 132, 72, 0.26);
  border-top: 2px solid var(--brass);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(23, 22, 21, 0.045);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: var(--brass);
  box-shadow: 0 12px 26px rgba(23, 22, 21, 0.08);
}

.review-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(169, 132, 72, 0.14);
}

.review-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(169, 132, 72, 0.65);
  box-shadow: 0 2px 6px rgba(23, 22, 21, 0.12);
  flex-shrink: 0;
  background: #e5dec9;
}

.review-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-meta-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.review-meta-row1 strong {
  font-size: 0.86rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-stars {
  color: #e59b14;
  font-size: 0.76rem;
  letter-spacing: 1px;
  line-height: 1;
  flex-shrink: 0;
}

.review-meta-loc {
  display: block;
  font-size: 0.72rem;
  color: #705528;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-meta-tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(169, 132, 72, 0.13);
  color: #7c5821;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.review-body {
  margin: 0;
  font-size: 0.81rem;
  line-height: 1.54;
  color: #2c2926;
}

.review-body strong {
  color: var(--wine);
  font-weight: 600;
}

@media (max-width: 768px) {
  .home-reviews-section {
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .reviews-head {
    margin-bottom: 14px;
    gap: 10px;
  }

  .reviews-head-left h2 {
    font-size: 1.38rem;
  }

  .reviews-head-desc {
    font-size: 0.78rem;
  }

  .reviews-score-badge {
    padding: 6px 10px;
    gap: 8px;
  }

  .reviews-score-num {
    font-size: 1.5rem;
  }

  .reviews-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  .review-card {
    width: 276px;
    padding: 13px 14px 12px;
    gap: 8px;
  }

  .review-avatar-img {
    width: 38px;
    height: 38px;
  }

  .review-body {
    font-size: 0.77rem;
    line-height: 1.48;
  }
}

/* ==========================================================================
   NÚT LA KINH BÁT TRẠCH NỔI SANG TRỌNG BÊN PHẢI & MÀN HÌNH POPUP TOÀN PHẦN
   Chỉ xuất hiện từ mục "Vẻ đẹp Kiến trúc" (#ve-dep-kien-truc) kéo đến cuối Trang chủ
   ========================================================================== */
body.fs-modal-open {
  overflow: hidden;
}

.fs-input-hint[hidden] {
  display: none !important;
}

.fs-floating-dock {
  position: fixed;
  right: 18px;
  bottom: 204px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(30px) scale(0.94);
  transition:
    opacity 340ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 340ms ease;
}

.fs-floating-dock.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

/* Nút La Kinh Bát Trạch Gọn Gàng (Đúng khung đỏ bạn chọn) + Hiệu ứng Ánh Kim Nhấp Nháy Sang Trọng */
.fs-floating-trigger {
  position: relative;
  overflow: hidden;
  width: 196px;
  padding: 12px 14px 11px;
  border-radius: 13px;
  background: linear-gradient(155deg, #161412 0%, #24201b 55%, #181512 100%);
  border: 1.5px solid #d8af64;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow:
    0 16px 36px rgba(12, 11, 9, 0.45),
    0 0 0 3px rgba(216, 175, 100, 0.2),
    0 0 22px rgba(216, 175, 100, 0.28);
  animation: fsLuxuryPulse 2.8s ease-in-out infinite;
  transition: transform 200ms ease, border-color 200ms ease;
}

.fs-floating-trigger:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #f6dca0;
}

@keyframes fsLuxuryPulse {
  0%, 100% {
    box-shadow:
      0 14px 32px rgba(12, 11, 9, 0.42),
      0 0 0 2px rgba(216, 175, 100, 0.18),
      0 0 14px rgba(216, 175, 100, 0.22);
    border-color: rgba(216, 175, 100, 0.72);
  }
  50% {
    box-shadow:
      0 18px 40px rgba(12, 11, 9, 0.52),
      0 0 0 5px rgba(243, 212, 156, 0.32),
      0 0 28px rgba(243, 212, 156, 0.52);
    border-color: #fae1a8;
  }
}

/* Luồng sáng ánh kim quét ngang sang trọng */
.fs-trigger-glow {
  position: absolute;
  top: 0;
  left: -130%;
  width: 90%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(248, 222, 166, 0.24) 50%,
    transparent 80%
  );
  transform: skewX(-20deg);
  pointer-events: none;
  animation: fsShimmerSweep 3.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes fsShimmerSweep {
  0% {
    left: -130%;
  }
  55%, 100% {
    left: 160%;
  }
}

.fs-trigger-top {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.fs-compass-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3d79b, #b8883b);
  color: #171615;
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(216, 175, 100, 0.45);
  animation: fsCompassFloat 4s ease-in-out infinite;
}

@keyframes fsCompassFloat {
  0%, 100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(12deg);
  }
}

.fs-trigger-kicker {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3d49c;
  white-space: nowrap;
}

.fs-trigger-dot {
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5cf7b;
  box-shadow: 0 0 0 0 rgba(245, 207, 123, 0.8);
  animation: fsDotPing 1.8s infinite;
}

@keyframes fsDotPing {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 207, 123, 0.85);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(245, 207, 123, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 207, 123, 0);
  }
}

.fs-trigger-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
  display: block;
}

.fs-trigger-cta {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  padding-top: 5px;
  border-top: 1px solid rgba(243, 212, 156, 0.2);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #f3d49c;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   MÀN HÌNH POPUP TOÀN BỘ THÔNG TIN (CÂN ĐỐI 100% · KHÔNG LỆCH · KHÔNG RƠI TỪ)
   ========================================================================== */
.fs-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(12, 11, 10, 0.8);
  backdrop-filter: blur(7px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  animation: fsBackdropFadeIn 200ms ease;
}

.fs-modal-backdrop[hidden] {
  display: none !important;
}

@keyframes fsBackdropFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fs-modal-dialog {
  width: min(1240px, 100%);
  max-height: calc(100vh - 36px);
  background: #f6f2e9;
  border: 1.5px solid rgba(200, 157, 84, 0.7);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fsModalPopUp 240ms cubic-bezier(0.22, 1, 0.36, 1);
  transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1), max-width 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Khi mới bấm mở (Chưa ấn Phân tích): Chỉ hiện hộp chọn gọn gàng ở chính giữa màn hình */
.fs-modal-dialog.is-compact {
  width: min(760px, 100%);
  height: auto;
}

@keyframes fsModalPopUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fs-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 22px;
  background: #171615;
  border-bottom: 2px solid var(--brass);
  flex-shrink: 0;
}

.fs-modal-header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fs-modal-eyebrow {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3d49c;
}

.fs-modal-header-left h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.fs-modal-close-top {
  height: 36px;
  padding: 0 15px;
  border-radius: 7px;
  border: 1px solid rgba(243, 212, 156, 0.5);
  background: rgba(255, 255, 255, 0.08);
  color: #f3d49c;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 150ms ease;
}

.fs-modal-close-top:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #ffffff;
}

.fs-modal-close-top i {
  font-style: normal;
  font-size: 0.9rem;
}

.fs-modal-body {
  padding: 16px 20px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fs-modal-body .fs-control-bar {
  padding: 16px 18px;
  border-radius: 8px;
}

.fs-modal-body .fs-drawer-board {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  gap: 14px;
}

.fs-drawer-topbar {
  border-radius: 8px;
  padding: 12px 18px;
}

.fs-drawer-badge-right span {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(243, 212, 156, 0.4);
  background: rgba(243, 212, 156, 0.1);
  color: #f3d49c;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Sửa 5 nút Năm dự kiến xây nằm gọn trên 1 hàng thẳng tắp, không bao giờ rớt nút 2030 xuống dòng */
.fs-year-switcher {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin-bottom: 10px;
  padding: 9px 11px;
  background: #f8f5ed;
  border: 1px solid rgba(169, 132, 72, 0.32);
  border-radius: 6px;
}

.fs-chip-row.is-year-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 0;
}

.fs-chip-row.is-year-grid .fs-chip {
  width: 100%;
  padding: 0 4px;
  font-size: 0.7rem;
  text-align: center;
  justify-content: center;
  border-radius: 4px;
}

/* Tiêu đề chính trong 2 cột vừa vặn trên 1 dòng, không rớt chữ (Ngọ) */
.fs-card-header h3 {
  font-size: 1.22rem;
  line-height: 1.28;
}

/* Hai nhãn Màu hợp & Màu kỵ gọn gàng, không rớt từ "rượu vang" */
.fs-color-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.fs-color-pill {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 5px;
  font-size: 0.74rem;
  line-height: 1.35;
}

.fs-color-pill.is-good {
  background: rgba(30, 96, 58, 0.07);
  border: 1px solid rgba(30, 96, 58, 0.22);
  color: var(--ink);
}

.fs-color-pill.is-good strong {
  color: #1e603a;
}

.fs-color-pill.is-bad {
  background: rgba(109, 38, 53, 0.06);
  border: 1px solid rgba(109, 38, 53, 0.22);
  color: var(--ink);
}

.fs-color-pill.is-bad strong {
  color: var(--wine);
}

/* Sắp xếp 4 ô Hướng Đại Cát & 4 ô Hướng Xấu thẳng hàng 100%, không lệch chữ */
.fs-dir-item {
  padding: 10px 12px;
  border-radius: 6px;
  gap: 4px;
  justify-content: flex-start;
}

.fs-dir-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 6px;
}

.fs-dir-item.is-good .fs-dir-top {
  justify-content: flex-start;
  gap: 7px;
}

.fs-dir-star-line {
  display: block;
  font-style: normal;
  font-size: 0.73rem;
  font-weight: 800;
  color: #1e603a;
  line-height: 1.25;
}

/* Hộp 4 Nguyên tắc Vàng bố trí Công năng chuẩn La Kinh giúp Cột 2 cân bằng chiều cao hoàn hảo với Cột 1 */
.fs-golden-rules-box {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 22, 21, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fs-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fs-rule-item {
  padding: 9px 11px;
  background: #f8f5ed;
  border: 1px solid rgba(169, 132, 72, 0.34);
  border-left: 3px solid var(--brass);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fs-rule-item strong {
  font-size: 0.76rem;
  color: var(--ink);
}

.fs-rule-item span {
  font-size: 0.72rem;
  line-height: 1.38;
  color: rgba(23, 22, 21, 0.78);
}

/* Nút CTA dưới đáy Cột 2 vừa vặn 100% trong khung, không bao giờ bị cắt mất chữ 2 bên */
.fs-card-cta {
  padding-top: 12px;
  margin-top: auto;
}

.fs-card-cta .button {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  white-space: normal !important;
  text-align: center;
  justify-content: center;
  line-height: 1.3;
  border-radius: 6px;
}

.fs-drawer-footbar {
  border-radius: 8px;
}

/* GIAO DIỆN MOBILE CHO NÚT LA KINH BÁT TRẠCH & MÀN HÌNH TOÀN PHẦN */
@media (max-width: 991px) {
  .fs-floating-dock {
    right: 12px;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    z-index: 98;
  }

  .fs-floating-trigger {
    width: auto;
    max-width: none;
    padding: 7px 12px 7px 9px;
    border-radius: 999px;
    flex-direction: row;
    align-items: center;
    gap: 7px;
  }

  .fs-trigger-top {
    gap: 6px;
  }

  .fs-compass-icon {
    width: 22px;
    height: 22px;
    font-size: 0.76rem;
  }

  .fs-trigger-kicker,
  .fs-trigger-cta {
    display: none;
  }

  .fs-trigger-title {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 800;
    color: #f3d49c;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .fs-trigger-dot {
    display: none;
  }

  /* Khi bấm vào trên Mobile: Bật ra hộp gọn gàng ở CHÍNH GIỮA màn hình (không chiếm kín toàn màn hình) */
  .fs-modal-backdrop {
    padding: 14px;
    align-items: center;
    justify-content: center;
  }

  .fs-modal-dialog {
    width: min(410px, calc(100vw - 24px));
    height: auto;
    max-height: 82dvh;
    border-radius: 16px;
    border: 1.5px solid rgba(216, 175, 100, 0.78);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78);
  }

  .fs-modal-dialog.is-compact {
    width: min(375px, calc(100vw - 28px));
    max-height: none;
  }

  .fs-modal-header {
    padding: 11px 14px;
    gap: 10px;
  }

  .fs-modal-eyebrow {
    font-size: 0.54rem;
    line-height: 1.25;
  }

  .fs-modal-header-left h2 {
    font-size: 1rem;
    line-height: 1.22;
  }

  .fs-modal-close-top {
    height: 30px;
    padding: 0 10px;
    font-size: 0.66rem;
    border-radius: 6px;
  }

  .fs-modal-body {
    padding: 12px;
    gap: 10px;
  }

  .fs-modal-body .fs-control-bar {
    padding: 12px;
  }

  .fs-drawer-badge-right {
    display: none;
  }

  .fs-chip-row.is-year-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fs-rules-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-legal-box .footer-privacy-link {
  display: inline-block;
  margin-top: 7px;
  color: inherit;
  font-size: 0.8rem;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.review-image-disclosure {
  margin: 0 0 1rem;
  font-size: 0.875rem;
}

.contact-privacy-consent {
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.contact-privacy-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.contact-privacy-consent input {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin: 0.2rem 0 0;
}

.contact-privacy-consent a,
.privacy-page a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-privacy-consent a {
  display: inline-block;
  margin: 0.5rem 0 0 1.6rem;
}

.privacy-page {
  width: min(46rem, calc(100% - 2.5rem));
  margin: clamp(2rem, 7vw, 5rem) auto;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.privacy-page h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 1.5rem 0 1rem;
}

.privacy-page h2 {
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  margin: 2rem 0 0.5rem;
}
