:root {
  --brand: #0b7a75;
  --accent: #13a89e;
  --muted: #6b7280;
  --bg: #f7fafb;
  --card: #ffffff;
  --radius: 12px;
  --max-width: 1100px;
  --container-padding: 20px;
  --shadow: 0 6px 20px rgba(11, 122, 117, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: #0f172a;
}
a {
  color: var(--brand);
  text-decoration: none;
}

/* Page container */
.wrap {
  max-width: var(--max-width);
  margin: 28px auto;
  padding: 0 var(--container-padding);
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo .mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}
nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
}
.btn-primary {
  background: var(--brand);
  color: white;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
}
.hero .title {
  font-size: 28px;
  line-height: 1.05;
  margin: 0 0 8px;
}
.hero .lead {
  color: var(--muted);
  margin: 0 0 18px;
}
.hero .ctas {
  display: flex;
  gap: 10px;
}
.hero-card {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

/* Quick benefits */
.benefits {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.benefit {
  background: linear-gradient(180deg, #ffffff, #fbffff);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.benefit .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vehicles */
.section {
  margin-top: 34px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card {
  background: var(--card);
  padding: 14px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.card .image {
  height: 175px;
  border-radius: 10px;
  background: linear-gradient(90deg, #e6f7f5, #f1fbfa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
}
.car-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

/* Pricing table */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.price-card {
  background: linear-gradient(180deg, #fff, #fcfffe);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}
.price {
  font-weight: 800;
  font-size: 20px;
}

/* Process */
.steps {
  display: flex;
  gap: 12px;
}
.step {
  flex: 1;
  background: var(--card);
  padding: 12px;
  border-radius: 10px;
  text-align: center;
}

/* Reviews */
.reviews {
  display: flex;
  gap: 12px;
}
.review {
  background: var(--card);
  padding: 12px;
  border-radius: 10px;
}

/* FAQ */
.faq-item {
  background: var(--card);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}

footer {
  margin: 32px 0 80px;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fdfc);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

/* Small screens */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
      grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 12px;
  }
  nav {
    display: none;
  }
  header {
    flex-direction: row;
    align-items: center;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .price-grid {
    grid-template-columns: 1fr;
  }
  .benefits {
    flex-direction: column;
  }
}

/* Utility */
.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}
.pill {
  background: #eefdfa;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--brand);
  font-weight: 700;
}

/* booking form inside hero card */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.input,
select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6edf0;
  width: 100%;
}
.row {
  display: flex;
  gap: 8px;
}
.row .col {
  flex: 1;
}

/* small helpers */
.logo-text {
  font-weight: 700;
}
.mini {
  font-size: 13px;
  color: var(--muted);
}

/* Slideshow container */
* {
  box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.mySlides img {
  height: 450px;
  width: 100%;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Slideshow cho ảnh trong thẻ .card .image */
.card .image {
  position: relative;
  width: 100%;
  /* Giữ tỷ lệ khung để không giật layout; đổi được bằng --ratio nếu muốn */
  aspect-ratio: var(--ratio, 16 / 9);
  overflow: hidden;
  border-radius: 8px; /* tùy chọn */
}

.card .image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Không méo ảnh, cắt gọn nếu cần */
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 400ms ease, transform 400ms ease;
  will-change: opacity, transform;
}

/* Ảnh đang hiển thị */
.card .image img.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Fallback khi JS chưa chạy: hiện ảnh đầu tiên */
.card .image img:first-child {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .card .image img {
    transition: none;
  }
}

.social-icons {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.social-icons .icon {
  width: 36px;
  height: 36px;
  border: 2px solid #0066cc; /* màu xanh */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #0066cc;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.social-icons .icon:hover {
  background: #0066cc;
  color: white;
}

/* chỉnh riêng cho chữ Zalo */
.social-icons .zalo {
  font-size: 12px;
  font-family: Arial, sans-serif;
}