/* =========================================================
   VAITECH — Automation & Precision Machining
   Light, brand-blue theme
   ========================================================= */
:root {
  --navy: #0a3d7a;          /* logo dark blue */
  --navy-2: #0c2f5c;
  --navy-3: #072345;
  --sky: #12a3f0;           /* logo light blue */
  --sky-2: #0b8fd8;
  --sky-50: #eaf6fe;
  --sky-100: #d4edfc;
  --steel: #5b6b82;
  --ink: #0f1d33;
  --ink-2: #47566e;
  --ink-3: #75839a;
  --line: #e3eaf3;
  --bg: #ffffff;
  --bg-2: #f5f9fd;
  --bg-3: #eef4fb;
  --ok: #16a34a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px -4px rgba(10, 61, 122, .12);
  --shadow: 0 14px 34px -16px rgba(10, 61, 122, .22);
  --shadow-lg: 0 28px 60px -24px rgba(10, 61, 122, .30);
  --container: 1240px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--alt { background: var(--bg-2); }
.section--tint { background: linear-gradient(180deg, var(--bg-2), #fff); }
.section--navy { background: var(--navy); color: #d6e4f5; position: relative; overflow: hidden; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-2); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--sky); }
.section--navy .eyebrow { color: #7fd0ff; }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head--row > div { max-width: 680px; }
.section-head h2, .h2 { font-size: clamp(28px, 3.3vw, 42px); }
.section-head p { color: var(--ink-2); font-size: 17px; margin: 0; }
.section--navy .section-head p { color: #b4c8e2; }
.lead { font-size: 17.5px; color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: .2s ease; white-space: nowrap; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--sky); color: #fff; box-shadow: 0 10px 24px -10px rgba(18, 163, 240, .7); }
.btn--primary:hover { background: var(--sky-2); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--sky-50); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--sky-2); }
.link svg { width: 18px; height: 18px; transition: transform .2s; }
.link:hover svg { transform: translateX(4px); }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--navy); color: #c4d6ee; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; gap: 22px; }
.topbar__list li { display: flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; color: var(--sky); }
.topbar__slogan { letter-spacing: .14em; font-weight: 600; font-size: 12px; color: #fff; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 8px 26px -18px rgba(10,61,122,.45); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; }
.nav > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; font-weight: 600; font-size: 15px; color: var(--ink-2); border-radius: 8px; white-space: nowrap; transition: color .15s; }
.nav > li > a:hover, .nav > li > a.is-active { color: var(--navy); }
.nav > li > a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 2px; background: var(--sky); }
.nav .caret { width: 14px; height: 14px; }
.dropdown { position: absolute; top: calc(100% + 8px); left: -10px; width: 360px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.dropdown::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav > li:hover .dropdown, .nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; gap: 14px; padding: 12px; border-radius: 12px; }
.dropdown a:hover { background: var(--bg-2); }
.dropdown img { flex: none; width: 64px; height: 52px; border-radius: 8px; object-fit: cover; }
.dropdown strong { display: block; font-size: 15px; color: var(--ink); }
.dropdown small { color: var(--ink-3); font-size: 13px; line-height: 1.45; display: block; }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); line-height: 1.3; }
.header__phone strong { display: block; color: var(--navy); font-size: 16px; }
.header__phone .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--sky-50); color: var(--sky-2); display: grid; place-items: center; }
.header__phone svg { width: 18px; height: 18px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px auto; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 100% 0%, var(--sky-100), transparent 60%), linear-gradient(180deg, #f7fbff, #fff); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(10,61,122,.09) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000 0, transparent 55%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero__slogan { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: .06em; margin-bottom: 24px; }
.hero__slogan b { background: var(--sky); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; letter-spacing: 0; }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 22px; color: var(--navy-3); }
.hero h1 span { color: var(--sky); }
.hero__lead { font-size: 18px; color: var(--ink-2); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 32px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero__trust div strong { display: block; font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.hero__trust div span { font-size: 13.5px; color: var(--ink-3); }
.hero__media { position: relative; }
.hero__main { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; }
.hero__main img { width: 100%; height: 100%; object-fit: cover; }
.hero__sub { position: absolute; left: -40px; bottom: -36px; width: 46%; border-radius: 18px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.hero__sub img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge { position: absolute; right: -16px; top: 28px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; }
.hero__badge .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--sky-50); color: var(--sky-2); display: grid; place-items: center; }
.hero__badge svg { width: 22px; height: 22px; }
.hero__badge strong { display: block; font-size: 15px; color: var(--navy); line-height: 1.2; }
.hero__badge small { color: var(--ink-3); font-size: 12.5px; }

/* ---------- Hero slider ---------- */
.slider { position: relative; height: clamp(520px, 78vh, 760px); overflow: hidden; background: var(--navy-3); color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 7s ease-out; }
.slide.is-active .slide__bg { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(7,35,69,.92) 0%, rgba(10,61,122,.72) 42%, rgba(10,61,122,.12) 75%); }
.slide .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 150px; padding-top: 30px; }
.slide__content { max-width: 640px; }
.slide__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7fd0ff; margin-bottom: 18px; }
.slide__kicker::before { content: ""; width: 30px; height: 3px; border-radius: 2px; background: var(--sky); }
.slide h1, .slide h2 { color: #fff; font-size: clamp(32px, 4.6vw, 58px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin-bottom: 20px; }
.slide h1 span, .slide h2 span { color: #6cc8ff; }
.slide p { font-size: clamp(16px, 1.4vw, 19px); color: #d3e2f4; margin-bottom: 32px; max-width: 560px; }
.slide__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.slide .slide__content > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > *:nth-child(2) { transition-delay: .15s; }
.slide.is-active .slide__content > *:nth-child(3) { transition-delay: .3s; }
.slide.is-active .slide__content > *:nth-child(4) { transition-delay: .45s; }
.slider__nav { position: absolute; z-index: 5; left: 0; right: 0; bottom: 92px; }
.slider__nav .container { display: flex; align-items: center; gap: 22px; }
.slider__dots { display: flex; gap: 10px; }
.slider__dots button { width: 44px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; position: relative; overflow: hidden; }
.slider__dots button::after { content: ""; position: absolute; inset: 0; background: var(--sky); transform: scaleX(0); transform-origin: left; }
.slider__dots button.is-active::after { animation: dotfill var(--slide-ms, 6000ms) linear forwards; }
.slider.is-paused .slider__dots button.is-active::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.slider__count { font-weight: 700; font-size: 14px; color: #b4c8e2; letter-spacing: .1em; }
.slider__count b { color: #fff; font-size: 18px; }
.slider__arrows { margin-left: auto; display: flex; gap: 10px; }
.slider__arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.slider__arrows button:hover { background: #fff; color: var(--navy); }
.slider__arrows svg { width: 20px; height: 20px; }

/* ---------- Divisions (2 pillars) ---------- */
.divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.division { position: relative; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.division:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.division__img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.division__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.division:hover .division__img img { transform: scale(1.04); }
.division__num { position: absolute; left: 24px; top: 20px; background: rgba(255,255,255,.92); color: var(--navy); font-weight: 800; font-size: 13px; letter-spacing: .1em; padding: 6px 12px; border-radius: 8px; }
.division__body { padding: 32px 34px 34px; display: flex; flex-direction: column; flex: 1; }
.division h3 { font-size: 26px; color: var(--navy); }
.division p { color: var(--ink-2); }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 6px 0 28px; }
.ticks li { display: flex; gap: 9px; font-size: 15px; color: var(--ink); line-height: 1.45; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8fd8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.division .link { margin-top: auto; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stat { padding: 30px 28px; border-right: 1px solid var(--line); display: flex; gap: 16px; align-items: center; }
.stat:last-child { border-right: 0; }
.stat .ico { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--sky-50); color: var(--sky-2); display: grid; place-items: center; }
.stat .ico svg { width: 26px; height: 26px; }
.stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--ink-3); font-size: 14px; }
.stats-wrap { margin-top: -54px; position: relative; z-index: 3; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split > * { min-width: 0; }
.split .btn { white-space: normal; text-align: center; }
.split--wide { grid-template-columns: 1.1fr .9fr; }
.collage { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 6/5; }
.collage img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; border-radius: 16px; }
.collage img:first-child { grid-row: span 2; }
.collage__tag { position: absolute; left: -22px; bottom: 26px; background: var(--navy); color: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow-lg); }
.collage__tag strong { display: block; font-size: 34px; line-height: 1; }
.collage__tag span { font-size: 13px; color: #b4c8e2; }
.media { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.checks { display: grid; gap: 16px; margin: 26px 0 32px; }
.checks li { display: flex; gap: 14px; }
.checks .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sky-50); color: var(--sky-2); display: grid; place-items: center; }
.checks svg { width: 22px; height: 22px; }
.checks b { display: block; color: var(--ink); }
.checks span { color: var(--ink-2); font-size: 15px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__img { aspect-ratio: 4/3; background: var(--bg-3); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sky-2); background: var(--sky-50); padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; }
.tag--navy { color: var(--navy); background: var(--bg-3); }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--ink-2); font-size: 14.5px; margin: 0; }

.feature { padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .25s; }
.feature:hover { box-shadow: var(--shadow); border-color: transparent; }
.feature .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--sky-50); color: var(--sky-2); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--ink-2); font-size: 15px; margin: 0; }
.section--navy .feature { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--navy .feature p { color: #b4c8e2; }
.section--navy .feature .ico { background: rgba(18,163,240,.15); color: #7fd0ff; }

/* Values */
.value { padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.value__num { position: absolute; right: 22px; top: 12px; font-size: 64px; font-weight: 800; color: var(--bg-3); line-height: 1; }
.value h3 { font-size: 22px; color: var(--navy); position: relative; }
.value p { color: var(--ink-2); margin: 0; position: relative; }
.value--sky { border-top: 4px solid var(--sky); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.process::before { content: ""; position: absolute; top: 30px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--sky-100) 0 8px, transparent 8px 16px); }
.section--navy .process::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 8px, transparent 8px 16px); }
.step { text-align: center; padding: 0 14px; position: relative; }
.step__num { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-weight: 800; font-size: 19px; background: #fff; color: var(--sky-2); border: 2px solid var(--sky); position: relative; }
.section--navy .step__num { background: var(--sky); color: #fff; border-color: var(--sky); box-shadow: 0 0 0 8px var(--navy); }
.step h4 { font-size: 16.5px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-2); margin: 0; }
.section--navy .step p { color: #b4c8e2; }

/* ---------- Logos ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logos li { background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 92px; display: grid; place-items: center; padding: 14px 18px; transition: .2s; }
.logos li:hover { box-shadow: var(--shadow-sm); border-color: var(--sky-100); }
.logos img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; transition: transform .25s; }
.logos li:hover img { transform: scale(1.05); }
.logos--sm li { height: 76px; }
.logos--sm img { max-height: 44px; }

/* Industries */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; font-size: 15px; }
.chip svg { width: 18px; height: 18px; color: var(--sky-2); }

/* Supply list (industrial equipment) */
.supply { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.supply li { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.supply b { display: block; color: var(--navy); margin-bottom: 4px; }
.supply span { font-size: 14px; color: var(--ink-2); line-height: 1.55; display: block; }

/* Quote */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; margin: 0; }
.quote__stars { color: #f5a524; letter-spacing: 2px; font-size: 18px; }
.quote p { font-size: 17px; color: var(--ink); margin: 12px 0 22px; }
.quote__who { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--sky-50); color: var(--navy); display: grid; place-items: center; font-weight: 800; }
.quote__who small { display: block; color: var(--ink-3); }

/* CTA */
.cta { position: relative; border-radius: 26px; overflow: hidden; padding: 60px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; color: #fff; background: linear-gradient(110deg, rgba(10,61,122,.96) 30%, rgba(18,163,240,.82)), var(--cta-img, none) center/cover; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); }
.cta p { color: #d6e4f5; margin: 0; font-size: 17px; }
.cta__actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f7fbff, var(--bg-2)); border-bottom: 1px solid var(--line); }
.page-hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.page-hero--simple .container { grid-template-columns: 1fr; padding-bottom: 56px; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a:hover { color: var(--sky-2); }
.page-hero h1 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; color: var(--navy-3); letter-spacing: -.02em; }
.page-hero p { font-size: 18px; color: var(--ink-2); max-width: 620px; margin-bottom: 28px; }
.page-hero__img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/11; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* Subnav (anchor tabs) */
.subnav { position: sticky; top: 80px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 16px 16px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--navy); border-bottom-color: var(--sky); }

/* Spec table */
.spec { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.spec th, .spec td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.spec th { width: 34%; background: var(--bg-2); font-weight: 600; color: var(--navy); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills span { padding: 8px 14px; background: var(--sky-50); color: var(--navy); border-radius: 8px; font-size: 14.5px; font-weight: 500; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; position: relative; }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; color: #fff; font-weight: 600; font-size: 14px; background: linear-gradient(transparent, rgba(7,35,69,.8)); }

/* Filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filters button { font-size: 15px; font-weight: 600; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink-2); }
.filters button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.card[hidden] { display: none; }

/* Company facts */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.facts div { padding: 22px 24px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.facts div:nth-child(2n) { border-right: 0; }
.facts div:nth-last-child(-n+2) { border-bottom: 0; }
.facts small { display: block; color: var(--ink-3); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.facts strong { font-size: 18px; color: var(--navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.info-list { display: grid; gap: 14px; }
.contact-grid > *, .info-item > div { min-width: 0; }
.info-item strong { overflow-wrap: anywhere; }
.info-item { display: flex; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-item .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--sky-50); color: var(--sky-2); display: grid; place-items: center; }
.info-item .ico svg { width: 22px; height: 22px; }
.info-item small { display: block; color: var(--ink-3); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; }
.info-item strong { font-size: 16px; color: var(--ink); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 38px; box-shadow: var(--shadow); }
.form h3 { font-size: 24px; color: var(--navy); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); color: var(--ink); transition: .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(18,163,240,.15); }
.field textarea { min-height: 120px; resize: vertical; }
.form__note { font-size: 13px; color: var(--ink-3); margin: 12px 0 0; }
.form__ok { display: none; padding: 14px 16px; border-radius: 10px; background: #e8f7ee; color: #146c3a; margin-top: 14px; font-size: 15px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 14px; }
.map iframe { width: 100%; height: 260px; border: 0; display: block; }

/* Product detail: numbered steps */
.steps-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
.steps-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.steps-list b { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 14px; }
.steps-list span { padding-top: 8px; color: var(--ink); }
a.card { color: inherit; }
a.card h3 { transition: color .2s; }
a.card:hover h3 { color: var(--sky-2); }

/* Timeline */
.timeline { border-left: 2px solid var(--sky-100); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 28px 30px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--sky); }
.timeline b { color: var(--navy); display: block; }
.timeline p { color: var(--ink-2); margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-3); color: #a9bcd6; padding-top: 76px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 52px; }
.footer__logo img { height: 52px; width: auto; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.footer__links li { margin-bottom: 10px; }
.footer__links a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 14px; }
.footer__contact svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--sky); }
.footer__contact a:hover { color: #fff; }
.footer__slogan { margin-top: 18px; font-weight: 700; letter-spacing: .16em; font-size: 12.5px; color: #7fd0ff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* Floating contact */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lg); transition: transform .2s; }
.fab a:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; }
.fab__phone { background: var(--sky); animation: pulse 2.2s infinite; }
.fab__zalo { background: #0068ff; font-weight: 800; font-size: 13px; }
.fab__mess { background: linear-gradient(135deg, #0099ff, #a033ff 70%, #ff5280); }

/* Language switch (flags) */
.topbar__right { display: flex; align-items: center; gap: 22px; }
.lang { display: inline-flex; gap: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.lang a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 6px; border-radius: 6px; line-height: 1; transition: background .15s, opacity .15s; }
.lang svg { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.lang--top { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.18); }
.lang--top a { color: #c4d6ee; opacity: .75; }
.lang--top a:hover { opacity: 1; background: rgba(255,255,255,.08); color: #fff; }
.lang--top a.is-on { opacity: 1; color: #fff; background: rgba(255,255,255,.14); }
.lang--mobile { display: none; border: 1px solid var(--line); border-radius: 8px; padding: 3px; background: #fff; }
.lang--mobile a { color: var(--ink-3); padding: 5px 7px; }
.lang--mobile a.is-on { background: var(--sky-50); color: var(--navy); }
.lang--mobile span { display: none; }
.topbar__list li span, .topbar__list li a { white-space: nowrap; }
@media (max-width: 1180px) { .topbar__slogan { display: none; } .lang--top { border-left: 0; padding-left: 0; } }
@media (max-width: 960px) {
  .topbar .topbar__list li:nth-child(n+2) { display: none; }
  .topbar__list li span { overflow: hidden; text-overflow: ellipsis; max-width: 48vw; display: block; }
}

/* Footer map */
.footer__map { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); margin-bottom: 40px; }
.footer__map iframe { display: block; width: 100%; height: 260px; border: 0; filter: saturate(.9); }
.footer__map-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.footer__map-head h4 { margin: 0; }
.footer__map-head a { color: #7fd0ff; font-weight: 600; font-size: 14px; }

/* Jobs */
.jobs { display: grid; gap: 18px; }
.job { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.job summary { list-style: none; cursor: pointer; padding: 26px 28px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.job summary::-webkit-details-marker { display: none; }
.job h3 { font-size: 20px; margin: 0 0 8px; color: var(--navy); }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--ink-2); }
.job__meta span { display: inline-flex; align-items: center; gap: 6px; }
.job__meta svg { width: 16px; height: 16px; color: var(--sky-2); }
.job__toggle { width: 40px; height: 40px; border-radius: 50%; background: var(--sky-50); color: var(--sky-2); display: grid; place-items: center; transition: transform .2s; }
.job__toggle svg { width: 20px; height: 20px; }
.job[open] .job__toggle { transform: rotate(180deg); }
.job__body { padding: 0 28px 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.job__body h4 { font-size: 16px; color: var(--navy); margin: 22px 0 8px; }
.job__body ul { list-style: disc; padding-left: 1.2em; color: var(--ink-2); font-size: 15px; }
.job__body li { margin-bottom: 4px; }
.job__apply { grid-column: 1 / -1; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,163,240,.55); } 70% { box-shadow: 0 0 0 16px rgba(18,163,240,0); } 100% { box-shadow: 0 0 0 0 rgba(18,163,240,0); } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .fab__phone { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header__phone { display: none; }
  .grid--4, .supply, .perks { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process::before { display: none; }
}
@media (max-width: 1040px) {
  .nav, .header__cta .btn { display: none; }
  .burger { display: block; }
  .nav.is-open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 80px; left: 0; right: 0; background: #fff; padding: 10px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav.is-open > li > a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.is-open > li > a.is-active::after { display: none; }
  .nav.is-open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 6px 0; width: auto; }
  .hero .container, .page-hero .container, .split, .split--wide, .contact-grid, .cta { grid-template-columns: 1fr; }
  .hero .container { gap: 72px; }
  .hero__sub { left: 16px; }
  .hero__badge { right: 12px; }
  .divisions, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid--3.keep-2 { grid-template-columns: 1fr 1fr; }
  .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); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .split { gap: 48px; }
  .collage__tag { left: 12px; }
  .cta { padding: 44px 32px; }
  .cta__actions { justify-content: flex-start; }
  .subnav { top: 80px; }
  .section { padding: 76px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .lang--mobile { display: inline-flex; }
  .header .container { height: 70px; }
  .logo img { height: 42px; }
  .nav.is-open { top: 70px; }
  .subnav { top: 70px; }
  .grid--4, .grid--3.keep-2, .footer__grid, .form__row, .ticks, .supply, .facts, .perks, .job__body { grid-template-columns: 1fr; }
  .job summary { padding: 20px; }
  .job__body { padding: 0 20px 22px; }
  .lang a { padding: 5px 8px; }
  .facts div { border-right: 0; }
  .facts div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos li { height: 70px; padding: 10px; }
  .process { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 20px; }
  .stat:last-child { border-bottom: 0; }
  .hero__sub, .hero__badge { display: none; }
  .slider { height: 600px; }
  .slide::after { background: linear-gradient(180deg, rgba(7,35,69,.55), rgba(7,35,69,.9) 70%); }
  .slide .container { justify-content: flex-end; padding-bottom: 150px; }
  .slider__arrows { display: none; }
  .slider__nav { bottom: 96px; }
  .slider__dots button { width: 28px; }
  .hero__trust { gap: 22px; }
  .division__body, .form { padding: 26px 22px; }
  .cta { padding: 34px 22px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .spec th, .spec td { display: block; width: 100%; }
  .spec th { border-bottom: 0; padding-bottom: 4px; }
  .spec td { padding-top: 2px; }
  .section { padding: 64px 0; }
}

/* ---------- Photo galleries, lightbox, video ---------- */
.card__img { position: relative; }
.card__count { position: absolute; right: 12px; bottom: 12px; background: rgba(10,30,60,.78); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.card__count--video { right: auto; left: 12px; background: var(--sky); }
.pgallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pgallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-3); }
.pgallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pgallery a:hover img { transform: scale(1.05); }
.pgallery--wide a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.pgallery figure { margin: 0; }
.pgallery__cap { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
.media[data-lightbox] a { display: block; height: 100%; cursor: zoom-in; }
.video-box { max-width: 960px; margin: 0 auto 28px; text-align: center; }
.video-box video { width: 100%; max-height: 70vh; border-radius: 16px; background: #000; box-shadow: var(--shadow); }
.video-box p { color: var(--ink-3); font-size: 14px; margin-top: 8px; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(5,15,30,.92); display: none; align-items: center; justify-content: center; padding: 48px 64px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__cap { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); color: #cfe0f5; font-size: 14px; }
.team-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-strip figure { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.team-strip a { display: block; aspect-ratio: 4/3; overflow: hidden; }
.team-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.team-strip a:hover img { transform: scale(1.04); }
.team-strip figcaption { padding: 12px 16px; font-weight: 600; color: var(--navy); font-size: 15px; }
.team-strip figcaption small { display: block; font-weight: 400; color: var(--ink-3); font-size: 13px; }
@media (max-width: 960px) { .pgallery { grid-template-columns: repeat(3, 1fr); } .team-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pgallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } .pgallery--wide a:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; } .team-strip { grid-template-columns: 1fr; } .lightbox { padding: 56px 8px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; } .lightbox__prev { left: 20%; } .lightbox__next { right: 20%; } }