/* ==========================================================================
   Xe Taxi Tây Ninh - Mobile-First High Performance Stylesheet
   Domain: xetaxitayninh.pro.vn
   ========================================================================== */

:root {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-light: #fef3c7;
  --primary-dark: #b45309;
  --primary-rgb: 245, 158, 11;
  
  --dark: #18181b;
  --dark-surface: #27272a;
  --dark-border: #3f3f46;
  --dark-card: #202024;
  
  --light-bg: #faf9f5;
  --light-card: #ffffff;
  --light-border: #f0eee6;
  --light-border-hover: #e4e0d4;
  
  --text-main: #1c1917;
  --text-muted: #57534e;
  --text-light: #a8a29e;
  
  --zalo-blue: #0068FF;
  --success: #10b981;
  
  --font-main: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Be Vietnam Pro', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  
  --container-max: 1200px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  cursor: pointer;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (max-width: 768px) {
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-header {
  margin-bottom: 2.5rem;
}

.section-header.text-center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary);
  border-color: rgba(245, 158, 11, 0.3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

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

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Common Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  min-height: 48px;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #1c1917;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
}

.btn-primary:hover, .btn-primary:active {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.45);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--light-border-hover);
}

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

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

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

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(24, 24, 27, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}

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

.site-header .container {
  max-width: 1320px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.logo-icon-box {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1c1917;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-domain {
  font-size: 0.75rem;
  color: #a1a1aa;
  white-space: nowrap;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: nowrap;
}

.nav-link {
  color: #d4d4d8;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: #1c1917;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
  white-space: nowrap;
}

.header-call-btn:hover {
  background-color: var(--primary-hover);
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 1.4rem;
}

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

@media (min-width: 1024px) and (max-width: 1240px) {
  .nav-desktop {
    gap: 0.55rem;
  }
  .nav-link {
    font-size: 0.825rem;
    padding: 0.35rem 0.45rem;
  }
  .header-call-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 0.95rem;
  }
  .brand-domain {
    display: none;
  }
  .brand-logo-img {
    width: 36px;
    height: 36px;
  }
  .logo-icon-box {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .header-call-btn {
    padding: 0.38rem 0.65rem;
    font-size: 0.78rem;
  }
  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  .header-actions {
    gap: 0.45rem;
  }
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  height: calc(100vh - 68px);
  background-color: rgba(24, 24, 27, 0.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.drawer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  color: #e4e4e7;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.drawer-link:active, .drawer-link:hover {
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary);
  border-color: rgba(245, 158, 11, 0.3);
}

.drawer-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-bottom: 2rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: #121215;
  color: #ffffff;
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-size: cover;
  background-position: center;
  mix-blend-mode: luminosity;
  filter: brightness(0.85) contrast(1.1);
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15), transparent 50%),
              linear-gradient(to bottom, rgba(18, 18, 21, 0.6) 0%, rgba(18, 18, 21, 0.95) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.hero-highlight {
  color: var(--primary);
  display: block;
}

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

.hero-description {
  font-size: 1rem;
  line-height: 1.65;
  color: #d4d4d8;
  margin-top: 1rem;
  margin-bottom: 2rem;
  max-width: 700px;
}

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

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .stat-num {
    font-size: 2rem;
  }
}

.stat-label {
  font-size: 0.75rem;
  color: #a1a1aa;
  margin-top: 0.2rem;
}

/* ==========================================================================
   Services Section (Các dịch vụ taxi)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.4);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background-color: var(--primary);
  color: #1c1917;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

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

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  background-color: #f4f4f5;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Coverage Section (Khu vực phục vụ 9 quận huyện)
   ========================================================================== */
.coverage-section {
  background-color: #ffffff;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

@media (min-width: 1024px) {
  .coverage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.coverage-card {
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background-color: var(--light-bg);
  transition: var(--transition);
}

.coverage-card:hover {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
}

.coverage-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.coverage-pin {
  color: var(--primary);
  font-size: 1.35rem;
}

.coverage-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.coverage-places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.place-pill {
  font-size: 0.775rem;
  color: var(--text-muted);
  background: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--light-border);
}

/* ==========================================================================
   Pricing Section (Bảng giá cước taxi Tây Ninh)
   ========================================================================== */
.pricing-section {
  background-color: var(--light-bg);
}

.pricing-table-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 580px;
}

.pricing-table th, .pricing-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--light-border);
}

.pricing-table th {
  background-color: #f8fafc;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

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

.pricing-table tr:hover td {
  background-color: #fefce8;
}

.route-cell {
  font-weight: 600;
  color: var(--text-main);
}

.price-cell {
  font-weight: 700;
  color: var(--primary-dark);
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1rem;
}

.pricing-cta-bar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .pricing-cta-bar {
    flex-direction: row;
  }
}

/* ==========================================================================
   Booking Process Section (Quy trình 4 bước)
   ========================================================================== */
.process-section {
  background: #18181b;
  color: #ffffff;
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .process-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.process-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--dark-border);
}

.process-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(245, 158, 11, 0.4);
}

.step-badge {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #1c1917;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.step-desc {
  font-size: 0.9rem;
  color: #a1a1aa;
  line-height: 1.55;
}

/* ==========================================================================
   Popular Routes (Tuyến đường phổ biến)
   ========================================================================== */
.routes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .routes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.route-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.route-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.route-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.route-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.route-card:hover .route-img-wrap img {
  transform: scale(1.06);
}

.route-tag-float {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(24, 24, 27, 0.85);
  backdrop-filter: blur(6px);
  color: var(--primary);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.route-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.route-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.route-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.route-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.route-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--light-border);
}

.route-price-label {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.route-price-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}

/* ==========================================================================
   Customer Reviews / Testimonials (Đánh giá)
   ========================================================================== */
.rating-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.stars-row {
  color: #fbbf24;
  display: flex;
  gap: 0.15rem;
  font-size: 1.1rem;
}

.rating-score {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
}

.rating-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-quote {
  font-size: 0.925rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.2;
}

.testimonial-trip {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section (Câu hỏi thường gặp - Accordion)
   ========================================================================== */
.faq-wrap {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.faq-toggle-icon {
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--primary-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background-color: #fafaf9;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem 1.25rem;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Contact & Booking Form Section
   ========================================================================== */
.contact-section {
  background-color: #ffffff;
  border-top: 1px solid var(--light-border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contact-item-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--text-muted);
}

.contact-item-val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 0.15rem;
}

.contact-item-val a:hover {
  color: var(--primary-dark);
}

.booking-card {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .booking-card {
    padding: 1.25rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-group.col-span-2 {
    grid-column: span 2;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-label .req {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background-color: #ffffff;
  border: 1.5px solid var(--light-border-hover);
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: var(--transition);
  min-height: 48px;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #121215;
  color: #a1a1aa;
  padding-top: 3.5rem;
  padding-bottom: 5.5rem; /* extra space for mobile floating actions */
  border-top: 1px solid var(--dark-border);
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 3.5rem;
  }
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  }
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 400px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #a1a1aa;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Sticky Mobile Action Buttons (Zalo & Direct Call Pulse)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

@media (max-width: 640px) {
  .floating-actions {
    bottom: calc(34px + env(safe-area-inset-bottom, 0px));
    right: 18px;
    gap: 0.65rem;
  }
}

.btn-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

@media (min-width: 641px) {
  .btn-float {
    width: 52px;
    height: 52px;
  }
}

.btn-float:active {
  transform: scale(0.92);
}

.btn-float-phone {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  font-size: 1.45rem;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4);
  animation: pulse-phone-seq 1.4s infinite ease-in-out;
}

.btn-float-phone i {
  display: inline-block;
  animation: phone-shake-seq 1.4s infinite ease-in-out;
}

.btn-float-zalo {
  background: linear-gradient(135deg, #0088ff 0%, #0060e6 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.4);
  animation: pulse-zalo-seq 1.4s infinite ease-in-out;
}

.btn-float-zalo .zalo-svg-icon {
  width: 32px;
  height: 32px;
  display: block;
  animation: zalo-shake-seq 1.4s infinite ease-in-out;
}

@media (min-width: 641px) {
  .btn-float-zalo .zalo-svg-icon {
    width: 35px;
    height: 35px;
  }
}

/* Phase 1 (0% -> 50%): Nút Call chớp sáng & rung lắc */
@keyframes pulse-phone-seq {
  0% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.85), 0 0 0 0 rgba(34, 197, 94, 0.5), 0 4px 14px rgba(22, 163, 74, 0.4);
  }
  18% {
    transform: scale(1.12);
    filter: brightness(1.28);
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.6), 0 0 0 18px rgba(34, 197, 94, 0.3), 0 6px 20px rgba(22, 163, 74, 0.7);
  }
  38% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 0 0 18px rgba(34, 197, 94, 0), 0 0 0 28px rgba(34, 197, 94, 0), 0 4px 14px rgba(22, 163, 74, 0.4);
  }
  48%, 100% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  }
}

@keyframes phone-shake-seq {
  0% {
    transform: rotate(0deg);
  }
  8%, 20% {
    transform: rotate(-18deg) scale(1.15);
  }
  14%, 26% {
    transform: rotate(18deg) scale(1.15);
  }
  35% {
    transform: rotate(0deg) scale(1);
  }
  48%, 100% {
    transform: rotate(0deg) scale(1);
  }
}

/* Phase 2 (50% -> 100%): Nút Zalo chớp sáng & lắc lư */
@keyframes pulse-zalo-seq {
  0%, 48% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 4px 14px rgba(0, 104, 255, 0.35);
  }
  50% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 0 0 0 rgba(0, 136, 255, 0.85), 0 0 0 0 rgba(0, 104, 255, 0.5), 0 4px 14px rgba(0, 104, 255, 0.4);
  }
  68% {
    transform: scale(1.12);
    filter: brightness(1.28);
    box-shadow: 0 0 0 10px rgba(0, 136, 255, 0.6), 0 0 0 18px rgba(0, 104, 255, 0.3), 0 6px 20px rgba(0, 104, 255, 0.7);
  }
  88% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 0 0 18px rgba(0, 136, 255, 0), 0 0 0 28px rgba(0, 104, 255, 0), 0 4px 14px rgba(0, 104, 255, 0.4);
  }
  98%, 100% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 4px 14px rgba(0, 104, 255, 0.35);
  }
}

@keyframes zalo-shake-seq {
  0%, 48% {
    transform: rotate(0deg) scale(1);
  }
  58%, 70% {
    transform: rotate(-14deg) scale(1.15);
  }
  64%, 76% {
    transform: rotate(14deg) scale(1.15);
  }
  86% {
    transform: rotate(0deg) scale(1);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background-color: #18181b;
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-msg i {
  color: var(--primary);
  font-size: 1.25rem;
}

/* ==========================================================================
   Chính Sách, Điều Khoản & Khiếu Nại (Trực tiếp trên trang chủ)
   ========================================================================== */
.policy-home-section {
  background-color: #f8fafc;
  border-top: 1px solid var(--light-border);
}

.policy-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .policy-home-grid {
    grid-template-columns: 1fr 1fr 1.15fr;
  }
}

.policy-home-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  scroll-margin-top: 85px;
}

.policy-home-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--light-border-hover);
}

.policy-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-border);
}

.policy-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.icon-terms {
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-dark);
}

.icon-privacy {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.icon-feedback {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.policy-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.25;
}

.policy-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-dark);
  margin-top: 0.25rem;
}

.badge-privacy {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.badge-feedback {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.policy-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  font-size: 0.9rem;
  color: #52525b;
  line-height: 1.65;
  flex: 1;
}

.policy-inner-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.policy-inner-item p {
  margin: 0;
  color: #52525b;
}

.policy-item-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.925rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.policy-item-title i {
  color: var(--primary);
  font-size: 1.05rem;
}

.policy-bullet-list {
  padding-left: 1.15rem;
  margin: 0.3rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.policy-feedback-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0 0.75rem;
}

.pf-contact-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f4f4f5;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  transition: var(--transition);
}

.pf-contact-pill:hover {
  background: #ebebeb;
  border-color: var(--light-border-hover);
}

.pf-contact-pill i {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.pf-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pf-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.policy-quick-form {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  margin-top: 0.5rem;
}

.form-title-sub {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

/* Footer bottom policy links */
.footer-policy-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.85rem;
}

.footer-policy-links a {
  color: #a1a1aa;
  transition: var(--transition);
  text-decoration: none;
}

.footer-policy-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.footer-policy-links .sep {
  color: #52525b;
}

/* Drawer policy links */
.drawer-policy-links {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

@media (max-width: 640px) {
  .policy-home-card {
    padding: 1.25rem;
  }
  .policy-card-title {
    font-size: 1.05rem;
  }
}
