﻿/* ==========================================================================
   HMDS – Công ty TNHH HM Data Services
   Static site stylesheet (pure CSS, no framework)
   Brand: Navy #173965 · Gold #C9A42D (lấy từ Hồ sơ năng lực)
   ========================================================================== */

:root {
  --navy: #173965;
  --navy-deep: #0f2a4e;
  --navy-soft: #1f4a80;
  --gold: #c9a42d;
  --gold-light: #e3c55a;
  --gold-pale: #f7efd2;
  --ink: #1c2430;
  --muted: #5c6673;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --shadow: 0 10px 30px rgba(15, 42, 78, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 42, 78, 0.18);
  --radius: 14px;
  --header-h: 78px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; }
::selection { background: var(--gold); color: var(--navy-deep); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.section-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 300; letter-spacing: .02em; text-transform: uppercase;
  color: var(--navy); line-height: 1.15; margin-top: 12px;
}
.section-title strong { font-weight: 700; }
.title-line { display: block; width: 90px; height: 3px; background: var(--gold); margin-top: 18px; }
.center { text-align: center; }
.center .title-line { margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--gold); }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.center .lead { margin: 18px auto 0; }
.on-dark .section-title { color: #fff; }
.on-dark .lead, .on-dark p { color: rgba(255,255,255,.82); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; letter-spacing: .02em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(201,164,45,.35); }
.btn-gold:hover { background: var(--gold-light); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(23,57,101,.3); }
.btn-navy:hover { background: var(--navy-soft); }
.btn-outline { border: 2px solid currentColor; padding: 12px 26px; }
.btn-outline.light { color: #fff; }
.btn-outline.light:hover { background: #fff; color: var(--navy); }
.btn-outline.dark { color: var(--navy); }
.btn-outline.dark:hover { background: var(--navy); color: #fff; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
  background: linear-gradient(to bottom, rgba(15,42,78,.65), rgba(15,42,78,0));
}
.site-header.is-scrolled { background: var(--navy-deep); box-shadow: 0 6px 24px rgba(0,0,0,.25); height: 66px; }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; color: #fff; }
.logo img { height: 32px; width: auto; }
.site-header.is-scrolled .logo img { height: 28px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-weight: 500; font-size: 15px; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover::after, .nav-item.active > .nav-link::after { transform: scaleX(1); }
.nav-link .caret { width: 12px; height: 12px; transition: transform .3s; }
.nav-item.open > .nav-link .caret, .nav-item:hover > .nav-link .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #fff; color: var(--ink); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
.dropdown::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav-item:hover > .dropdown, .nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px;
  transition: background .2s, color .2s, padding-left .2s;
}
.dropdown a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.dropdown a:hover { background: var(--bg-alt); color: var(--navy); padding-left: 16px; }

.header-cta { display: inline-flex; align-items: center; gap: 12px; }
.burger {
  display: none; width: 44px; height: 44px; border-radius: 10px; position: relative;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 24px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Off-canvas ---------- */
.offcanvas-backdrop {
  position: fixed; inset: 0; background: rgba(9, 24, 45, .6); z-index: 200;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; backdrop-filter: blur(2px);
}
.offcanvas-backdrop.show { opacity: 1; visibility: visible; }
.offcanvas {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 92vw); z-index: 210;
  background: #fff; color: var(--ink); box-shadow: -20px 0 60px rgba(0,0,0,.25);
  transform: translateX(105%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.offcanvas.show { transform: translateX(0); }
.offcanvas-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: var(--navy); color: #fff;
}
.offcanvas-head .logo img { height: 26px; }
.offcanvas-close {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); transition: background .2s, transform .3s;
}
.offcanvas-close:hover { background: var(--gold); color: var(--navy); transform: rotate(90deg); }
.offcanvas-body { padding: 24px; flex: 1; }
.offcanvas-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--navy); font-size: 17px;
}
.offcanvas-nav .sub { padding-left: 16px; }
.offcanvas-nav .sub a { font-weight: 400; font-size: 15px; color: var(--muted); padding: 10px 0; border-bottom: 1px dashed var(--line); }
.offcanvas-footer { padding: 24px; background: var(--bg-alt); font-size: 14px; color: var(--muted); }
.offcanvas-footer strong { color: var(--navy); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 14px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: .02em; }
.form-field label span { color: #c0392b; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--navy); box-shadow: 0 0 0 4px rgba(23,57,101,.12);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field.invalid input, .form-field.invalid textarea { border-color: #c0392b; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.form-check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--navy); flex: none; }
.form-check a { color: var(--navy); text-decoration: underline; }
.form-check.invalid { color: #c0392b; }
.form-status { font-size: 14px; padding: 12px 14px; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: #e9f7ef; color: #1e7b45; }
.form-status.err { display: block; background: #fdecea; color: #c0392b; }
.form-note { font-size: 12.5px; color: var(--muted); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: var(--bg); overflow: hidden; color: #fff;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 12% 100%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(15,42,78,.75) 0%, rgba(15,42,78,.25) 55%, rgba(15,42,78,.55) 100%);
}
.hero-navy {
  position: absolute; inset: 0; z-index: 1; background: var(--navy);
  clip-path: polygon(0 0, 62% 0, 30% 100%, 0 100%);
  animation: heroSlideIn 1.1s var(--ease) both;
}
@keyframes heroSlideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.hero-gold {
  position: absolute; left: 0; bottom: 20%; height: 14px; width: 42%; background: var(--gold); z-index: 2;
  transform-origin: left; animation: growX 1s .9s var(--ease) both;
}
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-white {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 26%; background: #fff; z-index: 1;
  clip-path: polygon(0 0, 22% 0, 55% 100%, 0 100%);
}
.hero .container { position: relative; z-index: 3; }
.hero-content { max-width: 620px; padding: 140px 0 120px; }
.hero-logo img { height: clamp(56px, 8vw, 96px); width: auto; animation: fadeUp .9s .4s var(--ease) both; }
.hero-title {
  margin-top: 40px; font-weight: 300; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(34px, 5.2vw, 64px); line-height: 1.1; animation: fadeUp .9s .6s var(--ease) both;
}
.hero-sub {
  margin-top: 8px; letter-spacing: .5em; text-transform: uppercase; font-size: clamp(12px, 1.4vw, 16px);
  color: var(--gold-light); font-weight: 600; animation: fadeUp .9s .75s var(--ease) both;
}
.hero-bar { width: 220px; height: 4px; background: var(--gold); margin-top: 26px; transform-origin: left; animation: growX .8s 1s var(--ease) both; }
.hero-desc { margin-top: 26px; font-size: 17px; color: rgba(255,255,255,.85); max-width: 520px; animation: fadeUp .9s 1.05s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; animation: fadeUp .9s 1.2s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--navy);
  animation: fadeUp 1s 1.6s both;
}
.scroll-hint .mouse { width: 22px; height: 36px; border: 2px solid var(--navy); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after {
  content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--gold); animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--navy); color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 80px) 0 110px;
}
.page-hero-media { position: absolute; inset: 0; clip-path: polygon(48% 0, 100% 0, 100% 100%, 28% 100%); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.06); animation: heroZoom 10s var(--ease) forwards; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy) 0%, rgba(23,57,101,.35) 60%, rgba(15,42,78,.7) 100%); }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { display: flex; gap: 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); animation: fadeUp .8s .1s both; }
.breadcrumb span::before { content: "/"; margin-right: 10px; color: var(--gold); }
.page-hero h1 { font-weight: 300; text-transform: uppercase; font-size: clamp(32px, 5vw, 58px); line-height: 1.1; margin-top: 16px; letter-spacing: .03em; animation: fadeUp .9s .3s both; }
.page-hero h1 strong { font-weight: 700; }
.page-hero .hero-bar { animation-delay: .6s; }
.page-hero p { margin-top: 22px; max-width: 620px; color: rgba(255,255,255,.85); font-size: 17px; animation: fadeUp .9s .7s both; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 100px 0; overflow: hidden; }
.section.tight { padding: 70px 0; }
.section.alt { background: var(--bg-alt); }
.section.navy { background: var(--navy); color: #fff; }
.section.deep { background: var(--navy-deep); color: #fff; }
.section-num {
  position: absolute; right: 32px; bottom: 8px; z-index: 0; pointer-events: none;
  font-size: clamp(90px, 12vw, 170px); font-weight: 200; line-height: 1; color: var(--gold);
  letter-spacing: -.02em; opacity: .55; user-select: none;
}
.section.navy .section-num, .section.deep .section-num { opacity: .5; }
.section-num.subtle { opacity: .16; }
.section > .container { position: relative; z-index: 1; }
.section-head { margin-bottom: 52px; }
.diag-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 70px; background: #fff; z-index: 1;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.diag-top.from-alt::before { background: var(--bg-alt); }

/* Decorative slash blocks */
.slash-navy {
  position: absolute; top: 0; bottom: 0; right: 0; width: 42%; background: var(--navy); z-index: 0;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.slash-gold { position: absolute; height: 14px; background: var(--gold); z-index: 1; }
.gold-tab { position: relative; }
.gold-tab::after { content: ""; position: absolute; right: 0; bottom: -14px; width: 46%; height: 14px; background: var(--gold); }
.gold-tab.left::after { right: auto; left: 0; }
.gold-tab.top::after { bottom: auto; top: -14px; }

/* ---------- Grid helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide { gap: 80px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ---------- Media frames ---------- */
.frame { position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-lg); }
.frame.tall img { aspect-ratio: 4 / 5; }
.frame.square img { aspect-ratio: 1; }
.frame.wide img { aspect-ratio: 16 / 10; }
.frame.portrait img { aspect-ratio: 3 / 4; }
.frame .frame-deco { position: absolute; z-index: -1; inset: 26px -26px -26px 26px; background: var(--navy); border-radius: 6px; }
.frame .frame-deco.gold { background: var(--gold); }
.frame .frame-deco.left { inset: 26px 26px -26px -26px; }
.frame .frame-bar { position: absolute; left: -10%; bottom: 14%; width: 65%; height: 14px; background: var(--gold); z-index: 2; }
.frame .frame-bar.right { left: auto; right: -10%; }
.frame .frame-badge {
  position: absolute; right: -18px; bottom: -18px; background: var(--navy); color: #fff; padding: 18px 22px; border-radius: 10px;
  box-shadow: var(--shadow-lg); z-index: 2; min-width: 160px;
}
.frame .frame-badge strong { display: block; font-size: 34px; line-height: 1; color: var(--gold); font-weight: 300; }
.frame .frame-badge span { font-size: 13px; opacity: .85; }

/* ---------- Message section ---------- */
.message-text p + p { margin-top: 16px; }
.message-text .sign { margin-top: 24px; font-style: italic; color: var(--gold); font-weight: 600; }
.message-text .values-inline { color: var(--navy); font-weight: 700; }

/* ---------- Info table ---------- */
.info-table { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; font-size: 15px; }
.info-table dt { color: var(--gold); font-weight: 700; white-space: nowrap; }
.info-table dt::after { content: " :"; color: var(--gold); }
.info-table dd { margin: 0; color: var(--ink); }
.info-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }

/* ---------- Stats ---------- */
.stats { position: relative; padding: 70px 0; background: var(--navy); color: #fff; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; left: -10%; top: 0; bottom: 0; width: 55%; background: var(--navy-deep);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}
.stats::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--gold), transparent); }
.stats .container { position: relative; }
.stat { text-align: center; padding: 10px 16px; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; }
.stat-value { font-size: clamp(42px, 5vw, 64px); font-weight: 300; line-height: 1; color: var(--gold-light); }
.stat-value small { font-size: .5em; vertical-align: top; margin-left: 2px; }
.stat-label { margin-top: 10px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .num {
  position: absolute; left: 20px; bottom: 16px; font-size: 54px; font-weight: 200; color: #fff; line-height: 1;
  text-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,42,78,.7), transparent 55%); }
.card-body { padding: 28px; }
.card-body h3 { font-size: 20px; color: var(--navy); line-height: 1.35; }
.card-body p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.card-accent { position: absolute; left: 0; top: 0; width: 0; height: 4px; background: var(--gold); transition: width .5s var(--ease); }
.card:hover .card-accent { width: 100%; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--navy); font-weight: 600; font-size: 14px; }
.card-link svg { width: 16px; height: 16px; transition: transform .25s; }
.card-link:hover svg { transform: translateX(4px); }

.check-list li { position: relative; padding-left: 28px; margin-top: 10px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--gold);
}
.on-dark .check-list li::before { box-shadow: inset 0 0 0 3px var(--navy), 0 0 0 1px var(--gold); }

/* Service detail blocks */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 60px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block.reverse .service-media { order: 2; }
.service-index { font-size: 80px; font-weight: 200; color: var(--gold); line-height: 1; }
.service-block h3 { font-size: 28px; color: var(--navy); font-weight: 600; margin-top: 6px; line-height: 1.3; }
.service-block .desc { margin-top: 16px; color: var(--muted); font-size: 17px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag-list li { padding: 8px 16px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: 14px; color: var(--navy); font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.tag-list li:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Capability list */
.cap-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cap-item:hover { transform: translateX(8px); box-shadow: var(--shadow-lg); }
.cap-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.cap-icon svg { width: 30px; height: 30px; }
.cap-item h3 { font-size: 18px; color: var(--navy); }
.cap-item p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Values */
.value-card {
  background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow);
  border-bottom: 4px solid transparent; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.value-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.value-card .v-icon { width: 70px; height: 70px; margin: 0 auto; border-radius: 50%; background: var(--gold-pale); color: var(--navy); display: grid; place-items: center; transition: background .35s, color .35s, transform .5s var(--ease); }
.value-card:hover .v-icon { background: var(--navy); color: var(--gold); transform: rotateY(360deg); }
.value-card .v-icon svg { width: 32px; height: 32px; }
.value-card h3 { margin-top: 18px; font-size: 18px; color: var(--navy); }
.value-card h3 small { display: block; font-weight: 400; font-size: 13px; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.value-card p { margin-top: 12px; font-size: 14.5px; color: var(--muted); }
.value-card .v-num { position: absolute; right: 14px; top: 8px; font-size: 40px; font-weight: 200; color: var(--gold); opacity: .3; }

/* Vision / Mission blocks */
.vm-block { position: relative; }
.vm-label { display: inline-block; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.vm-title { font-size: clamp(32px, 4vw, 48px); font-weight: 300; text-transform: uppercase; color: var(--navy); line-height: 1.1; }
.vm-text { margin-top: 18px; font-size: 17px; color: var(--muted); }
.vm-num { font-size: clamp(80px, 10vw, 140px); font-weight: 200; color: var(--gold); line-height: 1; }

/* Advantages */
.adv-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.adv-item:hover { transform: translateY(-4px); }
.adv-item .adv-num { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 300; font-size: 20px; }
.adv-item p { color: var(--ink); font-size: 15.5px; }
.on-dark .adv-item { background: rgba(255,255,255,.06); box-shadow: none; border: 1px solid rgba(255,255,255,.12); }
.on-dark .adv-item p { color: #fff; }
.on-dark .adv-item .adv-num { background: var(--gold); color: var(--navy); }

/* Commitment */
.commit-box { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); position: relative; }
.commit-box::before { content: ""; position: absolute; left: 0; top: 30px; bottom: 30px; width: 5px; background: var(--gold); border-radius: 0 4px 4px 0; }
.commit-box strong { color: var(--navy); }
.commit-box p, .on-dark .commit-box p { font-size: 16.5px; color: var(--ink); }
.on-dark .commit-box .info-table dd { color: var(--ink); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--gold); color: var(--navy-deep); padding: 16px 0; position: relative; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 22px; padding: 0 22px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 15px; white-space: nowrap; }
.marquee-item::after { content: ""; width: 8px; height: 8px; background: var(--navy-deep); transform: rotate(45deg); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee.dark { background: var(--navy-deep); color: #fff; }
.marquee.dark .marquee-item::after { background: var(--gold); }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel-viewport { overflow: hidden; padding: 12px 4px 30px; margin: -12px -4px 0; }
.carousel-track { display: flex; transition: transform .6s var(--ease); will-change: transform; cursor: grab; }
.carousel-track.dragging { transition: none; cursor: grabbing; }
.carousel-slide { flex: 0 0 33.3333%; padding: 0 14px; }
.carousel-nav { position: absolute; top: 40%; z-index: 3; width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow-lg); display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.carousel-nav:hover { background: var(--navy); color: var(--gold); transform: scale(1.06); }
.carousel-nav svg { width: 20px; height: 20px; }
.carousel-nav.prev { left: -24px; }
.carousel-nav.next { right: -24px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 999px; background: var(--line); transition: width .3s var(--ease), background .3s; }
.carousel-dots button.active { width: 30px; background: var(--gold); }
.on-dark .carousel-dots button { background: rgba(255,255,255,.25); }
.on-dark .carousel-dots button.active { background: var(--gold); }

/* ---------- Team ---------- */
.team-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 var(--ease); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #dfe5ec; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo::after { content: ""; position: absolute; right: 0; bottom: 0; width: 42%; height: 12px; background: var(--gold); }
.team-info { padding: 22px 24px 26px; flex: 1; }
.team-name { font-size: 18px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .02em; }
.team-role { font-size: 13.5px; color: var(--gold); font-style: italic; margin-top: 2px; font-weight: 600; }
.team-bio { margin-top: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.team-card.compact .team-bio { display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-feature { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; padding: 40px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.team-feature .team-photo { border-radius: 8px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--navy-deep); color: #fff; padding: 80px 0; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -8%; top: 0; bottom: 0; width: 45%; background: var(--navy); clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%); }
.cta-band::after { content: ""; position: absolute; left: 0; bottom: 0; height: 12px; width: 38%; background: var(--gold); }
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; text-transform: uppercase; line-height: 1.2; }
.cta-band h2 strong { font-weight: 700; color: var(--gold-light); }
.cta-band p { margin-top: 10px; color: rgba(255,255,255,.8); max-width: 560px; }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; gap: 18px; align-items: flex-start; transition: transform .3s var(--ease); }
.contact-card:hover { transform: translateY(-6px); }
.contact-card .c-icon { flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.contact-card .c-icon svg { width: 26px; height: 26px; }
.contact-card h3 { font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.contact-card p { margin-top: 6px; font-size: 16px; color: var(--ink); font-weight: 500; }
.contact-card a:hover { color: var(--navy); text-decoration: underline; }
.contact-form { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); }
.contact-form h3 { font-size: 24px; color: var(--navy); font-weight: 300; text-transform: uppercase; }
.contact-form .form-grid { margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.collage { position: relative; height: 100%; min-height: 520px; }
.collage img { position: absolute; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow-lg); }
.collage .c1 { left: 0; top: 0; width: 55%; aspect-ratio: 4 / 3; }
.collage .c2 { right: 0; top: 18%; width: 60%; aspect-ratio: 4 / 3; z-index: 2; }
.collage .c3 { left: 8%; bottom: 0; width: 58%; aspect-ratio: 4 / 3; }
.collage .navy-block { position: absolute; left: -12%; top: 10%; bottom: 8%; width: 30%; background: var(--navy); z-index: 0; }
.collage .gold-block { position: absolute; right: -6%; bottom: 8%; width: 45%; height: 14px; background: var(--gold); z-index: 3; }

/* ---------- Policy page ---------- */
.policy-layout { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; max-height: calc(100vh - 120px); overflow-y: auto; }
.toc h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.toc a { display: block; padding: 8px 10px; border-left: 2px solid var(--line); font-size: 14px; color: var(--muted); transition: all .2s; }
.toc a:hover, .toc a.active { color: var(--navy); border-left-color: var(--gold); background: var(--bg-alt); font-weight: 600; }
.policy { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px; }
.policy h2 { font-size: 20px; color: var(--navy); margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.policy h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.policy h2 span { color: var(--gold); margin-right: 8px; font-weight: 300; }
.policy p { margin-top: 12px; font-size: 15.5px; }
.policy ul, .policy ol { margin-top: 8px; padding-left: 22px; list-style: disc; }
.policy ol { list-style: lower-alpha; }
.policy li { margin-top: 6px; font-size: 15.5px; }
.policy .intro { background: var(--gold-pale); border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 0 10px 10px 0; }
.policy .contact-box { background: var(--navy); color: #fff; padding: 22px 26px; border-radius: 10px; margin-top: 14px; }
.policy .contact-box p { color: #fff; margin-top: 4px; }
.policy .contact-box strong { color: var(--gold-light); }
.policy .clause { font-weight: 600; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 34%; background: var(--navy); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
.footer-top { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 64px 0 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top .logo img { height: 44px; }
.footer-top .tagline { margin-top: 12px; color: rgba(255,255,255,.75); font-size: 14.5px; max-width: 420px; }
.footer-heading { font-size: 22px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.footer-heading::after { content: ""; display: block; width: 60px; height: 3px; background: var(--gold); margin-top: 10px; }
.footer-cols { position: relative; display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 32px; padding: 40px 0; }
.footer-col { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.25); font-size: 15px; }
.footer-col:first-child { padding-left: 0; border-left: 0; }
.footer-col .f-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; display: block; }
.footer-col strong { font-size: 16px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: rgba(255,255,255,.7); }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--gold-light); }

/* ---------- Floating buttons ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: var(--gold); box-shadow: var(--shadow-lg); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy); }
.to-top svg { width: 20px; height: 20px; }
.float-call {
  position: fixed; left: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--navy-deep); padding: 10px 18px 10px 12px; border-radius: 999px; font-weight: 700;
  box-shadow: var(--shadow-lg); font-size: 14px;
}
.float-call .ring { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; position: relative; }
.float-call .ring::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--navy); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }
.float-call svg { width: 16px; height: 16px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.from-left { transform: translateX(-46px); }
.reveal.from-right { transform: translateX(46px); }
.reveal.zoom { transform: scale(.9); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; } .d4 { transition-delay: .48s; } .d5 { transition-delay: .6s; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .carousel-nav.prev { left: 6px; }
  .carousel-nav.next { right: 6px; }
}
@media (max-width: 1024px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: flex; }
  .split, .service-block { grid-template-columns: 1fr; gap: 40px; }
  .service-block.reverse .service-media { order: 0; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-feature { grid-template-columns: 1fr; }
  .policy-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .carousel-slide { flex-basis: 50%; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-col { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
  .footer-col:first-child { padding-top: 0; border-top: 0; }
  .hero-navy { clip-path: polygon(0 0, 75% 0, 40% 100%, 0 100%); }
  .hero-media { clip-path: polygon(30% 0, 100% 0, 100% 100%, 10% 100%); }
  .site-footer::before { display: none; }
}
@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4, .grid-5, .team-grid, .form-row { grid-template-columns: 1fr; }
  .stats .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; }
  .carousel-slide { flex-basis: 100%; }
  .section-num { font-size: 80px; right: 16px; }
  .hero-content { padding: 120px 0 110px; }
  .hero-navy { clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%); }
  .hero-media { clip-path: polygon(0 62%, 100% 40%, 100% 100%, 0 100%); }
  .hero-white { display: none; }
  .hero-gold { bottom: 12%; width: 55%; }
  .scroll-hint { display: none; }
  .page-hero { padding: calc(var(--header-h) + 50px) 0 90px; }
  .page-hero-media { clip-path: polygon(0 55%, 100% 25%, 100% 100%, 0 100%); }
  .policy { padding: 26px; }
  .contact-form, .commit-box, .info-card { padding: 26px; }
  .collage { min-height: 380px; }
  .cta-band { padding: 60px 0; }
  .float-call span.txt { display: none; }
  .float-call { padding: 8px; }
  .frame .frame-badge { right: 8px; bottom: -18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
