/* ==========================================================================
   NCT TAXI - Taxi Du Lịch Nam Cát Tiên
   Design system: Forest (deep green) + Amber accent on green-tinted paper.
   Radius rule: interactive = pill (999px) | cards = 20px | inputs = 12px
   Theme: light only, single accent (#e8a33d) across the whole page.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --forest-950: #0b1f16;
  --forest-900: #10301f;
  --forest-800: #17442c;
  --forest-700: #1f5a3c;
  --forest-600: #2a7250;
  --moss: #4a7c63;
  --red: #d6482f;
  --red-soft: #f0a493;
  --red-deep: #a8382a;
  --paper: #f2f5ef;
  --paper-2: #e7ece3;
  --line: #dde5da;
  --ink: #16241c;
  --ink-soft: #3f5246;
  --white: #ffffff;
  --danger: #b3261e;

  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-card: 20px;
  --r-input: 12px;
  --r-pill: 999px;

  --shadow-soft: 0 24px 60px -28px rgb(16 48 31 / 0.28);
  --shadow-card: 0 10px 30px -18px rgb(16 48 31 / 0.22);
  --shadow-btn: 0 12px 26px -12px rgb(214 72 47 / 0.75);

  --header-h: 72px;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
[hidden] { display: none !important; }

::selection { background: rgb(214 72 47 / 0.35); }

:focus-visible {
  outline: 3px solid rgb(214 72 47 / 0.7);
  outline-offset: 2px;
  border-radius: 6px;
}

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- 3. Layout utilities ---------- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}
.container-narrow { max-width: 900px; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-tint { background: linear-gradient(180deg, #eef2ea, #e9eee4); }

.section-head { max-width: 660px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-center { margin-inline: auto; text-align: center; }

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--forest-950);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 60ch;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-600);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
}
.eyebrow-light { color: var(--red-soft); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--r-pill);
  padding: 0.85rem 1.7rem;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); transition: transform 0.08s ease; }

.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: #e0573c;
  box-shadow: 0 16px 32px -12px rgb(214 72 47 / 0.85);
}

.btn-ghost {
  background: transparent;
  color: var(--forest-900);
  border-color: rgb(16 48 31 / 0.35);
}
.btn-ghost:hover {
  background: var(--forest-900);
  color: var(--paper);
  border-color: var(--forest-900);
}

/* ---------- 5. Skip link & header ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 14px;
  z-index: 300;
  background: var(--forest-900);
  color: var(--white);
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
body.scrolled .site-header {
  background: rgb(242 245 239 / 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgb(16 48 31 / 0.08);
  box-shadow: 0 10px 30px -22px rgb(16 48 31 / 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand-mark { display: grid; place-items: center; flex: none; }
.brand-mark svg { display: block; }
.brand-text strong {
  display: block;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--forest-950);
  line-height: 1.15;
}
.brand-text small {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--forest-700);
  line-height: 1.3;
}

.site-nav ul { display: flex; gap: 1.75rem; }
.site-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--forest-900);
  text-decoration: none;
  padding-block: 0.3rem;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { width: 100%; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.8rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  border-radius: 2px;
  background: var(--forest-950);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Mobile nav overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--forest-950), var(--forest-900));
  text-align: center;
}
.nav-overlay ul { display: grid; gap: 0.35rem; }
.nav-overlay a {
  display: inline-block;
  font-size: clamp(1.55rem, 6vw, 2.1rem);
  font-weight: 800;
  color: var(--paper);
  text-decoration: none;
  padding: 0.45rem 1rem;
  transition: color 0.2s ease;
}
.nav-overlay a:hover { color: var(--red-soft); }
.nav-overlay .btn { margin-top: 2rem; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; }

.hero-grid {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: clamp(6rem, 12vh, 7rem);
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-700);
  margin-bottom: 1.1rem;
}
.hero-eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red);
}

.hero-title {
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--forest-950);
  margin-bottom: 1.3rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line-inner { display: block; will-change: transform; }
.hero-title em {
  font-style: normal;
  color: var(--red-deep);
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 1.8rem;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-media { position: relative; }

.hero-media-frame {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
  will-change: clip-path;
}
.hero-media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
.hero-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, transparent 52%, rgb(11 31 22 / 0.4));
  pointer-events: none;
  z-index: 1;
}

.hero-badge {
  position: absolute;
  z-index: 2;
  background: rgb(255 255 255 / 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgb(255 255 255 / 0.65);
  border-radius: 16px;
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow-card);
}
.hero-badge strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--forest-900); line-height: 1.2; }
.hero-badge span { font-size: 0.78rem; color: var(--ink-soft); }

.hero-badge-rating { left: -1.25rem; bottom: 1.75rem; }
.hero-badge-247 { top: 1.5rem; right: -1rem; }

.hero-blob {
  position: absolute;
  z-index: -1;
  top: -12%;
  right: -10%;
  width: 46vw;
  height: 46vw;
  min-width: 420px;
  min-height: 420px;
  background: radial-gradient(circle at 40% 40%, rgb(214 72 47 / 0.22), rgb(42 114 80 / 0.12) 55%, transparent 72%);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

/* ---------- 8. Marquee ---------- */
.marquee {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  padding-block: 0.95rem;
  padding-right: 2.2rem; /* khớp gap để vòng lặp -50% không bị nhảy */
  will-change: transform;
}
.marquee-track span {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest-700);
}
.marquee-track i {
  width: 6px; height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- 9. Stats ---------- */
.stats { border-block: 1px solid var(--line); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat { padding-block: clamp(1.8rem, 4vw, 2.6rem); padding-inline: 1.5rem; }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--line); }

.stat-num {
  display: block;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--forest-800);
  line-height: 1;
}
.stat-num span:last-child {
  font-size: 0.55em;
  color: var(--forest-600);
  margin-left: 0.12em;
}
.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- 10. Split (about) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.split-media { position: relative; }
.media-frame { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.media-frame-4x3 { aspect-ratio: 4 / 3; }
.media-frame-3x2 { aspect-ratio: 3 / 2; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

.media-tag {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: var(--white);
  border-radius: 14px;
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow-card);
}
.media-tag strong { display: block; font-size: 0.95rem; font-weight: 800; color: var(--forest-900); }
.media-tag span { font-size: 0.78rem; color: var(--ink-soft); }

.check-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2.1rem;
}
.check-list li {
  position: relative;
  padding-left: 2.1rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0.05em;
  width: 1.4rem; height: 1.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(214 72 47 / 0.16);
  color: var(--red-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

/* ---------- 11. Bento (services) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.bento-cell {
  border-radius: var(--r-card);
  padding: 1.6rem;
  min-height: 210px;
  position: relative;
  overflow: hidden;
}
.bento-cell-wide { grid-column: span 4; min-height: 320px; padding: 0; }
.bento-cell:not(.bento-cell-wide) { grid-column: span 2; }

.bento-cell-wide img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
  will-change: transform;
}
.bento-cell-wide:hover img { transform: scale(1.06); }
.bento-cell-wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(11 31 22 / 0.04), rgb(11 31 22 / 0.8));
  pointer-events: none;
}
.bento-cell-body {
  position: absolute;
  left: 1.6rem; right: 1.6rem; bottom: 1.5rem;
  z-index: 1;
}
.bento-cell-body h3 { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 0.4rem; }
.bento-cell-body p { font-size: 0.95rem; color: rgb(242 245 239 / 0.88); max-width: 44ch; }

.bento-cell-solid { background: var(--forest-900); color: var(--paper); }
.bento-cell-outline { background: var(--white); border: 1px solid var(--line); }
.bento-cell-red { background: var(--red); color: var(--white); }

.bento-icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.12);
  color: var(--red-soft);
}
.bento-cell-outline .bento-icon { background: rgb(23 68 44 / 0.08); color: var(--forest-700); }
.bento-cell-red .bento-icon { background: rgb(255 255 255 / 0.18); color: var(--white); }

.bento-cell h3 { font-size: 1.15rem; font-weight: 800; margin: 1rem 0 0.35rem; }
.bento-cell p { font-size: 0.92rem; line-height: 1.65; opacity: 0.82; margin: 0; }

/* ---------- 12. Pricing ---------- */
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.price-list { display: grid; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.15rem;
  border-bottom: 1px dashed var(--line);
}
.price-row:first-child { padding-top: 0.4rem; }
.price-row:last-child { border-bottom: 0; padding-bottom: 0.4rem; }

.price-route strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--forest-950); }
.price-route span { font-size: 0.85rem; color: var(--ink-soft); }

.price-value { text-align: right; }
.price-value strong { display: block; font-size: 1.15rem; font-weight: 800; color: var(--forest-900); white-space: nowrap; }
.price-value span { font-size: 0.8rem; color: var(--ink-soft); }

.price-note {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.price-badges { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--paper-2);
  color: var(--forest-800);
  border-radius: var(--r-pill);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.pill svg { color: var(--red-deep); flex: none; }

/* ---------- 13. Destinations ---------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.dest-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dest-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.dest-card .media-frame { border-radius: 0; box-shadow: none; }
.dest-card:hover .media-frame img { transform: scale(1.07); }
.dest-body { padding: 1.25rem 1.35rem 1.4rem; }
.dest-body h3 { font-size: 1.05rem; font-weight: 800; color: var(--forest-950); margin-bottom: 0.4rem; }
.dest-body p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 0.8rem; }
.dest-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest-700);
}
.dest-meta::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

/* ---------- 14. Steps ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  border-top: 2px dashed var(--line);
}
.step { position: relative; z-index: 1; }
.step-num {
  display: inline-block;
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  background: var(--paper);
  padding-right: 0.5rem;
  margin-bottom: 1rem;
}
.section-tint .step-num { background: transparent; }
.step h3 { font-size: 1.15rem; font-weight: 800; color: var(--forest-950); margin-bottom: 0.45rem; }
.step p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.7; }

/* ---------- 15. Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.7rem 1.6rem 1.5rem;
  margin: 0;
}
.review::before {
  content: "“";
  position: absolute;
  top: 0.4rem;
  right: 1.2rem;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: rgb(214 72 47 / 0.28);
}
.review-stars {
  color: var(--red);
  letter-spacing: 3px;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}
.review p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.review footer { display: grid; }
.review footer strong { font-size: 0.95rem; font-weight: 800; color: var(--forest-900); }
.review footer span { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- 15b. Reviews slider ---------- */
.reviews-slider { position: relative; }
.reviews-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reviews-viewport::-webkit-scrollbar { display: none; }
.reviews-track { display: flex; gap: 1.5rem; }
.reviews-track .review {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
}
.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.reviews-arrow {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--forest-900);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.reviews-arrow:hover { background: var(--forest-900); color: var(--paper); border-color: var(--forest-900); }
.reviews-arrow:disabled { opacity: 0.35; cursor: default; }
.reviews-arrow:disabled:hover { background: var(--white); color: var(--forest-900); border-color: var(--line); }
.reviews-dots { display: flex; align-items: center; gap: 0.45rem; }
.reviews-dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}
.reviews-dot.active { width: 24px; background: var(--red); }

@media (max-width: 767px) {
  .reviews-track .review { flex-basis: 86%; }
}

/* ---------- 16. FAQ ---------- */
.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.faq-item { border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: 0; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.5rem;
  background: none;
  border: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest-950);
  text-align: left;
  cursor: pointer;
}
.faq-q:hover { color: var(--forest-700); }
.faq-icon { flex: none; transition: transform 0.3s ease; color: var(--forest-600); }
.faq-item.open .faq-icon { transform: rotate(180deg); }

/* No-JS: answers visible. With JS (html.js): collapsed, GSAP animates height. */
.faq-a { height: auto; }
html.js .faq-a { height: 0; overflow: hidden; }
html.js .faq-item.open .faq-a { height: auto; }
.faq-a p {
  padding: 0 1.5rem 1.3rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- 17. Contact / CTA ---------- */
.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--forest-950);
  border-radius: 24px;
  overflow: hidden;
  color: var(--paper);
  box-shadow: var(--shadow-soft);
}
.contact-cover {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgb(11 31 22 / 0.94) 0%, rgb(16 48 31 / 0.72) 55%, rgb(11 31 22 / 0.88) 100%),
    url("https://images.unsplash.com/photo-1440342359743-84fcb8c21f21?auto=format&fit=crop&w=1800&q=70") center/cover no-repeat;
  z-index: 0;
}
.contact-info {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 3.25rem);
}
.contact-info .section-title { color: var(--white); }
.contact-lead {
  color: rgb(242 245 239 / 0.85);
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: 1.8rem;
}
.contact-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 2.2rem;
  font-size: 0.92rem;
  color: rgb(242 245 239 / 0.85);
}
.contact-list strong { color: var(--red-soft); font-weight: 700; }

.booking-form {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2rem);
  margin: 1.25rem 1.25rem 1.25rem 0;
  color: var(--ink);
}
.booking-form h3 { font-size: 1.25rem; font-weight: 800; color: var(--forest-950); margin-bottom: 1.25rem; }

.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest-800);
  margin-bottom: 0.35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1.5px solid #d8e0d4;
  border-radius: var(--r-input);
  background: #fbfcfa;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest-600);
  box-shadow: 0 0 0 3px rgb(42 114 80 / 0.15);
}
.field textarea { resize: vertical; }

.field.invalid input,
.field.invalid select { border-color: var(--danger); }
.field.invalid input:focus,
.field.invalid select:focus { box-shadow: 0 0 0 3px rgb(179 38 30 / 0.15); }

.field-error { font-size: 0.8rem; color: var(--danger); margin-top: 0.3rem; }
.field-error[hidden] { display: none; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-input);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
}
.form-status.ok { background: #e6f2ea; color: var(--forest-800); }
.form-status.err { background: #fdecea; color: var(--danger); }

/* ---------- 18. Footer ---------- */
.site-footer {
  background: var(--forest-950);
  color: rgb(242 245 239 / 0.75);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text small { color: rgb(245 192 105 / 0.9); }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1.1rem;
  max-width: 34ch;
}
.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a { color: rgb(242 245 239 / 0.75); text-decoration: none; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--red-soft); }
.footer-col li { font-size: 0.9rem; line-height: 1.6; }
.footer-contact a { font-weight: 700; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-block: 1.3rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.82rem;
  color: rgb(242 245 239 / 0.55);
}
.footer-seo { letter-spacing: 0.02em; }

/* ---------- 19. Floating call button ---------- */
.call-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 32px -10px rgb(214 72 47 / 0.9), 0 6px 18px rgb(11 31 22 / 0.18);
  transition: transform 0.2s ease;
}
.call-fab:hover { transform: translateY(-3px) scale(1.04); }
.call-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Floating Zalo button (đặt phía trên nút gọi) */
.zalo-fab {
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + 66px);
  z-index: 90;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0068ff;
  color: var(--white);
  box-shadow: 0 14px 32px -10px rgb(0 104 255 / 0.55), 0 6px 18px rgb(11 31 22 / 0.18);
  transition: transform 0.2s ease;
}
.zalo-fab:hover { transform: translateY(-3px) scale(1.04); }
.zalo-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #0068ff;
  animation: fab-pulse 2.4s ease-out infinite;
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1023px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 2rem); }
  .hero-media { max-width: 560px; }
  .hero-badge-rating { left: -0.5rem; }
  .hero-badge-247 { right: -0.5rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }

  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 620px; }

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

  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }

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

  .contact-panel { grid-template-columns: 1fr; }
  .booking-form { margin: 0 1.25rem 1.25rem; }

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

@media (max-width: 767px) {
  .header-actions .btn { display: none; }
  .hero-media { margin-inline: auto; }
  .bento { grid-template-columns: 1fr; }
  .bento-cell,
  .bento-cell-wide,
  .bento-cell:nth-child(n) { grid-column: span 1; }
  .bento-cell-wide { min-height: 260px; }

  .dest-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 559px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { padding-left: 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }

  .price-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .price-value { text-align: left; }

  .field-row { grid-template-columns: 1fr; }
}

/* ---------- 21. Reduced motion ---------- */
@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;
  }
}
