/* =========================================================
   DEKA Furniture – Landing page
   Brand: red #C71D22 (from profile), dark #2B2B2B, light gray
   ========================================================= */
:root {
  --red: #c71d22;
  --red-dark: #a3151a;
  --ink: #222;
  --ink-2: #555;
  --muted: #8a8a8a;
  --line: #e6e6e6;
  --gray: #f4f4f4;
  --dark: #1c1c1e;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --head-h: 84px;
  --f-head: "Montserrat", system-ui, sans-serif;
  --f-body: "Be Vietnam Pro", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); }
body { margin: 0; font: 400 16px/1.7 var(--f-body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); font-size: .92rem; }
.ic { width: 15px; height: 15px; fill: currentColor; flex: none; }

/* CJK: Montserrat/Be Vietnam Pro have no Chinese/Japanese glyphs */
html:lang(zh-CN) { --f-head: "Montserrat", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; --f-body: "Be Vietnam Pro", "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; }
html:lang(ja) { --f-head: "Montserrat", "Hiragino Sans", "Noto Sans CJK JP", "Yu Gothic", "Meiryo", sans-serif; --f-body: "Be Vietnam Pro", "Hiragino Sans", "Noto Sans CJK JP", "Yu Gothic", "Meiryo", sans-serif; }
html:lang(zh-CN) body, html:lang(ja) body { line-height: 1.85; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 3px; border: 2px solid transparent; font: 600 .88rem/1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; transition: .25s; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(199, 29, 34, .35); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--red); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--lg { padding: 17px 36px; font-size: .95rem; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: #cfcfcf; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar__info { display: flex; gap: 22px; }
.topbar__info a { display: inline-flex; align-items: center; gap: 7px; }
.topbar__info a:hover, .topbar__dl:hover { color: #fff; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__slogan { font-style: italic; color: #999; }
.topbar__dl { background: var(--red); color: #fff; padding: 9px 14px; font-weight: 600; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); transition: height .3s; }
.header.is-scrolled .header__inner { height: 68px; }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; gap: 4px; }
.nav__list > li { position: relative; }
.nav__link { display: flex; align-items: center; gap: 6px; padding: 10px 12px; font: 600 .82rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .03em; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s; }
.nav__link:hover, .nav__link.is-active { color: var(--red); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.caret { width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; margin-top: 4px; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--red); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { display: block; padding: 10px 20px; font-size: .9rem; }
.nav__sub a:hover { background: var(--gray); color: var(--red); padding-left: 26px; }
.nav__cta { padding: 12px 18px; }
.header__tools { display: flex; align-items: center; gap: 10px; margin-left: 18px; }

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; background: #fff; border: 1px solid #d9dbe3; border-radius: 12px; color: var(--ink-2); transition: .2s; }
.lang__btn:hover, .lang.is-open .lang__btn { border-color: #b9bcc8; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.lang__chev { width: 12px; height: 8px; transition: transform .25s; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.flag { display: inline-block; width: 26px; height: 18px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.flag svg { width: 100%; height: 100%; display: block; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 70; min-width: 210px; padding: 8px; background: #fff; border: 1px solid #e3e5ec; border-radius: 18px; box-shadow: 0 18px 40px rgba(0,0,0,.14); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px; background: none; border: 0; border-radius: 12px; font: 700 1rem/1.2 var(--f-head); color: var(--ink); text-align: left; transition: background .15s; }
.lang__menu button:hover { background: var(--gray); }
.lang__menu button.is-active { background: #fbf3ea; }
.lang__menu button[lang="zh-CN"], .lang__menu button[lang="ja"] { font-family: "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", "Yu Gothic", sans-serif; }

.burger { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: min(calc(100vh - 122px), 760px); min-height: 520px; overflow: hidden; background: #000; }
.hero__slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 1s; display: flex; align-items: center; }
.hero__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.15) 100%); }
.hero__slide::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 8px; background: var(--red); }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__content { position: relative; z-index: 2; color: #fff; }
.hero__kicker { font: 600 .85rem/1 var(--f-head); letter-spacing: .3em; color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.hero__kicker::before { content: ""; width: 40px; height: 3px; background: var(--red); }
.hero__title { font-size: clamp(2.1rem, 5.2vw, 4.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; max-width: 900px; }
.hero__title em { font-style: normal; color: #ff4b50; }
.hero__desc { font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 620px; color: #e6e6e6; font-weight: 300; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__slide.is-active .hero__content > * { animation: up .9s both; }
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: .15s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: .3s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { animation-delay: .45s; }
@keyframes up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero__arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.2); color: #fff; font-size: 1.1rem; transition: .25s; }
.hero__arrow:hover { background: var(--red); border-color: var(--red); }
.hero__arrow--prev { left: 20px; } .hero__arrow--next { right: 20px; }
.hero__dots { position: absolute; z-index: 3; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { width: 34px; height: 4px; border: 0; background: rgba(255,255,255,.45); padding: 0; transition: .3s; }
.hero__dots button.is-active { background: var(--red); width: 54px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--gray { background: var(--gray); }
.section--dark { background: var(--dark); color: #d6d6d6; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.sec-head__kicker { font: 700 .8rem/1 var(--f-head); letter-spacing: .25em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.sec-head__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; text-transform: uppercase; position: relative; padding-bottom: 20px; }
.sec-head__title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 60px; height: 3px; background: var(--red); transform: translateX(-50%); }
.sec-head__desc { color: var(--ink-2); }
.sec-head--light .sec-head__title { color: #fff; }
.sec-head--light .sec-head__desc { color: #aaa; }
.sec-title-left { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; text-transform: uppercase; border-left: 5px solid var(--red); padding-left: 16px; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); cursor: pointer; background: #111; color: #fff; border: 0; padding: 0; text-align: left; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s, opacity .4s; opacity: .88; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.1) 60%); transition: .4s; }
.cat__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px; }
.cat__en { display: inline-block; font: 700 .68rem/1 var(--f-head); letter-spacing: .18em; color: #fff; background: var(--red); padding: 6px 9px; border-radius: 2px; text-transform: uppercase; }
.cat__title { font-size: 1.35rem; font-weight: 800; text-transform: uppercase; margin: 8px 0 0; }
.cat__desc { font-size: .9rem; color: #ddd; max-height: 0; opacity: 0; overflow: hidden; transition: .45s; margin: 0; }
.cat__more { display: inline-block; margin-top: 12px; font: 700 .75rem/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid var(--red); padding-bottom: 4px; }
.cat:hover img, .cat:focus-visible img { transform: scale(1.08); }
.cat:hover::after, .cat:focus-visible::after { background: linear-gradient(0deg, rgba(199,29,34,.92) 0%, rgba(0,0,0,.35) 75%); }
.cat:hover .cat__desc, .cat:focus-visible .cat__desc { max-height: 120px; opacity: 1; margin-top: 8px; }
.cat:hover .cat__en { background: #fff; color: var(--red); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.about__media::before { content: ""; position: absolute; left: -18px; top: -18px; width: 45%; height: 55%; border: 6px solid var(--red); z-index: -1; border-radius: var(--radius); }
.about { position: relative; z-index: 0; }
.about__badge { position: absolute; right: -20px; bottom: 30px; background: var(--red); color: #fff; padding: 22px 28px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.about__badge strong { display: block; font: 800 2.2rem/1 var(--f-head); }
.about__badge span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.about__text p { color: var(--ink-2); }
.about__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.tabs { margin-top: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.tabs__nav { display: flex; border-bottom: 1px solid var(--line); }
.tabs__nav button { flex: 1; background: none; border: 0; padding: 16px 10px; font: 700 .8rem/1 var(--f-head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs__nav button.is-active { color: var(--red); border-bottom-color: var(--red); }
.tabs__panel { display: none; padding: 22px 24px 8px; }
.tabs__panel.is-active { display: block; animation: fade .4s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.values li { margin-bottom: 14px; padding-left: 18px; position: relative; font-size: .94rem; color: var(--ink-2); }
.values li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.values strong { display: block; color: var(--ink); font-family: var(--f-head); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { display: block; font: 800 2.6rem/1 var(--f-head); color: var(--red); margin-bottom: 10px; }
.stat__label { font-size: .9rem; color: var(--ink-2); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why { padding: 36px 30px; border: 1px solid var(--line); border-radius: var(--radius); transition: .35s; position: relative; overflow: hidden; background: #fff; }
.why::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--red); transition: width .4s; }
.why:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.why:hover::before { width: 100%; }
.why__ic { width: 62px; height: 62px; border-radius: 50%; background: rgba(199,29,34,.08); display: grid; place-items: center; margin-bottom: 20px; transition: .35s; }
.why__ic svg { width: 30px; height: 30px; fill: var(--red); transition: .35s; }
.why:hover .why__ic { background: var(--red); }
.why:hover .why__ic svg { fill: #fff; }
.why h3 { font-size: 1.1rem; text-transform: uppercase; }
.why p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* ---------- Solutions ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sol { background: #262628; border-radius: var(--radius); overflow: hidden; transition: .35s; }
.sol:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.sol__img { aspect-ratio: 16/9; background: center/cover; position: relative; }
.sol__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #262628, transparent 60%); }
.sol__body { padding: 8px 28px 30px; position: relative; }
.sol__no { position: absolute; right: 24px; top: -38px; font: 800 3.4rem/1 var(--f-head); color: var(--red); opacity: .9; }
.sol h3 { padding-right: 70px; color: #fff; font-size: 1.12rem; text-transform: uppercase; }
.sol p { font-size: .94rem; }
.checks li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: .93rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.checks b { color: inherit; font-weight: 600; }
.section--dark .checks b { color: #fff; }
.sub-title { color: #fff; text-align: center; text-transform: uppercase; font-size: 1.4rem; margin: 80px 0 40px; }
.process { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; counter-reset: p; position: relative; }
.process::before { content: ""; position: absolute; top: 32px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 14px); }
.process li { text-align: center; font: 600 .83rem/1.4 var(--f-head); text-transform: uppercase; color: #ddd; padding: 0 6px; position: relative; }
.process i { font-style: normal; display: block; }
.process span { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--dark); border: 2px solid var(--red); color: #fff; font-size: 1.25rem; font-weight: 800; transition: .3s; }
.process li:hover span { background: var(--red); transform: scale(1.1); }

/* ---------- Network ---------- */
.network { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.network__text > p { color: var(--ink-2); }
.wh { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.wh__col { background: var(--gray); border-radius: var(--radius); padding: 22px; border-top: 3px solid var(--red); }
.wh__col h4 { font-size: 1rem; text-transform: uppercase; }
.wh__col li { padding: 4px 0; color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { background: rgba(199,29,34,.08); color: var(--red); font-weight: 600; font-size: .85rem; padding: 8px 14px; border-radius: 99px; }
.network__map { background: var(--gray); border-radius: var(--radius); padding: 20px; color: var(--ink); }
.route { width: 100%; height: auto; }
.route__line { fill: none; stroke: var(--red); stroke-width: 3; stroke-dasharray: 8 6; animation: dash 20s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.route__pt circle { fill: var(--dark); stroke: #fff; stroke-width: 3; }
.route__pt--vn circle { fill: var(--red); }
.route__pt text { font: 700 13px var(--f-head); fill: var(--ink); }
.route__lbl { font: 600 12px var(--f-body); fill: var(--muted); font-style: italic; }

/* ---------- Projects ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { background: #fff; border: 1px solid var(--line); padding: 10px 22px; font: 600 .82rem/1 var(--f-head); text-transform: uppercase; border-radius: 99px; transition: .25s; }
.filters button:hover { border-color: var(--red); color: var(--red); }
.filters button.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.prj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prj { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.05); transition: .35s; }
.prj.is-hidden { display: none; }
.prj:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prj__media { position: relative; aspect-ratio: 4/3; overflow: hidden; cursor: zoom-in; }
.prj__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.prj:hover .prj__media img { transform: scale(1.07); }
.prj__tag { position: absolute; left: 16px; top: 16px; background: var(--red); color: #fff; font: 700 .7rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 3px; }
.prj__count { position: absolute; right: 14px; bottom: 14px; background: rgba(0,0,0,.65); color: #fff; font-size: .78rem; padding: 5px 10px; border-radius: 3px; }
.prj__body { padding: 22px 24px 26px; }
.prj__body h3 { font-size: 1.12rem; text-transform: uppercase; margin-bottom: 4px; }
.prj__loc { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.prj__svc { display: flex; flex-wrap: wrap; gap: 6px; }
.prj__svc li { font-size: .76rem; background: var(--gray); padding: 5px 9px; border-radius: 3px; color: var(--ink-2); }

/* ---------- Partner ---------- */
.partner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.partner__gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 480px; }
.partner__gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.partner__gallery img:first-child { grid-row: span 2; }
.partner__text > p { color: var(--ink-2); }
.partner__text .muted { color: var(--muted); }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 22px 0 24px; }
.mini-stats div { text-align: center; background: var(--gray); padding: 16px 6px; border-radius: var(--radius); }
.mini-stats strong { display: block; font: 800 1.2rem/1.1 var(--f-head); color: var(--red); }
.mini-stats span { font-size: .74rem; color: var(--ink-2); line-height: 1.3; display: block; margin-top: 6px; }
.logos__title { text-align: center; font: 700 .8rem/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 80px 0 24px; }
.logos { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; width: max-content; animation: marquee 35s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__track span { padding: 26px 40px; font: 800 1.15rem/1 var(--f-head); text-transform: uppercase; color: #b5b5b5; white-space: nowrap; transition: color .25s; }
.logos__track span:hover { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Bands ---------- */
.band, .cta { position: relative; background: center/cover fixed; color: #fff; text-align: center; }
.band { padding: 110px 0; }
.band__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(163,21,26,.93), rgba(28,28,30,.85)); }
.band__inner { position: relative; }
.band h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); text-transform: uppercase; font-weight: 800; }
.band p { font-size: 1.15rem; letter-spacing: .04em; }
.band__sub { font-style: italic; opacity: .8; }
.cta { padding: 120px 0; }
.cta__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.cta__inner { position: relative; }
.cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); text-transform: uppercase; font-weight: 800; }
.cta p { color: #ddd; margin-bottom: 30px; font-size: 1.1rem; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.06); transition: .35s; display: flex; flex-direction: column; }
.news:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news__img { aspect-ratio: 16/10; overflow: hidden; }
.news__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.news:hover .news__img img { transform: scale(1.07); }
.news__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news__meta { font-size: .78rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.news h3 { font-size: 1.06rem; }
.news p { color: var(--ink-2); font-size: .92rem; flex: 1; }
.news__more { font: 700 .78rem/1 var(--f-head); text-transform: uppercase; color: var(--red); letter-spacing: .06em; }
.news__more:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__info > p { color: var(--ink-2); }
.contact__list li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.contact__list b { font-family: var(--f-head); font-size: .8rem; text-transform: uppercase; color: var(--red); padding-top: 2px; }
.contact__list a:hover { color: var(--red); }
.contact__map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; height: 240px; background: #ddd; }
.contact__map iframe { width: 100%; height: 100%; border: 0; }
.form { background: #fff; padding: 38px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.form h3 { text-transform: uppercase; font-size: 1.2rem; margin-bottom: 22px; }
.form label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.form input:not([type="checkbox"]), .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #d9d9d9; border-radius: 3px; font: 400 .95rem var(--f-body); background: #fafafa; transition: .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(199,29,34,.12); }
.form .is-invalid { border-color: var(--red) !important; background: #fff5f5 !important; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: -6px 0 14px; }
.form__checks label { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; }
.form__checks input { accent-color: var(--red); width: 16px; height: 16px; }
.form__note { margin: 14px 0 0; font-size: .9rem; min-height: 1.4em; }
.form__note.ok { color: #1a8a3a; }
.form__note.err { color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: #141416; color: #a8a8a8; padding-top: 70px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { height: 48px; width: auto; margin-bottom: 20px; }
.footer h4 { color: #fff; text-transform: uppercase; font-size: .95rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--red); }
.footer li { padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer b { color: #ddd; font-weight: 600; }
.footer__bottom { border-top: 1px solid #2a2a2c; padding: 20px 0; font-size: .84rem; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.contact__list li { align-items: baseline; }

/* ---------- Floating ---------- */
.float { position: fixed; right: 18px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.float__btn { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; border: 0; box-shadow: 0 6px 16px rgba(0,0,0,.2); transition: .25s; font: 700 .7rem var(--f-head); }
.float__btn svg { width: 22px; height: 22px; fill: #fff; }
.float__btn:hover { transform: scale(1.1); background: var(--red-dark); }
.float__btn--zalo { background: #0068ff; }
.float__btn--zalo:hover { background: #0052cc; }
.float__btn--top { background: var(--dark); opacity: 0; pointer-events: none; }
.float__btn--top.is-visible { opacity: 1; pointer-events: auto; }
.float a:first-child { animation: ring 2.4s infinite; }
@keyframes ring { 0%,100% { box-shadow: 0 0 0 0 rgba(199,29,34,.5); } 70% { box-shadow: 0 0 0 14px rgba(199,29,34,0); } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); animation: fade .3s; }
.modal__box { position: relative; background: #fff; border-radius: var(--radius); max-width: 1040px; width: 100%; max-height: 92vh; overflow: auto; animation: up .4s; }
.modal__close { position: absolute; right: 12px; top: 8px; z-index: 2; background: none; border: 0; font-size: 2.2rem; line-height: 1; color: var(--ink); }
.modal__close:hover { color: var(--red); }
.pm { display: grid; grid-template-columns: 1fr 1.1fr; }
.pm__media { background: #111; }
.pm__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.pm__body { padding: 36px; }
.pm__body h3 { font-size: 1.5rem; text-transform: uppercase; }
.pm__body p { color: var(--ink-2); }
.pm__body h4 { font-size: .9rem; text-transform: uppercase; margin: 22px 0 10px; }
.pm__body h4 small { font-weight: 400; text-transform: none; color: var(--muted); font-family: var(--f-body); }
.spec { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec th, .spec td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.spec th { width: 48%; background: var(--gray); font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 58px; text-align: center; line-height: 1.3; font-size: .7rem; color: var(--ink-2); }
.swatch i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.pm__opts { margin: 14px 0 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.pm__opts li { font-size: .8rem; border: 1px solid var(--line); padding: 5px 10px; border-radius: 99px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,.93); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 90vw; text-align: center; }
.lightbox img { max-width: 90vw; max-height: 80vh; margin: 0 auto; animation: fade .35s; }
.lightbox figcaption { color: #ddd; margin-top: 12px; font-size: .92rem; }
.lightbox__close { position: absolute; right: 20px; top: 12px; background: none; border: 0; color: #fff; font-size: 2.6rem; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; font-size: 1.2rem; }
.lightbox__nav:hover { background: var(--red); }
.lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .8s; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header__tools { margin-left: 8px; }
  .nav__link { padding: 10px 8px; font-size: .76rem; }
  .nav__cta { display: none; }
  .process { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .process::before { display: none; }
}
@media (max-width: 991px) {
  :root { --head-h: 70px; }
  .topbar__slogan { display: none; }
  .burger { display: block; }
  .nav { position: fixed; top: var(--head-h); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 20px 30px; overflow: auto; transform: translateX(100%); transition: transform .35s; }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: 16px 4px; font-size: .9rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .nav__cta { display: flex; margin-top: 20px; }
  .header__logo img { height: 38px; }
  .header__tools { margin-left: auto; }
  .lang__btn { height: 40px; padding: 0 10px; }
  .cat-grid, .why-grid, .prj-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid { grid-template-columns: 1fr; }
  .sol { display: grid; grid-template-columns: 1fr 1.3fr; }
  .sol__img { aspect-ratio: auto; min-height: 220px; }
  .sol__img::after { display: none; }
  .sol h3 { padding-right: 0; }
  .sol__no { position: static; font-size: 2.2rem; display: block; margin: 14px 0 6px; }
  .sol__body { padding: 10px 26px 26px; }
  .about, .network, .partner, .contact { grid-template-columns: 1fr; gap: 50px; }
  .about__badge { right: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pm { grid-template-columns: 1fr; }
  .pm__media img { max-height: 320px; }
  .band, .cta { background-attachment: scroll; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .container { padding: 0 16px; }
  .topbar__info a:last-child { display: none; }
  .topbar__dl { padding: 9px 10px; font-size: .75rem; }
  .hero { min-height: 560px; }
  .hero__arrow { display: none; }
  .cat-grid, .why-grid, .prj-grid, .news-grid { grid-template-columns: 1fr; }
  .cat__desc { max-height: 120px; opacity: 1; margin-top: 8px; }
  .sol { grid-template-columns: 1fr; }
  .sol__img { min-height: 180px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .wh, .form__row, .form__checks { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .form { padding: 26px 20px; }
  .mini-stats { grid-template-columns: repeat(2, 1fr); }
  .partner__gallery { height: 340px; }
  .stat__num { font-size: 2rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .about__media::before { display: none; }
  .pm__body { padding: 24px 20px; }
}
