@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #0f172a;
  --muted: #64748b;
  --paper: #ffffff;
  --soft: #f8fafc;
  --line: #e2e8f0;
  --charcoal: #1e293b;
  --charcoal-2: #334155;
  --gold: #e8940a;
  --gold-2: #f5b041;
  --blue: #2563eb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.18);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── Bilingual toggle ── */
body.lang-en .vi,
body:not(.lang-en) .en {
  display: none;
}

/* ── Topbar (hidden) ── */
.topbar {
  display: none;
}

.topbar a:hover,
.footer a:hover,
.text-link:hover {
  color: var(--gold);
}

/* ══════════════════════════════════════
   SITE HEADER
   ══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.navbar__inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1;
}

.brand--center {
  margin: 0 auto;
}

.brand img {
  width: clamp(120px, 12vw, 170px);
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.brand--large img {
  width: clamp(140px, 13vw, 190px);
  max-height: 58px;
}

/* ── Search ── */
.site-search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
}

.site-search__icon {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  color: var(--muted);
}

.site-search__input {
  width: 180px;
  min-height: 40px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  transition: width 300ms var(--ease-out), border-color 200ms ease, box-shadow 200ms ease;
}

.site-search__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 148, 10, 0.15);
  width: 240px;
}

.site-search__results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: max(300px, 100%);
  max-height: 420px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow);
  z-index: 60;
}

.site-search__results.is-open {
  display: flex;
}

.site-search__result {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: background 140ms ease;
}

.site-search__result:hover {
  background: var(--soft);
}

.site-search__result-title {
  font-weight: 700;
}

.site-search__result-snippet {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.site-search__result-empty {
  padding: 18px 16px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* ── Header actions ── */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}

.lang-toggle:hover {
  background: var(--soft);
  border-color: var(--gold);
}

.sidebar-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: background 140ms ease;
}

.sidebar-toggle:hover {
  background: var(--soft);
}

.sidebar-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--ink);
}

/* ══════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════ */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.sidebar-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  height: 100dvh;
  z-index: 101;
  overflow-y: auto;
  background: #fff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 600ms var(--ease-out);
  will-change: transform;
}

.sidebar.is-open {
  transform: translateX(0);
}

.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.sidebar__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  transition: background 140ms ease;
}

.sidebar__close:hover {
  background: var(--soft);
}

.sidebar__close svg {
  width: 20px;
  height: 20px;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.sidebar__nav a {
  display: flex;
  align-items: center;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: background 120ms ease, color 120ms ease, padding-left 120ms ease;
}

.sidebar__nav a:hover,
.sidebar__nav a.is-active {
  color: var(--gold);
  background: rgba(232, 148, 10, 0.06);
  padding-left: 30px;
}

.sidebar__nav .nav-sub {
  display: none;
  flex-direction: column;
  background: var(--soft);
  padding: 4px 0;
}

.sidebar__nav .nav-sub.is-open {
  display: flex;
}

.sidebar__nav .nav-sub a {
  padding: 11px 24px 11px 40px;
  font-size: 13px;
  text-transform: none;
  font-weight: 600;
}

.sidebar__nav .nav-sub a:hover {
  padding-left: 46px;
}

.sidebar__nav .has-sub > a::after {
  content: "▾";
  margin-left: auto;
  font-size: 11px;
  transition: transform 200ms ease;
}

.sidebar__nav .has-sub.is-expanded > a::after {
  transform: rotate(180deg);
}

/* ══════════════════════════════════════
   SCROLL-TO-TOP
   ══════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  transition: opacity 300ms ease, transform 300ms var(--ease-spring), background 140ms ease;
  z-index: 90;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--gold);
  color: var(--ink);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ══════════════════════════════════════
   PAGE TRANSITION
   ══════════════════════════════════════ */
.page-transition {
  animation: pageIn 520ms var(--ease-out) both;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--charcoal);
}

.hero {
  min-height: 700px;
  display: grid;
  align-items: center;
}

.hero__media,
.page-hero__bg {
  position: absolute;
  inset: 0;
}

.hero__media::after,
.page-hero__bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.60) 50%, rgba(15, 23, 42, 0.20)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.40), rgba(15, 23, 42, 0));
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1200ms ease, transform 5200ms ease;
}

.hero-slider img.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__content,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  padding: 100px 0 120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(38px, 5.8vw, 68px);
}

.hero p:not(.eyebrow),
.page-hero p {
  max-width: 700px;
  color: #e2e8f0;
  font-size: 17px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 200ms var(--ease-out), box-shadow 200ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn--primary {
  color: #0f172a;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--gold-2), #f9c76a);
}

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.50);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn--light {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.btn--light:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn--outline {
  color: var(--gold);
  background: transparent;
  border: 2px solid var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ══════════════════════════════════════
   TRUST BAND
   ══════════════════════════════════════ */
.trust-band {
  color: #fff;
  background: var(--charcoal-2);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid article {
  min-height: 154px;
  padding: 30px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-grid article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-grid strong {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-2);
  font-size: 17px;
  font-weight: 700;
}

.trust-grid span {
  color: #cbd5e1;
  font-size: 14px;
}

/* ══════════════════════════════════════
   SECTION
   ══════════════════════════════════════ */
.section {
  padding: 96px 0;
}

.section--muted {
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
}

.section--dark {
  color: #fff;
  background: var(--charcoal);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 40px;
}

.section-head h2,
.split__content h2,
.page-hero h1,
.contact-info h2 {
  font-size: clamp(28px, 3.8vw, 44px);
}

.split__content h2 {
  line-height: 1.2;
}

.section-head--light h2 {
  color: #fff;
}

.text-link {
  color: var(--blue);
  font-weight: 700;
}

/* ══════════════════════════════════════
   FEATURE GRID
   ══════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card,
.doc-card,
.value-grid article,
.process-grid article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-card {
  overflow: hidden;
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 600ms ease;
}

.feature-card:hover img,
.solution-tile:hover img {
  transform: scale(1.04);
}

.feature-card div {
  padding: 24px;
}

/* Badge span */
.feature-card > div > span:first-child,
.product-row > div > span:first-child,
.solution-tile > div > span:first-child,
.doc-card > span:first-child {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #0f172a;
  background: rgba(232, 148, 10, 0.15);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-card h3,
.value-grid h3,
.process-grid h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.feature-card p,
.split__content p,
.product-row p,
.solution-tile p,
.doc-card small,
.contact-info p,
.value-grid p,
.process-grid p {
  color: var(--muted);
}

/* ══════════════════════════════════════
   SPLIT
   ══════════════════════════════════════ */
.split,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 16px;
  align-items: start;
}

.image-stack img,
.image-panel img,
.certifications img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  aspect-ratio: 3 / 4;
}

.image-stack img:last-child {
  margin-top: 42px;
  aspect-ratio: 3 / 4;
}

.image-panel img {
  max-height: 620px;
  object-position: top;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.metric-row div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 126px;
  padding: 20px 18px;
  border-left: 4px solid var(--gold);
  background: #fff;
}

.metric-row strong {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: baseline;
  justify-content: flex-start;
  font-size: clamp(32px, 2.8vw, 42px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.metric-row .metric-number {
  display: inline-block;
  color: var(--ink);
  font-size: inherit;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.metric-row span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  min-height: 38px;
  max-width: 150px;
}

/* ══════════════════════════════════════
   GRIDS
   ══════════════════════════════════════ */
.application-grid,
.value-grid,
.process-grid,
.document-grid,
.solution-matrix,
.service-grid {
  display: grid;
  gap: 20px;
}

.application-grid {
  grid-template-columns: repeat(4, 1fr);
}

.application-grid article,
.process-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  transition: background 200ms ease, border-color 200ms ease;
}

.application-grid article:hover,
.process-grid article:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.20);
}

.application-grid h3,
.process-grid h3 {
  color: var(--gold-2);
}

.application-grid p,
.process-grid p {
  color: #cbd5e1;
}

/* ══════════════════════════════════════
   PAGE HERO
   ══════════════════════════════════════ */
.page-hero {
  min-height: 360px;
  display: grid;
  align-items: center;
}

.page-hero .container {
  padding: 80px 0;
}

.page-hero--image .page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ══════════════════════════════════════
   PRODUCTS
   ══════════════════════════════════════ */
.product-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  align-items: start;
}

.product-nav {
  position: sticky;
  top: 122px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.product-nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  transition: color 140ms ease, background 140ms ease;
}

.product-nav a:hover {
  color: var(--ink);
  background: rgba(232, 148, 10, 0.12);
}

.product-list {
  display: grid;
  gap: 24px;
}

.product-row,
.solution-tile {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}

.product-row:hover,
.solution-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.solution-tile::after,
.product-row::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.solution-tile:hover::after,
.product-row:hover::after {
  transform: scaleX(1);
}

.product-row {
  grid-template-columns: minmax(310px, 0.9fr) 1fr;
  align-items: stretch;
}

.product-row img,
.solution-tile img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  transition: transform 600ms ease;
}

.solution-tile img {
  min-height: 260px;
  background: linear-gradient(145deg, #f8fafc 0%, #eef1f5 100%);
  object-fit: cover;
}

.product-row img {
  padding: 20px;
  background: linear-gradient(145deg, #f8fafc 0%, #eef1f5 100%);
  object-fit: contain;
  border-radius: 4px;
  margin: 10px;
}

.product-row--network {
  grid-template-columns: minmax(340px, 0.72fr) 1fr;
}

.product-row--network img {
  max-height: 430px;
  padding: 14px;
  object-position: center;
}

.product-row div,
.solution-tile div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 32px;
}

.product-row .btn,
.solution-tile .btn {
  margin-top: auto;
}

.product-row h2,
.solution-tile h2 {
  font-size: clamp(24px, 2.8vw, 36px);
}

.solution-matrix {
  grid-template-columns: 1fr;
}

.solution-tile {
  grid-template-columns: minmax(320px, 0.9fr) 1fr;
}

/* ══════════════════════════════════════
   PROCESS GRID (refined)
   ══════════════════════════════════════ */
.process-grid,
.value-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-grid article,
.value-grid article {
  padding: 32px 28px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}

.process-grid article:hover,
.value-grid article:hover {
  transform: translateY(-4px);
}

.process-grid article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.process-grid article > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(232, 148, 10, 0.15);
  color: var(--gold-2);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  transition: background 200ms ease;
}

.process-grid article:hover > span:first-child {
  background: rgba(232, 148, 10, 0.25);
}

.process-grid h3 {
  color: #f1f5f9;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.3;
}

.process-grid p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.value-grid article,
.value-grid article {
  border: 1px solid var(--line);
}

.value-grid article {
  padding: 28px;
}

.value-grid span,
.process-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 30px;
  font-weight: 800;
}

/* ══════════════════════════════════════
   DOCUMENTS
   ══════════════════════════════════════ */
.document-grid {
  grid-template-columns: repeat(4, 1fr);
}

.document-grid--wide {
  grid-template-columns: repeat(3, 1fr);
}

.doc-card {
  min-height: 218px;
  padding: 26px;
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
}

.doc-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 148, 10, 0.50);
  box-shadow: var(--shadow);
}

.doc-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
}

/* ══════════════════════════════════════
   CERTIFICATIONS CAROUSEL
   ══════════════════════════════════════ */
.certifications-section {
  padding: 64px 0;
  background: var(--soft);
  overflow: hidden;
}

.certifications-title {
  text-align: center;
  margin-bottom: 36px;
}

.certifications-title .eyebrow {
  display: inline-block;
  margin-bottom: 8px;
}

.certifications-title h2 {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--ink);
}

.cert-carousel {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.cert-carousel::before,
.cert-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.cert-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--soft), transparent);
}

.cert-carousel::after {
  right: 0;
  background: linear-gradient(-90deg, var(--soft), transparent);
}

.cert-track {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: certScroll 40s linear infinite;
  width: max-content;
}

.cert-track:hover {
  animation-play-state: paused;
}

.cert-item {
  flex-shrink: 0;
  height: 72px;
  width: auto;
  padding: 8px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cert-item:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold);
}

.cert-item img {
  max-height: 56px;
  max-width: 140px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}

@keyframes certScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ══════════════════════════════════════
   SERVICE GRID
   ══════════════════════════════════════ */
.service-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(232, 148, 10, 0.12);
  color: var(--gold);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.service-card p,
.document-strip p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.split--solutions {
  align-items: center;
}

.section--dark .split__content p {
  color: #cbd5e1;
}

.check-list--light li {
  color: #e2e8f0;
}

.solution-preview {
  display: grid;
  gap: 16px;
}

.solution-preview img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
}

.document-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.document-strip h2 {
  max-width: 780px;
}

/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
.contact-layout {
  align-items: start;
}

.contact-info a {
  color: var(--blue);
  font-weight: 700;
}

.contact-card {
  margin-top: 24px;
  padding: 22px;
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card span {
  margin-top: 8px;
  color: var(--muted);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid #d8dee7;
  border-radius: var(--radius-sm);
  font: inherit;
  resize: vertical;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 148, 10, 0.15);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: #16713a;
  font-weight: 700;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  color: var(--ink);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr 1.2fr;
  gap: 34px;
  padding: 58px 0 34px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.brand--footer {
  margin-bottom: 20px;
}

.brand--footer img {
  width: min(260px, 100%);
  max-height: 118px;
  padding: 0;
  filter: drop-shadow(0 14px 24px rgba(15, 23, 42, 0.12));
}

.footer h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  display: block;
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 14px;
  transition: color 140ms ease;
}

.footer a:hover {
  color: var(--gold);
}

.footer p a {
  display: inline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  transition: background 200ms ease, color 200ms ease, transform 200ms var(--ease-spring);
  margin-bottom: 0;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: scale(1.1);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-hours {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-hours strong {
  color: var(--ink);
  font-weight: 700;
}

/* Footer right column: hours + social stacked */
.footer-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 20px;
}

/* ══════════════════════════════════════
   REVEAL ANIMATION
   ══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal */
.reveal.is-visible:nth-child(2) { transition-delay: 80ms; }
.reveal.is-visible:nth-child(3) { transition-delay: 160ms; }
.reveal.is-visible:nth-child(4) { transition-delay: 240ms; }

/* ══════════════════════════════════════
   PARTNER BADGE
   ══════════════════════════════════════ */
.partner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.partner-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  max-width: 180px;
}

/* ══════════════════════════════════════
   PROJECT SUBSECTION
   ══════════════════════════════════════ */
.project-subsection {
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* ══════════════════════════════════════
   PROJECT GALLERY (modern, large)
   ══════════════════════════════════════ */
.project-gallery {
  margin-top: 34px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-grid--wide {
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.project-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--soft);
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.project-card:hover .project-card__img img {
  transform: scale(1.06);
}

.project-card__caption {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* ══════════════════════════════════════
   NEWS GRID
   ══════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.news-card__image {
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--soft);
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.news-card:hover .news-card__image img {
  transform: scale(1.06);
}

.news-card__content {
  padding: 24px;
}

.news-card__content time {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.news-card__content h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.news-card__content p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.news-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  transition: color 140ms ease;
}

.news-card__link:hover {
  color: var(--ink);
}

/* ══════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════════════
   TABLET  ≤ 1080px
   ══════════════════════════════════════ */
@media (max-width: 1080px) {
  .trust-grid,
  .application-grid,
  .document-grid,
  .document-grid--wide,
  .feature-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-nav {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .site-search__input {
    width: 150px;
  }

  .site-search__input:focus {
    width: 200px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-right-col {
    align-items: flex-start;
  }

  .project-grid,
  .project-grid--wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════
   SMALL TABLET  ≤ 860px
   ══════════════════════════════════════ */
@media (max-width: 860px) {
  .navbar__inner {
    min-height: 64px;
  }

  .brand img {
    max-height: 46px;
  }

  .site-search__input {
    width: 120px;
  }

  .site-search__input:focus {
    width: 160px;
  }

  .hero {
    min-height: 600px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .section-head,
  .split,
  .contact-layout,
  .product-row,
  .product-row--network,
  .solution-tile,
  .document-strip {
    grid-template-columns: 1fr;
  }

  .product-row img,
  .solution-tile img {
    min-height: 260px;
    max-height: 360px;
  }

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

  .footer-right-col {
    align-items: flex-start;
    flex-direction: row;
    gap: 32px;
  }
}

/* ══════════════════════════════════════
   MOBILE  ≤ 640px
   ══════════════════════════════════════ */
@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 120px;
    max-height: 40px;
  }

  .navbar__inner {
    min-height: 58px;
  }

  .site-search__input {
    width: 100px;
  }

  .site-search__input:focus {
    width: 140px;
  }

  .hero {
    min-height: 520px;
  }

  .hero__content,
  .page-hero .container {
    padding: 56px 0 68px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 30px;
  }

  .hero p:not(.eyebrow),
  .page-hero p {
    font-size: 15px;
  }

  .section {
    padding: 64px 0;
  }

  .trust-grid,
  .application-grid,
  .document-grid,
  .document-grid--wide,
  .feature-grid,
  .service-grid,
  .process-grid,
  .value-grid,
  .product-nav,
  .image-stack,
  .metric-row {
    grid-template-columns: 1fr;
  }

  .trust-grid article,
  .trust-grid article:last-child {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .image-stack img:last-child {
    margin-top: 0;
  }

  .feature-card div,
  .product-row div,
  .solution-tile div,
  .quote-form {
    padding: 20px;
  }

  .product-row img,
  .solution-tile img {
    min-height: 200px;
  }

  .product-row img {
    padding: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .sidebar {
    width: 100vw;
  }

  .sidebar-overlay.is-open {
    opacity: 0.5;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .project-grid,
  .project-grid--wide,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .project-card__caption {
    padding: 10px 12px;
    font-size: 13px;
  }

  .news-card__image {
    height: 160px;
  }

  .news-card__content {
    padding: 16px;
  }

  .news-card__content h3 {
    font-size: 16px;
  }

  .section-head {
    grid-template-columns: 1fr;
    margin-bottom: 28px;
  }

  .partner-logo {
    height: 28px;
    max-width: 130px;
  }

  .project-subsection {
    font-size: 16px;
  }

  .process-grid article {
    padding: 24px 20px;
  }

  .cert-item {
    height: 56px;
  }

  .cert-item img {
    max-height: 40px;
    max-width: 100px;
  }

  .footer-right-col {
    flex-direction: column;
    gap: 16px;
  }
}

/* ══════════════════════════════════════
   SMALL MOBILE  ≤ 480px
   ══════════════════════════════════════ */
@media (max-width: 480px) {
  .project-grid,
  .project-grid--wide,
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-card__img {
    aspect-ratio: 16 / 10;
  }

  .news-card__image {
    height: 180px;
  }

  .site-search {
    display: none;
  }

  .navbar__inner {
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .cert-carousel::before,
  .cert-carousel::after {
    width: 40px;
  }
}
