/**
 * THUÊ XE BẢO MAI - LUXURY APPLE UI/UX STYLE SHEET
 * Đơn vị: Hộ Kinh Doanh Thuê Xe Bảo Mai
 * MST: 0790870050015 | Hotline: 0388680690
 * 100% XE CÓ TÀI XẾ PHỤC VỤ CHU ĐÁO
 * 
 * Apple HIG Typography & Fresh Luxury Color System:
 * - Deep Marine Sapphire (Sang Trọng Quý Phái): #071526, #0A1E36, #122B4B, #1B3B66
 * - Fresh Emerald Teal & Aqua Lagoon (Tươi Mát Nghỉ Dưỡng): #0D9488, #14B8A6, #06B6D4, #10B981
 * - Royal Champagne & Platinum Gold (Thanh Lịch Quý Tộc): #F6E6C5, #ECD69C, #D8BD74, #D4AF37
 * - Fresh Sunset Coral (Nút Chuyển Đổi Rực Rỡ): #FF5A36, #FA4B1E, #DE380D
 */

:root {
  /* Brand Orange & Luxury Warm Flame System (Đồng bộ Logo Chữ B Cam 3D) */
  --color-brand-orange: #EA580C;
  --color-brand-orange-light: #FF5722;
  --color-brand-orange-dark: #C2410C;
  --color-brand-orange-soft: #FFF7ED;
  --color-brand-orange-tint: #FFEDD5;
  --color-brand-amber: #D97706;

  /* Royal Navy Dark Slate Contrasts */
  --color-primary: #0F2B52;
  --color-primary-dark: #0B1E38;
  --color-primary-light: #173D73;
  
  /* Accent Colors */
  --color-blue: #2563EB;
  --color-blue-light: #3B82F6;
  --color-blue-dark: #1D4ED8;
  --color-blue-soft: #EFF6FF;
  --color-sky: #0284C7;
  --color-indigo: #4F46E5;
  
  /* Legacy alias compatibility */
  --color-teal: #EA580C;
  --color-teal-light: #FF5722;
  --color-teal-dark: #C2410C;
  --color-teal-soft: #FFF7ED;
  --color-cyan: #0284C7;
  --color-emerald: #10B981;
  
  /* Champagne Luxury Gold */
  --color-champagne: #D8BD74;
  --color-champagne-light: #F6E6C5;
  --color-champagne-dark: #C4A758;
  --color-gold: #D4AF37;
  
  /* Fresh Coral Sunset */
  --color-coral: #FF5722;
  --color-coral-dark: #EA580C;
  --color-coral-light: #FF7D5C;

  /* Surfaces & Typography */
  --color-bg-light: #F8FAFC;
  --color-surface-card: #FFFFFF;
  --color-text-main: #0F172A;
  --color-text-muted: #64748B;
  --color-border-subtle: rgba(226, 232, 240, 0.85);

  /* Apple Ambient Shadows with Warm Brand Glow */
  --shadow-apple-subtle: 0 2px 8px -2px rgba(11, 30, 56, 0.04), 0 1px 3px -1px rgba(11, 30, 56, 0.02);
  --shadow-apple-card: 0 4px 20px -2px rgba(11, 30, 56, 0.05), 0 2px 6px -1px rgba(11, 30, 56, 0.02);
  --shadow-apple-hover: 0 20px 40px -10px rgba(11, 30, 56, 0.12), 0 4px 14px -2px rgba(234, 88, 12, 0.16);
  --shadow-apple-modal: 0 24px 60px -12px rgba(11, 30, 56, 0.25), 0 12px 24px -6px rgba(11, 30, 56, 0.15);
}

/* ================= 1. LUXURY TYPOGRAPHY STANDARDS (MONTSERRAT & BE VIETNAM PRO) ================= */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/webfonts/fa-solid-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/webfonts/fa-brands-400.woff2') format('woff2');
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Be Vietnam Pro", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: 0;
  line-height: 1.62;
}

/* Headings: Sturdy, Prestigious, Geometric Luxury, Never Fragile - Ưu tiên Be Vietnam Pro để chuẩn 100% dấu tiếng Việt */
h1, h2, h3, h4, .font-heading {
  font-family: "Be Vietnam Pro", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif !important;
  font-feature-settings: normal;
  letter-spacing: -0.01em;
}

h1 {
  letter-spacing: -0.015em;
  line-height: 1.18;
  font-weight: 800;
}

h2 {
  letter-spacing: -0.01em;
  line-height: 1.25;
  font-weight: 800;
}

h3 {
  letter-spacing: -0.005em;
  line-height: 1.3;
  font-weight: 700;
}

/* Subtitles & Paragraphs */
p, .apple-body {
  letter-spacing: 0.005em;
  line-height: 1.65;
}

/* Tabular Numbers for Prices & Stats */
.font-nums, .tabular-nums, .price-number {
  font-family: "Montserrat", "Be Vietnam Pro", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
  font-weight: 800;
}

/* Badges & Eyebrows */
.apple-kicker {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ================= 2. FRESH LUXURY GRADIENTS ================= */
/* Champagne Gold Luxury Text Gradient */
.text-gold-gradient {
  background: linear-gradient(135deg, #FFF6E5 0%, #ECD69C 40%, #D8BD74 75%, #B88E2D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Metallic Bronze Gold (Vàng Đồng Ánh Kim Nổi Bật) */
.text-gold-bronze,
.text-gold-brown {
  background: linear-gradient(135deg, #FFF9D2 0%, #FFE082 18%, #E5A93C 38%, #CD7F32 62%, #D4AF37 82%, #8C531B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(229, 169, 60, 0.65)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

/* Vibrant Royal Ocean Blue Text Gradient */
.text-blue-gradient, .text-teal-gradient, .text-fresh-gradient {
  background: linear-gradient(135deg, #60A5FA 0%, #2563EB 50%, #1D4ED8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Fresh Coral Sunset Text Gradient */
.text-coral-gradient {
  background: linear-gradient(135deg, #FF7D5C 0%, #FF5A36 50%, #FA4B1E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Fresh Red-Orange Luxury Gradient (Đỏ Cam Tươi Mát Nổi Bật) */
.text-red-orange-fresh {
  background: linear-gradient(135deg, #FFF0EB 0%, #FF7A45 20%, #FF3D1F 48%, #FA4B1E 74%, #E11D48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(255, 61, 31, 0.65)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

/* Golden Orange Radiant Gradient (Vàng Cam Tươi Sáng & Chuẩn Dấu Tiếng Việt Be Vietnam Pro) */
.text-gold-orange,
.text-logo-brand {
  display: inline-block;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, sans-serif !important;
  font-feature-settings: "calt", "kern";
  background: linear-gradient(135deg, #FFF9E6 0%, #FFD000 18%, #FFA500 48%, #FF6F00 78%, #E65100 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 165, 0, 0.65)) drop-shadow(0 2px 6px rgba(230, 81, 0, 0.5)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

/* Background Gradients */
.bg-gold-gradient {
  background: linear-gradient(135deg, #ECD69C 0%, #D8BD74 50%, #C4A758 100%);
}

.bg-navy-gradient {
  background: linear-gradient(135deg, #0B1E38 0%, #0F2B52 50%, #173D73 100%);
}

.bg-blue-gradient, .bg-teal-gradient {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #1E40AF 100%);
}

.bg-coral-gradient, .bg-orange-gradient {
  background: linear-gradient(135deg, #FF5A36 0%, #FA4B1E 100%);
}

.bg-fresh-ocean {
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
}

/* ================= 3. APPLE FROSTED GLASS & SQUIRCLE CARDS ================= */
.glass-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-apple-card);
}

.glass-panel-dark {
  background: rgba(11, 30, 56, 0.82);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.apple-card {
  border-radius: 24px;
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-apple-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-apple-hover);
  border-color: rgba(234, 88, 12, 0.38);
}

/* ================= 4. APPLE INTERACTION BUTTONS ================= */
.apple-btn-coral {
  background: linear-gradient(135deg, #FF5722 0%, #EA580C 50%, #C2410C 100%);
  color: #ffffff !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  border-radius: 16px;
  box-shadow: 0 6px 20px -2px rgba(234, 88, 12, 0.38);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -2px rgba(234, 88, 12, 0.5);
  background: linear-gradient(135deg, #FF6F3D 0%, #F94C10 50%, #B9380B 100%);
}

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

.apple-btn-blue, .apple-btn-teal {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-btn-blue:hover, .apple-btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.42);
}

.apple-btn-blue:active, .apple-btn-teal:active {
  transform: scale(0.98);
}

/* ================= 5. HEADER & LUXURY BOX CARD NAVIGATION ================= */
header nav a,
header nav span {
  white-space: nowrap !important;
  letter-spacing: -0.012em;
}

/* Glass Pill Dock */
.header-nav-dock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 9999px;
  box-shadow: 0 2px 10px -2px rgba(15, 35, 66, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.25s ease;
}

/* Unified Box Card for all navigation items */
.header-nav-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  padding: 0 11px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid transparent;
  color: #1E293B;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.header-nav-card:hover {
  background: #FFFFFF;
  color: #EA580C !important;
  border-color: rgba(234, 88, 12, 0.35);
  box-shadow: 0 4px 12px -2px rgba(234, 88, 12, 0.14), 0 2px 4px rgba(15, 23, 42, 0.04);
  transform: translateY(-1px);
}

.header-nav-card:active {
  transform: translateY(0) scale(0.97);
}

/* Active State - Perfectly synchronized */
.header-nav-card.active {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%) !important;
  color: #C2410C !important;
  border-color: rgba(234, 88, 12, 0.6) !important;
  box-shadow: 0 3px 10px -2px rgba(234, 88, 12, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  font-weight: 700;
}

/* Synchronized QR Code Card: In the same luxury family, not dark navy */
.header-nav-card.header-nav-qr {
  background: #FFFFFF;
  color: #0F2B52 !important;
  border: 1px solid rgba(234, 88, 12, 0.25);
  box-shadow: 0 1px 3px rgba(15, 43, 82, 0.04);
}

.header-nav-card.header-nav-qr i {
  color: #EA580C;
  transition: transform 0.25s ease;
}

.header-nav-card.header-nav-qr:hover {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 100%);
  color: #EA580C !important;
  border-color: rgba(234, 88, 12, 0.5);
  box-shadow: 0 4px 12px -2px rgba(234, 88, 12, 0.18);
  transform: translateY(-1px);
}

.header-nav-card.header-nav-qr:hover i {
  transform: rotate(90deg);
}

.header-nav-card.header-nav-qr.active {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%) !important;
  color: #C2410C !important;
  border-color: rgba(234, 88, 12, 0.6) !important;
}

/* Responsive dock styling: Balanced, Elastic & Zero Overflow */
@media (min-width: 1024px) and (max-width: 1279px) {
  .header-nav-dock {
    gap: 2px !important;
    padding: 2.5px 3.5px !important;
  }
  .header-nav-card {
    height: 30px !important;
    padding: 0 7px !important;
    font-size: 0.72rem !important;
  }
}

@media (min-width: 1280px) and (max-width: 1535px) {
  .header-nav-dock {
    gap: 3px !important;
    padding: 3px 4.5px !important;
  }
  .header-nav-card {
    height: 33px !important;
    padding: 0 8.5px !important;
    font-size: 0.76rem !important;
  }
}

@media (min-width: 1536px) {
  .header-nav-dock {
    gap: 4px !important;
    padding: 4px 6px !important;
  }
  .header-nav-card {
    height: 35px !important;
    padding: 0 11px !important;
    font-size: 0.8125rem !important;
  }
}

/* Dropdown Menu Box Cards */
.nav-dropdown-trigger {
  position: relative;
}

.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.nav-dropdown-trigger:hover .fa-chevron-down {
  transform: rotate(180deg);
  color: #EA580C;
}

.nav-dropdown-trigger .fa-chevron-down {
  transition: transform 0.25s ease, color 0.25s ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.97);
  width: 300px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 18px 40px -8px rgba(11, 30, 56, 0.16), 0 4px 12px -2px rgba(234, 88, 12, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.95);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.nav-dropdown-trigger:hover .nav-dropdown-menu,
.nav-dropdown-trigger:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1E293B;
  background: #F8FAFC;
  border: 1px solid rgba(226, 232, 240, 0.75);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.nav-dropdown-item:hover {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 100%);
  color: #EA580C !important;
  border-color: rgba(234, 88, 12, 0.45);
  transform: translateX(3px);
  box-shadow: 0 4px 10px -2px rgba(234, 88, 12, 0.12);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 21, 38, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.mobile-drawer-content {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.28);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

/* ================= 6. HERO SLIDER BANNER ================= */
.hero-slider-container {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-slider-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide picture,
.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 21, 38, 0.94) 0%, rgba(10, 30, 54, 0.88) 50%, rgba(18, 43, 75, 0.82) 100%);
  z-index: 2;
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}

.slider-arrow:hover {
  background: rgba(37, 99, 235, 0.9);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
}

.slider-arrow-prev { left: 16px; }
.slider-arrow-next { right: 16px; }

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, #0B2545 0%, #0F3871 50%, #1D4ED8 100%);
  border-top: 1px solid rgba(96, 165, 250, 0.4);
  border-bottom: 1px solid rgba(96, 165, 250, 0.4);
}

/* ================= 7. CARDS & DESTINATIONS ================= */
.dest-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-apple-card);
}

.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-apple-hover);
  border-color: rgba(37, 99, 235, 0.45);
}

.dest-card-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.dest-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dest-card:hover .dest-card-thumb img {
  transform: scale(1.08);
}

/* Car Card Elevation */
.car-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  box-shadow: var(--shadow-apple-card);
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-apple-hover);
  border-color: rgba(37, 99, 235, 0.5);
}

/* ================= 8. FLOATING CTAS DOCK ================= */
.ctas-dock-wrapper {
  position: fixed;
  right: 18px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 999;
}

.ctas-social-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}

/* Outer Aura Disc */
.ctas-aura-item {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ctas-aura-tiktok { background: rgba(0, 0, 0, 0.14); }
.ctas-aura-whatsapp { background: rgba(37, 211, 102, 0.2); }
.ctas-aura-zalo { background: rgba(0, 132, 255, 0.2); }
.ctas-aura-hotline { background: rgba(239, 68, 68, 0.22); }
.ctas-aura-facebook { background: rgba(24, 119, 242, 0.2); }

.ctas-aura-item:hover {
  transform: scale(1.12);
}

/* Inner Action Button */
.ctas-inner-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.ctas-inner-btn:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
}

.btn-core-tiktok { background: #1E293B; font-size: 20px; }
.btn-core-whatsapp { background: #25D366; font-size: 22px; }
.btn-core-zalo { background: #0084FF; }
.btn-core-hotline { background: #E50914; font-size: 20px; }
.btn-core-facebook { background: #1877F2; font-size: 21px; }

/* Hotline Pulsing Wave Ring */
.ctas-hotline-halo {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(229, 9, 20, 0.65);
  animation: ctas-halo-pulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}
.ctas-hotline-halo.halo-2 {
  animation-delay: 1s;
}

@keyframes ctas-halo-pulse {
  0% { transform: scale(0.95); opacity: 0.95; }
  100% { transform: scale(1.55); opacity: 0; }
}

.ctas-phone-shake {
  animation: ctas-phone-shake 2.4s infinite ease-in-out;
  display: inline-block;
}
@keyframes ctas-phone-shake {
  0%, 100% { transform: rotate(0deg); }
  5%, 15%, 25% { transform: rotate(-14deg); }
  10%, 20%, 30% { transform: rotate(14deg); }
  35% { transform: rotate(0deg); }
}

/* Scroll To Top Button */
.ctas-scroll-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctas-scroll-btn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ctas-scroll-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.ctas-scroll-btn svg {
  transform: rotate(-90deg);
}

/* Tooltip on Desktop */
.ctas-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: #0B1E38;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(11, 30, 56, 0.3);
  border: 1px solid rgba(96, 165, 250, 0.4);
  z-index: 1000;
}

.ctas-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent #0B1E38;
}

.ctas-aura-item:hover .ctas-tooltip,
.ctas-scroll-wrapper:hover .ctas-tooltip {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .ctas-dock-wrapper {
    right: 8px;
    bottom: 14px;
    gap: 8px;
  }
  .ctas-social-group { gap: 6px; }
  .ctas-aura-item { width: 48px; height: 48px; }
  .ctas-inner-btn { width: 38px; height: 38px; }
  .btn-core-tiktok { font-size: 16px; }
  .btn-core-whatsapp { font-size: 18px; }
  .btn-core-hotline { font-size: 16px; }
  .btn-core-facebook { font-size: 17px; }
  .ctas-scroll-btn { width: 42px; height: 42px; }
  .ctas-scroll-btn svg { width: 42px; height: 42px; }
  .ctas-tooltip { display: none; }
}

/* ================= 9. CHATBOT POPUP WIDGET ================= */
.chatbot-widget-window {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #ffffff;
  border-radius: 24px;
  box-shadow: var(--shadow-apple-modal);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

.chatbot-widget-window.hidden-widget {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.88) translateY(20px);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F8FAFC;
}

.chat-bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.5;
  word-break: break-word;
}

.chat-bubble-bot {
  background: #ffffff;
  color: #0F172A;
  align-self: flex-start;
  border: 1px solid #E2E8F0;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-apple-subtle);
}

.chat-bubble-user {
  background: linear-gradient(135deg, #FF5722, #EA580C);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* ================= 10. CUSTOM SCROLLBAR & PLACEHOLDERS ================= */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

input::placeholder,
textarea::placeholder,
select::placeholder {
  color: #94A3B8 !important;
  font-style: italic !important;
  font-weight: 400 !important;
  opacity: 0.85 !important;
}

input:focus::placeholder,
textarea:focus::placeholder {
  opacity: 0.45 !important;
}

/* ================= 11. AOS (ANIMATE ON SCROLL) ENHANCEMENTS ================= */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

[data-aos] {
  pointer-events: auto !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Tinh chỉnh gia tốc mượt mà theo chuẩn Apple iOS/macOS */
[data-aos][data-aos][data-aos-easing="ease-out-cubic"],
body[data-aos-easing="ease-out-cubic"] [data-aos] {
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* ================= 12. HIGH-PERFORMANCE LAZY LOAD (INTERSECTION OBSERVER) ================= */
img.lazy-load {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(8px);
  will-change: opacity, filter;
  background-color: #f1f5f9;
}

img.lazy-load.loaded {
  opacity: 1;
  filter: blur(0);
}

/* ================= 13. FEATURED SNIPPETS & GEO PASSAGE STYLES ================= */
.featured-snippet-box {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-snippet-box:hover {
  transform: translateY(-2px);
}

.snippet-answer {
  color: #0f172a;
  line-height: 1.68;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ================= 14. MOBILE UI/UX RESPONSIVE OPTIMIZATIONS (iOS & ANDROID) ================= */
.mobile-drawer-content {
  height: 100vh;
  height: 100dvh;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.overflow-x-auto {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

@media (max-width: 768px) {
  /* Vô hiệu hóa hiệu ứng ẩn của AOS trên mobile để hiển thị 100% tức thì không giật lag */
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Ẩn mũi tên chuyển slide trên mobile để không đè lên chữ Hero và Form báo giá */
  .slider-arrow {
    display: none !important;
  }

  .hero-slider-container {
    min-height: auto;
    padding-top: 2.25rem;
    padding-bottom: 3rem;
  }

  /* Thanh lọc danh mục đội xe vuốt ngang mượt mà trên màn hình nhỏ */
  #category-pills {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
    -webkit-overflow-scrolling: touch;
  }

  #category-pills .category-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  /* Ngăn iOS Safari tự động phóng to (auto-zoom) khi chạm vào ô nhập liệu */
  input[type="text"],
  input[type="tel"],
  input[type="date"],
  input[type="time"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Modal đặt xe tối ưu chiều cao động (dvh) trên điện thoại */
  #booking-modal > div {
    max-height: 92dvh !important;
    border-radius: 22px;
  }
}

/* ================= CORE WEB VITALS 100% NEXT-GEN RENDERING ================= */
#gioi-thieu,
#dich-vu,
#doi-xe,
#bang-gia,
#tuyen-xe,
#hoi-dap,
#ma-qr,
#lien-he,
#about,
#services,
#fleet,
#pricing,
#destinations,
#faq,
#qr-connect,
#connect,
footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

.dest-card {
  content-visibility: auto;
  contain-intrinsic-size: 350px 420px;
}

/* ================= 13. INSTANT ZERO-BLOCK FALLBACK ICONS ================= */
.fa-phone-volume::before { content: "📞"; }
.fa-comment-dots::before { content: "💬"; }
.fa-calendar-check::before { content: "📅"; }
.fa-bars::before { content: "☰"; font-weight: bold; }
.fa-calculator::before { content: "🧮"; }
.fa-shield-halved::before { content: "🛡️"; }
.fa-clock::before { content: "⏱️"; }
.fa-ban::before { content: "🚫"; }
.fa-car-side::before { content: "🚗"; }
.fa-location-dot::before { content: "📍"; }
.fa-map-location-dot::before { content: "🗺️"; }
.fa-calendar-day::before { content: "📆"; }
.fa-whatsapp::before { content: "🟢"; }

/* ================= 14. FAIL-SAFE: PHÒNG VỆ HIỂN THỊ NỘI DUNG 100% ================= */
html:not(.aos-init) [data-aos],
[data-aos].no-aos {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}



