/*
Theme Name: SWI Theme
Theme URI: 
Author: SWI
Description: Custom theme cho website SWI
Version: 1.0
*/

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

:root {
  --color-primary: #2A22D9;
  --color-red: #DF1B40;
  --color-accent: #36ABF4;
  --color-light: #AFF0F5;
  --font-main: 'Be Vietnam Pro', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 25px;
  color: #1a1a1a;
}

h1 { font-size: 53px; line-height: 70px; font-weight: 700; }
h2 { font-size: 40px; line-height: 60px; font-weight: 700; }
h3 { font-size: 32px; line-height: 45px; font-weight: 600; }
h4 { font-size: 24px; line-height: 35px; font-weight: 600; }
h5 { font-size: 20px; font-weight: 500; }
p  { font-size: 16px; line-height: 25px; }
small { font-size: 12px; line-height: 20px; }

/* =====================
   CONTACT POPUP
===================== */
/* =====================================================
   POPUP TƯ VẤN (redesigned v2)
   Layout 2 cột: trái panel xanh thông tin, phải form trắng
===================================================== */
.swi-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99999;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.swi-popup-overlay.active { display: flex; animation: swiPopupFade 0.3s ease; }
@keyframes swiPopupFade { from { opacity: 0; } to { opacity: 1; } }
/* Desktop tall: căn giữa dọc nếu viewport đủ cao */
@media (min-height: 800px) {
  .swi-popup-overlay { align-items: center; }
}

.swi-popup-box {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: auto;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  display: grid;
  grid-template-columns: 380px 1fr;
  animation: swiPopupPop 0.3s ease;
}
@keyframes swiPopupPop { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.swi-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.95);
  color: #0f172a;
  border: none;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 0.2s ease;
}
.swi-popup-close:hover { background: var(--color-red); color: #fff; }

/* ===== LEFT — panel xanh thông tin ===== */
.swi-popup-left {
  background: var(--color-primary);
  color: #fff;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
}
.swi-popup-eyebrow {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 12px;
}
.swi-popup-heading {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #fff;
}
.swi-popup-heading span { color: #fff; }
.swi-popup-desc {
  font-size: 14.5px;
  line-height: 1.65;
  opacity: 0.9;
  margin: 0 0 32px;
}
.swi-popup-desc strong { font-weight: 700; }

.swi-popup-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.swi-popup-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.swi-popup-benefit .ic {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.swi-popup-benefit > div b {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}
.swi-popup-benefit > div span {
  display: block;
  opacity: 0.8;
  font-size: 13px;
  line-height: 1.5;
}

.swi-popup-contact {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}
.swi-popup-contact-item .lbl {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 4px;
}
.swi-popup-contact-item a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}
.swi-popup-contact-item a:hover { opacity: 0.75; }
.swi-popup-contact-item .addr {
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 500;
  opacity: 0.95;
}
.swi-popup-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ===== RIGHT — form trắng ===== */
.swi-popup-right { padding: 44px 40px; }
.swi-popup-kicker {
  font-size: 13px;
  color: var(--color-red);
  font-weight: 700;
  margin-bottom: 8px;
}
.swi-popup-form-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--color-primary);
  line-height: 1.3;
}

.swi-popup-form { display: flex; flex-direction: column; gap: 18px; }
.spf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spf-field { display: flex; flex-direction: column; gap: 6px; }
.spf-field > label {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}
.spf-field > label .req { color: var(--color-red); }
.spf-field input,
.spf-field textarea {
  border: 1px solid #cbd5e1;
  padding: 11px 13px;
  font-family: var(--font-main);
  font-size: 14px;
  background: #fff;
  color: #0f172a;
  transition: border-color 0.2s ease;
  width: 100%;
  outline: none;
}
.spf-field input:focus,
.spf-field textarea:focus { border-color: var(--color-primary); }
.spf-field input::placeholder,
.spf-field textarea::placeholder { color: #94a3b8; }
.spf-field textarea { resize: vertical; min-height: 80px; }

/* Radio kênh liên hệ */
.spf-radios { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.spf-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  user-select: none;
  flex: 1;
  min-width: 0;
  justify-content: center;
}
.spf-radio input {
  width: 14px;
  height: 14px;
  accent-color: var(--color-primary);
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.spf-radio:hover { border-color: var(--color-primary); }
.spf-radio.active {
  border-color: var(--color-primary);
  background: #f0efff;
  color: var(--color-primary);
}

/* Checkbox dịch vụ */
.spf-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.spf-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  user-select: none;
}
.spf-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--color-primary);
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.spf-check:hover { border-color: var(--color-primary); }
.spf-check.active {
  border-color: var(--color-primary);
  background: #f0efff;
  color: var(--color-primary);
}

/* Nút submit: đỏ → hover xanh */
.swi-popup-submit {
  background: var(--color-red);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
  margin-top: 6px;
  width: 100%;
}
.swi-popup-submit:hover { background: var(--color-primary); }
.swi-popup-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.swi-popup-msg {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .swi-popup-box { grid-template-columns: 1fr; max-width: 640px; }
  .swi-popup-left { padding: 32px 28px; }
  .swi-popup-right { padding: 32px 28px; }
  .swi-popup-benefits { gap: 12px; margin-bottom: 24px; }
  .swi-popup-desc { margin-bottom: 24px; }
  .swi-popup-contact { margin-top: 24px; padding-top: 18px; }
}
@media (max-width: 600px) {
  .swi-popup-overlay { padding: 0; }
  .swi-popup-box { max-width: 100%; }
  .swi-popup-close { top: 8px; right: 8px; width: 36px; height: 36px; font-size: 20px; }

  .swi-popup-left { padding: 24px 18px; }
  .swi-popup-eyebrow { margin-bottom: 8px; font-size: 12px; }
  .swi-popup-heading { font-size: 22px; line-height: 1.25; margin-bottom: 12px; }
  .swi-popup-desc { font-size: 13.5px; margin-bottom: 20px; }
  .swi-popup-right { padding: 24px 18px; }
  .swi-popup-kicker { font-size: 12px; }
  .swi-popup-form-title { font-size: 18px; margin-bottom: 18px; }

  .swi-popup-form { gap: 14px; }
  .spf-row { grid-template-columns: 1fr; gap: 14px; }
  .spf-checks { grid-template-columns: 1fr; gap: 6px; }
  .spf-radios { flex-direction: column; gap: 6px; }
  .spf-radio { justify-content: flex-start; }

  .swi-popup-benefits { gap: 10px; margin-bottom: 18px; }
  .swi-popup-benefit .ic { width: 24px; height: 24px; font-size: 11px; }

  .swi-popup-contact { font-size: 13px; gap: 10px; }

  .swi-popup-submit { padding: 13px 24px; font-size: 14px; }
}
@media (max-width: 360px) {
  .swi-popup-left { padding: 20px 14px; }
  .swi-popup-right { padding: 20px 14px; }
  .swi-popup-heading { font-size: 20px; }
}

/* =====================
   SERVICES LIST SECTION (About page)
===================== */
.swi-sv-list {
  background: #fff;
  padding: 60px 0;
}
.swi-sv-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: start;
}
.swi-sv-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.swi-sv-left h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}
.swi-sv-left p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}
.swi-sv-right {
  display: flex;
  flex-direction: column;
}
.swi-sv-item {
  border-top: 1px solid #e5e7eb;
  cursor: pointer;
  transition: background 0.35s ease;
  overflow: hidden;
}
.swi-sv-item:last-child { border-bottom: 1px solid #e5e7eb; }
.swi-sv-item.active { background: var(--color-primary); border-color: transparent; }
.swi-sv-item.active + .swi-sv-item { border-top-color: transparent; }
.swi-sv-item:not(.active):hover { background: #f5f6ff; }

.swi-sv-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 12px;
}
.swi-sv-item-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  transition: color 0.35s ease;
}
.swi-sv-item.active .swi-sv-item-title { color: #fff; }
.swi-sv-icon {
  flex-shrink: 0;
  color: #6b7280;
  transition: transform 0.35s ease, color 0.35s ease;
}
.swi-sv-item.active .swi-sv-icon {
  transform: rotate(180deg);
  color: #fff;
}

.swi-sv-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.swi-sv-item.active .swi-sv-item-body {
  max-height: 160px;
  padding: 8px 20px 18px;
}

.swi-sv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.swi-sv-tag {
  padding: 3px 12px;
  border: 1px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  border-radius: 0;
}
.swi-sv-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.swi-sv-arrow:hover { text-decoration: underline; }

/* About Final CTA */
.about-final-cta {
  background: #f9fafb;
  padding: 100px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.afcta-deco {
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  font-size: 320px;
  font-family: Georgia, serif;
  font-weight: 900;
  color: rgba(42,34,217,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.afcta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.afcta-inner h2 {
  font-size: 52px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.afcta-inner p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.75;
}
.afcta-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 12px;
}
.afcta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2A22D9;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  text-decoration: none;
  transition: background 0.2s;
}
.afcta-btn-primary:hover { background: var(--color-red); }
.afcta-btn-secondary {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  border: 2px solid var(--color-primary);
  padding: 12px 32px;
  transition: background 0.2s, color 0.2s;
}
.afcta-btn-secondary:hover { background: var(--color-primary); color: #fff; }

/* =====================
   STATS STRIP
===================== */
.stats-strip {
  background: #2A22D9;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: -1px !important;
  padding-top: 0;
  border-top: 1px solid #2A22D9;
  display: block;
}
.stats-strip-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  align-items: stretch;
}
.ss-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 20px;
  text-align: center;
}
.ss-item strong {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.ss-item strong span { font-size: 32px; color: #fff; }
.ss-item > span { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.ss-divider { width: 1px; background: rgba(255,255,255,0.12); margin: 28px 0; flex-shrink: 0; }

/* =====================
   PROCESS SECTION
===================== */
.process-section { background: #f9fafb; padding: 60px 0; }
.process-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.process-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
}
.process-header h2 { font-size: 38px; font-weight: 700; color: var(--color-primary); line-height: 1.2; }
.process-header p  { font-size: 14px; color: #6b7280; line-height: 1.75; }
.process-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #e5e7eb;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.process-step:hover { border-color: var(--color-primary); box-shadow: 0 8px 24px rgba(42,34,217,0.08); }
.ps-num {
  font-size: 40px;
  font-weight: 800;
  color: rgba(42,34,217,0.08);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 20px;
}
.ps-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ps-icon img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.process-step h4 { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.process-step p  { font-size: 13px; color: #6b7280; line-height: 1.7; }
.ps-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  margin-top: 60px;
  font-size: 20px;
  color: var(--color-primary);
  opacity: 0.3;
  flex-shrink: 0;
}

/* Fuel header layout */
.fuel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}
.fuel-header-left { display: flex; flex-direction: column; gap: 8px; }
.fuel-title { font-size: 32px !important; font-weight: 700; color: var(--color-primary) !important; text-align: left !important; }
.fuel-desc { font-size: 14px !important; color: #6b7280 !important; text-align: left !important; }
#fuel-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* =====================
   TRANG CƠ HỘI HỢP TÁC
===================== */
/* ht-hero removed – now uses .sv-hero-banner format */
/* .ht-stat removed */

/* Hạng mục */
/* Hạng mục — Stat-forward + model badge (Cho thuê / Đầu tư) */
.ht-cats { background: #fff; padding: 80px 32px; }
/* Badge model */
.ht-cat-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  margin-bottom: 4px;
  display: inline-block;
  transition: background 0.25s ease, color 0.25s ease;
}
.ht-cat-card-cho-thue .ht-cat-badge {
  background: rgba(42, 34, 217, 0.1);
  color: var(--color-primary);
}
.ht-cat-card-dau-tu .ht-cat-badge {
  background: rgba(223, 27, 64, 0.1);
  color: var(--color-red);
}
/* Hover state: badge fill TRẮNG + text màu brand → contrast cao trên nền card xanh */
.ht-cat-card:hover .ht-cat-card-cho-thue .ht-cat-badge,
.ht-cat-card-cho-thue:hover .ht-cat-badge,
.ht-cat-card-cho-thue.active .ht-cat-badge {
  background: #fff !important;
  color: var(--color-primary) !important;
}
.ht-cat-card:hover .ht-cat-card-dau-tu .ht-cat-badge,
.ht-cat-card-dau-tu:hover .ht-cat-badge,
.ht-cat-card-dau-tu.active .ht-cat-badge {
  background: #fff !important;
  color: var(--color-red) !important;
}
.ht-cats-inner { max-width: 1200px; margin: 0 auto; }
.ht-cats-header { text-align: center; max-width: 720px; margin: 0 auto 40px; display: flex; flex-direction: column; gap: 12px; }
.ht-cats-lbl { font-size: 12px; font-weight: 800; color: var(--color-red); display: inline-block; padding: 4px 10px; background: rgba(223, 27, 64, 0.08); align-self: center; text-transform: uppercase; }
.ht-cats-header h2 { font-size: 36px; font-weight: 800; color: var(--color-primary); line-height: 1.2; margin: 0; }
.ht-cats-header p { font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0; }
.ht-cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ht-cat-card {
  background: #f8f9fb;
  padding: 36px 28px 28px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
}
.ht-cat-card:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(42, 34, 217, 0.18);
}
.ht-cat-card.active { background: var(--color-red); }
/* Số count to làm hero */
.ht-cat-stat {
  font-size: 64px;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  transition: color 0.25s ease;
}
.ht-cat-unit {
  font-size: 11px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}
/* Tiêu đề mục: XANH brand (default), trắng khi hover */
.ht-cat-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 6px 0 0;
  line-height: 1.3;
  transition: color 0.25s ease;
}
.ht-cat-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.55;
  margin: 4px 0 0;
  font-weight: 400;
  transition: color 0.25s ease;
}
/* Hover state: card xanh fill → chữ trắng hết */
.ht-cat-card:hover .ht-cat-stat,
.ht-cat-card:hover .ht-cat-unit,
.ht-cat-card:hover h4,
.ht-cat-card:hover .ht-cat-desc {
  color: #fff;
}
/* Active state: card đỏ fill → chữ trắng */
.ht-cat-card.active .ht-cat-stat,
.ht-cat-card.active .ht-cat-unit,
.ht-cat-card.active h4,
.ht-cat-card.active .ht-cat-desc {
  color: #fff;
}
/* Legacy classes — ẩn nếu còn markup cũ */
.ht-cat-icon,
.ht-cat-num,
.ht-cat-card-text,
.ht-cat-count { display: none; }
@media (max-width: 900px) {
  .ht-cats-grid { grid-template-columns: 1fr 1fr; }
  .ht-cats-header h2 { font-size: 28px; }
  .ht-cat-stat { font-size: 52px; }
}
@media (max-width: 560px) {
  .ht-cats-grid { grid-template-columns: 1fr; }
  .ht-cat-stat { font-size: 48px; }
}

/* Banner thông báo filter đang áp dụng (hiển thị khi user click hạng mục) */
.ht-active-filter-banner {
  background: var(--color-primary);
  color: #fff;
  padding: 16px 0;
}
.ht-active-filter-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ht-active-filter-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ht-active-filter-lbl {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.8;
}
.ht-active-filter-text strong {
  font-size: 16px;
  font-weight: 800;
}
.ht-active-filter-count {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}
.ht-active-filter-clear {
  background: rgba(255, 255, 255, 0.15);
  border: 0;
  color: #fff;
  padding: 8px 16px;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s;
}
.ht-active-filter-clear:hover { background: var(--color-red); }
@media (max-width: 768px) {
  .ht-active-filter-inner { padding: 0 24px; flex-direction: column; align-items: flex-start; }
}

/* Danh sách vị trí (hiển thị khi user click hạng mục, ngay trên map) */
.ht-stations-section {
  background: #fff;
  padding: 60px 0;
}
.ht-stations-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
}
.ht-stations-head { margin-bottom: 28px; }
.ht-stations-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 6px;
  line-height: 1.2;
}
.ht-stations-sub {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}
.ht-stations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ht-sgc {
  background: #f8f9fb;
  padding: 22px 22px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border-left: 3px solid transparent;
}
.ht-sgc:hover {
  background: #fff;
  border-left-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.ht-sgc-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}
.ht-sgc-addr {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}
.ht-sgc-loc {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-red);
  margin-top: 2px;
}
.ht-sgc-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5e7eb;
}
.ht-sgc:hover .ht-sgc-btn { color: var(--color-red); }
@media (max-width: 900px) {
  .ht-stations-inner { padding: 0 40px; }
  .ht-stations-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ht-stations-grid { grid-template-columns: 1fr; }
  .ht-stations-title { font-size: 22px; }
}

/* Map section */
.ht-map-section { background:#f7f7f5;padding:60px 0; }
.ht-map-wrapper { max-width:1280px;margin:0 auto;padding:0 120px;display:grid;grid-template-columns:1.4fr 1fr;gap:24px;height:780px; }
/* Sidebar filter — OPT 4 Minimal Clean: underline-only inputs, ultra-tinh tế */
.ht-sidebar {
  background: #fff;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}
.ht-sidebar-head { display: flex; flex-direction: column; gap: 6px; }
.ht-sidebar-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0;
  letter-spacing: -0.01em;
}
.ht-sidebar-sub {
  font-size: 12.5px;
  color: #9ca3af;
}
.ht-divider { height: 1px; background: #f0f0f5; }
.ht-filter-group { display: flex; flex-direction: column; gap: 8px; }
.ht-filter-group label {
  font-size: 11.5px;
  font-weight: 800;
  color: #9ca3af;
  text-transform: uppercase;
}
.ht-filter-group select,
.ht-filter-group input {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1.5px solid #e5e7eb;
  background: transparent;
  font-family: var(--font-main);
  font-size: 14px;
  color: #0f172a;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
  border-radius: 0;
}
.ht-filter-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230f172a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 22px;
  cursor: pointer;
}
.ht-filter-group input::placeholder {
  color: #cbd5e1;
  font-weight: 500;
}
.ht-filter-group select:focus,
.ht-filter-group input:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
}

.ht-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
}
.ht-reset-btn {
  background: none;
  border: 0;
  color: var(--color-red);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.ht-reset-btn:hover { color: #a61432; }
.ht-results-header {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}
.ht-results-header #results-count strong,
.ht-results-header #results-count { color: var(--color-primary); }

.ht-station-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  gap: 0;
  min-height: 320px;
}
.ht-station-item {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f5;
  cursor: pointer;
  transition: padding-left 0.2s;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ht-station-item:hover { padding-left: 6px; }
.ht-station-item:last-child { border-bottom: 0; }
.ht-si-name {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  transition: color 0.2s;
}
.ht-station-item:hover .ht-si-name { color: var(--color-primary); }
.ht-si-addr {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.45;
}
.ht-si-loc {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-red);
  margin-top: 2px;
}
.ht-map-container { position:relative; }
#swi-map { width:100%;height:100%;border:1px solid #e5e7eb; }

/* Station Profile */
.ht-profile-section { background: #fff; border-top: 3px solid var(--color-primary); }
.ht-profile-inner { max-width: 1280px; margin: 0 auto; padding: 0 120px; }
.ht-profile-header {
  background: var(--color-primary);
  display: flex; align-items: center; gap: 20px;
  padding: 24px 120px; margin: 0 -120px; position: relative;
}
.ht-profile-pin {
  width: 48px; height: 48px; background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ht-profile-title { flex: 1; }
.ht-profile-sub { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.ht-profile-title h3 { font-size: 24px; font-weight: 700; color: #fff; margin-top: 4px; }
.ht-profile-close {
  background: rgba(255,255,255,0.15); border: none; cursor: pointer;
  width: 40px; height: 40px; font-size: 18px; color: #fff; flex-shrink: 0; transition: background 0.2s;
}
.ht-profile-close:hover { background: rgba(255,255,255,0.3); }
.ht-profile-body {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
  padding: 32px 0; align-items: start;
}
.ht-profile-info { display: flex; flex-direction: column; gap: 16px; }
.ht-profile-field { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #374151; line-height: 1.5; }
.ht-profile-field svg { flex-shrink: 0; margin-top: 2px; }
.ht-profile-label { font-size: 11px; font-weight: 700; color: var(--color-primary); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.ht-profile-services { display: flex; flex-direction: column; }
.ht-profile-tag { display: inline-flex; align-items: center; gap: 6px; background: #f0f4ff; color: var(--color-primary); font-size: 12px; font-weight: 600; padding: 5px 12px; margin: 3px 4px 3px 0; }
.ht-profile-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.ht-profile-map-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--color-primary); text-decoration: none; border-bottom: 1px solid var(--color-primary); padding-bottom: 2px; }
.ht-profile-map-btn:hover { color: var(--color-red); border-color: var(--color-red); }
.ht-profile-right { display: flex; flex-direction: column; gap: 16px; }

/* Gallery */
.ht-gallery { display: flex; flex-direction: column; gap: 8px; }
.ht-gallery-main {
  width: 100%; height: 320px;
  background: #f7f7f5; border: 1px solid #e5e7eb;
  overflow: hidden; position: relative; cursor: zoom-in;
}
.ht-gallery-zoom-hint {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.5); color: #fff;
  font-size: 11px; padding: 4px 10px;
  opacity: 0; transition: opacity 0.2s;
  pointer-events: none;
}
.ht-gallery-main:hover .ht-gallery-zoom-hint { opacity: 1; }
.ht-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: none; }
.ht-gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; color: #9ca3af; font-size: 13px;
}
.ht-gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.ht-thumb {
  width: 64px; height: 48px;
  border: 2px solid transparent; cursor: pointer;
  overflow: hidden; transition: border-color 0.2s;
}
.ht-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ht-thumb.active { border-color: var(--color-primary); }
.ht-thumb:hover { border-color: var(--color-primary); }

/* Mini map */
.ht-profile-minimap { display: flex; flex-direction: column; gap: 6px; }
#mini-map { width: 100%; height: 200px; border: 1px solid #e5e7eb; }
.ht-profile-map-note { font-size: 11px; color: #9ca3af; text-align: center; }

/* Đối tác */
.ht-partners { background:#fff;padding:60px 0; }
.ht-partners-inner { max-width:1280px;margin:0 auto;padding:0 120px;display:flex;flex-direction:column;align-items:center;gap:40px; }
.ht-partners-inner h2 { font-size:36px;font-weight:700;color:var(--color-primary);line-height:1.2;text-align:center; }
.ht-partners-grid { display:grid;grid-template-columns:repeat(5,1fr);gap:0;width:100%; }
.ht-partner-logo { border:1px solid #e5e7eb;padding:24px;display:flex;align-items:center;justify-content:center;margin:-1px 0 0 -1px; }
.ht-partner-logo img { max-width:100px;max-height:40px;object-fit:contain; }

/* CTA */
.ht-cta { background:var(--color-primary);padding:60px 0;text-align:center; }
.ht-cta-inner { max-width:600px;margin:0 auto;padding:0 40px;display:flex;flex-direction:column;align-items:center;gap:20px; }
.ht-cta-inner h2 { font-size:40px;font-weight:700;color:#fff;line-height:1.2; }
.ht-cta-inner p { font-size:15px;color:rgba(255,255,255,0.8); }

/* =====================
   ABOUT PAGE EXTRAS
===================== */

/* Stats Strip */
.about-stats-strip {
  background: var(--color-primary);
  padding: 0;
}
.ass-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  align-items: stretch;
}
.ass-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 20px;
  text-align: center;
}
.ass-item strong {
  font-size: 64px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.ass-item strong span { font-size: 40px; color: var(--color-red); }
.ass-item > span {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.ass-divider {
  width: 1px;
  background: rgba(255,255,255,0.12);
  margin: 32px 0;
  flex-shrink: 0;
}

/* Vision card image */
.av-has-placeholder { min-height: 400px; }
.av-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* Dot pattern on values section — đã bỏ gradient theo style guide */
.about-values {
  background-color: #f8f9ff;
}

/* =====================
   THANH THÔNG BÁO
===================== */
.top-bar {
  background-color: var(--color-primary);
  text-align: center;
  padding: 12px 20px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.top-bar p { color: #fff; font-size: 14px; font-weight: 500; }
.top-bar a { color: #fff; font-weight: 700; text-decoration: underline; margin-left: 6px; }

/* =====================
   WRAPPER HEADER
===================== */
.site-header-wrapper {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 auto;
  /* Sticky scroll-aware header (Apple/YouTube style):
     lướt xuống → ẩn (translateY -100%), lướt lên → hiện lại */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.site-header-wrapper.header-hidden {
  transform: translateY(-100%);
}
/* Khi user logged-in vào WP admin, WP admin bar chiếm 32px trên cùng — đẩy header xuống dưới admin bar */
body.admin-bar .site-header-wrapper { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header-wrapper { top: 46px; }
}
/* Compensate cho fixed header, push content xuống */
body { padding-top: 114px; }
@media (max-width: 768px) {
  body { padding-top: 100px; }
}

/* =====================
   NAVBAR
===================== */
.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 40px;
}
.navbar {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
/* =====================
   NAV MENU
===================== */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  flex: 1;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.nav-menu li { list-style: none; position: relative; }
.nav-menu li a {
  font-size: 15px;
  color: #1a1a1a;
  text-decoration: none !important;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a {
  color: var(--color-primary) !important;
}

/* FIX: dropdown service hover */
.nav-menu li a {
  font-size: 15px;
  color: #1a1a1a;
  text-decoration: none !important;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  transition: color .2s;
}
.nav-menu li a:hover { background: transparent; color: var(--color-primary); }
.arrow { font-size: 11px; }

/* =====================
   NAV ACTIONS
===================== */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-lienhe {
  background: var(--color-primary);
  color: #fff;
  padding: 8px 20px;
  border-radius: 0;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: opacity .2s;
}
.btn-lienhe:hover { opacity: .85; }
.btn-mic { background: none; border: none; font-size: 18px; cursor: pointer; }
.search-box {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  padding: 4px 8px;
  gap: 4px;
}
.search-box input { border: none; outline: none; font-size: 14px; color: #9ca3af; width: 120px; }
.search-box button { background: none; border: none; cursor: pointer; font-size: 16px; }

/* =====================
   MEGA DROPDOWN
===================== */
.mega-dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%);
  width: 980px;
  height: auto;
  padding: 24px 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  z-index: 999;
}
.has-dropdown:hover .mega-dropdown { display: flex; }
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
}

.dropdown-body { display: flex; gap: 24px; width: 100%; }
.dropdown-left {
  width: 500px;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  align-content: start;
}
.service-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 0;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}
/* ===== SERVICE ITEM HOVER - FIX CLEAN ===== */
.service-item {
  transition: background 0.2s ease;
}

.service-text h4,
.service-text p {
  transition: color 0.2s ease;
}
.service-text {
  line-height: 1.4;
}

/* Hover state */
.service-item:hover {
  background: var(--color-primary) !important;
}

/* Tăng specificity để tránh bị override */
.service-item:hover .service-text h4,
.service-item:hover .service-text p {
  color: #fff;
}

/* Icon background */
.service-item:hover .service-icon {
  background: rgba(255,255,255,0.2);
}

/* Icon color */
.service-item:hover .service-icon img {
  filter: brightness(0) invert(1);
}
.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  margin: 4px;
}
.service-icon img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.service-text { min-width: 0; flex: 1; }
.service-text h4 { font-size: 12.5px; font-weight: 600; color: var(--color-primary); line-height: 1.3; margin-bottom: 4px; }
.service-text p { font-size: 10.5px; color: #6b7280; line-height: 1.4; margin: 0; }

.dropdown-divider { width: 1px; background: #e5e7eb; flex-shrink: 0; }
.dropdown-right { flex: 1; }
.dropdown-right h3 { font-size: 13px; font-weight: 700; color: var(--color-primary); margin-bottom: 4px; }

.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.featured-item { display: flex; flex-direction: column; align-items: flex-start; }
.featured-item img { width: 100%; height: 130px; object-fit: cover; border-radius: 0; }
.featured-item p { font-size: 12px; font-weight: 600; color: var(--color-primary); margin: 6px 0; }
.featured-item .btn-timhieu { font-size: 11px; padding: 5px 10px; gap: 6px; }

/* =====================
   BUTTONS
===================== */
.btn-timhieu {
  display: inline-flex;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--color-red) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 0;
  text-decoration: none;
  transition: box-shadow .2s;
}
.btn-timhieu:hover {
  background: var(--color-red) !important;
  color: #fff !important;
  box-shadow: 4px 4px 2px 0 rgba(0,0,0,0.25) inset;
}

.dropdown-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
  width: 100%;
}
.cta-left { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #374151; flex-wrap: nowrap; white-space: nowrap; }
.cta-icon {
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}
.btn-tuvan {
  display: inline-flex;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--color-red) !important;
  color: #fff !important;
  font-size: 13px;
  border-radius: 0;
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow .2s;
}
.btn-tuvan:hover {
  background: var(--color-red) !important;
  color: #fff !important;
  box-shadow: 4px 4px 2px 0 rgba(0,0,0,0.25) inset;
}

/* =====================
   HERO SLIDER
===================== */
.hero-slider {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  display: block;
}
.hero-slider + * { margin-top: 0 !important; padding-top: 0; }
.slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.slide.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.slide img {
  width: 100%;
  height: 760px;
  object-fit: cover;
  display: block;
}
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-red);
  border: none;
  width: 32px;
  height: 32px;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-prev { left: 16px; }
.slider-next { right: 16px; }

/* =====================
   BANNER
===================== */
.banner-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 120px;
  height: 760px;
  background: #fff;
  overflow: visible;
}
.banner-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
}
/* Banner meta row */
.banner-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Rút khoảng cách giữa banner-meta (chứa tag) và tiêu đề H1 xuống 1/2.
     Container cha (.banner-left ...) có gap: 20px → negative margin bù trừ → visual gap 10px. */
  margin-bottom: -10px;
}
/* Pattern B: tag là sibling trực tiếp của h1/h2 (không có wrapper .banner-meta).
   Scope theo các container đã biết để không gây side-effect khi tag nằm trong .banner-meta (Pattern A) */
.sv-blue-left > .banner-tag,
.project-advantages-left > .banner-tag,
.about-advantages-left > .banner-tag {
  margin-bottom: -10px;
}
.banner-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.35;
  letter-spacing: 1px;
}
.banner-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(42,34,217,0.08);
  padding: 4px 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Pills */
.banner-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.banner-pills span {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(42,34,217,0.07);
  padding: 4px 12px;
}

/* CTA row */
.banner-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.banner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}
.banner-link:hover { color: var(--color-primary); }

/* Bottom indicators */
.hero-indicators {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}
.hero-counter {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  min-width: 44px;
}
.hero-counter #hero-cur { color: #fff; }
.hero-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.hero-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.hero-dot.active {
  background: #fff;
  width: 24px;
}
.hero-progress-wrap {
  width: 80px;
  height: 2px;
  background: rgba(255,255,255,0.2);
}
.hero-progress-bar {
  height: 100%;
  background: #fff;
  width: 0%;
  transition: width 0.1s linear;
}

.banner-left h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-primary);
}
.text-red { color: var(--color-red); }
.banner-left p { font-size: 15px; color: #374151; line-height: 1.7; }
.btn-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--color-red);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: box-shadow .2s;
  width: fit-content;
}
.btn-banner:hover { box-shadow: 4px 4px 2px 0 rgba(0,0,0,0.25) inset; }
.banner-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-right img {
  width: auto;
  height: 450px;
  object-fit: contain;
}
.banner-blue {
  background: var(--color-primary);
  width: 100%;
}

.banner-blue .banner-inner {
  background: transparent;
}
.white { color: #fff !important; }
.banner-tag.white { color: rgba(255,255,255,0.8); }

/* Khi banner nền xanh: bỏ pill background + padding để tag align với h1/h2
   Áp dụng theo class .white (modifier khi text trên nền xanh) — chạy bất
   kể parent có .banner-blue hay không, để cover cả các section khác như
   .project-advantages, .about-advantages ... */
.banner-tag.white,
.sv-hero-banner.banner-blue .banner-tag,
.banner-blue .banner-tag {
  background: transparent;
  padding: 0;
}

.banner-stats {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.stat-item {
  background: rgba(42, 34, 217, 0.06);
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  align-items: center;
}
.stat-item strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
}
.stat-item span {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
}

.banner-blue.banner-bottom {
  padding-bottom: 0;
}

.banner-left-center {
  align-items: flex-end;
  text-align: right;
  max-width: 480px;
}
/* =====================
   SECTION ĐỐI TÁC
===================== */
.partners-section { background: #fff; padding: 60px 0; }
.partners-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.partners-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.partners-header h2 { font-size: 38px; font-weight: 700; color: var(--color-primary); line-height: 1.2; }
.partners-header p  { font-size: 14px; color: #6b7280; line-height: 1.75; max-width: 520px; }
.partners-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.partners-right h2 { font-size: 38px; font-weight: 700; color: var(--color-primary); line-height: 1.2; }
.partners-right p  { font-size: 14px; color: #6b7280; line-height: 1.75; }
.partners-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.partners-stat strong { font-size: 48px; font-weight: 800; color: var(--color-primary); line-height: 1; }
.partners-stat strong span { font-size: 28px; color: var(--color-red); }
.partners-stat > span { font-size: 13px; color: #6b7280; line-height: 1.5; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: 100%;
}
.partner-card {
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  min-height: 100px;
  transition: border-color .2s, background .2s;
  margin: -1px 0 0 -1px;
}
.partner-card:hover { border-color: var(--color-primary); background: #f7f8ff; z-index: 1; position: relative; }
.partner-card img {
  max-width: 120px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* =====================
   SECTION DỊCH VỤ
===================== */
.services-section { background: #f9fafb; padding: 60px 0; }
.services-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
}
.services-left {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 16px;
  padding-top: 24px;
}
.services-left h2 { font-size: 38px; font-weight: 700; color: var(--color-primary); line-height: 1.25; }
.services-left p  { font-size: 14px; color: #6b7280; line-height: 1.75; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-content: start;
}
.service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}
.service-card:hover { background: var(--color-primary); border-color: var(--color-primary); }

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.service-card-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s;
}
.service-card:hover .service-card-icon { background: rgba(255,255,255,0.2); }
.service-card-icon img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

.service-card-arrow { color: #d1d5db; transition: color 0.25s; }
.service-card:hover .service-card-arrow { color: rgba(255,255,255,0.7); }

.service-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  transition: color 0.25s;
}
.service-card:hover h4 { color: #fff; }
.service-card p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.65;
  flex: 1;
  transition: color 0.25s;
}
.service-card:hover p { color: rgba(255,255,255,0.75); }
.service-card .btn-timhieu {
  align-self: flex-start;
}
/* =====================
   SECTION GIỚI THIỆU
===================== */
.about-section { background: #fff; padding: 60px 0; }
.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: stretch;
}

/* Image side */
.about-img-wrap { position: relative; height: 100%; }
.about-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-img-badge {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: #2A22D9;
  color: #fff;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-img-badge strong {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}
.about-img-badge span { font-size: 12px; opacity: 0.8; }

/* Content side */
.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-right h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}
.about-right > p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.75;
}

/* Feature grid */
.about-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-feat-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  transition: border-color 0.2s, background 0.2s;
}
.about-feat-card:hover { border-color: var(--color-primary); background: #f7f8ff; }
.about-feat-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feat-icon img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.about-feat-card h5 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.about-feat-card p {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}
.about-right .afcta-btn-secondary {
  padding: 10px 20px;
  font-size: 14px;
}
.about-right .btn-timhieu {
  align-self: flex-start;
}
/* =====================
   SECTION TESTIMONIAL
===================== */
.testimonial-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: var(--color-primary);
  padding: 60px 0;
}
.testimonial-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.testimonial-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-left h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.testimonial-left p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 420px;
}
.testimonial-avatars {
  display: flex;
  align-items: center;
  gap: 16px;
}
.avatar-stack {
  display: flex;
}
.avatar-stack img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  margin-left: -12px;
  object-fit: cover;
}
.avatar-stack img:first-child { margin-left: 0; }
.testimonial-avatars span {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.testimonial-right {
  flex: 1;
}
.review-card {
  background: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review-stars {
  font-size: 28px;
  color: var(--color-red);
  letter-spacing: 4px;
  text-align: right;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.review-author strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
}
.review-author span {
  font-size: 13px;
  color: #6b7280;
}
.review-card p {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  font-style: italic;
}
/* =====================
   SECTION DỰ ÁN
===================== */
.projects-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.projects-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.projects-header {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 40px;
}
.projects-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  flex: 1.25; /* rộng hơn p để "Một số dự án tiêu biểu" vừa 1 hàng */
  text-wrap: balance;
  -webkit-text-wrap: balance;
}
.projects-header p {
  flex: 1;
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  padding-top: 8px;
}
.projects-slider {
  display: flex;
  gap: 24px;
  transition: 0.3s;
}

.project-card {
  min-width: calc(50% - 12px);
}
.project-card:hover .project-body { background: var(--color-primary); }
.project-card:hover .project-meta { color: rgba(255,255,255,0.7); }
.project-card:hover .project-tag {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.project-card:hover .project-tag a { color: #fff; }
.project-card:hover h4 { color: #fff; }
.project-card:hover p { color: rgba(255,255,255,0.85); }
.project-card:hover .project-views { color: rgba(255,255,255,0.7); }
.project-thumb a { display: block; }
.project-thumb img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  transition: background .2s;
}
.project-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
}
.project-tag {
  display: inline-block;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  width: fit-content;
}
.project-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}
.project-card h4 a {
  text-decoration: none;
  color: inherit;
}
.project-card p {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  flex: 1;
}
.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.project-views {
  font-size: 13px;
  color: #6b7280;
}
.projects-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.pdot {
  width: 32px;
  height: 4px;
  background: #e5e7eb;
  cursor: pointer;
}
.pdot.active { background: var(--color-primary); }
.project-tag a {
  text-decoration: none;
  color: inherit;
}
.projects-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.pdot-prev, .pdot-next {
  width: 48px;
  height: 48px;
  background: var(--color-red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdot-prev svg, .pdot-next svg {
  stroke: white;
}
/* =====================
   SECTION CTA
===================== */
.cta-section { background: #2A22D9; overflow: hidden; }
.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 520px;
}
.cta-col-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 70px 0;
}
.cta-col-left h2 {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.cta-col-left > p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 460px;
}
.cta-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.cta-point svg { flex-shrink: 0; }
.cta-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}
.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  /* padding 8px + border 2px = cao bằng .btn-banner (padding 10px, no border) */
  padding: 8px 22px;
  transition: border-color 0.2s, background 0.2s;
}
.cta-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* Right */
.cta-col-right {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  position: relative;
}
.cta-img-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}
.cta-img-deco {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: bottom;
  display: block;
  position: relative;
  z-index: 1;
}
/* =====================
   SECTION TIN TỨC
===================== */
.news-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.news-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.news-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
}
.news-grid-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.news-grid-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  cursor: pointer;
}
.news-card:hover .news-body { background: var(--color-primary); }
.news-card:hover .news-body .project-meta { color: rgba(255,255,255,0.7); }
.news-card:hover .news-body .project-tag {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.news-card:hover .news-body .project-tag a { color: #fff; }
.news-card:hover .news-body h4 { color: #fff; }
.news-card:hover .news-body p { color: rgba(255,255,255,0.85); }
.news-card:hover .news-body .project-views { color: rgba(255,255,255,0.7); }
.news-thumb a { display: block; }
.news-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.news-grid-bottom .news-thumb img { height: 180px; }
.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  transition: background .2s;
}
.news-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}
.news-body h4 a {
  text-decoration: none;
  color: inherit;
}
.news-body p {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  flex: 1;
}
.news-body .project-meta { color: #6b7280; }
.news-body .project-tag {
  display: inline-block;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  width: fit-content;
  background: transparent;
}
.news-body .project-tag a {
  text-decoration: none;
  color: inherit;
}
.news-body .project-views { color: #6b7280; }
.news-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}
.news-page-nums {
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-page-num {
  width: 48px;
  height: 48px;
  border-radius: 0;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  user-select: none;
}
.news-page-num.active,
.news-page-num:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  text-decoration: none;
}
.news-prev, .news-next {
  width: 48px;
  height: 48px;
  background: var(--color-red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
}
.news-prev:hover, .news-next:hover {
  text-decoration: none;
}
/* =====================
   SECTION FAQ
===================== */
.faq-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.faq-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  gap: 0;
  align-items: flex-start;
}
.faq-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 60px;
  justify-content: center;
}
.faq-left h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.faq-left > p {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
}
.faq-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}
.faq-stars {
  display: flex;
  gap: 32px;
}
.faq-star-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.star-row {
  font-size: 24px;
  color: var(--color-red);
  letter-spacing: 2px;
}
.faq-star-item p {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
}
.faq-right {
  flex: 1;
  background: var(--color-primary);
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.faq-right h2 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 32px;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  gap: 16px;
}
.faq-icon {
  flex-shrink: 0;
  transition: transform .3s;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 0 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  display: block;
}
.faq-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.3);
}
.faq-footer span {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.faq-list .faq-item:last-child {
  border-bottom: none;
}
/* =====================
   NEWSLETTER
===================== */
.newsletter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 120px;
  display: flex;
  gap: 60px;
  align-items: center;
}
.newsletter-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.newsletter-left h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.newsletter-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter-row {
  display: flex;
  gap: 0;
}
.newsletter-row input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.newsletter-row input::placeholder { color: rgba(255,255,255,0.7); }
.newsletter-row button {
  background: var(--color-red);
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.newsletter-fields > input {
  padding: 12px 16px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.newsletter-fields > input::placeholder { color: rgba(255,255,255,0.7); }
.newsletter-note {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}
.newsletter-right { flex: 1; }
.newsletter-card {
  background: #fff;
  overflow: hidden;
}
.newsletter-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.newsletter-card-body {
  padding: 20px;
}
.newsletter-card-body h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.newsletter-card-body p {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
}

/* =====================================================
   FOOTER (v2 — Light theme, 4 columns)
===================================================== */
.site-footer {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  color: #475569;
  border-top: 1px solid #e5e7eb;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 120px 0;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e5e7eb;
}
/* Đẩy 3 cột tiêu đề (Về SWI / Dịch vụ / Tài nguyên) xuống ngang với dòng
   "CÔNG TY TNHH..." trong col 1 — để logo là element cao nhất ở footer. */
.footer-cols .footer-col:not(.footer-col-info) {
  padding-top: 78px;
}

/* Col 1: Company info */
.footer-col-info .footer-logo {
  display: inline-block;
  margin-bottom: 16px;
  text-decoration: none;
}
.footer-col-info .footer-logo img {
  height: 56px;
  width: auto;
  display: block;
}
.footer-company-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
}
.footer-contact li svg {
  color: var(--color-red);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact li a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact li a:hover { color: var(--color-primary); }

/* Col titles */
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}
.footer-col ul li a {
  text-decoration: none;
  color: #475569;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}
.footer-col ul li a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}
.footer-socials a {
  width: 34px;
  height: 34px;
  background: #f3f4f6;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid #e5e7eb;
}
.footer-socials a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Bottom strip */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-bottom-tag {
  font-size: 12px;
  color: #475569;
  padding: 4px 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}
.back-to-top {
  width: 36px;
  height: 36px;
  background: var(--color-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.back-to-top:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-inner { padding: 48px 32px 0; }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .footer-col-info { grid-column: 1 / -1; }
  /* Tablet/mobile: info col span full-width trên cùng → các col khác không cần đẩy xuống */
  .footer-cols .footer-col:not(.footer-col-info) { padding-top: 0; }
}
@media (max-width: 600px) {
  .footer-inner { padding: 36px 20px 0; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-col-info { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 16px 0 20px; }
  .footer-bottom-right { width: 100%; justify-content: space-between; }
}
/* =====================
   TRANG VỀ CHÚNG TÔI
===================== */
.about-hero {
  background: #fff;
  padding: 60px 0 60px;
  overflow: hidden;
}
.about-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 60px;
}

/* Left */
.about-hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-hero-left h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.text-primary { color: var(--color-primary); }
.about-hero-left p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.75;
  max-width: 480px;
}
.about-hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 4px;
}
.about-hero-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}
.about-hero-link:hover { color: var(--color-primary); }
.about-hero-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-hero-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 4px 0;
}
.about-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about-hero-tags span {
  padding: 5px 14px;
  border: 1px solid #d1d5db;
  border-radius: 0;
  font-size: 12px;
  color: #374151;
  background: #fff;
}

/* Right */
.about-hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.about-hero-circle {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1.5px solid rgba(42,34,217,0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.about-hero-circle::before {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(42,34,217,0.08);
}
.about-hero-img {
  width: 280px;
  height: 340px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* Floating cards */
.about-hero-card {
  position: absolute;
  background: #fff;
  border-radius: 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  z-index: 2;
  white-space: nowrap;
}
.about-hero-card strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.about-hero-card span {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}
.ahc-icon { font-size: 22px; }
.about-hero-card-1 { top: 40px; right: 20px; }
.about-hero-card-2 { bottom: 60px; left: 10px; }
/* Partner Marquee */
.about-marquee-wrap {
  background: #f9fafb;
  padding: 20px 0 40px;
  overflow: hidden;
}
.about-marquee-label {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}
.about-marquee {
  overflow: hidden;
  width: 100%;
}
.about-marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}
.about-marquee-track img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: opacity 0.2s, filter 0.2s;
  flex-shrink: 0;
}
.about-marquee-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.about-platform { background: #fff; padding: 60px 0; }
.about-platform-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

/* Left */
.apl-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.apl-left h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
}
.apl-left p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.75;
}

/* Right: cards */
.apl-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.apl-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 24px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  transition: background 0.2s;
  cursor: default;
}
.apl-card:first-child { border-top: 1px solid #f0f0f0; }
.apl-card:hover { background: #f7f8ff; }
.apl-num {
  font-size: 48px;
  font-weight: 800;
  color: rgba(42,34,217,0.06);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  margin-top: -4px;
}
.apl-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.apl-icon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}
.apl-body { flex: 1; }
.apl-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.apl-body p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
}
/* Quote đơn — J5: Glass card + Mesh blob + SWI Monogram khổng lồ outlined behind
   Brand colors: #2A22D9 (xanh) + #DF1B40 (đỏ). Vuông góc, ko letter-spacing, ko line trước source. */
.about-quote-simple {
  padding: 110px 32px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
}
.aqs-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.75;
  pointer-events: none;
}
.aqs-blob-1 {
  top: -100px;
  left: 5%;
  width: 420px;
  height: 420px;
  background: var(--color-primary);
}
.aqs-blob-2 {
  bottom: -120px;
  right: 0;
  width: 460px;
  height: 460px;
  background: var(--color-red);
}
/* 3 chữ S W I khổng lồ outlined đứng sau card */
.aqs-mono {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
}
.aqs-mono span {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 380px;
  font-weight: 900;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.18);
}
/* Noise texture — subtle film grain */
.aqs-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.35;
  pointer-events: none;
}
/* Frosted glass card chứa quote */
.aqs-card {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 56px 56px 48px;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(36px) saturate(140%);
  -webkit-backdrop-filter: blur(36px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.aqs-eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 10px;
  background: var(--color-red);
  display: inline-block;
  margin-bottom: 26px;
}
.aqs-quote {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin: 0 0 32px;
}
.aqs-hl {
  color: var(--color-red);
  font-weight: 800;
}
.aqs-source {
  display: flex;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.aqs-source-text {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
/* Ẩn các phần tử HTML cũ nếu còn legacy markup */
.aqs-inner,
.aqs-left,
.aqs-mark,
.aqs-right,
.aqs-text,
.aqs-meta,
.aqs-line {
  display: none;
}
/* Responsive */
@media (max-width: 768px) {
  .about-quote-simple { padding: 70px 24px; min-height: 0; }
  .aqs-mono span { font-size: 180px; -webkit-text-stroke-width: 1.5px; }
  .aqs-card { padding: 40px 28px 32px; }
  .aqs-quote { font-size: 22px; }
  .aqs-blob-1 { width: 280px; height: 280px; }
  .aqs-blob-2 { width: 320px; height: 320px; }
}
@media (max-width: 480px) {
  .about-quote-simple { padding: 56px 18px; }
  .aqs-mono span { font-size: 130px; }
  .aqs-quote { font-size: 19px; }
}

/* About Quote */
.about-quote-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 120px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.about-quote-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-quote-left blockquote {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  font-style: italic;
}
.about-quote-left hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.4);
  width: 100%;
}
.about-quote-right {
  flex: 1;
}
.about-quote-right img {
  width: 100%;
  height: auto;
  display: block;
}

/* About Company */
.about-company { background: #fff; padding: 60px 0; }
.about-company-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Top row */
.ac-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.ac-top-left h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-top: 8px;
}
.ac-stats {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
}
.ac-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.ac-stat strong {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.ac-stat strong span { font-size: 24px; }
.ac-stat > span {
  font-size: 13px;
  color: #6b7280;
}

/* Info bar — theme xanh brand, bỏ border-left, không thêm divider line giữa các item */
.ac-info-bar {
  display: flex;
  gap: 40px;
  padding: 22px 30px;
  background: var(--color-primary);
  flex-wrap: wrap;
  align-items: center;
}
.ac-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.ac-info-item svg {
  color: #fff;
  opacity: 0.7;
  flex-shrink: 0;
}
.ac-info-item strong {
  color: #fff;
  font-weight: 700;
}

/* Bottom row */
.ac-bottom {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.ac-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

/* Cards */
.ac-cards { display: flex; flex-direction: column; gap: 16px; }
.ac-cards-top { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ac-card {
  background: #f0f4ff;
  border-radius: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
}
.ac-card:hover { box-shadow: 0 8px 24px rgba(42,34,217,0.1); }
.ac-card-full { background: #f7f7f7; }
.ac-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
}
.ac-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.ac-card-tags span {
  padding: 6px 16px;
  border: 1px solid var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  background: #fff;
}
.ac-card p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  flex: 1;
}
.ac-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: 4px;
}
.ac-link:hover { text-decoration: underline; }
/* About Vision */
.about-vision { background: #f9fafb; padding: 60px 0; }
.about-vision-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.av-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
}
.av-header h2 { font-size: 40px; font-weight: 700; color: var(--color-primary); line-height: 1.2; }
.av-header > p { font-size: 15px; color: #6b7280; line-height: 1.7; }

/* Cards */
.av-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.av-card {
  border-radius: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.av-card-dark { background: #2A22D9; }
.av-card-light { background: #fff; border: 1px solid #e5e7eb; }

.av-num {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.06);
}
.av-card-light .av-num { color: rgba(42,34,217,0.05); }

.av-icon {
  width: 52px; height: 52px;
  border-radius: 0;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.av-icon img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.av-icon-blue { background: #f0f4ff; }
.av-icon-blue img { filter: none; }

.av-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.av-label-blue { color: var(--color-primary); }

.av-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.av-card-light h3 { color: var(--color-primary); }

.av-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  flex: 1;
}
.av-card-light p { color: #6b7280; }

.av-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: auto;
}
.av-card-footer-blue {
  border-top-color: #e5e7eb;
  color: #9ca3af;
}
/* About Values */
.about-values { background: #fff; padding: 60px 0; }
.about-values-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.aval-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.aval-header-left h2 { font-size: 40px; font-weight: 700; color: var(--color-primary); line-height: 1.2; margin-top: 8px; }
.aval-header-right p { font-size: 15px; color: #6b7280; line-height: 1.75; }

/* 4 cards grid */
.aval-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.aval-card {
  background: #f7f8ff;
  border-radius: 0;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}
.aval-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(42,34,217,0.1);
}
.aval-blue { background: #2A22D9; border-color: transparent; }
.aval-red  { background: var(--color-red); border-color: transparent; }

.aval-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.aval-icon {
  width: 48px; height: 48px;
  border-radius: 0;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.aval-icon img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.aval-icon-light { background: #e8edff; }
.aval-icon-light img { filter: none; }

.aval-num {
  font-size: 36px;
  font-weight: 800;
  color: rgba(255,255,255,0.15);
  line-height: 1;
}
.aval-num-dark { color: rgba(42,34,217,0.1); }

.aval-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.aval-card:not(.aval-blue):not(.aval-red) h4 { color: #1a1a1a; }

.aval-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}
.aval-card:not(.aval-blue):not(.aval-red) p { color: #6b7280; }
/* About Advantages */
.about-advantages { background: #2A22D9; padding: 40px 0; overflow: hidden; }
.about-advantages-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Header */
.adv-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.adv-header .swi-sv-label { color: rgba(255,255,255,0.6); }
.adv-header-left h2 { font-size: 40px; font-weight: 700; color: #fff; line-height: 1.2; margin-top: 0; }
.adv-header-left h2 .text-red { color: #fff; }
.adv-header-right p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.75; max-width: 580px; }
.adv-footer { display: flex; justify-content: center; padding-top: 8px; }

/* Carousel */
.adv-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 300px;
}
.adv-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.adv-card {
  flex: 0 0 280px;
  border: 1.5px solid rgba(255,255,255,0.15);
  padding: 32px 28px;
  text-align: left;
  background: rgba(255,255,255,0.08);
  opacity: 0.5;
  transform: scale(0.88);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  /* Cố định height (không dùng min-height) để mọi card cao bằng nhau,
     scale không gây xê dịch trục Y khi swap active */
  height: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* GPU accel + transform-origin rõ ràng để hết jitter subpixel */
  will-change: transform, opacity, width, left;
  transform-origin: center center;
  backface-visibility: hidden;
}
.adv-card.active {
  opacity: 1;
  transform: scale(1);
  background: #fff;
  border-color: #fff;
}
.adv-card-featured {
  z-index: 2;
}

/* Card content */
.adv-num {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
  display: block;
}
.adv-card.active .adv-num { color: rgba(42,34,217,0.3); }

.adv-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}
.adv-card.active h4 { color: var(--color-primary); }

.adv-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  flex: 1;
}
.adv-card.active p { color: #6b7280; }

.adv-card h4 strong { color: inherit; }

/* Dots */
.adv-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.adv-dot {
  width: 32px;
  height: 3px;
  background: #e5e7eb;
  cursor: pointer;
  transition: background .3s;
}
.adv-dot.active { background: var(--color-primary); }
.about-cta-btn {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: 40px 0;
  background: #fff;
}
.about-cta-btn-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  justify-content: center;
}
.btn-full {
  font-size: 16px;
  padding: 10px 20px;
}
/* About Quote 2 */
.about-quote2 {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
}
.about-quote2-bg {
  background: #2A22D9;
  width: 100%;
  padding: 60px 0;
}
.about-quote2-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}
.about-quote2-inner p {
  font-size: 25px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  font-style: italic;
}

/* About Partners CTA */
.about-partners-cta { background: #2A22D9; padding: 60px 0; }
.apc2-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.apc2-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.apc2-header h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.apc2-header p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 560px;
}
.apc2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #2A22D9;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s;
}
.apc2-btn:hover { background: var(--color-red); color: #fff; }

.apc2-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
}
.apc2-logo {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.apc2-logo:hover { background: rgba(255,255,255,0.18); }
.apc2-logo img {
  max-width: 100px;
  max-height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.apc2-logo:hover img { opacity: 1; }
.about-quote2-curve {
  width: 100%;
  line-height: 0;
  margin-top: -2px;
}
.about-quote2-curve svg {
  width: 100%;
  height: 80px;
  display: block;
}
/* About Testimonials — Marquee Wall: 2 hàng scroll ngược chiều, light theme, solid fill brand colors */
.about-testimonials {
  background: #f5f5fa;
  padding: 70px 0 80px;
  overflow: hidden;
  position: relative;
}
.about-testimonials-inner {
  max-width: 1280px;
  margin: 0 auto 44px;
  padding: 0 120px;
}
.abt-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.abt-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

/* Marquee wrapper */
.abt-marquee {
  position: relative;
  overflow: hidden;
}
/* Fade mask 2 bên để cards trượt vào/ra mượt mà */
.abt-marquee::before,
.abt-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
  z-index: 2;
}
.abt-marquee::before {
  left: 0;
  background: linear-gradient(to right, #f5f5fa, transparent);
}
.abt-marquee::after {
  right: 0;
  background: linear-gradient(to left, #f5f5fa, transparent);
}
.abt-mq-row {
  display: flex;
  gap: 18px;
  padding: 9px 0;
  position: relative;
  z-index: 1;
}
.abt-mq-track {
  display: flex;
  gap: 18px;
  animation: abtMqScroll 60s linear infinite;
  flex-shrink: 0;
}
.abt-mq-track-rev {
  animation-direction: reverse;
}
@keyframes abtMqScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 9px)); }
}
/* Pause animation khi hover row để dễ đọc */
.abt-mq-row:hover .abt-mq-track {
  animation-play-state: paused;
}

/* Card default — trắng solid + shadow nhẹ */
.abt-mq-card {
  flex-shrink: 0;
  width: 360px;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  color: #374151;
}
.abt-mq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}
/* Variant blue: SOLID FILL xanh brand */
.abt-mq-card-blue {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
/* Variant red: SOLID FILL đỏ brand */
.abt-mq-card-red {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}

.abt-mq-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 50px;
  line-height: 0.4;
  color: var(--color-red);
  font-weight: 900;
  display: block;
}
.abt-mq-card-blue .abt-mq-mark,
.abt-mq-card-red .abt-mq-mark {
  color: #fff;
  opacity: 0.55;
}

.abt-mq-q {
  font-size: 14.5px;
  line-height: 1.55;
  color: #374151;
  margin: 0;
  flex: 1;
}
.abt-mq-card-blue .abt-mq-q,
.abt-mq-card-red .abt-mq-q {
  color: #fff;
}

.abt-mq-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}
.abt-mq-card-blue .abt-mq-foot,
.abt-mq-card-red .abt-mq-foot {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.abt-mq-av {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.abt-mq-card-blue .abt-mq-av {
  background: #fff;
  color: var(--color-primary);
}
.abt-mq-card-red .abt-mq-av {
  background: #fff;
  color: var(--color-red);
}

.abt-mq-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.abt-mq-author strong {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.abt-mq-author span {
  font-size: 11px;
  color: #6b7280;
}
.abt-mq-card-blue .abt-mq-author strong,
.abt-mq-card-red .abt-mq-author strong {
  color: #fff;
}
.abt-mq-card-blue .abt-mq-author span,
.abt-mq-card-red .abt-mq-author span {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 768px) {
  .about-testimonials { padding: 50px 0 60px; }
  .about-testimonials-inner { padding: 0 24px; margin-bottom: 28px; }
  .abt-header h2 { font-size: 26px; }
  .abt-mq-card { width: 290px; padding: 22px 20px; }
  .abt-mq-q { font-size: 13.5px; }
  .abt-marquee::before, .abt-marquee::after { width: 60px; }
}
/* About Profile */
.about-profile { background: #f9fafb; padding: 60px 0; }
.about-profile-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.ap-header { display: flex; flex-direction: column; gap: 10px; }
.ap-header h2 { font-size: 40px; font-weight: 700; color: var(--color-primary); line-height: 1.2; }
.ap-embed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ap-embed iframe {
  border: 1px solid #e5e7eb;
  display: block;
}
.ap-actions { display: flex; }
.ap-actions .btn-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ap-empty {
  text-align: center;
  padding: 60px;
  border: 2px dashed #e5e7eb;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.ap-empty p { font-size: 14px; color: #6b7280; }
#flipbook {
  width: 900px;
  height: 560px;
}
#flipbook .page {
  background: #fff;
  border: 1px solid var(--color-primary);
}
#flipbook .page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-nav {
  display: flex;
  gap: 12px;
}
.profile-nav button {
  width: 48px;
  height: 48px;
  background: var(--color-red);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* =====================
   TRANG TIN TỨC
===================== */
.news-archive {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.news-archive-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.news-archive-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 32px;
}
.news-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.news-filter-btn {
  padding: 8px 20px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all .2s;
}
.news-filter-btn:hover,
.news-filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Khi grid nằm trong cột trái của archive-layout: 2 cột */
.news-archive-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.news-archive-inline {
  margin-top: 32px;
}
.news-archive-title-inline {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.3;
}
.news-archive-inline .news-pagination {
  margin-top: 32px;
}
.news-archive-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  cursor: pointer;
}
.news-archive-card:hover .news-archive-body {
  background: var(--color-primary);
}
.news-archive-card:hover .news-archive-body h4 { color: #fff; }
.news-archive-card:hover .news-archive-body p { color: rgba(255,255,255,0.85); }
.news-archive-card:hover .project-meta { color: rgba(255,255,255,0.7); }
.news-archive-card:hover .project-tag {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.news-archive-card:hover .project-tag a { color: #fff; }
.news-archive-card:hover .project-views { color: rgba(255,255,255,0.7); }
.news-archive-thumb a { display: block; }
.news-archive-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.news-archive-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  transition: background .2s;
}
.news-archive-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}
.news-archive-body h4 a {
  text-decoration: none;
  color: inherit;
}
.news-archive-body p {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  flex: 1;
}
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
}
.news-pagination a,
.news-pagination span {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
/* Số trang thường */
.news-pagination a { background: #fff; border: 1px solid #e5e7eb; color: #374151; }
.news-pagination a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
/* Trang hiện tại */
.news-pagination .current { background: var(--color-primary); color: #fff; border: none; }
/* Prev */
.news-pagination .prev { background: var(--color-primary); color: #fff; border: none; opacity: 0.4; }
.news-pagination a.prev { opacity: 1; }
/* Next */
.news-pagination .next { background: var(--color-red); color: #fff; border: none; opacity: 0.4; }
.news-pagination a.next { opacity: 1; }
/* Dots */
.news-pagination .dots { background: none; border: none; color: #9ca3af; width: auto; }
/* =====================
   NEWS HERO
===================== */
.news-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #f3f4f6;
  padding: 60px 0;
}
.news-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.news-hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.news-hero-left h1 {
  font-size: 44px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.news-hero-left > p {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
}
.news-search {
  display: flex;
  border: 1px solid #e5e7eb;
  background: #fff;
  overflow: hidden;
}
.news-search input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  outline: none;
  font-size: 14px;
  color: #6b7280;
  background: transparent;
}
.news-search button {
  background: var(--color-red);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease;
}
.news-search button:hover { background: #c0173a; }
.news-trending strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  margin-bottom: 10px;
}
.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.news-tags a {
  padding: 5px 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.news-tags a:hover { background: var(--color-red); }
.news-hero-right {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}
.news-hero-right img {
  height: 420px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.news-hero-badge {
  position: absolute;
  background: #fff;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 2;
  max-width: 200px;
}
.news-hero-badge-1 { top: 20px; right: 0; }
.news-hero-badge-2 { top: 50%; left: 0; transform: translateY(-50%); }
.news-hero-badge-3 { bottom: 40px; right: 0; }

/* NEWS ADVERT */
.news-advert {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 40px 0;
}
.news-advert-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.news-advert-box {
  border: 2px dashed #e5e7eb;
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.advert-label {
  font-size: 13px;
  color: #6b7280;
}
.news-advert-box h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
}
/* NEWS CATEGORIES */
.news-categories {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.news-categories-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.news-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 40px;
}
.news-cat-left h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.news-cat-left p {
  font-size: 14px;
  color: #6b7280;
  max-width: 400px;
  line-height: 1.6;
}
.news-cat-stats {
  display: flex;
  gap: 0;
  background: var(--color-primary);
}
.news-stat {
  padding: 20px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.news-stat:last-child { border-right: none; }
.news-stat strong {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}
.news-stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}
.news-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.news-cat-card {
  border: 1px solid #e5e7eb;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  transition: background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.news-cat-card:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.news-cat-card:hover .news-cat-info h4,
.news-cat-card:hover .news-cat-info p { color: #fff; }
.news-cat-card:hover .news-cat-info p { color: rgba(255,255,255,0.85); }
/* Trên hover: icon container đổi sang ĐỎ (không phải trắng) để icon trắng vẫn visible */
.news-cat-card:hover .news-cat-icon {
  background: var(--color-red);
}
/* Icon img giữ filter brightness(0) invert(1) → vẫn trắng (không bỏ filter, tránh trùng màu trắng nền trắng) */
.news-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.news-cat-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: filter 0.25s ease;
}
.news-cat-info { flex: 1; }
.news-cat-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  transition: color 0.25s ease;
}
.news-cat-info p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  transition: color 0.25s ease;
}
.news-cat-arrow {
  width: 36px;
  height: 36px;
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}

/* FUEL SECTION */
.fuel-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.fuel-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.fuel-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  margin-bottom: 12px;
}
.fuel-desc {
  font-size: 14px;
  color: #6b7280;
  text-align: left;
  line-height: 1.7;
  margin-bottom: 24px;
}
.fuel-date {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  justify-content: center;
}
.fuel-date-active {
  background: var(--color-red);
  color: #fff;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
}
.fuel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fuel-card {
  border: 1px solid #e5e7eb;
  overflow: hidden;
}
.fuel-card-header {
  background: var(--color-primary);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fuel-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fuel-card-header strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.fuel-card-header span {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}
.fuel-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 16px;
}
.fuel-zone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 8px;
  border-right: 1px solid #e5e7eb;
}
.fuel-zone:last-child { border-right: none; }
.fuel-zone-label {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}
.fuel-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
}
.fuel-old {
  font-size: 11px;
  color: #9ca3af;
  font-style: italic;
}
.fuel-change {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  display: inline-block;
  width: fit-content;
}
.fuel-change.up { background: #22c55e; color: #fff; }
.fuel-change.down { background: var(--color-red); color: #fff; }
.fuel-tab {
  padding: 10px 24px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all .2s;
  flex: 1;
  text-align: center;
}
.fuel-tab.active {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}
.fuel-date {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  justify-content: center;
  width: 100%;
}
/* NEWS FEATURED */
.news-featured {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.news-featured-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.news-featured-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.news-featured-title span {
  display: inline-block;
  width: 4px;
  height: 36px;
  background: var(--color-red);
  flex-shrink: 0;
}
.news-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.news-featured-left {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #e5e7eb;
}
.nfl-thumb img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.nfl-body {
  padding: 24px;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nfl-body .project-meta { color: rgba(255,255,255,0.7); }
.nfl-body .project-tag {
  border-color: #fff;
  color: #fff;
}
.nfl-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.nfl-body h3 a {
  text-decoration: none;
  color: inherit;
}
.nfl-body p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}
.nfl-body .project-views { color: rgba(255,255,255,0.7); }
.news-featured-right {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
}
.nfr-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
}
.nfr-tab {
  flex: 1;
  padding: 12px;
  border: none;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all .2s;
  border-bottom: 2px solid transparent;
}
.nfr-tab.active {
  color: #fff;
  background: var(--color-red);
  border-bottom-color: var(--color-red);
}
.nfr-list {
  display: flex;
  flex-direction: column;
}
.nfr-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  transition: background .2s;
}
.nfr-item:last-child { border-bottom: none; }
.nfr-item:hover { background: #f9fafb; }
.nfr-thumb {
  width: 90px;
  height: 70px;
  flex-shrink: 0;
  overflow: hidden;
}
.nfr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nfr-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nfr-info h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
}
.nfr-info .project-meta { font-size: 12px; }
.nfr-thumb img,
.nfl-thumb img,
.news-thumb img,
.project-thumb img,
.archive-row-thumb img,
.archive-featured-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.archive-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* NEWS SUBSCRIBE */
.news-subscribe-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 120px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.news-subscribe-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.news-subscribe-left h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.news-subscribe-left p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.subscribe-row {
  display: flex;
  gap: 0;
}
.subscribe-row input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.subscribe-row input::placeholder { color: rgba(255,255,255,0.7); }
.subscribe-row button {
  background: var(--color-red);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.subscribe-form > input {
  padding: 12px 16px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
  width: calc(100% - 32px - 2px);
}
.subscribe-form > input::placeholder { color: rgba(255,255,255,0.7); }
.news-subscribe-right {
  flex: 1;
}
.news-subscribe-right img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
/* =====================
   ARCHIVE PAGE
===================== */
.archive-page {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 40px 0 60px;
}
.archive-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.archive-breadcrumb {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 24px;
}
.archive-breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}
.archive-breadcrumb a:hover { text-decoration: underline; }
.archive-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.archive-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.archive-title span {
  display: inline-block;
  width: 4px;
  height: 40px;
  background: var(--color-red);
  flex-shrink: 0;
}

/* Featured bài đầu */
.archive-featured {
  border: 1px solid #e5e7eb;
  overflow: hidden;
  margin-bottom: 24px;
}
.archive-featured-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.archive-featured-body {
  padding: 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.25s ease;
}
.archive-featured { cursor: pointer; transition: border-color 0.25s ease; }
.archive-featured:hover { border-color: var(--color-primary); }
.archive-featured:hover .archive-featured-body { background: var(--color-primary); }
.archive-featured-body .project-meta { color: #6b7280; }
.archive-featured:hover .archive-featured-body .project-meta { color: rgba(255,255,255,0.7); }
.archive-featured-body .project-tag {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}
.archive-featured:hover .archive-featured-body .project-tag { border-color: #fff; color: #fff; }
.archive-featured:hover .archive-featured-body .project-tag a { color: #fff; }
.archive-featured-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  transition: color 0.25s ease;
}
.archive-featured-body h3 a { text-decoration: none; color: inherit; }
.archive-featured:hover .archive-featured-body h3 { color: #fff; }
.archive-featured-body p {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  transition: color 0.25s ease;
}
.archive-featured:hover .archive-featured-body p { color: rgba(255,255,255,0.85); }
.archive-featured-body .project-views { color: #6b7280; transition: color 0.25s ease; }
.archive-featured:hover .archive-featured-body .project-views { color: rgba(255,255,255,0.7); }

/* Bài hàng ngang */
.archive-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  margin-bottom: 16px;
}
.archive-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.archive-row-thumb a { display: block; height: 100%; }
.archive-row-body {
  padding: 24px;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.archive-row-body .project-meta { color: rgba(255,255,255,0.7); font-size: 12px; }
.archive-row-body .project-tag { border-color: #fff; color: #fff; font-size: 12px; }
.archive-row-body h4 { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.4; }
.archive-row-body h4 a { text-decoration: none; color: inherit; }
.archive-row-body p { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.6; flex: 1; }
.archive-row-body .project-views { color: rgba(255,255,255,0.7); font-size: 12px; }

/* Sidebar */
.archive-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 20px;
}
.sidebar-box {
  border: 1px solid #e5e7eb;
  padding: 20px;
}
.sidebar-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}
.sidebar-box-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}
.sidebar-box-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.sidebar-top-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}
.sidebar-top-item:last-child { border-bottom: none; }
.sidebar-top-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-red);
  flex-shrink: 0;
  line-height: 1.2;
  min-width: 20px;
}
.sidebar-top-item a {
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  line-height: 1.5;
}
.sidebar-top-item a:hover { color: var(--color-primary); }

/* Sidebar Newsletter */
.sidebar-newsletter {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.sidebar-nl-header span {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: 8px;
}
.sidebar-nl-header h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}
.sidebar-nl-header p {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}
.sidebar-nl-stats {
  display: flex;
  gap: 16px;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.sidebar-nl-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.sidebar-nl-stats strong {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.sidebar-nl-stats span {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}
.sidebar-nl-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.sidebar-nl-form .subscribe-row input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #fff;
  font-size: 13px;
  outline: none;
}
.sidebar-nl-form .subscribe-row input::placeholder { color: rgba(255,255,255,0.6); }
.sidebar-nl-form .subscribe-row button {
  background: var(--color-red);
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 0;
  transition: box-shadow 0.2s;
}
.sidebar-nl-form .subscribe-row button:hover {
  box-shadow: 4px 4px 2px 0 rgba(0,0,0,0.25) inset;
}
.sidebar-nl-form > input {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #fff;
  font-size: 13px;
  outline: none;
}
.sidebar-nl-form > input::placeholder { color: rgba(255,255,255,0.6); }
.sidebar-nl-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  resize: none;
  outline: none;
  box-sizing: border-box;
  line-height: 1.5;
}
.sidebar-nl-form textarea::placeholder { color: rgba(255,255,255,0.6); }
.sidebar-nl-form textarea:focus { border-color: rgba(255,255,255,0.85); }

/* Sidebar Categories */
.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  gap: 12px;
}
.sidebar-cat-item:last-child { border-bottom: none; }
.sidebar-cat-item h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.sidebar-cat-item p {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}
.sidebar-cat-count {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.sidebar-cat-item:hover {
  background: #f0f4ff;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}
.sidebar-cat-item:hover h5 {
  color: var(--color-primary);
  text-decoration: underline;
}
.sidebar-cat-item.active {
  background: #f0f4ff;
  border-left: 3px solid var(--color-primary);
  padding-left: 8px;
}
.archive-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 32px;
}
.archive-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.archive-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.archive-banner-overlay h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.archive-banner-overlay p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
/* =====================
   SINGLE PAGE
===================== */
.single-page {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 40px 0 60px;
}
.single-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.single-layout {
  display: grid;
  grid-template-columns: 240px 1fr 300px;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}
.single-sidebar-left {
  position: sticky;
  top: 80px;
}
.single-sidebar-left .sidebar-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 20px;
  border-radius: 8px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}
.single-sidebar-left .sidebar-box::-webkit-scrollbar {
  width: 4px;
}
.single-sidebar-left .sidebar-box::-webkit-scrollbar-track {
  background: transparent;
}
.single-sidebar-left .sidebar-box::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}
.single-sidebar-left .sidebar-box::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}
.single-sidebar-left .sidebar-box-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}
.single-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}
.single-meta {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}
.single-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin-bottom: 24px;
}
.single-thumb {
  margin-bottom: 24px;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-content {
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
}
.single-content h2 { font-size: 24px; font-weight: 700; color: var(--color-primary); line-height: 1.3; margin: 24px 0 12px; }
.single-content h3 { font-size: 18px; font-weight: 600; color: #1f2937; line-height: 1.3; margin: 20px 0 10px; }
.single-content p { margin-bottom: 16px; }
.single-content img { width: 100%; height: auto; display: block; margin: 16px 0; }
.single-content ul, .single-content ol { padding-left: 24px; margin-bottom: 16px; }
.single-content li { margin-bottom: 8px; }
.single-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 12px 20px;
  background: #f0f4ff;
  margin: 16px 0;
  font-style: italic;
}

/* Share */
.single-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin: 32px 0;
}
.single-share span {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}
.single-share-icons {
  display: flex;
  gap: 8px;
}
.share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }
.share-li { background: #0077b5; }

/* Comments */
.single-comments-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
}
.comment-list {
  margin-bottom: 16px;
}
.single-comments h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.comment-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
}
.comment-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.comment-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 6px;
}
.comment-header strong {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}
.comment-header span {
  font-size: 12px;
  color: #9ca3af;
}
.comment-body p {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}

/* Comment form */
.single-comment-form {
  margin-top: 32px;
  background: var(--color-primary);
  padding: 32px;
}
.single-comment-form h4 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.comment-form-field {
  margin-bottom: 12px;
}
.comment-form-field input,
.comment-form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
  font-family: var(--font-main);
}
.comment-form-field input::placeholder,
.comment-form-field textarea::placeholder { color: rgba(255,255,255,0.6); }
.comment-form-field textarea { resize: vertical; }

/* TOC */
#toc-list a {
  display: block;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  padding: 6px 0 6px 12px;
  border-left: 2px solid #e5e7eb;
  line-height: 1.4;
  transition: all .2s;
}
#toc-list a:hover,
#toc-list a.active {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}
.single-comment-form .comment-notes,
.single-comment-form label,
.single-comment-form p {
  color: rgba(255,255,255,0.85) !important;
}
.single-comment-form a {
  color: #fff;
}
.single-comment-form button[type="submit"],
.single-comment-form input[type="submit"],
.single-comment-form .btn-banner {
  display: inline-flex;
  background: var(--color-red) !important;
  color: #fff !important;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0;
  transition: box-shadow 0.2s;
  width: fit-content;
  margin-top: 4px;
}
.single-comment-form button[type="submit"]:hover,
.single-comment-form input[type="submit"]:hover,
.single-comment-form .btn-banner:hover {
  box-shadow: 4px 4px 2px 0 rgba(0,0,0,0.25) inset;
}

/* Reading progress bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--color-primary);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
#back-to-top:hover {
  background: var(--color-red);
  transform: translateY(-3px);
}

/* Single header */
.single-header {
  margin-bottom: 0;
}
.single-cat-tag {
  display: inline-block;
  background: var(--color-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  text-decoration: none;
  margin-bottom: 14px;
}
.single-cat-tag:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Enhanced meta */
.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
  align-items: center;
}
.meta-dot {
  color: #d1d5db;
  line-height: 1;
}
.single-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.single-meta-item svg {
  opacity: 0.6;
  flex-shrink: 0;
}
.single-meta-sep {
  color: #d1d5db;
}

/* Tags */
.single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}
.single-tags a {
  display: inline-block;
  font-size: 12px;
  color: #374151;
  background: #f3f4f6;
  padding: 5px 12px;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
}
.single-tags a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Share (new SVG version) */
.single-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin: 32px 0;
}
.single-share-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.single-share-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}
.share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  border-radius: 0;
  border: none;
  cursor: pointer;
}
.share-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.share-fb { background: #1877f2; }
.share-tw { background: #000; }
.share-li { background: #0077b5; }
.share-copy { background: #e5e7eb; color: #374151; }
.share-copy:hover { background: var(--color-primary); color: #fff; opacity: 1; }

/* Author bio */
.single-author {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  margin: 40px 0;
}
.single-author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.single-author-info {
  flex: 1;
}
.single-author-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin-bottom: 6px;
}
.single-author-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.single-author-info p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Prev/Next navigation */
.single-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}
.single-prevnext-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  background: #fff;
}
.single-prevnext-item:hover {
  border-color: var(--color-primary);
  background: #f0f4ff;
}
.single-prevnext-right {
  align-items: flex-end;
  text-align: right;
}
.prevnext-dir {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9ca3af;
}
.prevnext-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
}

/* Comments hidden */
.comment-hidden {
  display: none;
}
.btn-show-comments {
  background: none;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  cursor: pointer;
  margin-top: 12px;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
}
.btn-show-comments:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Comment form row (2 col) */
.comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}
.comment-form-row .comment-form-field {
  margin-bottom: 0;
}

/* No comments */
.no-comments {
  padding: 32px;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
  border: 1px dashed #e5e7eb;
  margin-bottom: 24px;
}

/* Newsletter in sidebar */
.sidebar-nl-form .subscribe-row {
  display: flex;
  gap: 0;
  margin-bottom: 10px;
}
.sidebar-newsletter .sidebar-nl-form .subscribe-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.4);
  border-right: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 13px;
  outline: none;
  border-radius: 0;
}
.sidebar-newsletter .sidebar-nl-form .subscribe-row input::placeholder {
  color: rgba(255,255,255,0.55);
}
.sidebar-newsletter .sidebar-nl-form .subscribe-row button {
  padding: 10px 18px;
  background: var(--color-red);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0;
  white-space: nowrap;
  transition: box-shadow 0.2s;
}
.sidebar-newsletter .sidebar-nl-form .subscribe-row button:hover {
  box-shadow: 4px 4px 2px 0 rgba(0,0,0,0.25) inset;
}
.sidebar-nl-msg {
  font-size: 13px;
  margin-top: 8px;
  padding: 8px 12px;
  display: none;
}
.sidebar-nl-msg.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}
.sidebar-nl-msg.error {
  background: #fff1f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  display: block;
}

/* TOC h3 indent */
.toc-h3 {
  padding-left: 28px !important;
}
.toc-h3::before {
  content: '—';
  margin-right: 6px;
  color: #d1d5db;
  font-size: 11px;
}

/* Sidebar sticky */
.single-sidebar {
  position: sticky;
  top: 80px;
}
.single-sidebar .sidebar-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 20px;
  margin-bottom: 20px;
}
.single-sidebar .sidebar-box-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

/* Sidebar newsletter */
.sidebar-newsletter {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}
.sidebar-nl-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 8px 0 6px;
}
.sidebar-nl-header p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  line-height: 1.5;
}
.sidebar-nl-header span,
.sidebar-nl-badge {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.sidebar-nl-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.sidebar-nl-stats div {
  text-align: center;
}
.sidebar-nl-stats strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.sidebar-nl-stats span {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
}
.sidebar-newsletter .subscribe-row input {
  background: rgba(255,255,255,0.95);
  border-color: transparent;
  color: #1a1a1a;
}
.sidebar-newsletter input[type="text"] {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.sidebar-newsletter input[type="text"]::placeholder {
  color: rgba(255,255,255,0.5);
}

/* Sidebar related posts */
.sidebar-box-tabs {
  padding: 0 !important;
  overflow: hidden;
}
.sidebar-box-tabs .sidebar-box-title {
  padding: 16px 20px 12px;
  margin-bottom: 0;
  border-bottom: 2px solid var(--color-primary);
}
.nfr-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
}
.nfr-tab {
  flex: 1;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  background: none;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}
.nfr-tab:hover {
  color: var(--color-primary);
}
.nfr-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  background: #f9fafb;
}
.nfr-list {
  display: block;
}
.nfr-list-hidden {
  display: none !important;
}
.nfr-item {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  transition: background 0.2s;
  align-items: flex-start; /* top-align thumb với title, không centre */
  min-height: 92px; /* đồng đều chiều cao mọi row */
}
.nfr-item:last-child {
  border-bottom: none;
}
.nfr-item:hover {
  background: #f9fafb;
}
.nfr-thumb {
  width: 68px;
  height: 46px;
  overflow: hidden;
  flex-shrink: 0;
}
.nfr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nfr-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px; /* khoảng cách title → meta đều, không phụ thuộc margin-bottom */
  justify-content: flex-start;
}
.nfr-info h5 {
  font-size: 13.5px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0; /* dùng gap của .nfr-info, không dùng margin */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nfr-info .project-meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #6b7280;
  justify-content: flex-start;
  padding-left: 0;
  flex-wrap: wrap; /* cho phép cả "🕐 10 phút đọc" xuống dòng dưới như 1 cụm */
  row-gap: 2px;
  column-gap: 10px;
}
/* Mỗi span (date / time) giữ nguyên trên một dòng, không tách từng từ */
.nfr-info .project-meta > span {
  white-space: nowrap;
}
/* Ẩn icon lịch (SVG) — chữ date thẳng hàng với title */
.nfr-info .project-meta svg { display: none; }
/* Ẩn dấu "•" — đã có column-gap làm separator, dấu bullet sẽ trông kì khi wrap */
.nfr-info .project-meta > span:nth-child(2) { display: none; }
.nfr-date {
  font-size: 11px;
  color: #9ca3af;
}
.nfr-empty {
  padding: 16px;
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
}

/* Sidebar tags */
.sidebar-box .news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sidebar-box .news-tags a {
  display: inline-block;
  font-size: 12px;
  color: #374151;
  background: #f3f4f6;
  padding: 4px 10px;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
}
.sidebar-box .news-tags a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Sidebar category list */
.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  transition: background 0.2s;
}
.sidebar-cat-item:last-child {
  border-bottom: none;
}
.sidebar-cat-item:hover h5 {
  color: var(--color-primary);
}
.sidebar-cat-item h5 {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2px;
  transition: color 0.2s;
}
.sidebar-cat-item p {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.4;
}
.sidebar-cat-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  background: #f0f4ff;
  padding: 3px 8px;
  flex-shrink: 0;
}

/* Single page responsive */
@media (max-width: 1024px) {
  .single-layout {
    grid-template-columns: 1fr;
  }
  .single-sidebar {
    position: static;
  }
  .single-sidebar-left {
    display: none;
  }
  .single-inner {
    padding: 0 24px;
  }
}
@media (max-width: 640px) {
  .single-title {
    font-size: 22px;
  }
  .single-prevnext {
    grid-template-columns: 1fr;
  }
  .single-prevnext-right {
    align-items: flex-start;
    text-align: left;
  }
  .comment-form-row {
    grid-template-columns: 1fr;
  }
  .single-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .related-posts .news-archive-grid {
    grid-template-columns: 1fr !important;
  }
  #back-to-top {
    bottom: 16px;
    right: 16px;
  }
}

.related-posts {
  margin-top: 48px;
}
.related-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.related-title span {
  display: inline-block;
  width: 4px;
  height: 28px;
  background: var(--color-red);
  flex-shrink: 0;
}
.related-posts .news-archive-grid {
  grid-template-columns: repeat(2, 1fr);
}
/* =====================
   SEARCH PAGE
===================== */
.search-page {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 40px 0 60px;
}
.search-page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 32px 40px;
  background: #f3f4f6;
  margin-bottom: 40px;
}
.search-header-left h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.search-header-left h1 span {
  color: var(--color-primary);
}
.search-header-left p {
  font-size: 14px;
  color: #6b7280;
}
.search-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}
.search-left .news-archive-grid {
  grid-template-columns: repeat(2, 1fr);
}
.search-empty {
  padding: 60px 40px;
  text-align: center;
  background: #f9fafb;
  border: 1px dashed #e5e7eb;
}
.search-empty p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 8px;
}
/* =====================
   DROPDOWN TIN TỨC
===================== */
.news-dropdown {
  width: 260px !important;
  padding: 0 !important;
  gap: 0 !important;
  align-items: stretch !important;
}

.news-dropdown-item {
  display: flex;
  align-items: center;
  padding: 16px 12px;
  text-decoration: none;
  border-bottom: 1px solid #e5e7eb;
  transition: background 0.2s;
  gap: 12px;
}

.news-dropdown-item:last-child {
  border-bottom: none;
}

.news-dropdown-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  flex: 1;
  max-width: 180px;
}

.news-dropdown-item:hover {
  background: #f0f4ff;
}

.news-dropdown-item:hover span {
  text-decoration: underline;
}

.news-dropdown-arrow {
  width: 28px;
  height: 28px;
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
}

.news-dropdown-arrow svg {
  width: 14px;
  height: 14px;
}
/* =====================
   TRANG LIÊN HỆ
===================== */

/* Hero — banner ảnh nền, overlay xanh nhẹ, nội dung căn giữa */
.contact-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  height: 440px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.72) 100%);
  z-index: 2;
}
.contact-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 720px;
  padding: 0 40px;
}
.contact-hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.14);
  padding: 5px 14px;
  margin-bottom: 18px;
}
.contact-hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}
.contact-hero-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  line-height: 1.7;
  margin: 0 auto 26px;
}
.contact-hero-content .btn-banner {
  margin: 0 auto;
}
@media (max-width: 768px) {
  .contact-hero { height: 360px; }
  .contact-hero-content h1 { font-size: 28px; }
  .contact-hero-content p { font-size: 14px; }
}

/* Thông tin công ty */
.contact-info-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.contact-info-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.contact-company-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 32px;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}
.contact-info-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact-info-right {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}
.contact-info-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form section */
.contact-form-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #f3f4f6;
  padding: 60px 0;
}
.contact-form-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 0;
}

/* Form trái */
.contact-form-left {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-red);
  text-align: center;
}
.contact-form-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.2;
}
.contact-form-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  text-align: center;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf-row-top {
  align-items: start;
}
.cf-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cf-field label:first-child {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
}
.cf-field input,
.cf-field textarea {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  font-size: 13px;
  color: #1a1a1a;
  outline: none;
  font-family: var(--font-main);
  transition: border-color .2s;
  border-radius: 0;
}
.cf-field input:focus,
.cf-field textarea:focus {
  border-color: var(--color-primary);
  background: #fff;
}
.cf-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox dịch vụ */
.cf-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  margin-bottom: 4px;
  transition: border-color .2s;
}
.cf-checkbox:hover { border-color: var(--color-primary); }
.cf-checkbox input { accent-color: var(--color-primary); cursor: pointer; }

/* Grid dịch vụ — 3 cột checkboxes */
.cf-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
/* Channel group — radio kênh liên hệ ngang hàng */
.cf-channel-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cf-channel-group .cf-radio {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

/* Radio kênh liên hệ */
.cf-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  margin-bottom: 4px;
  transition: border-color .2s;
}
.cf-radio:hover { border-color: var(--color-primary); }
.cf-radio input { accent-color: var(--color-primary); cursor: pointer; }

.cf-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}
.contact-success {
  background: #f0fdf4;
  border: 1px solid #22c55e;
  color: #15803d;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
}

/* ===========================================================
   FORM TƯ VẤN trên /lien-he/ — Option B Split Hero (từ demo-form.html)
   Class .fb-* dùng RIÊNG cho trang Liên hệ.
   .cf-* và .contact-form-inner ở trên dùng cho simple form
   (rendered by swi_render_contact_form_simple() trong functions.php
   cho các trang khác như /du-an/, /hop-tac/).
   =========================================================== */
.fb-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}
/* ---- LEFT: panel xanh ---- */
.fb-left {
  background: var(--color-primary);
  color: #fff;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
}
.fb-left .eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  opacity: 0.85;
  margin-bottom: 12px;
}
.fb-left h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}
.fb-left h2 .accent { color: #fff; }
.fb-left p {
  font-size: 14.5px;
  opacity: 0.9;
  line-height: 1.65;
  margin-bottom: 32px;
}
.fb-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.fb-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.fb-benefit .ic {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.fb-benefit b {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}
.fb-benefit span {
  display: block;
  opacity: 0.8;
  font-size: 13px;
  line-height: 1.5;
}
.fb-contact {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fb-contact-item .label {
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 4px;
}
.fb-contact-item a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
}
.fb-contact-item a:hover { opacity: 0.75; }
.fb-contact-item .address {
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 500;
  opacity: 0.95;
}
.fb-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ---- RIGHT: form trắng ---- */
.fb-right {
  padding: 44px 40px;
  background: #fff;
}
.fb-right .kicker {
  font-size: 13px;
  color: var(--color-red);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.fb-right h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-primary);
  line-height: 1.3;
}
.fb-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.fb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fb-field label {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}
.fb-field label .req { color: var(--color-red); }
.fb-field input,
.fb-field textarea {
  border: 1px solid #cbd5e1;
  padding: 11px 13px;
  font-family: var(--font-main);
  font-size: 14px;
  background: #fff;
  color: #0f172a;
  transition: border-color 0.2s ease;
  width: 100%;
  border-radius: 0;
}
.fb-field input:focus,
.fb-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.fb-field input::placeholder,
.fb-field textarea::placeholder { color: #94a3b8; }
.fb-field textarea {
  resize: vertical;
  min-height: 90px;
}

/* Checkbox cards: 2 cột */
.fb-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.fb-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  user-select: none;
}
.fb-check input {
  width: 14px;
  height: 14px;
  accent-color: var(--color-primary);
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.fb-check:hover { border-color: var(--color-primary); }
.fb-check.active {
  border-color: var(--color-primary);
  background: #f0efff;
  color: var(--color-primary);
}

/* Radio kênh liên hệ: 3 nút ngang */
.fb-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.fb-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  user-select: none;
  flex: 1;
  min-width: 0;
  justify-content: center;
}
.fb-radio input {
  width: 14px;
  height: 14px;
  accent-color: var(--color-primary);
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.fb-radio:hover { border-color: var(--color-primary); }
.fb-radio.active {
  border-color: var(--color-primary);
  background: #f0efff;
  color: var(--color-primary);
}

/* Submit button */
.fb-submit {
  background: var(--color-red);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
  margin-top: 6px;
  width: 100%;
}
.fb-submit:hover { background: var(--color-primary); }

/* Responsive: dưới 960px → gộp 2 cột thành 1 */
@media (max-width: 960px) {
  .fb-wrap {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
  .fb-left { padding: 32px 28px; }
  .fb-right { padding: 32px 28px; }
  .fb-left .fb-benefits { gap: 12px; margin-bottom: 24px; }
  .fb-left p { margin-bottom: 24px; }
  .fb-left .fb-contact { margin-top: 24px; padding-top: 18px; }
}

/* Mobile: rút padding + 1 cột checkbox */
@media (max-width: 600px) {
  .fb-left { padding: 24px 18px; }
  .fb-left .eyebrow { margin-bottom: 8px; font-size: 12px; }
  .fb-left h2 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; }
  .fb-left p { font-size: 13.5px; margin-bottom: 20px; }
  .fb-right { padding: 24px 18px; }
  .fb-right .kicker { font-size: 12px; }
  .fb-right h3 { font-size: 18px; margin-bottom: 18px; }
  .fb-form { gap: 14px; }
  .fb-row { grid-template-columns: 1fr; gap: 14px; }
  .fb-checks { grid-template-columns: 1fr; gap: 6px; }
  .fb-radios { flex-direction: column; gap: 6px; }
  .fb-radio { justify-content: flex-start; }
  .fb-benefits { gap: 10px; margin-bottom: 18px; }
  .fb-benefit .ic { width: 24px; height: 24px; font-size: 11px; }
  .fb-benefit b { font-size: 13.5px; }
  .fb-benefit span { font-size: 12.5px; line-height: 1.45; }
  .fb-contact { font-size: 13px; gap: 10px; }
  .fb-submit { padding: 13px 24px; font-size: 14px; }
}

/* Google Maps */
.contact-map {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  line-height: 0;
}

/* Bottom: đồng hành + FAQ */
.contact-bottom {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.contact-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-bottom-left h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}
.contact-bottom-left > p {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
}
.contact-stars {
  display: flex;
  gap: 32px;
}
.contact-star-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-star-item p {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
}
.contact-bottom-right {
  background: var(--color-primary);
  padding: 40px;
}
.contact-bottom-right h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.2;
}
.contact-faq-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.3);
  gap: 16px;
}
.contact-faq-footer span {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.contact-form button.btn-banner {
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
}
/* =====================
   TRANG DỰ ÁN
===================== */

/* Hero */
/* ============================================================
   Project Hero — Concept A minimal (light theme)
   Nền trắng, 3 zone (filter | list | detail) chia bằng divider.
   Thumbnail 16:9 fill toàn cột detail, không cap.
   ============================================================ */
.project-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  color: var(--color-ink, #0f172a);
  overflow: hidden;
  border-bottom: 1px solid #e5e7eb;
}
.project-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 300px 1fr;
  min-height: 560px;
}

/* ---- Filter sidebar ---- */
.project-hero-sidebar {
  background: transparent;
  padding: 48px 24px 48px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid #e5e7eb;
}
.ph-sidebar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.project-filter-btn {
  display: block;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  background: #fff;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: all .2s;
}
.project-filter-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.project-filter-btn.active {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}
.project-filter-clear {
  color: #6b7280;
  border-color: #e5e7eb;
  font-size: 12px;
  margin-top: 8px;
}

/* ---- Content (list 5 dự án) ---- */
.project-hero-content {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid #e5e7eb;
}
.ph-list-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.project-hero-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.project-hero-item {
  font-size: 14.5px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  line-height: 1.45;
  transition: color .2s;
}
.project-hero-item:hover { color: var(--color-primary); }
.project-hero-item.active { color: var(--color-primary); }
.project-hero-item .phi-bar {
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--color-red);
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0;
  transition: opacity .25s ease;
}
.project-hero-item.active .phi-bar { opacity: 1; }
.project-hero-item .phi-num {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-red);
  flex-shrink: 0;
  margin-top: 4px;
  min-width: 18px;
}
.project-hero-item:not(.active) .phi-num {
  color: #cbd5e1;
}
.project-hero-item .phi-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  word-break: break-word;
}

/* ---- Detail panel (thumbnail 16:9 fill cột + meta + h1 + desc + nút) ---- */
.project-hero-detail {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
.ph-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
  position: relative;
}
.ph-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ph-status {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.ph-date {
  font-size: 12px;
  color: #6b7280;
}
.project-hero-detail h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  width: 100%;
}
.project-hero-detail p {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  width: 100%;
}
.project-hero-detail .btn-banner { gap: 8px; }

@media (max-width: 1100px) {
  .project-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .project-hero-sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 24px 24px;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  .ph-sidebar-label { width: 100%; }
  .project-filter-btn { flex: 1; min-width: 120px; }
  .project-hero-content {
    padding: 28px 24px;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  .project-hero-detail { padding: 32px 24px; }
  .project-hero-detail h1 { font-size: 26px; }
}

/* Archive dự án */
.projects-archive {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.projects-archive-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.projects-archive-header {
  margin-bottom: 40px;
}
.projects-archive-left h2 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.projects-archive-left p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  max-width: 500px;
}
.projects-archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.project-archive-item {
  display: flex;
  gap: 20px;
  padding: 28px 24px;
  border-bottom: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  align-items: flex-start;
  transition: background .2s;
}
.project-archive-item:hover { background: #f9fafb; }
.project-archive-item:nth-child(even) { border-right: none; }
.project-archive-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}
.project-archive-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-archive-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.project-archive-title-row h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
}
.project-archive-title-row h3 a {
  text-decoration: none;
  color: inherit;
}
.project-archive-title-row h3 a:hover { text-decoration: underline; }
.project-archive-arrow {
  width: 28px;
  height: 28px;
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
}
.project-archive-status {
  font-size: 12px;
  font-weight: 700;
}
.project-archive-body p {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
}

/* Lợi thế triển khai */
.project-advantages {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: var(--color-primary);
  padding: 60px 0;
  overflow: hidden;
}
.project-advantages-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.project-advantages-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.project-advantages-left h2 { font-size: 40px; line-height: 1.2; }
.project-advantages-left p { font-size: 14px; line-height: 1.7; max-width: 380px; }
.project-person {
  width: 280px;
  object-fit: contain;
  margin-top: 16px;
}
.project-advantages-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.project-adv-card {
  background: #fff;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.project-adv-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.project-adv-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.project-adv-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.project-adv-card p {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
}

/* Cơ hội đầu tư */
.project-invest {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.project-invest-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.project-invest-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 12px;
}
.project-invest-desc {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.project-invest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.project-invest-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.project-invest-card:hover { border-color: var(--color-primary); }
.project-invest-thumb img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.project-invest-body {
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  transition: background 0.25s ease;
}
.project-invest-card:hover .project-invest-body { background: var(--color-primary); }

.project-invest-body .project-meta { color: #6b7280; transition: color 0.25s ease; }
.project-invest-card:hover .project-invest-body .project-meta { color: rgba(255,255,255,0.7); }

.project-invest-tag {
  display: inline-block;
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  width: fit-content;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.project-invest-tag a { color: var(--color-primary); text-decoration: none; transition: color 0.25s ease; }
.project-invest-card:hover .project-invest-tag {
  color: #fff;
  border-color: #fff;
}
.project-invest-card:hover .project-invest-tag a { color: #fff; }

.project-invest-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  transition: color 0.25s ease;
}
.project-invest-body h4 a { text-decoration: none; color: inherit; }
.project-invest-card:hover .project-invest-body h4 { color: #fff; }

.project-invest-body p {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  flex: 1;
  transition: color 0.25s ease;
}
.project-invest-card:hover .project-invest-body p { color: rgba(255,255,255,0.85); }

.project-invest-body .project-views { color: #6b7280; transition: color 0.25s ease; }
.project-invest-card:hover .project-invest-body .project-views { color: rgba(255,255,255,0.7); }

/* Pagination */
.project-invest-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
}

/* ========================================================
   Pagination JS-based cho section "Dự án đã thực hiện"
   (page-dich-vu.php). 2 dự án / trang.
   ======================================================== */
.pi-page { display: grid; }
.pi-page.pi-page-hidden { display: none !important; }
.pi-page + .pi-page { margin-top: 0; }

.pi-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}
.pi-page-nums {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pi-prev, .pi-next {
  width: 48px;
  height: 48px;
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s, opacity 0.2s;
}
.pi-prev:hover, .pi-next:hover {
  background: var(--color-primary);
  text-decoration: none;
}
.pi-prev.disabled, .pi-next.disabled {
  background: #f8b8c4; /* hồng nhạt giống design */
  pointer-events: none;
  cursor: not-allowed;
}
.pi-page-num {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pi-page-num:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  text-decoration: none;
}
.pi-page-num.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.project-invest-pagination a,
.project-invest-pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  transition: all .2s;
}
.project-invest-pagination .current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.project-invest-pagination a:first-child,
.project-invest-pagination a:last-child {
  background: var(--color-red);
  border-color: var(--color-red);
}
.project-invest-pagination a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
/* orphan rules cũ (text-align:right) đã gỡ — layout mới căn trái */
.project-advantages-left h2 {
  font-size: 32px;
  line-height: 1.2;
}
/* =====================
   TRANG DỊCH VỤ CHUNG
===================== */

/* Hero */
.sv-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: 60px 0;
}
.sv-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sv-hero-left {
  position: relative;
}
.sv-hero-left img {
  width: 100%;
  object-fit: contain;
  display: block;
}
.sv-hero-badge {
  position: absolute;
  background: #fff;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 0;
  z-index: 2;
}
.sv-hero-badge img { width: 16px; height: 16px; filter: invert(27%) sepia(94%) saturate(1234%) hue-rotate(210deg) brightness(96%) contrast(94%); }
.sv-hero-badge-1 { top: 20%; left: 0; }
.sv-hero-badge-2 { top: 10%; right: 10%; }
.sv-hero-badge-3 { bottom: 25%; right: 5%; }
.sv-hero-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sv-hero-right h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}
.sv-hero-right p {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
}

/* Lợi ích - Redesigned */
.sv-benefits {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 80px 0;
  overflow: hidden;
}
.sv-benefits-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.sv-benefits-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.sv-benefits-left::before {
  content: '';
  width: 48px;
  height: 4px;
  background: var(--color-primary);
  display: block;
}
.sv-benefits-left h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.sv-benefits-left p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.8;
}
.sv-benefits-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: benefit-counter;
}
.sv-benefit-card {
  counter-increment: benefit-counter;
  position: relative;
  border: 1px solid #e5e7eb;
  border-left: 4px solid transparent;
  border-radius: 0;
  padding: 28px 28px 28px 80px;
  background: #fff;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}
.sv-benefit-card::before {
  content: counter(benefit-counter, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 28px;
  font-size: 28px;
  font-weight: 800;
  color: #e5e7eb;
  line-height: 1;
  transition: color 0.35s ease;
}
.sv-benefit-card:hover {
  border-color: rgba(42, 34, 217, 0.15);
  border-left-color: var(--color-primary);
  box-shadow: 0 8px 30px rgba(42, 34, 217, 0.08);
  transform: translateX(4px);
}
.sv-benefit-card:hover::before {
  color: rgba(42, 34, 217, 0.25);
}
.sv-benefit-card.sv-benefit-active {
  background: var(--color-primary);
  border-color: transparent;
  border-left-color: #6C63FF;
  box-shadow: 0 12px 40px rgba(42, 34, 217, 0.25);
  transform: translateX(4px);
}
.sv-benefit-card.sv-benefit-active::before {
  color: rgba(255, 255, 255, 0.2);
}
.sv-benefit-card.sv-benefit-active h4 { color: #fff; }
.sv-benefit-card.sv-benefit-active p { color: rgba(255,255,255,0.8); }
.sv-benefit-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.35s ease;
}
.sv-benefit-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  transition: color 0.35s ease;
}

/* Tabs */
.sv-tabs-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.sv-tabs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
}

/* Các section bên trong tabs (why / benefits) kế thừa padding từ sv-tabs-inner,
   reset inner container để không bị double-constrain */
.sv-tabs-inner .sv-why-inner,
.sv-tabs-inner .sv-process-inner,
.sv-tabs-inner .sv-benefits-inner {
  max-width: none;
  padding: 0;
  margin: 0;
}
/* Process / Grow section bên trong tabs: PHÁ FULL-WIDTH ra viewport
   để background xám/gradient trải đều cả màn hình, không bị bó trong khung tabs */
.sv-tabs-inner .process-section,
.sv-tabs-inner .sv-grow {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.sv-tabs-inner .process-section { padding: 60px 0; }
.sv-tabs-inner .sv-grow { padding: 80px 0; }
/* Inner content căn lại max-width + padding để align với layout chính */
.sv-tabs-inner .process-section .process-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
}
.sv-tabs-inner .sv-grow .sv-grow-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}
/* Bỏ horizontal padding & background của section wrapper bên trong tabs */
.sv-tabs-inner .sv-why,
.sv-tabs-inner .sv-process,
.sv-tabs-inner .sv-benefits {
  width: auto;
  position: static;
  left: auto;
  margin-left: 0;
}
/* sv-why trong tabs: bỏ background và giảm padding dọc */
.sv-tabs-inner .sv-why {
  background: transparent;
  padding: 40px 0;
}
.sv-tabs-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 24px;
}
.sv-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.sv-tab {
  padding: 14px 30px;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: var(--font-main);
}
.sv-tab:hover {
  background: #f0efff;
  color: var(--color-primary);
}
.sv-tab.active {
  background: var(--color-primary);
  color: #fff;
}

.sv-tab-content { display: none; }
.sv-tab-content.active { display: block; }

/* Sub Hero — format giống banner trang chủ, 2 cột, nền xanh */
.sv-sub-hero {
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 460px;
  background: var(--color-primary);
  /* Full-width escape từ sv-tabs-inner */
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: 60px max(120px, calc(50vw - 520px));
  overflow: hidden;
}
.sv-sub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}
.sv-sub-hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.sv-sub-hero-left h2 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.sv-sub-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sv-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.sv-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sv-check-icon img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}
.sv-sub-hero-right {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sv-sub-hero-right img {
  width: auto;
  height: 380px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.2));
}
.sv-note {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  font-style: italic;
  margin-top: 8px;
}

/* ======= SV-WHY — Bento Grid Layout ======= */
.sv-why {
  background: #f7f7f5;
  padding: 80px 0;
}
.sv-why-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
}

/* Header */
.sv-why-header {
  margin-bottom: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.sv-why-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  max-width: 560px;
  letter-spacing: -0.02em;
}
.sv-why-header p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.8;
  max-width: 360px;
  flex-shrink: 0;
}
.sv-why .text-red { color: var(--color-red); }

/* Bento Grid */
.sv-bento {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

/* All cells base */
.sv-bento-cell {
  padding: 36px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
}
.sv-bento-cell.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
}
.sv-bento-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.10);
  z-index: 1;
}

/* Cell 1: Intro — full height left column */
.cell-intro {
  grid-column: 1;
  grid-row: 1 / 3;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
}
.cell-intro::before {
  content: '?';
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 220px;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  pointer-events: none;
}
.cell-intro-tag {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.cell-intro h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 16px;
}
.cell-intro p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.75;
}

/* Cell 2: Item 1 — white bg + viền xám nhạt để không chìm nền cream */
.cell-item-1 {
  grid-column: 2;
  grid-row: 1;
  background: #fff;
  border: 1.5px solid #cbd5e1;
}

/* Cell 3: Item 2 — light blue tint bg (đã tách nền bằng màu) */
.cell-item-2 {
  grid-column: 3;
  grid-row: 1;
  background: #eef0ff;
}

/* Cell 4: Item 3 — white bg + viền xám nhạt để không chìm nền cream */
.cell-item-3 {
  grid-column: 2;
  grid-row: 2;
  background: #fff;
  border: 1.5px solid #cbd5e1;
}

/* Cell 5: Stat highlight */
.cell-stat {
  grid-column: 3;
  grid-row: 2;
  background: var(--color-red);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  cursor: default;
}
.cell-stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
}
.cell-stat-num {
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
  position: relative;
}
.cell-stat-num sup {
  font-size: 28px;
  font-weight: 700;
  vertical-align: super;
}
.cell-stat-label {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  position: relative;
  max-width: 160px;
  line-height: 1.5;
}

/* Item cell content — số 01/02/03 + icon box: XANH brand cho cả 3 card */
.sv-bento-cell .cell-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.sv-bento-cell .cell-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.sv-bento-cell .cell-icon svg { color: #fff; }

/* Tiêu đề mục H4: mọi card trên nền không phải xanh brand → màu xanh brand */
.sv-bento-cell h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 12px;
}

.sv-bento-cell .cell-desc {
  font-size: 13px;
  color: #374151;
  line-height: 1.7;
}

/* Blue section */
.sv-blue-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: var(--color-primary);
  padding: 60px 0;
}
.sv-blue-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}
.sv-blue-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sv-blue-left h2 { font-size: 28px; line-height: 1.3; }
.sv-blue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sv-blue-item {
  background: rgba(255,255,255,0.1);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}
.sv-blue-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.sv-blue-item p {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

/* Process */
.sv-process {
  padding: 60px 0;
}
.sv-process-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.sv-process-left h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 24px;
}
.sv-process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sv-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all .2s;
}
.sv-step:last-child { border-bottom: none; }
.sv-step-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  min-width: 40px;
  line-height: 1.3;
}
.sv-step h4 {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  line-height: 1.4;
}
.sv-step-active h4 { color: var(--color-red); }
.sv-step-active .sv-step-num { color: var(--color-red); }
.sv-step ul {
  list-style: none;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sv-step ul li {
  font-size: 12px;
  color: #6b7280;
  padding-left: 12px;
  position: relative;
}
.sv-step ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-red);
}
.sv-process-right img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* Projects */
.sv-projects {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  padding: 60px 0;
}
.sv-projects-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
}
.sv-projects-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 32px;
}
.sv-step-detail {
  display: none;
  margin-top: 8px;
}
.sv-step-active .sv-step-detail {
  display: block;
}
.sv-step-body {
  flex: 1;
}
#sv-process-img {
  transition: opacity 0.2s ease;
}
/* =====================
   TRANG DỊCH VỤ CHUNG
===================== */

/* Hero banner dịch vụ - dùng lại format banner trang chủ */
.sv-hero-banner {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #fff;
  overflow: hidden;
}
.sv-hero-banner .banner-inner {
  height: 620px;
}
.sv-hero-banner .banner-right img {
  width: auto;
  height: 480px;
  object-fit: contain;
}
/* Variant nền xanh */
.sv-hero-banner.banner-blue {
  background: var(--color-primary);
}
.sv-hero-banner.banner-blue .banner-inner {
  background: transparent;
}

/* Giữ lại class cũ cho backward compat */
.sv-hero-generic {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: 60px 0;
}
.sv-hero-generic-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sv-hero-generic-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sv-hero-generic-left h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}
.sv-hero-generic-left p {
  font-size: 14px;
  line-height: 1.7;
}
.sv-hero-generic-right img {
  width: 100%;
  object-fit: contain;
  display: block;
}

/* .sv-why-section & .sv-why-section-inner deprecated — replaced by bento layout */

/* ======= SV-GALLERY — Swiper Carousel ======= */
.sv-gallery {
  padding: 48px 0 0;
  background: transparent;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  overflow: hidden;
}

.sv-gallery-swiper {
  overflow: hidden;
  padding-bottom: 40px; /* space for pagination dots */
}

.sv-gallery-item {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 0;
  background: #e5e7eb;
}

.sv-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sv-gallery-item:hover img {
  transform: scale(1.05);
}

/* Navigation buttons */
.sv-gallery-prev,
.sv-gallery-next {
  color: var(--color-primary) !important;
  width: 36px !important;
  height: 36px !important;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  top: 50% !important;
}
.sv-gallery-prev::after,
.sv-gallery-next::after {
  font-size: 14px !important;
  font-weight: 700;
}

/* Pagination dots */
.sv-gallery-pagination {
  bottom: 10px !important;
}
.sv-gallery-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

/* Khi nằm trong tabs */
.sv-tabs-inner .sv-gallery {
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
}

/* ===== FIX DROPDOWN SERVICE HOVER (FINAL) ===== */

/* Smooth transition */
.service-item {
  transition: background 0.2s ease;
}

.service-text h4,
.service-text p {
  transition: color 0.2s ease;
}

/* Hover background */
.service-item:hover {
  background: var(--color-primary);
}

/* Force text white (đủ mạnh nhưng vẫn sạch) */
.service-item:hover .service-text h4,
.service-item:hover .service-text p,
.service-item:hover .service-text {
  color: #fff;
}

/* Icon background */
.service-item:hover .service-icon {
  background: rgba(255,255,255,0.2);
}

/* Icon màu trắng */
.service-item:hover .service-icon img {
  filter: brightness(0) invert(1);
}
.nav-menu a.active-link {
  color: var(--color-primary) !important;
}
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a,
.nav-menu li.current_page_parent > a {
  color: var(--color-primary) !important;
}
.nav-menu li.active > a {
  color: var(--color-primary) !important;
}
.nav-menu .service-item {
  padding: 10px 15px !important;
  gap: 16px !important;
}

.nav-menu .service-text h4 {
  margin-bottom: 4px !important;
}

.nav-menu .service-text p {
  margin: 0 !important;
}
/* =====================
   404 PAGE
===================== */
.page-404 {
  background: #fff;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
}
.page-404-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

/* Left — big 404 number */
.page-404-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  user-select: none;
}
.page-404-num {
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}
.p404-4,
.p404-0 {
  font-size: 180px;
  font-weight: 900;
  letter-spacing: -8px;
}
.p404-4 { color: var(--color-primary); }
.p404-0 {
  color: transparent;
  -webkit-text-stroke: 3px var(--color-red);
}
.page-404-line {
  width: 60px;
  height: 3px;
  background: var(--color-red);
}
.page-404-code {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0;
}

/* Right — text + actions */
.page-404-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-404-right h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin: 4px 0 0;
}
.page-404-right > p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.75;
  margin: 0;
}
.page-404-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Search */
.page-404-suggestions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}
.page-404-suggest-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0;
}
.page-404-search {
  display: flex;
  gap: 0;
}
.page-404-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-right: none;
  font-size: 13px;
  color: #374151;
  outline: none;
}
.page-404-search input:focus { border-color: var(--color-primary); }
.page-404-search button {
  padding: 10px 20px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.page-404-search button:hover { background: #1e18b0; }

/* Quick nav links */
.page-404-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.page-404-nav a {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}
.page-404-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--color-red);
  transition: width .2s;
}
.page-404-nav a:hover::after { width: 100%; }
.page-404-nav a:hover { color: var(--color-primary); }

/* =====================
   LEGAL PAGES (Chính sách / Điều khoản)
===================== */
.legal-hero {
  background: var(--color-primary);
  padding: 64px 0 56px;
}
.legal-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-hero-inner h1 {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}
.legal-hero-inner .text-red { color: #fff; }
.legal-hero-inner .swi-sv-label { color: rgba(255,255,255,0.55); }
.legal-hero-inner > p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.legal-body { padding: 64px 0 100px; background: #fff; }
.legal-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

/* TOC sidebar */
.legal-toc {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-toc-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0 0 10px;
}
.legal-toc nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid #f0f0f0;
}
.legal-toc nav a {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color .2s, border-color .2s;
  line-height: 1.4;
}
.legal-toc nav a:hover {
  color: var(--color-primary);
  border-left-color: var(--color-primary);
}

/* Content */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.legal-intro {
  padding: 20px 24px;
  border-left: 3px solid var(--color-primary);
  background: #f7f8ff;
}
.legal-intro p {
  font-size: 15px;
  color: #374151;
  line-height: 1.75;
  margin: 0;
}
.legal-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.legal-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
.legal-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 8px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.legal-section p {
  font-size: 15px;
  color: #374151;
  line-height: 1.8;
  margin: 0;
}
.legal-section ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-section ul li {
  font-size: 15px;
  color: #374151;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--color-red);
}
.legal-section a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-contact-box {
  background: #f8f9fb;
  border: 1px solid #e5e7eb;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-contact-box p {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin: 0;
}
.legal-contact-box a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

/* Footer legal links */
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.footer-legal-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color .2s;
}
.footer-legal-links a:hover { color: var(--color-primary); }
.footer-legal-links span { color: #d1d5db; }

.legal-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 3px solid #f59e0b;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-notice-title {
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}
.legal-notice p {
  font-size: 14px;
  color: #78350f;
  line-height: 1.75;
  margin: 0;
}

/* =====================

/* =====================
   MOBILE MENU
===================== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 9998;
  overflow-y: auto;
  padding: 8px 0 40px;
  border-top: 1px solid #e5e7eb;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }

.mobile-menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu-nav li {
  border-bottom: 1px solid #f0f0f0;
}
.mobile-menu-nav li a {
  display: block;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-nav li a:hover {
  background: #f7f8ff;
  color: var(--color-primary);
}
.mobile-menu-actions {
  padding: 24px;
  border-top: 1px solid #f0f0f0;
  margin-top: 8px;
}
.mobile-menu-actions .btn-lienhe {
  display: block;
  text-align: center;
  padding: 14px 24px;
  font-size: 15px;
}

/* =====================
   TRANG CHỦ TIN TỨC (home.php) — RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
  .news-hero { padding: 48px 0; }
  .news-hero-inner {
    flex-direction: column;
    padding: 0 40px;
    gap: 32px;
    align-items: stretch;
  }
  .news-hero-left h1 { font-size: 34px; }
  .news-hero-right {
    min-height: auto;
    width: 100%;
  }
  .news-hero-right img {
    height: auto;
    max-height: 320px;
    width: 100%;
  }
}

/* News categories (section "Danh mục bài viết") */
@media (max-width: 1024px) {
  .news-categories { padding: 48px 0; }
  .news-categories-inner { padding: 0 40px; }
  .news-cat-header {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .news-cat-left h2 { font-size: 28px; }
  .news-cat-stats { width: 100%; }
  .news-stat { flex: 1; padding: 16px 12px; }
  .news-stat strong { font-size: 26px; }
  .news-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .news-categories { padding: 32px 0; }
  .news-categories-inner { padding: 0 20px; }
  .news-cat-header { gap: 20px; margin-bottom: 24px; }
  .news-cat-left h2 { font-size: 22px; }
  .news-cat-left p { font-size: 13px; }
  .news-stat { padding: 14px 8px; }
  .news-stat strong { font-size: 22px; }
  .news-stat span { font-size: 12px; }
  .news-cat-card { padding: 16px; gap: 12px; }
  .news-cat-icon { width: 38px; height: 38px; }
  .news-cat-icon img { width: 16px; height: 16px; }
  .news-cat-info h4 { font-size: 15px; }
  .news-cat-info p { font-size: 12px; }
  .news-cat-arrow { width: 32px; height: 32px; }
}

/* Fuel section — responsive (header.php đã có rule cơ bản cho mobile,
   ở đây chỉ thêm: tablet grid 2 cột + fix khi nested trong archive-inner) */
@media (max-width: 1024px) {
  .fuel-inner { padding: 0 40px; }
  .fuel-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 768px) {
  /* Khi fuel-section nằm trong archive-inner (trang category "tin-tuc-thi-truong"),
     KHÔNG dùng full-bleed 100vw nữa — để nó theo đúng padding của archive-inner */
  .archive-inner .fuel-section {
    width: auto !important;
    left: auto !important;
    margin-left: 0 !important;
    padding: 24px 0 !important;
  }
  .archive-inner .fuel-inner {
    padding: 0 !important;
    max-width: 100% !important;
  }
}
@media (max-width: 640px) {
  .fuel-inner { padding: 0 20px; }
  .fuel-title { font-size: 22px !important; }
  .fuel-desc { font-size: 13px !important; margin-bottom: 16px; }
  .fuel-tab { padding: 8px 14px; font-size: 12px; }
  .fuel-card-header { padding: 12px; gap: 10px; }
  .fuel-card-header strong { font-size: 14px; }
  .fuel-price { font-size: 18px; }
}

/* Newsletter sidebar — style cho cấu trúc form mới (email → textarea → button)
   Áp dụng cho mọi viewport vì HTML đã đổi thứ tự DOM */
.sidebar-newsletter .sidebar-nl-form > .sidebar-nl-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 13px;
  outline: none;
  border-radius: 0;
  box-sizing: border-box;
  margin: 0;
}
.sidebar-newsletter .sidebar-nl-form > .sidebar-nl-input::placeholder {
  color: rgba(255,255,255,0.55);
}
.sidebar-newsletter .sidebar-nl-form > .sidebar-nl-input:focus {
  border-color: rgba(255,255,255,0.85);
}
.sidebar-newsletter .sidebar-nl-form > .sidebar-nl-submit,
.sidebar-newsletter .sidebar-nl-form button.sidebar-nl-submit,
.sidebar-nl-form .sidebar-nl-submit {
  width: 100% !important;
  padding: 12px 18px !important;
  background: var(--color-red) !important;
  color: #fff !important;
  border: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  transition: box-shadow 0.2s !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
.sidebar-newsletter .sidebar-nl-form > .sidebar-nl-submit:hover,
.sidebar-newsletter .sidebar-nl-form button.sidebar-nl-submit:hover,
.sidebar-nl-form .sidebar-nl-submit:hover {
  box-shadow: 4px 4px 2px 0 rgba(0,0,0,0.25) inset !important;
}

/* Newsletter sidebar — reorder trên mobile (phòng trường hợp template khác còn dùng .subscribe-row):
   Dùng display:contents để "hoà tan" .subscribe-row wrapper, sau đó dùng order.
   Desktop không ảnh hưởng vì rule nằm trong media query ≤768px. */
@media (max-width: 768px) {
  .sidebar-nl-form { display: flex; flex-direction: column; gap: 10px; }
  .sidebar-nl-form .subscribe-row { display: contents; }
  .sidebar-nl-form .subscribe-row input[type="email"] {
    order: 1;
    width: 100% !important;
    box-sizing: border-box;
  }
  .sidebar-nl-form textarea {
    order: 2;
    margin-top: 0 !important;
    width: 100%;
    box-sizing: border-box;
  }
  .sidebar-nl-form .subscribe-row button {
    order: 3;
    width: 100% !important;
    padding: 12px 18px !important;
  }
  .sidebar-nl-form > #swi-nl-msg,
  .sidebar-nl-form .sidebar-nl-msg { order: 4; }
}

/* Archive/Category page — responsive */
@media (max-width: 1024px) {
  .archive-page { padding: 32px 0 48px; }
  .archive-inner { padding: 0 40px; }
  .archive-layout { grid-template-columns: 1fr; gap: 32px; }
  .archive-banner { height: auto; aspect-ratio: auto; }
  .archive-banner img { height: auto; }
  .archive-banner-overlay { padding: 20px; }
  .archive-banner-overlay h1 { font-size: 26px; }
  .archive-title { font-size: 26px; }
}

@media (max-width: 640px) {
  .archive-inner { padding: 0 20px; }
  .archive-page { padding: 24px 0 40px; }
  /* Banner hiển thị full tỉ lệ gốc, không crop 2 bên */
  .archive-banner {
    height: auto !important;
    overflow: visible;
    margin-bottom: 20px;
  }
  .archive-banner img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    display: block;
  }
  .archive-banner-overlay { padding: 14px 16px; }
  .archive-banner-overlay h1 { font-size: 20px; line-height: 1.3; }
  .archive-banner-overlay p { font-size: 12px; }
  .archive-breadcrumb { font-size: 12px; margin-bottom: 16px; }
  .archive-title { font-size: 22px; }
}

/* ===== MOBILE CAROUSEL: grid dọc → scroll ngang có mũi tên ===== */
@media (max-width: 640px) {
  .news-cat-grid,
  .news-archive-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 12px;
    padding: 4px 4px 16px;
    scrollbar-width: none;
  }
  .news-cat-grid::-webkit-scrollbar,
  .news-archive-grid::-webkit-scrollbar { display: none; }
  .news-cat-grid > *,
  .news-archive-grid > * {
    flex: 0 0 88%;
    scroll-snap-align: start;
    min-width: 0;
  }

  /* Wrapper do JS inject */
  .swi-mobile-carousel { position: relative; }

  /* Arrow buttons */
  .swi-carousel-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    background: rgba(42,34,217,0.92);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: opacity .2s, background .2s;
    padding: 0;
  }
  .swi-carousel-arrow:hover { background: rgba(223,27,64,0.95); }
  .swi-carousel-arrow[disabled] { opacity: 0; pointer-events: none; }
  .swi-carousel-arrow-prev { left: 4px; }
  .swi-carousel-arrow-next { right: 4px; }
}

@media (max-width: 640px) {
  .news-hero { padding: 32px 0; }
  .news-hero-inner {
    padding: 0 20px;
    gap: 24px;
  }
  .news-hero-left { gap: 14px; }
  .news-hero-left h1 { font-size: 24px; line-height: 1.25; }
  /* Giữ <br> để tách "có gì" và "chia sẻ" (HTML gốc không có space giữa chúng) */
  .news-hero-left > p { font-size: 14px; line-height: 1.6; }

  /* Search form: input hiển thị đầy đủ, nút không chiếm hết chỗ */
  .news-search {
    flex-direction: row;
    align-items: stretch;
  }
  .news-search input {
    min-width: 0;       /* quan trọng: cho phép input co lại đúng flex */
    padding: 10px 12px;
    font-size: 13px;
  }
  .news-search button {
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
  }
  .news-search button svg { width: 14px; height: 14px; }

  /* Tags trending */
  .news-trending strong { font-size: 13px; }
  .news-tags a { font-size: 12px; padding: 4px 12px; }

  /* Hero image + badges */
  .news-hero-right img { max-height: 240px; }
  .news-hero-badge {
    font-size: 11px;
    padding: 6px 10px;
    max-width: 140px;
    gap: 6px;
  }
}

/* =====================
   PAGE HỢP TÁC — RESPONSIVE (TABLET + MOBILE)
   ===================== */
@media (max-width: 1024px) {
  /* Hero banner */
  .sv-hero-banner .banner-inner {
    height: auto;
    flex-direction: column;
    padding: 40px 40px;
    gap: 32px;
  }
  .sv-hero-banner .banner-right img {
    height: auto;
    max-height: 360px;
    width: 100%;
  }
  .banner-left { max-width: 100%; }
  .banner-left h1 { font-size: 36px; }

  /* Hạng mục hợp tác */
  .ht-cats { padding: 56px 0; }
  .ht-cats-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 40px;
  }
  .ht-cats-header {
    position: static;
    top: auto;
  }
  .ht-cats-header h2 { font-size: 30px; }

  /* Map + sidebar */
  .ht-map-section { padding: 40px 0; }
  .ht-map-wrapper {
    grid-template-columns: 1fr;
    height: auto;
    padding: 0 40px;
    gap: 16px;
  }
  .ht-sidebar {
    max-height: none;
    overflow: visible;
    padding: 24px 20px;
  }
  .ht-station-list {
    max-height: 320px;
    overflow-y: auto;
  }
  .ht-map-container { height: 420px; }
  #swi-map { height: 420px; }

  /* Profile */
  .ht-profile-inner { padding: 0 40px; }
  .ht-profile-header {
    padding: 20px 40px;
    margin: 0 -40px;
    gap: 14px;
  }
  .ht-profile-body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0;
  }
  .ht-profile-title h3 { font-size: 20px; }
  .ht-gallery-main { height: 280px; }

  /* Partners & CTA */
  .ht-partners-inner,
  .ht-cta-inner { padding: 0 40px; }
  .ht-partners-grid { grid-template-columns: repeat(3, 1fr); }
  .ht-partners-inner h2,
  .ht-cta-inner h2 { font-size: 30px; }
}

@media (max-width: 640px) {
  /* Hero banner */
  .sv-hero-banner .banner-inner {
    padding: 32px 20px;
    gap: 24px;
  }
  .sv-hero-banner .banner-right img {
    max-height: 240px;
  }
  .banner-left { gap: 14px; }
  .banner-left h1 { font-size: 26px; line-height: 1.25; }
  .banner-left p { font-size: 14px; }
  .banner-tag { font-size: 11px; }
  /* Mobile: gap 14px → halved = 7px → margin-bottom: -7px */
  .banner-meta,
  .sv-blue-left > .banner-tag,
  .project-advantages-left > .banner-tag,
  .about-advantages-left > .banner-tag {
    margin-bottom: -7px;
  }
  .btn-banner,
  .afcta-btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .sv-hero-banner .banner-inner > .banner-left > div[style] {
    flex-direction: column !important;
    width: 100%;
  }

  /* Hạng mục hợp tác */
  .ht-cats { padding: 40px 0; }
  .ht-cats-inner {
    padding: 0 20px;
    gap: 24px;
  }
  .ht-cats-header h2 { font-size: 24px; }
  .ht-cats-header p { font-size: 13px; }
  .ht-cat-card {
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "num text"
      "num count";
    gap: 6px 14px;
    padding: 16px 14px;
    align-items: start;
  }
  .ht-cat-num {
    grid-area: num;
    width: 36px; height: 36px;
    font-size: 12px;
  }
  .ht-cat-card-text { grid-area: text; }
  .ht-cat-card h4 { font-size: 14px; }
  .ht-cat-desc { font-size: 12px; }
  .ht-cat-count {
    grid-area: count;
    font-size: 11px;
    margin-top: 2px;
  }

  /* Map + sidebar */
  .ht-map-section { padding: 32px 0; }
  .ht-map-wrapper {
    padding: 0 16px;
    gap: 12px;
  }
  .ht-sidebar {
    padding: 20px 16px;
    gap: 16px;
  }
  .ht-sidebar-title { font-size: 10px; padding-bottom: 12px; }
  .ht-filter-group label { font-size: 10px; }
  .ht-filter-group select,
  .ht-filter-group input { font-size: 14px; padding: 10px 12px; }
  .ht-station-list { max-height: 260px; }
  .ht-map-container { height: 360px; }
  #swi-map { height: 360px; }

  /* Profile */
  .ht-profile-inner { padding: 0 20px; }
  .ht-profile-header {
    padding: 16px 20px;
    margin: 0 -20px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .ht-profile-pin { width: 40px; height: 40px; }
  .ht-profile-title h3 { font-size: 17px; }
  .ht-profile-sub { font-size: 10px; }
  .ht-profile-close {
    width: 34px; height: 34px;
    font-size: 15px;
  }
  .ht-profile-body { padding: 20px 0; gap: 20px; }
  .ht-profile-field { font-size: 13px; }
  .ht-profile-tag { font-size: 11px; padding: 4px 10px; }
  .ht-profile-actions { gap: 10px; }
  .ht-profile-actions .btn-banner { width: 100%; }
  .ht-gallery-main { height: 220px; }
  .ht-thumb { width: 52px; height: 40px; }

  /* Lightbox nav buttons nhỏ lại */
  #ht-lightbox button { width: 40px !important; height: 40px !important; font-size: 20px !important; }
  #lb-prev { left: 8px !important; }
  #lb-next { right: 8px !important; }

  /* Partners & CTA */
  .ht-partners { padding: 40px 0; }
  .ht-partners-inner,
  .ht-cta-inner { padding: 0 20px; gap: 24px; }
  .ht-partners-grid { grid-template-columns: repeat(2, 1fr); }
  .ht-partner-logo { padding: 18px; }
  .ht-partner-logo img { max-width: 80px; max-height: 32px; }
  .ht-partners-inner h2,
  .ht-cta-inner h2 { font-size: 24px; }
  .ht-cta { padding: 40px 0; }
  .ht-cta-inner p { font-size: 14px; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 20px; }
  .navbar { height: 60px; }
  .nav-menu, .nav-actions { display: none !important; }
  .nav-hamburger { display: flex; }
  .mobile-menu { top: 60px; }
}
.fuel-price {
  font-size: 18px;
}

.fuel-zone-label {
  font-size: 11px;
}

.fuel-old,
.fuel-change {
  font-size: 11px;
}
.sv-card-more {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  border: 1.5px dashed rgba(42,34,217,0.25) !important;
  background: #f7f8ff !important;
  text-decoration: none;
}
.sv-card-more:hover {
  border-color: #2A22D9 !important;
  background: #f0f4ff !important;
}
.sv-left-img {
  margin-top: 24px;
  width: 100%;
  height: 430px;
  overflow: hidden;
}
.sv-left-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* =====================
   PROCESS SECTION — NEW
===================== */
.pw-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 1rem;
}
.pw-header-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.pw-header { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 1rem; }
.pw-header-right { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.pw-header > div > .swi-sv-label { margin-bottom: 14px !important; }
.pw-header h2 { margin: 0 0 16px !important; }
.pw-header p { font-size: 15px; color: #6b7280; line-height: 1.75; margin: 0; }
.pw-progress-bar { width: 100%; height: 3px; background: #e5e7eb; }
.pw-progress-fill { height: 100%; background: #2A22D9; transition: width .5s ease; width: 25%; }
.pw-step-counter { font-size: 13px; color: #6b7280; }
.pw-step-counter strong { color: #2A22D9; font-weight: 700; }
.pw-nav-btn { width: 40px; height: 40px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pw-nav-prev { background: #f3f4f6; border: 1px solid #e5e7eb; }
.pw-nav-next { background: #2A22D9; }
.pw-stage { display: grid; grid-template-columns: 1fr 1.8fr; border: 1px solid #e5e7eb; }
.pw-left { background: #2A22D9; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.pw-left-num { font-size: 160px; font-weight: 700; color: rgba(255,255,255,.06); line-height: 1; position: absolute; bottom: -20px; right: -10px; pointer-events: none; user-select: none; }
.pw-steps-nav { display: flex; flex-direction: column; flex: 1; }
.pw-step-btn { padding: 22px 28px; cursor: pointer; border: none; background: transparent; text-align: left; border-bottom: 1px solid rgba(255,255,255,.15); display: flex; align-items: flex-start; gap: 16px; position: relative; transition: background .15s; width: 100%; }
.pw-step-btn:last-child { border-bottom: none; }
.pw-step-btn:hover { background: #1e18b0; }
.pw-step-btn.active { background: #1a15a0; }
.pw-step-btn.active::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 3px; background: #fff; }
.pw-step-btn-num { font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .1em; min-width: 28px; padding-top: 2px; opacity: .6; }
.pw-step-btn.active .pw-step-btn-num,
.pw-step-btn:hover .pw-step-btn-num { opacity: 1; }
.pw-step-btn-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pw-step-btn-title { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; opacity: .7; }
.pw-step-btn.active .pw-step-btn-title,
.pw-step-btn:hover .pw-step-btn-title { opacity: 1; }
.pw-step-btn-desc { font-size: 11px; color: #fff; line-height: 1.5; opacity: .45; }
.pw-step-btn.active .pw-step-btn-desc,
.pw-step-btn:hover .pw-step-btn-desc { opacity: .85; }
.pw-right { background: #fff; display: flex; flex-direction: column; }
.pw-panel { display: none; flex: 1; flex-direction: column; }
.pw-panel.active { display: flex; }
.pw-panel-header { padding: 32px 36px 24px; border-bottom: 1px solid #e5e7eb; }
.pw-panel-tag { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2A22D9; margin-bottom: 10px; display: block; }
.pw-panel-header h3 { font-size: 22px; font-weight: 700; color: var(--color-primary); line-height: 1.25; margin-bottom: 8px; }
.pw-panel-header p { font-size: 14px; color: #6b7280; line-height: 1.6; }
.pw-panel-items { padding: 24px 36px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pw-item { display: flex; gap: 14px; align-items: center; padding: 12px 16px; background: #f7f8ff; border-left: 2px solid #2A22D9; }
.pw-item-num { font-size: 11px; font-weight: 700; color: #2A22D9; min-width: 20px; letter-spacing: .05em; }
.pw-item-text { font-size: 13px; color: #1a1a1a; line-height: 1.6; }
.pw-panel-footer { padding: 20px 36px; border-top: 1px solid #e5e7eb; display: flex; align-items: center; justify-content: space-between; }
.pw-output { font-size: 11px; font-weight: 700; color: #2A22D9; letter-spacing: .06em; text-transform: uppercase; }
.pw-output-val { font-size: 12px; color: #6b7280; font-weight: 400; margin-top: 3px; }
.pw-duration-tag { background: #2A22D9; color: #fff; font-size: 11px; font-weight: 700; padding: 6px 14px; letter-spacing: .04em; }
.pw-step-btn-title,
.pw-step-btn-desc,
.pw-step-btn-num {
  font-family: var(--font-main);
}
.feat-single { display: flex; flex-direction: column; gap: 0; }
.feat-big { width: 100%; height: 180px; overflow: hidden; }
.feat-big img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-info { padding: 10px 0; }
.feat-info p { font-size: 12px; font-weight: 700; color: var(--color-primary); margin-bottom: 6px; }
.feat-info .btn-timhieu { font-size: 11px; padding: 6px 14px; width: auto; display: inline-flex; }
.feat-thumbs { display: flex; gap: 6px; margin-top: 4px; }
.feat-thumb-item { flex: 1; cursor: pointer; }
.feat-thumb-img-wrap {
  position: relative;
  overflow: hidden;
}
.feat-thumb-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(42, 34, 217, 0.55);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.feat-thumb-item img {
  width: 100%;
  height: 44px;
  object-fit: cover;
  display: block;
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.feat-thumb-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  opacity: 0;
  line-height: 1;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  z-index: 2;
}
.feat-thumb-item:hover .feat-thumb-img-wrap::after { opacity: 1; }
.feat-thumb-item:hover img { transform: scale(1.12); }
.feat-thumb-item:hover .feat-thumb-arrow { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.feat-thumb-item:hover > span { color: var(--color-primary); font-weight: 700; }
.feat-thumb-item.active img { filter: brightness(0.92); }
.feat-thumb-item > span {
  font-size: 9px;
  color: #6b7280;
  padding: 3px 4px;
  display: block;
  line-height: 1.3;
  transition: color .2s, font-weight .2s;
}

/* ====================================================
   SECTION SV-GROW (Iceberg layout — nửa trắng + nửa xanh, cards nổi giữa)
   ==================================================== */
/* ============================================================
   SECTION LỢI ÍCH — HORIZONTAL ACCORDION (hover-expand)
   Áp dụng cho tất cả trang dùng swi_render_grow_section()
   Mobile (<768px): stack vertical, panel mở luôn full content.
   ============================================================ */
.sv-grow {
  background: #fff;
  padding: 80px 60px;
  position: relative;
}
.sv-grow-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.sv-grow-top {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.sv-grow-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sv-grow-top h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin: 0 auto 16px;
  text-wrap: balance;
}
.sv-grow-top h2 .text-red { color: var(--color-red); }
.sv-grow-top p {
  font-size: 15px;
  color: #475569;
  line-height: 1.75;
}

/* Grid horizontal accordion */
.sv-grow-grid {
  display: flex;
  gap: 8px;
  height: 460px;
}
.sv-grow-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--color-primary);
  color: #fff;
}
.sv-grow-panel.active { flex: 2.2; }

.sv-grow-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
  z-index: 1;
}
.sv-grow-panel:hover .sv-grow-bg,
.sv-grow-panel.active .sv-grow-bg { transform: scale(1.08); }
.sv-grow-bg-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a14a8 100%);
}
.sv-grow-panel-red .sv-grow-bg-gradient {
  background: linear-gradient(135deg, var(--color-red) 0%, #a8112e 100%);
}

.sv-grow-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,34,217,0.55) 0%, rgba(15,12,168,0.92) 100%);
  z-index: 2;
}
.sv-grow-panel-red::after {
  background: linear-gradient(180deg, rgba(223,27,64,0.45) 0%, rgba(160,15,42,0.92) 100%);
}

.sv-grow-inner-panel {
  position: relative;
  z-index: 3;
  padding: 40px 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sv-grow-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.sv-grow-num {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.4;
  transition: opacity 0.4s;
}
.sv-grow-panel:hover .sv-grow-num,
.sv-grow-panel.active .sv-grow-num { opacity: 0.95; }
.sv-grow-arrow {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.sv-grow-panel:hover .sv-grow-arrow,
.sv-grow-panel.active .sv-grow-arrow {
  background: var(--color-red);
  transform: translate(4px, -4px);
}
.sv-grow-panel-red:hover .sv-grow-arrow,
.sv-grow-panel-red.active .sv-grow-arrow {
  background: var(--color-primary);
}
.sv-grow-arrow svg { width: 18px; height: 18px; }

.sv-grow-bottom-row h4 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  color: #fff;
}
.sv-grow-bottom-row p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s 0.15s, max-height 0.5s 0.15s;
  color: rgba(255,255,255,0.95);
}
.sv-grow-panel:hover .sv-grow-bottom-row p,
.sv-grow-panel.active .sv-grow-bottom-row p {
  opacity: 0.95;
  max-height: 200px;
}

/* Mobile (<768px): stack vertical, mỗi panel full content luôn */
@media (max-width: 768px) {
  .sv-grow { padding: 56px 20px; }
  .sv-grow-top h2 { font-size: 26px; }
  .sv-grow-grid {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }
  .sv-grow-panel {
    flex: none;
    min-height: 280px;
  }
  /* Panel mở full content luôn — bỏ hover behavior */
  .sv-grow-num { opacity: 0.95 !important; }
  .sv-grow-arrow { background: var(--color-red) !important; }
  .sv-grow-panel-red .sv-grow-arrow { background: var(--color-primary) !important; }
  .sv-grow-bottom-row p {
    opacity: 0.95 !important;
    max-height: none !important;
  }
  .sv-grow-inner-panel { padding: 32px 24px; }
  .sv-grow-num { font-size: 44px; }
  .sv-grow-bottom-row h4 { font-size: 19px; }
}

/* ====================================================
   GLOBAL: Force 16:9 cho mọi post thumbnail box
   (override mọi rule height cố định ở trên)
   ==================================================== */
.project-thumb,
.news-thumb,
.news-archive-thumb,
.nfl-thumb,
.nfr-thumb,
.project-invest-thumb {
  aspect-ratio: 16 / 9;
  height: auto;
  width: 100%;
  overflow: hidden;
}
.project-thumb img,
.news-thumb img,
.news-archive-thumb img,
.nfl-thumb img,
.nfr-thumb img,
.project-invest-thumb img,
.archive-featured-thumb img,
.news-grid-bottom .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* nfr-thumb: width cố định 110px + 16:9 — áp dụng cả home (.news-featured-right) lẫn sidebar (.sidebar-box-tabs) */
.nfr-thumb {
  width: 110px !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  flex-shrink: 0;
  overflow: hidden;
  background: #f3f4f6;
}

/* .nfr-item là <a> bao toàn box — đảm bảo cursor hand toàn bộ vùng */
.nfr-item {
  cursor: pointer;
}
.nfr-item,
.nfr-item * {
  cursor: pointer;
}

/* News pagination — class-based hide/show */
.news-page { display: block; }
.news-page.news-page-hidden { display: none !important; }

/* ====================================================
   GLOBAL SCROLL-REVEAL — lướt tới đâu hiện ra tới đó
   Dùng @keyframes animation thay vì transition để không conflict
   với element-specific transition (background/border/etc.)
   ==================================================== */
@keyframes swi-reveal-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.swi-reveal {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}
.swi-reveal.swi-reveal-in {
  animation: swi-reveal-fade-up 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ====================================================
   Icon SVG (lịch, đồng hồ) trong project-meta: đổi sang
   trắng khi card hover sang nền xanh — HOẶC ở các body
   luôn có nền xanh cố định (nfl, archive-featured,
   archive-row, project-invest).
   ==================================================== */
.project-meta svg { transition: stroke 0.3s ease; }

/* Nền trắng → xanh khi hover (card hover) */
.news-card:hover .news-body .project-meta svg,
.news-archive-card:hover .news-archive-body .project-meta svg,
.project-card:hover .project-body .project-meta svg,
.archive-featured:hover .archive-featured-body .project-meta svg,
.project-invest-card:hover .project-invest-body .project-meta svg {
  stroke: #fff !important;
}

/* Nền xanh cố định: icon trắng luôn (không phụ thuộc hover) */
.nfl-body .project-meta svg,
.archive-row-body .project-meta svg,
.nfr-info .project-meta svg,
.nfr-info .nfr-date svg {
  stroke: #fff !important;
}
