/* Marketing homepage — white canvas, red brand accents, full-bleed hero */

.home-shell {
  min-height: 100%;
  overflow-x: clip;
  background: #ffffff;
  color: #18181b;
}

.home-container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 72rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .home-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #f4f4f5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.home-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #52525b;
  transition: color 0.15s ease;
}

.home-nav-link:hover,
.home-nav-link[data-active="true"] {
  color: #dc2626;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 0.5rem;
  background: #dc2626;
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  transition: background 0.15s ease, transform 0.15s ease;
}

.home-cta:hover {
  background: #b91c1c;
}

.home-cta:active {
  transform: scale(0.98);
}

.home-signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid #e4e4e7;
  background: #fff;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #18181b;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.home-signin:hover {
  border-color: #fecaca;
  color: #dc2626;
  background: #fef2f2;
}

.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(24, 24, 27, 0.55);
}

.auth-modal {
  width: 100%;
  max-width: 26rem;
  border-radius: 1.1rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(24, 24, 27, 0.28);
}

.auth-modal-close {
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 1.4rem;
  line-height: 1;
  color: #52525b;
}

.auth-modal-close:hover {
  background: #f4f4f5;
  color: #18181b;
}

.auth-input {
  width: 100%;
  border-radius: 0.7rem;
  border: 1px solid #e4e4e7;
  background: #fff;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  color: #18181b;
  outline: none;
}

.auth-input:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

@media (min-width: 640px) {
  .auth-modal-backdrop {
    align-items: center;
  }
}

.home-hero {
  position: relative;
  z-index: 10;
  isolation: isolate;
  /* Must stay visible — overflow:hidden clipped the search autocomplete */
  overflow: visible;
  min-height: clamp(28rem, 62vw, 36rem);
  border-bottom: 1px solid #f4f4f5;
  background: #fafafa;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.home-hero-media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 42%, rgba(255, 255, 255, 0.35) 70%, rgba(255, 255, 255, 0.15) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 40%);
}

@media (max-width: 767px) {
  .home-hero-media::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 55%, rgba(255, 255, 255, 0.55) 100%);
  }
}

.home-search-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 0.85rem;
  border: 1px solid #e4e4e7;
  background: #fff;
  padding: 0.45rem;
  box-shadow: 0 12px 40px rgba(24, 24, 27, 0.08);
}

@media (min-width: 640px) {
  .home-search-box {
    flex-direction: row;
    align-items: stretch;
  }
}

.home-search-input {
  min-height: 3rem;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
  color: #18181b;
  outline: none;
}

.home-search-input::placeholder {
  color: #a1a1aa;
}

.home-card {
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid #e4e4e7;
  background: #fff;
  box-shadow: 0 4px 18px rgba(24, 24, 27, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-card:hover {
  border-color: #fecaca;
  box-shadow: 0 10px 28px rgba(220, 38, 38, 0.1);
  transform: translateY(-2px);
}

.home-section-title {
  font-family: var(--font-heading), sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #18181b;
}

.home-section-title span {
  color: #dc2626;
}

.home-stat-bar {
  background: #f4f4f5;
  border-block: 1px solid #e4e4e7;
}

.home-partner-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #18181b;
  color: #fff;
}

.home-partner-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(24, 24, 27, 0.94) 0%, rgba(24, 24, 27, 0.78) 55%, rgba(24, 24, 27, 0.55) 100%),
    url("https://images.unsplash.com/photo-1436491865332-7a61a1093540?auto=format&fit=crop&w=1600&q=80")
      center / cover;
}

.home-footer {
  background: #18181b;
  color: #a1a1aa;
}

.home-footer a:hover {
  color: #fff;
}

.blog-prose {
  color: #3f3f46;
  font-size: 1.05rem;
  line-height: 1.75;
}

.blog-prose p + p,
.blog-prose p + h2,
.blog-prose ul + p,
.blog-prose p + ul,
.blog-prose blockquote + p,
.blog-prose p + blockquote,
.blog-prose h2 + p,
.blog-prose ul + h2,
.blog-prose blockquote + h2 {
  margin-top: 1.15rem;
}

.blog-prose h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #18181b;
}

.blog-prose ul {
  margin: 1rem 0 0;
  list-style: none;
  padding: 0;
}

.blog-prose li {
  position: relative;
  padding-left: 1.25rem;
}

.blog-prose li + li {
  margin-top: 0.55rem;
}

.blog-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #dc2626;
}

.blog-prose blockquote {
  margin: 1.5rem 0 0;
  border-left: 3px solid #dc2626;
  border-radius: 0 0.85rem 0.85rem 0;
  background: #fef2f2;
  padding: 1rem 1.15rem;
}

.blog-prose blockquote p {
  font-weight: 600;
  color: #18181b;
}

.area-iata {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  background: #dc2626;
  padding: 0.28rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
}

.area-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #fecaca;
  background: #fff;
  padding: 0.28rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #991b1b;
}

.area-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid #e4e4e7;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  color: #3f3f46;
}

.area-stat-pill strong {
  color: #18181b;
}

.area-faq {
  border-radius: 0.85rem;
  border: 1px solid #e4e4e7;
  background: #fff;
  padding: 1rem 1.15rem;
}

.area-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #18181b;
}

.area-faq p {
  margin-top: 0.65rem;
  font-size: 0.925rem;
  line-height: 1.65;
  color: #52525b;
}
