/* v254U — Home conversion and fee preview polish.
   Scope: homepage only, loaded after earlier public UI fixes to avoid broad regressions. */

.home-page .hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, .22), transparent 34%),
    radial-gradient(circle at 80% 16%, rgba(34, 197, 94, .12), transparent 30%),
    linear-gradient(135deg, rgba(5, 20, 45, .94) 0%, rgba(9, 30, 66, .9) 52%, rgba(3, 74, 94, .86) 100%),
    url('/assets/img/hero-vietnam-arrival-flip.png') center/cover no-repeat !important;
  min-height: auto !important;
  padding: 72px 0 68px !important;
}

.home-page .home-conversion-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 475px) !important;
  gap: 42px !important;
  align-items: center !important;
}

.home-page .home-hero-copy {
  max-width: 780px !important;
}

.home-page .home-hero-headline {
  max-width: 760px !important;
  margin-bottom: 18px !important;
}

.home-page .home-hero-headline .headline-text {
  letter-spacing: -0.055em !important;
}

.home-page .home-hero-subcopy {
  max-width: 720px !important;
  font-size: 18px !important;
  line-height: 1.68 !important;
  color: #e0f2fe !important;
}

.home-page .home-hero-copy .notice {
  max-width: 720px !important;
  border-color: rgba(255,255,255,.28) !important;
  background: rgba(15,23,42,.42) !important;
  color: #f8fafc !important;
}

.home-page .home-trust-strip {
  max-width: 760px !important;
  margin: 18px 0 18px !important;
}

.home-page .home-trust-strip span {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(219,234,254,.42) !important;
  color: #f8fafc !important;
  backdrop-filter: blur(10px);
}

.home-page .home-hero-actions {
  gap: 12px !important;
}

.home-page .home-hero-actions .btn {
  min-height: 50px !important;
  box-shadow: 0 16px 34px rgba(15,23,42,.18);
}

.home-page .home-fee-preview-card {
  width: 100% !important;
  max-width: 475px !important;
  background: rgba(255,255,255,.95) !important;
  border: 1px solid rgba(226,232,240,.92) !important;
  box-shadow: 0 28px 84px rgba(5, 13, 31, .26) !important;
}

.home-page .home-fee-preview-card .compact-fee-head {
  align-items: flex-start !important;
  margin-bottom: 18px !important;
}

.home-page .home-fee-preview-card .compact-fee-head h2 {
  font-size: 30px !important;
}

.home-page .home-fee-preview-card .compact-fee-head p {
  white-space: normal !important;
  max-width: 260px !important;
}

.home-page .fee-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, .2);
  background: #eff6ff;
  color: #075985;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .01em;
}

.home-page .home-fee-preview-card .compact-fee-fields {
  gap: 12px !important;
}

.home-page .home-fee-preview-card .compact-fee-fields label {
  color: #334155 !important;
  font-weight: 850 !important;
}

.home-page .home-fee-preview-card .compact-fee-fields select {
  border-color: rgba(148,163,184,.42) !important;
  background-color: #fff !important;
}

.home-page .home-fee-preview-card .compact-fee-bottom {
  background: linear-gradient(135deg, #fff7ed, #fef2f2) !important;
  border-color: rgba(248,113,113,.36) !important;
}

.home-page .home-fee-preview-card .compact-total strong {
  font-size: 38px !important;
}

.home-page .fee-note {
  margin: 10px 0 0 !important;
  color: #64748b !important;
  line-height: 1.45 !important;
}

.home-page .section-kicker-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.home-page .section-kicker-row h2 {
  margin-bottom: 8px;
}

.home-page .section-kicker-row .section-lead {
  max-width: 760px;
  margin: 0;
}

.home-page .section-side-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

.home-page .home-route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.home-page .home-route-card {
  position: relative;
  min-height: 252px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(226,232,240,.88) !important;
  background: linear-gradient(180deg, #fff, #f8fafc) !important;
  box-shadow: 0 18px 42px rgba(15,23,42,.07) !important;
}

.home-page .home-route-card strong {
  font-size: 18px;
  line-height: 1.22;
}

.home-page .home-route-card .muted {
  flex: 1;
  margin: 0;
}

.home-page .home-route-card .text-link {
  margin-top: auto;
  font-weight: 900;
}

.home-page .urgent-route-card {
  border-color: rgba(248,113,113,.34) !important;
  background: linear-gradient(180deg, #fff, #fff7ed) !important;
}

.home-page .route-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-size: 12px;
  font-weight: 900;
}

.home-page .urgent-route-card .route-tag {
  background: #fee2e2;
  color: #991b1b;
}

.home-page .trust-section {
  background: linear-gradient(180deg, #f8fafc, #fff) !important;
}

.home-page .trust-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.home-page .trust-card {
  min-height: 178px;
}

.home-page .home-fees-teaser .grid.two,
.home-page .how-home .how-layout {
  gap: 34px !important;
  align-items: center !important;
}

.home-page .home-image-panel {
  border-radius: 30px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 56px rgba(15,23,42,.12) !important;
}

.home-page .home-final-cta {
  padding-top: 34px !important;
}

.home-page .home-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 32px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 22%, rgba(56,189,248,.28), transparent 34%),
    linear-gradient(135deg, #082f49, #0f766e);
  box-shadow: 0 26px 70px rgba(15,23,42,.16);
}

.home-page .home-cta-card .eyebrow,
.home-page .home-cta-card h2,
.home-page .home-cta-card p {
  color: #fff !important;
}

.home-page .home-cta-card h2 {
  margin: 0 0 10px;
  max-width: 760px;
}

.home-page .home-cta-card p {
  margin: 0;
  color: #dbeafe !important;
  max-width: 700px;
}

.home-page .home-cta-actions {
  display: grid;
  gap: 10px;
  min-width: 190px;
}

.home-page .home-cta-actions .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 1180px) {
  .home-page .home-conversion-hero-grid {
    grid-template-columns: 1fr !important;
  }
  .home-page .home-fee-preview-card {
    max-width: 720px !important;
    margin: 0 !important;
  }
  .home-page .home-route-grid,
  .home-page .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .home-page .hero {
    padding: 42px 0 36px !important;
  }
  .home-page .home-hero-headline {
    margin-bottom: 12px !important;
  }
  .home-page .home-hero-subcopy {
    font-size: 16px !important;
    line-height: 1.58 !important;
  }
  .home-page .home-fee-preview-card .compact-fee-head {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .home-page .fee-badge {
    justify-content: flex-start;
    width: fit-content;
  }
  .home-page .section-kicker-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }
  .home-page .section-side-cta {
    width: 100%;
    justify-content: center;
  }
  .home-page .home-route-grid,
  .home-page .trust-grid {
    grid-template-columns: 1fr !important;
  }
  .home-page .home-route-card,
  .home-page .trust-card {
    min-height: 0;
  }
  .home-page .home-image-panel {
    display: none !important;
  }
  .home-page .home-cta-card {
    grid-template-columns: 1fr;
    padding: 24px;
    border-radius: 26px;
  }
  .home-page .home-cta-actions {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .home-page .home-hero-actions {
    grid-template-columns: 1fr !important;
  }
  .home-page .home-fee-preview-card .compact-fee-bottom {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }
  .home-page .home-fee-preview-card .compact-fee-bottom .btn {
    width: 100% !important;
  }
}
