/* =========================================================================
   MASTERI CAO XÀ LÁ — Layout & components
   -------------------------------------------------------------------------
   File này CHỈ chứa layout + style component. Mọi màu/font/khoảng cách
   lấy từ các biến (token) định nghĩa trong brand.css.
   → Đổi thương hiệu: sửa brand.css, KHÔNG sửa file này.
   → index.html phải nạp brand.css TRƯỚC styles.css.
   ========================================================================= */

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--paper2 { background: var(--paper-2); }
.section--paper3 { background: var(--paper-3); }
.section--dark { background: var(--ink-bg); color: var(--on-dark); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.01em; }
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}
.display em { font-style: italic; color: var(--gold-deep); }
.h2 { font-size: clamp(2.05rem, 4.2vw, 3.4rem); line-height: 1.14; letter-spacing: -0.015em; }
.h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.15; }
.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.66;
  color: var(--ink-soft);
  font-weight: 400;
}
p { margin: 0 0 1.1em; text-wrap: pretty; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.serif { font-family: var(--serif); }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.section--dark .eyebrow { color: var(--gold); }

/* small caption note */
.note {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-faint);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 15px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--gold-deep); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-deep); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.section--dark .btn--outline { border-color: var(--on-dark-soft); color: var(--on-dark); }
.section--dark .btn--outline:hover { background: var(--on-dark); color: var(--ink); }
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Image slots ---------- */
image-slot {
  display: block;
  background: var(--paper-3);
  --slot-stripe: rgba(33,28,22,0.05);
}
.slot-frame {
  position: relative;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 11px, rgba(33,28,22,0.045) 11px, rgba(33,28,22,0.045) 12px),
    var(--paper-3);
  border: 1px solid var(--rule);
  overflow: hidden;
}
.slot-frame image-slot { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; }
.slot-tag {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.68rem; letter-spacing: 0.04em;
  color: var(--ink-faint);
  background: rgba(246,241,231,0.82);
  padding: 4px 9px;
  pointer-events: none;
  text-transform: uppercase;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.nav.scrolled {
  background: rgba(246,241,231,0.92);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--rule-soft);
  padding-block: 13px;
}
/* light treatment while over the hero image (top, not scrolled) */
.nav:not(.scrolled) .nav__brand b,
.nav:not(.scrolled) .nav__links a,
.nav:not(.scrolled) .nav__phone { color: #fdfaf2; }
.nav:not(.scrolled) .nav__brand span,
.nav:not(.scrolled) .nav__phone small { color: rgba(247,242,232,0.7); }
.nav:not(.scrolled) .nav__links a:hover { color: #fff; }
.nav:not(.scrolled) .btn--solid { background: #fdfaf2; color: var(--ink); }
.nav:not(.scrolled) .btn--solid:hover { background: var(--gold); color: #fff; }
.nav__brand { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brand b { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: 0.01em; }
.nav__brand span { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__links a {
  font-size: 0.84rem; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-soft);
  position: relative; padding-block: 4px; transition: color .25s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold);
  transition: width .3s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__phone { font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; }
.nav__phone small { display: block; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.nav__menu-btn { display: none; }

/* ---------- Hero (full-bleed background, Ken Burns) ---------- */
.hero-bg {
  position: relative;
  min-height: clamp(600px, 94vh, 920px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg__media image-slot {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform-origin: 58% 42%;
  animation: heroZoom var(--dur-hero-zoom) ease-out both;
}
@keyframes heroZoom {
  from { transform: scale(1.16); }
  to   { transform: scale(1.0); }
}
.hero-bg__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,17,13,0.55) 0%, rgba(20,17,13,0.12) 32%, rgba(20,17,13,0.30) 64%, rgba(20,17,13,0.86) 100%),
    linear-gradient(95deg, rgba(20,17,13,0.62) 0%, rgba(20,17,13,0.20) 46%, transparent 72%);
}
.hero-bg__inner { width: 100%; padding-top: 150px; padding-bottom: clamp(48px, 9vh, 110px); }
.hero-bg__copy { max-width: 760px; }
.hero-bg .display { color: #fdfaf2; margin-bottom: 1.7rem; text-shadow: 0 2px 30px rgba(0,0,0,0.28); }
.hero-bg .display em { display: block; font-style: italic; color: #e6c489; line-height: 1.18; margin-top: 0.08em; text-wrap: balance; }
.hero-bg .hero__sub { color: rgba(247,242,232,0.92); max-width: 60ch; margin-bottom: 2.2rem; text-shadow: 0 1px 16px rgba(0,0,0,0.3); }
.hero__loc--light { color: rgba(247,242,232,0.92); text-shadow: 0 1px 14px rgba(0,0,0,0.45); }
.hero__loc--light::before { background: var(--gold); }
.hero-bg .hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.4rem; }
.hero-bg .btn--outline { border-color: rgba(247,242,232,0.55); color: #fdfaf2; background: transparent; }
.hero-bg .btn--outline:hover { background: #fdfaf2; color: var(--ink); border-color: #fdfaf2; }
.hero-bg .hero__rea { color: rgba(247,242,232,0.72); max-width: 48ch; font-size: 0.88rem; }
.hero-bg__badge {
  position: absolute; right: var(--gutter); top: 150px; z-index: 2;
  background: rgba(27,24,21,0.74); backdrop-filter: blur(6px);
  border: 1px solid rgba(230,196,137,0.28);
  color: var(--on-dark); padding: 20px 24px; max-width: 224px;
}
.hero-bg__badge b { font-family: var(--serif); font-size: 2rem; display: block; line-height: 1; margin-bottom: 8px; color: #e6c489; }
.hero-bg__badge span { font-size: 0.78rem; color: rgba(247,242,232,0.82); line-height: 1.5; }

/* developer strip — standalone under hero */
.dev-strip--solo { margin-top: 0; padding-top: clamp(40px, 6vh, 72px); border-top: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg__media image-slot { animation: none; transform: none; }
}
@media (max-width: 860px) {
  .hero-bg { min-height: auto; padding-top: 0; }
  .hero-bg__inner { padding-top: 128px; padding-bottom: 56px; }
  .hero-bg__badge { display: none; }
  .hero-bg__scrim { background: linear-gradient(180deg, rgba(20,17,13,0.55) 0%, rgba(20,17,13,0.35) 40%, rgba(20,17,13,0.8) 100%); }
}

/* ---------- Hero (legacy split — kept for reference) ---------- */
.hero { padding-top: 132px; padding-bottom: clamp(60px, 9vh, 120px); }
.hero__grid {
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.hero__loc { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; }
.hero__loc::before { content:""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.hero h1 { margin-bottom: 2.2rem; }
.hero h1 em { display: block; font-style: italic; color: var(--gold-deep); line-height: 1.18; margin-top: 0.08em; text-wrap: balance; }
.hero__sub { max-width: 33ch; margin-bottom: 2.3rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.5rem; }
.hero__rea { font-size: 0.88rem; color: var(--ink-faint); max-width: 42ch; }
.hero__media { position: relative; }
.hero__media .slot-frame { aspect-ratio: 3.1/4; }
.hero__badge {
  position: absolute; left: -28px; bottom: 34px; z-index: 3;
  background: var(--ink-bg); color: var(--on-dark);
  padding: 18px 22px; max-width: 230px;
}
.hero__badge b { font-family: var(--serif); font-size: 1.5rem; display: block; line-height: 1; margin-bottom: 6px; }
.hero__badge span { font-size: 0.74rem; color: var(--on-dark-soft); line-height: 1.45; }

/* developer strip */
.dev-strip { border-top: 1px solid var(--rule); margin-top: clamp(48px, 7vh, 86px); padding-top: 28px; }
.dev-strip p { font-size: 0.86rem; color: var(--ink-soft); margin: 0; }
.dev-strip b { color: var(--ink); font-weight: 600; }

/* ---------- Stat band (overview) ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule-dark);
}
.stat { padding: 38px 30px; border-right: 1px solid var(--rule-dark); }
.stat:last-child { border-right: none; }
.stat__k { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 14px; }
.stat__v { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; color: var(--on-dark); }
.stat__v .big { font-size: 2.5rem; display: block; color: var(--gold); line-height: 1; margin-bottom: 4px; }

/* ---------- Generic section header ---------- */
.shead { max-width: 64ch; margin-bottom: clamp(38px, 5vw, 64px); }
.shead.center { margin-inline: auto; text-align: center; }
.shead.center .eyebrow { justify-content: center; }
.shead .h2 { margin-bottom: 1rem; }

/* ---------- Two column editorial ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.split--media-first .split__media { order: -1; }
.split__media .slot-frame { aspect-ratio: 4/3.4; }

/* "Cường nói thẳng" — editorial aside */
.aside {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 24px;
  margin: 30px 0;
}
.aside__label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 10px; }
.aside p { font-size: 0.98rem; color: var(--ink-soft); margin-bottom: 0.8em; }
.aside p:last-child { margin-bottom: 0; }

/* ---------- Distances ---------- */
.dist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.dist { padding: 36px 32px; border-right: 1px solid var(--rule); }
.dist:first-child { padding-left: 0; }
.dist:last-child { border-right: none; padding-right: 0; }
.dist h4 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 20px; }
.dist ul { list-style: none; margin: 0; padding: 0; }
.dist li { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule-soft); font-size: 0.93rem; }
.dist li:last-child { border-bottom: none; }
.dist li span { color: var(--ink-soft); }
.dist li b { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ---------- Developer projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.proj { display: flex; flex-direction: column; }
.proj .slot-frame { aspect-ratio: 4/3; margin-bottom: 20px; }
.proj h3 { margin-bottom: 16px; }
.proj dl { margin: 0 0 16px; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 0.9rem; }
.proj dt { color: var(--ink-faint); }
.proj dd { margin: 0; font-weight: 600; text-align: right; }
.proj p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; padding-top: 16px; border-top: 1px solid var(--rule); }

/* credibility metrics (dark band) */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
.metric__v { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--gold); margin-bottom: 16px; }
.metric h4 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--on-dark); margin-bottom: 10px; }
.metric p { font-size: 0.88rem; color: var(--on-dark-soft); margin: 0; line-height: 1.6; }

/* ---------- Layout table / specs ---------- */
.layout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.ltable { width: 100%; border-collapse: collapse; }
.ltable th, .ltable td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ltable th { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.ltable td:first-child { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; white-space: nowrap; }
.ltable td { font-size: 0.93rem; color: var(--ink-soft); }
.ltable em { font-style: normal; color: var(--gold-deep); font-size: 0.82rem; }
.specs { background: var(--paper-3); padding: 32px; }
.specs h4 { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 20px; }
.specs ul { list-style: none; margin: 0; padding: 0; }
.specs li { padding: 13px 0 13px 26px; border-bottom: 1px solid var(--rule-soft); font-size: 0.92rem; color: var(--ink-soft); position: relative; }
.specs li:last-child { border-bottom: none; }
.specs li::before { content: ""; position: absolute; left: 0; top: 20px; width: 9px; height: 1px; background: var(--gold); }

/* ---------- Amenities ---------- */
.amen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); }
.amen { position: relative; aspect-ratio: 16/9; overflow: hidden; display: flex; align-items: flex-end; background: var(--paper-3); }
.amen .amen__bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 11px, rgba(33,28,22,0.05) 11px, rgba(33,28,22,0.05) 12px),
    var(--paper-3); }
.amen__overlay { position: relative; z-index: 2; width: 100%; padding: 30px 30px 26px;
  background: linear-gradient(to top, rgba(18,14,10,0.88) 0%, rgba(18,14,10,0.5) 46%, rgba(18,14,10,0) 100%);
  color: #fff; pointer-events: none; }
.amen__m { font-family: var(--serif); font-size: 0.95rem; font-weight: 600; color: #fff; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.55); display: grid; place-items: center; border-radius: 50%; margin-bottom: 14px; }
.amen h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.amen p { font-size: 0.84rem; color: rgba(255,255,255,0.8); margin: 0; }
.amen__tag { position: absolute; left: 14px; top: 12px; z-index: 3; font-family: ui-monospace, Menlo, monospace; font-size: 0.62rem; letter-spacing: 0.04em; color: var(--ink-faint); background: rgba(246,241,231,0.85); padding: 4px 8px; text-transform: uppercase; pointer-events: none; }

/* ---------- Comparison table ---------- */
.ctable-scroll { overflow-x: auto; }
.ctable { width: 100%; border-collapse: collapse; min-width: 680px; }
.ctable th, .ctable td { padding: 17px 20px; text-align: left; border-bottom: 1px solid var(--rule); font-size: 0.92rem; }
.ctable thead th { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; border-bottom: 1px solid var(--ink); }
.ctable tbody th { font-weight: 600; color: var(--ink); }
.ctable td { color: var(--ink-soft); }
.ctable .col-hl { background: var(--gold-tint); }
.ctable thead .col-hl { color: var(--gold-deep); font-weight: 800; }
.ctable th.col-hl, .ctable td.col-hl { border-left: 1px solid rgba(169,130,74,0.3); border-right: 1px solid rgba(169,130,74,0.3); }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--rule-dark); }
.step { padding: 38px 30px; border-right: 1px solid var(--rule-dark); }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: none; padding-right: 0; }
.step__n { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.step__t { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 22px; }
.step h4 { font-family: var(--serif); font-size: 1.32rem; color: var(--on-dark); margin-bottom: 12px; }
.step p { font-size: 0.85rem; color: var(--on-dark-soft); margin: 0; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--rule); }
details.faq { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.55rem); font-weight: 600; color: var(--ink);
  transition: color .25s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-deep); }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.8rem; color: var(--gold); transition: transform .3s ease;
}
.faq[open] summary::after { content: "–"; }
.faq__body { padding: 0 48px 30px 0; }
.faq__body p { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 600; }
.field input, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--on-dark);
  background: transparent; border: none; border-bottom: 1px solid var(--rule-dark);
  padding: 12px 0; outline: none; transition: border-color .3s ease;
}
.field input::placeholder { color: var(--on-dark-soft); opacity: 0.6; }
.field input:focus, .field select:focus { border-bottom-color: var(--gold); }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--ink-bg); color: var(--on-dark); }
.form .btn { margin-top: 8px; width: 100%; justify-content: center; }
.form-note { font-size: 0.82rem; color: var(--on-dark-soft); margin-top: 6px; line-height: 1.6; }
.contact-aside .eyebrow { color: var(--gold); }
.contact-aside .h2 { color: var(--on-dark); margin-bottom: 1.2rem; }
.contact-aside p { color: var(--on-dark-soft); }
.contact-hot { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--rule-dark); }
.contact-hot .k { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-soft); }
.contact-hot .v { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); line-height: 1.1; }

/* ---------- About Cường ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.about-grid .slot-frame { aspect-ratio: 4/5; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-bg-2); color: var(--on-dark); padding-block: clamp(56px, 8vh, 90px) 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--rule-dark); }
.footer h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-soft); font-weight: 700; margin-bottom: 18px; }
.footer__brand b { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; display: block; margin-bottom: 14px; }
.footer__brand p { font-size: 0.9rem; color: var(--on-dark-soft); max-width: 38ch; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a, .footer ul li { font-size: 0.9rem; color: var(--on-dark-soft); transition: color .25s ease; }
.footer ul a:hover { color: var(--gold); }
.footer__disc { padding-top: 28px; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer__disc p { font-size: 0.78rem; color: var(--ink-faint); max-width: 78ch; margin: 0; line-height: 1.65; }
.footer__copy { font-size: 0.8rem; color: var(--on-dark-soft); white-space: nowrap; }

/* floating contact buttons */
.float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float a {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22); transition: transform .25s ease;
}
.float a:hover { transform: scale(1.08); }
.float .zalo { background: var(--gold); color: #fff; }
.float .call { background: var(--ink); color: var(--paper); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Connectivity list (location) ---------- */
.connect { list-style: none; margin: 4px 0 1.6rem; padding: 0; }
.connect li { display: flex; gap: 18px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); }
.connect li:last-child { border-bottom: none; }
.connect li b { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--gold-deep); min-width: 92px; }
.connect li span { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Bullet list (planning) ---------- */
.specs-list { list-style: none; margin: 0 0 1.3rem; padding: 0; }
.specs-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--rule-soft); color: var(--ink-soft); font-size: 0.96rem; }
.specs-list li:last-child { border-bottom: none; }
.specs-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 11px; height: 1px; background: var(--gold); }

/* ---------- Policy grid ---------- */
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.policy { background: var(--paper); padding: 36px 32px; }
.policy__v { font-family: var(--serif); font-size: clamp(2.3rem, 3.4vw, 3rem); color: var(--gold); line-height: 1; margin-bottom: 18px; }
.policy__v small { font-family: var(--sans); font-size: 0.92rem; color: var(--ink-faint); margin-left: 6px; font-weight: 500; }
.policy h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 11px; }
.policy p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; line-height: 1.62; }

/* ---------- News grid ---------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); }
.news { display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid var(--rule); background: var(--paper); min-height: 248px; transition: border-color .3s ease, transform .3s ease, background .3s ease; }
.news:hover { border-color: var(--gold); transform: translateY(-3px); background: var(--paper-2); }
.news__date { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 18px; }
.news__t { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.2; margin: 0 0 auto; color: var(--ink); }
.news__more { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); margin-top: 22px; display: inline-flex; gap: 8px; align-items: center; }
.news:hover .news__more { color: var(--gold-deep); }
.news .arrow { transition: transform .3s ease; }
.news:hover .arrow { transform: translateX(4px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { max-width: 460px; }
  .hero__badge { left: auto; right: 20px; }
  .projects { grid-template-columns: 1fr; gap: 40px; }
  .layout-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .slot-frame { max-width: 380px; aspect-ratio: 4/4; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule-dark); }
  .dist-grid { grid-template-columns: 1fr 1fr; }
  .dist { padding: 28px 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .dist:nth-child(2n+1) { padding-left: 0; }
  .dist:nth-child(2n) { border-right: none; padding-right: 0; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .policy-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .connect li b { min-width: 80px; }
  .amen-grid { grid-template-columns: 1fr 1fr; }
  .journey { grid-template-columns: 1fr 1fr; }
  .step { padding: 30px 24px; border-right: 1px solid var(--rule-dark); border-bottom: 1px solid var(--rule-dark); }
  .step:nth-child(2n+1) { padding-left: 0; }
  .step:nth-child(2n) { border-right: none; padding-right: 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--media-first .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  /* Mobile nav: ẩn số điện thoại, rút gọn logo còn "Cao Xà Lá" + CTA */
  .nav__phone { display: none; }
  .nav__brand span { display: none; }
  .nav__brand b { white-space: nowrap; }
  .nav__cta { gap: 0; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--rule-dark); }
  .dist-grid { grid-template-columns: 1fr; }
  .dist, .dist:nth-child(odd), .dist:nth-child(2n+1) { border-right: none; padding-left: 0; padding-right: 0; }
  .amen-grid { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .step, .step:nth-child(odd), .step:nth-child(2n+1) { border-right: none; padding-left: 0; padding-right: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: 18px; max-width: none; }
}

/* ============ TOAST (xác nhận gửi form thành công) ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  transform: translateX(-50%) translateY(14px);
  max-width: min(92vw, 440px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--ink-bg);
  color: var(--on-dark);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  font-family: var(--sans);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.toast__check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}
.toast__body b {
  display: block;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.toast__body span {
  display: block;
  font-size: 0.86rem;
  color: var(--on-dark-soft);
  line-height: 1.45;
}
