/* Homepage UX Batch 1 — hierarchy without changing global templates */

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 66px;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 196, 112, .28), transparent 27%),
    linear-gradient(135deg, #f8fbff 0%, #eef5fb 58%, #fff8ed 100%);
  border-bottom: 1px solid #dfe8f0;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -105px;
  width: 300px;
  height: 300px;
  border: 46px solid rgba(11, 58, 91, .055);
  border-radius: 50%;
  pointer-events: none;
}

.home-hero .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #0b3a5b;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.35rem, 5.8vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  color: #10283b;
}

.home-hero .lead {
  max-width: 680px;
  margin-top: 22px;
  font-size: 1.16rem;
  line-height: 1.65;
  color: #3f5668;
}

.home-hero .btn {
  border-radius: 999px;
}

.home-hero .btn.primary {
  box-shadow: 0 10px 26px rgba(11, 58, 91, .17);
}

.btn.ghost {
  color: #0b3a5b;
  border: 1px solid #b9cad7;
  background: rgba(255,255,255,.64);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #536878;
  font-size: .9rem;
}

.hero-proof li::before {
  content: "✓";
  margin-right: 7px;
  color: #19714c;
  font-weight: 800;
}

.home-section {
  padding: 64px 0;
}

.home-section h2 {
  margin: 0;
  color: #10283b;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.section-intro {
  max-width: 690px;
  margin: 13px 0 0;
  color: #596b79;
  font-size: 1.02rem;
}

.featured-city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.featured-city {
  position: relative;
  min-height: 138px;
  padding: 24px;
  color: #10283b;
  text-decoration: none;
  background: #fff;
  border: 1px solid #dfe7ed;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(22, 48, 68, .055);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.featured-city::after {
  content: "→";
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: #0b3a5b;
  font-size: 1.2rem;
  transition: transform .18s ease;
}

.featured-city:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: #b9ccd9;
  box-shadow: 0 12px 28px rgba(22, 48, 68, .09);
}

.featured-city:hover::after {
  transform: translateX(3px);
}

.featured-city .city-name {
  font-size: 1.24rem;
}

.featured-city .city-meta {
  max-width: 160px;
  line-height: 1.4;
}

.all-cities {
  margin-top: 22px;
  border-top: 1px solid #dfe7ed;
  border-bottom: 1px solid #dfe7ed;
}

.all-cities summary {
  padding: 18px 2px;
  color: #0b3a5b;
  font-weight: 750;
  cursor: pointer;
}

.all-cities summary:hover {
  color: #2f7dd1;
}

.compact-city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
  padding: 0 0 24px;
}

.compact-city-grid a {
  padding: 8px 0;
  color: #304c60;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #edf1f4;
}

.compact-city-grid a::after {
  content: " ›";
  color: #8294a2;
}

.compact-city-grid a:hover {
  color: #0b3a5b;
  text-decoration: underline;
}

.before-booking {
  background: #102f46;
  color: #fff;
}

.before-booking .container {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
}

.before-booking h2,
.before-booking .section-intro {
  color: #fff;
}

.before-booking .section-intro {
  opacity: .82;
}

.booking-checks {
  display: grid;
  gap: 12px;
}

.booking-check {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  align-items: start;
  padding: 15px 17px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
}

.booking-check strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
}

.booking-check span:last-child {
  color: rgba(255,255,255,.76);
  font-size: .92rem;
}

.check-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f5bd65;
  color: #102f46;
  font-weight: 900;
}

.payment-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
  background: #fff;
  border: 1px solid #dfe7ed;
  border-radius: 18px;
  overflow: hidden;
}

.payment-guide {
  padding: 26px;
}

.payment-guide + .payment-guide {
  border-left: 1px solid #e5ebef;
}

.payment-guide h3 {
  margin: 0 0 8px;
  color: #10283b;
}

.payment-guide p {
  margin: 0 0 13px;
  color: #5b6b77;
}

.payment-guide a {
  font-weight: 700;
  text-decoration: none;
}

.home-guides {
  background: #f1f5f7;
}

.home-guides .card {
  box-shadow: none;
  border-color: #dfe7ed;
}

.home-guides .card h3 {
  margin-top: 0;
}

@media (max-width: 820px) {
  .featured-city-grid,
  .payment-guide-grid {
    grid-template-columns: 1fr 1fr;
  }

  .payment-guide-grid {
    background: transparent;
    border: 0;
    gap: 14px;
    overflow: visible;
  }

  .payment-guide {
    background: #fff;
    border: 1px solid #dfe7ed;
    border-radius: 14px;
  }

  .payment-guide + .payment-guide {
    border-left: 1px solid #dfe7ed;
  }

  .before-booking .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding: 52px 0 46px;
  }

  .home-hero h1 {
    font-size: 2.5rem;
  }

  .home-hero .lead {
    font-size: 1.04rem;
  }

  .home-section {
    padding: 50px 0;
  }

  .featured-city-grid,
  .payment-guide-grid,
  .compact-city-grid {
    grid-template-columns: 1fr;
  }

  .featured-city {
    min-height: 112px;
  }

  .compact-city-grid {
    gap: 0;
  }

  .hero-proof {
    display: grid;
    gap: 7px;
  }
}
