/* ==========================================================================
   PAK Vietnam Solution — Design System
   Brand: Empowering You to Create Value
   Palette: Orange #F98F43 · Blue #2C64C6 · Light Blue #93CAF0
            Light Green #81C977 · Green #40B148 · Navy #263056
            Cream #FDFBF7 · Off-white #FFFFFF
   ========================================================================== */

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

:root {
  --c-orange: #F98F43;
  --c-blue:   #2C64C6;
  --c-sky:    #93CAF0;
  --c-mint:   #81C977;
  --c-green:  #40B148;
  --c-navy:   #263056;
  --c-cream:  #FDFBF7;
  --c-paper:  #FFFFFF;
  --c-ink:    #1f2937;
  --c-muted:  #64748b;
  --c-border: #e5e7eb;

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

  --shadow-sm: 0 1px 2px rgba(38,48,86,.06), 0 1px 3px rgba(38,48,86,.05);
  --shadow:    0 8px 24px rgba(38,48,86,.08);
  --shadow-lg: 0 18px 48px rgba(38,48,86,.14);

  --container: 1200px;
  --gutter:    24px;

  --font: 'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Hide content until JS applies the default language (Vietnamese) — avoids a
   flash of the English fallback text baked into the HTML source. Removed by
   main.js once applyLang() runs; the <noscript> tag in <head> undoes this
   for visitors without JavaScript so the page never stays blank. */
html.lang-loading body { visibility: hidden; }

img, svg { max-width: 100%; display: block; }
a { color: var(--c-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { color: var(--c-navy); font-weight: 800; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.5px; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.1em; margin: 0 0 1em; }
li { margin-bottom: .35em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 14px;
}
.lede { font-size: 1.15rem; color: var(--c-muted); max-width: 720px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253,251,247,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-navy);
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 44px; height: 44px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text strong {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-navy);
  letter-spacing: -.3px;
}
.brand-text span {
  font-size: .7rem;
  color: var(--c-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 3px;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}
.nav-menu > li { margin: 0; position: relative; }
.nav-menu a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--c-navy);
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s ease, color .2s ease;
}
.nav-menu a:hover { background: #fff; text-decoration: none; color: var(--c-blue); }
.nav-menu a.active { color: var(--c-blue); }
.nav-menu .has-dropdown:hover > .dropdown,
.nav-menu .has-dropdown:focus-within > .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 260px;
  padding: 10px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 6px 0 0;
}
.dropdown li { margin: 0; }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.dropdown a:hover { background: var(--c-cream); }
.caret { display: inline-block; margin-left: 4px; transform: translateY(1px); }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 2px;
  background: #fff;
}
.lang-switch button {
  border: 0;
  background: transparent;
  font: 600 .85rem/1 var(--font);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--c-muted);
}
.lang-switch button.is-active {
  background: var(--c-navy);
  color: #fff;
}

.hamburger {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-navy);
  margin: 5px auto;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .2px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(249,143,67,.35);
}
.btn-primary:hover { background: #ee7e2e; color: #fff; }
.btn-secondary {
  background: var(--c-navy);
  color: #fff;
}
.btn-secondary:hover { background: #1c2547; color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}
.btn-outline:hover { background: var(--c-navy); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn-ghost:hover { background: #fff; color: var(--c-navy); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(147,202,240,.35), transparent 60%),
    radial-gradient(700px 360px at 10% 90%, rgba(249,143,67,.18), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--c-cream) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 .accent { color: var(--c-orange); }
.hero p.lede { font-size: 1.2rem; }
.hero-figure {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  padding: 40px;
}
.hero-figure svg { width: 70%; height: 70%; }
.hero-figure::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-blue), var(--c-mint));
  z-index: -1;
  filter: blur(40px);
  opacity: .25;
}

/* ---------- Value cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-top: 6px; }
.icon-badge {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 14px;
}
.bg-orange { background: var(--c-orange); }
.bg-blue   { background: var(--c-blue); }
.bg-sky    { background: var(--c-sky); color: var(--c-navy); }
.bg-mint   { background: var(--c-mint); }
.bg-green  { background: var(--c-green); }

/* ---------- Services overview (big cards) ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 44px;
}
.svc-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: #fff;
  background: var(--c-blue);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.svc-card:hover { transform: translateY(-4px); }
.svc-card a { color: #fff; text-decoration: none; }
.svc-card h3 { color: #fff; margin: 0 0 8px; }
.svc-card p { color: rgba(255,255,255,.9); }
.svc-card .more {
  margin-top: 18px;
  font-weight: 700;
  letter-spacing: .3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.svc-card.svc-printing  { background: linear-gradient(135deg, var(--c-blue), #1f4ea0); }
.svc-card.svc-cons      { background: linear-gradient(135deg, var(--c-orange), #d76d22); }
.svc-card.svc-consult   { background: linear-gradient(135deg, var(--c-green), #2e8e36); }
.svc-card.svc-equipment { background: linear-gradient(135deg, var(--c-navy), #3a4783); }
.svc-card::after {
  content: "";
  position: absolute;
  right: -50px; top: -50px;
  width: 180px; height: 180px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}

/* ---------- About snippet ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-figure {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.split-figure svg { width: 100%; }

/* ---------- Stats ---------- */
.stats {
  background: var(--c-navy);
  color: #fff;
  padding: 60px 0;
}
.stats h2, .stats h3 { color: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  font-weight: 800;
  color: var(--c-orange);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { color: rgba(255,255,255,.8); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.testi {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
}
.testi blockquote {
  margin: 0 0 18px;
  color: var(--c-ink);
  font-size: 1rem;
  font-style: italic;
}
.testi .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue), var(--c-mint));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .95rem;
}
.who strong { display: block; color: var(--c-navy); }
.who span { color: var(--c-muted); font-size: .85rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--c-orange) 0%, #d76d22 100%);
  color: #fff;
  text-align: center;
  padding: 70px 24px;
  border-radius: var(--radius-lg);
  margin: 60px var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.92); max-width: 600px; margin: 0 auto 24px; }
.cta-banner .btn-row { justify-content: center; }
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.cta-banner::before { width: 240px; height: 240px; top: -100px; left: -80px; }
.cta-banner::after  { width: 180px; height: 180px; bottom: -80px; right: -60px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 70px 0 50px;
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(147,202,240,.4), transparent 65%),
    linear-gradient(180deg, #fff, var(--c-cream));
}
.page-hero h1 { margin-bottom: 12px; }
.breadcrumb {
  font-size: .85rem;
  color: var(--c-muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--c-muted); }

/* ---------- Content blocks ---------- */
.prose { max-width: 760px; }
.prose p { font-size: 1.05rem; color: #374151; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; color: var(--c-blue); }
.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.feature-list li {
  padding: 14px 14px 14px 46px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-border);
  position: relative;
  font-size: .95rem;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  background: var(--c-green);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.contact-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px 14px;
}
.contact-info dt { color: var(--c-orange); font-size: 1.2rem; line-height: 1.4; }
.contact-info dd { margin: 0; color: var(--c-ink); }
.contact-info dd strong { display: block; color: var(--c-navy); margin-bottom: 2px; }
.map {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  aspect-ratio: 16 / 10;
}
.map iframe { width: 100%; height: 100%; border: 0; }

form.contact-form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  color: var(--c-navy);
  margin-bottom: 6px;
  letter-spacing: .2px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: 400 .95rem var(--font);
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(44,100,198,.18);
}
.field textarea { min-height: 130px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success {
  background: rgba(64,177,72,.12);
  border: 1px solid var(--c-green);
  color: #1c5121;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 14px;
  font-size: .95rem;
  display: none;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-navy);
  color: #cfd5e3;
  padding: 70px 0 26px;
  margin-top: 60px;
}
.site-footer h4 {
  color: #fff;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.site-footer a { color: #cfd5e3; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: 8px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: #93a1c0; }
.site-footer .tag { color: #93a1c0; font-size: .9rem; max-width: 320px; }
.copyright {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 50px;
  padding-top: 22px;
  text-align: center;
  font-size: .85rem;
  color: #93a1c0;
}

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split.reverse > :first-child { order: 0; }
  .hamburger { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    padding: 12px 16px;
    gap: 0;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 14px 10px; border-bottom: 1px solid var(--c-border); }
  .nav-menu li:last-child a { border-bottom: 0; }
  .dropdown {
    position: static;
    display: block;
    box-shadow: none;
    padding-left: 12px;
    min-width: 0;
  }
  .row-2 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
