/* ASAHI Elevator — layout: steel-and-glass grid; navy bands frame white "cabins" of content; red is the call-button light, used sparingly. */
:root {
  --bg: #F4F5F9;
  --surface: #FFFFFF;
  --tint: #E9EBF6;
  --line: #DADDEA;
  --ink: #141731;
  --muted: #5A5F7A;
  --accent: #2E3192;
  --accent-ink: #FFFFFF;
  --red: #E2252B;
  --red-hover: #C51E24;
  --band: #1B1E5C;
  --band-2: #23277A;
  --band-ink: #FFFFFF;
  --band-muted: #B9BCE4;
  --led: #FF3B3F;
  --shadow: 0 1px 2px rgba(20, 23, 49, .06), 0 8px 24px rgba(20, 23, 49, .06);
  --logo-light: block;
  --logo-dark: none;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C0E1F; --surface: #14172E; --tint: #1B1F3E; --line: #2A2F55; --ink: #E8EAF6; --muted: #A3A8C8;
    --accent: #A4A8F6; --accent-ink: #0C0E1F; --red: #F0393F; --red-hover: #FF5A5F;
    --band: #0F1130; --band-2: #171A45; --band-ink: #FFFFFF; --band-muted: #A9ADDB; --led: #FF4E52;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
    --logo-light: none; --logo-dark: block; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0C0E1F; --surface: #14172E; --tint: #1B1F3E; --line: #2A2F55; --ink: #E8EAF6; --muted: #A3A8C8;
  --accent: #A4A8F6; --accent-ink: #0C0E1F; --red: #F0393F; --red-hover: #FF5A5F;
  --band: #0F1130; --band-2: #171A45; --band-ink: #FFFFFF; --band-muted: #A9ADDB; --led: #FF4E52;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  --logo-light: none; --logo-dark: block; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.2; margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.08; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.eyebrow { font-family: var(--display); font-size: .95rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 760px; }
.section-head.row { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
.tint { background: var(--tint); }
.surface { background: var(--surface); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 4px; font-weight: 600; font-size: .98rem; border: 2px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.2; transition: background .15s, color .15s, border-color .15s; text-decoration: none !important; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-line { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-line:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: #1B1E5C; }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Top bar */
.topbar { background: var(--band); color: var(--band-muted); font-size: .85rem; }
.topbar .wrap { display: flex; gap: 22px; align-items: center; justify-content: space-between; padding-block: 8px; flex-wrap: wrap; }
.topbar a { color: var(--band-ink); }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; gap: 6px; align-items: center; }
.topbar svg { width: 15px; height: 15px; }

/* Header */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }
.brand .logo-l { display: var(--logo-light); }
.brand .logo-d { display: var(--logo-dark); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button { font: 600 .95rem/1 var(--body); color: var(--ink); padding: 12px 12px; border-radius: 4px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.nav > a:hover, .nav .dd > button:hover { color: var(--red); }
.nav a.active, .nav .dd.active > button { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: 560px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 6px; padding: 14px; display: none; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: grid; }
.dd-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 4px; color: var(--ink); font-size: .93rem; }
.dd-menu a:hover { background: var(--tint); text-decoration: none; }
.dd-menu .fl { font-family: var(--display); font-weight: 700; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .9rem; color: var(--accent); flex: none; }
.header .cta { flex: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; cursor: pointer; color: var(--ink); }
.burger svg { width: 22px; height: 22px; margin: auto; }

/* Mobile nav */
@media (max-width: 1080px) {
  .burger { display: grid; place-items: center; }
  .header .cta { display: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: calc(80px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 24px 20px; transform: translateX(105%); transition: transform .25s ease; box-shadow: var(--shadow); overflow-y: auto; z-index: 70; }
  .nav.open { transform: none; }
  .nav > a, .nav .dd > button { padding: 14px 4px; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; font-size: 1.02rem; }
  .nav a.active, .nav .dd.active > button { box-shadow: none; }
  .dd-menu { position: static; transform: none; width: auto; display: none; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 4px 0 10px; }
  .dd:hover .dd-menu, .dd:focus-within .dd-menu { display: none; }
  .dd.open .dd-menu { display: grid; }
  .nav .close { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: 18px; }
  .scrim { position: fixed; inset: 0; background: rgba(8,10,30,.5); z-index: 65; display: none; }
  .scrim.show { display: block; }
}
@media (min-width: 1081px) { .nav .close, .nav .m-cta { display: none !important; } }
.nav .m-cta { margin-top: 18px; }

/* Page hero (cover) */
.cover { position: relative; color: #fff; background: var(--band); overflow: hidden; }
.cover img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,17,48,.92) 0%, rgba(15,17,48,.55) 60%, rgba(15,17,48,.2) 100%); }
.cover .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 9vw, 112px); display: grid; gap: 16px; }
.cover h1 { color: #fff; }
.cover p { color: #D7D9F2; max-width: 60ch; font-size: 1.08rem; }
.crumbs { font-size: .86rem; color: var(--band-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: #fff; }
.crumbs.dark { color: var(--muted); }
.crumbs.dark a { color: var(--accent); }

/* Home hero */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .copy { display: grid; gap: 22px; min-width: 0; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .85rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); background: var(--bg); }
.hero-media { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; min-width: 0; }
.hero-media figure { margin: 0; border-radius: 6px; overflow: hidden; background: var(--tint); }
.hero-media figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .tall { grid-row: span 2; aspect-ratio: 3 / 4.6; }
.hero-media .sq { aspect-ratio: 1 / 1.08; }

/* Floor indicator (the signature element) */
.indicator { position: absolute; left: -18px; bottom: 28px; background: #0B0C18; color: var(--led); border-radius: 6px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.35); border: 1px solid #2a2c44; }
.indicator .arrow { width: 18px; height: 22px; }
.indicator .num { font-family: var(--display); font-size: 2.6rem; font-weight: 700; line-height: 1; min-width: 1.4ch; text-align: center; text-shadow: 0 0 12px rgba(255,59,63,.6); font-variant-numeric: tabular-nums; }
.indicator .cap { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #9a9cb8; line-height: 1.3; }
.indicator .cap b { display: block; color: #fff; font-size: .82rem; letter-spacing: .06em; }

/* Stat strip */
.stats { background: var(--band); color: var(--band-ink); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 22px; border-left: 1px solid rgba(255,255,255,.12); display: grid; gap: 4px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { font-family: var(--display); font-size: 2.4rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 1.1rem; color: var(--led); margin-left: 2px; }
.stat span { color: var(--band-muted); font-size: .92rem; line-height: 1.4; }

/* Product cards */
.pgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); transition: border-color .15s, transform .15s; }
.pcard:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.pcard .ph { aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.pcard .bd { padding: 14px 14px 16px; display: grid; gap: 6px; flex: 1; align-content: start; }
.pcard .no { font-family: var(--display); font-weight: 700; color: var(--red); font-size: .95rem; letter-spacing: .06em; }
.pcard h3 { font-size: 1rem; }
.pcard p { font-size: .86rem; color: var(--muted); line-height: 1.5; }

/* Floor-button product nav (san-pham page) */
.floors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.floor { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; color: var(--ink); }
.floor:hover { text-decoration: none; border-color: var(--red); }
.floor .btnr { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(180deg, #F7F8FB, #D9DCE6); border: 2px solid #B9BED0; color: #2E3192; font-family: var(--display); font-weight: 700; font-size: 1.15rem; box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,.15); transition: box-shadow .2s, color .2s, border-color .2s; }
.floor:hover .btnr, .floor:focus-visible .btnr { border-color: var(--red); color: #E2252B; box-shadow: 0 0 0 4px rgba(226,37,43,.18), inset 0 1px 0 #fff; }
.floor span.t { font-weight: 600; font-size: .93rem; line-height: 1.3; }

/* Product rows (san-pham) */
.prow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.prow:nth-child(even) .pm { order: 2; }
.prow .pm { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.prow .pm img { width: 100%; height: 100%; object-fit: cover; }
.prow .pt { display: grid; gap: 16px; align-content: center; min-width: 0; }
.prow .big-no { font-family: var(--display); font-size: 4.2rem; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--accent); font-weight: 700; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0; border-top: 1px solid var(--line); font-size: .94rem; }
.kv dt, .kv dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); padding-right: 20px; }
.kv dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.row-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Why ASAHI / compare */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why .it { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: grid; gap: 10px; align-content: start; }
.why .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; color: var(--accent); }
.why .ic svg { width: 22px; height: 22px; }
.why p { color: var(--muted); font-size: .95rem; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
table.t { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
table.t th, table.t td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t thead th { background: var(--band); color: var(--band-ink); font-weight: 600; font-size: .9rem; }
table.t thead th.hl { background: var(--red); }
table.t tbody th { font-weight: 600; color: var(--ink); width: 28%; }
table.t tbody tr:last-child td, table.t tbody tr:last-child th { border-bottom: 0; }
table.t td { font-variant-numeric: tabular-nums; }

/* Gallery mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 10px; }
.mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: 6px; background: var(--tint); }
.mosaic figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic .w2 { grid-column: span 2; }
.mosaic .h2 { grid-row: span 2; }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: .82rem; color: #fff; background: linear-gradient(transparent, rgba(10,12,35,.8)); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 8px; background: var(--surface); align-content: start; }
.two .steps { grid-template-columns: 1fr 1fr; }
.step .n { font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--red); line-height: 1; }
.step p { color: var(--muted); font-size: .94rem; }

/* CTA band + form */
.cta-band { background: var(--band); color: var(--band-ink); }
.cta-band .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); padding-block: clamp(48px, 7vw, 80px); align-items: start; }
.cta-band h2 { color: #fff; }
.cta-band .copy { display: grid; gap: 18px; min-width: 0; }
.cta-band .copy p { color: var(--band-muted); }
.hotline-big { display: inline-flex; align-items: center; gap: 14px; color: #fff; }
.hotline-big .ring { width: 54px; height: 54px; border-radius: 50%; background: var(--red); display: grid; place-items: center; animation: pulse 2s infinite; }
.hotline-big .ring svg { width: 24px; height: 24px; color: #fff; }
.hotline-big b { font-family: var(--display); font-size: 2.1rem; line-height: 1; letter-spacing: .02em; display: block; }
.hotline-big small { color: var(--band-muted); font-size: .85rem; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(226,37,43,.55); } 70% { box-shadow: 0 0 0 14px rgba(226,37,43,0); } 100% { box-shadow: 0 0 0 0 rgba(226,37,43,0); } }

.form { background: var(--surface); color: var(--ink); border-radius: 6px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form h3 { font-size: 1.2rem; }
.form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: .96rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 11px 12px; width: 100%; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.form .note { font-size: .78rem; color: var(--muted); }
.form .err { color: var(--red); font-size: .85rem; }
.form-done { display: grid; gap: 12px; }
.form-done .sum { background: var(--bg); border: 1px dashed var(--line); border-radius: 4px; padding: 12px; font-size: .9rem; white-space: pre-line; }
.form-done .acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.footer { background: #0B0D26; color: #B5B8D8; font-size: .92rem; }
.footer .wrap { padding-block: 56px 0; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.2fr; gap: 36px; }
.footer h4 { color: #fff; font-family: var(--display); font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { color: #DADCF2; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .flogo { height: 58px; width: auto; margin-bottom: 18px; }
.footer .legal { display: grid; gap: 4px; line-height: 1.5; }
.footer .legal b { color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #8D90B5; }
.footer .addr { display: grid; gap: 12px; }
.footer .addr b { color: #fff; display: block; font-weight: 600; }

/* Floating contact */
.float { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; gap: 10px; justify-items: end; }
.float a { display: inline-flex; align-items: center; gap: 10px; border-radius: 99px; color: #fff; font-weight: 600; font-size: .92rem; box-shadow: 0 6px 18px rgba(0,0,0,.25); text-decoration: none; }
.float .f-ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; }
.float .f-ico svg { width: 24px; height: 24px; }
.float .call { background: var(--red); padding-right: 18px; }
.float .call .f-ico { animation: pulse 2s infinite; border-radius: 50%; }
.float .zalo { background: #0068FF; }
.float .fb { background: #1877F2; }
.float .zalo b { font-size: .85rem; font-weight: 800; letter-spacing: .02em; }

/* Detail page */
.dhero { background: var(--surface); border-bottom: 1px solid var(--line); }
.dhero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding-block: 28px clamp(36px, 5vw, 56px); align-items: start; }
.dhero .media { display: grid; gap: 10px; min-width: 0; }
.dhero .main { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.dhero .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: var(--tint); }
.thumbs button[aria-pressed="true"] { border-color: var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dhero .info { display: grid; gap: 18px; min-width: 0; }
.qspec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.qspec div { padding: 14px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); display: grid; gap: 2px; }
.qspec div:nth-child(2n) { border-right: 0; }
.qspec div:nth-last-child(-n+2) { border-bottom: 0; }
.qspec span { font-size: .8rem; color: var(--muted); }
.qspec b { font-family: var(--display); font-size: 1.35rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.subnav { position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: 14px 12px; color: var(--muted); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.subnav a:hover { color: var(--red); text-decoration: none; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.two > * { min-width: 0; }
.opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.opt { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: grid; gap: 10px; align-content: start; }
.opt h4 { font-size: 1rem; }
.opt .sw { display: flex; gap: 6px; flex-wrap: wrap; }
.opt .sw i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: block; }
.opt p { font-size: .88rem; color: var(--muted); }
.apps { display: flex; flex-wrap: wrap; gap: 10px; }
.apps span { padding: 8px 14px; border-radius: 4px; background: var(--tint); color: var(--ink); font-size: .92rem; font-weight: 500; }
.notebox { border-left: 3px solid var(--red); background: var(--surface); padding: 14px 18px; font-size: .9rem; color: var(--muted); border-radius: 0 4px 4px 0; }

/* Blog list */
.feat { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: var(--ink); }
.feat:hover { text-decoration: none; border-color: var(--accent); }
.feat .im { min-height: 320px; background: var(--tint); position: relative; }
.feat .im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat .tx { padding: clamp(22px, 3vw, 40px); display: grid; gap: 14px; align-content: center; }
.feat .tx p { color: var(--muted); }
.meta { font-size: .85rem; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.soon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.soon .s { background: var(--surface); border: 1px dashed var(--line); border-radius: 6px; padding: 20px; display: grid; gap: 8px; }
.soon .s .tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cats span { padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: .88rem; background: var(--surface); }
.cats span.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Article */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.article { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 4vw, 48px); min-width: 0; }
.article > * + * { margin-top: 18px; }
.article h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.article h2 { font-size: clamp(1.6rem, 2.8vw, 2.05rem); margin-top: 44px; padding-top: 8px; border-top: 1px solid var(--line); padding-top: 28px; }
.article h3 { font-size: 1.2rem; margin-top: 30px; color: var(--accent); }
.article p, .article li { font-size: 1.04rem; line-height: 1.75; }
.article ul { padding-left: 22px; display: grid; gap: 6px; }
.article figure { margin: 26px 0; }
.article figure img { border-radius: 6px; width: 100%; max-height: 640px; object-fit: cover; }
.article figcaption { font-style: italic; color: var(--muted); font-size: .92rem; text-align: center; margin-top: 10px; }
.article .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.article .pair img { aspect-ratio: 3 / 4; }
.toc { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 18px 22px; }
.toc b { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.toc ol ol { padding-left: 18px; margin-top: 4px; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--red); }
.adv { background: var(--tint); border-radius: 6px; padding: 18px 22px; }
.adv b.h { display: block; margin-bottom: 8px; color: var(--accent); }
.author { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 36px !important; }
.author .av { width: 64px; height: 64px; border-radius: 50%; background: var(--band); display: grid; place-items: center; }
.author .av img { width: 46px; }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.aside { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; gap: 16px; }
.aside .box { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 20px; display: grid; gap: 12px; }
.aside .box h4 { font-size: 1rem; }
.aside .form .grid2 { grid-template-columns: 1fr; }
.aside .toc-side ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .9rem; }
.aside .toc-side a { color: var(--muted); }
.aside .toc-side a.on { color: var(--red); font-weight: 600; }
.aside .callbox { background: var(--band); color: #fff; border: 0; }
.aside .callbox p { color: var(--band-muted); font-size: .9rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Projects */
.pfilter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.pfilter .lbl { font-size: .85rem; color: var(--muted); margin-right: 4px; min-width: 76px; }
.pfilter button { font: 600 .88rem/1 var(--body); padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.pfilter button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pfilter button .c { opacity: .7; margin-left: 4px; font-variant-numeric: tabular-nums; }
.plist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.proj { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 16px 16px 14px; display: grid; gap: 10px; }
.proj .lot { display: grid; gap: 2px; }
.proj .lot .st { font-size: .9rem; font-weight: 600; color: var(--muted); }
.proj .lot b { font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.proj .ft { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 10px; }
.proj .area { font-size: .86rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.proj .area svg { width: 14px; height: 14px; flex: none; }
.pill { font-size: .74rem; font-weight: 700; padding: 4px 9px; border-radius: 99px; white-space: nowrap; letter-spacing: .02em; }
.pill.done { background: var(--accent); color: var(--accent-ink); }
.pill.doing { background: transparent; color: var(--red); border: 1.5px solid var(--red); }
.pcount { font-size: .92rem; color: var(--muted); }
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.area-card { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 18px; display: grid; gap: 4px; }
.area-card b { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.area-card span { font-weight: 600; }
.area-card small { color: var(--muted); }

/* About */
.info-table { display: grid; grid-template-columns: max-content 1fr; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); }
.info-table div { padding: 12px 18px; border-bottom: 1px solid var(--line); }
.info-table div:nth-child(odd) { color: var(--muted); background: var(--bg); font-size: .92rem; }
.info-table div:nth-child(even) { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.info-table div:nth-last-child(-n+2) { border-bottom: 0; }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.office { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.office .im { aspect-ratio: 16 / 10; background: var(--band); overflow: hidden; }
.office .im img { width: 100%; height: 100%; object-fit: cover; }
.office .im.logo { display: grid; place-items: center; }
.office .im.logo img { width: 60%; height: auto; object-fit: contain; }
.office .bd { padding: 18px; display: grid; gap: 8px; align-content: start; }
.office .tag { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); }
.values div { padding: 24px; border-right: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.values div:last-child { border-right: 0; }
.values b { font-family: var(--display); font-size: 1.5rem; }
.values p { color: var(--muted); font-size: .93rem; }

/* Responsive */
@media (max-width: 1080px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .floors { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  .aside { position: static; }
  .aside .toc-side { display: none; }
  .plist { grid-template-columns: repeat(3, 1fr); }
  .opts { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr 1fr; }
  .values div:nth-child(2) { border-right: 0; }
  .values div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .hero .wrap, .cta-band .wrap, .dhero .wrap, .two, .feat { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr; }
  .prow:nth-child(even) .pm { order: 0; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { border-top: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .why, .steps, .two .steps, .offices, .soon { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .areas { grid-template-columns: 1fr 1fr; }
  .plist { grid-template-columns: 1fr 1fr; }
  .section-head.row { grid-template-columns: 1fr; }
  .indicator { left: 10px; bottom: 12px; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .topbar .tb-left .tb-addr { display: none; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard p { display: none; }
  .floors { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .form .grid2 { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .opts { grid-template-columns: 1fr; }
  .plist { grid-template-columns: 1fr 1fr; gap: 8px; }
  .proj { padding: 12px; }
  .proj .lot b { font-size: 1.6rem; }
  .proj .area { font-size: .8rem; }
  .values { grid-template-columns: 1fr; }
  .values div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .info-table { grid-template-columns: 1fr; }
  .info-table div:nth-child(odd) { border-bottom: 0; padding-bottom: 2px; }
  .info-table div:nth-last-child(2) { border-bottom: 0; }
  .brand img { height: 42px; }
  .header .wrap { min-height: 66px; }
  .subnav { top: calc(66px + env(safe-area-inset-top, 0px)); }
  .float .call .lbl { display: none; }
  .float .call { padding-right: 0; }
  .hero-media { grid-template-columns: 1fr 1fr; }
  .article .pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ================= v2: elevator motion, tech, gallery ================= */
:root { --steel-a: #8C929F; --steel-b: #D6DAE1; --steel-c: #EEF0F3; --steel-d: #B9BEC8; --cop-ink: #1A1D2E; }

/* Nav floor numbers */
.nav .nfl { font-family: var(--display); font-weight: 700; font-size: .72rem; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-grid; place-items: center; color: var(--muted); margin-right: 2px; line-height: 1; }
.nav a.active .nfl, .nav .dd.active > button .nfl { border-color: var(--red); color: var(--red); }
.nav > a, .nav .dd > button { padding: 12px 9px; }

/* Page transition: lift doors */
.lift { position: fixed; inset: 0; z-index: 300; pointer-events: none; visibility: hidden; }
.lift-door { position: absolute; top: 0; bottom: 0; width: 50.2%; overflow: hidden; transition: transform .5s cubic-bezier(.7,0,.3,1); }
.lift-door.l { left: 0; transform: translateX(-101%); background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 4px), linear-gradient(90deg, var(--steel-a) 0%, var(--steel-b) 38%, var(--steel-c) 55%, var(--steel-d) 85%, #A3A9B4 100%); box-shadow: inset -2px 0 0 rgba(0,0,0,.28), inset 8px 0 18px rgba(0,0,0,.18); }
.lift-door.r { right: 0; transform: translateX(101%); background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 4px), linear-gradient(270deg, var(--steel-a) 0%, var(--steel-b) 38%, var(--steel-c) 55%, var(--steel-d) 85%, #A3A9B4 100%); box-shadow: inset 2px 0 0 rgba(255,255,255,.55), inset -8px 0 18px rgba(0,0,0,.18); }
.lift-logo { position: absolute; top: 50%; width: 120px; height: 124px; margin-top: -62px; overflow: hidden; opacity: .92; }
.lift-door.l .lift-logo { right: 0; }
.lift-door.r .lift-logo { left: 0; }
.lift-logo img { width: 240px; max-width: none; height: 124px; object-fit: contain; position: absolute; top: 0; }
.lift-door.l .lift-logo img { left: 0; }
.lift-door.r .lift-logo img { left: -120px; }
.lift-head { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); left: 50%; transform: translate(-50%, -180%); transition: transform .35s ease; }
.lift-disp, .sc-disp, .lt-disp { background: #0B0C18; color: #FF3B3F; border: 1px solid #2A2C44; border-radius: 6px; display: flex; align-items: center; gap: 12px; padding: 8px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.lift-disp svg, .sc-disp svg, .lt-disp svg { width: 16px; height: 20px; transition: transform .25s; }
.lift-num, .sc-num, .lt-num { font-family: var(--display); font-size: 2.3rem; font-weight: 700; line-height: 1; min-width: 1.2ch; text-align: center; text-shadow: 0 0 12px rgba(255,59,63,.6); font-variant-numeric: tabular-nums; }
.lift-lbl, .sc-name, .lt-name { color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.down svg { transform: rotate(180deg); }
.arrived svg { opacity: .25; }
.lift.closing { visibility: visible; }
.lift.closing .lift-door { transform: none; }
.lift.closing .lift-head { transform: translate(-50%, 0); }
html.lift-in .lift { visibility: visible; animation: liftHide 0s 1.4s forwards; }
html.lift-in .lift-door { transform: none; animation: liftOpenL .7s .55s cubic-bezier(.7,0,.3,1) forwards; }
html.lift-in .lift-door.r { animation-name: liftOpenR; }
html.lift-in .lift-head { transform: translate(-50%, 0); animation: liftHeadUp .3s 1s forwards; }
html.lift-in .lift-disp svg { opacity: .25; }
@keyframes liftOpenL { to { transform: translateX(-101%); } }
@keyframes liftOpenR { to { transform: translateX(101%); } }
@keyframes liftHeadUp { to { transform: translate(-50%, -180%); } }
@keyframes liftHide { to { visibility: hidden; } }

/* Hero showcase: a cabin that rides between product floors */
.hero .wrap { grid-template-columns: 1fr minmax(0, 520px); }
.showcase { display: grid; gap: 14px; min-width: 0; }
.sc-frame { background: linear-gradient(180deg, #3B4050, #1C1F2E); padding: 14px 14px 0; border-radius: 10px 10px 4px 4px; box-shadow: 0 20px 50px rgba(20,23,49,.25); }
.sc-head { display: flex; justify-content: center; padding-bottom: 12px; }
.sc-disp { min-width: 270px; box-shadow: none; }
.sc-stage { position: relative; aspect-ratio: 1 / 1.02; overflow: hidden; background: #111; border: 6px solid #A7ADB9; border-bottom: 0; }
.sc-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; }
.sc-slide.is-on { opacity: 1; visibility: visible; }
.sc-slide img { width: 100%; height: 100%; object-fit: cover; }
.sc-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 16px; background: linear-gradient(transparent, rgba(8,10,30,.88)); color: #fff; display: grid; gap: 2px; }
.sc-slide figcaption b { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }
.sc-slide figcaption span { color: #D6D8EF; font-size: .9rem; }
.sc-slide figcaption .sc-fl { color: #FF6A6E; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sc-slide figcaption a { color: #fff; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; justify-self: start; }
.sc-slide figcaption a svg { width: 16px; height: 16px; }
.sc-door, .lt-door { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 3; transition: transform .45s cubic-bezier(.7,0,.3,1); pointer-events: none; }
.sc-door.l, .lt-door.l { left: 0; transform: translateX(-101%); background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 4px), linear-gradient(90deg, var(--steel-a), var(--steel-b) 45%, var(--steel-c) 70%, var(--steel-d)); box-shadow: inset -2px 0 0 rgba(0,0,0,.3); }
.sc-door.r, .lt-door.r { right: 0; transform: translateX(101%); background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 4px), linear-gradient(270deg, var(--steel-a), var(--steel-b) 45%, var(--steel-c) 70%, var(--steel-d)); box-shadow: inset 2px 0 0 rgba(255,255,255,.5); }
.showcase.closing .sc-door, .lt.closing .lt-door { transform: none; }
.sc-sill { height: 12px; background: linear-gradient(180deg, #D2D6DE, #7E8492); border-radius: 0 0 3px 3px; margin: 0 -14px; }
.sc-cop { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.sc-cop button, .lt-cop .n { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #F7F8FB, #D5D9E3); border: 2px solid #B4B9CA; color: #2E3192; font: 700 1.05rem/1 var(--display); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,.18); transition: box-shadow .2s, color .2s, border-color .2s; }
.sc-cop button { cursor: pointer; padding: 0; }
.sc-cop button[aria-pressed="true"], .lt-cop [aria-selected="true"] .n { border-color: #E2252B; color: #E2252B; box-shadow: 0 0 0 4px rgba(226,37,43,.2), 0 0 14px rgba(226,37,43,.35), inset 0 1px 0 #fff; }
.sc-cop .sc-play, .sc-cop .sc-play[aria-pressed] { font-size: .9rem; color: #5A5F7A; border-color: #B4B9CA; box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,.18); margin-left: 8px; }

/* Floor rail (home, wide screens) */
.rail { position: fixed; left: calc(14px + env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); z-index: 35; display: none; }
@media (min-width: 1380px) { .rail { display: block; } }
.rail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: 8px; position: relative; }
.rail ol::before { content: ""; position: absolute; left: 16px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.rail a { display: flex; align-items: center; gap: 8px; text-decoration: none !important; position: relative; z-index: 1; }
.rail .n { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); display: grid; place-items: center; font: 700 .9rem/1 var(--display); color: var(--muted); transition: color .3s, border-color .3s; }
.rail .t { opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; background: var(--band); color: #fff; font-size: .78rem; font-weight: 600; padding: 4px 9px; border-radius: 4px; white-space: nowrap; }
.rail a:hover .t, .rail a:focus-visible .t, .rail a.on .t { opacity: 1; transform: none; }
.rail a.on .n { color: #fff; border-color: transparent; background: transparent; }
.rail-car { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 8px; background: var(--red); box-shadow: 0 4px 14px rgba(226,37,43,.4); transition: transform .7s cubic-bezier(.6,0,.3,1); z-index: 0; }

/* Component strip (home) */
.cstrip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 20px; }
.ctile { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 12px; display: grid; gap: 8px; color: var(--ink); font-size: .88rem; font-weight: 600; text-align: center; align-content: start; }
.ctile:hover { border-color: var(--accent); text-decoration: none; }
.ctile .ci { aspect-ratio: 1; background: #fff; border-radius: 4px; display: grid; place-items: center; overflow: hidden; }
.ctile .ci img { width: 100%; height: 100%; object-fit: contain; }
.ctile.more .ci { background: var(--band); color: #fff; }
.ctile.more .ci svg { width: 32px; height: 32px; }

/* Gallery teaser track */
.gtrack { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.gtrack.six { grid-template-columns: repeat(6, 1fr); }
.gt { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 4.6; background: var(--tint); }
.gt img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gt:hover img { transform: scale(1.05); }
.gt span { position: absolute; left: 8px; bottom: 8px; background: rgba(11,12,24,.8); color: #fff; font: 600 .75rem/1 var(--body); padding: 5px 7px; border-radius: 3px; letter-spacing: .04em; }

/* Lift tabs (gallery) */
.lt { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.lt-cop { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; gap: 6px; padding: 16px 12px; border-radius: 10px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 1px, transparent 1px 4px), linear-gradient(160deg, #E9ECF1, #C6CBD5); border: 1px solid #AEB4C1; box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgba(20,23,49,.12); }
.lt-cop button { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; background: transparent; border: 0; padding: 5px; text-align: left; cursor: pointer; font: inherit; color: var(--cop-ink); border-radius: 6px; }
.lt-cop button:hover .n { border-color: #E2252B; }
.lt-cop .l { font-weight: 600; font-size: .93rem; line-height: 1.25; display: grid; }
.lt-cop .l small { font-weight: 500; color: #4A4F66; font-size: .78rem; }
.lt-stage { min-width: 0; display: grid; gap: 14px; }
.lt-disp { justify-self: start; box-shadow: none; }
.lt-panels { position: relative; overflow: hidden; border-radius: 6px; min-height: 420px; }
.lt-door { z-index: 5; }
.lt-intro { color: var(--muted); max-width: 70ch; margin-bottom: 16px; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.gi { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); cursor: zoom-in; display: grid; text-align: left; }
.gi:hover { border-color: var(--accent); }
.gi .ph { display: block; aspect-ratio: 3 / 4.8; background: #fff; overflow: hidden; }
.gi .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gi:hover .ph img { transform: scale(1.04); }
.gi .cd { font: 600 .78rem/1 var(--body); padding: 8px 10px; color: var(--ink); letter-spacing: .03em; }
.g-cua-tang .gi .ph { aspect-ratio: 1 / 2; }
.g-tran .gal { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.g-tran .gi .ph { aspect-ratio: 2.8 / 1; }
.g-tran .gi .ph img, .g-nut-tay-vin .gi .ph img { object-fit: contain; }
.g-san .gi .ph, .g-vat-lieu .gi .ph, .g-nut-tay-vin .gi .ph { aspect-ratio: 1; }
.g-cam-hung .gal { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.g-cam-hung .gi .ph { aspect-ratio: 3 / 4; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 250; background: rgba(8,10,25,.94); display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; padding: calc(56px + env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
.lb figure { margin: 0; display: grid; gap: 12px; justify-items: center; min-width: 0; }
.lb img { max-height: calc(100vh - 170px); max-width: 100%; object-fit: contain; background: #fff; border-radius: 4px; }
.lb figcaption { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; color: #fff; font-weight: 600; }
.lb button.lb-x, .lb button.lb-prev, .lb button.lb-next { background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb .lb-x { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: calc(10px + env(safe-area-inset-right, 0px)); }
.lb button:hover { background: rgba(255,255,255,.2); }

/* Tech page */
.legend { list-style: none; padding: 0; margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.legend a { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 600; font-size: .94rem; }
.legend .n, .comp-no { width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 700 .9rem/1 var(--display); flex: none; }
.struct-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px; display: grid; gap: 8px; justify-items: center; }
.struct { width: 100%; max-width: 420px; height: auto; }
.struct .sv-shaft { fill: var(--tint); stroke: var(--accent); stroke-width: 2.5; }
.struct .sv-pit { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 6 5; }
.struct .sv-rail { stroke: var(--muted); stroke-width: 3; opacity: .5; }
.struct .sv-fill { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.struct .sv-car { fill: var(--surface); stroke: var(--accent); stroke-width: 2.5; }
.struct .sv-thin { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .5; }
.struct .sv-door { stroke: var(--accent); stroke-width: 2; }
.struct .sv-rope { stroke: var(--ink); stroke-width: 1.2; opacity: .55; }
.struct .sv-spring { fill: none; stroke: var(--accent); stroke-width: 2; }
.struct .sv-lbl { fill: var(--muted); font: 600 12px var(--body); }
.struct .sv-mk circle { fill: var(--red); }
.struct .sv-mk text { fill: #fff; font: 700 14px var(--display); }
.struct .sv-mk:hover circle, .struct .sv-mk:focus circle { fill: var(--accent); }
.comp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 48px); padding-block: 40px; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 100px; }
.comp:first-of-type { border-top: 0; padding-top: 8px; }
.comp-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.comp-imgs.n2 .ci:first-child, .comp-imgs.n3 .ci:first-child { grid-column: 1 / -1; }
.comp-imgs .ci { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px; display: grid; gap: 6px; }
.comp-imgs .ci img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.comp-imgs .ci figcaption { font-size: .78rem; color: #4A4F66; text-align: center; }
.comp-tx { display: grid; gap: 12px; align-content: start; }
.comp-tx h3 { font-family: var(--display); font-size: 2rem; font-weight: 700; }
.comp-tx p { color: var(--muted); }
.brands { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; }
.brands b { margin-right: 4px; }
.brands span { background: var(--surface); border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px; }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fgrp { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 20px; display: grid; gap: 14px; align-content: start; }
.fgrp li { font-size: .93rem; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: clamp(18px, 3vw, 28px); }
.calc-in { display: grid; gap: 14px; align-content: start; }
.calc-in .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-in .note { font-size: .8rem; color: var(--muted); }
.calc-out { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
.calc .cr-kv { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.calc .cr-kv dt { padding-right: 12px; }
.cr-foot { font-size: .76rem; color: var(--muted); margin-top: 8px; }
.calc-plan svg { width: 100%; height: auto; display: block; }
.calc-plan .p-shaft { fill: var(--tint); stroke: var(--accent); stroke-width: 3; }
.calc-plan .p-car { fill: var(--surface); stroke: var(--red); stroke-width: 3; }
.calc-plan .p-cw { fill: var(--accent); opacity: .35; }
.calc-plan .p-door { stroke: var(--ink); stroke-width: 5; }
.calc-plan text { fill: var(--muted); font: 600 26px var(--body); }
.calc-plan .p-dim { fill: var(--red); }
.cr-main { display: grid; gap: 2px; margin-bottom: 10px; }
.cr-main span { font-size: .85rem; color: var(--muted); }
.cr-dim { font-family: var(--display); font-size: 2.4rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cr-warn { color: var(--red); font-size: .88rem; margin-top: 10px; }
.calc .kv { font-size: .88rem; }

@media (max-width: 1180px) {
  .burger { display: grid; place-items: center; }
  .header .cta { display: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: calc(80px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 24px 20px; transform: translateX(105%); transition: transform .25s ease; box-shadow: var(--shadow); overflow-y: auto; z-index: 70; }
  .nav.open { transform: none; }
  .nav > a, .nav .dd > button { padding: 14px 4px; border-bottom: 1px solid var(--line); width: 100%; justify-content: flex-start; gap: 10px; font-size: 1.02rem; }
  .nav .dd > button svg { margin-left: auto; }
  .nav a.active, .nav .dd.active > button { box-shadow: none; }
  .dd-menu { position: static; transform: none; width: auto; display: none; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 4px 0 10px; }
  .dd:hover .dd-menu, .dd:focus-within .dd-menu { display: none; }
  .dd.open .dd-menu { display: grid; }
  .nav .close { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: 18px; display: grid !important; }
  .nav .m-cta { display: inline-flex !important; }
  .scrim { position: fixed; inset: 0; background: rgba(8,10,30,.5); z-index: 65; display: none; }
  .scrim.show { display: block; }
  .cstrip { grid-template-columns: repeat(3, 1fr); }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
}
@media (min-width: 1181px) { .nav .close, .nav .m-cta { display: none !important; } }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .showcase { max-width: 560px; }
  .gtrack { grid-template-columns: repeat(4, 1fr); }
  .gtrack.six { grid-template-columns: repeat(3, 1fr); }
  .lt { grid-template-columns: 1fr; }
  .lt-cop { position: static; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lt-cop button { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; }
  .comp { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cstrip { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: 1fr; }
  .legend { grid-template-columns: 1fr; }
  .calc-out { grid-template-columns: 1fr; }
  .calc-in .grid2 { grid-template-columns: 1fr 1fr; }
  .lt-cop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lt-cop button { grid-template-columns: 36px 1fr; justify-items: start; text-align: left; }
  .lt-cop .n { width: 36px; height: 36px; }
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-tran .gal, .g-cam-hung .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-disp { min-width: 0; }
  .sc-cop { gap: 6px; }
  .sc-cop button { width: 36px; height: 36px; font-size: .95rem; }
  .sc-cop .sc-play { margin-left: 2px; }
  .lb { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .lb button.lb-prev, .lb button.lb-next { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .lift { display: none !important; }
}

/* ================= v3 ================= */
.hero .proof { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink); background: var(--tint); border-radius: 6px; padding: 10px 14px; max-width: 560px; }
.hero .proof svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 1px; }
.cmp-intro { margin: 28px 0 12px; color: var(--muted); max-width: 70ch; }
.hot-more { color: var(--band-muted); font-size: .92rem; margin-top: -6px; }
.hot-more a { color: #fff; font-weight: 600; }
.tb-tel a { color: var(--band-ink); }
.footer .addr a { color: #DADCF2; }
.footer .bottom a { color: #B5B8D8; }
.offices.two { grid-template-columns: repeat(2, 1fr); }
.office .o-tel { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.office .o-tel svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--red); }
.office .im { aspect-ratio: 16 / 9; }
.proj-sum { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--band); color: #fff; border-radius: 8px; margin-bottom: 16px; }
.proj-sum div { padding: 22px 24px; border-left: 1px solid rgba(255,255,255,.12); display: grid; gap: 4px; }
.proj-sum div:first-child { border-left: 0; }
.proj-sum b { font-family: var(--display); font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.proj-sum span { color: var(--band-muted); font-size: .92rem; }
.areas { grid-template-columns: repeat(3, 1fr); }
.area-card b small { font-size: 1.3rem; color: var(--red); margin-left: 2px; }
.area-card .bar { height: 6px; border-radius: 3px; background: var(--tint); overflow: hidden; margin: 8px 0 2px; }
.area-card .bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .note a { color: var(--accent); text-decoration: underline; }
.stat b small { font-size: 1.4rem; }
@media (max-width: 860px) {
  .offices.two { grid-template-columns: 1fr; }
  .proj-sum { grid-template-columns: 1fr; }
  .proj-sum div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding: 16px 20px; }
  .proj-sum div:first-child { border-top: 0; }
  .areas { grid-template-columns: 1fr; }
}
.tb-tel a { white-space: nowrap; }
@media (max-width: 760px) { .tb-tel .tb-x { display: none; } }
@media (max-width: 480px) {
  .topbar .tb-right { display: none; }
}

/* ================= v4: mobile polish ================= */
.mbar, .swipe { display: none; }
@media (max-width: 760px) {
  /* Thanh liên hệ cố định ở đáy màn hình thay cho nút nổi */
  .topbar, .float { display: none; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .mbar { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(20,23,49,.12); padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 7px; height: 48px; border-radius: 8px; color: #fff; font-weight: 700; font-size: .93rem; text-decoration: none !important; white-space: nowrap; }
  .mbar a:active { filter: brightness(.92); }
  .mbar svg { width: 18px; height: 18px; flex: none; }
  .mb-call { background: var(--red); }
  .mb-zalo { background: #0068FF; }
  .mb-zalo i { font-style: normal; font-weight: 800; font-size: .7rem; letter-spacing: .02em; background: #fff; color: #0068FF; border-radius: 4px; padding: 3px 5px; line-height: 1; }
  .mb-quote { background: var(--band-2); }

  /* Hero: đưa thang trình diễn lên màn hình đầu tiên */
  .hero .wrap { gap: 16px; padding-block: 22px 32px; }
  .hero .copy { display: contents; }
  .hero .eyebrow { order: 1; font-size: .78rem; letter-spacing: .1em; gap: 8px; }
  .hero .eyebrow::before { width: 16px; }
  .hero h1 { order: 2; font-size: clamp(2.3rem, 10.5vw, 2.9rem); line-height: 1.02; }
  .hero .lead { order: 3; font-size: 1.02rem; }
  .hero .lead-more, .m-hide { display: none; }
  .hero .actions { order: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .actions .btn { padding: 13px 10px; }
  .hero .showcase { order: 5; max-width: none; margin-top: 4px; }
  .hero .proof { order: 6; }
  .hero .chips { order: 7; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut-l)) calc(-1 * var(--gut-r)); padding-inline: var(--gut-l) var(--gut-r); }
  .hero .chips::-webkit-scrollbar { display: none; }
  .hero .chips .chip { white-space: nowrap; flex: none; }
  .sc-frame { padding: 10px 10px 0; }
  .sc-sill { margin: 0 -10px; }
  .sc-stage { aspect-ratio: 1 / 1.08; }

  /* Thẻ vuốt ngang: Vì sao chọn, Quy trình */
  .why, .steps, .two .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gut-l)) calc(-1 * var(--gut-r)); padding: 2px var(--gut-r) 4px var(--gut-l); scroll-padding-inline: var(--gut-l); border: 0; }
  .why::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .why .it, .steps .step { scroll-snap-align: start; }
  .steps .step { border: 1px solid var(--line); border-radius: 6px; }
  .steps-box { min-width: 0; }
  .swipe { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 10px; font-size: .82rem; color: var(--muted); }
  .swipe svg { width: 16px; height: 16px; }

  /* Bảng so sánh -> thẻ xếp dọc */
  .cmpwrap { border: 0; background: none; overflow: visible; border-radius: 0; }
  table.cmp { min-width: 0; display: block; }
  table.cmp thead { display: none; }
  table.cmp tbody { display: grid; gap: 10px; }
  table.cmp tr { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
  table.cmp th[scope=row] { display: block; width: auto; background: var(--band); color: #fff; padding: 10px 14px; border: 0; font-family: var(--display); font-size: 1.08rem; letter-spacing: .02em; }
  table.cmp td { display: grid; gap: 3px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: none; }
  table.cmp td:last-child { border-bottom: 0; }
  table.cmp td::before { content: attr(data-l); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  table.cmp td.hl::before { color: var(--red); }
  .cmp-intro { margin-top: 24px; }
}
@media (max-width: 600px) {
  .section { padding-block: 48px; }
  .section-head { margin-bottom: 22px; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .footer .cols > div:first-child, .footer .cols > div:last-child { grid-column: 1 / -1; }
  .footer ul { gap: 7px; font-size: .88rem; }
  .footer .wrap { padding-top: 40px; }
  .footer .bottom { margin-top: 30px; }
}
/* Menu điện thoại: mục Trang chủ, nút báo giá, hotline */
.nav .m-home, .nav .m-tel { display: none; }
@media (max-width: 1180px) {
  .nav .m-home { display: inline-flex; }
  .nav > a.m-cta { background: var(--red); color: #fff; justify-content: center; border: 0; border-radius: 6px; padding: 15px; margin-top: 20px; font-size: 1rem; }
  .nav > a.m-cta:hover { background: var(--red-hover); color: #fff; }
  .nav .m-tel { display: grid; gap: 4px; margin-top: 18px; padding: 14px 16px; border-radius: 6px; background: var(--tint); }
  .nav .m-tel span { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
  .nav .m-tel a { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.3; }
}
/* Menu mở: đưa header (chứa menu) lên trên lớp phủ và thanh liên hệ, để bấm được các mục */
html.nav-open .header { z-index: 80; }
html.nav-open { overflow: hidden; }
