/* ============================================
   SQMC — Tư vấn Quản lý Chất lượng Miền Nam
   Style: Modern Corporate, Bilingual VI/EN
   ============================================ */

/* ---------- Tokens ---------- */
:root {
  --brand-900: #061a31;
  --brand-800: #0a2540;
  --brand-700: #103358;
  --brand-600: #194a83;
  --brand-500: #2563b8;
  --brand-400: #3b82f6;
  --brand-50:  #eef4fd;

  --accent-500: #ffb300;
  --accent-600: #e89c00;
  --accent-50:  #fff7e0;

  --ink-900: #0b1727;
  --ink-700: #243549;
  --ink-500: #4a5b71;
  --ink-300: #8a99ad;
  --ink-100: #e4e9f0;

  --bg:       #ffffff;
  --bg-soft:  #f7f9fc;
  --bg-dark:  #061a31;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 6px rgba(10, 37, 64, 0.06);
  --shadow:    0 10px 30px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.18);

  --container: 1200px;

  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Be Vietnam Pro', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif; color: var(--ink-900); line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
ul { list-style: none; padding: 0; margin: 0; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; justify-content: center; }
.btn--primary {
  background: var(--brand-800);
  color: #fff;
}
.btn--primary:hover { background: var(--brand-700); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--accent {
  background: var(--accent-500);
  color: var(--brand-900);
}
.btn--accent:hover { background: var(--accent-600); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost {
  background: transparent;
  color: var(--brand-800);
  border-color: var(--brand-800);
}
.btn--ghost:hover { background: var(--brand-800); color: #fff; }

/* ---------- Eyebrow / Typography utilities ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
  padding: 6px 14px;
  background: var(--brand-50);
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow--light {
  color: var(--accent-500);
  background: rgba(255, 179, 0, 0.12);
}
.text-accent { color: var(--accent-500); }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--brand-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 8px 0;
}
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar__info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.9); }
.topbar__item svg { color: var(--accent-500); }

.lang-switch { display: inline-flex; align-items: center; gap: 4px; }
.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition);
}
.lang-btn.is-active { color: var(--accent-500); }
.lang-btn:hover { color: #fff; }
.lang-divider { color: rgba(255, 255, 255, 0.3); }

/* ---------- Header ---------- */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--brand-800);
  letter-spacing: 0.02em;
}
.brand__name--light { color: #fff; }
.brand__tagline { font-size: 11px; color: var(--ink-500); font-weight: 500; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__list a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: 8px;
  transition: var(--transition);
}
.nav__list a:hover, .nav__list a.is-active {
  color: var(--brand-800);
  background: var(--brand-50);
}

.header__cta { margin-left: 4px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--brand-800);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 37, 64, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 37, 64, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top right, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, black 30%, transparent 70%);
}
.hero__glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.hero__glow--1 { background: var(--brand-500); top: -200px; right: -100px; }
.hero__glow--2 { background: var(--accent-500); bottom: -200px; left: -100px; opacity: 0.35; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero__title span { display: block; }
.hero__desc {
  font-size: 18px;
  color: var(--ink-500);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero__trust {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--ink-100);
}
.hero__trust-item { display: flex; flex-direction: column; }
.hero__trust-item strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-800);
}
.hero__trust-item span { font-size: 13px; color: var(--ink-500); }

/* Hero visual */
.hero__visual {
  position: relative;
  height: 480px;
}
.hero__card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero__card--main {
  top: 20px;
  right: 0;
  width: clamp(300px, 90%, 340px);
}
.hero__card--badge {
  bottom: 30px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  animation-delay: -2s;
}
.hero__card--badge svg { color: var(--accent-500); }
.hero__card--badge strong { display: block; font-family: 'Plus Jakarta Sans'; color: var(--brand-800); font-size: 15px; }
.hero__card--badge span { display: block; font-size: 12px; color: var(--ink-500); }
.hero__card--mini {
  bottom: 30px;
  right: 0;
  text-align: center;
  width: 140px;
  animation-delay: -4s;
}
.hero__mini-num {
  display: block;
  font-family: 'Plus Jakarta Sans';
  font-size: 42px;
  font-weight: 800;
  color: var(--brand-800);
  line-height: 1;
}
.hero__mini-num small { font-size: 26px; color: var(--accent-500); }
.hero__card--mini span { font-size: 12px; color: var(--ink-500); margin-top: 6px; display: inline-block; }

.hero__card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
  margin-bottom: 18px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--green { background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15); }

.hero__progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  margin-top: 12px;
}
.hero__progress-row:first-child { margin-top: 0; }
.hero__pct { color: var(--brand-600); font-weight: 600; }
.bar {
  height: 6px;
  background: var(--ink-100);
  border-radius: 999px;
  overflow: hidden;
}
.bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  border-radius: 999px;
  transition: width 1.4s ease;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Partners marquee ---------- */
.partners {
  padding: 50px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--ink-100);
  border-bottom: 1px solid var(--ink-100);
}
.partners__label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  margin-bottom: 24px;
}
.marquee { overflow: hidden; }
.marquee__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-300);
}
.marquee__track span { letter-spacing: 0.02em; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-soft); }
.section--dark {
  background: linear-gradient(180deg, var(--brand-900) 0%, var(--brand-800) 100%);
  color: #fff;
}
.section--dark .section__title,
.section--dark p,
.section--dark a { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 60px; }
.section__head--center { text-align: center; margin: 0 auto 60px; }
.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.section__title--light { color: #fff; }
.section__lead { font-size: 17px; color: var(--ink-500); line-height: 1.7; }
.section__lead--light { color: rgba(255, 255, 255, 0.75); }

/* ---------- About cards ---------- */
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about__card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
}
.about__card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-500);
  box-shadow: var(--shadow);
}
.about__card--accent {
  background: linear-gradient(160deg, var(--brand-800), var(--brand-700));
  color: #fff;
  border-color: transparent;
}
.about__card--accent h3 { color: #fff; }
.about__card--accent p { color: rgba(255, 255, 255, 0.8); }
.about__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.about__card--accent .about__icon {
  background: rgba(255, 179, 0, 0.18);
  color: var(--accent-500);
}
.about__card h3 { font-size: 22px; margin-bottom: 12px; }
.about__card p { font-size: 15px; color: var(--ink-500); margin: 0; }

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(135deg, var(--brand-800), var(--brand-700));
  color: #fff;
  padding: 70px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  display: flex;
  align-items: baseline;
  flex-direction: column;
  align-items: center;
}
.stat__num {
  font-family: 'Plus Jakarta Sans';
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  color: var(--accent-500);
  line-height: 1;
  display: inline-block;
}
.stat__plus {
  display: inline-block;
  margin-top: -10px;
  margin-bottom: 12px;
  font-size: 24px;
  color: var(--accent-500);
  font-weight: 800;
}
.stat__label { font-size: 14px; color: rgba(255, 255, 255, 0.8); }

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: var(--transition);
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service:hover::before { transform: scaleX(1); }
.service__num {
  font-family: 'Plus Jakarta Sans';
  font-size: 60px;
  font-weight: 800;
  color: var(--brand-50);
  position: absolute;
  top: 16px;
  right: 28px;
  line-height: 1;
}
.service__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  color: var(--accent-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service h3 { font-size: 24px; margin-bottom: 12px; }
.service > p { font-size: 15px; color: var(--ink-500); margin-bottom: 20px; }
.service__list { display: grid; gap: 8px; }
.service__list li {
  font-size: 14px;
  color: var(--ink-700);
  padding-left: 22px;
  position: relative;
}
.service__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--accent-500);
  border-radius: 50%;
}
.service--featured { background: linear-gradient(160deg, #fff, #f4f7fb); }
.service__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--accent-500);
  color: var(--brand-900);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.process__step {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 30px 22px;
  position: relative;
  text-align: center;
  transition: var(--transition);
}
.process__step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  color: #fff;
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.process__step h4 { font-size: 16px; margin-bottom: 8px; }
.process__step p { font-size: 13px; color: var(--ink-500); margin: 0; }

/* ---------- Projects ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.project {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-700);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition);
}
.project:nth-child(1) { grid-column: span 4; min-height: 420px; }
.project:nth-child(2) { grid-column: span 2; }
.project:nth-child(3) { grid-column: span 2; }
.project:nth-child(4) { grid-column: span 2; }
.project:nth-child(5) { grid-column: span 2; }

.project__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.project:hover .project__media { transform: scale(1.08); }
.project__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 26, 49, 0.95) 100%);
}
/* Construction-themed gradients as fallback / hero */
.project__media--1 { background-image: linear-gradient(135deg, #1e3a5f, #061a31), url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1200&q=80'); background-blend-mode: overlay; }
.project__media--2 { background-image: linear-gradient(135deg, #d4a017, #8a6a0d), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=900&q=80'); background-blend-mode: overlay; }
.project__media--3 { background-image: linear-gradient(135deg, #2563b8, #103358), url('https://images.unsplash.com/photo-1448630360428-65456885c650?w=900&q=80'); background-blend-mode: overlay; }
.project__media--4 { background-image: linear-gradient(135deg, #194a83, #0a2540), url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=900&q=80'); background-blend-mode: overlay; }
.project__media--5 { background-image: linear-gradient(135deg, #ff8a00, #c46000), url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=900&q=80'); background-blend-mode: overlay; }

.project__info {
  position: relative;
  padding: 28px;
  color: #fff;
}
.project__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--accent-500);
  color: var(--brand-900);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.project h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.project p { color: rgba(255, 255, 255, 0.8); font-size: 14px; margin: 0; }

/* ---------- Why ---------- */
.why {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why__list { display: grid; gap: 20px; margin-top: 30px; }
.why__list li { display: flex; gap: 14px; align-items: flex-start; }
.why__list svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--brand-50);
  color: var(--brand-600);
  border-radius: 50%;
  padding: 4px;
  box-sizing: content-box;
}
.why__list strong { display: block; font-family: 'Plus Jakarta Sans'; color: var(--brand-800); font-size: 16px; margin-bottom: 4px; }
.why__list span { display: block; color: var(--ink-500); font-size: 15px; }

.why__panel {
  background: linear-gradient(160deg, var(--brand-800), var(--brand-700));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 50px 44px;
  position: relative;
  overflow: hidden;
}
.why__panel::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: var(--accent-500);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(50px);
}
.testimonial { margin: 0; position: relative; }
.testimonial__quote { color: var(--accent-500); margin-bottom: 16px; }
.testimonial p { font-size: 19px; line-height: 1.6; font-style: italic; margin-bottom: 24px; color: #fff; }
.testimonial footer strong { display: block; color: var(--accent-500); font-size: 15px; margin-bottom: 2px; }
.testimonial footer span { color: rgba(255, 255, 255, 0.7); font-size: 14px; }

/* ---------- Training ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.training__list { display: grid; gap: 18px; }
.training__list li {
  display: flex;
  gap: 18px;
  background: #fff;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
  transition: var(--transition);
}
.training__list li:hover { transform: translateX(4px); border-color: var(--brand-500); box-shadow: var(--shadow); }
.training__dot {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  color: var(--accent-500);
  font-family: 'Plus Jakarta Sans';
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.training__list h4 { font-size: 17px; margin-bottom: 4px; }
.training__list p { font-size: 14px; color: var(--ink-500); margin: 0; }

/* ---------- Careers ---------- */
.careers__head { max-width: 720px; margin-bottom: 50px; }
.careers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.job {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
}
.job:hover { transform: translateY(-4px); border-color: var(--brand-500); box-shadow: var(--shadow); }
.job__dept {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.job h3 { font-size: 20px; margin-bottom: 12px; }
.job p { font-size: 14px; color: var(--ink-500); margin-bottom: 6px; }
.job__link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  color: var(--brand-600);
  transition: var(--transition);
}
.job__link:hover { color: var(--accent-500); transform: translateX(4px); }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact__list { display: grid; gap: 20px; margin-top: 30px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list svg {
  flex-shrink: 0;
  color: var(--accent-500);
  width: 20px; height: 20px;
  margin-top: 3px;
}
.contact__list strong {
  display: block;
  color: var(--accent-500);
  font-family: 'Plus Jakarta Sans';
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.contact__list a, .contact__list span { color: rgba(255, 255, 255, 0.9); font-size: 15px; display: block; }
.contact__list a:hover { color: var(--accent-500); }
.contact__map {
  margin-top: 6px;
  font-size: 13px !important;
  color: var(--accent-500) !important;
  font-weight: 600;
  transition: var(--transition);
}
.contact__map:hover { transform: translateX(2px); }

.contact__form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  padding: 36px;
  display: grid;
  gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.field input, .field select, .field textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  background: rgba(255, 255, 255, 0.12);
}
.field select option { color: var(--ink-900); }
.form__note { font-size: 12px; color: rgba(255, 255, 255, 0.6); text-align: center; margin: 4px 0 0; min-height: 18px; transition: color 0.2s ease; }

/* Submit button spinner */
.contact__form button[type="submit"] { position: relative; }
.btn__spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(11, 23, 39, 0.25);
  border-top-color: var(--brand-900);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.is-loading .btn__label { opacity: 0.6; }
.is-loading .btn__spinner { display: inline-block; }
.contact__form button[disabled] { opacity: 0.85; cursor: not-allowed; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.brand--footer { margin-bottom: 18px; }
.footer__desc { font-size: 14px; line-height: 1.7; margin-bottom: 22px; max-width: 320px; }
.footer__socials { display: flex; gap: 12px; }
.footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}
.footer__socials a:hover { background: var(--accent-500); color: var(--brand-900); }
.footer h5 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul a { transition: var(--transition); }
.footer ul a:hover { color: var(--accent-500); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}
.footer__bottom-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__bottom small { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.footer__bottom a:hover { color: var(--accent-500); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-800);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--accent-500); color: var(--brand-900); }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.6,.2,1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 380px; max-width: 500px; margin: 0 auto; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__card:last-child { grid-column: span 2; }
  .services { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .project:nth-child(1) { grid-column: span 2; }
  .project:nth-child(n) { grid-column: span 1; }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .careers__grid { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
  .topbar__item--hide-sm { display: none; }
  .header__row { gap: 12px; }
  .header__cta { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 24px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid var(--ink-100);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__list a { padding: 12px 16px; }

  .section { padding: 70px 0; }
  .section__head { margin-bottom: 40px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__card:last-child { grid-column: span 1; }

  .services { grid-template-columns: 1fr; }
  .service { padding: 30px 26px; }

  .process { grid-template-columns: 1fr; }
  .projects { grid-template-columns: 1fr; }
  .project { grid-column: span 1 !important; min-height: 320px !important; }

  .careers__grid { grid-template-columns: 1fr; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat__num { font-size: 42px; }

  .hero { padding: 50px 0 70px; }
  .hero__trust { gap: 24px; }

  /* Mobile: bỏ absolute positioning, để card chính flow tự nhiên */
  .hero__visual {
    height: auto;
    max-width: 100%;
    margin: 0;
    overflow: visible;
  }
  .hero__card {
    animation: none;
  }
  .hero__card--main {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  /* Ẩn 2 card trang trí — info đã có trong stats section ngay bên dưới */
  .hero__card--mini,
  .hero__card--badge {
    display: none;
  }

  .why__panel { padding: 36px 28px; }
  .testimonial p { font-size: 16px; }

  .contact__form { padding: 26px; }
  .form__row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding-top: 50px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .topbar__info { gap: 12px; }
  .topbar { font-size: 12px; }
  .hero__card--main { padding: 18px; }
  .hero__title { font-size: 34px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero__card { animation: none; }
}

:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
}
