/**
 * Custom Theme CSS – thuexephanrang.com.vn
 * Complete design system + component library
 */

/* ============================================
   GOOGLE FONTS
   ============================================ */
@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;0,900;1,400&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --primary: #0077B6;
  --primary-dark: #023E8A;
  --primary-light: #00B4D8;
  --primary-50: rgba(0, 119, 182, 0.08);
  --secondary: #F77F00;
  --secondary-dark: #E36D00;
  --accent: #00B4D8;
  --cta-red: #E74C3C;
  --cta-red-dark: #C0392B;
  --success: #27AE60;
  --warning: #F1C40F;
  --dark: #023E8A;
  --bg-light: #F0F4F8;
  --bg-white: #FFFFFF;
  --text: #1A1A2E;
  --text-secondary: #5A6C7D;
  --text-light: #8896A6;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  --font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --h1: clamp(28px, 5vw, 44px);
  --h2: clamp(22px, 3.5vw, 32px);
  --h3: clamp(18px, 2.5vw, 22px);
  --body: 16px;
  --small: 14px;
  --line-height: 1.7;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-pill: 50px;

  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-primary: 0 8px 30px rgba(0,119,182,0.25);
  --shadow-cta: 0 8px 30px rgba(231,76,60,0.3);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --container-sm: 900px;
  --header-height: 72px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  font-size: var(--body);
  line-height: var(--line-height);
  color: var(--text);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover { color: var(--secondary); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

ul, ol { list-style: none; }

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

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

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-light);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-light);
}

.header-top {
  background: var(--primary-dark);
  color: white;
  padding: 6px 0;
  font-size: 13px;
}

.header-top a {
  color: rgba(255,255,255,0.9);
}

.header-top a:hover {
  color: var(--secondary);
}

.header-main {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
}

.logo:hover { color: var(--primary); }

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: var(--primary-50);
}

.nav-menu .dropdown {
  position: relative;
}

.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.nav-menu .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  font-size: 14px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--cta-red);
  font-size: 15px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(247, 127, 0, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(247, 127, 0, 0.45);
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, var(--cta-red), var(--cta-red-dark));
  color: white;
  box-shadow: var(--shadow-cta);
}

.btn-danger:hover {
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.45);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary-dark);
}

.btn-white {
  background: white;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: calc(var(--header-height) + 32px);
  padding: 60px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #023E8A 0%, #0077B6 40%, #00B4D8 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, white);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

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

.hero-text {
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-text h1 {
  color: white;
  font-size: var(--h1);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--secondary), #FFD166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 18px;
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-size: 28px;
  font-weight: 800;
  display: block;
  color: var(--secondary);
}

.hero-stat .label {
  font-size: 13px;
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero booking card */
.hero-booking-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-xl);
}

.hero-booking-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.hero-booking-card .subtitle {
  color: var(--text-secondary);
  font-size: var(--small);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 15px;
  transition: var(--transition-fast);
  color: var(--text);
  background: white;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-50);
}

.form-control::placeholder {
  color: var(--text-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ============================================
   SECTION TITLE
   ============================================ */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-50);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-header h2 {
  font-size: var(--h2);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   VEHICLE CARDS
   ============================================ */
.vehicle-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-primary);
}

.vehicle-card .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--cta-red);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.vehicle-card .card-image {
  height: 220px;
  background: linear-gradient(135deg, var(--bg-light), #E2E8F0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.vehicle-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-card .card-body {
  padding: 24px;
}

.vehicle-card h3 {
  font-size: 19px;
  margin-bottom: 6px;
}

.vehicle-card .vehicle-models {
  color: var(--text-secondary);
  font-size: var(--small);
  margin-bottom: 16px;
}

.vehicle-card .price-tag {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.vehicle-card .price-tag .from {
  font-size: 13px;
  color: var(--text-light);
}

.vehicle-card .price-tag .amount {
  font-size: 24px;
  font-weight: 800;
  color: var(--cta-red);
}

.vehicle-card .price-tag .unit {
  font-size: 13px;
  color: var(--text-light);
}

.vehicle-card .features {
  margin-bottom: 20px;
}

.vehicle-card .features li {
  padding: 5px 0;
  font-size: var(--small);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vehicle-card .features li .check {
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   ROUTE CARDS
   ============================================ */
.route-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  cursor: pointer;
}

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

.route-card .route-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.route-card .route-icon.blue { background: #EBF5FF; }
.route-card .route-icon.green { background: #E8F8F0; }
.route-card .route-icon.orange { background: #FFF3E0; }
.route-card .route-icon.purple { background: #F3E8FF; }

.route-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.route-card .route-distance {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.route-card .route-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--cta-red);
}

.route-card .route-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
}

/* ============================================
   FEATURES / WHY US
   ============================================ */
.feature-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: white;
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-50);
  transform: translateY(-4px);
}

.feature-card .icon-box {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 18px;
  background: var(--primary-50);
}

.feature-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: var(--small);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
}

.testimonials-section .section-label {
  background: rgba(255,255,255,0.15);
  color: white;
}

.testimonials-section .section-header h2 {
  color: white;
}

.testimonials-section .section-header p {
  color: rgba(255,255,255,0.8);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.testimonial-card .stars {
  color: var(--warning);
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card .quote {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
  opacity: 0.95;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.testimonial-card .author-name {
  font-weight: 600;
  font-size: 15px;
}

.testimonial-card .author-from {
  font-size: 13px;
  opacity: 0.7;
}

/* ============================================
   BOOKING SECTION
   ============================================ */
.booking-section {
  background: var(--bg-light);
}

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

.booking-info h2 {
  font-size: var(--h2);
  margin-bottom: 16px;
}

.booking-info p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

.booking-benefits {
  margin-bottom: 32px;
}

.booking-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
}

.booking-benefits .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.booking-form-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.booking-form-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.booking-form-card .subtitle {
  color: var(--text-secondary);
  font-size: var(--small);
  margin-bottom: 24px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--secondary), var(--cta-red));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247,127,0,0.35);
}

/* ============================================
   PRICE TABLE
   ============================================ */
.price-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  -webkit-overflow-scrolling: touch;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 600px;
}

.price-table thead {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.price-table th {
  padding: 16px 20px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.price-table td {
  padding: 14px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--border-light);
}

.price-table tbody tr {
  transition: var(--transition-fast);
}

.price-table tbody tr:hover {
  background: var(--primary-50);
}

.price-table .price-cell {
  color: var(--cta-red);
  font-weight: 700;
}

.price-table .vehicle-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--cta-red) 100%);
  padding: 60px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: white;
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 28px;
}

.cta-banner .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}

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

.footer-col h4 {
  color: white;
  font-size: 17px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-col p {
  font-size: var(--small);
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: var(--small);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: var(--small);
}

.footer-contact .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.footer-map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 180px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

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

/* ============================================
   FLOATING CONTACT
   ============================================ */

/* ═══════ BLOG SLIDER ═══════ */
.blog-slider-section {
  background: var(--bg-light);
}

.blog-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px;
  flex: 1;
}

.blog-slider::-webkit-scrollbar { display: none; }
.blog-slider { -ms-overflow-style: none; scrollbar-width: none; }

.blog-slide-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.blog-slide-thumb {
  height: 180px;
  overflow: hidden;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-slide-card:hover .blog-slide-thumb img {
  transform: scale(1.05);
}

.blog-slide-placeholder {
  font-size: 48px;
  opacity: 0.4;
}

.blog-slide-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-slide-date {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.blog-slide-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-slide-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.blog-slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: white;
  color: var(--primary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.blog-slider-btn:hover {
  background: var(--primary);
  color: white;
}

/* ═══════ FAB CONTACT BUTTON ═══════ */
.fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.fab-main {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 2;
}

.fab-main:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.fab-main .fab-close {
  display: none;
  font-size: 20px;
}

.fab-container.open .fab-main .fab-icon { display: none; }
.fab-container.open .fab-main .fab-close { display: block; }
.fab-container.open .fab-main {
  background: #555;
  transform: rotate(90deg);
}

/* Options panel - hidden by default */
.fab-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.9);
  transition: all 0.25s ease;
  pointer-events: none;
}

.fab-container.open .fab-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.fab-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  color: white;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.fab-option:hover {
  transform: scale(1.05);
  color: white;
}

.fab-phone { background: linear-gradient(135deg, #E74C3C, #C0392B); }
.fab-zalo { background: linear-gradient(135deg, #0068FF, #0052CC); }
.fab-messenger { background: linear-gradient(135deg, #0084FF, #006ACC); }


/* Booking trigger button */
.booking-trigger {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  background: linear-gradient(135deg, var(--secondary), var(--cta-red));
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-trigger:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ═══════ MOBILE BOTTOM NAV BAR ═══════ */
.mobile-bottom-nav {
  display: none; /* Hidden on desktop */
}

@media (max-width: 768px) {
  /* Hide desktop-only elements on mobile */
  .fab-desktop-only { display: none !important; }
  .booking-trigger { display: none !important; }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99998;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.1);
    align-items: flex-end;
    justify-content: space-around;
    padding: 6px 16px 8px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 12px;
    transition: background 0.2s;
    flex: 1;
  }

  .bottom-nav-item:active {
    background: rgba(30,58,95,0.08);
  }

  .bottom-nav-icon {
    font-size: 22px;
    line-height: 1;
  }

  .bottom-nav-label {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
  }

  /* Center elevated button */
  .bottom-nav-center {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--secondary), var(--cta-red));
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(230,126,34,0.4);
    transform: translateY(-18px);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
  }

  .bottom-nav-center::after {
    content: 'Đặt xe';
    position: absolute;
    bottom: -16px;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
  }

  .bottom-nav-center:active {
    transform: translateY(-16px) scale(0.95);
  }

  .bottom-nav-center-icon {
    font-size: 26px;
    line-height: 1;
  }

  /* Adjust body padding for bottom nav */
  body { padding-bottom: 70px !important; }
  .scroll-top { bottom: 80px !important; }
}

/* Booking popup */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
  padding: 20px;
}

.popup-overlay.active {
  display: flex;
}

.popup-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  max-width: 520px;
  width: 100%;
  position: relative;
  animation: popupSlide 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.popup-card .close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--bg-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.popup-card .close-btn:hover {
  background: var(--cta-red);
  color: white;
}

@keyframes popupSlide {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 180px;
  right: 32px;
  z-index: 9990;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 100px 0 60px;
  margin-top: var(--header-height);
  color: white;
  text-align: center;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, white);
}

.page-header h1 {
  color: white;
  font-size: var(--h1);
  margin-bottom: 12px;
}

.page-header .breadcrumb {
  font-size: var(--small);
  opacity: 0.8;
}

.page-header .breadcrumb a {
  color: rgba(255,255,255,0.8);
}

.page-header .breadcrumb a:hover {
  color: var(--secondary);
}

/* ============================================
   CONTENT AREA
   ============================================ */
.content-area {
  padding: 60px 0;
}

.content-area h2 {
  font-size: var(--h2);
  margin-bottom: 16px;
  margin-top: 40px;
}

.content-area h3 {
  font-size: var(--h3);
  margin-bottom: 12px;
  margin-top: 32px;
}

.content-area p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.content-area ul {
  margin-bottom: 16px;
}

.content-area ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
}

.content-area ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.contact-info-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: var(--small);
  color: var(--text-secondary);
  margin: 0;
}

.contact-info-card a {
  color: var(--primary);
  font-weight: 600;
}

/* Map */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  background: var(--bg-light);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-card .card-image {
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.blog-card .card-body {
  padding: 20px;
}

.blog-card .card-date {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card h3 a {
  color: var(--dark);
}

.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-card .excerpt {
  font-size: var(--small);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.blog-card .read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-booking-card { max-width: 500px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .booking-wrapper { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* ---- Top bar: hide on mobile ---- */
  .header-top { display: none; }

  /* ---- Header main ---- */
  .site-header {
    position: fixed;
    top: 0;
    z-index: 9998;
  }
  .header-main {
    height: 60px;
    gap: 8px;
    position: relative;
  }
  .site-header .container {
    overflow: visible;
  }
  :root { --header-height: 60px; }

  /* ---- Logo compact ---- */
  .logo { font-size: 17px; gap: 8px; }
  .logo-img { height: 36px; }

  /* ---- Hide phone in header, show menu btn ---- */
  .header-phone { display: none; }
  .mobile-menu-btn { display: block; }
  .header-cta { gap: 8px; }
  .header-cta .btn-sm { padding: 6px 14px; font-size: 12px; }

  /* ---- Nav menu hidden by default ---- */
  .nav-menu { display: none; }

  /* ---- Section spacing ---- */
  .section { padding: 50px 0; }

  /* ---- Hero ---- */
  .hero { margin-top: var(--header-height); min-height: auto; padding: 40px 0 60px; }
  .hero-stats { gap: 20px; }
  .hero-stat .number { font-size: 22px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .hero-tagline { font-size: 15px; }

  /* ---- Grids ---- */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  #tai-sao .grid-4 { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  #tai-sao .grid-4 + .grid-4 { margin-top: 10px !important; }
  .feature-card { padding: 16px 12px; text-align: center; }
  .feature-card .icon-box { width: 44px; height: 44px; font-size: 22px; margin: 0 auto 8px; border-radius: 12px; }
  .feature-card h4 { font-size: 12px; margin-bottom: 0; }
  .feature-card p { display: none; }

  /* ---- Forms ---- */
  .form-row { grid-template-columns: 1fr; }

  /* ---- Footer ---- */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  /* ---- Price table ---- */
  .price-table th, .price-table td { padding: 10px 12px; font-size: 12px; }
  .price-table { min-width: 500px; }

  /* ---- FAB button mobile ---- */
  .fab-container { bottom: 16px; right: 16px; }
  .fab-main { width: 48px; height: 48px; font-size: 20px; }
  .fab-option { padding: 8px 14px; font-size: 13px; }

  body { padding-bottom: 80px; }
  .scroll-top { bottom: 76px; right: 16px; width: 36px; height: 36px; font-size: 14px; }

  /* ---- Form rows on mobile ---- */
  .form-row { flex-direction: column; gap: 0; }
  .booking-wrapper { grid-template-columns: 1fr; }

  /* ---- CTA Banner ---- */
  .cta-banner { padding: 40px 0; }
  .cta-banner h2 { font-size: 22px; }
  .cta-banner .cta-buttons { flex-direction: column; gap: 10px; }
  .cta-banner .btn { width: 100%; text-align: center; }

  /* ---- Service page ---- */
  .service-content { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 22px; }
  .page-header .breadcrumb { font-size: 13px; }

  /* ---- Testimonials ---- */
  .testimonial-card { padding: 20px; }
  .testimonial-card .quote { font-size: 14px; }

  /* ---- Vehicle cards ---- */
  .vehicle-card .card-image { height: 180px; }
  .vehicle-card .card-body { padding: 18px; }
  .vehicle-card .price-tag .amount { font-size: 20px; }

  /* ---- Route cards ---- */
  .route-card { padding: 18px; }

  /* ---- Feature cards compact mobile ---- */
  #tai-sao .grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  #tai-sao .grid-4 + .grid-4 { margin-top: 10px !important; }
  .feature-card { padding: 16px 12px; text-align: center; }
  .feature-card .icon-box { width: 44px; height: 44px; font-size: 22px; margin: 0 auto 8px; border-radius: 12px; }
  .feature-card h4 { font-size: 12px; margin-bottom: 0; }
  .feature-card p { display: none; }

  /* ---- Booking form ---- */
  .booking-form-card { padding: 24px; }
  .booking-form-card h3 { font-size: 18px; }

  /* ---- Contact page ---- */
  .contact-info-cards { grid-template-columns: 1fr; }

  /* ---- Section header ---- */
  .section-header { margin-bottom: 32px; }
  .section-header h2 { font-size: 22px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 36px 0; }
  .hero { padding: 30px 0 40px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .hero-booking-card { padding: 20px; }
  .popup-card { padding: 24px 20px; }
  .booking-form-card { padding: 20px; }
  .btn-lg { padding: 14px 28px; font-size: 15px; }
  
  .hero-text h1 { font-size: 24px; }
  .hero-badge { font-size: 12px; padding: 4px 12px; }
  
  /* Table even more compact */
  .price-table th, .price-table td { padding: 8px 8px; font-size: 11px; }
  .price-table { min-width: 440px; }
}

/* ============================================
   MOBILE NAV OPEN STATE
   ============================================ */
/* ═══════ MOBILE MENU OVERLAY ═══════ */
/* This is a separate div appended to body by JS */
#mobile-menu-overlay {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  z-index: 999999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: menuSlideIn 0.25s ease;
  display: flex;
  flex-direction: column;
}

@keyframes menuSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

#mobile-menu-overlay .mobile-menu-item {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  text-decoration: none;
  min-height: 52px;
  background: #fff;
  transition: background 0.15s;
}

#mobile-menu-overlay .mobile-menu-item:active {
  background: #f5f5f5;
}

#mobile-menu-overlay .mobile-menu-item.active {
  color: var(--primary);
}

/* Dropdown parent with chevron */
#mobile-menu-overlay .mobile-menu-item.has-children::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: rotate(45deg);
  margin-left: auto;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

#mobile-menu-overlay .mobile-menu-dropdown.open .mobile-menu-item.has-children::after {
  transform: rotate(-135deg);
  border-color: var(--primary);
}

/* Submenu - hidden by default */
#mobile-menu-overlay .mobile-submenu {
  display: none;
  background: #fafafa;
}

#mobile-menu-overlay .mobile-menu-dropdown.open .mobile-submenu {
  display: block;
}

#mobile-menu-overlay .mobile-submenu-item {
  padding: 14px 20px 14px 32px;
  font-size: 15px;
  font-weight: 400;
  color: #444;
  background: #fafafa;
  min-height: 48px;
}

#mobile-menu-overlay .mobile-submenu-item:active {
  background: #f0f0f0;
}

/* Body scroll lock when menu open */
body.menu-open {
  overflow: hidden;
}

/* Admin bar offset fix */
body.admin-bar #mobile-menu-overlay {
  top: 92px; /* 60px header + 32px admin bar */
}
