/* =========================================================
   BTC OFFICE – Giao diện website
   Tông màu: Đỏ – Trắng – Đen
   ========================================================= */
:root {
  --red: #d71920;
  --red-dark: #a8101a;
  --red-soft: #fdecec;
  --black: #0f0f10;
  --dark: #18181b;
  --dark-2: #232327;
  --text: #2b2b2f;
  --muted: #6b6b73;
  --line: #e7e7ea;
  --gray: #f5f5f6;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 15, 16, .08);
  --shadow-lg: 0 20px 50px rgba(15, 15, 16, .14);
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { color: var(--black); line-height: 1.25; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 880px; }
.section { padding: 96px 0; }
.section-sm { padding: 40px 0; }
.pb-80 { padding-bottom: 80px; }
.gray { background: var(--gray); }
.dark { background: var(--black); color: #c9c9cf; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.center .eyebrow::after, .sec-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--red); }
.h-title { font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.01em; }
.h-title span { color: var(--red); }
.h-sub { font-size: 24px; margin-top: 8px; }
.lead { font-size: 18px; color: var(--muted); }
.dark .lead { color: #a9a9b1; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 48px; }
.sec-head > p { max-width: 460px; color: var(--muted); margin: 0; }
.sec-head .h-title { margin-bottom: 0; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }

.rich { font-size: 16.5px; }
.rich h2 { font-size: 26px; margin-top: 1.2em; }
.rich h3 { font-size: 20px; margin-top: 1.2em; }
.rich h2:first-child, .rich h3:first-child { margin-top: 0; }
.rich ul, .rich ol { padding-left: 0; margin: 0 0 1.2em; list-style: none; }
.rich ul li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.rich ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); border-radius: 2px; }
.rich ol { counter-reset: n; }
.rich ol li { counter-increment: n; position: relative; padding-left: 34px; margin-bottom: 8px; }
.rich ol li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.rich img { border-radius: var(--radius); margin: 1.2em 0; }
.rich a { color: var(--red); text-decoration: underline; }
.rich blockquote { border-left: 4px solid var(--red); margin: 1.2em 0; padding: 12px 20px; background: var(--gray); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.rich table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; }
.rich td, .rich th { border: 1px solid var(--line); padding: 10px; }
.rich iframe { max-width: 100%; }
.intro-rich { max-width: 880px; margin-bottom: 36px; color: var(--muted); font-size: 17px; }
.center-block { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 2px solid transparent; transition: all .25s var(--ease); white-space: nowrap; line-height: 1.2;
}
.btn i { transition: transform .25s; }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(215, 25, 32, .28); }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--red); color: #fff; }
.btn-outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: #fff; }
.dark .btn-outline { border-color: #fff; color: #fff; }
.dark .btn-outline:hover { background: #fff; color: var(--black); }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--black); color: #fff; }
.btn-outline-white { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--red); }
.btn-ghost { color: var(--muted); padding: 14px 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center-row { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--red); font-size: 15px; }
.link-arrow i { transition: transform .25s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; line-height: 1.3; }
.badge-dark { background: var(--black); color: #fff; }
.badge-light { background: #fff; color: var(--black); border: 1px solid var(--line); }
.badge-status { background: #fff4e5; color: #b25e00; }
.badge-status.ok { background: #e7f7ee; color: #127a3d; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--black); color: #bdbdc4; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--red); margin-right: 4px; }
.topbar-right a i { color: inherit; margin: 0; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .07); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo img { height: 62px; width: auto; }
.nav ul { display: flex; list-style: none; gap: 4px; }
.nav a { position: relative; display: block; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--black); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a.active { color: var(--red); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-head, .nav-foot { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--black); border-radius: 10px; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }
.nav-toggle span:nth-child(2) { width: 70%; margin-left: auto; background: var(--red); }
.nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 150; opacity: 0; visibility: hidden; transition: .3s; }

/* ---------- Hero slider ---------- */
.hero { background: var(--black); }
.slider { position: relative; overflow: hidden; aspect-ratio: 2 / 1; max-height: calc(100vh - 124px); min-height: 200px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide::before { content: ""; position: absolute; inset: -30px; background: var(--bg) center / cover; filter: blur(24px) brightness(.8); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide a { display: block; height: 100%; }
.slide img { position: relative; width: 100%; height: 100%; object-fit: contain; transform: scale(1.03); transition: transform 7s ease; }
.slide.is-active img { transform: scale(1); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--black); box-shadow: var(--shadow); transition: .25s; }
.slider-btn:hover { background: var(--red); color: #fff; }
.slider-btn.prev { left: 24px; }
.slider-btn.next { right: 24px; }
.slider-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.slider-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .6); padding: 0; transition: .3s; }
.slider-dots button.is-active { width: 34px; background: var(--red); }

/* ---------- Quick search ---------- */
.quick-search { position: relative; z-index: 5; margin-top: -40px; }
.qs-form { display: grid; grid-template-columns: auto 1.4fr 1fr 1fr auto; gap: 12px; align-items: center; background: #fff; padding: 16px 16px 16px 24px; border-radius: 18px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--red); }
.qs-title { display: flex; align-items: center; gap: 12px; padding-right: 12px; border-right: 1px solid var(--line); }
.qs-title i { font-size: 26px; color: var(--red); }
.qs-title strong { display: block; color: var(--black); line-height: 1.2; }
.qs-title span { font-size: 13px; color: var(--muted); }
.qs-form input, .qs-form select, .filter-bar input, .filter-bar select {
  width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; background: var(--gray); outline: none; transition: border-color .2s, background .2s;
}
.qs-form input:focus, .qs-form select:focus, .filter-bar input:focus, .filter-bar select:focus { border-color: var(--red); background: #fff; }
.qs-form .btn { height: 50px; border-radius: 10px; }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.intro-media { position: relative; padding: 0 60px 60px 0; }
.intro-media .im-main { border-radius: 20px; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; box-shadow: var(--shadow-lg); }
.intro-media .im-sub { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.intro-media::before { content: ""; position: absolute; left: -20px; top: -20px; width: 140px; height: 140px; background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 20px); opacity: .15; border-radius: 10px; z-index: -1; }
.im-badge { position: absolute; left: -10px; bottom: 30px; background: var(--red); color: #fff; padding: 18px 22px; border-radius: 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 30px rgba(215, 25, 32, .35); }
.im-badge strong { font-size: 34px; font-weight: 900; line-height: 1; }
.im-badge span { font-size: 13px; line-height: 1.3; opacity: .95; }
.intro-lines { list-style: none; margin: 22px 0 0; display: grid; gap: 10px; }
.intro-lines li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: var(--gray); border-radius: 12px; font-weight: 600; color: var(--black); border-left: 3px solid var(--red); }
.intro-lines i { color: var(--red); }
.connect-chain { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; margin-top: 64px; padding: 26px; border: 1px dashed #d8d8dc; border-radius: 18px; }
.connect-chain span { padding: 10px 20px; border-radius: 999px; background: var(--black); color: #fff; font-weight: 600; font-size: 15px; }
.connect-chain span:nth-of-type(even) { background: var(--red); }
.connect-chain i { color: #b9b9c0; font-size: 13px; }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 56px; padding-bottom: 56px; }
.stat { padding: 0 26px; border-left: 1px solid rgba(255, 255, 255, .22); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: clamp(36px, 4vw, 52px); font-weight: 900; line-height: 1.05; margin-bottom: 8px; }
.stat span { font-size: 15px; opacity: .9; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; transition: all .35s var(--ease); overflow: hidden; }
.svc-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: var(--black); transition: height .45s var(--ease); z-index: 0; }
.svc-card > * { position: relative; z-index: 1; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #cfcfd5; border-color: var(--black); }
.svc-card:hover::before { height: 100%; }
.svc-card:hover h3 { color: #fff; }
.svc-card:hover .icon-box { background: var(--red); color: #fff; }
.svc-card h3 { font-size: 19px; margin: 18px 0 4px; transition: color .3s; }
.svc-card em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.svc-card p { font-size: 14.5px; color: inherit; opacity: .85; flex: 1; }
.svc-code { position: absolute !important; right: 20px; top: 14px; font-size: 44px; font-weight: 900; color: transparent; -webkit-text-stroke: 1.5px #e3e3e6; line-height: 1; }
.svc-card:hover .svc-code { -webkit-text-stroke-color: rgba(255, 255, 255, .25); }
.icon-box { width: 60px; height: 60px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 24px; transition: .3s; flex-shrink: 0; }
.icon-box img { width: 70%; height: 70%; object-fit: contain; }
.icon-box.lg { width: 76px; height: 76px; font-size: 30px; }

.svc-rows { display: grid; gap: 70px; margin-top: 20px; }
.svc-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; scroll-margin-top: 110px; }
.svc-row.rev .svc-row-img { order: 2; }
.svc-row-img { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.svc-row-img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .8s var(--ease); }
.svc-row-img:hover img { transform: scale(1.05); }
.svc-code.big { position: absolute; left: 20px; top: 16px; right: auto; font-size: 64px; -webkit-text-stroke: 2px #fff; text-shadow: 0 4px 20px rgba(0, 0, 0, .3); }
.svc-row-head { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; }
.svc-row-head h2 { font-size: 26px; margin: 0 0 2px; }
.svc-row-head em { font-style: normal; color: var(--red); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.svc-row-body > p { color: var(--muted); }
.goal-box { margin: 20px 0; padding: 16px 20px; background: var(--black); color: #fff; border-radius: 12px; font-weight: 600; display: flex; gap: 14px; align-items: center; }
.goal-box span { flex-shrink: 0; background: var(--red); padding: 4px 12px; border-radius: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.goal-box.lg { font-size: 18px; padding: 22px 26px; margin: 30px 0; }

.check-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 18px 0; }
.check-grid.one { grid-template-columns: 1fr; }
.check-grid li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check-grid i { color: var(--red); margin-top: 5px; }

.svc-detail-head { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; position: relative; }
.svc-detail-head .svc-code.big { position: static; -webkit-text-stroke: 2px var(--red); text-shadow: none; }
.svc-detail-head .lead { margin: 0; }
.svc-figure { margin: 0 0 32px; }
.svc-figure img { border-radius: 18px; width: 100%; box-shadow: var(--shadow); }
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 10px; }
.feature-grid li { display: flex; align-items: center; gap: 14px; background: var(--gray); border-radius: 12px; padding: 16px; font-weight: 600; color: var(--black); border: 1px solid transparent; transition: .25s; }
.feature-grid li:hover { border-color: var(--red); background: #fff; }
.feature-grid span { font-size: 13px; font-weight: 800; color: var(--red); }

/* ---------- Building cards ---------- */
.b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.b-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.b-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.b-card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray); }
.b-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.b-card:hover .b-card-img img { transform: scale(1.07); }
.b-card-img .badge { position: absolute; top: 14px; }
.b-card-img .badge-dark { left: 14px; }
.b-card-img .badge-status { right: 14px; }
.b-card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.b-card-district { font-size: 13px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .05em; }
.b-card h3 { font-size: 19px; margin: 6px 0 4px; }
.b-card-addr { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.b-card-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--text); padding: 12px 0; border-top: 1px dashed var(--line); margin-top: auto; }
.b-card-specs i { color: var(--red); margin-right: 4px; }
.b-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { color: var(--red); font-size: 16px; font-weight: 800; }

/* ---------- Vision / lifecycle ---------- */
.vision-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.vision-big { position: relative; background: var(--black); color: #fff; border-radius: 24px; padding: 44px; overflow: hidden; }
.vision-big::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; background: repeating-linear-gradient(90deg, var(--red) 0 14px, transparent 14px 28px); opacity: .5; transform: skewY(-20deg); }
.vision-big span { display: inline-block; background: var(--red); padding: 4px 14px; border-radius: 6px; font-weight: 800; letter-spacing: .1em; }
.vision-big strong { position: relative; z-index: 1; display: block; font-size: clamp(64px, 9vw, 120px); font-weight: 900; line-height: 1; margin: 16px 0 10px; }
.vision-big em { font-style: normal; font-size: 18px; color: #cfcfd5; position: relative; z-index: 1; }
.lifecycle { margin-top: 64px; }
.lifecycle h3 { text-align: center; font-size: 20px; margin-bottom: 26px; }
.lifecycle ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lifecycle li { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); padding: 10px 18px 10px 10px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: .25s; }
.lifecycle li span { width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: #fff; font-size: 12px; display: grid; place-items: center; }
.lifecycle li:hover { border-color: var(--red); color: var(--red); }
.lifecycle li:hover span { background: var(--red); }

/* ---------- Mission ---------- */
.mission-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.mission-img img { border-radius: 22px; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-lg); }
.quote { margin: 24px 0 0; padding: 22px 26px; background: var(--red); color: #fff; border-radius: 16px; font-size: 17px; font-weight: 600; position: relative; }
.quote::before { content: "\201C"; position: absolute; right: 20px; top: -10px; font-size: 90px; line-height: 1; opacity: .25; font-family: Georgia, serif; }

/* ---------- Roadmap ---------- */
.sec-roadmap { position: relative; overflow: hidden; }
.sec-roadmap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(215, 25, 32, .35), transparent 45%); }
.sec-roadmap .container { position: relative; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 26px; left: 30px; right: 30px; height: 2px; background: linear-gradient(90deg, var(--red), rgba(215, 25, 32, .2)); }
.tl-item { position: relative; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 70px 24px 26px; transition: .35s var(--ease); }
.tl-item:hover { transform: translateY(-6px); border-color: var(--red); }
.tl-dot { position: absolute; top: 4px; left: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; font-size: 18px; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--black); }
.tl-phase { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #9a9aa3; font-weight: 700; }
.tl-item h3 { font-size: 24px; margin: 4px 0 4px; }
.tl-when { display: inline-block; font-size: 13px; font-weight: 700; color: var(--red); margin-bottom: 14px; }
.tl-item ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.tl-item li { padding-left: 16px; position: relative; }
.tl-item li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
.roadmap-img { margin: 50px 0 0; }
.roadmap-img img { border-radius: 18px; margin: 0 auto; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }

/* ---------- Ecosystem ---------- */
.eco-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.eco-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 30px; }
.eco-list li { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; transition: .25s; background: #fff; }
.eco-list li:hover { border-color: var(--red); box-shadow: var(--shadow); }
.eco-list .num { width: 40px; height: 40px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 900; display: grid; place-items: center; flex-shrink: 0; }
.eco-list strong { display: block; color: var(--black); font-size: 15px; line-height: 1.3; }
.eco-list em { font-style: normal; font-size: 13px; color: var(--muted); }
.eco-img img { border-radius: 20px; box-shadow: var(--shadow-lg); max-height: 720px; margin: 0 auto; }

/* ---------- Areas ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area-card { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: .35s var(--ease); }
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.area-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.area-card:hover img { transform: scale(1.05); }
.area-info { padding: 20px 22px; }
.area-info h3 { font-size: 22px; margin-bottom: 4px; }
.area-info p { color: var(--muted); font-size: 14.5px; margin-bottom: 10px; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.values-grid.three { grid-template-columns: repeat(3, 1fr); }
.value-card { background: #fff; border-radius: var(--radius); padding: 32px 26px; border: 1px solid var(--line); transition: .35s var(--ease); position: relative; overflow: hidden; }
.value-card::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.value-card:hover::after { transform: scaleX(1); }
.value-card h3 { font-size: 19px; margin: 20px 0 6px; }
.value-card strong { display: block; color: var(--red); font-size: 15px; margin-bottom: 10px; line-height: 1.4; }
.value-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Philosophy ---------- */
.philo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: 18px; overflow: hidden; }
.philo-item { background: var(--black); padding: 34px 28px; transition: background .3s; }
.philo-item:hover { background: var(--red); }
.philo-item span { display: block; color: #9a9aa3; font-size: 15px; margin-bottom: 10px; text-decoration: line-through; text-decoration-color: rgba(215, 25, 32, .8); }
.philo-item:hover span { color: #fff; text-decoration-color: #fff; }
.philo-item strong { display: block; font-size: 20px; color: #fff; line-height: 1.35; }
.goal-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 50px; text-align: center; }
.goal-strip div { padding: 22px 10px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; }
.goal-strip strong { display: block; color: var(--red); font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; line-height: 1.1; }
.goal-strip span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #d0d0d6; }
.slogans { text-align: center; margin-top: 50px; }
.slogans p { font-size: clamp(18px, 2.2vw, 26px); font-weight: 800; color: #fff; margin: 0 0 4px; }
.slogans em { display: inline-block; margin-top: 16px; font-style: normal; color: var(--red); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }

/* ---------- CTA ---------- */
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cta-card { padding: 38px 32px; border-radius: 20px; background: var(--gray); display: flex; flex-direction: column; align-items: flex-start; transition: .35s var(--ease); }
.cta-card:nth-child(2) { background: var(--red); color: #fff; }
.cta-card:nth-child(2) h3 { color: #fff; }
.cta-card:nth-child(2) .icon-box { background: rgba(255, 255, 255, .18); color: #fff; }
.cta-card:nth-child(2) .btn-outline { border-color: #fff; color: #fff; }
.cta-card:nth-child(2) .btn-outline:hover { background: #fff; color: var(--red); }
.cta-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cta-card h3 { font-size: 22px; margin: 22px 0 10px; }
.cta-card p { flex: 1; opacity: .9; }

/* ---------- Posts ---------- */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.p-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: .35s var(--ease); }
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.p-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.p-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.p-card:hover .p-card-img img { transform: scale(1.06); }
.p-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.p-card-body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.p-card h3 { font-size: 18px; margin: 10px 0 8px; }
.p-card-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); }
.p-card-meta .cat { background: var(--red-soft); color: var(--red); padding: 3px 10px; border-radius: 6px; font-weight: 700; }

/* ---------- Contact / forms ---------- */
.contact-home-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.contact-list { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list i { width: 50px; height: 50px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.contact-list span { display: block; font-size: 13px; color: var(--muted); }
.contact-list a, .contact-list div { font-weight: 700; color: var(--black); }
.form-card { background: #fff; border-radius: 20px; padding: 34px; box-shadow: var(--shadow-lg); color: var(--text); }
.dark .form-card h2, .dark .form-card h3 { color: var(--black); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--black); }
.req-form input[type=text], .req-form input[type=tel], .req-form input[type=email], .req-form textarea, .req-form input[type=file] {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--gray); outline: none; transition: .2s; font-size: 15px;
}
.req-form input[type=file] { padding: 10px; }
.req-form input:focus, .req-form textarea:focus { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(215, 25, 32, .08); }
.req-form textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.need-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.need-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.need-tabs span { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 12px 6px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; font-weight: 600; cursor: pointer; transition: .2s; line-height: 1.3; }
.need-tabs i { font-size: 18px; color: var(--red); }
.need-tabs input:checked + span { background: var(--black); color: #fff; border-color: var(--black); }
.need-tabs input:focus-visible + span { outline: 2px solid var(--red); }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.alert-success { background: #e7f7ee; color: #127a3d; }
.alert-error { background: var(--red-soft); color: var(--red-dark); }
#form-msg { scroll-margin-top: 140px; }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.c-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 26px; border-radius: 16px; background: var(--gray); transition: .3s; }
.c-card i { font-size: 22px; width: 52px; height: 52px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.c-card span { font-size: 13px; color: var(--muted); }
.c-card strong { color: var(--black); font-size: 16px; line-height: 1.4; }
.c-card:hover { background: var(--black); }
.c-card:hover strong { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: stretch; }
.map-box { border-radius: 18px; overflow: hidden; background: var(--gray); aspect-ratio: 16 / 10; }
.map-box.tall { aspect-ratio: auto; min-height: 460px; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 100%; }

/* ---------- Page banner & breadcrumb ---------- */
.page-banner { position: relative; padding: 110px 0 90px; color: #fff; background: var(--black); overflow: hidden; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: var(--bg) center / cover no-repeat; opacity: .35; transform: scale(1.05); }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 15, 16, .95) 0%, rgba(15, 15, 16, .6) 55%, rgba(168, 16, 26, .55) 100%); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); margin: 10px 0 10px; }
.page-banner p { font-size: 18px; max-width: 680px; color: #d8d8de; margin: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.page-banner .breadcrumb { color: #bdbdc4; }
.page-banner .breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--red); font-weight: 600; }
.page-banner .breadcrumb [aria-current] { color: #fff; }

/* ---------- Detail pages ---------- */
.detail-head { padding: 34px 0 10px; background: linear-gradient(180deg, var(--gray), #fff); }
.detail-head .breadcrumb { color: var(--muted); margin-bottom: 18px; }
.detail-head h1 { font-size: clamp(28px, 3.6vw, 42px); margin: 12px 0 8px; }
.detail-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.addr { color: var(--muted); margin: 0; }
.addr i { color: var(--red); }
.detail-price { background: var(--red); color: #fff; padding: 18px 26px; border-radius: 16px; text-align: right; flex-shrink: 0; }
.detail-price span { display: block; font-size: 13px; opacity: .85; }
.detail-price strong { font-size: 22px; font-weight: 800; }

.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 12px; border-radius: 20px; overflow: hidden; }
.g-item { position: relative; overflow: hidden; background: var(--gray); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-0 { grid-row: 1 / 3; }
.gallery .g-item:only-child { grid-column: 1 / -1; }
.gallery:has(.g-1):not(:has(.g-2)) { grid-template-columns: 1fr 1fr; }
.gallery:has(.g-1):not(:has(.g-2)) .g-1 { grid-row: 1 / 3; }
.gallery:has(.g-2):not(:has(.g-3)) .g-1, .gallery:has(.g-2):not(:has(.g-3)) .g-2 { grid-column: 2 / 4; }
.gallery:has(.g-3):not(:has(.g-4)) .g-3 { grid-column: 2 / 4; }
.g-more { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); color: #fff; font-weight: 800; font-size: 22px; display: grid; place-items: center; }
.g-count { position: absolute; right: 16px; bottom: 16px; background: rgba(15, 15, 16, .8); color: #fff; font-size: 13px; padding: 6px 14px; border-radius: 999px; pointer-events: none; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
.detail-side { display: grid; gap: 24px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 19px; margin-bottom: 8px; }
.side-card h3 i { color: var(--red); }
.side-card > p { color: var(--muted); font-size: 14px; }
.side-card .form-grid { grid-template-columns: 1fr; }
.side-card .need-tabs { grid-template-columns: 1fr 1fr; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.side-hotline { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 14px 18px; background: var(--black); color: #fff; border-radius: 12px; }
.side-hotline:hover { background: var(--red); color: #fff; }
.side-hotline i { font-size: 24px; color: var(--red); }
.side-hotline:hover i { color: #fff; }
.side-hotline span { display: block; font-size: 12px; opacity: .8; }
.side-hotline strong { font-size: 19px; }
.side-menu { list-style: none; display: grid; gap: 6px; }
.side-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; background: var(--gray); font-weight: 600; font-size: 14.5px; }
.side-menu a span { color: var(--red); font-weight: 800; }
.side-menu a i { margin-left: auto; font-size: 11px; opacity: .5; }
.side-menu a:hover, .side-menu a.active { background: var(--black); color: #fff; }
.side-posts { list-style: none; display: grid; gap: 14px; }
.side-posts a { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 14px; line-height: 1.4; }
.side-posts img { width: 84px; height: 62px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.side-posts time { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 4px; }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 34px; }
.spec { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--gray); border-radius: 12px; }
.spec i { width: 42px; height: 42px; border-radius: 10px; background: #fff; color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.spec span { display: block; font-size: 12.5px; color: var(--muted); }
.spec strong { color: var(--black); font-size: 15px; }

.tabs { margin-bottom: 30px; }
.tab-nav { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 26px; overflow-x: auto; }
.tab-nav button { border: 0; background: none; padding: 12px 20px; font-weight: 700; color: var(--muted); position: relative; white-space: nowrap; }
.tab-nav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); transform: scaleX(0); transition: .3s; }
.tab-nav button.is-active { color: var(--black); }
.tab-nav button.is-active::after { transform: scaleX(1); }
.tab-pane { display: none; }
.tab-pane.is-active { display: block; animation: fadeUp .4s var(--ease); }

.share { display: flex; align-items: center; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); margin-top: 30px; font-weight: 600; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: .2s; }
.share a:hover, .share button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.summary { font-weight: 500; color: var(--black); border-left: 4px solid var(--red); padding-left: 18px; }

/* ---------- Filters ---------- */
.filter-bar { display: grid; grid-template-columns: 1.6fr 1fr 1fr auto auto; gap: 12px; padding: 16px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 20px; }
.filter-bar .field { position: relative; }
.filter-bar .field i { position: absolute; left: 16px; top: 17px; color: var(--muted); }
.filter-bar .field input { padding-left: 42px; }
.filter-bar .btn { height: 50px; border-radius: 10px; }
.district-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.district-chips a { padding: 8px 18px; border-radius: 999px; background: var(--gray); font-weight: 600; font-size: 14px; }
.district-chips a.active, .district-chips a:hover { background: var(--red); color: #fff; }
.result-count { color: var(--muted); margin-bottom: 24px; }
.empty { text-align: center; padding: 60px 20px; background: var(--gray); border-radius: 18px; color: var(--muted); }
.empty i { font-size: 48px; color: var(--red); margin-bottom: 14px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; background: var(--gray); }
.pagination .current, .pagination a:hover { background: var(--red); color: #fff; }
.pagination .dots { background: none; }

/* ---------- About / Partners / Careers ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about-media img { border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: -50px 20px 0; position: relative; }
.about-stats div { background: #fff; border-radius: 14px; padding: 18px; box-shadow: var(--shadow); border-bottom: 3px solid var(--red); }
.about-stats strong { display: block; font-size: 28px; font-weight: 900; color: var(--red); line-height: 1.1; }
.about-stats span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; }
.partner-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.partner-slogan { background: var(--black); border-radius: 20px; padding: 40px; color: #fff; position: relative; overflow: hidden; }
.partner-slogan::before { content: "\f2b5"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -10px; bottom: -30px; font-size: 150px; color: var(--red); opacity: .35; }
.partner-slogan strong { display: block; font-size: 34px; font-weight: 900; }
.partner-slogan span { font-size: 18px; color: #d0d0d6; position: relative; }
.logo-grid, .logos-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.logo-item, .logos-row a { display: grid; place-items: center; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; aspect-ratio: 16 / 9; transition: .3s; }
.logo-item img, .logos-row img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.logo-item:hover img, .logos-row a:hover img { filter: none; opacity: 1; }
.careers-img img { border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
.job-list { display: grid; gap: 14px; }
.job-item { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: .3s; }
.job-item:hover { border-color: var(--red); box-shadow: var(--shadow); color: inherit; }
.job-item h3 { font-size: 20px; margin: 4px 0 8px; }
.job-item:hover h3 { color: var(--red); }
.job-dep { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.job-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); }
.job-meta i { color: var(--red); margin-right: 4px; }

.notfound { padding: 140px 0; }
.nf-code { display: block; font-size: 140px; font-weight: 900; line-height: 1; color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #a9a9b1; font-size: 15px; }
.footer-cta { background: var(--red); color: #fff; }
.footer-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 40px; padding-bottom: 40px; }
.footer-cta h2 { color: #fff; font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 4px; }
.footer-cta p { margin: 0; opacity: .9; }
.footer-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.2fr; gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.footer-logo { height: 76px; width: auto; margin-bottom: 18px; }
.footer h3 { color: #fff; font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--red); }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--red); margin-top: 5px; width: 16px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--dark-2); display: grid; place-items: center; color: #fff; font-size: 14px; }
.socials a:hover { background: var(--red); }
.zalo-txt { font-size: 11px !important; font-weight: 800; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }

/* ---------- Floating ---------- */
.float-contact { position: fixed; right: 18px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-contact a, .float-contact button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); font-size: 20px; }
.fc-zalo { background: #0068ff; font-size: 12px !important; font-weight: 800; }
.fc-phone { background: var(--red); animation: pulse 2s infinite; }
.fc-top { background: var(--black); opacity: 0; visibility: hidden; transition: .3s; font-size: 16px !important; }
.fc-top.show { opacity: 1; visibility: visible; }
.float-contact a:hover { color: #fff; transform: scale(1.06); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(215, 25, 32, .55); } 70% { box-shadow: 0 0 0 16px rgba(215, 25, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(215, 25, 32, 0); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 8, 9, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #ddd; margin-top: 12px; font-size: 15px; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 20px; }
.lightbox button:hover { background: var(--red); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
  .nav a { padding: 10px 10px; font-size: 14.5px; }
  .nav a::after { left: 10px; right: 10px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .philo-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; }
  .hide-md { display: none; }
}

@media (max-width: 991px) {
  :root { --header-h: 72px; }
  .section { padding: 70px 0; }
  .logo img { height: 52px; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: #fff; z-index: 200;
    transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; overflow-y: auto;
  }
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-open .header { z-index: 210; }
  .nav-open .nav { transform: none; }
  .nav-open .nav-overlay { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .nav-head img { height: 46px; width: auto; }
  .nav-close { flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; border: 0; background: var(--gray); font-size: 18px; }
  .nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .nav a { padding: 15px 24px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav a::after { left: 0; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform: scaleY(0); }
  .nav a.active::after { transform: scaleY(1); }
  .nav-foot { display: block; padding: 20px 24px; margin-top: auto; }
  .qs-form { grid-template-columns: 1fr 1fr; padding: 18px; }
  .qs-title { grid-column: 1 / -1; border: 0; padding: 0; }
  .qs-form input { grid-column: 1 / -1; }
  .qs-form .btn { grid-column: 1 / -1; }
  .intro-grid, .vision-grid, .mission-grid, .eco-grid, .contact-home-grid, .about-grid, .partner-intro, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .intro-media { max-width: 620px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .b-grid, .p-grid, .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .cta-grid { grid-template-columns: 1fr; }
  .svc-row, .svc-row.rev { grid-template-columns: 1fr; gap: 28px; }
  .svc-row.rev .svc-row-img { order: 0; }
  .goal-strip { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar .field { grid-column: 1 / -1; }
  .gallery { grid-template-rows: 200px 200px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sec-head.center { align-items: center; }
  .slider { aspect-ratio: 2 / 1; max-height: none; }
  .quick-search { margin-top: -24px; }
}

@media (max-width: 767px) {
  .hide-sm { display: none !important; }
  .topbar-inner { justify-content: center; }
  .topbar-right { display: none; }
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .slider-btn { width: 38px; height: 38px; font-size: 13px; }
  .slider-btn.prev { left: 8px; }
  .slider-btn.next { right: 8px; }
  .slider-dots { bottom: 8px; }
  .slider-dots button { width: 8px; height: 8px; }
  .slider-dots button.is-active { width: 22px; }
  .quick-search { margin-top: 16px; }
  .qs-form { grid-template-columns: 1fr; }
  .intro-media { padding: 0 30px 40px 0; }
  .im-badge { padding: 12px 16px; bottom: 20px; }
  .im-badge strong { font-size: 26px; }
  .connect-chain { padding: 18px 12px; gap: 8px; margin-top: 44px; }
  .connect-chain span { padding: 7px 14px; font-size: 13.5px; }
  .connect-chain i { display: none; }
  .stat { padding: 0 14px; }
  .stat span { font-size: 13.5px; }
  .svc-grid, .b-grid, .p-grid, .areas-grid, .values-grid, .values-grid.three, .philo-grid { grid-template-columns: 1fr; }
  .eco-list, .check-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .goal-strip { grid-template-columns: repeat(2, 1fr); }
  .goal-strip div:last-child { grid-column: 1 / -1; }
  .vision-big { padding: 32px 26px; }
  .form-card, .side-card { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .need-tabs { grid-template-columns: 1fr 1fr; }
  .page-banner { padding: 60px 0 50px; }
  .page-banner p { font-size: 16px; }
  .detail-title { flex-direction: column; align-items: flex-start; gap: 16px; }
  .detail-price { text-align: left; width: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px; grid-auto-rows: 120px; border-radius: 14px; gap: 8px; }
  .g-0 { grid-column: 1 / -1; grid-row: auto; }
  .gallery .g-item { grid-column: auto !important; grid-row: auto !important; }
  .gallery .g-0 { grid-column: 1 / -1 !important; }
  .spec-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .map-box.tall { min-height: 320px; }
  .filter-bar { grid-template-columns: 1fr; }
  .filter-bar .field { grid-column: auto; }
  .job-item { flex-direction: column; align-items: flex-start; padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 50px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; align-items: center; }
  .svc-detail-head { flex-wrap: wrap; gap: 14px; }
  .about-stats { margin: -30px 10px 0; }
  .partner-slogan { padding: 30px; }
  .partner-slogan strong { font-size: 26px; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .float-contact { right: 12px; bottom: 14px; }
  .float-contact a, .float-contact button { width: 46px; height: 46px; font-size: 18px; }
  .nf-code { font-size: 96px; }
}
