/* --- Legal Pages --- */
.legal-page {
  position: relative;
  z-index: 1;
  padding: 120px 24px 80px;
  min-height: 100vh;
}

.legal-inner {
  max-width: 800px;
  margin: 0 auto;
  background: #FFF0D6;
  border: 3px solid rgba(123, 59, 58, 0.12);
  border-radius: 20px;
  padding: 48px 48px 56px;
}

.legal-title {
  font-family: 'Zain', 'Nunito', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #7B3B3A;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 14px;
  color: #9E4646;
  opacity: 0.7;
  margin-bottom: 40px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-family: 'Zain', 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #7B3B3A;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(123, 59, 58, 0.08);
}

.legal-section h3 {
  font-family: 'Zain', 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #9E4646;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-section p {
  font-size: 15px;
  line-height: 1.8;
  color: #7B3B3A;
  margin-bottom: 12px;
}

.legal-section ul {
  margin: 8px 0 16px 24px;
  padding: 0;
}

.legal-section ul li {
  font-size: 15px;
  line-height: 1.8;
  color: #7B3B3A;
  margin-bottom: 4px;
}

.legal-section a {
  color: #D4956A;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-section a:hover {
  color: #7B3B3A;
}

.legal-contact {
  list-style: none;
  margin-left: 0 !important;
  padding: 16px 20px;
  background: rgba(123, 59, 58, 0.04);
  border-radius: 12px;
  border: 2px solid rgba(123, 59, 58, 0.08);
}

.legal-contact li {
  margin-bottom: 4px;
}

/* Legal pages responsive */
@media (max-width: 768px) {
  .legal-page {
    padding: 96px 16px 48px;
  }

  .legal-inner {
    padding: 28px 24px 32px;
  }

  .legal-title {
    font-size: 28px;
  }

  .legal-section h2 {
    font-size: 19px;
  }
}

/* --- City Page --- */
.city-header {
  position: relative;
  z-index: 1;
  padding: 96px 24px 32px;
  background: #FFF0D6;
}

.city-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 14px;
  color: #9E4646;
  margin-bottom: 8px;
}
.breadcrumb a {
  color: #9E4646;
}
.breadcrumb a:hover {
  color: #7B3B3A;
}
.breadcrumb span {
  margin: 0 4px;
  opacity: 0.5;
}

.city-header {
  position: relative;
  overflow: hidden;
}

.city-cover-strip {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  z-index: 0;
}

.city-cover-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.city-cover-strip::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 220, 164, 0.5) 0%,
    rgba(250, 220, 164, 0.75) 50%,
    rgba(255, 240, 214, 0.95) 100%
  );
}

.city-header-inner {
  position: relative;
  z-index: 1;
}

.city-header-inner h1 {
  font-family: 'Zain', 'Nunito', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #7B3B3A;
  margin-bottom: 4px;
  line-height: 1.1;
}

/* Inline route map embed */
.route-embed {
  margin: 28px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid rgba(123, 59, 58, 0.12);
  background: #FFF0D6;
}

.route-embed-map {
  height: 360px;
  width: 100%;
}

.route-embed-bar {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.route-embed-icon {
  border-radius: 10px;
  flex-shrink: 0;
}

.route-embed-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.route-embed-name {
  font-size: 16px;
  font-weight: 800;
  color: #7B3B3A;
}

.route-embed-meta {
  font-size: 13px;
  color: #9E4646;
}

/* Route point markers — iOS app style */
.route-point-marker {
  width: 36px;
  height: 36px;
  background: linear-gradient(180deg, #AB47BC 0%, #7B1FA2 100%);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(74, 20, 140, 0.5), 0 0 0 2px rgba(123, 31, 162, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s;
}
.route-point-marker:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 12px rgba(74, 20, 140, 0.6), 0 0 0 2px rgba(123, 31, 162, 0.35);
}
.route-point-marker span {
  font-family: 'Zain', 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.city-hero-country {
  font-size: 18px;
  color: #9E4646;
  margin-bottom: 12px;
}

.city-hero-stats {
  display: flex;
  gap: 12px;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.stat-badge.green {
  background: linear-gradient(180deg, #7dd655 0%, #4fad2b 100%);
  box-shadow: 0 2px 0 #3a8a1e;
}
.stat-badge.blue {
  background: linear-gradient(180deg, #6bb8e8 0%, #4a90d9 100%);
  box-shadow: 0 2px 0 #3570b0;
}

/* City SEO text */
.city-seo-text {
  font-size: 17px;
  line-height: 1.8;
  color: #7B3B3A;
  max-width: 800px;
}
.city-seo-text figure {
  margin: 28px -24px;
  position: relative;
}
.city-seo-text figure img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center center;
  border-radius: 12px;
  will-change: transform;
}
.city-seo-text figcaption {
  text-align: center;
  font-size: 13px;
  color: #9E4646;
  margin-top: 8px;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .city-seo-text figure {
    margin: 20px -16px;
  }
  .city-seo-text figure img {
    height: 240px;
  }
}
.city-seo-text p {
  margin-bottom: 16px;
}
.city-seo-text h2 {
  font-family: 'Zain', 'Nunito', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #7B3B3A;
  margin: 32px 0 12px;
}

.city-content-section {
  background: #FFF0D6;
}

/* Route cards */
.routes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.route-card {
  background: #FFF0D6;
  border: 3px solid rgba(123, 59, 58, 0.12);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.route-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 59, 58, 0.12);
}

.route-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, #6bb8e8 0%, #4a90d9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 0 #3570b0;
  font-size: 24px;
  color: #fff;
}

.route-card-body {
  flex: 1;
}

.route-card-name {
  font-size: 18px;
  font-weight: 800;
  color: #7B3B3A;
  margin-bottom: 4px;
}

.route-card-meta {
  font-size: 13px;
  color: #9E4646;
}

.route-card-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  margin-left: 8px;
}
.route-card-tag.free {
  background: linear-gradient(180deg, #7dd655 0%, #4fad2b 100%);
  color: #fff;
}
.route-card-tag.paid {
  background: rgba(123, 59, 58, 0.08);
  color: #9E4646;
}

.city-cta {
  text-align: center;
  margin-top: 16px;
}

/* FAQ */
.faq-item {
  background: #FFF0D6;
  border: 2px solid rgba(123, 59, 58, 0.1);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-size: 17px;
  font-weight: 800;
  color: #7B3B3A;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  background: rgba(123, 59, 58, 0.03);
}
.faq-question::after {
  content: '+';
  font-size: 22px;
  color: #D4956A;
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after {
  content: '-';
}

.faq-answer {
  display: none;
  padding: 0 24px 18px;
  font-size: 15px;
  line-height: 1.7;
  color: #9E4646;
}
.faq-item.open .faq-answer {
  display: block;
}

/* --- Inline CTA block --- */
.inline-cta {
  margin: 32px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, #FFF0D6 0%, #FADCA4 100%);
  border: 3px solid rgba(123, 59, 58, 0.12);
  border-radius: 20px;
  text-align: center;
}
.inline-cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.inline-cta-text {
  font-size: 18px;
  font-weight: 800;
  color: #7B3B3A;
  margin-bottom: 6px;
}
.inline-cta-sub {
  font-size: 14px;
  color: #9E4646;
  margin-bottom: 16px;
}
.inline-cta .btn-app {
  display: inline-flex;
}

/* --- Compare table --- */
.compare-block {
  margin: 32px 0;
  border: 3px solid rgba(123, 59, 58, 0.12);
  border-radius: 20px;
  overflow: hidden;
}
.compare-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare-header-cell {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}
.compare-header-cell:first-child {
  background: #f5ead0;
  color: #9E4646;
}
.compare-header-cell:last-child {
  background: linear-gradient(135deg, #7dd655 0%, #4fad2b 100%);
  color: #fff;
}
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(123, 59, 58, 0.08);
}
.compare-cell {
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #7B3B3A;
}
.compare-cell:first-child {
  background: #FFF8ED;
  color: #9E4646;
}
.compare-cell:last-child {
  background: #FFF0D6;
}
.compare-cell .check {
  color: #4fad2b;
  font-weight: 800;
  margin-right: 4px;
}
.compare-cell .cross {
  color: #ccc;
  margin-right: 4px;
}
.compare-footer {
  padding: 16px 20px;
  text-align: center;
  background: #FFF0D6;
  border-top: 1px solid rgba(123, 59, 58, 0.08);
}
.compare-price {
  font-size: 22px;
  font-weight: 800;
  color: #7B3B3A;
}
.compare-price-note {
  font-size: 13px;
  color: #9E4646;
}

@media (max-width: 480px) {
  .compare-cell, .compare-header-cell {
    padding: 10px 12px;
    font-size: 13px;
  }
  .inline-cta {
    padding: 20px 16px;
  }
}

/* City page responsive */
@media (max-width: 768px) {
  .city-hero-content h1 {
    font-size: 28px;
  }
  .routes-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .city-hero {
    min-height: 280px;
  }
  .city-hero-content h1 {
    font-size: 24px;
  }
}
