/* ==========================================================================
   ĐẠI PHÁT CONSTRUCTION — ROYAL NAVY & AMBER GOLD DESIGN SYSTEM
   Đồng bộ 100% với tone màu Logo Đại Phát (logo-dai-phat-chuan.webp)
   Kết hợp cấu trúc bố cục & tương tác cao cấp từ kdtvanphuc.com
   ========================================================================== */

:root {
  /* Brand Navy & Blue (từ chữ D, khối tòa nhà & wordmark ĐẠI PHÁT) */
  --dp-navy-deep: #061326;
  --dp-navy: #0A1D37;
  --dp-navy-mid: #112E57;
  --dp-blue: #0055C4;
  --dp-blue-soft: rgba(0, 85, 196, 0.12);

  /* Brand Amber Gold (từ chữ P & mái nhà 4 ô cửa) */
  --dp-gold: #F5A623;
  --dp-gold-bright: #FFBC42;
  --dp-gold-border: rgba(245, 166, 35, 0.55);
  --dp-gold-soft: rgba(245, 166, 35, 0.14);

  /* HSE Safety & Status */
  --dp-green: #16A34A;
  --dp-danger: #EF4444;

  /* Neutrals & Surfaces */
  --bg-white: #FFFFFF;
  --dp-bg-soft: #F5F7FA;
  --dp-bg-slate: #EFF3F8;
  --dp-border: #E2E8F0;

  /* Text */
  --dp-text: #0F172A;
  --dp-muted: #475569;
  --text-light: #FFFFFF;

  /* Typography chuẩn Đại Phát */
  --font-body: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', sans-serif;

  /* Shadows & Radius */
  --shadow-header: 0 2px 16px rgba(10, 29, 55, 0.12);
  --shadow-card: 0 8px 24px rgba(10, 29, 55, 0.07);
  --shadow-card-hover: 0 16px 36px rgba(10, 29, 55, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --container-max: 1280px;
  --transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-gutter: stable;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--dp-text);
  background-color: var(--bg-white);
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul { list-style: none; }

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   SECTION & FANCY HEADING SYSTEM
   ========================================================================== */

.section-pad {
  padding: 68px 0;
  position: relative;
  overflow: hidden;
}

.bg-navy {
  background-color: var(--dp-navy);
  color: var(--text-light);
}

.bg-navy-deep {
  background-color: var(--dp-navy-deep);
  color: var(--text-light);
}

.bg-white {
  background-color: var(--bg-white);
}

.bg-soft {
  background-color: var(--dp-bg-soft);
}

.bg-slate {
  background-color: var(--dp-bg-slate);
  background-image: radial-gradient(rgba(10, 29, 55, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

.fancy-heading {
  text-align: center;
  margin-bottom: 38px;
  position: relative;
  z-index: 2;
}

.fancy-heading--left {
  text-align: left;
  margin-bottom: 24px;
}

.fancy-heading__shadow {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 82px);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.05em;
  color: var(--dp-navy);
}

.bg-navy .fancy-heading__shadow,
.bg-navy-deep .fancy-heading__shadow {
  color: var(--text-light);
  opacity: 0.05;
}

.fancy-heading__title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--dp-blue);
  margin-bottom: 6px;
  text-wrap: balance;
}

.bg-navy .fancy-heading__title,
.bg-navy-deep .fancy-heading__title {
  color: var(--dp-gold-bright);
}

.fancy-heading__focus {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--dp-navy);
  margin-bottom: 10px;
  text-wrap: balance;
}

.bg-navy .fancy-heading__focus,
.bg-navy-deep .fancy-heading__focus {
  color: var(--text-light);
}

.fancy-heading__focus span {
  color: var(--dp-gold);
}

.fancy-heading__desc {
  font-size: 15px;
  color: var(--dp-muted);
  max-width: 820px;
  margin: 0 auto;
  text-wrap: balance;
}

.bg-navy .fancy-heading__desc,
.bg-navy-deep .fancy-heading__desc {
  color: rgba(255, 255, 255, 0.84);
}

.fancy-heading--left .fancy-heading__desc { margin: 0; }

/* Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: var(--transition);
}

.btn-pill--navy {
  background-color: var(--dp-navy);
  color: var(--text-light);
  box-shadow: 0 6px 18px rgba(10, 29, 55, 0.24);
}

.btn-pill--navy:hover {
  background-color: var(--dp-blue);
  transform: translateY(-2px);
}

.btn-pill--gold {
  background-color: var(--dp-gold);
  color: var(--dp-navy-deep);
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.3);
}

.btn-pill--gold:hover {
  background-color: var(--dp-gold-bright);
  transform: translateY(-2px);
}

.btn-pill--white {
  background-color: var(--bg-white);
  color: var(--dp-navy);
}

.btn-pill--white:hover {
  background-color: var(--dp-gold-bright);
  transform: translateY(-2px);
}

.btn-pill--outline-navy {
  border: 1.5px solid var(--dp-navy);
  color: var(--dp-navy);
  padding: 8px 18px;
  font-size: 13px;
}

.btn-pill--outline-navy:hover {
  background-color: var(--dp-navy);
  color: var(--text-light);
}

.section-cta-wrap {
  text-align: center;
  margin-top: 32px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  background: var(--bg-white);
  color: var(--dp-muted);
  border: 1px solid var(--dp-border);
  transition: var(--transition);
}

.filter-tab:hover {
  border-color: var(--dp-blue);
  color: var(--dp-navy);
}

.filter-tab.active {
  background: var(--dp-navy);
  color: var(--dp-gold-bright);
  border-color: var(--dp-navy);
}

/* ==========================================================================
   1. HEADER (SPLIT NAVIGATION + LOGO CHÍNH THỨC)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-header);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 41%;
}

.nav-group--left { justify-content: flex-start; }
.nav-group--right { justify-content: flex-end; }

.nav-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dp-navy);
  padding: 8px 2px;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--dp-gold);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--dp-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18%;
}

.header-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.mobile-menu-btn,
.mobile-call-btn {
  display: none;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6, 19, 38, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer__panel {
  width: 300px;
  max-width: 85vw;
  height: 100%;
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--dp-navy);
  color: var(--text-light);
  padding: 20px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-drawer.open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__close {
  align-self: flex-end;
  color: var(--dp-gold);
  font-size: 28px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.mobile-drawer__link {
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13.5px;
  color: var(--text-light);
}

/* ==========================================================================
   2. HERO BANNER & 4 CHỈ SỐ NỔI BẬT + LƯỚI DỊCH VỤ NHANH
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 54px 0;
  background-color: var(--dp-navy-deep);
  background-image: url('assets/hero-daiphat.jpg');
  background-size: cover;
  background-position: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 19, 38, 0.9) 0%, rgba(10, 29, 55, 0.82) 55%, rgba(0, 85, 196, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 36px;
}

.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.16);
  border: 1px solid var(--dp-gold-border);
  color: var(--dp-gold-bright);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-wrap: balance;
}

.hero-title span {
  color: var(--dp-gold-bright);
}

.hero-subline {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--dp-gold);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-video-card {
  background: rgba(10, 29, 55, 0.86);
  border: 1px solid var(--dp-gold-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}

.hero-video-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.hero-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--dp-gold);
  color: var(--dp-navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(245, 166, 35, 0.2);
}

.hero-video-card h3 {
  font-family: var(--font-heading);
  font-size: 15.5px;
  color: var(--text-light);
}

.hero-video-card p {
  font-size: 13px;
  color: var(--dp-gold-bright);
}

.hero-video-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 14px;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
}

.hero-video-meta div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.hero-video-meta span { color: rgba(255, 255, 255, 0.72); }
.hero-video-meta strong { color: var(--dp-gold-bright); }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 25px rgba(6, 19, 38, 0.24);
  border-bottom: 3px solid var(--dp-gold);
  transition: var(--transition);
}

.quick-card:hover {
  transform: translateY(-4px);
  background: var(--bg-white);
}

.quick-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--dp-navy), var(--dp-blue));
  color: var(--dp-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-card__title {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--dp-navy);
  line-height: 1.25;
}

.quick-card__sub {
  font-size: 12.5px;
  color: var(--dp-muted);
  margin-top: 2px;
}

/* ==========================================================================
   3. VỀ ĐẠI PHÁT & 3 MŨI NHỌN TRỌNG TÂM
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
}

.about-points {
  display: grid;
  gap: 14px;
  margin: 22px 0 26px;
}

.about-point {
  background: var(--dp-bg-soft);
  border-left: 4px solid var(--dp-gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-point strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14.5px;
  color: var(--dp-navy);
  margin-bottom: 2px;
}

.about-point span {
  font-size: 13.5px;
  color: var(--dp-muted);
}

.spearhead-stack {
  display: grid;
  gap: 16px;
}

.spearhead-card {
  background: var(--dp-navy);
  color: var(--text-light);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  border: 1px solid rgba(245, 166, 35, 0.35);
  transition: var(--transition);
}

.spearhead-card:hover {
  transform: translateX(6px);
  border-color: var(--dp-gold);
}

.spearhead-card__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  color: var(--dp-navy-deep);
  background: var(--dp-gold);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.spearhead-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--dp-gold-bright);
  margin-bottom: 6px;
}

.spearhead-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   4. DỰ ÁN TIÊU BIỂU (FILTER + GRID / CAROUSEL)
   ========================================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  background: var(--bg-white);
  border: 1px solid var(--dp-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--dp-gold);
}

.project-card__thumb {
  height: 175px;
  position: relative;
  overflow: hidden;
  background: var(--dp-navy);
}

.project-card__thumb svg {
  width: 100%;
  height: 100%;
}

.project-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--dp-navy-deep);
  color: var(--dp-gold-bright);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--dp-gold-border);
}

.project-card__status {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--dp-green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.project-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card__loc {
  font-size: 12px;
  font-weight: 700;
  color: var(--dp-blue);
  margin-bottom: 4px;
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--dp-navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.project-card__desc {
  font-size: 13.5px;
  color: var(--dp-muted);
  margin-bottom: 14px;
}

.project-card__btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: var(--dp-blue);
}

.project-card__btn:hover {
  color: var(--dp-gold);
}

/* ==========================================================================
   5. AN TOÀN HSE & QA/QC (4 NGUYÊN TẮC NỀN NAVY)
   ========================================================================== */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.usp-card {
  background: rgba(17, 46, 87, 0.72);
  border: 1.5px solid var(--dp-gold-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: var(--transition);
}

.usp-card:hover {
  transform: translateY(-5px);
  background: var(--dp-navy-mid);
}

.usp-card__num {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--dp-gold-bright);
  margin-bottom: 10px;
}

.usp-card__title {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
}

.usp-card__desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.84);
}

/* ==========================================================================
   6. QUY TRÌNH 5 GIAI ĐOẠN + BẢN ĐỒ MẠNG LƯỚI TP.HCM & KCN
   ========================================================================== */

.process-5-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.process-step-card {
  background: var(--bg-white);
  border: 1px solid var(--dp-border);
  border-top: 4px solid var(--dp-navy);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.process-step-card:hover {
  border-top-color: var(--dp-gold);
  transform: translateY(-4px);
}

.process-step-card__badge {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--dp-blue);
  margin-bottom: 8px;
}

.process-step-card h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--dp-navy);
  margin-bottom: 8px;
}

.process-step-card p {
  font-size: 13px;
  color: var(--dp-muted);
}

/* Map section */
.network-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
}

.map-box {
  position: relative;
  background: radial-gradient(circle at center, #0e274b 0%, #061326 100%);
  border: 1.5px solid var(--dp-gold-border);
  border-radius: var(--radius-lg);
  padding: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.map-zoom-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--dp-gold);
  color: var(--dp-navy-deep);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  z-index: 4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.map-radar-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: dpRadarExpand 3.4s cubic-bezier(0.2, 0.8, 0.3, 1) infinite;
}

.map-radar-ring--delay {
  animation-delay: 1.7s;
}

.map-orbit-spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: dpOrbitSpin 22s linear infinite;
}

.map-pulse {
  animation: dpPulse 2.2s ease-in-out infinite;
  transform-origin: center;
}

.map-flow {
  stroke-dasharray: 8 6;
  animation: dpFlow 14s linear infinite;
}

.map-node-glow {
  animation: dpNodeGlow 2.4s ease-in-out infinite;
}

@keyframes dpRadarExpand {
  0% { transform: scale(0.45); opacity: 0.75; }
  100% { transform: scale(1.65); opacity: 0; }
}

@keyframes dpOrbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes dpNodeGlow {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.4; }
}

@keyframes dpPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

@keyframes dpFlow {
  to { stroke-dashoffset: -240; }
}

.distance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.distance-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--dp-gold-border);
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.distance-badge strong {
  color: var(--dp-gold-bright);
  margin-right: 4px;
}

/* ==========================================================================
   7. TIN TỨC NGÀNH XÂY DỰNG (FILTER + 6 BÀI VIẾT)
   ========================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  background: var(--bg-white);
  border: 1px solid var(--dp-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.news-card.hidden {
  display: none;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--dp-blue);
}

.news-card__thumb {
  height: 150px;
  background: var(--dp-navy);
  overflow: hidden;
  flex-shrink: 0;
}

.news-card__thumb svg {
  width: 100%;
  height: 100%;
}

.news-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__date {
  font-size: 12px;
  font-weight: 600;
  color: var(--dp-blue);
  margin-bottom: 6px;
}

.news-card__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--dp-navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card__excerpt {
  font-size: 13px;
  color: var(--dp-muted);
  margin-bottom: 12px;
}

.news-card__more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--dp-navy);
}

/* ==========================================================================
   8. TUYỂN DỤNG NỘI BỘ & DUAL CTA (BÁO GIÁ + HỒ SƠ NĂNG LỰC)
   ========================================================================== */

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

.job-card {
  background: var(--bg-white);
  border: 1px solid var(--dp-border);
  border-left: 5px solid var(--dp-blue);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-card);
}

.job-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--dp-navy);
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dp-gold);
}

.job-card__desc {
  font-size: 14px;
  color: var(--dp-muted);
}

.dual-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dual-cta-box {
  padding: 58px 40px;
  text-align: center;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.dual-cta-box--left { background: var(--dp-navy-deep); }
.dual-cta-box--right { background: linear-gradient(135deg, var(--dp-navy), var(--dp-blue)); }

.dual-cta-box h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--dp-gold-bright);
  text-transform: uppercase;
}

.dual-cta-box p {
  max-width: 440px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
}

/* ==========================================================================
   9. FOOTER (3 CỘT + LOGO ÂM BẢN)
   ========================================================================== */

.site-footer {
  background-color: var(--dp-navy-deep);
  color: rgba(255, 255, 255, 0.86);
  border-top: 2px solid var(--dp-gold);
  padding-top: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 42px;
}

.footer-logo {
  height: 76px;
  width: auto;
  margin-bottom: 16px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--dp-gold-bright);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.8px;
}

.footer-list li {
  margin-bottom: 9px;
  font-size: 14px;
}

.footer-card-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-radius: var(--radius-md);
  padding: 18px;
  font-size: 13.5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   10. FLOATING VR, CHATBOX, BACK TO TOP & MODALS
   ========================================================================== */

.floating-vr {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vr-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  position: relative;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.vr-btn:hover { transform: scale(1.1); }
.vr-btn--chat { background: var(--dp-blue); }
.vr-btn--zalo { background: #0068FF; font-size: 12px; }
.vr-btn--phone { background: var(--dp-green); }

.vr-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--dp-gold);
  color: var(--dp-navy-deep);
  font-size: 9.5px;
  padding: 2px 5px;
  border-radius: 99px;
  font-weight: 800;
}

.chat-widget {
  position: fixed;
  right: 76px;
  bottom: 22px;
  width: 340px;
  max-width: calc(100vw - 104px);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  z-index: 1600;
  overflow: hidden;
  display: none;
  border: 1px solid var(--dp-border);
}

.chat-widget.open { display: block; }

.chat-widget__head {
  background: var(--dp-navy);
  color: var(--text-light);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-widget__head strong { color: var(--dp-gold-bright); font-size: 14px; }
.chat-widget__head span { display: block; font-size: 11.5px; color: #4ADE80; }

.chat-widget__body {
  padding: 14px;
  height: min(260px, 38dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--dp-bg-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.chat-msg {
  padding: 9px 12px;
  border-radius: 10px;
  max-width: 85%;
}

.chat-msg--bot { background: var(--bg-white); border: 1px solid var(--dp-border); align-self: flex-start; }
.chat-msg--user { background: var(--dp-navy); color: #fff; align-self: flex-end; }

.chat-widget__form {
  display: flex;
  padding: 10px;
  gap: 8px;
  border-top: 1px solid var(--dp-border);
}

.chat-widget__form input {
  flex: 1;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
}

.chat-widget__form button {
  background: var(--dp-navy);
  color: var(--dp-gold-bright);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 12.5px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-white);
  color: var(--dp-navy);
  border: 1px solid #CBD5E1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
  z-index: 1400;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 19, 38, 0.74);
  backdrop-filter: blur(4px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-backdrop.open { display: flex; }

.modal-card {
  background: var(--bg-white);
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - 32px);
  display: flex;
  flex-direction: column;
  margin: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.modal-card--wide { max-width: 780px; }

.modal-header {
  background: var(--dp-navy);
  color: var(--dp-gold-bright);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.modal-header h3 { font-family: var(--font-heading); font-size: 16px; text-transform: uppercase; }
.modal-close {
  color: #fff;
  font-size: 26px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.modal-body {
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--dp-navy); margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--dp-blue); }

.form-toast {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #ECFDF5;
  border: 1px solid var(--dp-green);
  color: #065F46;
  font-size: 13.5px;
  font-weight: 600;
  display: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-group { display: none; }
  .header-logo { width: auto; }
  .mobile-menu-btn, .mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--dp-navy);
    color: var(--dp-gold-bright);
  }
  .mobile-call-btn { background: var(--dp-green); color: #fff; }
  .hero-grid, .about-grid, .network-grid, .dual-cta-grid, .footer-grid, .jobs-grid {
    grid-template-columns: 1fr;
  }
  .quick-grid, .usp-grid, .projects-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-5-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body { padding-bottom: 68px; }
  .section-pad { padding: 44px 0; }
  .fancy-heading { margin-bottom: 24px; }
  .fancy-heading__shadow { display: none; }
  .fancy-heading__title {
    font-size: 11.5px;
    letter-spacing: 0.7px;
    line-height: 1.4;
  }
  .fancy-heading__focus {
    font-size: clamp(21px, 5.4vw, 26px);
    line-height: 1.25;
  }
  .fancy-heading__desc { font-size: 14px; }
  .hero-section { padding: 36px 0; }
  .hero-title { font-size: clamp(22px, 6vw, 28px); }
  .hero-subline { font-size: 13px; letter-spacing: 0.5px; }
  .btn-pill {
    font-size: 12.5px;
    padding: 11px 18px;
    text-align: center;
  }
  .hero-actions .btn-pill,
  .about-grid .btn-pill {
    width: 100%;
  }
  .filter-tab {
    padding: 7px 13px;
    font-size: 12.5px;
  }
  .quick-grid, .usp-grid, .projects-grid, .news-grid, .process-5-grid {
    grid-template-columns: 1fr;
  }
  .dual-cta-box { padding: 36px 20px; }
  .dual-cta-box h3 {
    font-size: 18.5px;
    line-height: 1.3;
    text-wrap: balance;
  }
  .spearhead-card:hover { transform: none; }

  /* Floating VR -> Sticky Bottom Action Bar trên mobile (không che Hero/Footer) */
  .floating-vr {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    gap: 0;
    background: var(--dp-navy-deep);
    border-top: 1.5px solid var(--dp-gold);
    padding: 6px 10px;
    justify-content: space-around;
    box-shadow: 0 -4px 18px rgba(6, 19, 38, 0.25);
  }
  .vr-btn {
    width: auto;
    flex: 1;
    height: 44px;
    border-radius: 8px;
    margin: 0 4px;
    font-size: 13px;
    gap: 6px;
  }
  .vr-badge {
    top: 4px;
    right: 6px;
  }

  /* Chatbox mở rộng toàn chiều ngang trên mobile */
  .chat-widget {
    left: 12px;
    right: 12px;
    bottom: 68px;
    width: auto;
    max-width: none;
  }
  .chat-widget__head button {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .back-to-top {
    right: 12px;
    bottom: 70px;
  }
  body.chat-is-open .back-to-top {
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
