/* ==========================================================================
   NHƯ Ý DRIVER - PREMIUM AUTOMOTIVE & LOCAL DRIVER SERVICE
   Website: https://laihodanang.app
   Style System 2026 - Responsive Header V2
   ========================================================================== */

:root {
  --navy: #0B1730;
  --navy-dark: #060e20;
  --navy-light: #152549;
  --navy-hover: #1e3363;
  --red: #D62828;
  --red-hover: #ba1e1e;
  --red-light: #fef2f2;
  --gold: #E7BC68;
  --gold-hover: #d4a74f;
  --gold-bg: #fffbf2;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-main: #ffffff;
  --bg-gray: #F5F7FA;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #edf2f7;
  --shadow-sm: 0 1px 3px rgba(11, 23, 48, 0.08);
  --shadow-md: 0 4px 12px rgba(11, 23, 48, 0.1);
  --shadow-lg: 0 10px 25px rgba(11, 23, 48, 0.12);
  --shadow-red: 0 6px 20px rgba(214, 40, 40, 0.35);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1200px;
  --header-max: 1440px;
  --transition: all 0.25s ease-in-out;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); /* For mobile sticky bar */
  overflow-x: hidden;
  width: 100%;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

.header-container {
  width: 100%;
  max-width: var(--header-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 2.5vw, 32px);
  padding-right: clamp(16px, 2.5vw, 32px);
}

/* ==========================================================================
   TOP NOTIFICATION BAR
   ========================================================================== */
.top-bar {
  background-color: var(--navy-dark);
  color: #cbd5e1;
  font-size: 0.813rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e2e8f0;
  white-space: nowrap;
}

.top-bar-link:hover {
  color: var(--gold);
}

@media (max-width: 767px) {
  .top-bar-badge {
    font-size: 0.75rem;
  }
  .top-bar-links {
    display: none;
  }
}

/* ==========================================================================
   SITE HEADER - FULLY RESPONSIVE (NO TEXT WRAPPING ON DESKTOP)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px; /* Consistent height 76-88px */
  gap: 14px;
}

@media (max-width: 767px) {
  .header-inner {
    height: 66px;
    gap: 8px;
  }
}

/* Brand Logo */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  padding: 2px;
  border: 2px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-title span {
  color: var(--gold);
}

.brand-tagline {
  color: #94a3b8;
  font-size: 0.725rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

@media (max-width: 1399px) {
  .brand-tagline {
    display: none; /* Collapse tagline on laptop viewports to preserve horizontal navigation spacing */
  }
}

@media (max-width: 767px) {
  .brand-title {
    font-size: 1.05rem;
  }
}

@media (max-width: 360px) {
  .brand-title {
    font-size: 0.95rem;
  }
}

/* Main Navigation */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
  }
}

.nav-menu-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-menu-item {
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-link {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: #ffffff;
  background-color: var(--navy-light);
}

.nav-link.active {
  color: var(--gold);
}

.dropdown-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

/* Responsive spacing for Laptops (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-menu-list {
    gap: 2px;
  }
  .nav-link {
    font-size: 0.835rem;
    padding: 7px 8px;
    gap: 3px;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .nav-menu-list {
    gap: 4px;
  }
  .nav-link {
    font-size: 0.875rem;
    padding: 8px 10px;
  }
}

/* Dropdown Menu */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  background-color: var(--navy-dark);
  border: 1px solid rgba(231, 188, 104, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1010;
  pointer-events: none;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-header {
  padding: 8px 18px 4px;
  font-size: 0.725rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 800;
}

.dropdown-link {
  display: block;
  padding: 8px 18px;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  color: #ffffff;
  background-color: var(--navy-light);
  padding-left: 22px;
}

/* Header Right Actions */
.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: var(--red);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.925rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-red);
  white-space: nowrap;
  text-decoration: none;
  animation: pulse-red 2s infinite;
  transition: var(--transition);
  flex-shrink: 0;
}

.hotline-num {
  white-space: nowrap;
  display: inline-block;
  letter-spacing: 0.3px;
}

.btn-header-call:hover {
  background-color: var(--red-hover);
  transform: translateY(-1px);
}

.btn-header-zalo {
  display: none;
  align-items: center;
  gap: 6px;
  background-color: #0068FF;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .btn-header-zalo {
    display: inline-flex;
  }
}

.btn-header-zalo:hover {
  background-color: #0056d6;
  transform: translateY(-1px);
}

/* Mobile & Tablet Header Elements */
@media (max-width: 1023px) and (min-width: 768px) {
  .btn-header-call {
    font-size: 0.85rem;
    padding: 8px 14px;
    gap: 5px;
  }
}

@media (max-width: 767px) {
  .top-bar {
    display: none !important;
  }
  .site-header {
    height: 60px;
  }
  .header-inner {
    height: 60px;
    padding: 0 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .brand-logo-link {
    gap: 8px;
  }
  .brand-logo-img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .brand-title {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.2px;
    white-space: nowrap;
  }
  .brand-tagline {
    display: none !important;
  }
  .btn-header-call,
  .btn-header-zalo {
    display: none !important;
  }
  .header-cta-group {
    gap: 0;
  }
  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--navy-light);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    cursor: pointer;
    flex-shrink: 0;
  }
}

.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* ==========================================================================
   MOBILE DRAWER (PERFECT ACCESSIBILITY & TOUCH TARGETS)
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav-drawer.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background-color: var(--navy);
  color: #ffffff;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.active .mobile-drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-close-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.drawer-close-btn:hover {
  color: #ffffff;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.mobile-nav-link {
  display: block;
  padding: 10px 14px;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--navy-light);
  color: var(--gold);
}

.mobile-sub-heading {
  font-size: 0.725rem;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 1px;
  font-weight: 800;
  margin: 14px 14px 6px;
}

.mobile-sub-link {
  display: block;
  padding: 7px 14px 7px 24px;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.mobile-sub-link:hover {
  color: #ffffff;
  background-color: var(--navy-light);
}

.drawer-cta-group {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #ffffff;
  padding: 50px 0 60px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(231, 188, 104, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
}

.hero-title .highlight-red {
  color: #ff4d4f;
  text-shadow: 0 2px 10px rgba(255, 77, 79, 0.3);
}

.hero-title .highlight-gold {
  color: var(--gold);
}

.hero-desc {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

@media (min-width: 576px) {
  .hero-cta-group {
    flex-direction: row;
    align-items: center;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--red);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-red);
  transition: var(--transition);
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(214, 40, 40, 0.45);
}

.btn-zalo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #0068FF;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 104, 255, 0.35);
  transition: var(--transition);
  text-align: center;
}

.btn-zalo:hover {
  background-color: #0056d6;
  transform: translateY(-2px);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
}

.btn-outline-gold:hover {
  background-color: var(--gold);
  color: var(--navy);
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-feature-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
}

.hero-media-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(231, 188, 104, 0.3);
}

.hero-media-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 23, 48, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(231, 188, 104, 0.4);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.badge-text-primary {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.badge-text-sub {
  font-size: 0.8rem;
  color: var(--gold);
}

/* ==========================================================================
   PAGE HERO (INNER PAGES)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #ffffff;
  padding: 40px 0 45px;
  position: relative;
}

.breadcrumb-nav {
  margin-bottom: 16px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #94a3b8;
}

.breadcrumb-item a {
  color: #cbd5e1;
}

.breadcrumb-item a:hover {
  color: var(--gold);
}

.breadcrumb-separator {
  color: #64748b;
}

.breadcrumb-item.active {
  color: var(--gold);
  font-weight: 600;
}

.page-hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: 2.3rem;
  }
}

.page-hero-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 850px;
  margin-bottom: 24px;
  line-height: 1.65;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 60px 0;
}

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

.section-navy {
  background-color: var(--navy);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-subtitle {
  display: inline-block;
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-navy .section-subtitle {
  color: var(--gold);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-navy .section-title {
  color: #ffffff;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-navy .section-lead {
  color: #cbd5e1;
}

/* ==========================================================================
   PRICING TABLES & CARDS
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.pricing-card.featured {
  border: 2px solid var(--red);
}

.featured-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: var(--red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pricing-card-header {
  padding: 24px 24px 16px;
  background: linear-gradient(180deg, rgba(245, 247, 250, 0.7) 0%, rgba(255, 255, 255, 1) 100%);
  border-bottom: 1px solid var(--border-light);
}

.pricing-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.pricing-card-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-start-at {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-big {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
}

.price-unit {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pricing-card-body {
  padding: 20px 24px;
  flex-grow: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px) {
  .pricing-card-body {
    padding: 16px 12px;
  }
}

.pricing-table-clean {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.pricing-table-clean th {
  text-align: left;
  font-size: 0.813rem;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px;
  background-color: var(--bg-gray);
  border-radius: var(--radius-sm);
}

.pricing-table-clean td {
  padding: 10px 12px;
  font-size: 0.938rem;
  border-bottom: 1px solid var(--border-light);
}

.pricing-table-clean tr:last-child td {
  border-bottom: none;
}

.pricing-notes-box {
  background-color: var(--gold-bg);
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  color: #78350f;
  margin-bottom: 20px;
}

.pricing-card-footer {
  padding: 16px 24px 24px;
  background-color: #fafbfc;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   INTERACTIVE FARE CALCULATOR
   ========================================================================== */
.fare-calc-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  margin: 40px auto;
  max-width: 800px;
}

.calc-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  text-align: center;
}

.calc-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.calc-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .calc-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.calc-field label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.calc-field select, .calc-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background-color: var(--bg-gray);
  transition: var(--transition);
}

.calc-field select:focus, .calc-field input:focus {
  border-color: var(--red);
  background-color: #ffffff;
}

.calc-result-wrap {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
}

.calc-result-label {
  font-size: 0.875rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-result-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  margin: 4px 0 10px;
}

.calc-result-breakdown {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

/* ==========================================================================
   FEATURE CARDS & SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 25px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(214, 40, 40, 0.4);
}

.service-card:hover .service-card-title {
  color: var(--red);
}

.service-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.service-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--navy);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(11, 23, 48, 0.85);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-card-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.service-card-desc {
  font-size: 0.938rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.service-price-tag {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--red);
}

.service-more-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-more-link:hover {
  color: var(--red);
  gap: 8px;
}

/* ==========================================================================
   PROCESS / TIMELINE SECTION
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  position: relative;
}

.process-step-card {
  background: #ffffff;
  padding: 26px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

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

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--red) 0%, #b71c1c 100%);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(214, 40, 40, 0.3);
}

.step-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SPLIT SECTIONS (IMAGE + CONTENT ALTERNATING)
   ========================================================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}

@media (min-width: 992px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
  }
  .split-section.reverse {
    direction: rtl;
  }
  .split-section.reverse > * {
    direction: ltr;
  }
}

.split-media-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-media-img {
  width: 100%;
  height: auto;
  display: block;
}

.split-content {
  display: flex;
  flex-direction: column;
}

.split-badge {
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.split-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

.split-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.65;
}

.split-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.split-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

.split-check-icon {
  width: 20px;
  height: 20px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-wrap {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: #cbd5e1;
}

.faq-item.active {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--red);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 22px 20px;
}

/* ==========================================================================
   BLOG CARDS & SINGLE POST
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 30px;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.blog-card:hover .blog-card-title {
  color: var(--red);
}

.blog-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.blog-card-media {
  height: 210px;
  overflow: hidden;
  position: relative;
  background-color: var(--navy);
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.04);
}

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

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.813rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.blog-badge {
  background-color: var(--gold-bg);
  color: #92400e;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--red);
}

.blog-read-more:hover {
  gap: 10px;
}

/* Single Post Content */
.post-container {
  max-width: 860px;
  margin: 0 auto;
}

.post-featured-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 35px;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-main);
}

.post-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy);
  margin: 36px 0 16px;
  line-height: 1.35;
}

.post-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
}

.post-content p {
  margin-bottom: 18px;
}

.post-content ul, .post-content ol {
  margin-bottom: 22px;
  padding-left: 24px;
}

.post-content ul {
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content li {
  margin-bottom: 8px;
}

.post-content blockquote {
  border-left: 4px solid var(--red);
  background-color: var(--bg-gray);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--navy);
}

.post-cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #ffffff;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold);
  margin: 40px 0;
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--navy-dark);
  color: #cbd5e1;
  padding: 60px 0 30px;
  border-top: 4px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand-title span {
  color: var(--gold);
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--gold);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-qr-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-top: 14px;
}

.footer-qr-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 2px;
}

.footer-qr-text {
  font-size: 0.813rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.813rem;
  color: #64748b;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* ==========================================================================
   STICKY MOBILE FLOATING BAR (CRO)
   ========================================================================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background-color: var(--navy-dark);
  border-top: 2px solid var(--gold);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 8px;
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

/* ==========================================================================
   FLOATING CONTACT (FACEBOOK, ZALO, HOTLINE)
   ========================================================================== */
#floating-contact {
  position: fixed;
  right: 18px;
  bottom: 100px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#floating-contact .fc-btn {
  position: relative;
  isolation: isolate;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
  transition: transform .2s ease, box-shadow .2s ease;
}

#floating-contact .fb-btn {
  background: #1877f2;
}

#floating-contact .zalo-btn {
  background: #0068ff;
}

#floating-contact .call-btn {
  background: #d62828;
}

#floating-contact .fc-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 22px rgba(0, 0, 0, .25);
}

#floating-contact .fc-btn:focus-visible {
  outline: 3px solid #e7bc68;
  outline-offset: 4px;
}

#floating-contact .fc-btn svg,
#floating-contact .fc-btn img {
  position: relative;
  z-index: 2;
  display: block;
}

#floating-contact .ripple-circle,
#floating-contact .ripple-fill {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

#floating-contact .ripple-circle {
  border: 2px solid currentColor;
  opacity: .5;
  animation: fc-ripple 2.5s ease-out infinite;
}

#floating-contact .ripple-fill {
  background: currentColor;
  opacity: .12;
  animation: fc-ripple 2.5s ease-out infinite .7s;
}

@keyframes fc-ripple {
  0% { transform: scale(1); opacity: .4; }
  100% { transform: scale(1.55); opacity: 0; }
}

@media (max-width: 767px) {
  #floating-contact {
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }

  #floating-contact .fc-btn {
    width: 48px;
    height: 48px;
  }

  /* On smartphone screens, sticky bottom bar provides direct Call & Zalo.
     Floating contact shows Facebook to avoid duplicating Call & Zalo */
  #floating-contact .zalo-btn,
  #floating-contact .call-btn {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #floating-contact .ripple-circle,
  #floating-contact .ripple-fill {
    animation: none;
  }

  #floating-contact .fc-btn {
    transition: none;
  }
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  min-height: 48px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.mobile-bar-btn.call-btn {
  background-color: var(--red);
  color: #ffffff;
  box-shadow: var(--shadow-red);
  animation: pulse-red 2s infinite;
}

.mobile-bar-btn.zalo-btn {
  background-color: #0068FF;
  color: #ffffff;
}

.mobile-bar-btn.price-btn {
  background-color: var(--navy-light);
  color: var(--gold);
  border: 1px solid rgba(231, 188, 104, 0.4);
}

/* Pulse animation */
@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(214, 40, 40, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(214, 40, 40, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(214, 40, 40, 0);
  }
}

/* ==========================================================================
   404 ERROR PAGE & UTILITIES
   ========================================================================== */
.error-page-wrap {
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-size: 6rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}

.error-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}

.error-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ==========================================================================
   RELATED SECTIONS & TOPIC PILLS (INTERNAL LINKING)
   ========================================================================== */
.related-section-wrap {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.related-section-heading {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-topics-wrap {
  margin-top: 32px;
  padding: 20px 24px;
  background-color: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.related-topics-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.topic-pill {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  color: var(--navy);
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.topic-pill:hover,
.topic-pill:focus-visible {
  background-color: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
  transform: translateY(-1px);
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
