/* Bao Xe Vũng Tàu — mobile-first landing */
:root {
  --bg: #07111c;
  --bg-soft: #0d1b2a;
  --surface: #122033;
  --text: #f3f6fa;
  --muted: #9db0c5;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #1ec8e8;
  --accent-deep: #0ea5c0;
  --call: #16a34a;
  --zalo: #0068ff;
  --price: #fbbf24;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font: "Be Vietnam Pro", system-ui, sans-serif;
  --display: "Sora", "Be Vietnam Pro", sans-serif;
  --container: 1120px;
  --header-h: 64px;
  --float-offset: calc(18px + env(safe-area-inset-bottom));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, 760px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--accent);
  color: #041018;
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 17, 28, 0.94);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}

.site-header.is-scrolled {
  background: #07111c;
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
}

.brand-text em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #07111c;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem calc(2rem + env(safe-area-inset-bottom));
  transform: translateX(100%);
  transition: transform 0.28s ease, visibility 0.28s ease;
  z-index: 150;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  pointer-events: none;
}

.site-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: 0.95rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

.site-nav .btn {
  margin-top: 0.75rem;
  text-align: center;
  border-bottom: 0;
}

body.nav-open .site-header {
  background: #07111c;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
  margin-top: 1rem;
}

.btn-zalo {
  background: var(--zalo);
  color: #fff;
}

.btn-call {
  background: var(--call);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-media img {
  object-fit: cover;
  object-position: 22% center;
}

@media (min-width: 768px) {
  .hero-media img {
    object-position: center center;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 17, 28, 0.5) 0%, rgba(7, 17, 28, 0.55) 38%, rgba(7, 17, 28, 0.96) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(30, 200, 232, 0.18), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 3rem;
  animation: fadeUp 0.7s ease both;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.35rem, 5.2vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.hero-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 38ch;
  font-size: 1.02rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-trust {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-trust li {
  font-size: 0.82rem;
  font-weight: 600;
  color: #d7e6f5;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.routes-strip {
  background: linear-gradient(90deg, #0b2538, #12324a);
  border-block: 1px solid var(--line);
}

.routes-inner {
  padding: 0.9rem 0;
  font-size: 0.92rem;
  color: #c9dceb;
}

.routes-inner strong {
  color: var(--accent);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

/* Pricing */
.pricing {
  background:
    radial-gradient(ellipse at top left, rgba(30, 200, 232, 0.08), transparent 45%),
    var(--bg);
}

.price-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.price-tab {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.price-tab.is-active {
  color: #041018;
  background: var(--accent);
  border-color: var(--accent);
}

.price-panel {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.price-panel.is-active {
  display: block;
  animation: fadeUp 0.35s ease both;
}

.price-panel h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.15rem;
}

.price-note {
  margin: 0.4rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.price-panel table {
  width: 100%;
  border-collapse: collapse;
}

.price-panel th,
.price-panel td {
  text-align: left;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.price-panel th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-panel td strong {
  color: var(--price);
  font-size: 1.05rem;
  font-family: var(--display);
}

/* Fleet */
.fleet {
  background: var(--bg-soft);
}

.fleet-grid {
  display: grid;
  gap: 1.25rem;
}

.fleet-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.fleet-item figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a1522;
}

.fleet-item picture,
.fleet-item img {
  width: 100%;
  height: 100%;
  display: block;
}

.fleet-item img {
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.fleet-vf6 img {
  object-position: 50% 55%;
  background: #d8d8d8;
}

.fleet-vf8 img {
  object-position: 28% center;
}

.fleet-limo img {
  object-position: 45% 55%;
}

.fleet-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 639px) {
  .fleet-item figure {
    aspect-ratio: 4 / 3;
  }
}

.fleet-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.fleet-body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.2rem;
}

.fleet-meta {
  margin: 0.35rem 0 0.65rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
}

.fleet-meta span {
  color: var(--price);
}

.fleet-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.fleet-body > a {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 700;
  color: #fff;
}

/* Benefits */
.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.benefit-list li {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.benefit-list h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.1rem;
}

.benefit-list p {
  margin: 0;
  color: var(--muted);
}

/* SEO copy */
.seo-copy {
  background: linear-gradient(180deg, var(--bg), #091826);
}

.seo-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.3rem, 3.5vw, 1.75rem);
}

.seo-copy p {
  color: #c5d4e4;
  margin: 0 0 1rem;
}

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  background: var(--surface);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 800;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0.2rem;
  color: var(--muted);
}

/* Contact CTA */
.contact-cta {
  padding-bottom: 5.5rem;
}

.contact-inner {
  text-align: center;
  padding: 2.5rem 1.25rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 200, 232, 0.2), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
}

.contact-inner h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.contact-inner > p {
  margin: 0.75rem auto 0;
  color: var(--muted);
  max-width: 34ch;
}

.contact-inner .hero-cta {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #050d16;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 6.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.brand-footer {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
}

.site-footer p {
  margin: 0.25rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: #fff;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

/* Floating contact — sticky while scrolling */
.float-contact {
  position: fixed;
  right: 14px;
  bottom: var(--float-offset);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}

.float-btn:hover {
  transform: scale(1.06);
  text-decoration: none;
}

.float-btn span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.float-zalo {
  background: var(--zalo);
}

.float-call {
  background: var(--call);
  animation: pulse 2.4s ease infinite;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(22, 163, 74, 0);
  }
}

/* Tablet+ */
@media (min-width: 640px) {
  .price-tabs {
    grid-template-columns: repeat(4, 1fr);
  }

  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1.2fr;
  }

  .float-btn {
    width: auto;
    height: auto;
    min-height: 52px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    grid-auto-flow: column;
    display: inline-flex;
    gap: 0.45rem;
    font-weight: 700;
  }

  .float-btn span {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
  }
}

@media (min-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    padding: 0;
    background: transparent;
    overflow: visible;
    z-index: auto;
  }

  .site-nav a {
    border: 0;
    padding: 0;
    font-size: 0.92rem;
    color: #d7e4f1;
  }

  .site-nav a:hover {
    color: #fff;
  }

  .site-nav .btn {
    margin-top: 0;
  }

  .hero-content {
    padding: 7rem 0 4.5rem;
  }

  .hero h1 {
    max-width: 22ch;
  }

  .fleet-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefit-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 2rem;
  }

  .section {
    padding: 5rem 0;
  }

  .contact-cta {
    padding-bottom: 5rem;
  }

  .site-footer {
    padding-bottom: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
