@font-face {
  font-family: 'SonySketchGO';
  src: url('../fonts/SonySketchGO.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ===== Reset & base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Scroll-snap chain: hero -> tile-row (danh mục sản phẩm) -> dark-banner 1 -> dark-banner 2.
     Each of these is exactly one full screen (100vh/100dvh), so one mouse-wheel drag
     jumps to the next/previous block instead of scrolling freely mid-block. */
  scroll-snap-type: y mandatory;
}
body {
  font-family: 'Be Vietnam Pro', 'Inter', system-ui, sans-serif;
  color: #2b2f36;
  line-height: 1.6;
  background: var(--gray-light);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --dark: #0d1b30;
  --dark-2: #0a1424;
  --accent: #13cc96;
  --accent-dark: #0fa378;
  --purple: #6a5cf5;
  --purple-dark: #5647d6;
  --gray-light: #f4f5f7;
  --gray-border: #e3e5e9;
  --text-muted: #6b7280;
  --radius: 10px;
  --transition: .25s ease;
  --header-overlap: 129px;
}

.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Top bar ===== */
.topbar {
  background: transparent;
  color: #cfd3da;
  font-size: 15px;
  position: relative;
  z-index: 101;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 42px;
}
.topbar-contact { display: flex; align-items: center; }
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 18px;
  color: #cfd3da;
  transition: color var(--transition);
}
.topbar-item:hover { color: var(--accent); }
.topbar-contact a[href^="mailto:"] { font-size: 1.18em; }
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-social-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: background var(--transition);
}
.topbar-social-ico:hover { background: var(--accent); }
.topbar-social-ico--fb:hover { background: #1877f2; }
.topbar-social-ico--yt:hover { background: #ff0000; }
.topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 8px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.topbar-pill:hover {
  transform: translateY(-1px);
}
.topbar-pill--zalo:hover { background: #0068ff; }
.topbar-pill--wa:hover { background: #25d366; }
.topbar-lang .lang {
  padding: 0 6px;
  opacity: .6;
}
.topbar-lang .lang.active { opacity: 1; font-weight: 600; color: var(--accent); }
.topbar-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 8px 14px;
  border-left: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  color: #cfd3da;
  transition: background var(--transition);
}
.topbar-search:hover {
  background: rgba(255,255,255,.25);
}
.search-highlight {
  animation: searchFlash 1.8s ease;
  border-radius: 4px;
}
@keyframes searchFlash {
  0%, 100% { background: transparent; }
  15%, 60% { background: rgba(0, 217, 163, .35); }
}
.topbar-search input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14.5px;
  width: 185px;
}
.topbar-search input::placeholder { color: #9aa5b3; }

/* ===== Header ===== */
.header {
  background: transparent;
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.header.is-scrolled {
  background: #fff;
  border-bottom-color: var(--gray-border);
}
.header.is-scrolled .logo-text {
  color: var(--dark);
}
.header.is-scrolled .logo-text small {
  color: var(--text-muted);
}
.header.is-scrolled .nav > ul > li > a {
  color: var(--dark);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 86px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 48px;
}
.logo-placeholder {
  width: 46px;
  height: 46px;
  border: 1.5px dashed #b9bdc6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #9aa0ab;
  text-align: center;
  flex-shrink: 0;
  background: #fafafa;
}
.logo-img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
}
.logo-img-footer {
  height: 40px;
  margin-bottom: 14px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .3px;
  color: #fff;
  transition: color .35s ease;
}
.logo-text small {
  font-weight: 500;
  font-size: 11px;
  color: #9aa5b3;
  letter-spacing: 0;
  transition: color .35s ease;
}

.nav ul {
  display: flex;
  gap: 28px;
}
.nav > ul > li {
  position: relative;
}
.nav > ul > li > a {
  position: relative;
  display: inline-block;
  font-weight: 600;
  font-size: 20px;
  padding: 8px 0;
  color: #fff;
  transition: color .35s ease;
}
.nav > ul > li > a:hover { color: var(--accent); }
.nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  transition: width .3s ease;
}
.nav > ul > li > a:hover::after {
  width: 100%;
}

.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  border-radius: var(--radius);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--transition);
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--dark-2);
}
.dropdown li a:hover { background: var(--gray-light); color: var(--accent); }

.header-cta { white-space: nowrap; margin-left: auto; }
.btn.header-cta { border-radius: 3px; padding-top: 6.5px; padding-bottom: 6.5px; font-size: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  display: block;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 300;
  font-size: 19px;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-outline {
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--dark);
}
.btn-purple {
  background: linear-gradient(90deg, #29c6ea, var(--purple));
  color: #fff;
  transition: background .3s ease, transform var(--transition);
}
.btn-purple:hover {
  background: linear-gradient(90deg, var(--purple), #29c6ea);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
}

/* ===== Placeholder image blocks ===== */
.img-placeholder {
  background: repeating-linear-gradient(45deg, #eef0f3, #eef0f3 10px, #e6e8ec 10px, #e6e8ec 20px);
  border: 1.5px dashed #c3c7ce;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a8f99;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh; /* matches the device's actual visible screen, not just the CSS viewport */
  margin-top: calc(-1 * var(--header-overlap));
  overflow: hidden;
  background: var(--dark);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.hero-track {
  display: flex;
  width: 300%;
  height: 100%;
  flex-shrink: 0;
  transition: transform .9s cubic-bezier(.65,0,.35,1);
}
.hero-slide {
  position: relative;
  width: 33.3334%;
  height: 100%;
  box-sizing: border-box;
  padding-top: var(--header-overlap);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,27,48,.92) 0%, rgba(13,27,48,.65) 55%, rgba(13,27,48,.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero-arrow {
  position: absolute;
  top: var(--header-overlap);
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  transform: translateY(-50px);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 0;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-arrow::before {
  content: '';
  width: 14px;
  height: 14px;
  border-top: 2.5px solid var(--accent);
  border-left: 2.5px solid var(--accent);
  opacity: .7;
  transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}
.hero-arrow:hover::before {
  opacity: 1;
}
.hero-arrow-left::before { transform: rotate(-45deg); }
.hero-arrow-right::before { transform: rotate(135deg); }
.hero-arrow:hover::before { border-color: #fff; }
.hero-arrow-left { left: 24px; }
.hero-arrow-right { right: 24px; }
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow.center { text-align: center; }
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }
.hero-desc {
  color: #cfd3da;
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; }

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active { background: var(--accent); width: 22px; border-radius: 5px; }

/* ===== Tile row ===== */
.tile-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: 100vh;
  height: 100dvh; /* full screen of the device on desktop's 4x2 grid; reverts to natural stacked height once columns collapse on mobile (see responsive block) */
  border-top: 1.5px solid var(--accent);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.tile {
  position: relative;
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
  border-left: 2px solid #9aa0ab;
  border-right: 2px solid #9aa0ab;
  border-bottom: 2px solid #9aa0ab;
  transition: border-color .25s ease;
}
.tile:hover {
  border-color: var(--accent);
}
.tile-img {
  position: absolute;
  inset: 0;
  border-radius: 0;
  transition: transform .5s ease;
}
.tile-img-real {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: linear-gradient(180deg, rgba(10,20,35,.25) 0%, rgba(10,20,35,.55) 100%);
}
.tile-overlay-dark {
  background: rgba(0, 0, 0, .4);
}
.tile-title {
  color: rgba(255, 255, 255, .6);
  font-family: 'Roboto', 'Arial', sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: .5px;
  text-transform: uppercase;
  text-align: center;
  transition: opacity .3s cubic-bezier(.22,1,.36,1);
}
.tile-title-stacked { line-height: 0.85; font-family: 'SonySketchGO', 'Roboto', 'Arial', sans-serif; }
.tile-logo-strip {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 60px;
  background: transparent;
  clip-path: polygon(50% 0%, 100% 100%, 0% 50%);
  transition: opacity .3s cubic-bezier(.22,1,.36,1);
}
.tile-has-sublist:hover .tile-logo-strip {
  opacity: 0;
}
.tile-title-logo {
  max-width: 260px;
  width: 70%;
  height: auto;
  transition: opacity .3s cubic-bezier(.22,1,.36,1);
}
.tile-title-logo-go2cam {
  max-width: 80px;
  width: 40%;
}
.tile-title-stacked .go2-part {
  font-size: 1.1em;
  font-weight: 400;
  color: #00ffcc;
}
.tile-title-stacked .cam-part { color: #fff; font-weight: 400; }
.tile-sublist {
  position: absolute;
  text-align: center;
  visibility: hidden;
  transition: visibility 0s linear .3s;
}
.tile-sublist li {
  color: #fff;
  font-family: 'Roboto', 'Arial', sans-serif;
  font-size: 17px;
  font-weight: 700;
  padding: 5px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1);
}
.tile-sublist li:hover {
  color: var(--accent);
}
.tile-has-sublist:hover .tile-title,
.tile-has-sublist:hover .tile-title-logo {
  opacity: 0;
}
.tile-has-sublist:hover .tile-sublist {
  visibility: visible;
  transition-delay: 0s;
}
/* The title fades out first (.3s); only once it's gone does the list begin
   rising in, one line at a time, each waiting for the previous to settle. */
.tile-has-sublist:hover .tile-sublist li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: .3s; }
.tile-has-sublist:hover .tile-sublist li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: .48s; }
.tile-has-sublist:hover .tile-sublist li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: .66s; }
.tile-has-sublist:hover .tile-sublist li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: .84s; }
.tile-has-sublist:hover .tile-sublist li:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 1.02s; }
.tile:hover .tile-img { transform: scale(1.07); }

/* ===== Why choose us (panel) ===== */
.whyus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  height: 100dvh; /* full screen of the device, same as .dark-banner */
  /* Now a full-screen block like hero/tile-row/dark-banner, so it joins the
     hard-stop snap chain instead of just being a soft snap-align target. */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.whyus-media { position: relative; min-height: 0; }
.whyus-placeholder { position: absolute; inset: 0; border-radius: 0; height: 100%; }
.whyus-panel {
  background: var(--accent);
  color: #063b2d;
  padding: 64px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}
.whyus-panel h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
}
.eyebrow-light {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #063b2d;
  opacity: .75;
  margin-bottom: 10px;
}
.feature-list-light .feature-icon { background: #063b2d; }
.feature-list-light h4 { color: #063b2d; }
.feature-list-light p { color: #041f16; }
.whyus-panel .btn-dark { margin-top: 30px; align-self: flex-start; }

/* ===== Trust bar ===== */
.trustbar {
  background: var(--gray-light);
  padding: 30px 0;
  border-bottom: 1px solid var(--gray-border);
}
.trustbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.logo-strip-item {
  width: 140px;
  height: 50px;
  font-size: 11px;
  border-radius: 6px;
}

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--gray-light); }
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
}
.section-title.center, .section-desc.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 620px;
  margin-bottom: 46px;
}

/* ===== Grid & cards ===== */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(20,22,30,.08);
}
.card-img { height: 170px; margin-bottom: 18px; font-size: 13px; }
.card h3 { font-size: 18px; margin-bottom: 10px; color: var(--dark); }
.card p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 14px; }
/* Reserve room for .card-link, pinned absolutely at the bottom — same
   treatment as .post-readmore in the Latest News cards. Scoped to the
   products grid only, so .card-simple (training page, no link) isn't
   affected. */
#san-pham .card { padding-bottom: 70px; }
.card-link {
  position: absolute;
  left: 15px;
  bottom: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 300;
  font-size: 26px;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background .2s ease, transform .2s ease;
}
.card-link:hover { background: var(--accent-dark); transform: translateY(-2px); }
.card-link svg { width: 24px; height: 24px; transform: translateY(-3px) rotate(-45deg); opacity: .8; }

.card-simple { text-align: center; }
.icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,122,26,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}

.tech-solution-wrap {
  background: #e8eaec;
  padding: 0;
}
.tech-solution-wrap .split {
  margin-top: 25px;
}

/* ===== Dark banners (Mill-Turn / Automation) =====
   Two real grid columns (text | media) instead of an absolutely-positioned
   image floating over the text. The parallelogram's slanted edge lives on
   the media column's own left side, so it always sits right on the column
   boundary — no % + fixed-px math that only balances at one exact width. */
.dark-banner {
  position: relative;
  display: grid;
  /* Not an even 50/50 split: the media column is intentionally a bit wider
     so the diagonal cut's midpoint lands on the page's exact center line,
     not on the column boundary itself. */
  grid-template-columns: 47% 53%;
  align-items: stretch;
  background: var(--dark);
  height: 100vh;
  height: 100dvh; /* accounts for mobile browser UI bars, so it matches the device's actual visible screen, not just the CSS viewport */
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.dark-banner-alt {
  background: var(--dark-2);
  grid-template-columns: 53% 47%; /* mirrored split, same reasoning as .dark-banner */
}
/* Alternate layout: odd banners are text-left/media-right (default DOM
   order below); .dark-banner-alt (every even one) mirrors it — media-left,
   text-right — by swapping grid order only, so the HTML markup order
   (text first, then media) never has to change. */
.dark-banner-alt .dark-banner-text {
  order: 2;
  padding-left: 40px;
  padding-right: max(20px, calc((100% - 1350px) / 2 + 20px));
}
.dark-banner-alt .dark-banner-media {
  order: 1;
  clip-path: polygon(0% 0%, 88% 0%, 100% 100%, 0% 100%);
}
.dark-banner + .dark-banner {
  margin-top: 3px;
}
.tile-row + .dark-banner {
  margin-top: 3px;
}
.dark-banner + .whyus {
  margin-top: 3px;
}
.dark-banner-text {
  display: flex;
  align-items: center;
  min-height: 0;
  padding-left: max(20px, calc((100% - 1350px) / 2 + 20px));
  padding-right: 40px;
}
.dark-banner-media {
  position: relative;
  min-height: 0;
  clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.dark-banner-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.dark-banner-content {
  max-width: 560px;
  color: #fff;
  padding: 60px 0;
}
.dark-banner-content .eyebrow {
  letter-spacing: 3px;
}
.dark-banner-content h2 {
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 10px 0 18px;
}
.dark-banner-content p {
  color: #cfd3da;
  font-size: clamp(12.5px, 1.1vw, 15.5px);
  margin-bottom: 26px;
}
.dark-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.dark-banner-actions .btn {
  border-radius: 4px;
}

@media (max-width: 900px) {
  .dark-banner {
    display: flex;
    flex-direction: column;
  }
  .dark-banner-text,
  .dark-banner-alt .dark-banner-text {
    padding: 32px 20px 16px;
    order: 1;
    flex: 0 0 auto;
  }
  .dark-banner-media,
  .dark-banner-alt .dark-banner-media {
    order: 2;
    flex: 1 1 auto;
    min-height: 0;
    clip-path: none;
  }
  .dark-banner-content {
    max-width: 100%;
    padding: 0;
  }
}

/* ===== Split section ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 60px;
}
.split-media { position: relative; }
.split-placeholder { position: absolute; inset: 0; border-radius: 0; height: 100%; font-size: 14px; }
.feature-list { margin-top: 26px; display: flex; flex-direction: column; gap: 20px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon {
  width: 30px; height: 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
  flex-shrink: 0;
}
.feature-list h4 { font-size: 15.5px; margin-bottom: 4px; color: var(--dark); }
.feature-list p { color: var(--text-muted); font-size: 14px; }

/* ===== Blog cards ===== */
.post-card {
  position: relative;
  background: var(--gray-light);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
  transition: transform .35s ease;
}
.post-card:hover { transform: translateY(-14px); }
.post-img {
  display: block;
  height: 160px;
  width: 100%;
  margin-bottom: 0;
  font-size: 13px;
  border-radius: 0; /* flush with the card's top edge, not a standalone rounded box */
  background: var(--gray-light);
  object-fit: contain; /* show the whole image, not cropped — only affects real <img> elements */
}
/* Extra bottom padding reserves room for .post-readmore, which is pinned
   absolutely and taken out of normal flow — otherwise the button would
   overlap the description text. */
.post-card-body { padding: 18px 20px 70px; }
.post-date { color: var(--accent); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }
.post-card h3 { font-size: 17px; margin: 10px 0; color: var(--dark); }
.post-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.post-readmore {
  position: absolute;
  left: 15px;
  bottom: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 300;
  font-size: 26px;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background .2s ease, transform .2s ease;
}
.post-readmore:hover { background: var(--accent-dark); transform: translateY(-2px); }
.post-readmore svg { width: 24px; height: 24px; transform: translateY(-3px) rotate(-45deg); opacity: .8; }

.latest-news-more {
  text-align: center;
  margin-top: 40px;
}
.latest-news-more .btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 8px;
  font-size: 32px;
  padding: 9px 52px;
}
.latest-news-more .btn svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
#tin-tuc .section-title {
  font-size: 64px;
  margin-bottom: 44px;
}
/* Full-screen block, same pattern as the dark-banner sections — see
   feedback_fullscreen_block_pattern.md. A single centered child (unlike
   dark-banner's two columns), so no grid/flex min-height:0 fix is needed:
   align-items:center just overflows-and-clips symmetrically if content
   is taller than the screen, instead of a track blowing out. */
#tin-tuc {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
#tin-tuc .container {
  width: 100%;
  /* Wider than the site's usual 1350px-capped container: stretches out
     to a fixed 150px from the page edge instead, so the 4 cards get more
     room and stay evenly spaced across the full width. */
  max-width: 100%;
  padding: 0 150px;
}
#tin-tuc .post-img {
  height: 400px;
}
#tin-tuc .post-card h3 {
  font-size: 32px;
}
#tin-tuc .post-card p {
  font-size: 26px;
}
@media (max-width: 900px) {
  /* Desktop-only enhancement — a fixed 100dvh with 4 stacked post cards
     would clip content on a short mobile screen. Fall back to normal flow. */
  #tin-tuc {
    display: block;
    height: auto;
    overflow: visible;
  }
  #tin-tuc .container {
    padding: 0 20px;
  }
}

/* ===== YouTube Videos =====
   Full-screen block, same pattern as the dark-banner sections — see
   feedback_fullscreen_block_pattern.md. Dark background instead of the
   light gray/white used by #tin-tuc. */
.yt-section {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.yt-section .container {
  width: 100%;
  max-width: 100%;
  padding: 0 150px;
}
.yt-section-title {
  font-size: 64px;
  margin-bottom: 44px;
}
.yt-card {
  position: relative;
  background: var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  padding-bottom: 70px;
  box-shadow: 0 14px 32px rgba(0,0,0,.22);
}
.yt-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 16px 12px;
}
.yt-card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  padding: 0;
  flex-shrink: 0;
}
.yt-card-meta { flex: 1; min-width: 0; }
.yt-card-channel {
  color: var(--dark);
  font-weight: 600;
  font-size: 19px;
}
.yt-card-date { color: #8a90a0; font-size: 12px; margin-top: 2px; }
.yt-card-icon { width: 45px; height: 45px; color: #ff0000; flex-shrink: 0; }
.yt-card-thumb-wrap {
  position: relative;
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}
.yt-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.yt-card-thumb-wrap:hover .yt-card-thumb {
  transform: scale(1.08);
}
.yt-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.85);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(20,20,20,.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.yt-card-play svg { width: 26px; height: 26px; margin-left: 3px; }
.yt-card-thumb-wrap:hover .yt-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.yt-card-play:hover { background: var(--accent); border-color: var(--accent); }
.yt-card-thumb-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.yt-card-body { padding: 16px; }
.yt-card-body h3 {
  color: var(--dark);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.yt-card-body p {
  color: #9aa0ab;
  font-size: 26px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-card-watch {
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--gray-border);
  color: var(--dark);
  font-weight: 300;
  font-size: 26px;
  padding: 10px 95px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .2s ease;
}
.yt-card-watch:hover { background: var(--gray-border); }
.yt-card-watch svg { width: 21px; height: 21px; }
@media (max-width: 900px) {
  .yt-section {
    display: block;
    height: auto;
    overflow: visible;
    padding: 60px 0;
  }
}

/* ===== Footer block: Contact + Customers combined into one full-screen
   block, same pattern as the dark-banner sections — see
   feedback_fullscreen_block_pattern.md. Contact takes whatever flexible
   space is left and centers its content in it; Customers keeps its
   natural height, always fully visible at the bottom. Footer itself is a
   separate, normal (non-full-screen) section right after this block. ===== */
.footer-block {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
#lien-he {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  /* A hash-link jump or scroll-snap navigation lands on this element's own
     top edge, ignoring any margin above it — keep it clear of the sticky
     header, plus 30px of breathing room. */
  scroll-margin-top: calc(var(--header-overlap) + 30px);
}
#lien-he .container {
  width: 100%;
}
.footer-block .customers-section {
  flex: 0 0 auto;
  min-height: 0;
}
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: var(--dark);
  border-radius: 18px;
  /* Extra 40px on the bottom only — grows into the existing vertical-
     centering slack inside #lien-he's flexible area, so the footer-block's
     total height and the customers section below stay untouched. */
  padding: 60px 60px 100px;
  color: #fff;
}
.contact-box .section-title, .contact-box .section-desc { color: #fff; }
.contact-box .section-desc { color: #cfd3da; }

@media (max-width: 900px) {
  /* The full-screen treatment is a desktop enhancement — forcing the
     contact form + customer logos into one clipped 100dvh block would
     cut off form fields on a short mobile screen. Fall back to normal
     stacked flow instead (scroll-snap is already off below this width
     too, so there's no snap chain to keep in sync with). */
  .footer-block {
    display: block;
    height: auto;
    overflow: visible;
  }
  #lien-he {
    display: block;
    padding: 90px 0 30px;
    overflow: visible;
  }
}
.contact-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: #cfd3da; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9aa0ab; }
.contact-form button { align-self: flex-start; }

/* ===== Customers ===== */
.customers-section {
  padding: 144px 0 72px;
  background: #fff;
  text-align: center;
}
.customers-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 44px;
}
.customers-slider {
  display: flex;
  align-items: center;
  gap: 20px;
  /* Full-bleed: stretches edge-to-edge instead of being capped by .container. */
  padding: 0 28px;
}
.customers-track-wrap {
  flex: 1;
  overflow: hidden;
}
.customers-track {
  display: flex;
  transition: transform .6s cubic-bezier(.65,0,.35,1);
}
.customer-logo {
  /* Percentage-based, not a fixed px width, so exactly 6 logos always fit
     the visible area regardless of screen size (see responsive block for
     how many show per row on smaller screens). */
  flex: 0 0 16.6667%;
  width: 16.6667%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}
.customer-logo img {
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
}
.customers-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gray-border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, background .2s ease;
}
.customers-arrow::before {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 2.5px solid var(--text-muted);
  border-left: 2.5px solid var(--text-muted);
  transition: border-color .2s ease;
}
.customers-arrow-left::before { transform: rotate(-45deg); margin-left: 3px; }
.customers-arrow-right::before { transform: rotate(135deg); margin-right: 3px; }
.customers-arrow:hover {
  border-color: var(--accent);
  background: var(--accent);
}
.customers-arrow:hover::before { border-color: #fff; }

@media (max-width: 960px) {
  .customer-logo { flex: 0 0 25%; width: 25%; } /* 4 visible */
}
@media (max-width: 600px) {
  .customers-slider { padding: 0 16px; gap: 10px; }
  .customer-logo { flex: 0 0 50%; width: 50%; padding: 0 14px; } /* 2 visible */
  .customer-logo img { max-height: 56px; }
  .customers-arrow { width: 38px; height: 38px; }
}

/* ===== Footer ===== */
.footer {
  background: var(--dark-2);
  color: #cfd3da;
  padding-top: 60px;
  scroll-snap-align: start;
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: #b6bac2; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--accent); }
.footer-col p { font-size: 13.5px; margin-top: 14px; color: #9aa0ab; }
.social-row { display: flex; gap: 10px; }
.social-ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  transition: background var(--transition);
}
.social-ico:hover { background: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: 13px;
  text-align: center;
  color: #8a8f99;
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: none;
  background: rgba(20, 20, 20, .55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  z-index: 200;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  html { scroll-snap-type: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tile-row {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    height: auto;
  }
  .tile { height: 300px; }
  .split { grid-template-columns: 1fr; }
  .split-media { height: 280px; }
  .whyus {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
  }
  .whyus-media { height: auto; flex: 1 1 auto; min-height: 0; }
  .whyus-panel { padding: 44px 32px; flex: 0 0 auto; }
  .tile-row { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; padding: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .topbar-contact span:last-child { display: none; }
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 78%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
    padding: 90px 24px 24px;
    transition: right var(--transition);
    z-index: 99;
  }
  .nav.open { right: 0; }
  .nav ul { flex-direction: column; gap: 4px; }
  .has-dropdown .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; display: none;
    padding-left: 12px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 30px; }
  .hero-arrow { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
