/* ==========================================================================
   DMG GATEWAY - dmggateway.com
   Design system: navy #12294E / orange #ED7E2C, light theme
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/be-vietnam-pro-vietnamese-400-normal.woff2') format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/be-vietnam-pro-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/be-vietnam-pro-vietnamese-500-normal.woff2') format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/be-vietnam-pro-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/be-vietnam-pro-vietnamese-600-normal.woff2') format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/be-vietnam-pro-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/be-vietnam-pro-vietnamese-700-normal.woff2') format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/be-vietnam-pro-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/be-vietnam-pro-vietnamese-800-normal.woff2') format('woff2'); unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/be-vietnam-pro-latin-800-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --navy-950: #0B1B36;
  --navy-900: #12294E;   /* brand primary */
  --navy-800: #1A3563;
  --navy-700: #24447C;
  --navy-100: #E4EAF4;
  --navy-50:  #F0F4FA;
  --orange-600: #D96A1B;
  --orange-500: #ED7E2C; /* brand accent */
  --orange-100: #FDEBDC;
  --orange-50:  #FEF5EC;
  --ink: #16233B;
  --body: #46536A;
  --muted: #6B7891;
  --line: #E3E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --white: #FFFFFF;

  --font: 'Be Vietnam Pro', 'Noto Sans SC', 'Noto Sans KR', 'Segoe UI', -apple-system, 'PingFang SC', 'Malgun Gothic', sans-serif;

  --r-card: 14px;
  --r-btn: 8px;
  --r-img: 14px;

  --shadow-card: 0 1px 2px rgba(18,41,78,.06), 0 10px 30px -12px rgba(18,41,78,.14);
  --shadow-card-hover: 0 2px 4px rgba(18,41,78,.08), 0 20px 44px -14px rgba(18,41,78,.22);

  --ease: cubic-bezier(.16,1,.3,1);
  --header-h: 72px;
  --topbar-h: 38px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--body);
  font-size: 16px; line-height: 1.65; background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid rgba(237,126,44,.55); outline-offset: 2px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Type scale ---------- */
.h-display { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.h-section { font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 800; letter-spacing: -.015em; }
.h-card { font-size: 1.18rem; font-weight: 700; }
.lead { font-size: 1.09rem; color: var(--body); }
.section-intro { max-width: 62ch; }
.accent { color: var(--orange-500); }
.on-dark { color: #fff; }
.on-dark-sub { color: rgba(255,255,255,.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-btn); font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .18s, color .18s, border-color .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: 0 8px 20px -8px rgba(237,126,44,.55); }
.btn-primary:hover { background: var(--orange-600); box-shadow: 0 12px 26px -8px rgba(237,126,44,.6); transform: translateY(-1px); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: #C7D2E2; }
.btn-outline:hover { border-color: var(--navy-900); background: var(--navy-50); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 1.04rem; }
.btn .i { width: 18px; height: 18px; flex: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: rgba(255,255,255,.85); font-size: .84rem; height: var(--topbar-h); position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.topbar-contacts { display: flex; gap: 22px; align-items: center; min-width: 0; }
.topbar-contacts a { display: inline-flex; align-items: center; gap: 7px; transition: color .15s; white-space: nowrap; }
.topbar-contacts a:hover { color: var(--orange-500); }
.topbar .i { width: 14px; height: 14px; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch > button {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.08);
  color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  padding: 4px 12px; font-size: .82rem; font-weight: 600; cursor: pointer; line-height: 1.4;
  transition: background .15s;
}
.lang-switch > button:hover { background: rgba(255,255,255,.16); }
.lang-switch .i { width: 13px; height: 13px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff; color: var(--ink);
  border-radius: 10px; box-shadow: 0 12px 40px -8px rgba(11,27,54,.35); border: 1px solid var(--line);
  min-width: 168px; padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; z-index: 100;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  width: 100%; text-align: left; background: none; border: 0; padding: 9px 12px; border-radius: 7px;
  font-size: .9rem; cursor: pointer; display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 500;
}
.lang-menu button:hover { background: var(--navy-50); }
.lang-menu button.active { background: var(--orange-50); color: var(--orange-600); font-weight: 700; }
.lang-flag { font-size: 1rem; width: 20px; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(18,41,78,.18); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > li { position: relative; }
.main-nav a.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; font-weight: 600;
  font-size: .95rem; color: var(--ink); border-radius: 8px; transition: color .15s, background .15s;
}
.main-nav a.nav-link:hover, .main-nav li.active > a.nav-link { color: var(--orange-600); }
.main-nav a.nav-link .i { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.main-nav li:hover a.nav-link .i { transform: rotate(180deg); }
.dropdown {
  position: absolute; left: 0; top: 100%; padding-top: 10px; min-width: 268px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.main-nav li:hover .dropdown, .main-nav li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-inner { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 50px -12px rgba(18,41,78,.25); padding: 8px; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.dropdown a:hover { background: var(--navy-50); color: var(--orange-600); }
.dropdown a small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; margin-top: 1px; }
.nav-cta { flex: none; display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 20px; font-size: .92rem; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle .i { width: 26px; height: 26px; color: var(--navy-900); }
@media (max-width: 1023px) {
  .main-nav, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav {
    position: fixed; inset: 0; top: 0; background: #fff; z-index: 90; padding: 20px 24px 40px;
    overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .mobile-nav.open { transform: none; }
  .mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
  .mobile-nav-head img { height: 40px; }
  .mobile-nav ul li { border-bottom: 1px solid var(--line); }
  .mobile-nav ul a { display: block; padding: 14px 4px; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
  .mobile-nav .sub a { padding: 10px 4px 10px 18px; font-weight: 500; font-size: .94rem; color: var(--body); }
  .mobile-nav .btn { width: 100%; margin-top: 18px; }
}
@media (min-width: 1024px) { .mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88dvh, 780px); display: flex; align-items: center; overflow: hidden; background: var(--navy-950); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.active img { animation: kenburns 9s ease-out forwards; }
  @keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(78deg, rgba(11,27,54,.88) 0%, rgba(11,27,54,.72) 38%, rgba(11,27,54,.28) 72%, rgba(11,27,54,.15) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 90px 0 120px; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(237,126,44,.16);
  border: 1px solid rgba(237,126,44,.5); color: #FFB077; font-weight: 600; font-size: .86rem;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .lead { color: rgba(255,255,255,.85); max-width: 54ch; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots { position: absolute; z-index: 3; left: 24px; bottom: 26px; display: flex; gap: 8px; }
.hero-dots button { width: 26px; height: 4px; border-radius: 2px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .2s, width .2s; padding: 0; }
.hero-dots button.active { background: var(--orange-500); width: 40px; }

/* Stat band overlapping hero bottom */
.stat-band { position: relative; z-index: 5; margin-top: -66px; }
.stat-band-inner {
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card-hover);
  display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line);
}
.stat-cell { padding: 26px 22px; text-align: center; position: relative; }
.stat-cell + .stat-cell::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.02em; line-height: 1.1; }
.stat-num .accent { font-size: .7em; vertical-align: super; }
.stat-label { font-size: .88rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 767px) {
  .stat-band-inner { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(3)::before { display: none; }
  .stat-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { margin-bottom: 46px; }
.kicker {
  display: inline-block; color: var(--orange-600); font-weight: 700; font-size: .88rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px;
}
.section-head .h-section { max-width: 26ch; }
.section-head.center { text-align: center; }
.section-head.center .h-section, .section-head.center .section-intro { margin-left: auto; margin-right: auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide, .hero-slide.active img { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- About (split collage) ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media .img-main { border-radius: var(--r-img); box-shadow: var(--shadow-card-hover); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-media .img-float {
  position: absolute; right: -28px; bottom: -34px; width: 46%; border-radius: var(--r-img);
  border: 5px solid #fff; box-shadow: var(--shadow-card-hover); aspect-ratio: 4/3; object-fit: cover;
}
.about-badge {
  position: absolute; left: -20px; top: 26px; background: var(--navy-900); color: #fff;
  padding: 14px 20px; border-radius: 12px; box-shadow: var(--shadow-card-hover);
}
.about-badge b { display: block; font-size: 1.5rem; letter-spacing: -.02em; }
.about-badge span { font-size: .8rem; color: rgba(255,255,255,.75); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; color: var(--ink); font-weight: 500; }
.checklist .i { width: 21px; height: 21px; color: var(--orange-500); flex: none; margin-top: 2px; }
.vm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.vm-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.vm-card .i { width: 26px; height: 26px; color: var(--orange-500); margin-bottom: 10px; }
.vm-card h4 { margin-bottom: 6px; font-size: 1rem; }
.vm-card p { font-size: .9rem; margin: 0; }
@media (max-width: 1023px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-media { margin-right: 28px; }
}

/* ---------- Values strip ---------- */
.values-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.value-item { text-align: center; padding: 26px 14px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.value-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.value-icon { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; background: var(--orange-50); display: flex; align-items: center; justify-content: center; }
.value-icon .i { width: 26px; height: 26px; color: var(--orange-600); }
.value-item h4 { font-size: .98rem; margin-bottom: 4px; }
.value-item p { font-size: .84rem; margin: 0; color: var(--muted); }
@media (max-width: 1023px) { .values-strip { grid-template-columns: repeat(2, 1fr); } .value-item:last-child { grid-column: span 2; } }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.project-card {
  position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--navy-900);
  min-height: 340px; display: flex; align-items: flex-end; box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover img { transform: scale(1.05); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,27,54,.92) 0%, rgba(11,27,54,.35) 45%, rgba(11,27,54,.05) 70%); }
.project-info { position: relative; z-index: 2; padding: 24px; width: 100%; }
.project-tag {
  display: inline-block; background: var(--orange-500); color: #fff; font-size: .76rem; font-weight: 700;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 10px; letter-spacing: .04em;
}
.project-info h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 14px; color: rgba(255,255,255,.82); font-size: .87rem; }
.project-meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-meta .i { width: 15px; height: 15px; color: var(--orange-500); }
.project-link-arrow {
  position: absolute; z-index: 3; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.16); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background .2s, transform .2s;
}
.project-card:hover .project-link-arrow { background: var(--orange-500); transform: rotate(45deg); }
.project-link-arrow .i { width: 18px; height: 18px; }
.pc-lg { grid-column: span 7; min-height: 430px; }
.pc-md { grid-column: span 5; min-height: 430px; }
.pc-sm { grid-column: span 6; }
@media (max-width: 1023px) { .pc-lg, .pc-md, .pc-sm { grid-column: span 12; min-height: 320px; } }

/* ---------- Services bento ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 30px 26px;
  transition: transform .28s var(--ease), box-shadow .28s, border-color .28s; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); border-color: #F0C9A6; }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--navy-50); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: background .25s; }
.service-icon .i { width: 26px; height: 26px; color: var(--navy-900); transition: color .25s; }
.service-card:hover .service-icon { background: var(--orange-500); }
.service-card:hover .service-icon .i { color: #fff; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-card p { font-size: .92rem; margin-bottom: 16px; flex: 1; }
.service-more { display: inline-flex; align-items: center; gap: 7px; color: var(--orange-600); font-weight: 600; font-size: .9rem; }
.service-more .i { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .service-more .i { transform: translateX(4px); }
.service-card.featured { background: var(--navy-900); border-color: var(--navy-900); grid-row: span 2; background-size: cover; background-position: center; }
.service-card.featured h3, .service-card.featured p { color: #fff; }
.service-card.featured p { color: rgba(255,255,255,.8); }
.service-card.featured .service-icon { background: rgba(255,255,255,.12); }
.service-card.featured .service-icon .i { color: var(--orange-500); }
.service-card.featured .service-more { color: #FFB077; }
.service-card[data-span2] { grid-column: span 2; }
@media (max-width: 1023px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .services-grid { grid-template-columns: 1fr; } .service-card[data-span2] { grid-column: auto; } }

/* ---------- Why Bac Ninh (navy band) ---------- */
.band-navy { background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%); color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.band-navy .h-section { color: #fff; }
.band-navy .kicker { color: var(--orange-500); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-list li { display: flex; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.why-list li:last-child { border-bottom: 0; }
.why-ico { width: 46px; height: 46px; flex: none; border-radius: 11px; background: rgba(237,126,44,.15); border: 1px solid rgba(237,126,44,.35); display: flex; align-items: center; justify-content: center; }
.why-ico .i { width: 22px; height: 22px; color: var(--orange-500); }
.why-list h4 { color: #fff; font-size: 1.02rem; margin-bottom: 3px; }
.why-list p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.72); }
.dist-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-card); padding: 28px; backdrop-filter: blur(4px); }
.dist-card h3 { color: #fff; font-size: 1.08rem; margin-bottom: 16px; display: flex; align-items: center; gap: 9px; }
.dist-card h3 .i { width: 20px; height: 20px; color: var(--orange-500); }
.dist-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: .93rem; }
.dist-row .i { width: 17px; height: 17px; color: rgba(255,255,255,.55); flex: none; }
.dist-row b { margin-left: auto; color: var(--orange-500); font-weight: 700; white-space: nowrap; }
.dist-media { border-radius: var(--r-img); overflow: hidden; margin-bottom: 22px; box-shadow: 0 24px 60px -18px rgba(0,0,0,.5); }
.dist-media img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
@media (max-width: 1023px) { .why-grid { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.process-step { padding: 0 26px; position: relative; }
.process-step + .process-step::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 8px; width: 1px; background: var(--line); }
.process-num {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--orange-500);
  color: var(--orange-600); font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.process-step h4 { font-size: 1.05rem; margin-bottom: 7px; }
.process-step p { font-size: .9rem; margin: 0; }
@media (max-width: 1023px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .process-step:nth-child(3)::before { display: none; }
}
@media (max-width: 639px) { .process-grid { grid-template-columns: 1fr; } .process-step::before { display: none !important; } .process-step { padding: 0; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 14px; }
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
@media (max-width: 767px) { .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } }
.lightbox {
  position: fixed; inset: 0; background: rgba(11,27,54,.92); z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 22px; right: 26px; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; }
.lightbox-nav:hover, .lightbox-close:hover { background: var(--orange-500); }
.lightbox-prev { left: 22px; } .lightbox-next { right: 22px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; transition: transform .28s var(--ease), box-shadow .28s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.news-thumb { aspect-ratio: 16/9; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; gap: 12px; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.news-cat { color: var(--orange-600); font-weight: 700; }
.news-body h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 8px; }
.news-body h3 a:hover { color: var(--orange-600); }
.news-body p { font-size: .9rem; flex: 1; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1023px) { .news-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.cta-inner { position: relative; z-index: 2; text-align: center; padding: 84px 24px; max-width: 760px; margin: 0 auto; }
.cta-inner h2 { color: #fff; margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,.8); margin-bottom: 30px; }
.cta-inner .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.contact-info-card { background: var(--navy-900); border-radius: var(--r-card); padding: 34px 30px; color: rgba(255,255,255,.85); }
.contact-info-card h3 { color: #fff; margin-bottom: 20px; }
.contact-line { display: flex; gap: 14px; padding: 12px 0; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line .i { width: 20px; height: 20px; color: var(--orange-500); flex: none; margin-top: 3px; }
.contact-line b { display: block; color: #fff; font-size: .92rem; }
.contact-line span, .contact-line a { font-size: .92rem; color: rgba(255,255,255,.75); }
.contact-line a:hover { color: var(--orange-500); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 34px 30px; box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.form-group label .req { color: var(--orange-600); }
.form-control {
  width: 100%; padding: 12px 14px; border: 1px solid #CBD5E3; border-radius: var(--r-btn);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus { outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(237,126,44,.18); }
.form-control::placeholder { color: #93A1B8; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.form-status { display: none; padding: 12px 16px; border-radius: 8px; font-size: .92rem; font-weight: 500; margin-bottom: 16px; }
.form-status.ok { display: block; background: #E8F7EE; color: #1B7A43; border: 1px solid #BFE8CF; }
.form-status.err { display: block; background: #FDEDED; color: #B3261E; border: 1px solid #F5C6C4; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.72); font-size: .93rem; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 64px 0 46px; }
.footer-brand img { height: 58px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; }
.footer-col h4 { color: #fff; font-size: .98rem; margin-bottom: 16px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { transition: color .15s; }
.footer-col a:hover { color: var(--orange-500); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact .i { width: 17px; height: 17px; color: var(--orange-500); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .84rem; color: rgba(255,255,255,.55); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-social a:hover { background: var(--orange-500); color: #fff; }
.footer-social .i { width: 17px; height: 17px; }
@media (max-width: 1023px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 639px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Floating quick contact ---------- */
.quick-contact { position: fixed; right: 18px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; gap: 11px; }
.qc-btn {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(11,27,54,.4); transition: transform .2s var(--ease); position: relative;
}
.qc-btn:hover { transform: translateY(-3px) scale(1.06); }
.qc-btn img, .qc-btn .i { width: 26px; height: 26px; }
.qc-phone { background: var(--orange-500); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .qc-phone { animation: qc-ring 2.4s ease-in-out infinite; }
  @keyframes qc-ring { 0%,100% { box-shadow: 0 10px 26px -6px rgba(11,27,54,.4), 0 0 0 0 rgba(237,126,44,.45); } 50% { box-shadow: 0 10px 26px -6px rgba(11,27,54,.4), 0 0 0 12px rgba(237,126,44,0); } }
}
.qc-zalo { background: #0068FF; color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .01em; }
.qc-top { background: #fff; color: var(--navy-900); border: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s, transform .2s var(--ease); }
.qc-top.show { opacity: 1; visibility: visible; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; background: var(--navy-950); overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,27,54,.92), rgba(11,27,54,.55)); }
.page-hero-inner { position: relative; z-index: 2; padding: 84px 0 66px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: rgba(255,255,255,.65); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--orange-500); }
.breadcrumb .sep { opacity: .5; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.page-hero .lead { color: rgba(255,255,255,.82); margin: 12px 0 0; max-width: 62ch; }

/* ---------- Project detail ---------- */
.spec-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.spec-side { position: sticky; top: calc(var(--header-h) + 20px); }
.spec-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); }
.spec-card-head { background: var(--navy-900); color: #fff; padding: 16px 22px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.spec-card-head .i { width: 18px; height: 18px; color: var(--orange-500); }
.spec-card-body { padding: 8px 22px 16px; }
.spec-item { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: .93rem; border-bottom: 1px dashed var(--line); }
.spec-item:last-child { border-bottom: 0; }
.spec-item span { color: var(--muted); }
.spec-item b { color: var(--ink); text-align: right; }
.spec-cta { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.detail-body h2 { font-size: 1.45rem; margin: 34px 0 14px; }
.detail-body h2:first-child { margin-top: 0; }
.feature-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.feature-tile { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.feature-tile .i { width: 24px; height: 24px; color: var(--orange-500); margin-bottom: 9px; }
.feature-tile b { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 3px; }
.feature-tile span { font-size: .86rem; color: var(--body); }
@media (max-width: 1023px) { .spec-layout { grid-template-columns: 1fr; } .spec-side { position: static; } }
@media (max-width: 639px) { .feature-tiles { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-meta { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.article-cover { border-radius: var(--r-img); overflow: hidden; margin: 26px 0 34px; box-shadow: var(--shadow-card); }
.article-body { font-size: 1.04rem; }
.article-body h2 { font-size: 1.5rem; margin: 38px 0 14px; }
.article-body h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.article-body ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.article-body li { margin-bottom: 6px; }
.article-body img { border-radius: 12px; margin: 10px 0; }
.article-body blockquote { border-left: 4px solid var(--orange-500); background: var(--orange-50); margin: 22px 0; padding: 16px 22px; border-radius: 0 10px 10px 0; color: var(--ink); font-weight: 500; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.article-tags span { background: var(--navy-50); color: var(--navy-800); font-size: .8rem; font-weight: 600; padding: 5px 13px; border-radius: 999px; }

/* Language content blocks in articles */
[data-lang-block] { display: none; }
[data-lang-block].active { display: block; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
@media (max-width: 1023px) { .grid-2 { grid-template-columns: 1fr; } }
.img-rounded { border-radius: var(--r-img); box-shadow: var(--shadow-card); }
.text-center { text-align: center; }
.i { display: inline-block; vertical-align: middle; }
svg.i { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Page-load fade */
@media (prefers-reduced-motion: no-preference) {
  body { animation: pagefade .5s ease-out; }
  @keyframes pagefade { from { opacity: 0; } to { opacity: 1; } }
}

@media (max-width: 639px) {
  .section { padding: 64px 0; }
  .hero-content { padding: 70px 0 110px; }
  .topbar-contacts a span.hide-sm { display: none; }
}
