@import url('veriq-brand-tokens.css');
/* ==========================================================================
   VERIQ - Official Brand Identity v2.0 Design System
   Brand: VeriQ - KIỂM TRA BÀN GIAO ĐỘC LẬP
   Slogan: "Đo chuẩn xác. Nhận nhà an tâm."
   Colors: Navy (#0B2545), Teal (#0E8A74), Teal-ink (#0B6E5D), Mint (#3FD0B3)
   Typography: Be Vietnam Pro & IBM Plex Mono
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=IBM+Plex+Mono:wght@400;500;600;700&display=swap');

:root {
  --font-family: var(--vq-font, 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  --font-mono: var(--vq-font-data, 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace);

  /* VeriQ Brand Tokens v2.0 Core */
  --vq-navy: #0B2545;
  --vq-navy-deep: #071A33;
  --vq-teal: #0E8A74;
  --vq-teal-ink: #0B6E5D;
  --vq-mint: #3FD0B3;
  --vq-teal-soft: #E3F3EF;

  --vq-white: #FFFFFF;
  --vq-paper: #F5F7F6;
  --vq-line: #D9E1DE;
  --vq-graphite: #33424D;
  --vq-muted: #66757F;

  --vq-sev-a: #C0362C;
  --vq-sev-b: #B7791F;
  --vq-sev-b-ink: #8A5A12;
  --vq-sev-c: #5A6B7B;
  --vq-sev-q: #6D4BB8;
  --vq-pass: #1F7A4C;
  --vq-sev-a-soft: #FBE4E1;
  --vq-sev-b-soft: #FBEFD9;
  --vq-sev-c-soft: #E6EBF0;
  --vq-sev-q-soft: #EEE8FA;
  --vq-pass-soft: #DFF2E7;

  /* Legacy Mappings to Brand Tokens v2.0 */
  --brand-navy: var(--vq-navy);
  --brand-navy-deep: var(--vq-navy-deep);
  --canvas-dark: var(--vq-navy);
  --canvas-obsidian: var(--vq-navy-deep);
  --ink: var(--vq-navy);
  --ink-primary: var(--vq-navy);
  --ink-secondary: var(--vq-graphite);
  --ink-body: var(--vq-graphite);
  --ink-muted: var(--vq-muted);
  --ink-light: var(--vq-muted);

  --brand-blue: var(--vq-teal-ink);
  --brand-blue-hover: var(--vq-navy);
  --brand-blue-light: var(--vq-teal-soft);
  --brand-cyan: var(--vq-teal);
  --brand-emerald: var(--vq-teal);
  --border-focus: var(--vq-teal-ink);

  /* Champagne Gold mapping: replaced by Verified Teal & Soft Mint */
  --gold-champagne: var(--vq-teal);
  --gold-champagne-dark: var(--vq-teal-ink);
  --gold-champagne-light: var(--vq-teal-soft);
  --gold-tint: var(--vq-paper);
  --gold-border: rgba(14, 138, 116, 0.3);
  --gold-glow: 0 12px 32px rgba(14, 138, 116, 0.15);

  --brand-amber: var(--vq-sev-b);
  --brand-red: var(--vq-sev-a);
  --border-subtle: var(--vq-line);
  --canvas: var(--vq-white);
  --canvas-subtle: var(--vq-paper);
  --canvas-card: var(--vq-white);

  --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 12px 28px -6px rgba(11, 37, 69, 0.12), 0 4px 10px -2px rgba(11, 37, 69, 0.04);
  --shadow-search: 0 14px 34px rgba(11, 37, 69, 0.1), 0 4px 12px rgba(11, 37, 69, 0.04);
  --shadow-luxury: 0 20px 48px -10px rgba(11, 37, 69, 0.12), 0 0 1px rgba(11, 37, 69, 0.12);

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-spring: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--canvas);
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
}

/* Global Media & Container Constraints to Prevent Mobile Horizontal Overflow */
img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

main,
section,
header,
footer,
nav,
.container {
  max-width: 100%;
}

table {
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-navy);
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.nav-menu a,
.nav-link,
.navbar .btn {
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  word-break: keep-all !important;
}

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

button, input, select, textarea {
  font-family: var(--font-family);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.badge-blue {
  background-color: var(--brand-blue-light);
  color: #0747a6;
}

.badge-emerald {
  background-color: #e3fcef;
  color: #006644;
}

.badge-amber {
  background-color: #fff0b3;
  color: #172b4d;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35);
}

.btn-navy {
  background-color: var(--brand-navy);
  color: #ffffff;
}
.btn-navy:hover {
  background-color: #051329;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-subtle);
  color: var(--ink-secondary);
}
.btn-outline:hover {
  background-color: var(--canvas-subtle);
  border-color: #cbd5e1;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* Header & Navbar */
.top-announcement {
  background-color: var(--brand-navy);
  color: #cbd5e1;
  padding: 9px 0;
  font-size: 0.82rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.top-announcement .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.top-announcement strong {
  color: #ffffff;
}
.top-announcement a {
  color: #60a5fa;
  font-weight: 700;
}

.navbar {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}
.brand-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0052cc 0%, #00a3bf 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 900;
}
.brand-logo .logo-text {
  display: flex;
  flex-direction: column;
}
.brand-logo .logo-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.5px;
  line-height: 1;
}
.brand-logo .logo-title span {
  color: var(--brand-blue);
}
.brand-logo .logo-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.1vw, 18px);
  list-style: none;
  flex-wrap: nowrap;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 6px 2px;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--brand-navy);
  cursor: pointer;
}

/* ============================================================
   1. HERO SECTION: HOME & SNAGGING INSPECTION
   ============================================================ */
.hero-inspection {
  background-color: #f8fafc;
  background-image: 
    linear-gradient(to right, rgba(56, 189, 248, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
  padding: 68px 0 60px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-content-col {
  flex: 1 1 54%;
  max-width: 580px;
}

.hero-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0284c7;
  margin-bottom: 14px;
  display: inline-block;
}

.hero-headline {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.hero-headline .highlight-blue {
  color: #0284c7;
}

.hero-subtext {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 28px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background-color: #ea580c;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-hero-primary:hover {
  background-color: #c2410c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

.btn-hero-secondary {
  background-color: #ffffff;
  color: #1e293b !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a !important;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 500;
}

.trust-check-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hero-visual-col {
  flex: 1 1 52%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-image-card {
  position: relative;
  border-radius: 18px;
  overflow: visible !important;
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.06);
  background: #ffffff;
  max-width: 620px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.hero-photo-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

/* ============================================================
   2. SECTION: VẤN ĐỀ THƯỜNG GẶP KHI NHẬN BÀN GIAO
   ============================================================ */
.section-problems {
  background-color: #ffffff;
  padding: 56px 0 68px;
  border-bottom: 1px solid var(--border-subtle);
}

.problems-header {
  margin-bottom: 26px;
}

.problems-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0284c7;
  display: block;
  margin-bottom: 8px;
}

.problems-title {
  font-size: clamp(1.6rem, 2.7vw, 2.15rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.problems-grid-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.problem-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 24px 28px;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.2s ease;
}

.problem-item:hover {
  background-color: #f8fafc;
}

.problem-item:nth-child(2n) {
  border-right: none;
}

.problem-item:nth-child(n+3) {
  border-bottom: none;
}

.problem-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ea580c;
  line-height: 1;
  flex-shrink: 0;
}

.problem-content {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.55;
  font-weight: 500;
}

/* ============================================================
   3. SECTION: TÌM KIẾM DỰ ÁN & VỀ CHÚNG TÔI
   ============================================================ */
.section-search-widget {
  padding: 50px 0 60px;
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
}

/* Legacy Hero styling preserved for any shared styles */
.hero {
  background: #ffffff;
  padding: 75px 0 85px;
  position: relative;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}
.hero-badge-wrap {
  margin-bottom: 20px;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -1px;
  line-height: 1.2;
  max-width: 920px;
  margin: 0 auto 20px;
}
.hero-title span {
  color: var(--brand-blue);
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 740px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.7;
}

/* Address Search Bar Box */
.search-widget-box {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-search);
  border: 1px solid var(--border-subtle);
  position: relative;
}
.search-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-icon-wrap {
  padding-left: 14px;
  color: var(--ink-muted);
  font-size: 1.2rem;
}
.search-input {
  flex: 1;
  border: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  padding: 12px 0;
  background: transparent;
}
.search-input::placeholder {
  color: var(--ink-light);
}

/* Quick Search Suggestions */
.quick-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--ink-muted);
}
.quick-tag-item {
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
  color: var(--brand-navy);
  cursor: pointer;
  transition: var(--transition);
}
.quick-tag-item:hover {
  background: #e2e8f0;
  color: var(--brand-blue);
}

/* Trust Metric Bar */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1060px;
  margin: 60px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
  text-align: left;
}
.trust-metric-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.trust-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.1;
}
.trust-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* Sections */
.section {
  padding: 85px 0;
  background-color: #ffffff;
}
.section.alt-bg {
  background-color: var(--canvas-subtle);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-subtitle {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-blue);
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--ink-muted);
  margin-top: 14px;
  line-height: 1.7;
}

/* Service Reports Cards */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.report-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.report-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}
.report-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.report-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 10px;
}
.report-card-desc {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.report-features-list {
  list-style: none;
  margin-bottom: 24px;
  font-size: 0.86rem;
  color: var(--ink-secondary);
}
.report-features-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.report-features-list li span.tick {
  color: var(--brand-emerald);
  font-weight: 800;
}

/* How It Works (3 Steps) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.step-item h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 10px;
}
.step-item p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* Search Results Modal */
.search-results-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(9, 30, 66, 0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.search-results-modal.active {
  display: flex;
}
.search-modal-box {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.search-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: #f1f5f9;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

/* Articles Knowledge Hub - 2x2 Balanced Grid (No orphan gaps) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}
.article-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}
.article-header-banner {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-header-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.article-card:hover .article-header-banner img {
  transform: scale(1.08);
}
.article-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9, 30, 66, 0.65) 0%, rgba(0, 82, 204, 0.45) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.6rem;
  z-index: 1;
}

/* Visual Image Enhancements for Hero, Services & Categories */
.hero-visual-showcase {
  max-width: 980px;
  margin: 36px auto 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(9, 30, 66, 0.16);
  border: 1px solid rgba(226, 232, 240, 0.8);
}
.hero-visual-showcase img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.hero-floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 16px rgba(9, 30, 66, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  transition: transform 0.3s ease;
}
.hero-floating-badge:hover {
  transform: scale(1.05);
}

.service-card-image {
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.report-card:hover .service-card-image img {
  transform: scale(1.06);
}

.category-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  background: #f1f5f9;
}
.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.4s ease;
}
.category-card-image:hover img {
  transform: scale(1.06);
}

.inspection-category-card-featured .category-card-image {
  aspect-ratio: 21 / 9;
  max-height: 380px;
}
@media (max-width: 820px) {
  .inspection-category-card-featured .category-card-image {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
}

/* 5 Inspection Categories Grid - Symmetrical 2-Column Balanced Layout (No orphan slots) */
.inspection-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}
.inspection-category-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  transition: var(--transition);
}
.inspection-category-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}
.inspection-category-card-featured {
  grid-column: 1 / -1;
}
.category-card-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 820px) {
  .inspection-categories-grid {
    grid-template-columns: 1fr;
  }
  .inspection-category-card-featured {
    grid-column: auto;
  }
  .category-card-subgrid {
    grid-template-columns: 1fr;
  }
}

/* Inquiry Form Grid - Responsive 2-column on desktop, 1-column on mobile */
.inquiry-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 640px) {
  .inquiry-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Input Highlight Pulse when selecting package */
.input-highlight-pulse {
  animation: inputHighlightPulse 1.4s ease;
  border-color: #0052cc !important;
}
@keyframes inputHighlightPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 82, 204, 0.4); }
  35% { transform: scale(1.02); box-shadow: 0 0 0 6px rgba(0, 82, 204, 0.22); border-color: #0052cc !important; }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 82, 204, 0); }
}

/* Card Selection State */
.price-card-luxury.selected-package-active {
  border-color: #0052cc !important;
  box-shadow: 0 12px 30px rgba(0, 82, 204, 0.22) !important;
  transform: translateY(-4px);
}

/* Nút Bộ Checklist Miễn Phí Nổi Bật */
.btn-free-checklist {
  background: #ffffff;
  color: #091e42 !important;
  font-weight: 800;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  font-size: 1.05rem;
  border: 2px solid #ffffff;
}

.btn-free-checklist:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -5px rgba(0, 0, 0, 0.35);
  border-color: #ea580c;
  color: #091e42 !important;
}

.badge-free-highlight {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff !important;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.45);
  display: inline-block;
  animation: pulse-free 2s infinite ease-in-out;
}

@keyframes pulse-free {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 3px 10px rgba(234, 88, 12, 0.45);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 5px 14px rgba(234, 88, 12, 0.65);
  }
}

.btn-free-checklist .arrow-icon {
  color: #0052cc;
  font-size: 1.15rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.btn-free-checklist:hover .arrow-icon {
  transform: translateX(4px);
}

/* ============================================================
   BANNER PROMO: BỘ CHECKLIST MIỄN PHÍ CÂN ĐỐI TRUNG TÂM
   ============================================================ */
.checklist-promo-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, #091e42 0%, #0052cc 100%);
  color: white;
  border-radius: var(--radius-md);
  padding: 42px 36px;
  box-shadow: 0 16px 36px -10px rgba(9, 30, 66, 0.35);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.checklist-promo-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.promo-badge-wrap {
  margin-bottom: 14px;
}

.badge-promo-gold {
  background: rgba(255, 255, 255, 0.16);
  color: #fef08a;
  border: 1px solid rgba(254, 240, 138, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
}

.promo-title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.3;
}

.promo-desc {
  font-size: 0.98rem;
  color: #e2e8f0;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 26px;
  font-weight: 400;
}

.promo-desc strong {
  color: #ffffff;
}

.promo-btn-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-free-checklist-centered {
  background: #ffffff;
  color: #091e42 !important;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: all 0.25s ease;
  font-size: 1.08rem;
  border: 2px solid #ffffff;
}

.btn-free-checklist-centered:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  border-color: #ea580c;
  color: #091e42 !important;
}

.btn-free-checklist-centered .btn-icon {
  font-size: 1.25rem;
}

.btn-free-checklist-centered .arrow-icon {
  color: #0052cc;
  font-size: 1.2rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.btn-free-checklist-centered:hover .arrow-icon {
  transform: translateX(4px);
}

.promo-hint {
  font-size: 0.84rem;
  color: #93c5fd;
  font-weight: 500;
  margin: 0;
}
.article-body {
  padding: 26px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.article-category {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}
.article-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 12px;
  line-height: 1.4;
}
.article-excerpt {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.article-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Footer */
.footer {
  background-color: var(--brand-navy-deep);
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: #60a5fa;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* Floating Actions */
.floating-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: var(--brand-blue);
  box-shadow: 0 8px 20px rgba(0, 82, 204, 0.35);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid #ffffff;
}
.float-btn:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 2.5rem; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Full Article Reader Styles (Knowledge Hub Deep Articles)
   ========================================================================== */
.full-articles-section {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.full-article-item {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  scroll-margin-top: 100px;
}
.full-article-item:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}
.article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.full-article-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 24px;
  line-height: 1.35;
}
.article-illustration-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
  text-align: center;
}
.article-illustration-box svg {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.illustration-caption {
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
  margin-top: 12px;
}
.article-content-body {
  font-size: 1rem;
  color: var(--ink-secondary);
  line-height: 1.8;
}
.article-content-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 28px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-content-body h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--brand-blue);
  border-radius: 2px;
}
.article-content-body p {
  margin-bottom: 16px;
}
.article-content-body ul, .article-content-body ol {
  margin: 12px 0 20px 24px;
}
.article-content-body li {
  margin-bottom: 10px;
}
.article-callout {
  background: #eff6ff;
  border-left: 4px solid var(--brand-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 0.95rem;
  color: #1e3a8a;
  line-height: 1.7;
}
.article-callout.warning {
  background: #fff7ed;
  border-left-color: #ea580c;
  color: #9a3412;
}
.article-callout.success {
  background: #f0fdf4;
  border-left-color: #16a34a;
  color: #14532d;
}
.article-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
}
@media (max-width: 768px) {
  .full-article-item { padding: 24px 18px; }
  .full-article-title { font-size: 1.4rem; }
}

@media (max-width: 1024px) {
  .top-announcement { display: none; }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    padding: 20px 24px 80px;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    gap: 4px;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 998;
  }
  .nav-menu.open {
    left: 0;
  }
  .nav-menu .nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-navy);
    padding: 13px 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-radius: 8px;
    box-sizing: border-box;
    transition: background 0.15s, color 0.15s;
  }
  .nav-menu .nav-link:active,
  .nav-menu .nav-link:hover {
    color: var(--brand-blue);
    background: #f8fafc;
  }
  .nav-menu .nav-auth-slot {
    margin-top: 14px;
    width: 100%;
  }
  .nav-menu .nav-link-login {
    background: #eff6ff !important;
    color: var(--brand-blue) !important;
    border: 1.5px solid #bfdbfe !important;
    justify-content: center !important;
    font-weight: 800 !important;
    text-align: center !important;
    padding: 12px !important;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #f1f5f9;
    font-size: 1.5rem;
    color: var(--brand-navy);
    border: 1px solid #e2e8f0;
    cursor: pointer;
    touch-action: manipulation;
  }
  .navbar .btn { display: none; }

  /* Khóa scroll trang và ẩn bottom bar khi mở menu để không bị đè che mất nút */
  body.mobile-nav-active {
    overflow: hidden !important;
  }
  body.mobile-nav-active .mobile-sticky-action-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .trust-bar { grid-template-columns: 1fr; }
  .search-input-group { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* ===================================================
   QUIET LUXURY STYLES FOR THE 5 REORGANIZED SECTIONS
   Giới thiệu - Quy trình - Bảng Giá - Danh mục kiểm tra - Chia sẻ kinh nghiệm
=================================================== */

/* 1. Intro Pillar Cards - Balanced 3-column / 1-column layout */
.intro-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}
.intro-pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.intro-pillar-card .pillar-desc {
  flex-grow: 1;
}
@media (max-width: 900px) {
  .intro-pillars-grid {
    grid-template-columns: 1fr;
  }
}
.intro-pillar-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}
.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.pillar-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 10px;
}
.pillar-desc {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* 2. 6-Step Standardized Workflow - Balanced Row Alignment */
.steps-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.step-card-6 {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.step-card-6:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
}
.step-badge-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(0, 82, 204, 0.25);
  flex-shrink: 0;
}
.step-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 10px;
}
.step-card-desc {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
  flex-grow: 1;
}

/* 3. Pricing Section & Tabs */
.pricing-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.pricing-tabs {
  display: inline-flex;
  padding: 6px;
  background: #f1f5f9;
  border-radius: var(--radius-full);
  gap: 6px;
  border: 1px solid var(--border-subtle);
}
.pricing-tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.pricing-tab-btn.active {
  background: #ffffff;
  color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.pricing-tab-content {
  display: none;
}
.pricing-tab-content.active {
  display: block;
}
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
@media (max-width: 992px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing Formula Banner */
.pricing-formula-banner {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 26px 32px;
  margin-bottom: 34px;
  box-shadow: 0 4px 18px rgba(0, 82, 204, 0.06);
  text-align: center;
}
.formula-badge {
  display: inline-block;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.formula-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.formula-note {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  max-width: 840px;
  margin: 0 auto;
  line-height: 1.5;
}
.formula-rates-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed #cbd5e1;
}
@media (max-width: 920px) {
  .formula-rates-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .formula-arrow {
    display: none;
  }
}
@media (max-width: 520px) {
  .formula-rates-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.formula-rate-step {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  text-align: center;
  min-width: 175px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.formula-rate-step:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}
.formula-rate-step .rate-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.formula-rate-step.featured-step {
  border: 2px solid var(--brand-blue);
  background: #eff6ff;
}
.formula-rate-step.featured-step .rate-tag {
  background: var(--brand-blue);
  color: #fff;
}
.formula-rate-step.vip-step {
  border: 2px solid #d97706;
  background: #fffbeb;
}
.formula-rate-step.vip-step .rate-tag {
  background: #d97706;
  color: #fff;
}
.formula-rate-step .rate-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.formula-rate-step .rate-price {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-navy);
}
.formula-rate-step .rate-price small {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.formula-rate-step .rate-min {
  display: block;
  font-size: 0.75rem;
  color: #0284c7;
  font-weight: 600;
  margin-top: 3px;
}
.formula-arrow {
  color: #94a3b8;
  font-weight: 900;
  font-size: 1.2rem;
}

/* 4-column Luxury Pricing Grid */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1200px) {
  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .pricing-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Pricing Luxury Callout - Architectural Obsidian Navy & Brushed Champagne Gold */
.pricing-luxury-callout {
  background: linear-gradient(135deg, #091e42 0%, #0c2856 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-left: 5px solid var(--gold-champagne, #C5A059);
  box-shadow: 0 10px 28px -4px rgba(9, 30, 66, 0.22), 0 2px 8px rgba(197, 160, 89, 0.12);
}
@media (max-width: 768px) {
  .pricing-luxury-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
  }
}
.pricing-luxury-callout .callout-badge {
  background: rgba(197, 160, 89, 0.22);
  color: #fef08a;
  border: 1px solid var(--gold-champagne, #C5A059);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.pricing-luxury-callout p {
  margin: 0;
  font-size: 0.94rem;
  color: #f1f5f9;
  line-height: 1.65;
}
.pricing-luxury-callout strong {
  color: #ffffff;
  font-weight: 700;
}
.pricing-luxury-callout .callout-cost-badge {
  color: #38bdf8;
  font-family: var(--font-mono, monospace);
  font-weight: 700;
}
.pricing-luxury-callout .callout-gain-badge {
  color: #fef08a;
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  background: rgba(197, 160, 89, 0.22);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(197, 160, 89, 0.45);
  display: inline-block;
}

/* Early-Bird Privilege Pill Bar (Tinh Gọn - Sang Trọng) */
.early-bird-pill-bar {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
}
.early-bird-pill-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.early-bird-badge {
  background: #d97706;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.early-bird-text {
  font-size: 0.9rem;
  color: #78350f;
  line-height: 1.4;
}
.early-bird-text strong {
  color: #92400e;
}
.early-bird-action {
  font-size: 0.8rem;
  color: #b45309;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 768px) {
  .early-bird-pill-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }
}

/* Pricing Footnotes & VAT Policy */
.pricing-footnotes {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pricing-footnote-item {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-footnote-item strong {
  color: #334155;
}
.footnote-mark {
  color: #0284c7;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Quick Area Calculator Bar */
.quick-area-calc-bar {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.quick-area-calc-bar label {
  font-size: 0.92rem;
  color: var(--brand-navy);
  font-weight: 700;
  margin: 0;
}
.calc-bar-input-wrap {
  display: inline-flex;
  align-items: center;
  background: #f8fafc;
  border: 2px solid var(--brand-blue);
  border-radius: 8px;
  padding: 4px 10px;
  gap: 6px;
}
.calc-bar-input {
  width: 65px;
  border: none;
  background: transparent;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-blue);
  text-align: center;
  outline: none;
}
.calc-bar-unit {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-secondary);
}
.calc-bar-hint {
  font-size: 0.84rem;
  color: #64748b;
  margin-left: auto;
}
@media (max-width: 768px) {
  .calc-bar-hint {
    margin-left: 0;
    width: 100%;
  }
}

/* Calculated Price Inside Card */
.price-calc-result-box {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-top: 10px;
  text-align: center;
}
.price-card-luxury.vip-card .price-calc-result-box {
  background: #fffbeb;
  border-color: #fde68a;
}
.price-calc-result-box .calc-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  display: block;
}
.price-calc-result-box .calc-price-display {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--brand-blue);
  line-height: 1.2;
  margin: 2px 0;
}
.price-card-luxury.vip-card .price-calc-result-box .calc-price-display {
  color: #d97706;
}
.price-calc-result-box .calc-price-display small {
  font-size: 0.75rem;
  font-weight: 700;
}
.price-calc-result-box .calc-note-display {
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
}

.price-card-luxury {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.price-card-luxury:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}
.price-card-luxury.featured {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 10px 25px rgba(0, 82, 204, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.price-card-luxury.vip-card {
  border: 2px solid #f59e0b;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.12);
}
.price-card-luxury.vip-card .price-featured-badge {
  background: #d97706;
}

.price-min-box {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-top: 10px;
  border-left: 3px solid var(--brand-blue);
  font-size: 0.8rem;
  color: var(--brand-navy);
  line-height: 1.4;
}
.price-card-luxury.vip-card .price-min-box {
  border-left-color: #d97706;
  background: #fffbeb;
}
.price-min-box strong {
  color: #0369a1;
}
.price-card-luxury.vip-card .price-min-box strong {
  color: #b45309;
}

.price-personnel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  width: fit-content;
}

/* Comparison Table */
.pricing-table-responsive {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.veriq-pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
  min-width: 780px;
}
.veriq-pricing-table th,
.veriq-pricing-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.veriq-pricing-table thead th {
  background: #f8fafc;
  color: var(--brand-navy);
  font-weight: 800;
  font-size: 0.92rem;
  border-bottom: 2px solid #e2e8f0;
}
.veriq-pricing-table thead th.col-featured {
  background: #eff6ff;
  color: var(--brand-blue);
  border-top: 3px solid var(--brand-blue);
}
.veriq-pricing-table thead th.col-vip {
  background: #fffbeb;
  color: #b45309;
  border-top: 3px solid #f59e0b;
}
.veriq-pricing-table tbody tr:hover {
  background: #f8fafc;
}
.veriq-pricing-table td.col-featured {
  background: #fafcff;
}
.veriq-pricing-table td.col-vip {
  background: #fffefb;
}
.veriq-pricing-table .feature-group-row td {
  background: #f1f5f9;
  font-weight: 800;
  color: var(--brand-navy);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 9px 16px;
}
.veriq-pricing-table .check-yes {
  color: var(--brand-emerald);
  font-weight: 900;
  font-size: 1.15rem;
}
.veriq-pricing-table .check-no {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 1rem;
}

/* Calculator Box */
.calculator-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.calc-inputs-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e2e8f0;
}
.calc-input-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.calc-input-group label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-navy);
}
.calc-area-input-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.calc-area-input {
  width: 140px;
  padding: 10px 42px 10px 16px;
  border: 2px solid var(--brand-blue);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  outline: none;
  text-align: right;
  transition: var(--transition);
}
.calc-area-input:focus {
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.2);
}
.calc-area-unit {
  position: absolute;
  right: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-muted);
  pointer-events: none;
}
.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) {
  .calc-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .calc-results-grid {
    grid-template-columns: 1fr;
  }
}
.calc-result-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.calc-result-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.calc-result-card .btn {
  margin-top: auto;
}
.calc-result-card.featured {
  border: 2px solid var(--brand-blue);
  background: #f0f7ff;
}
.calc-result-card.vip {
  border: 2px solid #f59e0b;
  background: #fffdf5;
}
.calc-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 4px;
}
.calc-card-rate {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.calc-card-final-price {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--brand-navy);
  line-height: 1.2;
}
.calc-card-final-price small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.calc-card-min-alert {
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 8px;
  min-height: 20px;
}
.price-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-align: center;
  line-height: 1.35;
  white-space: normal;
  display: inline-block;
  max-width: 90%;
  box-sizing: border-box;
}
.price-featured-badge span {
  display: inline-block;
  white-space: nowrap;
}
.price-card-tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-blue);
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  white-space: nowrap;
}
.price-card-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 4px;
}
.price-card-subtitle {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.price-amount-box {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.price-old-val {
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
  display: block;
  margin-bottom: 2px;
}
.price-val {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--brand-navy);
  letter-spacing: -1px;
  line-height: 1;
}
.price-unit {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-left: 4px;
}
.price-features-list {
  list-style: none;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  flex-grow: 1;
}
.price-features-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.price-features-list li .tick {
  color: var(--brand-emerald);
  font-weight: 800;
  font-size: 1rem;
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: left;
    gap: 40px;
  }
  .hero-content-col {
    max-width: 100%;
  }
  .hero-visual-col {
    width: 100%;
    max-width: 520px;
  }
  .problems-grid-box {
    grid-template-columns: 1fr;
  }
  .problem-item {
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
  .problem-item:last-child {
    border-bottom: none !important;
  }
  .steps-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .hero-inspection {
    padding: 48px 0 42px;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    justify-content: center;
    width: 100%;
  }
  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .problem-item {
    padding: 18px 20px;
  }
  .steps-grid-6 {
    grid-template-columns: 1fr;
  }
  .pricing-tabs {
    flex-direction: column;
    width: 100%;
  }
  .pricing-tab-btn {
    text-align: center;
  }
}


/* ===================================================
   TESTIMONIALS 3-ITEM CAROUSEL (RIGHT-TO-LEFT MOVEMENT)
=================================================== */
.testimonials-section {
  background-color: var(--canvas-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 80px 0;
  position: relative;
}
.testimonials-carousel-outer {
  position: relative;
  margin-top: 40px;
  padding: 0 10px;
}
.testimonials-carousel-window {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-md);
}
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.testimonial-card-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.testimonial-card-slide:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(9, 30, 66, 0.08);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.testimonial-avatar-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #e2e8f0;
  background: #f1f5f9;
  position: relative;
}
.testimonial-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-user-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.25;
  margin-bottom: 4px;
}
.testimonial-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.testimonial-value-pill {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}
.testimonial-quote {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}
.testimonial-footer {
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

/* Carousel Nav Buttons & Dots */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--brand-navy);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(9, 30, 66, 0.12);
  transition: var(--transition);
  z-index: 10;
}
.carousel-nav-btn:hover {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 6px 18px rgba(0, 82, 204, 0.35);
  transform: translateY(-50%) scale(1.06);
}
.carousel-nav-prev {
  left: -22px;
}
.carousel-nav-next {
  right: -22px;
}
.carousel-dots-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.carousel-dot.active {
  background: var(--brand-blue);
  width: 26px;
  border-radius: var(--radius-full);
}

@media (max-width: 992px) {
  .testimonial-card-slide {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
  .carousel-nav-prev {
    left: 4px;
  }
  .carousel-nav-next {
    right: 4px;
  }
}
@media (max-width: 640px) {
  .testimonial-card-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .carousel-nav-btn {
    display: none;
  }
}

/* ===================================================
   5 FRICTION-BREAKING MODULES & ENGINEER PORTAL STYLES
   =================================================== */

/* Header Auth & Engineer Portal Button */
.nav-link-login {
  color: var(--brand-blue) !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px !important;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  transition: all 0.25s ease;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0;
}
.nav-link-login:hover {
  background: var(--brand-blue) !important;
  color: #ffffff !important;
  border-color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
  transform: translateY(-1px);
}

/* User Logged-in State in Header Navbar */
.nav-auth-slot {
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0;
}

.nav-user-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0;
}

.nav-link-user {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px !important;
  background: #f0f7ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 20px;
  color: var(--brand-blue) !important;
  font-weight: 700 !important;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0;
}

.nav-link-user:hover {
  background: #e0f2fe !important;
  border-color: #0284c7;
  color: #0369a1 !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.22);
  transform: translateY(-1px);
}

.nav-user-avatar {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav-user-name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  display: inline-block;
}

.nav-user-caret {
  font-size: 0.62rem;
  color: #64748b;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-user-dropdown:hover .nav-user-caret,
.nav-user-dropdown.active .nav-user-caret {
  transform: rotate(180deg);
  color: var(--brand-blue);
}

.nav-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  padding: 8px 0;
  z-index: 1000;
  display: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.nav-user-dropdown:hover .nav-user-menu,
.nav-user-dropdown.active .nav-user-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.user-menu-header {
  padding: 10px 16px 8px 16px;
  border-bottom: 1px solid #f1f5f9;
}

.user-menu-header .user-menu-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-menu-header .user-menu-role {
  font-size: 0.76rem;
  font-weight: 600;
  color: #0284c7;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.user-menu-role .role-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}

.user-menu-body {
  padding: 4px 0;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  background: transparent;
  border: none;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap !important;
}

.user-menu-item:hover {
  background: #f8fafc;
  color: #0284c7;
}

.user-menu-item.logout-item {
  color: #dc2626;
  border-top: 1px solid #f1f5f9;
  margin-top: 4px;
}

.user-menu-item.logout-item:hover {
  background: #fef2f2;
  color: #b91c1c;
}

@media (max-width: 1024px) {
  .nav-auth-slot {
    width: 100%;
  }
  .nav-user-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-link-user {
    width: 100%;
    justify-content: space-between;
    padding: 10px 16px !important;
    font-size: 0.95rem;
  }
  .nav-user-menu {
    position: static !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #e2e8f0 !important;
    margin-top: 8px !important;
    width: 100% !important;
    transform: none !important;
    display: none;
    border-radius: 12px;
  }
  .nav-user-dropdown.active .nav-user-menu {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .user-menu-item {
    padding: 12px 16px !important;
    font-size: 0.92rem !important;
    min-height: 44px;
  }
}

/* Booking Success Modal */
.booking-success-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.booking-success-box {
  background: #ffffff;
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  padding: 32px 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  position: relative;
  animation: modalFadeIn 0.25s ease-out;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.btn-engineer-portal,
.btn-auth-portal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0f7ff;
  color: var(--brand-blue);
  border: 1px solid #bfdbfe;
  font-weight: 700;
  transition: var(--transition);
}
.btn-engineer-portal:hover,
.btn-auth-portal:hover {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
}

/* Two-Role Auth Modal (Khách Hàng & Kỹ Sư) */
.auth-modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
}
.auth-tabs-nav {
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  gap: 4px;
}
.auth-tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.auth-tab-btn.active {
  background: #ffffff;
  color: var(--brand-blue);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.auth-pane {
  display: none;
}
.auth-pane.active {
  display: block;
}

/* Customer Dashboard Modal */
.customer-dashboard-box {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  max-width: 980px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.customer-dash-topbar {
  background: linear-gradient(135deg, #091e42 0%, #0052cc 100%);
  color: #ffffff;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.cust-profile-info h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
}
.cust-profile-info span {
  font-size: 0.82rem;
  color: #bfdbfe;
}
.customer-dash-content {
  padding: 26px;
  overflow-y: auto;
  flex-grow: 1;
}
.metric-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .metric-summary-grid {
    grid-template-columns: 1fr;
  }
}
.metric-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.metric-summary-card .metric-val {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 4px;
}
.metric-summary-card .metric-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}
.progress-bar-fill {
  height: 100%;
  background: #10b981;
  border-radius: 4px;
  transition: width 0.4s ease;
}
.badge-status-fixed {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-block;
}
.badge-status-pending {
  background: #fffbeb;
  color: #b45309;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-block;
}

/* Hero Section New CTAs */
.btn-hero-sample {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--brand-navy);
  border: 1.5px solid #cbd5e1;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.btn-hero-sample:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-hero-zalo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0088cc;
  color: #ffffff;
  border: none;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}
.btn-hero-zalo:hover {
  background: #0077b5;
  color: #ffffff;
  transform: translateY(-2px);
}

/* 1. Loss Aversion & Urgency Section */
.urgency-section {
  padding: 50px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-subtle);
}
.urgency-box {
  background: #091e42;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.urgency-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, transparent 70%);
  pointer-events: none;
}
.urgency-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 32px;
}
.urgency-badge {
  display: inline-block;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.urgency-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 10px;
}
.urgency-title .text-gold {
  color: #fbbf24;
}
.urgency-sub {
  font-size: 1.02rem;
  color: #cbd5e1;
  line-height: 1.6;
}
.urgency-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .urgency-comparison-grid {
    grid-template-columns: 1fr;
  }
}
.urgency-col {
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.urgency-col-before {
  background: rgba(16, 185, 129, 0.1);
  border: 1.5px solid rgba(16, 185, 129, 0.4);
}
.urgency-col-after {
  background: rgba(239, 68, 68, 0.1);
  border: 1.5px solid rgba(239, 68, 68, 0.4);
}
.urgency-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.urgency-col-before .urgency-col-title {
  color: #34d399;
}
.urgency-col-after .urgency-col-title {
  color: #f87171;
}
.urgency-list {
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e2e8f0;
}
.urgency-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.urgency-reframing-banner {
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.reframing-text h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 4px;
}
.reframing-text p {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin: 0;
}

/* 1.1 Why VeriQ - 3 Core Value Pillars */
.why-veriq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-veriq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-veriq-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) {
  .why-veriq-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .why-veriq-card {
    padding: 22px 20px;
  }
}
@media (max-width: 768px) {
  .urgency-reframing-banner {
    padding: 20px 18px !important;
    flex-direction: column;
    align-items: flex-start;
  }
  .urgency-reframing-banner .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 2. DIY vs VeriQ Comparison Section */
.comparison-section {
  margin-top: 40px;
  margin-bottom: 40px;
}
.comparison-diy-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.comparison-diy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 820px) {
  .comparison-diy-grid {
    grid-template-columns: 1fr;
  }
}
.comp-side {
  padding: 34px 30px;
}
.comp-side-diy {
  background: #fafafa;
  border-right: 1px solid #e2e8f0;
}
.comp-side-veriq {
  background: #f0f7ff;
}
.comp-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.comp-side-diy .comp-badge {
  background: #e2e8f0;
  color: #475569;
}
.comp-side-veriq .comp-badge {
  background: var(--brand-blue);
  color: #ffffff;
}
.comp-side-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.comp-side-diy .comp-side-title {
  color: #334155;
}
.comp-side-veriq .comp-side-title {
  color: var(--brand-navy);
}
.comp-side-desc {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}
.comp-points-list {
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.6;
}
.comp-points-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.comp-icon-fail {
  color: #ef4444;
  font-weight: 900;
  font-size: 1.1rem;
}
.comp-icon-success {
  color: #10b981;
  font-weight: 900;
  font-size: 1.1rem;
}

/* 3. Legal Reassurance Card */
.legal-reassurance-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 36px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.legal-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}
.legal-shield-icon {
  font-size: 2.4rem;
  background: #eff6ff;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #bfdbfe;
}
.legal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 6px;
}
.legal-desc {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}
.legal-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}
@media (max-width: 900px) {
  .legal-pillars-grid {
    grid-template-columns: 1fr;
  }
}
.legal-pillar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 18px;
}
.legal-pillar h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-pillar p {
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}

/* ===================================================
   MODALS: SAMPLE REPORT & ENGINEER PORTAL / DASHBOARD
   =================================================== */

.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 30, 66, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
}
.custom-modal-overlay.active {
  display: flex;
}

/* Sample Report Modal Box */
.sample-report-modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}
.modal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--brand-navy);
  color: #ffffff;
}
.modal-header-bar h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-close-icon {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: transform 0.2s;
}
.modal-close-icon:hover {
  transform: scale(1.15);
}
.sample-report-nav-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 24px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
}
.sample-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.sample-tab-btn.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
}
.sample-report-body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}
.sample-page-sheet {
  display: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.sample-page-sheet.active {
  display: block;
}
.report-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--brand-navy);
}
.report-sheet-header .logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}
.report-sheet-header .doc-id {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-align: right;
}
.report-thermal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 16px;
}
@media (max-width: 680px) {
  .report-thermal-grid {
    grid-template-columns: 1fr;
  }
}
.thermal-card {
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f8fafc;
}
.thermal-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.thermal-card-info {
  padding: 12px 14px;
  font-size: 0.82rem;
}
.modal-footer-cta {
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

/* Engineer Login Modal */
.engineer-login-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 36px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  position: relative;
}
.login-header {
  text-align: center;
  margin-bottom: 26px;
}
.login-logo {
  height: 38px;
  margin-bottom: 12px;
}
.login-badge {
  display: inline-block;
  background: #091e42;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.login-form-group {
  margin-bottom: 18px;
}
.login-form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 6px;
}
.login-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
}
.login-input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
}
.btn-login-submit {
  width: 100%;
  padding: 13px;
  background: var(--brand-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}
.btn-login-submit:hover {
  background: #0043a8;
}
.btn-demo-quickfill {
  width: 100%;
  padding: 10px;
  background: #f1f5f9;
  color: #0284c7;
  border: 1px dashed #93c5fd;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
  transition: var(--transition);
}
.btn-demo-quickfill:hover {
  background: #e0f2fe;
}

/* Engineer Dashboard Full Modal */
.engineer-dashboard-box {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  max-width: 1100px;
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.dashboard-topbar {
  background: #091e42;
  color: #ffffff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.engineer-profile-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eng-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
}
.eng-info h4 {
  font-size: 0.95rem;
  margin: 0;
  color: #ffffff;
  font-weight: 800;
}
.eng-info span {
  font-size: 0.76rem;
  color: #94a3b8;
}
.dashboard-subnav {
  display: flex;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 24px;
  overflow-x: auto;
}
.dash-nav-btn {
  padding: 14px 20px;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-secondary);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}
.dash-nav-btn.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}
.dashboard-main-content {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}
.dash-tab-panel {
  display: none;
}
.dash-tab-panel.active {
  display: block;
}
.dash-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.dash-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.table-dash-input {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.table-dash-input th,
.table-dash-input td {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
}
.table-dash-input th {
  background: #f1f5f9;
  font-weight: 700;
  color: var(--brand-navy);
}
.dash-field-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.88rem;
}
.dash-field-input:focus {
  outline: none;
  border-color: var(--brand-blue);
}
.status-pill-btn {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  cursor: pointer;
  margin-right: 4px;
}
.status-pill-btn.pass.active {
  background: #ecfdf5;
  color: #059669;
  border-color: #059669;
}
.status-pill-btn.fail.active {
  background: #fef2f2;
  color: #dc2626;
  border-color: #dc2626;
}
.status-pill-btn.blocker.active {
  background: #450a0a;
  color: #ffffff;
  border-color: #450a0a;
}

/* ===================================================
   QUIET LUXURY UI UPGRADES (HERO, CARDS, FORM & MOBILE)
   =================================================== */

/* 1. Hero Floating Badges */
.hero-visual-col .hero-image-card {
  position: relative;
  overflow: visible !important;
}

.hero-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite;
  pointer-events: none;
}

.hero-float-badge.float-badge-1 {
  top: -12px;
  right: -14px;
}

.hero-float-badge.float-badge-2 {
  bottom: -12px;
  left: -14px;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-float-badge .float-icon {
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-badge .float-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-float-badge .float-text strong {
  font-size: 0.82rem;
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
}

.hero-float-badge .float-text span {
  font-size: 0.72rem;
  color: #0284c7;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .hero-float-badge.float-badge-1 {
    top: 6px;
    right: 6px;
  }
  .hero-float-badge.float-badge-2 {
    bottom: 6px;
    left: 6px;
  }
}

/* 2. Hero Zalo Hint */
.hero-zalo-hint {
  margin-top: 14px;
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-zalo-hint a {
  color: #0284c7;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.hero-zalo-hint a:hover {
  color: #0052cc;
}

/* 3. Search Pill Bar (Desktop & Tablet) */
.search-widget-pill .search-input-group {
  border-radius: 99px;
  padding: 6px 8px 6px 18px;
  box-shadow: 0 4px 20px rgba(0, 82, 204, 0.08);
  border: 1.5px solid #cbd5e1;
  transition: all 0.25s ease;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-widget-pill .search-input-group:focus-within {
  border-color: #0284c7;
  box-shadow: 0 6px 25px rgba(2, 132, 199, 0.22);
}

.search-input-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.search-input-inner .search-icon-wrap {
  padding-left: 0;
  display: flex;
  align-items: center;
  font-size: 1.15rem;
  color: #64748b;
  flex-shrink: 0;
}

.search-input-inner .search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 0;
  min-width: 0;
}

.search-widget-pill .search-action-btn,
.search-widget-pill .btn-primary {
  border-radius: 99px;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 12px 26px;
}

/* 4. Integrated Pillar Metrics */
.pillar-metric-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  background: #eff6ff;
  color: #0284c7;
  margin-bottom: 12px;
  border: 1px solid #bfdbfe;
  letter-spacing: 0.3px;
}

.pillar-feature-chip {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 8px;
}

/* 5. Elevated Featured Pricing Card on Desktop */
@media (min-width: 1025px) {
  .price-card-luxury.featured {
    transform: translateY(-8px);
    border: 2.5px solid #0284c7 !important;
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.16) !important;
    position: relative;
    z-index: 2;
  }
  .price-card-luxury.featured:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(2, 132, 199, 0.22) !important;
  }
}

/* 6. Group Discount Luxury Card */
.group-discount-card {
  margin-top: 36px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.08);
}

.group-discount-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.group-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: #059669;
  color: #ffffff;
  letter-spacing: 0.4px;
}

/* 7. Quick Project Fill Chips */
.proj-chip {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.proj-chip:hover {
  background: #e0f2fe;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
}

/* 8. Live Quote Card in Form */
.live-quote-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border: 1.5px solid #93c5fd;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 84px;
}

/* 9. Mobile Sticky Action Bar */
.mobile-sticky-action-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-action-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 990;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    padding: 10px 14px;
    gap: 10px;
    border-top: 1px solid #e2e8f0;
  }
  .mobile-sticky-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .mobile-sticky-btn.btn-call {
    background: #f8fafc;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
  }
  .mobile-sticky-btn.btn-book {
    background: #0052cc;
    color: #ffffff;
    border: 1.5px solid #0052cc;
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35);
  }
  body {
    padding-bottom: 68px;
  }
}

/* ==========================================================================
   Article Landing Page & Related Topics Styles (VeriQ Chuyên Đề Hub)
   ========================================================================== */
.article-landing-hero {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  padding: 44px 0 28px;
  border-bottom: 1px solid #e2e8f0;
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.article-breadcrumb a {
  color: var(--brand-blue, #0052cc);
  text-decoration: none;
  font-weight: 600;
}
.article-breadcrumb a:hover {
  text-decoration: underline;
}
.article-landing-title {
  font-size: 2.05rem;
  font-weight: 800;
  color: var(--brand-navy, #091e42);
  line-height: 1.35;
  margin: 14px 0 16px;
  letter-spacing: -0.02em;
}
.article-meta-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
}
@media (max-width: 768px) {
  .article-landing-hero {
    padding: 28px 0 18px;
  }
  .article-landing-title {
    font-size: 1.45rem;
  }
}
.article-landing-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 20px 80px;
}
.article-landing-content .full-article-item {
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-md, 12px);
  padding: 36px 32px;
  background: #ffffff;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .article-landing-content .full-article-item {
    padding: 24px 16px;
  }
}
.related-articles-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px dashed #cbd5e1;
}
.related-section-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--brand-navy, #091e42);
  margin: 6px 0 8px;
}
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .related-articles-grid {
    grid-template-columns: 1fr;
  }
}
.related-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  transform: translateY(-3px);
  border-color: #0052cc;
  box-shadow: 0 10px 24px rgba(0, 82, 204, 0.08);
}
.related-card-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.related-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.related-card:hover .related-card-img-wrap img {
  transform: scale(1.04);
}
.related-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(9, 30, 66, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.related-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.related-card-cat {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0052cc;
  margin-bottom: 6px;
}
.related-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #091e42;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-title a {
  color: inherit;
  text-decoration: none;
}
.related-card-title a:hover {
  color: #0052cc;
}
.related-card-excerpt {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-link {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0052cc;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.related-card-link:hover {
  text-decoration: underline;
}
.incoming-topic-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1.5px dashed #0284c7;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   MỤC TUYỂN DỤNG KỸ SƯ VERIQ (CAREERS & RECRUITMENT)
   ========================================================================== */
.careers-section {
  background: #f8fafc;
  padding: 70px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.careers-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

@media (max-width: 992px) {
  .careers-perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .careers-perks-grid {
    grid-template-columns: 1fr;
  }
}

.careers-perk-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.careers-perk-card:hover {
  transform: translateY(-4px);
  border-color: #0052cc;
  box-shadow: 0 12px 24px rgba(0, 82, 204, 0.08);
}

.careers-perk-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: inline-block;
}

.careers-perk-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.careers-perk-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Lưới Thẻ Việc Làm (Job Cards Grid) */
.job-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .job-cards-grid {
    grid-template-columns: 1fr;
  }
}

.job-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.job-card:hover {
  border-color: #0052cc;
  box-shadow: 0 14px 32px rgba(0, 82, 204, 0.1);
  transform: translateY(-4px);
}

.job-card.featured-job {
  border-color: #0284c7;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.job-card.featured-job::before {
  content: "VỊ TRÍ THEN CHỐT";
  position: absolute;
  top: 14px;
  right: -32px;
  transform: rotate(45deg);
  background: #0284c7;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 34px;
  letter-spacing: 0.5px;
}

.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.job-card-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.job-card-salary {
  font-size: 1.05rem;
  font-weight: 800;
  color: #059669;
}

.job-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #cbd5e1;
}

.job-card-desc {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 14px;
  flex-grow: 1;
}

.job-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 0.84rem;
  color: #475569;
}

.job-highlights-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  line-height: 1.45;
}

.job-highlights-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0052cc;
  font-weight: 800;
}

.job-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  align-items: center;
  flex-wrap: wrap;
}

.careers-cta-banner {
  background: linear-gradient(135deg, #091e42 0%, #0052cc 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.2);
}

.careers-cta-banner h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.careers-cta-banner p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 600px;
  line-height: 1.5;
}

/* Modal Ứng Tuyển Nhanh */
.apply-modal-box {
  background: #ffffff;
  border-radius: 16px;
  max-width: 580px;
  width: 92%;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.apply-modal-header {
  margin-bottom: 20px;
  padding-right: 30px;
}

.apply-modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin: 4px 0 6px;
}

/* ==========================================================================
   Tuyển Dụng: Cẩm Nang Phong Cách & Landing Page Vị Trí
   ========================================================================== */
.job-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.job-filter-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  transition: all 0.2s ease;
  font-family: inherit;
}

.job-filter-btn:hover {
  border-color: #0052cc;
  color: #0052cc;
}

.job-filter-btn.active {
  background: #0052cc;
  color: #ffffff;
  border-color: #0052cc;
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.25);
}

.recruitment-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.recruitment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 82, 204, 0.12);
  border-color: #93c5fd;
}

.recruitment-card.is-hiring {
  border-color: #86efac;
}

.recruitment-card.is-hiring:hover {
  border-color: #10b981;
}

.recruitment-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f1f5f9;
}

.recruitment-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.recruitment-card:hover .recruitment-card-thumb img {
  transform: scale(1.06);
}

.recruitment-badge-status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.badge-status-hiring {
  background: #10b981;
  color: #ffffff;
}

.badge-status-closed {
  background: #64748b;
  color: #ffffff;
}

.recruitment-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recruitment-card-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.recruitment-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.recruitment-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.recruitment-card-title a:hover {
  color: #0052cc;
}

.recruitment-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #64748b;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
}

.recruitment-card-salary {
  font-size: 1.05rem;
  font-weight: 800;
  color: #059669;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.recruitment-card-salary.closed {
  color: #64748b;
  font-size: 0.95rem;
}

.recruitment-card-points {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: #334155;
  line-height: 1.55;
  flex-grow: 1;
}

.recruitment-card-points li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.recruitment-card-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0284c7;
  font-weight: 800;
}

.recruitment-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

/* Toast Thông Báo Khi Copy Link */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
}

/* Nút Share Tiện Ích */
.btn-share-icon {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-share-icon:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Box Trạng Thái Đã Tuyển Xong */
.closed-job-callout {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 14px;
  line-height: 1.45;
}

/* Trang Chi Tiết Vị Trí (Job Landing Page) */
.job-hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.job-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  margin: 24px 0 32px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.job-spec-item {
  display: flex;
  flex-direction: column;
}

.job-spec-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.job-spec-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.job-share-box {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

/* ==========================================================================
   MOBILE VIEWPORT & ANTI-HORIZONTAL-OVERFLOW SHIELD (ALL SCREENS & MOBILE)
   Prevents any unintended horizontal panning/scrolling or empty side whitespace
   ========================================================================== */

html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative !important;
  overscroll-behavior-x: none !important;
}

/* Ensure all major landmark sections stay strictly within viewport */
header,
main,
section,
footer,
nav,
article,
aside,
.container,
.hero-inspection,
.section-problems,
.urgency-section,
.testimonials-section,
.pricing-section,
.checklist-promo-banner,
.article-landing-hero,
.article-landing-container {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Ensure no media tag forces document width expansion */
img,
svg,
video,
canvas,
iframe {
  max-width: 100% !important;
  height: auto;
}

/* Tables automatically contain their scroll within responsive wrappers */
.pricing-table-responsive,
.tablewrap,
.table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Mobile & Tablet Specific Responsive Fixes */
@media (max-width: 768px) {
  html, body {
    overflow-x: clip !important;
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
  }

  /* Prevent negative absolute positioning of carousel buttons from hanging offscreen */
  .carousel-nav-btn {
    display: none !important;
  }

  /* Keep floating widgets safely within screen boundaries */
  .floating-widget {
    right: 14px !important;
    bottom: 84px !important;
  }

  /* Flexible cards and formula steps */
  .formula-rate-step {
    min-width: 0 !important;
  }
}









/* ==========================================================================
   VERIQ MASCOT ASSISTANT "QQ" & CHAT WIDGET STYLES
   ========================================================================== */

@keyframes qqBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes qqPulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes qqFadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.veriq-qq-widget-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-ui, "Be Vietnam Pro", system-ui, sans-serif);
  pointer-events: none;
}

/* Synchronized Vertical Action Column: Back-to-Top + Mascot QQ (Perfect Vertical Center Alignment) */
.veriq-action-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 66px;
  pointer-events: none;
  animation: qqBob 3.5s ease-in-out infinite;
  will-change: transform;
}

.veriq-qq-trigger-wrap {
  position: relative;
  width: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

/* Floating Mascot Button */
.veriq-qq-trigger-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.veriq-qq-trigger-btn:hover {
  transform: scale(1.06);
}

.veriq-qq-avatar-wrap {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #091e42 0%, #0052cc 60%, #0284c7 100%);
  border: 3px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 82, 204, 0.45), 0 2px 6px rgba(9, 30, 66, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  /* animation delegated to parent .veriq-action-stack for perfect synchronization */
  overflow: visible;
}

.veriq-qq-avatar-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.veriq-qq-online-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #22c55e;
  border: 2px solid #ffffff;
  border-radius: 50%;
  animation: qqPulseGreen 2s infinite;
}

.veriq-qq-label-pill {
  margin-top: 4px;
  background: #091e42;
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.3px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.veriq-qq-unread-badge {
  position: absolute;
  top: -2px;
  left: -2px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

@keyframes qqFadeInLeft {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Compact Pill Speech Welcome Bubble (To the LEFT of Mascot QQ) */
.veriq-qq-speech-bubble {
  position: absolute;
  right: 76px;
  bottom: 18px;
  background: #ffffff;
  border: 1.5px solid rgba(0, 82, 204, 0.22);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(9, 30, 66, 0.14), 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 6px 10px 6px 14px;
  white-space: nowrap;
  animation: qqFadeInLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10000;
  margin-bottom: 0;
}

.veriq-qq-bubble-content {
  font-size: 12px;
  font-weight: 700;
  color: #0052cc;
  display: flex;
  align-items: center;
  user-select: none;
  line-height: 1.4;
}

.veriq-qq-bubble-close {
  background: transparent;
  border: none;
  font-size: 15px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
  margin-left: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.veriq-qq-bubble-close:hover {
  color: #ef4444;
}

.veriq-qq-bubble-arrow {
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #ffffff;
}

/* Chat Box Modal Card */
.veriq-qq-chat-box {
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(9, 30, 66, 0.28), 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 82, 204, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: qqFadeInUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 14px;
}

.veriq-qq-chat-header {
  background: linear-gradient(135deg, #091e42 0%, #0052cc 100%);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #d97706;
}

.veriq-qq-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.veriq-qq-header-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.veriq-qq-header-avatar img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.veriq-qq-header-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #22c55e;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
}

.veriq-qq-header-name {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.veriq-qq-header-name span {
  background: #d97706;
  color: #ffffff;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.veriq-qq-header-status {
  font-size: 11px;
  color: #cbd5e1;
}

.veriq-qq-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.veriq-qq-hbtn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.veriq-qq-hbtn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.veriq-qq-close-btn {
  font-size: 20px;
  font-weight: 700;
}

/* Contact info bar */
.veriq-qq-contact-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 12px;
  font-size: 11.5px;
}

.veriq-qq-contact-hint {
  color: #475569;
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.veriq-qq-contact-inputs {
  display: flex;
  gap: 6px;
}

.veriq-qq-contact-inputs input {
  flex: 1;
  padding: 5px 8px;
  font-size: 11.5px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  outline: none;
}

.veriq-qq-contact-inputs input:focus {
  border-color: #0052cc;
}

.veriq-qq-contact-inputs button {
  background: #0052cc;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

/* Messages Body */
.veriq-qq-messages-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}

.veriq-qq-messages-body::-webkit-scrollbar {
  width: 5px;
}

.veriq-qq-messages-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.veriq-qq-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
}

.veriq-qq-msg-row.msg-customer {
  flex-direction: row-reverse;
}

.veriq-qq-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  margin-top: 2px;
}

.veriq-qq-msg-avatar img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.veriq-qq-msg-bubble-wrap {
  display: flex;
  flex-direction: column;
  max-width: 82%;
}

.veriq-qq-msg-row.msg-customer .veriq-qq-msg-bubble-wrap {
  align-items: flex-end;
}

.veriq-qq-msg-author {
  font-size: 10.5px;
  color: #64748b;
  margin-bottom: 2px;
  font-weight: 600;
}

.veriq-qq-msg-bubble {
  padding: 9px 13px;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 14px;
  word-break: break-word;
}

.veriq-qq-msg-row.msg-qq .veriq-qq-msg-bubble {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  border-top-left-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.veriq-qq-msg-row.msg-staff .veriq-qq-msg-bubble {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  border-top-left-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.veriq-qq-msg-row.msg-customer .veriq-qq-msg-bubble {
  background: #0052cc;
  color: #ffffff;
  border-top-right-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 82, 204, 0.3);
}

/* Quick Suggestion Chips */
.veriq-qq-chips-container {
  padding: 6px 12px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.veriq-qq-chips-container::-webkit-scrollbar {
  display: none;
}

.veriq-qq-chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.veriq-qq-chip:hover {
  background: #e0f2fe;
  border-color: #38bdf8;
  color: #0284c7;
}

/* Chat Input Bar */
.veriq-qq-input-bar {
  padding: 10px 12px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.veriq-qq-input-bar textarea {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  resize: none;
  max-height: 70px;
  line-height: 1.4;
  box-sizing: border-box;
}

.veriq-qq-input-bar textarea:focus {
  border-color: #0052cc;
}

.veriq-qq-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0052cc;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 82, 204, 0.35);
}

.veriq-qq-send-btn:hover {
  background: #091e42;
  transform: scale(1.05);
}

.veriq-qq-footer-brand {
  font-size: 10px;
  color: #94a3b8;
  text-align: center;
  padding: 4px 8px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

.veriq-qq-footer-brand a {
  color: #0052cc;
  font-weight: 700;
  text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .veriq-qq-widget-container {
    right: 14px !important;
    bottom: 84px !important;
  }

  .veriq-qq-speech-bubble {
    right: 70px !important;
    bottom: 14px !important;
    padding: 5px 8px 5px 12px !important;
    max-width: calc(100vw - 110px) !important;
    font-size: 11px !important;
  }

  .veriq-qq-chat-box {
    width: calc(100vw - 28px);
    height: 72vh;
    max-height: 520px;
  }
}


/* ==========================================================================
   RECRUITMENT (TUYỂN DỤNG) RESPONSIVE & ANTI-OVERFLOW FIXES FOR MOBILE
   ========================================================================== */

/* Base classes for recruitment layout */
.job-hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-sizing: border-box;
  max-width: 100%;
}

.job-article-title {
  font-size: 2.2rem;
  line-height: 1.3;
  margin: 12px 0 16px;
  color: var(--brand-navy);
  word-break: break-word;
  overflow-wrap: break-word;
}

.job-article-content-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 40px;
  box-sizing: border-box;
  max-width: 100%;
}

.job-apply-form-box {
  background: #ffffff;
  border: 1.5px solid #0052cc;
  border-radius: 16px;
  padding: 36px 30px;
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.08);
  margin-bottom: 50px;
  box-sizing: border-box;
  max-width: 100%;
}

.job-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
}

/* Specific Mobile Overrides for Recruitment Pages (<= 768px) */
@media (max-width: 768px) {
  /* Prevent horizontal breakout on html & body */
  body:has(.article-landing-hero),
  body:has(.job-article-title),
  body:has(.job-cards-grid) {
    overflow-x: hidden !important;
    position: relative !important;
    width: 100% !important;
  }

  /* Location badge in hero */
  .job-hero-location-badge {
    display: block !important;
    white-space: normal !important;
    text-align: center !important;
    font-size: 0.72rem !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
    margin: 0 auto 14px !important;
    box-sizing: border-box !important;
  }

  /* Breadcrumb & Hero badges wrap cleanly */
  .article-breadcrumb {
    font-size: 0.78rem !important;
    gap: 4px !important;
    margin-bottom: 12px !important;
    flex-wrap: wrap !important;
    line-height: 1.4 !important;
  }

  .job-hero-badge-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
  }

  .job-hero-badge-wrap .badge {
    font-size: 0.72rem !important;
    padding: 5px 10px !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Article Hero Title */
  .job-article-title,
  .article-landing-title {
    font-size: 1.4rem !important;
    line-height: 1.35 !important;
    margin: 8px 0 12px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .article-landing-hero p {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 16px !important;
    word-break: break-word !important;
  }

  /* Share & Action Buttons in Recruitment Post */
  .job-share-box {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 14px 12px !important;
    gap: 12px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  .job-share-box > div {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 8px !important;
  }

  /* CRITICAL: Allow buttons inside recruitment post to wrap text and fit 100% on mobile */
  .job-share-box .btn,
  .article-landing-hero .btn,
  .job-article-content-box .btn,
  .job-apply-form-box .btn,
  div[style*="background: #fffbeb"] .btn,
  div[style*="background:#fffbeb"] .btn {
    white-space: normal !important;
    text-wrap: balance !important;
    word-break: break-word !important;
    text-align: center !important;
    width: 100% !important;
    padding: 10px 14px !important;
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Callout Warning/Notice Box (Đã tuyển xong / Thông báo) */
  div[style*="background: #fffbeb"],
  div[style*="background:#fffbeb"],
  div[style*="background: #f0fdf4"],
  div[style*="background:#f0fdf4"] {
    padding: 14px 12px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  div[style*="background: #fffbeb"] > div,
  div[style*="background:#fffbeb"] > div {
    flex-direction: column !important;
    gap: 8px !important;
  }

  /* 4 Spec Grid (Mức thu nhập, Địa điểm, Hình thức, Chỉ tiêu) */
  .job-spec-grid {
    grid-template-columns: 1fr !important;
    padding: 14px 12px !important;
    gap: 12px !important;
    margin: 16px 0 24px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  .job-spec-item {
    min-width: 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    padding-bottom: 10px !important;
    border-bottom: 1px dashed #e2e8f0 !important;
  }

  .job-spec-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  .job-spec-value {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Mascot Illustration Image on Mobile */
  main.container > div:first-child[style*="border-radius: 16px"] {
    margin-bottom: 24px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  main.container > div:first-child div[style*="height: 380px"],
  div[style*="height: 380px"],
  div[style*="height:380px"] {
    height: 200px !important;
  }

  main.container > div:first-child div[style*="padding: 14px 20px"] {
    padding: 10px 12px !important;
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
  }

  /* Main Article Content Card */
  .job-article-content-box,
  .article-content-body {
    padding: 20px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 28px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .job-article-content-box h2,
  .article-content-body h2 {
    font-size: 1.15rem !important;
    line-height: 1.4 !important;
    margin-top: 20px !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    word-break: break-word !important;
  }

  .job-article-content-box ul,
  .job-article-content-box ol,
  .article-content-body ul,
  .article-content-body ol {
    padding-left: 18px !important;
    margin-left: 0 !important;
    margin-bottom: 18px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  .job-article-content-box li,
  .article-content-body li {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin-bottom: 8px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .job-article-content-box div[style*="background: #f0fdf4"] {
    padding: 14px 12px !important;
  }

  /* Application Form Box */
  .job-apply-form-box,
  #form-ung-tuyen,
  #ung-tuyen-nhanh {
    padding: 22px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 35px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .job-apply-form-box h3,
  #form-ung-tuyen h3,
  #ung-tuyen-nhanh h3 {
    font-size: 1.25rem !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }

  /* Collapse 2-column Form Row to 1 column on Mobile */
  .job-form-row-2col,
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .login-form-group {
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 14px !important;
  }

  .login-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    padding: 10px 12px !important;
  }

  .job-apply-form-box .btn,
  #form-ung-tuyen .btn,
  #ung-tuyen-nhanh .btn {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 0.92rem !important;
    box-sizing: border-box !important;
  }

  /* Related Positions Grid */
  div[style*="minmax(260px, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  div[style*="minmax(260px, 1fr)"] > div {
    padding: 14px 12px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  div[style*="minmax(260px, 1fr)"] .btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  /* Main container padding */
  main.container {
    padding: 24px 14px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Job listing page (tuyen-dung.html) */
  .job-filter-bar {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding-bottom: 8px !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none;
    max-width: 100% !important;
  }

  .job-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .job-filter-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.8rem !important;
    padding: 6px 14px !important;
  }

  .job-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .job-card {
    padding: 18px 14px !important;
  }

  .job-card-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .job-card-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .careers-perks-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .careers-perk-card {
    padding: 16px 14px !important;
  }

  /* Callout Notice & Area Notice Box */
  .job-callout-notice,
  .job-area-notice-box {
    padding: 14px 12px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }
  .job-callout-notice > div,
  .job-area-notice-box > div {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .job-callout-notice .btn,
  .job-area-notice-box .btn {
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    box-sizing: border-box !important;
  }
  .job-area-notice-box .badge {
    align-self: flex-start !important;
  }
}


/* ==========================================================================
   BACK TO TOP FLOATING BUTTON (NÚT QUAY LẠI ĐẦU TRANG - NỀN TRONG SUỐT, ĐỒNG ĐIỆU CÂN TÂM)
   ========================================================================== */
.veriq-back-to-top {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent !important;
  border: 1.5px solid rgba(0, 82, 204, 0.45) !important;
  color: #0052cc !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.9);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, border-color 0.2s, color 0.2s;
  z-index: 10001;
  flex-shrink: 0;
}

.veriq-back-to-top.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.veriq-back-to-top:hover {
  background: rgba(0, 82, 204, 0.08) !important;
  border-color: #0052cc !important;
  color: #0052cc !important;
  transform: translateY(-2px) scale(1.08) !important;
}

.veriq-back-to-top:active {
  transform: translateY(0) scale(0.96) !important;
  background: rgba(0, 82, 204, 0.16) !important;
}

.veriq-back-to-top svg {
  width: 19px;
  height: 19px;
  stroke: #0052cc;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.veriq-back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Hide back-to-top when QQ Chat box is active so user can focus on chatting */
.veriq-qq-chat-box:not([style*="display: none"]):not([style*="display:none"]) ~ .veriq-action-stack .veriq-back-to-top {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .veriq-action-stack {
    width: 66px !important;
    gap: 8px !important;
  }

  .veriq-back-to-top {
    width: 36px !important;
    height: 36px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 1.5px solid rgba(0, 82, 204, 0.45) !important;
  }

  .veriq-back-to-top svg {
    width: 17px !important;
    height: 17px !important;
    stroke: #0052cc !important;
  }

  /* Global Dashboard Mobile Safeguards */
  .mgr-content, .dash-body-container, .customer-dash-content {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .table-responsive, .tablewrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}


/* SEO Hashtag Pills */
.article-seo-tags-box {
  margin: 32px 0 24px;
  padding: 18px 20px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
.seo-tag-pill {
  display: inline-block;
  padding: 5px 12px;
  background: #ffffff;
  color: #0284c7;
  border: 1px solid #bae6fd;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.seo-tag-pill:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}


/* ===================================================
   TEXT JUSTIFICATION FOR ALL ARTICLES & EDITORIAL POSTS
   Cân bằng 2 bên lề cho nội dung bài viết, tin tức & cẩm nang
   =================================================== */
.article-content-body p,
.article-content-body li,
.article-landing-hero p,
.article-callout,
.full-article-item p,
.article-excerpt,
.related-card-excerpt,
.reading-body p,
.article-reading-body p,
.article-detail-content p,
.job-detail-content p,
.job-detail-content li,
.article-body .article-excerpt,
.section-desc {
  text-align: justify !important;
  text-justify: inter-word !important;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* ===================================================
   SAMPLE REPORT 32-PAGE MODAL (DESKTOP & MOBILE RESPONSIVE)
   Cân chỉnh hiển thị Báo cáo mẫu 32 trang trên điện thoại
   =================================================== */
.sample-metrics-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
  text-align: center;
}
.sample-signatures-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px dashed #cbd5e1;
}
.sample-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sample-modal-footer-btns {
  display: flex;
  gap: 10px;
  align-items: center;
}
.mobile-swipe-indicator {
  display: none;
}
.btn-download-sample-pdf {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 768px) {
  .sample-report-modal-box {
    width: 100% !important;
    max-width: 100% !important;
    height: 94vh !important;
    max-height: 94vh !important;
    border-radius: 14px !important;
    margin: 0 !important;
  }
  .modal-header-bar {
    padding: 12px 14px !important;
  }
  .modal-header-bar h3 {
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
  }
  .modal-header-bar .modal-close-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.2rem !important;
    flex-shrink: 0 !important;
    background: rgba(255, 255, 255, 0.18) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    color: #ffffff !important;
  }
  .sample-report-nav-tabs {
    padding: 8px 10px !important;
    gap: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .sample-report-nav-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .sample-tab-btn {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }
  .sample-report-body {
    padding: 14px 12px !important;
  }
  .sample-metrics-summary-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .sample-signatures-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 20px !important;
  }
  .report-sheet-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .report-sheet-header .doc-id {
    text-align: left !important;
    font-size: 0.76rem !important;
  }
  .sample-table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    margin-bottom: 16px !important;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.04) !important;
  }
  .sample-table-responsive table {
    width: 100% !important;
    min-width: 520px !important;
    font-size: 0.78rem !important;
    border-collapse: collapse !important;
    margin-bottom: 0 !important;
  }
  .sample-table-responsive th,
  .sample-table-responsive td {
    padding: 8px 10px !important;
    white-space: nowrap !important;
  }
  .mobile-swipe-indicator {
    display: block !important;
    font-size: 0.74rem !important;
    color: #0284c7 !important;
    background: #f0f9ff !important;
    padding: 6px 10px !important;
    text-align: center !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #e0f2fe !important;
  }
  .modal-footer-cta {
    padding: 12px 14px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    text-align: center !important;
  }
  .sample-modal-footer-btns {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .sample-modal-footer-btns .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 14px !important;
    font-size: 0.88rem !important;
  }
}


/* ===================================================
   MOBILE SEARCH BAR OPTIMIZATION
   Tách riêng ô nhập và nút tìm kiếm trên điện thoại,
   khắc phục lỗi chữ tìm kiếm nằm trong ô
   =================================================== */
@media (max-width: 768px) {
  .search-widget-box.search-widget-pill {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 24px !important;
  }
  .search-widget-pill .search-input-group {
    flex-direction: column !important;
    align-items: stretch !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    gap: 10px !important;
  }
  .search-input-inner {
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 6px 14px !important;
    box-shadow: 0 2px 10px rgba(0, 82, 204, 0.06) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
  }
  .search-input-inner:focus-within {
    border-color: #0052cc !important;
    box-shadow: 0 4px 16px rgba(0, 82, 204, 0.18) !important;
  }
  .search-input-inner .search-icon-wrap {
    font-size: 1.1rem !important;
    padding-right: 8px !important;
  }
  .search-input-inner .search-input {
    font-size: 0.95rem !important;
    padding: 11px 0 !important;
    width: 100% !important;
  }
  .search-input-inner .search-input::placeholder {
    font-size: 0.88rem !important;
    color: #94a3b8 !important;
  }
  .search-widget-pill .search-action-btn,
  .search-widget-pill .btn-primary {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 13px 20px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.25) !important;
    box-sizing: border-box !important;
  }
}

/* ===================================================
   GLOBAL ARCHITECTURAL TYPOGRAPHY: JUSTIFIED TEXT
   Cân chỉnh 2 bên lề cho toàn bộ nội dung website
   (Bản Laptop, Tablet & Bản Di Động)
   =================================================== */
p,
.section-desc,
.hero-desc,
.intro-pillar-card p,
.inspection-category-card p,
.category-card-subgrid p,
.article-content-body p,
.article-content-body li,
.article-landing-hero p,
.article-callout,
.full-article-item p,
.article-excerpt,
.related-card-excerpt,
.reading-body p,
.article-reading-body p,
.article-detail-content p,
.job-detail-content p,
.job-detail-content li,
.article-body .article-excerpt,
.comp-side-desc,
.comp-points-list li,
.legal-desc,
.legal-pillar p,
.urgency-list li,
.urgency-col p,
.testimonial-card p,
.report-card-body p,
.sample-page-sheet p,
.checklist-desc,
.why-veriq-card p,
.dash-card p,
.defect-card p {
  text-align: justify !important;
  text-justify: inter-word !important;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Ngoại lệ: Giữ nguyên căn giữa cho các tiêu đề và thẻ thông điệp trọng tâm */
h1, h2, h3, h4, h5, h6,
.btn,
.nav-link,
.badge,
.quick-tag-item,
.seo-tag-pill,
.auth-tab-btn,
.sample-tab-btn,
.section-subtitle,
.text-center,
.text-center p,
.hero-tagline,
.price-tag-value,
.metric-value {
  text-align: inherit;
}
.text-center, .text-center p {
  text-align: center !important;
}


/* ==========================================================================
   VERIQ QUIET LUXURY DESIGN SYSTEM & STITCH TASTE ENHANCEMENTS
   Strict Typography · Calibrated Color · Perpetual Micro-Motion · Hardware Acceleration
   ========================================================================== */

:root {
  --font-luxury: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Quiet Luxury Palette */
  --canvas-pure: #ffffff;
  --canvas-surface: #f8fafc;
  --canvas-warm: #fafaf9;
  
  --ink-primary: #091e42;
  --ink-dark: #0f172a;
  --ink-body: #334155;
  --ink-muted: #64748b;
  
  /* Singular Warm Champagne Gold Accent (< 80% Saturation) */
  --accent-gold: #c5a059;
  --accent-gold-dark: #b45309;
  --accent-gold-light: #fef9ee;
  --accent-gold-border: rgba(197, 160, 89, 0.35);
  
  /* Deep Navy Authority */
  --brand-navy-dark: #071731;
  --brand-navy-subtle: rgba(9, 30, 66, 0.05);
  
  /* Spring Physics Motion */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* High-Agency Elevation & Shadows */
  --shadow-quiet: 0 2px 10px rgba(9, 30, 66, 0.04), 0 1px 3px rgba(9, 30, 66, 0.02);
  --shadow-quiet-hover: 0 14px 30px -4px rgba(9, 30, 66, 0.08), 0 4px 10px -2px rgba(9, 30, 66, 0.03);
}

/* Smooth Hardware-Accelerated Micro-Interactions */
.btn, .nav-link, .card, .risk-item-card, .price-card, .veriq-mascot-tip-box, .stat-pill {
  transition: var(--transition-spring);
}

.btn:hover {
  transform: translateY(-1.5px);
}

.btn:active {
  transform: scale(0.98);
}

/* Mascot QQ Strategic Advisory Callout (Quiet Luxury Style) */
.veriq-mascot-tip-box {
  background: linear-gradient(135deg, #ffffff 0%, #fbf9f4 100%);
  border: 1px solid var(--accent-gold-border);
  border-left: 4px solid var(--accent-gold);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-quiet);
}

.veriq-mascot-tip-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--accent-gold);
  padding: 2px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.veriq-mascot-tip-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.veriq-mascot-tip-content {
  flex: 1;
}

.veriq-mascot-tip-tag {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-gold-dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.veriq-mascot-tip-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-primary);
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.veriq-mascot-tip-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-body);
  margin: 0;
}

/* Editorial Article Layout Improvements */
.article-content-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.72;
  color: #1e293b;
}

.article-content-body h2 {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--ink-primary);
  letter-spacing: -0.015em;
  margin: 36px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1.5px solid rgba(9, 30, 66, 0.08);
}

.article-content-body h3 {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--ink-dark);
  margin: 22px 0 10px 0;
}

/* Quiet Comparison Tables */
.table-reality-comparison th {
  background: var(--ink-primary) !important;
  color: #ffffff !important;
  letter-spacing: 0.3px;
  font-size: 0.88rem;
  padding: 12px 16px;
}

.table-reality-comparison td {
  padding: 12px 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  border-bottom: 1px solid #e2e8f0;
}

/* Refined Badges & Pills */
.badge-gold {
  background: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  border: 1px solid var(--accent-gold-border);
  font-weight: 700;
}


/* ===================================================
   UNIVERSAL MOBILE BUTTON & ACTION GROUP SAFEGUARD
   Khắc phục triệt để lỗi nút tràn màn hình / chữ nhảy ra ngoài
   Áp dụng đồng bộ cho tất cả các trang web laptop & di động
   =================================================== */

/* Base Layout Classes */
.checklist-main-container {
  max-width: 1140px;
  margin: 0 auto;
}

.checklist-hero-card {
  position: relative;
  overflow: hidden;
}

.checklist-actions-group,
.checklist-footer-actions,
.checklist-toolbar-actions,
.cta-btn-group,
.hero-cta-actions,
.report-export-actions,
.article-closing-cta,
.inquiry-box-container {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  /* 1. Universal Button Wrapping: Cho phép nút tự bẻ dòng cân bằng, không tràn viền */
  .btn,
  button.btn,
  a.btn,
  .btn-primary,
  .btn-outline,
  .btn-navy,
  .btn-gold,
  .btn-danger,
  .btn-success,
  .btn-sm,
  .btn-lg,
  .btn-login-submit,
  .auth-btn-action,
  .auth-role-btn,
  .tab-btn {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-wrap: balance !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 1.35 !important;
  }

  .btn-lg {
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
  }

  /* 2. Tự động xếp chồng dọc 100% cho các nhóm nút hành động chính trên mobile */
  .checklist-actions-group,
  .checklist-footer-actions,
  .cta-btn-group,
  .article-cta-actions,
  .action-buttons-group,
  .hero-cta-actions,
  .report-export-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 10px !important;
  }

  .checklist-actions-group .btn,
  .checklist-footer-actions .btn,
  .cta-btn-group .btn,
  .article-cta-actions .btn,
  .action-buttons-group .btn,
  .hero-cta-actions .btn,
  .report-export-actions .btn {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 13px 16px !important;
    font-size: 0.92rem !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }

  /* 3. Checklist Toolbar trên mobile */
  .checklist-toolbar-actions {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }
  .checklist-toolbar-actions .btn {
    flex: 1 1 auto !important;
    padding: 10px 8px !important;
    font-size: 0.82rem !important;
  }

  /* 4. Ẩn nút in phụ trên mobile header */
  .hide-on-mobile,
  .nav-btn-print {
    display: none !important;
  }

  /* 5. Tinh chỉnh khung card Checklist & Bài viết trên mobile */
  .checklist-main-container {
    padding: 16px 12px !important;
  }

  .checklist-hero-card {
    padding: 20px 14px !important;
    border-radius: 12px !important;
    margin-bottom: 18px !important;
  }

  .checklist-hero-title {
    font-size: 1.32rem !important;
    line-height: 1.35 !important;
  }

  .checklist-footer-card {
    padding: 20px 14px !important;
    margin-top: 22px !important;
    border-radius: 12px !important;
  }

  .article-closing-cta,
  .news-closing-cta,
  .inquiry-box-container {
    padding: 20px 14px !important;
    border-radius: 12px !important;
  }

  .auth-modal-box {
    padding: 24px 16px !important;
    border-radius: 14px !important;
    width: 94% !important;
    max-width: 94% !important;
    margin: 0 auto !important;
  }

  .checklist-inputs-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}


/* ==========================================================================
   ARCHITECTURAL QUIET LUXURY: COMPONENT & ICON STYLES (VERIQ 2.0)
   ========================================================================== */

/* 1. Precision Typography Overrides */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.hero-headline {
  letter-spacing: -0.03em !important;
  line-height: 1.14 !important;
}
.section-title {
  letter-spacing: -0.025em !important;
}
.section-subtitle {
  letter-spacing: 0.12em !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
}
.price-val, .calc-price-display, .calc-bar-input {
  font-family: var(--font-mono) !important;
  font-feature-settings: "tnum" 1, "cv01" 1;
}

/* 2. Micro-SVG Vector Icon System */
.v-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  vertical-align: -0.18em;
  flex-shrink: 0;
  transition: transform 0.2s ease, stroke 0.2s ease;
}
.v-icon-lg {
  width: 1.5em;
  height: 1.5em;
  stroke-width: 2;
}
.v-icon-gold {
  color: var(--gold-champagne) !important;
}
.v-icon-blue {
  color: var(--brand-blue) !important;
}
.v-arrow {
  margin-left: 4px;
  vertical-align: -0.15em;
}

/* Vector Checkmark for Lists */
.tick-svg {
  display: inline-flex;
  width: 15px;
  height: 15px;
  stroke: #0284c7;
  stroke-width: 2.2;
  fill: none;
  flex-shrink: 0;
  vertical-align: middle;
  margin-right: 2px;
}
.vip-card .tick-svg {
  stroke: var(--gold-champagne-dark);
}

/* 3. Hero Architectural Frosted Glass Badges */
.hero-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid var(--gold-border) !important;
  border-radius: 14px !important;
  padding: 10px 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  box-shadow: 0 16px 36px -6px rgba(9, 30, 66, 0.12), 0 2px 8px rgba(197, 160, 89, 0.1) !important;
  z-index: 10;
  animation: floatAnim 4.8s ease-in-out infinite !important;
  pointer-events: none;
  transition: var(--transition-spring);
}
.hero-float-badge .float-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #fef9ee 0%, #fef3c7 100%) !important;
  border: 1px solid rgba(197, 160, 89, 0.35) !important;
  color: var(--gold-champagne-dark) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.hero-float-badge .float-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold-champagne-dark);
}
.hero-float-badge .float-text strong {
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  color: #091e42 !important;
  letter-spacing: -0.2px;
}
.hero-float-badge .float-text span {
  font-size: 0.74rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
}

/* 4. Architectural Category Icon Box (Danh Mục 150+ Điểm) */
.category-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #091e42;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-spring);
}
.category-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
}
.inspection-category-card:hover .category-icon-box {
  background: #091e42;
  color: #ffffff;
  border-color: #091e42;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(9, 30, 66, 0.15);
}

/* 5. Alert Icon Box (Chuyên đề 07) */
.alert-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.alert-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: #dc2626;
  stroke-width: 2;
}

/* 6. Testimonial Gold Vector Stars */
.testimonial-stars-svg {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--gold-champagne);
}
.testimonial-stars-svg svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.testimonial-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #059669;
}
.testimonial-verified svg {
  width: 14px;
  height: 14px;
  stroke: #059669;
}

/* 7. Pricing Cards Quiet Luxury Styling */
.price-card-luxury {
  border-radius: 14px !important;
  transition: var(--transition-spring) !important;
}
.price-card-luxury:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-luxury) !important;
}
.price-card-luxury.vip-card {
  border: 1.5px solid var(--gold-champagne) !important;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%) !important;
  box-shadow: var(--gold-glow) !important;
}
.price-card-luxury.vip-card .price-featured-badge {
  background: linear-gradient(135deg, var(--gold-champagne) 0%, var(--gold-champagne-dark) 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.pricing-luxury-callout {
  background: linear-gradient(135deg, #091e42 0%, #0c2856 100%) !important;
  border: 1px solid rgba(197, 160, 89, 0.45) !important;
  border-left: 5px solid var(--gold-champagne, #C5A059) !important;
  box-shadow: 0 10px 28px -4px rgba(9, 30, 66, 0.22), 0 2px 8px rgba(197, 160, 89, 0.12) !important;
}
.pricing-luxury-callout .callout-badge {
  background: rgba(197, 160, 89, 0.22) !important;
  color: #fef08a !important;
  border: 1px solid var(--gold-champagne, #C5A059) !important;
}
.pricing-luxury-callout p {
  color: #f1f5f9 !important;
}
.pricing-luxury-callout strong {
  color: #ffffff !important;
}

/* 8. Mobile Menu Toggle & Sticky Bar */
.mobile-toggle {
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #091e42;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-toggle svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 992px) {
  .mobile-toggle {
    display: inline-flex !important;
  }
}
.mobile-sticky-btn .icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}


/* ==========================================================================
   ARTICLE SOCIAL SHARE BAR (OPEN GRAPH THUMBNAIL ENHANCEMENT)
   ========================================================================== */
.article-share-bar {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .article-share-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 16px 14px !important;
    gap: 12px !important;
  }
  .article-share-bar > div:first-child {
    align-items: center !important;
  }
  .article-share-bar > div:last-child {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .article-share-bar > div:last-child .btn {
    flex: 1 1 auto !important;
    padding: 9px 8px !important;
    font-size: 0.8rem !important;
    justify-content: center !important;
  }
}


/* ==========================================================================
   DEDICATED LANDING PAGE: RỦI RO NHẬN NHÀ & BẢNG TÍNH ROI (TRỤ CỘT 2 - CRO)
   Style: Architectural Quiet Luxury (Obsidian Navy #091E42, Champagne Gold #C5A059)
   ========================================================================== */

.risk-landing-body {
  background-color: #fafbfc;
  color: var(--ink);
}

/* Hero Section */
.risk-hero {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #0d2856 0%, #091e42 70%, #06152e 100%);
  color: #ffffff;
  padding: 80px 0 64px;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.risk-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(197, 160, 89, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.risk-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 160, 89, 0.15);
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: #fef08a;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.risk-headline {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 960px;
}

.highlight-gold {
  color: var(--gold-champagne, #c5a059);
  text-shadow: 0 0 24px rgba(197, 160, 89, 0.35);
}

.risk-subtext {
  font-size: 1.12rem;
  color: #e2e8f0;
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 36px;
}

/* Telemetry Key Metrics Bar */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  margin-bottom: 36px;
}

.telemetry-card {
  background: rgba(15, 35, 71, 0.75);
  border: 1px solid rgba(197, 160, 89, 0.3);
  backdrop-filter: blur(8px);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.telemetry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 160, 89, 0.6);
  box-shadow: 0 16px 36px rgba(197, 160, 89, 0.15);
}

.telemetry-val {
  font-family: var(--font-mono, monospace);
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.telemetry-val .telemetry-unit {
  font-size: 1.1rem;
  color: var(--gold-champagne, #c5a059);
}

.telemetry-label {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Fast-Track Zalo Banner */
.fast-track-zalo-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(9, 30, 66, 0.4) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.fast-track-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fast-track-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #0068ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 104, 255, 0.3);
}

.fast-track-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.fast-track-text p {
  font-size: 0.88rem;
  color: #bae6fd;
  margin: 0;
}

.btn-zalo-fasttrack {
  background: #0068ff;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(0, 104, 255, 0.35);
}

.btn-zalo-fasttrack:hover {
  background: #0056d6;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.45);
}

/* SECTION 1: BEFORE / AFTER INTERACTIVE COMPARISON SLIDER */
.comparison-section {
  padding: 72px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background: #091e42;
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-luxury);
}

.comparison-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.comparison-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.comparison-tab-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.comparison-tab-btn.active {
  background: var(--gold-champagne, #c5a059);
  color: #091e42;
  border-color: var(--gold-champagne, #c5a059);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.35);
}

.comparison-slider-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background: #051329;
}

.slider-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.slider-layer-before {
  z-index: 1;
}

.slider-layer-after {
  z-index: 2;
  clip-path: inset(0 0 0 calc(var(--slider-pos, 50%)));
}

.slider-layer svg,
.slider-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-badge {
  position: absolute;
  top: 18px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 4;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-badge-left {
  left: 18px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-badge-right {
  right: 18px;
  background: rgba(220, 38, 38, 0.85);
  color: #ffffff;
  border: 1px solid rgba(254, 202, 202, 0.4);
}

/* Draggable Divider Handle */
.slider-divider-line {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(var(--slider-pos, 50%));
  width: 3px;
  background: #ffffff;
  transform: translateX(-50%);
  z-index: 5;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: calc(var(--slider-pos, 50%));
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-champagne, #c5a059);
  border: 3px solid #ffffff;
  color: #091e42;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  cursor: ew-resize;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(197, 160, 89, 0.3);
  touch-action: none;
  transition: transform 0.15s ease;
}

.slider-handle-button:active,
.slider-handle-button.dragging {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(197, 160, 89, 0.45);
}

.comparison-callout-footer {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.comparison-callout-text {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.55;
}

.comparison-callout-text strong {
  color: var(--gold-champagne, #c5a059);
}

/* SECTION 2: COST OF INACTION & ROI FINANCIAL CALCULATOR */
.roi-section {
  padding: 72px 0;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
}

.roi-calculator-container {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 28px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-luxury);
}

.roi-inputs-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.roi-input-group {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.roi-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.roi-input-header label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #091e42;
}

.roi-input-display {
  font-family: var(--font-mono, monospace);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue, #0052cc);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xs);
  padding: 4px 10px;
}

.roi-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #cbd5e1;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0052cc;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 82, 204, 0.4);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-slider-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 6px;
  font-family: var(--font-mono, monospace);
}

.roi-property-summary {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 8px;
}

.roi-prop-val-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e40af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.roi-prop-val-num {
  font-family: var(--font-mono, monospace);
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1.2;
  margin-top: 2px;
}

/* Results / Breakdown Column */
.roi-results-col {
  background: #091e42;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: var(--radius-md);
  padding: 28px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.roi-results-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.roi-results-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.roi-results-subtitle {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-top: 4px;
}

.roi-risk-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.roi-risk-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.roi-risk-item-name {
  font-size: 0.85rem;
  color: #e2e8f0;
}

.roi-risk-item-name strong {
  display: block;
  color: #ffffff;
}

.roi-risk-item-val {
  font-family: var(--font-mono, monospace);
  font-size: 1.05rem;
  font-weight: 700;
  color: #f87171;
  white-space: nowrap;
}

.roi-total-box {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.roi-total-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fca5a5;
  text-transform: uppercase;
}

.roi-total-num {
  font-family: var(--font-mono, monospace);
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
}

.roi-vs-veriq-row {
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.roi-fee-tag {
  font-size: 0.85rem;
  color: #94a3b8;
}

.roi-fee-tag strong {
  font-family: var(--font-mono, monospace);
  color: var(--gold-champagne, #c5a059);
  font-size: 1.15rem;
}

.roi-multiplier-badge {
  background: var(--gold-champagne, #c5a059);
  color: #091e42;
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.4);
}

/* Case Studies Grid */
.cases-section {
  padding: 72px 0;
  background: #ffffff;
}

.cases-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.case-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dc2626;
  margin-bottom: 8px;
}

.case-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #091e42;
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.case-financial-bar {
  background: #f1f5f9;
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.case-financial-bar span {
  color: #64748b;
}

.case-financial-bar strong {
  font-family: var(--font-mono, monospace);
  color: #059669;
  font-size: 0.95rem;
}

/* Home Bridge Section */
.bridge-section {
  background: radial-gradient(ellipse at 50% 0%, #0d2856 0%, #091e42 100%);
  color: #ffffff;
  padding: 64px 0;
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  text-align: center;
}

.bridge-box {
  max-width: 820px;
  margin: 0 auto;
}

.bridge-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn-bridge-home {
  background: #ffffff;
  color: #091e42;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.btn-bridge-home:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  color: #091e42;
}

.btn-bridge-pricing {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(197, 160, 89, 0.5);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-bridge-pricing:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: var(--gold-champagne, #c5a059);
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .risk-headline {
    font-size: 2.1rem;
  }
  .telemetry-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .roi-calculator-container {
    grid-template-columns: 1fr;
  }
  .cases-grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .risk-hero {
    padding: 48px 0 36px;
  }
  .risk-headline {
    font-size: 1.65rem;
  }
  .slider-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
  }
  .comparison-slider-stage {
    aspect-ratio: 4 / 3;
  }
  .roi-calculator-container {
    padding: 20px 16px;
  }
}
