*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
}

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

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HERO */
.taxi-app-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 140px 16px 10px;
  text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.taxi-app-hero h1 {
  font-size: 2.1em;
  color: #0f172a;
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.hero-logo-block {
  max-width: 260px;
  margin: 10px auto 14px;
}

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

/* Download + QR block */
.app-download-block {
  max-width: 720px;
  margin: 0 auto 18px;
  padding: 14px 16px 16px;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
}

.app-download-col {
  flex: 1 1 260px;
  text-align: center;
}

.app-download-label {
  margin: 0 0 6px;
  font-size: 0.9em;
  color: #4b5563;
}

.app-download-badges img {
  height: 52px;
  width: auto;
  display: block;
  margin: 4px auto;
}

.app-qr-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.app-qr-item {
  text-align: center;
  font-size: 0.85em;
  color: #4b5563;
}

.app-qr-item img {
  width: 90px;
  height: auto;
  display: block;
  margin: 0 auto 4px;
}

@media (max-width: 640px) {
  .taxi-app-hero {
    padding: 120px 16px 10px;
  }
  .app-download-block {
    padding: 12px 12px 14px;
  }
  .app-qr-row {
    gap: 12px;
  }
}

/* Carousel */
.carousel-container {
  max-width: 980px;
  margin: 0 auto 24px;
  padding: 0 16px;
  box-sizing: border-box;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 12px;
  padding-bottom: 6px;
}

.carousel::-webkit-scrollbar {
  height: 6px;
}

.carousel::-webkit-scrollbar-thumb {
  background: #cbd5f5;
  border-radius: 999px;
}

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.carousel-item img {
  display: block;
  height: 320px;
  width: auto;
}

/* Feature grid */
.taxi-app-wrapper {
  font-family: "Segoe UI", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f4f8fb;
  padding: 36px 20px 40px;
}

.taxi-section-title {
  text-align: center;
  font-size: 2em;
  color: #004b8d;
  margin-bottom: 24px;
  font-weight: 700;
}

.taxi-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}

.taxi-card {
  background-color: #ffffff;
  border: 1px solid #dce7f3;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 18px 18px 16px;
  flex: 1 1 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
  box-sizing: border-box;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.taxi-card:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.taxi-card h3 {
  color: #004b8d;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.taxi-card p {
  color: #333;
  font-size: 0.96em;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .taxi-card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 640px) {
  .taxi-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.taxi-summary {
  background: #e9f3fc;
  padding: 22px;
  border-left: 5px solid #004b8d;
  border-radius: 8px;
  margin-top: 32px;
  font-size: 1.02em;
  line-height: 1.7;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* ==== Shared related-links block (cluster internal linking) ==== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.related-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.95rem;
  color: #111827;
}

.related-card a {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 2px;
}
