/*
Theme Name: HuyDev Theme - Xe Ghép Quảng Ninh
Theme URI: https://xeghepquangninh.com/
Author: HuyDev
Description: Theme WordPress landing page cho dịch vụ xe ghép, xe tiện chuyến Hà Nội - Hải Phòng - Quảng Ninh. Nội dung cấu hình bằng ACF, form đặt xe dùng Contact Form 7.
Version: 2.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: huydev
*/

/* =========================================
 * 1. DESIGN TOKENS
 * ========================================= */
:root {
  --font-sans: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --ink: #10201a;
  --ink-2: #2e3b35;
  --muted: #5f6f67;
  --line: #e2ebe5;
  --line-strong: #c9d9cf;
  --paper: #ffffff;
  --soft: #f4faf6;

  --brand: #0e7a3c;
  --brand-dark: #09562a;
  --brand-deep: #082519;
  --brand-50: #e9f6ee;
  --brand-100: #cfe9d9;
  --accent: #e02424;
  --accent-hover: #c81d1d;
  --accent-light: #ff8f85;
  --accent-dark: #9b1616;
  --accent-50: #fdeaea;
  --green: #0e7a3c;
  --green-50: #e9f6ee;
  --zalo: #0068ff;
  --danger: #d92d20;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(10, 35, 24, 0.06);
  --shadow-sm: 0 1px 2px rgba(10, 35, 24, 0.04), 0 6px 16px rgba(10, 35, 24, 0.06);
  --shadow-md: 0 2px 6px rgba(10, 35, 24, 0.05), 0 16px 36px rgba(10, 35, 24, 0.1);
  --shadow-lg: 0 4px 10px rgba(10, 35, 24, 0.05), 0 28px 64px rgba(10, 35, 24, 0.16);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --section-space: clamp(64px, 8vw, 104px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.admin-bar {
  --adminbar: 32px;
}

@media (max-width: 782px) {
  .admin-bar {
    --adminbar: 46px;
  }
}

/* =========================================
 * 2. BASE
 * ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--soft);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  color: var(--ink);
  background: rgba(224, 36, 36, 0.35);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + var(--adminbar, 0px) + 16px);
}

.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  border: 0;
  word-wrap: normal !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 700;
  background: var(--ink);
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================
 * 3. BUTTONS
 * ========================================= */
.primary-button,
.secondary-button,
.ghost-button,
.zalo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.zalo-button:hover {
  transform: translateY(-2px);
}

.primary-button:active,
.secondary-button:active,
.ghost-button:active,
.zalo-button:active {
  transform: translateY(0);
}

.primary-button {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(224, 36, 36, 0.3);
}

.primary-button:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 30px rgba(224, 36, 36, 0.38);
}

.secondary-button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.secondary-button:hover {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.16);
}

.ghost-button {
  color: var(--brand-dark);
  border-color: var(--line-strong);
  background: #fff;
}

.ghost-button:hover {
  color: var(--brand);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.zalo-button {
  color: #fff;
  background: var(--zalo);
  box-shadow: 0 10px 24px rgba(0, 104, 255, 0.24);
}

.zalo-button:hover {
  background: #0057d9;
}

.icon-arrow {
  transition: transform 0.2s var(--ease);
}

a:hover > .icon-arrow {
  transform: translateX(3px);
}

/* =========================================
 * 4. HEADER & NAVIGATION
 * ========================================= */
.site-header {
  position: fixed;
  top: var(--adminbar, 0px);
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 28px rgba(10, 35, 24, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1240px, calc(100% - 2 * var(--gutter)));
  height: var(--header-h);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: auto;
}

.brand-logo {
  width: auto;
  height: 52px;
  max-width: 200px;
  object-fit: contain;
}

.brand-name {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.main-nav a:hover {
  color: var(--brand);
  background: var(--brand-50);
}

.main-nav a[aria-current="page"] {
  color: var(--brand);
}

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 6px 20px 6px 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 22px rgba(224, 36, 36, 0.3);
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.header-call:hover {
  background: var(--accent-hover);
  box-shadow: 0 12px 28px rgba(224, 36, 36, 0.38);
  transform: translateY(-1px);
}

.header-call-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.header-call-text small,
.header-call-text strong {
  display: block;
}

.header-call-text small {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.header-call-text strong {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.menu-toggle {
  position: relative;
  display: none;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 21px;
}

.menu-toggle span:nth-child(3) {
  top: 28px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: calc(var(--header-h) + var(--adminbar, 0px));
  left: 0;
  right: 0;
  z-index: 45;
  display: none;
  gap: 4px;
  max-height: calc(100vh - var(--header-h) - var(--adminbar, 0px));
  overflow-y: auto;
  padding: 12px var(--gutter) 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 48px rgba(10, 35, 24, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--brand-50);
}

.mobile-nav .mobile-nav-call {
  justify-content: center;
  margin-top: 8px;
  color: #fff;
  font-weight: 700;
  background: var(--accent);
}

.mobile-nav .mobile-nav-call:hover {
  color: #fff;
  background: var(--accent-hover);
}

/* =========================================
 * 5. HERO & BOOKING FORM
 * ========================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--brand-deep);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 12% 18%, rgba(224, 36, 36, 0.16), transparent 32%),
    linear-gradient(90deg, rgba(8, 30, 20, 0.94) 0%, rgba(8, 30, 20, 0.82) 45%, rgba(8, 30, 20, 0.5) 100%),
    linear-gradient(135deg, rgba(9, 86, 42, 0.62) 0%, rgba(14, 122, 60, 0.28) 55%, rgba(8, 37, 25, 0.45) 100%),
    linear-gradient(180deg, rgba(8, 30, 20, 0) 55%, rgba(8, 30, 20, 0.6) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(104px, 11vw, 136px);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow,
.form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.hero .eyebrow {
  padding: 7px 14px;
  border: 1px solid rgba(224, 36, 36, 0.36);
  border-radius: 999px;
  color: var(--accent-light);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  background: rgba(224, 36, 36, 0.12);
}

.hero .eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(224, 36, 36, 0.2);
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-desc {
  max-width: 600px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.7;
}

.hero-desc p {
  margin: 0;
}

.hero-desc p + p {
  margin-top: 12px;
}

.hero-desc strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-actions .primary-button,
.hero-actions .secondary-button {
  min-height: 56px;
  padding: 0 26px;
}

.booking-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  color: var(--ink-2);
  background: #fff;
  box-shadow: 0 32px 80px rgba(8, 30, 20, 0.35);
}

.booking-card .form-kicker {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12.5px;
}

.booking-card .form-kicker::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: kicker-pulse 2s ease-in-out infinite;
}

@keyframes kicker-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(11, 127, 90, 0.18);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(11, 127, 90, 0.05);
  }
}

.booking-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.booking-card label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
}

.booking-card .wpcf7-form-control-wrap {
  display: block;
}

.booking-card input:not([type="submit"]):not([type="hidden"]),
.booking-card select,
.booking-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  background-color: #f7fbf8;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.booking-card input::placeholder,
.booking-card textarea::placeholder {
  color: #7d8a83;
}

.booking-card select {
  padding-right: 40px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6f67' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 16px;
  text-overflow: ellipsis;
  cursor: pointer;
}

.booking-card textarea {
  min-height: 84px;
  resize: vertical;
}

.booking-card input:not([type="submit"]):focus,
.booking-card select:focus,
.booking-card textarea:focus {
  border-color: var(--brand);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(14, 122, 60, 0.14);
}

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

.booking-card button,
.booking-card .wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(224, 36, 36, 0.32);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.booking-card button:hover,
.booking-card .wpcf7-form input[type="submit"]:hover {
  background: var(--accent-hover);
  box-shadow: 0 14px 30px rgba(224, 36, 36, 0.4);
  transform: translateY(-1px);
}

.booking-card button:disabled,
.booking-card .wpcf7-form input[type="submit"]:disabled,
.booking-card form.submitting input[type="submit"] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}

.booking-card .wpcf7 {
  margin: 0;
}

.booking-card form.wpcf7-form {
  display: grid;
  gap: 14px;
}

.booking-card .wpcf7-form p {
  margin: 0;
}

.booking-card .wpcf7-spinner {
  display: none;
  margin: 0 auto;
}

.booking-card form.submitting .wpcf7-spinner {
  display: block;
}

.booking-card .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: var(--danger);
  font-size: 12.5px;
  font-weight: 600;
}

.booking-card .wpcf7-form-control.wpcf7-not-valid {
  border-color: var(--danger);
  background-color: #fff8f7;
}

.booking-card .wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.booking-card .wpcf7 form.sent .wpcf7-response-output {
  color: #0a6647;
  border-color: #a6dcc5;
  background: var(--green-50);
}

.booking-card .wpcf7 form.invalid .wpcf7-response-output,
.booking-card .wpcf7 form.unaccepted .wpcf7-response-output,
.booking-card .wpcf7 form.payment-required .wpcf7-response-output {
  color: #8a5300;
  border-color: #f2d188;
  background: #fff8e6;
}

.booking-card .wpcf7 form.failed .wpcf7-response-output,
.booking-card .wpcf7 form.aborted .wpcf7-response-output,
.booking-card .wpcf7 form.spam .wpcf7-response-output {
  color: #b42318;
  border-color: #fecdca;
  background: #fef3f2;
}

/* =========================================
 * 6. TRUST STRIP
 * ========================================= */
.trust-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin: -64px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow-lg);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  background: #fff;
}

.trust-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--brand);
  background: var(--brand-50);
}

.trust-copy strong,
.trust-copy span {
  display: block;
}

.trust-copy strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.trust-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* =========================================
 * 7. SECTIONS
 * ========================================= */
.section {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.section-alt {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto clamp(36px, 4.5vw, 56px);
  text-align: center;
}

.section-heading .eyebrow::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.section-heading h2,
.service-copy h2,
.faq-intro h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(27px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow),
.service-copy > p:not(.eyebrow),
.faq-intro > p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin-inline: auto;
}

/* =========================================
 * 8. ROUTES / PRICING
 * ========================================= */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.route-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

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

.route-card.featured {
  padding: 27px;
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #fff5f5 0%, #fff 45%);
  box-shadow: 0 18px 44px rgba(224, 36, 36, 0.18);
}

.route-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(224, 36, 36, 0.32);
}

.route-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.route-price-tag {
  margin: 8px 0 0;
  color: var(--accent);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.route-card ul {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 10px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px dashed var(--line-strong);
  list-style: none;
}

.route-card li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}

.route-card li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7a3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.route-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--brand-100);
  border-radius: 12px;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 700;
  background: var(--brand-50);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.route-cta:hover {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.route-card.featured .route-cta {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.route-card.featured .route-cta:hover {
  background: var(--accent-hover);
}

/* =========================================
 * 9. ROUTE DETAILS
 * ========================================= */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.detail-card {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.detail-card:hover {
  border-color: var(--brand-100);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.detail-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  border-radius: 18px;
  font-size: 30px;
  line-height: 1;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.detail-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.detail-card p + p {
  margin-top: 10px;
}

.detail-card strong {
  color: var(--ink-2);
  font-weight: 600;
}

/* =========================================
 * 10. WHY CHOOSE US
 * ========================================= */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.image-panel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background: var(--brand-50);
  box-shadow: var(--shadow-lg);
}

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

.service-copy > p:not(.eyebrow) strong {
  color: var(--ink-2);
  font-weight: 600;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.service-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.service-list article:hover {
  border-color: var(--brand-100);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-list span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 8px 18px rgba(14, 122, 60, 0.25);
}

.service-list h3 {
  margin: 16px 0 6px;
  font-size: 17px;
  line-height: 1.4;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* =========================================
 * 11. FLEET
 * ========================================= */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fleet-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.fleet-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--brand-50);
}

.fleet-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.fleet-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px 26px;
}

.fleet-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.fleet-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* =========================================
 * 12. BOOKING STEPS
 * ========================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step-card {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.step-card::after {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 12px;
  right: 22px;
  color: #e9f5ee;
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
}

.step-number,
.step-card h3,
.step-card p {
  position: relative;
  z-index: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.4;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.step-card a {
  color: var(--brand);
  font-weight: 700;
}

/* =========================================
 * 13. FAQ
 * ========================================= */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + var(--adminbar, 0px) + 32px);
}

.faq-help {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding: 26px;
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 100% 0%, rgba(224, 36, 36, 0.22), transparent 45%),
    linear-gradient(135deg, var(--brand-dark), var(--brand-deep));
  box-shadow: var(--shadow-md);
}

.faq-help-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-help-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.1);
}

.faq-help-head strong,
.faq-help-text {
  display: block;
}

.faq-help-head strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

.faq-help-text {
  margin-top: 2px;
  font-size: 14.5px;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq-item:hover,
.faq-item[open] {
  border-color: var(--brand-100);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
}

.faq-toggle {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-50);
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.faq-item[open] .faq-toggle {
  color: #fff;
  background: var(--brand);
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: 10px;
}

.faq-answer strong {
  color: var(--ink-2);
  font-weight: 600;
}

/* =========================================
 * 14. TESTIMONIALS
 * ========================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-grid figure {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.testimonial-grid figure:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-mark {
  color: var(--accent);
}

.testimonial-mark .icon {
  fill: currentColor;
  stroke: none;
}

.testimonial-grid blockquote {
  flex: 1;
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
}

.testimonial-grid figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.testimonial-author strong,
.testimonial-author small {
  display: block;
}

.testimonial-author strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.testimonial-author small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
}

/* =========================================
 * 15. CALL TO ACTION
 * ========================================= */
.cta-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px 48px;
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin: 0 auto var(--section-space);
  padding: clamp(32px, 5vw, 60px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(224, 36, 36, 0.26), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(14, 122, 60, 0.45), transparent 45%),
    linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-deep) 70%);
  box-shadow: var(--shadow-lg);
}

.cta-section .eyebrow {
  color: var(--accent-light);
}

.cta-section h2 {
  color: #fff;
}

.cta-section p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}

.cta-actions .primary-button,
.cta-actions .secondary-button {
  min-height: 56px;
}

/* =========================================
 * 16. FOOTER
 * ========================================= */
.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--brand-deep);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 40px 56px;
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: clamp(48px, 6vw, 72px) 0 clamp(36px, 4vw, 48px);
}

.footer-title {
  display: block;
  max-width: 420px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.footer-brand p {
  max-width: 420px;
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.footer-heading {
  margin: 0 0 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact,
.footer-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.footer-contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--accent-light);
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s var(--ease);
}

.footer-contact a:hover .footer-contact-icon {
  background: rgba(255, 255, 255, 0.16);
}

.footer-contact small,
.footer-contact strong {
  display: block;
}

.footer-contact small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  line-height: 1.4;
}

.footer-contact strong {
  font-size: 16px;
  line-height: 1.4;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: #fff;
}

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

.footer-bottom p {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
}

/* =========================================
 * 17. FLOATING CONTACT (desktop) & ACTION BAR (mobile)
 * ========================================= */
.contact-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.contact-dock.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dock-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 6px 22px 6px 6px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 12px 30px rgba(10, 35, 24, 0.24);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.dock-btn:hover {
  box-shadow: 0 16px 36px rgba(10, 35, 24, 0.3);
  transform: translateY(-2px);
}

.dock-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dock-icon img {
  width: 22px;
  height: 22px;
}

.dock-label small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
}

.dock-zalo {
  color: #fff;
  background: var(--zalo);
}

.dock-call {
  color: #fff;
  background: var(--accent);
}

.dock-call .dock-icon {
  background: rgba(255, 255, 255, 0.22);
}

.dock-call::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: dock-ring 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes dock-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(224, 36, 36, 0.55);
  }

  100% {
    box-shadow: 0 0 0 16px rgba(224, 36, 36, 0);
  }
}

.mobile-actions {
  display: none;
}

/* =========================================
 * 18. INNER PAGES
 * ========================================= */
.inner-page {
  padding-top: var(--header-h);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 0%, rgba(224, 36, 36, 0.18), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(14, 122, 60, 0.4), transparent 42%),
    linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 100%);
}

.page-hero > div {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 76px);
}

.page-hero h1 {
  max-width: 880px;
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-hero > div > p,
.archive-description {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.7;
}

.archive-description p {
  margin: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.breadcrumbs p {
  margin: 0;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s var(--ease);
}

.breadcrumbs a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs-sep,
.breadcrumbs .separator {
  margin: 0 10px;
  opacity: 0.5;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.post-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-cat {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 12.5px;
  font-weight: 700;
  background: var(--brand-50);
}

.page-hero .post-meta {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero .post-cat {
  color: #fff;
  background: var(--accent);
}

.about-intro,
.single-main {
  display: grid;
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}

.about-intro {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.single-main {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.about-panel,
.single-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--adminbar, 0px) + 24px);
  display: grid;
  gap: 16px;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 100% 0%, rgba(224, 36, 36, 0.22), transparent 45%),
    linear-gradient(150deg, var(--brand-dark), var(--brand-deep));
  box-shadow: var(--shadow-lg);
}

.contact-card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-light);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-card-phone {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.contact-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.contact-card-actions {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.contact-card-actions .primary-button,
.contact-card-actions .zalo-button {
  width: 100%;
  min-height: 50px;
}

.sidebar-box {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sidebar-box-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 13.5px;
  font-weight: 600;
  background: var(--brand-50);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.category-links a:hover {
  color: #fff;
  background: var(--brand);
}

.single-featured {
  overflow: hidden;
  margin-bottom: clamp(32px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: var(--brand-50);
  box-shadow: var(--shadow-lg);
}

.single-featured img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

/* =========================================
 * 19. CONTENT TYPOGRAPHY
 * ========================================= */
.content-body {
  min-width: 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.8;
}

.content-body::after {
  content: "";
  display: table;
  clear: both;
}

.content-body > *:first-child {
  margin-top: 0;
}

.content-body > *:last-child {
  margin-bottom: 0;
}

.content-body p,
.content-body ul,
.content-body ol,
.content-body figure,
.content-body table,
.content-body pre,
.content-body blockquote {
  margin: 0 0 1.3em;
}

.content-body h2,
.content-body h3,
.content-body h4 {
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.content-body h2 {
  margin: 1.8em 0 0.6em;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800;
}

.content-body h3 {
  margin: 1.6em 0 0.5em;
  font-size: clamp(20px, 2.2vw, 24px);
}

.content-body h4 {
  margin: 1.4em 0 0.5em;
  font-size: 19px;
}

.content-body a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.content-body a:hover {
  color: var(--brand-dark);
}

.content-body ul,
.content-body ol {
  padding-left: 1.4em;
}

.content-body li + li {
  margin-top: 0.45em;
}

.content-body li::marker {
  color: var(--brand);
}

.content-body strong {
  color: var(--ink);
  font-weight: 700;
}

.content-body img {
  border-radius: var(--radius);
}

.content-body blockquote {
  padding: 22px 26px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
  font-size: 18px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.content-body blockquote p:last-child {
  margin-bottom: 0;
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
  background: #fff;
}

.content-body th,
.content-body td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.content-body th {
  color: var(--ink);
  font-weight: 700;
  background: var(--brand-50);
}

.content-body hr {
  margin: 2.2em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.content-body code {
  padding: 0.15em 0.4em;
  border-radius: 6px;
  font-size: 0.9em;
  background: var(--brand-50);
}

.content-body pre {
  overflow-x: auto;
  padding: 18px 20px;
  border-radius: var(--radius);
  color: #e6edf5;
  font-size: 14px;
  background: var(--brand-deep);
}

.content-body pre code {
  padding: 0;
  background: none;
}

.content-body .wp-caption,
.content-body figure,
.content-body iframe {
  max-width: 100%;
}

.content-body .wp-caption-text,
.content-body figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.content-body .alignleft {
  float: left;
  margin: 0.3em 1.5em 1em 0;
}

.content-body .alignright {
  float: right;
  margin: 0.3em 0 1em 1.5em;
}

.content-body .aligncenter {
  display: block;
  margin-inline: auto;
}

/* =========================================
 * 20. POST LISTING, PAGINATION & EMPTY STATES
 * ========================================= */
.archive-layout,
.single-layout {
  padding-top: clamp(40px, 5vw, 64px);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.post-card-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  color: rgba(255, 255, 255, 0.85);
  background:
    radial-gradient(circle at 85% 15%, rgba(224, 36, 36, 0.3), transparent 40%),
    linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px 24px 24px;
}

.post-card-title {
  margin: 14px 0 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.post-card-title a {
  transition: color 0.2s var(--ease);
}

.post-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

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

.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
}

.post-card:hover .read-more .icon-arrow {
  transform: translateX(3px);
}

.related-posts {
  border-top: 1px solid var(--line);
}

.pagination-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

.pagination-wrap:empty {
  display: none;
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-2);
  font-weight: 700;
  background: #fff;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.pagination-wrap a.page-numbers:hover {
  color: var(--brand);
  border-color: var(--brand);
}

.pagination-wrap .page-numbers.current {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.pagination-wrap .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.empty-state-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  color: var(--brand);
  background: var(--brand-50);
}

.empty-state h1,
.empty-state h2 {
  margin: 4px 0 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.25;
}

.empty-state p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.error-code {
  font-size: clamp(72px, 12vw, 128px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand);
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================
 * 21. RESPONSIVE
 * ========================================= */
@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .main-nav a {
    padding: 0 10px;
  }

  .booking-card {
    padding: 26px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 70px;
  }

  .main-nav {
    display: none;
  }

  .header-call {
    margin-left: auto;
  }

  .brand-logo {
    height: 46px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .mobile-nav {
    display: grid;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .booking-card {
    width: 100%;
    max-width: 600px;
  }

  .trust-strip,
  .routes-grid,
  .fleet-grid,
  .testimonial-grid,
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section,
  .faq-layout,
  .about-intro,
  .single-main {
    grid-template-columns: 1fr;
  }

  .image-panel {
    aspect-ratio: 16 / 10;
  }

  .faq-intro,
  .about-panel,
  .single-sidebar {
    position: static;
  }

  .faq-intro {
    max-width: 720px;
  }

  .single-sidebar {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .header-call,
  .contact-dock {
    display: none;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .brand-logo {
    height: 44px;
    max-width: 150px;
  }

  .mobile-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 -10px 30px rgba(10, 35, 24, 0.1);
  }

  .mobile-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 700;
  }

  .mobile-action img {
    width: 20px;
    height: 20px;
  }

  .mobile-action-call {
    color: #fff;
    background: var(--accent);
  }

  .mobile-action-zalo {
    color: #fff;
    background: var(--zalo);
  }

  .hero-content {
    gap: 32px;
    padding: calc(var(--header-h) + 32px) 0 88px;
  }

  .hero .eyebrow {
    font-size: 11.5px;
    letter-spacing: 0.04em;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.22;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .booking-card {
    padding: 22px;
    border-radius: 20px;
  }

  .booking-card input:not([type="submit"]):not([type="hidden"]),
  .booking-card select,
  .booking-card textarea {
    font-size: 16px;
  }

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

  .trust-strip {
    margin-top: -48px;
  }

  .trust-item {
    flex-direction: column;
    gap: 10px;
    padding: 18px 16px;
  }

  .trust-icon {
    flex-basis: auto;
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .trust-copy strong {
    font-size: 15px;
  }

  .trust-copy span {
    font-size: 13px;
  }

  .routes-grid,
  .fleet-grid,
  .testimonial-grid,
  .post-grid,
  .service-list,
  .details-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading .eyebrow::after {
    display: none;
  }

  .section-heading p:not(.eyebrow) {
    margin-inline: 0;
  }

  .section-heading p:not(.eyebrow),
  .service-copy > p:not(.eyebrow),
  .faq-intro > p:not(.eyebrow) {
    font-size: 16px;
  }

  .route-card,
  .detail-card,
  .step-card,
  .testimonial-grid figure {
    padding: 24px 22px;
  }

  .route-card.featured {
    padding: 23px 21px;
  }

  .route-price-tag {
    font-size: 26px;
  }

  .image-panel {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
  }

  .faq-item summary {
    padding: 18px;
  }

  .faq-item summary h3 {
    font-size: 15.5px;
  }

  .faq-answer {
    padding: 0 18px 18px;
    font-size: 15px;
  }

  .cta-section {
    padding: 32px 22px;
    border-radius: var(--radius-lg);
  }

  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-hero > div > p,
  .archive-description {
    font-size: 16px;
  }

  .single-featured {
    border-radius: var(--radius-lg);
  }

  .content-body {
    font-size: 16px;
  }

  .content-body .alignleft,
  .content-body .alignright {
    float: none;
    margin: 0 0 1em;
  }

  .content-body table {
    display: block;
    overflow-x: auto;
  }
}

/* =========================================
 * 22. MOTION & EFFECTS
 * ========================================= */

/* Reading progress bar pinned to the top of the viewport, above the header
   (element is created by custom.js). */
.scroll-progress {
  position: fixed;
  top: var(--adminbar, 0px);
  left: 0;
  z-index: 55;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.1s linear;
  pointer-events: none;
}

/* The hero photo drifts slowly so the banner feels alive. */
.hero-media img {
  animation: hero-zoom 24s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

/* Light sweep across the main call buttons on hover. */
.primary-button,
.header-call {
  position: relative;
  overflow: hidden;
}

.primary-button::after,
.header-call::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}

.primary-button:hover::after,
.header-call:hover::after {
  left: 120%;
}

/* Accent line that fades in when a price card is hovered.
 * Full-size overlay so the card's own radius clips the 3px bar at the corners. */
.route-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent)) top center / 100% 3px no-repeat;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}

.route-card.featured::before {
  inset: -2px;
}

.route-card:hover::before {
  opacity: 1;
}

.trust-icon,
.detail-icon {
  transition: transform 0.25s var(--ease), color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.trust-item:hover .trust-icon,
.detail-card:hover .detail-icon {
  transform: translateY(-2px) scale(1.06);
}

.trust-item:hover .trust-icon {
  color: #fff;
  background: var(--brand);
}

.faq-item[open] .faq-answer {
  animation: faq-open 0.3s var(--ease);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Fade-in on scroll. The hidden state only applies once custom.js has confirmed
   it can reveal them again, so content is always visible without JavaScript. */
.js-motion .section-heading,
.js-motion .trust-item,
.js-motion .route-card,
.js-motion .detail-card,
.js-motion .image-panel,
.js-motion .service-list article,
.js-motion .fleet-card,
.js-motion .step-card,
.js-motion .faq-item,
.js-motion .faq-help,
.js-motion .testimonial-grid figure,
.js-motion .post-card,
.js-motion .cta-section,
.js-motion .contact-card,
.js-motion .sidebar-box,
.js-motion .empty-state {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* Các selector ẩn có kèm tag (article, figure) nên specificity cao hơn class đơn,
   phải lặp lại ở đây thì trạng thái hiện mới thắng được. */
.js-motion .is-revealed,
.js-motion .service-list article.is-revealed,
.js-motion .testimonial-grid figure.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img {
    animation: none;
  }

  .scroll-progress {
    display: none;
  }
}
