/* ==========================================================================
   NoviTrip Airport Transfers Landing Page Styles (UI/UX Pro Max)
   Design System: Swiss Minimalist + Luxury Ground Transport OTA
   Tokens: Primary #0f3952 | Accent #0070f3 | Cyan #38bdf8 | Surface #ffffff
   ========================================================================== */

:root {
  --tf-primary: #0f3952;
  --tf-primary-hover: #0a2535;
  --tf-accent: #0070f3;
  --tf-accent-hover: #0056b3;
  --tf-accent-light: #e0f2fe;
  --tf-cyan: #38bdf8;
  --tf-text-main: #0f172a;
  --tf-text-muted: #64748b;
  --tf-bg: #f8fafc;
  --tf-surface: #ffffff;
  --tf-border: #e2e8f0;
  --tf-radius-sm: 8px;
  --tf-radius-md: 12px;
  --tf-radius-lg: 16px;
  --tf-radius-xl: 24px;
  --tf-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --tf-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --tf-shadow-lg: 0 12px 30px -8px rgba(15, 57, 82, 0.15);
  --tf-shadow-xl: 0 20px 45px -12px rgba(15, 23, 42, 0.22);
  --tf-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.transfers-landing-view {
  background: var(--tf-bg);
  color: var(--tf-text-main);
  overflow-x: hidden;
  display: block;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */

.transfers-hero-section {
  position: relative;
  min-height: 470px;
  background: #0f2331 url('/images/transfers/transfer-hero-bg.jpg') no-repeat center center / cover;
  display: flex;
  align-items: center;
  padding: 64px 24px 120px;
  box-sizing: border-box;
}

.transfers-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(10, 22, 40, 0.86) 0%,
      rgba(15, 35, 55, 0.62) 48%,
      rgba(15, 35, 55, 0.18) 100%);
  z-index: 1;
}

.transfers-hero-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.transfers-hero-content {
  max-width: 650px;
}

.transfers-hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.transfers-hero-title .highlight-cyan {
  color: var(--tf-cyan);
  display: inline-block;
}

.transfers-hero-subtitle {
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  color: #f1f5f9;
  line-height: 1.55;
  margin: 0;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   2. FLOATING SEARCH BAR WRAPPER (HOME TAB UNIFIED LOGIC)
   ========================================================================== */

.transfers-search-wrapper {
  max-width: 1280px;
  margin: -72px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 20;
}

.transfers-search-wrapper #services-content {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.transfers-search-wrapper #services-content .transfers-v3-card {
  background: #ffffff !important;
  border-radius: 22px !important;
  box-shadow: var(--tf-shadow-xl) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  padding: 20px 24px !important;
}

/* Suggestions dropdown elevation on landing page */
.transfers-search-wrapper .form-group {
  position: relative !important;
}

.transfers-search-wrapper .suggestions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 300px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border: 1px solid #e2e8f0;
  z-index: 1000;
  max-height: 340px;
  overflow-y: auto;
  display: none;
  padding: 8px 0;
}

.transfers-search-wrapper .suggestions-dropdown.show {
  display: block;
}

.transfers-search-wrapper .suggestions-dropdown h4 {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  padding: 8px 16px 6px;
  margin: 0;
}

.transfers-search-wrapper .suggestions-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.transfers-search-wrapper .suggestions-dropdown li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.transfers-search-wrapper .suggestions-dropdown li:hover {
  background: #f0f9ff;
}

.transfers-search-wrapper .suggestions-dropdown li i {
  color: var(--tf-accent);
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.transfers-search-wrapper .suggestion-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.transfers-search-wrapper .suggestion-main {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transfers-search-wrapper .suggestion-secondary {
  font-size: 0.78rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transfers-search-wrapper .suggestion-type {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0070f3;
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Time dropdown inside transfer search bar */
.transfers-search-wrapper .transfers-time-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 160px;
  max-height: 240px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.15);
  z-index: 1000;
  display: none;
  padding: 6px;
}

.transfers-search-wrapper .transfers-time-dropdown.open {
  display: block;
}

.transfers-search-wrapper .transfers-time-option {
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
  border-radius: 8px;
  cursor: pointer;
}

.transfers-search-wrapper .transfers-time-option:hover {
  background: #eff6ff;
  color: #0070f3;
}

/* Inline validation message */
.transfers-search-wrapper .transfer-inline-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.transfers-search-wrapper .transfer-inline-message.hidden {
  display: none !important;
}

.transfers-search-wrapper .transfer-inline-message-copy strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.transfers-search-wrapper .transfer-inline-message-copy p {
  margin: 0;
  font-size: 0.84rem;
}

.transfers-search-wrapper .transfer-inline-message-close {
  background: transparent;
  border: none;
  color: #991b1b;
  cursor: pointer;
  padding: 4px;
}

/* ==========================================================================
   3. 5-PILLAR TRUST RIBBON
   ========================================================================== */

.transfers-trust-ribbon {
  max-width: 1280px;
  margin: 36px auto 20px;
  padding: 0 24px;
}

.transfers-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 14px 8px;
}

.transfers-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.transfers-trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.transfers-trust-item:hover .transfers-trust-icon {
  transform: translateY(-2px);
  background: #bae6fd;
}

.transfers-trust-text {
  font-size: 0.88rem;
  line-height: 1.38;
  color: #334155;
  font-weight: 500;
}

/* ==========================================================================
   4. POPULAR AIRPORTS SECTION (4-COLUMN MOCKUP + EXPANDABLE DIRECTORY)
   ========================================================================== */

.transfers-airports-section {
  max-width: 1280px;
  margin: 36px auto 52px;
  padding: 0 24px;
}

.transfers-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
}

.transfers-section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.transfers-section-title {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.transfers-section-subtitle {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0;
}

.transfers-airports-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--tf-accent);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  transition: var(--tf-transition);
  white-space: nowrap;
}

.transfers-airports-toggle-btn:hover {
  background: #eff6ff;
  color: var(--tf-accent-hover);
}

.transfers-airports-toggle-btn i {
  font-size: 0.82rem;
  transition: transform 0.25s ease;
}

.transfers-airports-toggle-btn.expanded i {
  transform: rotate(180deg);
}

/* Regional Filter Chips */
.transfers-airport-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.airport-filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--tf-transition);
}

.airport-filter-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.airport-filter-chip.active {
  background: var(--tf-accent);
  border-color: var(--tf-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 112, 243, 0.25);
}

/* 4-Column Popular Airports Grid */
.transfers-airports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.transfer-airport-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--tf-shadow-sm);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: var(--tf-transition);
  position: relative;
}

.transfer-airport-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tf-shadow-lg);
  border-color: #cbd5e1;
}

.transfer-airport-card.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.airport-card-image-wrap {
  position: relative;
  height: 175px;
  overflow: hidden;
  background: #0f172a;
}

.airport-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.transfer-airport-card:hover .airport-card-image {
  transform: scale(1.06);
}

.airport-card-badge {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.airport-card-badge i {
  color: var(--tf-cyan);
  font-size: 0.72rem;
}

.airport-card-body {
  padding: 16px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
}

.airport-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.airport-card-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #475569;
  margin: 0;
}

.airport-card-code {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.airport-card-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.airport-price-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.airport-price-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tf-accent);
  line-height: 1.2;
}

/* ==========================================================================
   5. BOTTOM PANORAMIC BANNER
   ========================================================================== */

.transfers-panoramic-banner-wrap {
  max-width: 1280px;
  margin: 12px auto 56px;
  padding: 0 24px;
}

.transfers-panoramic-banner {
  position: relative;
  min-height: 250px;
  border-radius: 24px;
  overflow: hidden;
  background: #0f2331 url('/images/transfers/transfer-panoramic-banner.jpg') no-repeat center center / cover;
  display: flex;
  align-items: center;
  padding: 40px 48px;
  box-shadow: var(--tf-shadow-lg);
}

.transfers-panoramic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(10, 22, 40, 0.82) 0%,
      rgba(15, 35, 55, 0.45) 55%,
      rgba(15, 35, 55, 0.1) 100%);
  z-index: 1;
}

.transfers-panoramic-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.transfers-panoramic-headline {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.transfers-panoramic-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: var(--tf-transition);
}

.transfers-panoramic-cta:hover {
  background: var(--tf-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1100px) {
  .transfers-airports-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .transfers-trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .transfers-hero-section {
    min-height: 380px;
    padding: 48px 16px 96px;
  }

  .transfers-search-wrapper {
    padding: 0 16px;
    margin-top: -56px;
  }

  .transfers-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .transfers-airports-section {
    padding: 0 16px;
  }

  .transfers-panoramic-banner {
    padding: 28px 24px;
    min-height: 200px;
  }
}

@media (max-width: 520px) {
  .transfers-airports-grid {
    grid-template-columns: 1fr;
  }

  .transfers-trust-grid {
    grid-template-columns: 1fr;
  }
}