:root {
  --color-primary: #cc1e2c;
  --color-dark: #1a1a1a;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  color: #222;
}

/* Header / Nav */

.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0.75rem 20px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  height: 56px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-dark);
}

.logo-brand {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--color-primary);
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #333;
}

.main-nav {
  flex: 1;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-dark);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.has-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.has-dropdown:hover .nav-dropdown-toggle svg,
.has-dropdown.is-open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 0.75rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 0.25rem 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  z-index: 20;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-dark) !important;
  text-decoration: none;
  border-radius: 6px;
  border-bottom: none !important;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: #faf1f1;
  color: var(--color-primary) !important;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.contact-btn:hover {
  background: #a5121e;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  white-space: nowrap;
}

.contact-text strong {
  font-size: 1rem;
  font-weight: 800;
}

.contact-text small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-dark);
  cursor: pointer;
  padding: 0.25rem;
  flex-shrink: 0;
}

.nav-close {
  display: none;
}

.contact-btn-mobile {
  display: none;
  text-decoration: none;
}

@media (max-width: 1273px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -85%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 1001;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    padding-top: 3.5rem;
  }

  .main-nav.is-open {
    right: 0;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    color: var(--color-dark);
    cursor: pointer;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.25rem 2rem;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  body.nav-open {
    overflow: hidden;
  }

  .header-inner {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    justify-content: space-between;
  }

  .logo {
    flex-shrink: 0;
  }

  .contact-btn {
    display: none;
  }

  .contact-btn-mobile {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-primary);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    white-space: nowrap;
  }

  .contact-btn-mobile svg {
    flex-shrink: 0;
  }

  .contact-btn-mobile-text {
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .nav-dropdown-toggle {
    justify-content: space-between;
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 0.5rem 1rem;
    margin-top: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    opacity: 1;
    visibility: visible;
  }

  .has-dropdown.is-open .nav-dropdown {
    display: grid;
    transform: none;
  }

  .nav-dropdown a {
    padding: 0.5rem;
    white-space: normal;
  }
}

/* Hero */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3532 / 1184;
  background-image: url("../assets/images/bg-banner.webp");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-inner {
  position: absolute;
  inset: 0;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  /* padding: 0 4%; */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 44%;
  padding: 3rem 2.5rem 3rem 0;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: -14%;
  bottom: -24%;
  left: -30%;
  right: -15%;
  z-index: -1;
  background: radial-gradient(
    100% 60% at 46% 45%,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.9) 40%,
    rgba(255, 255, 255, 0.5) 65%,
    rgba(255, 255, 255, 0) 85%
  );
  filter: blur(14px);
  pointer-events: none;
}

.hero-kicker {
  display: block;
  font-family: "Brush Script MT", cursive;
  font-style: italic;
  font-size: 40px;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.hero-title {
  font-size: clamp(1.4rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

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

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

.hero-subtitle {
  display: inline-block;
  font-size: clamp(0.8rem, 1.6vw, 1.3rem);
  font-weight: 800;
  color: var(--color-dark);
  padding-bottom: clamp(0.4rem, 1vw, 0.75rem);
  border-bottom: 3px solid var(--color-primary);
  margin-bottom: clamp(0.75rem, 2.5vw, 1.75rem);
}

.hero-features {
  display: flex;
  gap: clamp(0.6rem, 2vw, 1.5rem);
  margin-bottom: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.hero-feature-icon {
  width: clamp(26px, 3vw, 40px);
  height: clamp(26px, 3vw, 40px);
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-icon svg {
  width: 55%;
  height: 55%;
}

.hero-feature-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hero-feature-text strong {
  font-size: 18px;
  color: var(--color-dark);
  font-weight: bold;
}

.hero-feature-text span {
  font-size: clamp(0.6rem, 1vw, 0.8rem);
  color: #555;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: clamp(0.5rem, 1.2vw, 0.9rem) clamp(1.2rem, 2.5vw, 2rem);
  border-radius: 50px;
  font-size: clamp(0.75rem, 1.4vw, 1.05rem);
  transition: background 0.2s ease;
}

.hero-cta:hover {
  background: #a5121e;
}

.hero-car {
  position: absolute;
  right: 23%;
  bottom: 0;
  width: 34%;
  z-index: 2;
  pointer-events: none;
}

.hero-car img {
  width: 100%;
  height: auto;
  display: block;
}

/* Quick booking bar */

.hero-wrap {
  position: relative;
}

.quick-booking {
  position: absolute;
  left: 50%;
  bottom: -90px;
  transform: translateX(-50%);
  z-index: 5;
  width: min(1300px, 94%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border-radius: 18px;
  padding: 1.1rem 1.75rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.qb-divider {
  align-self: stretch;
  width: 1px;
  flex-shrink: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

.qb-locations {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  min-width: 0;
}

.qb-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
  position: relative;
}

.qb-field-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-dark);
  white-space: nowrap;
}

.qb-field-label svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.qb-input {
  width: 100%;
  border: 1px solid #e5e5e5;
  background: #fafafa;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  font-size: 0.85rem;
  font-family: inherit;
  color: #444;
}

.qb-input::placeholder {
  color: #aaa;
}

.qb-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
}

.qb-datetime-input {
  cursor: pointer;
}

.address-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 20;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
}

.address-suggestions[hidden] {
  display: none;
}

.address-suggestion-item {
  padding: 9px 10px;
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  color: #333;
  overflow-wrap: break-word;
  word-break: break-word;
}

.address-suggestion-item strong {
  color: #000;
}

.address-suggestion-item:hover,
.address-suggestion-item.active {
  background: #faf1f1;
  color: var(--color-primary);
}

.address-suggestion-item:hover strong,
.address-suggestion-item.active strong {
  color: var(--color-primary);
}

.qb-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.qb-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  white-space: nowrap;
  padding: 0.7rem 1.5rem;
  border: 0;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.qb-cta:hover {
  background: #a5121e;
}

.qb-cta[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Trạng thái đang gửi của nút Đặt xe / Liên hệ (js/forms.js thêm class + spinner khi submit),
   để khách biết yêu cầu đang được gửi chứ không phải web treo. */
.btn-spinner {
  animation: btn-spinner-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes btn-spinner-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Từ 3 ô lên 5 ô (thêm Họ tên + SĐT): phải đặt bề rộng TỐI THIỂU cho từng ô, nếu không
   flexbox sẽ bóp đều tất cả xuống ~90px và 2 ô địa chỉ không còn đọc được. Có min-width thì
   khi không đủ chỗ hàng sẽ TỰ XUỐNG DÒNG thay vì bóp nhỏ. */
.qb-locations {
  flex-wrap: wrap;
  row-gap: 1rem;
}

.qb-field {
  flex: 1 1 168px;
  min-width: 168px;
}

/* Họ tên / SĐT cần ít chỗ hơn 2 ô địa chỉ. */
.qb-field--sm {
  flex: 0 1 146px;
  min-width: 146px;
}

/* Gạch phân cách giữa các ô: ẩn đi khi hàng đã xuống dòng, vì lúc đó nó nằm lơ lửng giữa 2
   hàng trông rất lạ. Chỉ giữ ở màn hình đủ rộng để 5 ô nằm trọn 1 hàng. */
@media (max-width: 1500px) {
  .qb-locations > .qb-divider {
    display: none;
  }
}

/* Ô bẫy bot (honeypot) - PHẢI luôn ẩn với người thật.
   ⚠️ Mất rule này = form hỏng IM LẶNG: khách thật (hoặc autofill của trình duyệt) điền vào ô
   hiện ra, server coi là bot và âm thầm bỏ qua, vẫn trả về thành công. Mất khách mà không ai
   biết, không log, không lỗi. Sau mọi lần sửa/merge file CSS này phải kiểm lại:
     curl -s https://taxigocongdongthap.com/css/style.css | grep -c hp-field   # phải khác 0 */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Tablet gap (769-1273px): mobile menu is active here too (see 1273px query
   above) but the phone/desktop hero + quick-booking sizing below breaks at
   this width — fix just this band without touching mobile (<=768px) or
   desktop (>=1274px), which are already correct. */
@media (min-width: 769px) and (max-width: 1273px) {
  .contact-btn-mobile {
    position: static;
    transform: none;
    margin: 0 auto;
  }

  .hero {
    aspect-ratio: auto;
    min-height: clamp(400px, 36vw, 470px);
    background-position: 92% center;
  }

  .hero-content {
    max-width: 58%;
    padding: 1.5rem 2rem 1.5rem 1.5rem;
  }

  .hero-kicker {
    font-size: clamp(1.3rem, 3.4vw, 40px);
    margin-bottom: 0.15rem;
  }

  .hero-cta {
    display: none;
  }

  .hero-car {
    display: none;
  }

  .quick-booking {
    flex-wrap: wrap;
    row-gap: 1rem;
  }

  .qb-divider {
    display: none;
  }

  .qb-locations {
    width: 100%;
  }

  .qb-action {
    width: 100%;
    justify-content: center;
  }
}

/* Desktop nav (>=1274px): hero-inner only gets auto side margins once the
   viewport clears its 1300px max-width, so just under that (1274-1300px)
   the text still sits flush against the left edge. Give it a fixed inset
   so it's never flush, regardless of viewport width. */
@media (min-width: 1274px) {
  .hero-content {
    padding-left: 1.5rem;
  }
}

@media (max-width: 768px) {
  .logo {
    gap: 0;
    min-width: 0;
  }

  .logo-icon {
    height: 42px;
  }

  .logo-text {
    display: none;
  }

  .nav-toggle {
    padding: 0.25rem 0 0.25rem 0.1rem;
  }

  .hero-kicker {
    font-size: clamp(1.1rem, 6vw, 40px);
  }

  .hero {
    aspect-ratio: auto;
    min-height: 480px;
    background-position: 65% center;
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
  }

  .hero-content {
    max-width: 68%;
  }

  .hero-car {
    width: 62%;
    right: -8%;
  }

  .hero-features {
    gap: 0.5rem;
  }

  .hero-cta {
    display: none;
  }

  .quick-booking {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: 92%;
    margin: 0;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem;
  }

  .qb-divider {
    display: none;
  }

  .qb-locations {
    flex-wrap: wrap;
    width: 100%;
    gap: 0.75rem;
  }

  .qb-field {
    flex: 1 1 100%;
  }

  .qb-action {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .qb-action {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .qb-cta {
    justify-content: center;
  }
}

/* Features strip */

.features-strip {
  background: #fff;
  padding: 150px 1.5rem 3rem;
}

.features-strip-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1 1 200px;
}

.feature-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid rgba(204, 30, 44, 0.25);
  background: #fff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.feature-text strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: 0.2px;
}

.feature-text span {
  font-size: 0.8rem;
  color: #777;
}

@media (max-width: 992px) {
  .feature-item {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .features-strip {
    padding: 2rem 1.25rem 2.5rem;
  }

  .features-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1rem;
  }

  .feature-item {
    flex: unset;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }

  .feature-item:last-child {
    grid-column: 1 / -1;
  }

  .feature-icon {
    width: 56px;
    height: 56px;
  }

  .feature-icon svg {
    width: 28px;
    height: 28px;
  }

  .feature-text strong {
    font-size: 0.9rem;
  }

  .feature-text span {
    font-size: 0.78rem;
  }
}

/* Pricing */

.pricing {
  background: #fff;
  padding: 1.5rem 1.5rem 3.5rem;
}

.pricing-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.pricing-heading {
  align-items: center;
  margin-bottom: 2rem;
}

.pricing-heading .section-title {
  text-align: center;
}

.pricing-heading .section-title-bar {
  margin: 0.5rem auto 0;
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.pricing-tab {
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
  color: var(--color-dark);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.15rem;
  border-radius: 50px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.pricing-tab:hover {
  border-color: var(--color-primary);
}

.pricing-tab.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.pricing-panel {
  display: none;
}

.pricing-panel.is-active {
  display: block;
}

.pricing-table-wrap {
  border: 1px solid #eee;
  border-radius: 14px;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.pricing-table thead th {
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: left;
  padding: 0.9rem 1.25rem;
  white-space: nowrap;
}

.pricing-table thead th:not(:first-child) {
  text-align: center;
}

.pricing-table tbody td {
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-dark);
  border-bottom: 1px solid #f0f0f0;
  white-space: nowrap;
}

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

.pricing-table tbody tr:nth-child(even) {
  background: #faf8f8;
}

.pricing-table tbody td:not(:first-child) {
  text-align: center;
  color: var(--color-primary);
  font-weight: 700;
}

.pricing-route {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pricing-route svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .pricing-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .pricing-tab {
    flex: 1 1 calc(50% - 0.5rem);
    text-align: center;
    padding: 0.6rem 0.5rem;
  }
}

@media (max-width: 420px) {
  .pricing-tab {
    flex: 1 1 100%;
  }
}

.pricing-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
}

.pricing-note a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
}

.route-group-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 2rem 0 1rem;
}

.pricing-heading + .route-group-title {
  margin-top: 0;
}

/* Services */

.services {
  background: #fff;
  padding: 1.5rem 1.5rem 4rem;
}

.services-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
}

.section-title {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 900;
  color: var(--color-dark);
  letter-spacing: 0.3px;
}

.section-title-bar {
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-primary);
  margin-top: 0.5rem;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.section-link svg {
  transition: transform 0.2s ease;
}

.section-link:hover svg {
  transform: translateX(3px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 0.75rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.service-img {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  display: block;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.service-img-brand {
  background: linear-gradient(135deg, #f7e9ea, #fbf3f3);
}

.service-img-brand img {
  object-fit: contain;
  padding: 0.75rem;
}

.service-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.85rem;
  min-width: 0;
}

.service-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.service-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

.service-card:hover .service-text strong {
  color: var(--color-primary);
}

.service-text span {
  font-size: 0.8rem;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-arrow {
  color: var(--color-primary);
  flex-shrink: 0;
}

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

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

  .section-head {
    align-items: flex-start;
  }
}

/* Dịch vụ overview page: narrower grid area (sidebar takes 320px), so 4
   columns instead of the homepage section's 5. */
.services-page .services-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .services-page .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

/* Coverage area */

.coverage {
  background: #fff;
  padding: 1.5rem 1.5rem 4rem;
}

.coverage-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.coverage-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.coverage-head-line {
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-primary);
  flex-shrink: 0;
}

.coverage-head-sub {
  font-size: 0.85rem;
  color: #777;
}

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

.coverage-left {
  display: flex;
  flex-direction: column;
}

.coverage-places {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.place-card {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 0.6rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.place-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.place-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.place-card-text {
  text-align: center;
  margin-top: 0.65rem;
}

.place-card-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-dark);
}

.place-card-text span {
  font-size: 0.9rem;
  color: #888;
}

.coverage-review {
  display: flex;
  height: 100%;
}

.review-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  gap: 1rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 1.25rem;
}

.review-top {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.review-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.review-quote {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #f5a623;
}

.review-quote-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(204, 30, 44, 0.4),
    rgba(204, 30, 44, 0)
  );
}

.review-text {
  font-size: 0.9rem;
  color: var(--color-dark);
  line-height: 1.6;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  color: #f5a623;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: right;
}

@media (max-width: 992px) {
  .coverage-grid {
    grid-template-columns: 1fr;
  }

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

  .coverage-review {
    height: auto;
  }

  .review-card {
    height: auto;
  }
}

@media (max-width: 480px) {
  .coverage-places {
    grid-template-columns: 1fr;
  }
}

/* FAQ */

.faq {
  background: #fff;
  padding: 1.5rem 1.5rem 4rem;
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-heading {
  align-items: center;
  margin-bottom: 2rem;
}

.faq-heading .section-title {
  text-align: center;
}

.faq-heading .section-title-bar {
  margin: 0.5rem auto 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--color-primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--color-dark);
  cursor: pointer;
}

.faq-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.25rem;
}

.faq-answer p {
  padding-bottom: 1rem;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Contact */

.contact {
  background: #faf8f8;
  padding: 1.5rem 1.5rem 4rem;
}

.contact-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.contact .section-heading {
  margin-bottom: 2rem;
}

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

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

.contact-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.contact-detail-text strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-dark);
}

.contact-detail-text span {
  font-size: 0.85rem;
  color: #666;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
}

.form-group input,
.form-group textarea {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: #333;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: flex-start;
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-submit:hover {
  background: #a5121e;
}

.contact-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--color-primary);
  min-height: 1.2em;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    gap: 1.25rem 1rem;
  }
}

@media (max-width: 450px) {
  .contact-detail-list {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }
}

@media (max-width: 560px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Page banner (inner pages) */

.page-banner {
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
  padding: 2.5rem 1.5rem;
}

.page-banner-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.page-banner h1 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 0.6rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

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

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span:last-child {
  color: var(--color-primary);
  font-weight: 700;
}

/* Contact page (standalone) */

.contact-page {
  background: #faf8f8;
  padding: 3.5rem 1.5rem;
}

.contact-form-title {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.contact-page .contact-inner {
  max-width: 1300px;
}

/* Blog page */

.blog-page {
  background: #faf8f8;
  padding: 3.5rem 1.5rem;
}

.blog-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.blog-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.blog-card-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f4f4f4, #e8e8e8);
  overflow: hidden;
}

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

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

.blog-card-body {
  padding: 1.1rem 1.25rem 1.4rem;
}

.blog-card-body h2 {
  margin-bottom: 0.6rem;
}

.blog-card-body h2 a {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.blog-card-body p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #666;
}

.blog-sidebar-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 1.5rem;
}

.blog-sidebar-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--color-dark);
  letter-spacing: 0.3px;
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
}

.blog-category-list li {
  border-bottom: 1px dashed #eee;
}

.blog-category-list li:last-child {
  border-bottom: none;
}

.blog-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  font-size: 0.88rem;
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-category-list a:hover {
  color: var(--color-primary);
}

.blog-category-list a.is-active {
  color: var(--color-primary);
  font-weight: 700;
}

.blog-sidebar-card + .blog-sidebar-card {
  margin-top: 1.5rem;
}

.related-articles-list li {
  border-bottom: 1px dashed #eee;
  padding: 0.75rem 0;
}

.related-articles-list li:first-child {
  padding-top: 0;
}

.related-articles-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-article-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
}

.related-article-thumb {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f4f4f4;
}

.related-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-article-text {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-dark);
  transition: color 0.2s ease;
}

.related-article-item:hover .related-article-text {
  color: var(--color-primary);
}

.blog-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 1.5rem;
  background: #fff;
  border: 1px dashed #ddd;
  border-radius: 14px;
  text-align: center;
}

.blog-empty svg {
  color: #ccc;
}

.blog-empty p {
  font-size: 1rem;
  font-weight: 700;
  color: #999;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .blog-list {
    grid-template-columns: 1fr;
  }
}

/* Article page */

.article-page {
  background: #faf8f8;
  padding: 3.5rem 1.5rem;
}

.article-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.article-content {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 2rem 2.25rem;
}

.article-content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 1.1rem;
}

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

.article-content a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
}

.article-content h2 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-dark);
  padding-left: 0.85rem;
  border-left: 4px solid var(--color-primary);
  margin: 2rem 0 1rem;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.article-content ul {
  margin: 0 0 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.article-content ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.article-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.article-content .pricing-table-wrap {
  margin-bottom: 1.25rem;
}

.article-content .pricing-note {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.article-content-single {
  max-width: 900px;
  margin: 0 auto;
}

.service-contact-box {
  background: #faf8f8;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.service-contact-box p {
  margin-bottom: 0.4rem;
}

.service-contact-box p:last-child {
  margin-bottom: 0;
}

.service-closing {
  font-style: italic;
  color: #666 !important;
}

@media (max-width: 992px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .article-content {
    padding: 1.5rem;
  }
}

/* About page */

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-story {
  background: #fff;
  padding: 4rem 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: 1.25rem;
}

.about-image {
  background: linear-gradient(135deg, #f7e9ea, #fbf3f3);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 420px;
}

.about-stats {
  background: var(--color-primary);
  padding: 2.5rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-number {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #fff;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.about-values {
  background: #faf8f8;
  padding: 4rem 1.5rem;
}

.about-values-heading {
  align-items: center;
  margin-bottom: 2.5rem;
}

.about-values-heading .section-title {
  text-align: center;
}

.about-values-heading .section-title-bar {
  margin: 0.5rem auto 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.value-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #666;
}

.about-cta {
  background: linear-gradient(135deg, #cc1e2c, #8f1420);
  padding: 3.5rem 1.5rem;
}

.about-cta-inner {
  text-align: center;
}

.about-cta h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.6rem;
}

.about-cta p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: transform 0.2s ease;
}

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

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

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

  .values-grid {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 992px) {
  .values-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .values-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Pricing promo banner */
/* Photo: "Cầu Vàm Cống trong chiều" by Bùi Thụy Đào Nguyên, CC BY-SA 4.0 */

.pricing-promo {
  position: relative;
  background-image: url("../assets/images/pricing-promo-banner.jpg");
  background-size: cover;
  background-position: center;
  padding: 4rem 1.5rem;
  margin-bottom: 100px;
}

.pricing-promo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 5, 8, 0.85),
    rgba(204, 30, 44, 0.75)
  );
}

.pricing-promo-inner {
  position: relative;
  z-index: 1;
}

.pricing-promo-heading {
  align-items: center;
  margin-bottom: 2rem;
}

.pricing-promo-heading .section-title {
  color: #fff;
  text-align: center;
}

.pricing-promo-heading .section-title-bar {
  background: #fff;
  margin: 0.5rem auto 0;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.promo-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(4px);
}

.promo-chip strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.5rem;
}

.promo-chip span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

@media (max-width: 700px) {
  .promo-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */

.site-footer {
  background: #7a1017;
  color: #fff;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-top-inner {
  max-width: 1450px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-logo-icon {
  height: 52px;
  width: auto;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.footer-logo-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}

.footer-logo-brand {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
}

.footer-logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  flex-shrink: 0;
}

.footer-info-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  white-space: nowrap;
}

.footer-info-text strong {
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-info-text span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1.2;
  color: #f0c14b;
  font-family: "Brush Script MT", cursive;
  font-style: italic;
  flex-shrink: 0;
  margin: 0 auto;
  max-width: 100%;
  font-size: clamp(0.95rem, 4vw, 1.3rem);
}

.footer-tagline-line1,
.footer-tagline-line2 {
  max-width: 100%;
  overflow-wrap: break-word;
}

/* .footer-tagline-line1 {
  font-size: 1rem;
}

.footer-tagline-line2 {
  font-size: 1.2rem;
} */

.footer-bottom-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  transition: color 0.2s ease;
}

.footer-nav a:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-top-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo-text {
    align-items: flex-start;
  }

  .footer-info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-info-item {
    flex-direction: column;
  }

  .footer-info-text {
    align-items: center;
    white-space: normal;
  }

  .footer-tagline {
    align-items: center;
    margin: 0 auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

/* ==========================================================================
   Popup kết quả gửi form (Đặt xe / Liên hệ)
   Hiện giữa màn hình, PHẢI bấm OK mới tắt — không tự ẩn kiểu toast, để khách
   không bỏ lỡ thông báo "đã nhận yêu cầu". Markup do js/forms.js tạo ra.
   ========================================================================== */
.form-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 18, 24, 0.55);
  opacity: 0;
  transition: opacity 0.18s ease;
}

/* QUAN TRỌNG: overlay dùng thuộc tính "hidden" (JS: overlay.hidden = true) để ẩn hẳn sau khi
   đóng popup. Nhưng class .form-modal-overlay ở trên có "display: flex" với specificity CAO
   HƠN rule ẩn ngầm định [hidden]{display:none} của trình duyệt, nên riêng "hidden" không đủ
   sức ẩn — overlay vô hình (opacity 0) nhưng VẪN che kín toàn màn hình (position:fixed;
   inset:0; z-index:9999) và chặn mọi click, kể cả logo. Đây là nguyên nhân site "bị đơ" sau
   khi đặt xe/liên hệ xong. Rule dưới đây thắng specificity để [hidden] thật sự ẩn overlay. */
.form-modal-overlay[hidden] {
  display: none;
}

.form-modal-overlay.is-open {
  opacity: 1;
}

.form-modal {
  width: min(400px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.18s ease;
}

.form-modal-overlay.is-open .form-modal {
  transform: translateY(0) scale(1);
}

.form-modal-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-modal--success .form-modal-icon {
  background: #e7f6ec;
  color: #1a9c4c;
}

.form-modal--error .form-modal-icon {
  background: #fdeced;
  color: var(--color-primary);
}

.form-modal-title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-dark);
}

.form-modal-text {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #666;
}

.form-modal-ok {
  min-width: 130px;
  padding: 0.7rem 1.75rem;
  border: 0;
  border-radius: 50px;
  background: var(--color-primary);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-modal-ok:hover {
  background: #a5121e;
}

@media (max-width: 480px) {
  .form-modal {
    padding: 1.75rem 1.25rem 1.25rem;
  }
}
