/* FirstAd.vn — tokens + base from the Broadsheet DS, dark theme overrides from "FirstAd Lien he". */
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap");

:root {
  --color-bg: #0b0a09;
  --color-surface: #151311;
  --color-text: #f2ede3;
  --color-divider: color-mix(in srgb, #f2ede3 12%, transparent);
  --color-accent: #fbe601;
  --color-accent-100: #1f1d0a;
  --color-accent-800: #fff27a;
  --color-accent-900: #fff8c4;
  --font-heading: "Source Serif 4", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-heading); font-size: 15px; line-height: 1.55;
  text-wrap: pretty; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
a { color: var(--color-accent); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-800); }
img { display: block; max-width: 100%; }
::selection { background: var(--color-accent); color: #0b0a09; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--color-accent); color: #0b0a09; padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.halftone { position: relative; filter: grayscale(.35) contrast(1.15); overflow: hidden; }
.halftone::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(0,0,0,.22) 30%, transparent 32%); background-size: 3px 3px; mix-blend-mode: multiply; }

@keyframes fa-rise { from { opacity: 0; transform: translateY(105%) } to { opacity: 1; transform: none } }
@keyframes fa-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes fa-in { from { opacity: 0; transform: translateX(18px) } to { opacity: 1; transform: none } }
@keyframes fa-sonar { 0% { transform: translate(-50%, -50%) scale(.2); opacity: .9 } 100% { transform: translate(-50%, -50%) scale(6); opacity: 0 } }
@keyframes fa-pulse { 0% { box-shadow: 0 0 0 0 rgba(251,230,1,.55) } 100% { box-shadow: 0 0 0 10px transparent } }
@keyframes fan-in { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; } }

/* logo */
.logo-img { height: 28px; width: auto; max-width: none; object-fit: contain; align-self: flex-start; display: block; }
/* (kiểu chữ cũ, còn dùng làm dự phòng) */
.logo { font-weight: 600; font-size: 26px; letter-spacing: -0.04em; line-height: 1; color: var(--color-text); }
.logo b { color: var(--color-accent); font-weight: 600; }
.logo span { font-weight: 400; font-size: .62em; letter-spacing: 0; opacity: .7; margin-left: 1px; }

/* ── nav ── */
.nav-wrap { position: sticky; top: 0; z-index: 40; display: block; }
.nav { position: relative; display: flex; align-items: center; gap: 20px; padding: 14px clamp(20px, 4vw, 64px); background: color-mix(in srgb, #0b0a09 74%, transparent); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-bottom: 1px solid var(--color-divider); }
.nav-logo { display: block; margin-right: auto; text-decoration: none; }
.nav-links { display: flex; align-items: center; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 999px; font-size: 15px; white-space: nowrap; text-decoration: none; color: rgba(242,237,227,.85); }
.nav-link i { font-size: 12px; }
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--color-accent); }
.nav-link.is-active { color: var(--color-accent); background: rgba(251,230,1,.08); }
.dd { display: none; position: absolute; top: 100%; left: 0; padding-top: 10px; z-index: 5; }
.nav-item:hover > .dd, .nav-item:focus-within > .dd { display: block; }
.dd-box { min-width: 300px; padding: 10px; border-radius: 18px; background: var(--color-surface); box-shadow: 0 30px 80px rgba(0,0,0,.6), inset 0 0 0 1px rgba(242,237,227,.1); display: flex; flex-direction: column; animation: fan-in .25s var(--ease) both; }
.dd-box a { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--color-text); }
.dd-box a:hover { background: var(--color-accent-100); color: var(--color-text); }
.dd-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--color-bg); display: grid; place-items: center; }
.dd-ic i { font-size: 18px; color: var(--color-accent); }
.dd-tx { display: flex; flex-direction: column; line-height: 1.3; }
.dd-tx b { font-size: 15px; font-weight: 600; }
.dd-tx small { font-size: 13px; color: rgba(242,237,227,.6); }
.nav-cta, .m-cta { display: inline-flex; align-items: center; background: var(--color-accent); color: #0b0a09; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 20px; border-radius: 999px; white-space: nowrap; }
.nav-cta:hover, .m-cta:hover { background: var(--color-accent-800); color: #0b0a09; }
.nav-burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(242,237,227,.2); background: transparent; color: var(--color-text); cursor: pointer; }
.nav-burger i { font-size: 22px; }
.nav-prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #fbe601, #fff27a); box-shadow: 0 0 12px rgba(251,230,1,.6); }
.mnav { position: fixed; left: 0; right: 0; top: 73px; bottom: 0; z-index: 50; background: var(--color-bg); overflow: auto; padding: 24px clamp(20px, 4vw, 64px) 48px; flex-direction: column; gap: 4px; animation: fan-in .3s var(--ease) both; }
.mnav:not([hidden]) { display: flex; }
.mnav a:not(.m-cta) { display: flex; justify-content: space-between; align-items: center; color: var(--color-text); text-decoration: none; border-bottom: 1px solid rgba(242,237,227,.08); }
.mnav i { font-size: 18px; color: var(--color-accent); }
.m-top { padding: 18px 0; font-size: 26px; font-weight: 600; }
.m-sub { padding: 10px 0 10px 20px; font-size: 17px; color: rgba(242,237,227,.7) !important; }
.m-cta { margin-top: 24px; justify-content: center; font-size: 18px; padding: 16px; }
@media (max-width: 1240px) { .nav-links, .nav-cta { display: none; } .nav-burger { display: inline-flex; } }

/* ── contact hero ── */
.hero { position: relative; isolation: isolate; padding: clamp(72px, 10vw, 140px) clamp(20px, 4vw, 64px) clamp(80px, 10vw, 140px); max-width: 1440px; margin: 0 auto; }
.hero-bg { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; z-index: -1; pointer-events: none; overflow: hidden; }
.sonar { position: absolute; left: 80%; top: 30%; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(251,230,1,.3); animation: fa-sonar 9s linear infinite; }
.sonar:nth-child(2) { animation-delay: -3s; }
.sonar:nth-child(3) { animation-delay: -6s; }
.dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(242,237,227,.08) 1px, transparent 1.4px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 60%); mask-image: radial-gradient(ellipse at 80% 30%, #000, transparent 60%); }
.crumbs { font-size: 14px; color: rgba(242,237,227,.6); animation: fa-fade .6s both; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--color-accent); }
.h1 { margin: 28px 0 0 -0.045em; font-weight: 600; font-size: clamp(48px, 8vw, 136px); line-height: .9; letter-spacing: -0.055em; }
.h1 .ln { display: block; overflow: hidden; padding: .2em 0 .22em; margin: -.2em 0 -.18em; }
.h1 .ln > span { display: block; animation: fa-rise .8s var(--ease) .1s both; }
.h1 .ln:nth-child(2) > span { animation-delay: .22s; }
.h1 em { font-weight: 400; color: var(--color-accent); }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px clamp(32px, 5vw, 80px); margin-top: 64px; align-items: start; }
.panel { border-radius: 32px; background: linear-gradient(160deg, #1a1814, #121110); box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 0 0 1px rgba(242,237,227,.08); padding: clamp(24px, 3.5vw, 48px); animation: fa-fade .8s .4s both; }
.wiz { display: flex; flex-direction: column; gap: 28px; }
.steps { display: flex; align-items: center; gap: 10px; }
.step { display: flex; align-items: center; gap: 10px; flex: 1; }
.step .n { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 14px; font-weight: 600; background: var(--color-bg); color: rgba(242,237,227,.6); transition: background .3s; }
.step .t { font-size: 14px; color: rgba(242,237,227,.55); }
.step .ln { flex: 1; height: 1px; background: var(--color-divider); }
.step.on .n { background: var(--color-accent); color: #0b0a09; }
.step.cur .t { color: var(--color-text); }
.pane { display: flex; flex-direction: column; gap: 18px; animation: fa-in .4s var(--ease) both; }
.q { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.02em; }
.grid-needs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; text-align: left; font-family: var(--font-heading); font-size: 15.5px; padding: 16px; border-radius: 16px; cursor: pointer; border: 1px solid var(--color-divider); background: transparent; color: var(--color-text); transition: border-color .2s, background .2s; }
.opt i { font-size: 22px; color: var(--color-accent); flex: none; }
.opt:hover { border-color: var(--color-accent); }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { border-color: var(--color-accent); background: var(--color-accent-100); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 15.5px; padding: 12px 18px; border-radius: 999px; cursor: pointer; border: 1px solid var(--color-divider); background: transparent; color: var(--color-text); transition: background .2s, color .2s; }
.chip i { font-size: 18px; }
.chip[aria-pressed="true"] { border-color: var(--color-accent); background: var(--color-accent); color: #0b0a09; }
.range { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.range-top { display: flex; justify-content: space-between; font-size: 15px; color: rgba(242,237,227,.8); }
.range-top strong { color: var(--color-text); }
.range input { width: 100%; accent-color: var(--color-accent); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.slot { display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--font-heading); padding: 12px 8px; border-radius: 14px; cursor: pointer; border: 1px solid var(--color-divider); background: transparent; color: var(--color-text); transition: background .2s, color .2s; }
.slot small { font-size: 12px; opacity: .75; }
.slot b { font-size: 17px; font-weight: 600; }
.slot[aria-pressed="true"] { border-color: var(--color-accent); background: var(--color-accent); color: #0b0a09; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-top: 6px; }
.in { width: 100%; font-family: var(--font-heading); font-size: 16px; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--color-divider); background: var(--color-bg); color: var(--color-text); }
.in::placeholder { color: rgba(242,237,227,.55); opacity: 1; }
.in:hover { border-color: rgba(242,237,227,.4); }
.in:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
.in[aria-invalid="true"] { border-color: #ff6b5e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.err { margin: 0; font-size: 15px; color: #ff9d94; }
.err a { color: inherit; }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; border-top: 1px solid var(--color-divider); }
.back { font-family: var(--font-heading); font-size: 15px; padding: 12px 4px; border: 0; background: transparent; cursor: pointer; color: var(--color-text); }
.back[hidden] { display: block; visibility: hidden; }
.go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 16px; padding: 14px 26px; border-radius: 999px; border: 0; background: var(--color-accent); color: #0b0a09; cursor: pointer; }
.go:hover { background: var(--color-accent-800); }
.go:disabled { opacity: .55; cursor: progress; }
.go i { font-size: 16px; }
.done { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; padding: 24px 0; animation: fa-in .5s var(--ease) both; }
.done .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--color-accent); display: grid; place-items: center; }
.done .ok i { font-size: 36px; color: #0b0a09; }
.done h2 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.03em; line-height: 1.1; }
.done p { font-size: 16px; line-height: 1.6; color: rgba(242,237,227,.75); }
.done p strong { color: var(--color-accent); }

.side { display: flex; flex-direction: column; gap: 14px; }
.ct { display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 16px; align-items: center; padding: 20px; border-radius: 20px; background: var(--color-surface); box-shadow: inset 0 0 0 1px rgba(242,237,227,.07); text-decoration: none; color: var(--color-text); transition: box-shadow .3s, transform .3s; }
.ct:hover { color: var(--color-text); box-shadow: inset 0 0 0 1px rgba(251,230,1,.55); transform: translateX(4px); }
.ct .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--color-accent-100); display: grid; place-items: center; }
.ct .ic i { font-size: 24px; color: var(--color-accent); }
.ct .tx { display: flex; flex-direction: column; line-height: 1.35; }
.ct .tx small { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(242,237,227,.6); }
.ct .tx b { font-size: 18px; font-weight: 600; }
.ct > i { font-size: 20px; color: var(--color-accent); }
.live { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 20px; background: var(--color-accent-100); font-size: 15px; color: var(--color-accent-900); }
.live span { width: 9px; height: 9px; border-radius: 50%; background: var(--color-accent); animation: fa-pulse 1.6s infinite; flex: none; }
.map { aspect-ratio: 16/10; border-radius: 20px; background: linear-gradient(135deg, #1f1d18, #2e2a22); }
.map > div { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 20px; }
.map i { font-size: 32px; color: var(--color-accent); }
.map b { font-size: 17px; font-weight: 600; }
.map small { font-size: 14px; color: rgba(242,237,227,.7); }

/* ── footer ── */
.ft { padding: 72px clamp(20px, 4vw, 64px) 40px; max-width: 1440px; margin: 0 auto; }
.ft-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 40px; }
.ft-brand { display: flex; flex-direction: column; gap: 16px; grid-column: span 2; max-width: 360px; }
.ft-brand p { font-size: 15px; line-height: 1.6; color: rgba(242,237,227,.65); }
.ft-contact { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: rgba(242,237,227,.8); }
.ft-contact a, .ft-contact span { display: flex; align-items: flex-start; gap: 8px; color: inherit; text-decoration: none; }
.ft-contact a:hover { color: var(--color-accent); }
.ft-contact i { color: var(--color-accent); margin-top: 4px; }
.ft-col { display: flex; flex-direction: column; gap: 10px; }
.ft-h { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(242,237,227,.55); }
.ft-col a { font-size: 15px; color: rgba(242,237,227,.85); text-decoration: none; }
.ft-col a:hover { color: var(--color-accent); }
.ft-word { display: flex; justify-content: space-between; margin-top: 72px; overflow: hidden; font-size: clamp(72px, 18.5vw, 330px); font-weight: 600; letter-spacing: -0.06em; line-height: .82; padding: .06em 0 .12em; user-select: none; }
.ft-word span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--ease); }
.ft-word .o { color: transparent; -webkit-text-stroke: 1.5px rgba(242,237,227,.35); }
.ft-word .y { color: var(--color-accent); }
.ft-word.in span { transform: none; }
.no-js .ft-word span { transform: none; }
.ft-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(242,237,227,.12); font-size: 13px; color: rgba(242,237,227,.55); }

/* ── small screens ── */
.cols > *, .wiz, .pane { min-width: 0; }
@media (max-width: 520px) {
  .step:not(.cur) .t { display: none; }
  .step:not(.cur) .ln { flex: 1; }
  .step.cur { flex: 3; }
  .panel { border-radius: 24px; }
}

/* ── trang chủ ── */
details summary::-webkit-details-marker { display: none; }
.hv-accent:hover { color: var(--color-accent); }
.pill:hover { border-color: var(--color-accent) !important; }
.btn-y:hover { background: #fff27a !important; color: #0b0a09 !important; }
.hv-dim:hover { opacity: .88; }
.hv-dark:hover { background: #2a2826 !important; }
.cta-in { outline: none; }
.cta-in::placeholder { color: rgba(11,10,9,.6); }
.cta-in:focus-visible { background: rgba(255,255,255,.4); outline: 2px solid #0b0a09; outline-offset: 2px; }
.fa-grain { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
@keyframes fa-pop { from { opacity: 0; transform: translateY(12px) scale(.94) } to { opacity: 1; transform: none } }
@keyframes fa-word { from { opacity: 0; transform: translateY(35%); filter: blur(10px) } to { opacity: 1; transform: none; filter: none } }
@keyframes fa-dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0) } 40% { opacity: 1; transform: translateY(-3px) } }
@keyframes fa-float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes fa-marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes fa-shine { 0% { transform: translateX(-150%) skewX(-20deg) } 55%, 100% { transform: translateX(350%) skewX(-20deg) } }
@keyframes fa-drift { 0% { transform: translate(0, 0) scale(1) } 50% { transform: translate(8vw, -6vh) scale(1.15) } 100% { transform: translate(-6vw, 8vh) scale(.92) } }
@keyframes fa-grid { from { transform: translateY(0) } to { transform: translateY(64px) } }
@keyframes fa-spin { to { transform: translate(-50%, -50%) rotate(360deg) } }
@keyframes fa-beam { 0% { transform: translateX(-40vw) skewX(-20deg) } 100% { transform: translateX(140vw) skewX(-20deg) } }
@keyframes fa-ht { from { transform: translate(0, 0) } to { transform: translate(14px, 14px) } }
.fa-float { animation: fa-pop .6s cubic-bezier(.2, .8, .2, 1) both, fa-float 6s 1s ease-in-out infinite; }
@media (max-width: 980px) { .fa-sticky, .fa-float { display: none !important; } .fa-story { grid-template-columns: minmax(0, 1fr) !important; } }
@media (max-width: 720px) { .fa-side, .fa-hide-sm { display: none !important; } }
@media (pointer: coarse), (hover: none) { .fa-cursor { display: none !important; } }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor summary, .has-cursor label { cursor: none; }
