/* Flight starting screen only. Keep the existing wizard and form handlers. */
#smart-pane-1 {
  min-height: calc(100svh - 110px);
  background: #fff url('../assets/brand/flight-hero-globe-hires.png') no-repeat center top;
  background-size: clamp(880px, 82vw, 1440px) auto;
  border-radius: 24px;
  padding: 0;
}
#smart-pane-1 .opt4-hero-container {
  max-width: 1440px;
  padding: clamp(32px, 4vw, 64px) clamp(24px, 3vw, 48px) 40px;
  gap: 36px;
}
#smart-pane-1 .opt4-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
}
#smart-pane-1 .opt4-hero-left { max-width: 660px; min-width: 0; gap: 24px; }
#smart-pane-1 .opt4-heading-wrap { margin: 0; }
#smart-pane-1 .opt4-eyebrow {
  font-family: inherit;
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #7b97b1;
  margin-bottom: 18px;
}
#smart-pane-1 .opt4-hero-title {
  font-size: clamp(40px, 4.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -2.4px;
  margin-bottom: 18px;
}
#smart-pane-1 .opt4-hero-sub { max-width: 550px; font-size: 15px; line-height: 1.65; }
#smart-pane-1 .opt4-hero-sub strong { color: inherit; font-weight: inherit; }
#smart-pane-1 .opt4-search-card {
  max-width: none;
  width: 100%;
  padding: 22px;
  gap: 14px;
  border: 1px solid #dce7ee;
  border-radius: 22px;
  box-shadow: 0 12px 36px rgba(26, 73, 82, .08);
}
#smart-pane-1 .opt4-route-grid { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
#smart-pane-1 .opt4-route-field { padding: 15px 12px; }
#smart-pane-1 .opt4-city-input { font-size: 15px; width: 100%; }
#smart-pane-1 .opt4-field-tag { font-size: 10px; margin-bottom: 6px; }
#smart-pane-1 .opt4-subname { font-size: 11px; margin-top: 5px; }
#smart-pane-1 .opt4-date-field { padding: 12px; }
#smart-pane-1 .opt4-date-val { font-size: 14px; }
#smart-pane-1 .opt4-cta-btn { min-height: 50px; font-size: 16px; border-radius: 11px; }
#smart-pane-1 .opt4-trust-strip { max-width: none; margin: 0; gap: 14px; }
#smart-pane-1 .opt4-trust-icon-wrap { width: 36px; height: 36px; }
#smart-pane-1 .opt4-trust-metric { font-size: 13px; }
#smart-pane-1 .opt4-trust-sub { font-size: 11px; margin-top: 3px; }
#smart-pane-1 .opt4-hero-right {
  min-height: 0;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 44px;
}
#smart-pane-1 .opt4-callout-card {
  max-width: 300px;
  padding: 20px;
  gap: 16px;
  border: 1px solid #c8eeeb;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(21, 122, 125, .10);
  animation: none;
}
#smart-pane-1 .opt4-callout-icon { width: 44px; height: 44px; }
#smart-pane-1 .opt4-callout-title { font-size: 16px; }
#smart-pane-1 .opt4-callout-sub { font-size: 12px; line-height: 1.5; margin-top: 6px; }
#smart-pane-1 .opt4-airlines-bar { padding-top: 28px; margin: 0; gap: 24px; }
#smart-pane-1 .opt4-airlines-logos { min-width: 0; gap: 24px; flex-wrap: wrap; }
#smart-pane-1 .opt4-logo-item { cursor: default; }
#smart-pane-1 .opt4-airlines-more { color: #758aa1; cursor: default; font-weight: 500; }
#smart-pane-1 .opt4-airlines-more:hover { background: transparent; color: #758aa1; }
#smart-pane-1 button:focus-visible,
#smart-pane-1 input:focus-visible { outline: 2px solid #0f766e; outline-offset: 4px; }
@media (max-width: 1100px) {
  #smart-pane-1 { background-size: auto 720px; background-position: 58% top; }
  #smart-pane-1 .opt4-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; }
  #smart-pane-1 .opt4-search-card { padding: 16px; }
  #smart-pane-1 .opt4-iata-badge { display: none; }
  #smart-pane-1 .opt4-trust-strip { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  #smart-pane-1 { border-radius: 18px; background-size: auto 520px; background-position: right -180px top; }
  #smart-pane-1 .opt4-hero-container { padding: 30px 20px; gap: 28px; }
  #smart-pane-1 .opt4-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #smart-pane-1 .opt4-hero-left { max-width: none; }
  #smart-pane-1 .opt4-heading-wrap { padding-top: 12px; }
  #smart-pane-1 .opt4-hero-title { font-size: clamp(34px, 7vw, 48px); letter-spacing: -1.5px; }
  #smart-pane-1 .opt4-eyebrow { font-size: 9px; max-width: 260px; line-height: 1.7; }
  #smart-pane-1 .opt4-hero-sub { font-size: 14px; background: rgba(255,255,255,.8); border-radius: 8px; }
  #smart-pane-1 .opt4-hero-right { padding: 0; justify-content: flex-start; }
  #smart-pane-1 .opt4-callout-card { max-width: none; width: 100%; box-sizing: border-box; padding: 16px; }
  #smart-pane-1 .opt4-callout-title br,
  #smart-pane-1 .opt4-callout-sub br { display: none; }
  #smart-pane-1 .opt4-trust-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  #smart-pane-1 .opt4-trust-cell { align-items: flex-start; flex-direction: column; }
  #smart-pane-1 .opt4-airlines-bar { gap: 18px; }
  #smart-pane-1 .opt4-airlines-logos { flex-basis: 100%; justify-content: flex-start; gap: 22px; }
}
@media (max-width: 480px) {
  #smart-pane-1 .opt4-hero-container { padding: 24px 12px; }
  #smart-pane-1 .opt4-search-card { padding: 14px; border-radius: 18px; }
  #smart-pane-1 .opt4-card-topbar { gap: 12px; }
  #smart-pane-1 .opt4-route-grid { grid-template-columns: minmax(0, 1fr); }
  #smart-pane-1 .opt4-route-field { padding: 12px; }
  #smart-pane-1 .opt4-swap-cell { padding: 0; height: 22px; }
  #smart-pane-1 .opt4-swap-btn { transform: rotate(90deg); }
  #smart-pane-1 .opt4-dates-row,
  #smart-pane-1 .opt4-dates-row.is-roundtrip { grid-template-columns: minmax(0, 1fr); }
  #smart-pane-1 .opt4-trust-metric { font-size: 12px; }
  #smart-pane-1 .opt4-trust-sub { font-size: 10px; }
}

/* Seamless full-page landing surface; later wizard steps retain their layout. */
body.flight-engine-wrapper:has(#smart-pane-1:not([style*="display: none"]):not([style*="display:none"])) {
  min-height: 100svh;
  background-color: #fff;
  background-image: url('../assets/brand/flight-hero-globe-hires.png');
  background-repeat: no-repeat;
  background-position: right top 90px;
  background-size: clamp(880px, 82vw, 1440px) auto;
}
body.flight-engine-wrapper:has(#smart-pane-1:not([style*="display: none"]):not([style*="display:none"])) #navbar {
  position: relative;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.flight-engine-wrapper:has(#smart-pane-1:not([style*="display: none"]):not([style*="display:none"])) #navbar .nav-pill-center {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.flight-engine-wrapper:has(#smart-pane-1:not([style*="display: none"]):not([style*="display:none"])) .smart-funnel-wrapper {
  margin: 0;
  padding: 0;
  overflow-x: visible;
}
body.flight-engine-wrapper:has(#smart-pane-1:not([style*="display: none"]):not([style*="display:none"])) #smart-pane-1 {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: calc(100svh - 76px);
}
body.flight-engine-wrapper:has(#smart-pane-1:not([style*="display: none"]):not([style*="display:none"])) #smart-pane-1 .opt4-hero-container {
  padding-top: clamp(32px, 4vw, 64px);
}
@media (max-width: 760px) {
body.flight-engine-wrapper:has(#smart-pane-1:not([style*="display: none"]):not([style*="display:none"])) {
  background-size: 760px auto;
  background-position: right -190px top 90px;
}
body.flight-engine-wrapper:has(#smart-pane-1:not([style*="display: none"]):not([style*="display:none"])) #navbar .nav-inner {
  padding-inline: 16px !important;
}
}
