/* ==============================================
   NHÀ XE MINH HẰNG - MAIN STYLESHEET
   Version: 1.0
   ============================================== */

/* ---- VARIABLES ---- */
:root {
  --primary: #c0392b;
  /* Đỏ chủ đạo */
  --primary-dark: #96281b;
  --secondary: #1a2744;
  /* Navy đậm */
  --accent: #f39c12;
  /* Vàng cam */
  --light: #f8f9fa;
  --gray: #6c757d;
  --dark: #212529;
  --white: #ffffff;
  --border: #dee2e6;
  --shadow: 0 4px 20px rgba(0, 0, 0, .12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, .18);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: .3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Be Vietnam Pro', Arial, sans-serif;
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ---- TYPOGRAPHY ---- */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.text-primary {
  color: var(--primary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.text-secondary-brand {
  color: var(--secondary) !important;
}

/* ---- BUTTONS ---- */
.btn {
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, .35);
  color: var(--white);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #e67e22;
  border-color: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, .35);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-lg {
  padding: .9rem 2.2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: .45rem 1.1rem;
  font-size: .85rem;
}

.btn-call {
  background: #27ae60;
  color: var(--white);
  border-color: #27ae60;
}

.btn-call:hover {
  background: #1e8449;
  border-color: #1e8449;
  transform: translateY(-2px);
  color: var(--white);
}

.btn-zalo {
  background: #0068ff;
  color: var(--white);
  border-color: #0068ff;
}

.btn-zalo:hover {
  background: #0051cc;
  border-color: #0051cc;
  transform: translateY(-2px);
  color: var(--white);
}

/* ---- SECTION COMMON ---- */

.container section {
  padding: 10px 0;
}

section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

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

.section-dark {
  background: var(--secondary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

/* ==============================
   HEADER / NAVBAR
   ============================== */
#mainHeader {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, .1);
  transition: all var(--transition);
}

#mainHeader.scrolled {
  box-shadow: 0 4px 25px rgba(0, 0, 0, .15);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary) !important;
}

.navbar-brand .brand-icon {
  width: 42px;
  height: 42px;
  /* background: var(--primary); */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
}

.navbar-brand .brand-sub {
  font-size: .7rem;
  font-weight: 400;
  color: var(--gray);
  display: block;
  line-height: 1.1;
}

.nav-link {
  font-weight: 600;
  color: var(--secondary) !important;
  padding: .5rem .9rem !important;
  border-radius: 6px;
  transition: all var(--transition);
  font-size: .93rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: rgba(192, 57, 43, .07);
}

.header-cta .btn {
  padding: .5rem 1.3rem;
  font-size: .9rem;
}

/* ==============================
   HERO SECTION
   ============================== */
#hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(26, 39, 68, .85) 0%, rgba(192, 57, 43, .75) 100%),
    url('https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  padding: 100px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(243, 156, 18, .2);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  animation: fadeInDown .6s ease;
}

#hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
  animation: fadeInUp .7s ease .1s both;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

#hero h1 span {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: .92;
  margin-bottom: 1.5rem;
  animation: fadeInUp .7s ease .2s both;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
  animation: fadeInUp .7s ease .3s both;
}

.hero-tag {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  padding: .3rem .85rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp .7s ease .4s both;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  animation: fadeInUp .7s ease .5s both;
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.hero-stat .label {
  font-size: .8rem;
  opacity: .8;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .6);
  text-align: center;
  font-size: .8rem;
  animation: bounce 2s infinite;
}

/* ==============================
   ROUTES / TỈNH SECTION
   ============================== */
.route-card {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.route-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.route-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  padding: .25rem .7rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
}

.route-card-body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.route-card-body>a.btn {
  margin-top: auto;
}

.route-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.price-list {
  margin-bottom: 1.1rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .35rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: .88rem;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row .label {
  color: var(--gray);
}

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

.price-row .price.contact {
  color: var(--gray);
  font-weight: 600;
}

/* ==============================
   SERVICES SECTION
   ============================== */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  height: 100%;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--primary);
}

.service-icon {
  width: 75px;
  height: 75px;
  background: linear-gradient(135deg, var(--primary), #e74c3c);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: var(--white);
  margin: 0 auto 1.3rem;
  transition: transform var(--transition);
}

.service-card:hover .service-icon {
  transform: rotate(8deg) scale(1.08);
}

.service-card h3 {
  margin-bottom: .7rem;
}

.service-card p {
  color: var(--gray);
  font-size: .93rem;
}

.service-features {
  text-align: left;
  margin-top: 1rem;
}

.service-features li {
  padding: .3rem 0;
  font-size: .88rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.service-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ==============================
   WHY CHOOSE US
   ============================== */
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .07);
  transition: all var(--transition);
  height: 100%;
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-icon {
  width: 55px;
  height: 55px;
  min-width: 55px;
  background: linear-gradient(135deg, rgba(192, 57, 43, .12), rgba(192, 57, 43, .06));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
}

.why-text h4 {
  font-size: 1rem;
  margin-bottom: .3rem;
  color: var(--secondary);
}

.why-text p {
  font-size: .88rem;
  color: var(--gray);
  margin: 0;
}

/* ==============================
   PROCESS SECTION
   ============================== */
.process-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.process-step::after {
  content: '→';
  position: absolute;
  right: -1rem;
  top: 28px;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
}

.process-step:last-child::after {
  display: none;
}

.step-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), #e74c3c);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(192, 57, 43, .3);
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: .4rem;
}

.process-step p {
  font-size: .85rem;
  color: var(--gray);
}

/* ==============================
   REVIEWS
   ============================== */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  height: 100%;
  border-left: 4px solid var(--primary);
  transition: all var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: .7rem;
}

.review-text {
  font-style: italic;
  color: var(--gray);
  margin-bottom: 1.1rem;
  font-size: .93rem;
  line-height: 1.75;
}

.review-text::before {
  content: '"';
  font-size: 1.5rem;
  color: var(--primary);
  line-height: .5;
  vertical-align: -.3em;
}

.review-author {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  font-size: .93rem;
}

.review-location {
  font-size: .8rem;
  color: var(--gray);
}

/* ==============================
   PROVINCE PAGE SPECIFIC
   ============================== */
.province-hero {
  background: linear-gradient(135deg, rgba(26, 39, 68, .88) 0%, rgba(192, 57, 43, .78) 100%),
    url('') center/cover no-repeat;
  min-height: 55vh;
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 100px 0 60px;
}

.province-hero h1 {
  color: var(--white);
}

.price-table-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  overflow-y: hidden;
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}

.price-table-wrapper table {
  margin: 0;
}

.price-table-wrapper thead th {
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  padding: 1rem 1.4rem;
  font-size: .95rem;
}

.price-table-wrapper tbody tr:hover {
  background: rgba(192, 57, 43, .04);
}

.price-table-wrapper tbody td {
  padding: .85rem 1.4rem;
  vertical-align: middle;
  border-color: var(--border);
}

.price-badge {
  background: var(--primary);
  color: var(--white);
  padding: .3rem .8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .93rem;
  white-space: nowrap;
}

.price-note {
  background: rgba(243, 156, 18, .1);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: .9rem 1.2rem;
  font-size: .88rem;
  color: var(--dark);
  margin-top: 1rem;
}

/* ==============================
   BOOKING FORM
   ============================== */
.booking-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
}

.booking-form-wrapper h3 {
  color: var(--primary);
  margin-bottom: 1.4rem;
  text-align: center;
}

.form-label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--secondary);
}

.form-control,
.form-select {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: .65rem 1rem;
  font-size: .93rem;
  transition: border-color var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(192, 57, 43, .15);
}

.form-submit-btn {
  width: 100%;
  padding: .85rem;
  font-size: 1.05rem;
  border-radius: 10px;
}

/* ==============================
   CTA STRIP SECTION
   ============================== */
.cta-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 55px 0;
  text-align: center;
  color: var(--white);
}

.cta-strip h2 {
  color: var(--white);
  margin-bottom: .7rem;
}

.cta-strip p {
  opacity: .9;
  margin-bottom: 1.6rem;
  font-size: 1.05rem;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==============================
   FOOTER
   ============================== */
footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, .8);
  padding: 60px 0 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand .brand-icon {
  width: 40px;
  height: 40px;
  /* background: var(--primary); */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

footer p {
  font-size: .9rem;
  line-height: 1.75;
}

.footer-title {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid rgba(255, 255, 255, .12);
}

.footer-links li {
  margin-bottom: .5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .8rem;
  font-size: .9rem;
}

.footer-contact .icon {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.footer-contact .icon img {
  height: 15px;
}

.footer-map {
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: .8rem;
}

.footer-social {
  display: flex;
  gap: .7rem;
  margin-top: 1.1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  color: var(--white);
}

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

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

.social-btn.yt {
  background: #ff0000;
}

.social-btn:hover {
  transform: translateY(-3px);
  opacity: .85;
  color: var(--white);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}

/* ==============================
   FLOATING BUTTONS
   ============================== */
.floating-buttons {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .25);
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
}

.float-btn:hover {
  transform: scale(1.12);
  color: var(--white);
}

.float-btn.call {
  background: #27ae60;
  animation: pulse-green 2s infinite;
}

.float-btn.zalo {
  background: #0068ff;
  animation: pulse-zalo 2s infinite;
}

.float-btn .tooltip-text {
  position: absolute;
  right: 68px;
  background: var(--dark);
  color: var(--white);
  padding: .3rem .8rem;
  border-radius: 6px;
  font-size: .8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.float-btn:hover .tooltip-text {
  opacity: 1;
}

/* Sticky call bar (mobile) */
.sticky-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--white);
  box-shadow: 0 -3px 15px rgba(0, 0, 0, .12);
  padding: .6rem 1rem;
  gap: .6rem;
}

.sticky-call-bar .btn {
  flex: 1;
  justify-content: center;
  font-size: .9rem;
}

/* ==============================
   POPUP KHUYẾN MÃI
   ============================== */
.promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.promo-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.promo-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  animation: popIn .4s ease;
}

.promo-close {
  position: absolute;
  top: .8rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  line-height: 1;
}

.promo-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: .5rem 1.4rem;
  border-radius: 50px;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.promo-box h3 {
  color: var(--secondary);
  margin-bottom: .7rem;
}

.promo-box p {
  color: var(--gray);
  font-size: .93rem;
  margin-bottom: 1.5rem;
}

/* ==============================
   ANIMATIONS
   ============================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, .5);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(39, 174, 96, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
  }
}

@keyframes pulse-zalo {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 104, 255, .5);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(0, 104, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 104, 255, 0);
  }
}

@keyframes popIn {
  from {
    transform: scale(.85);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

/* ==============================
   BREADCRUMB
   ============================== */
.breadcrumb-section {
  background: var(--light);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  margin: 0;
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--primary);
  font-size: .88rem;
}

.breadcrumb-item.active {
  /* font-size: .88rem; */
  color: var(--gray);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: var(--gray);
}

/* ==============================
   UTILITIES
   ============================== */
.gap-sm {
  gap: .5rem;
}

.rounded-xl {
  border-radius: var(--radius-lg) !important;
}

.fw-800 {
  font-weight: 800 !important;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 991.98px) {
  section {
    padding: 50px 0;
  }

  .container section {
    padding: 30px 0;
  }

  .process-step::after {
    display: none;
  }

  .hero-stats {
    gap: 1.2rem;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 40px 0;
  }

  .container section {
    padding: 20px 0;
  }

  /* ---- Responsive tables ---- */
  .price-table-wrapper thead th {
    padding: .6rem .75rem;
    font-size: .82rem;
  }

  .price-table-wrapper tbody td {
    padding: .55rem .75rem;
    font-size: .85rem;
  }

  .price-badge {
    font-size: .78rem;
    padding: .2rem .55rem;
  }

  .table-responsive table {
    font-size: .85rem;
  }

  .table-responsive thead th,
  .table-responsive tbody td {
    padding: .5rem .65rem;
  }

  .sticky-call-bar {
    display: flex;
  }

  .scroll-top.active {
    bottom: 80px !important;
  }

  body {
    padding-bottom: 72px;
  }

  .floating-buttons {
    display: none;
    bottom: 90px;
    right: 14px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  #hero {
    min-height: 100vh;
  }

  .hero-stats {
    /* flex-wrap: wrap; */
    gap: 1rem;
  }

  .hero-stat .num {
    font-size: 1.6rem;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .cta-btns .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .booking-form-wrapper {
    padding: 1.5rem;
  }

  footer {
    padding: 40px 0 0;
  }
}

@media (max-width: 575.98px) {
  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .btn-lg {
    padding: .75rem 1.6rem;
  }

  /* ---- Tables on extra-small ---- */
  .price-table-wrapper thead th {
    padding: .45rem .6rem;
    font-size: .8rem;
    white-space: nowrap;
  }

  .price-table-wrapper tbody td {
    padding: .45rem .6rem;
    font-size: .8rem;
  }

  /* Freeze first column (loại xe) – price columns nowrap so layout stays clean */
  .price-table-wrapper tbody td:not(:first-child),
  .price-table-wrapper thead th:not(:first-child) {
    white-space: nowrap;
  }

  .price-badge {
    font-size: .72rem;
    padding: .15rem .45rem;
  }

  .table-responsive table {
    font-size: .78rem;
  }

  .table-responsive thead th,
  .table-responsive tbody td {
    padding: .4rem .5rem;
  }
}


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 25px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: #dee2e6;
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--primary), transparent 20%);
  color: #dee2e6;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/* ── Feature cards (service pages) ─────────────────────────────────────── */
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

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

.feature-card .feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #fff;
}

.feature-card h5 {
  font-weight: 700;
  margin-bottom: .5rem;
  font-size: 1rem;
}

/* ── Sticky sidebar ─────────────────────────────────────────────────────── */
.sticky-sidebar {
  position: sticky;
  top: 90px;
}

/* ── Route link cards ───────────────────────────────────────────────────── */
.route-link-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  background: #fff;
  border: 1px solid #e8ecf0;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--dark);
  transition: background .15s, border-color .15s, transform .15s;
}

.route-link-card:hover {
  background: var(--light);
  border-color: var(--primary);
  transform: translateX(4px);
  color: var(--dark);
}

.route-link-card .fw-700 {
  font-size: .95rem;
}

/* ── BLOG / TIN TỨC ─────────────────────────────────────────────────────── */
.blog-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 4rem 0 3rem;
  color: #fff;
}

.blog-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
}

/* Filter buttons */
.filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 2px solid var(--border);
  color: var(--text);
  background: #fff;
  border-radius: 2rem;
  padding: .4rem 1.2rem;
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Post cards */
.post-card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .13);
}

.post-card-img {
  height: 190px;
  overflow: hidden;
  position: relative;
  background: #f0f4ff;
}

.post-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

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

.post-card-img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-cat-badge {
  display: inline-block;
  padding: .2rem .75rem;
  border-radius: 2rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .6rem;
}

.post-cat-badge.xe-san-bay {
  background: #dbeafe;
  color: #1d4ed8;
}

.post-cat-badge.xe-tien-chuyen {
  background: #dcfce7;
  color: #16a34a;
}

.post-cat-badge.xe-hop-dong {
  background: #fef3c7;
  color: #b45309;
}

.post-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: .5rem;
  flex: 1;
}

.post-card-title a {
  color: inherit;
  text-decoration: none;
}

.post-card-title a:hover {
  color: var(--primary);
}

.post-card-excerpt {
  font-size: .875rem;
  color: var(--gray);
  margin: .4rem 0 .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  font-size: .8rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Article detail */
.article-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 3.5rem 0 2.5rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: .88rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, .85);
}

.article-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
}

.article-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--border);
}

.article-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1.5rem 0 .5rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-content li {
  margin-bottom: .4rem;
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content strong {
  color: var(--dark);
}

/* Article sidebar */
.article-sidebar .sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.related-post-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
}

.related-post-item:last-child {
  border-bottom: none;
}

.related-post-icon {
  width: 38px;
  height: 38px;
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.related-post-title {
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  line-height: 1.35;
  display: block;
}

.related-post-title:hover {
  color: var(--primary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.contact-info-box,
.contact-form-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.contact-box-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: #e0e7ff;
  color: var(--primary);
}

.contact-icon.zalo {
  background: #dcfce7;
  color: #16a34a;
}

.contact-icon.loc {
  background: #fee2e2;
  color: #dc2626;
}

.contact-icon.hours {
  background: #fef3c7;
  color: #b45309;
}

.contact-icon.fb {
  background: #dbeafe;
  color: #1d4ed8;
}

.contact-label {
  font-size: .78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .15rem;
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
}

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

.contact-value small {
  font-weight: 400;
  color: var(--gray);
  font-size: .82rem;
}

.contact-cta-btns {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-top: 1.75rem;
}

/* ==============================
   XE HỢP ĐỒNG SECTION
   ============================== */
.hop-dong-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: 1.05rem;
}

.xe-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.xe-card-img {
  position: relative;
  height: 180px;
  background: var(--light);
  overflow: hidden;
}

.xe-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xe-card-img.xe-img-placeholder img {
  display: none;
}

.xe-img-placeholder-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--gray);
  font-size: .9rem;
  pointer-events: none;
}

.xe-card-img:not(.xe-img-placeholder) .xe-img-placeholder-text {
  display: none;
}

.xe-img-placeholder-text i {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: .4;
}

.xe-card-label {
  text-align: center;
  font-weight: 700;
  color: var(--secondary);
  padding: .75rem .5rem;
  font-size: 1rem;
}

/* ==============================
   TAXI SÂN BAY
   ============================== */
.taxi-ad-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  height: 280px;
  background: var(--light);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-lg);
  color: var(--gray);
  font-size: 1rem;
}

.taxi-ad-placeholder i {
  font-size: 3rem;
  color: var(--primary);
  opacity: .5;
}