/* TheBookFlight — Premium Dark Neumorphic OTA v5.1 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Dark Navy Neumorphic Palette */
  --bg-base: #0B1120;
  --bg-surface: #0F1729;
  --bg-card: #111B30;
  --bg-field: #0E172A;
  --bg-glass: rgba(16, 24, 48, 0.75);
  --bg-glass-hover: rgba(24, 36, 64, 0.85);

  /* Neumorphic Shadows — refined for V5 (softer) */
  --neu-dark: #070C17;
  --neu-light: #182540;
  --neu-out: 4px 4px 10px var(--neu-dark), -3px -3px 8px var(--neu-light);
  --neu-out-lg: 8px 8px 20px var(--neu-dark), -5px -5px 14px var(--neu-light);
  --neu-in: inset 2px 2px 6px var(--neu-dark), inset -2px -2px 5px var(--neu-light);
  --neu-in-sm: inset 2px 2px 4px var(--neu-dark), inset -1px -1px 3px var(--neu-light);

  /* Accent */
  --primary: #FF2D4F;
  --primary-glow: rgba(255, 45, 79, 0.25);
  --primary-gradient: linear-gradient(135deg, #FF3355 0%, var(--accent-primary) 100%);
  --primary-subtle: rgba(255, 45, 79, 0.10);

  /* Typography — readable on dark */
  --text-main: #FFFFFF;
  --text-muted: #A8B8D6;
  --text-label: #8FA4C8;
  --text-white-soft: rgba(255, 255, 255, 0.75);

  /* Borders */
  --border-light: rgba(255, 255, 255, 0.06);
  --border-field: rgba(255, 255, 255, 0.05);
  --border-field-hover: rgba(255, 255, 255, 0.12);
  --border-field-active: rgba(100, 160, 255, 0.30);

  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Flat shadows for non-neu elements */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);

  /* Geometry */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 100px;
  --container: 1180px;
}

body {
  background-color: var(--bg-base) !important;
  color: var(--text-main) !important;
  font-family: var(--font-body);
  margin: 0; padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; margin: 0; }
a { text-decoration: none; }

/* ANIMATION UTILS — DISABLED: moved to hp-styles */
/* [data-reveal] { opacity: 0; visibility: hidden; } */
/* [data-reveal].revealed { opacity: 1; visibility: visible; } */

.hp2-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 calc(24px + env(safe-area-inset-right)) 0 calc(24px + env(safe-area-inset-left));
}
@media (max-width: 768px) {
  .hp2-container {
    padding: 0 calc(16px + env(safe-area-inset-right)) 0 calc(16px + env(safe-area-inset-left));
  }
}

/* =========================================
   HERO SECTION — V5.1 Premium Neumorphic
========================================= */
.hp2-hero {
  position: relative;
  padding: 120px 0 64px;
  min-height: 60vh; /* Task 181: prevent layout shift */
  background:
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(30, 58, 138, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 80% 25%, rgba(255, 45, 79, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 30% 30% at 20% 30%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #0B1120 0%, #0E1830 50%, #0B1120 100%);
  overflow: hidden;
}

.hp2-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 30%, transparent 40%, rgba(11, 17, 32, 0.20) 100%),
    radial-gradient(circle 2px at 15% 40%, rgba(255,255,255,0.015) 0%, transparent 1px),
    radial-gradient(circle 2px at 85% 35%, rgba(255,255,255,0.015) 0%, transparent 1px),
    radial-gradient(circle 1.5px at 30% 60%, rgba(255,255,255,0.01) 0%, transparent 1px),
    radial-gradient(circle 1.5px at 70% 55%, rgba(255,255,255,0.01) 0%, transparent 1px);
  pointer-events: none;
}

.hp2-hero::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.hp2-hero__inner {
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: var(--container);
  margin: 0 auto;
}

.hp2-hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-label);
  margin-bottom: 20px;
  box-shadow: var(--neu-out);
}

.hp2-hero__title {
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #FFFFFF 30%, #B0C4E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp2-hero__sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
  font-weight: 500;
}

/* SEARCH CARD — Raised Neumorphic Console */
.hp2-search {
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid rgba(100, 160, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 20;
}

.hp2-search::before {
  content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10) 25%, rgba(255, 255, 255, 0.10) 75%, transparent);
  border-radius: 1px;
}

/* =========================================
   TRUST STRIP (below hero)
========================================= */
.hp2-trust {
  background: transparent;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}

.hp2-trust__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hp2-trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.hp2-trust__item i {
  font-size: 16px;
  color: rgba(99, 140, 210, 0.6);
  background: var(--bg-card);
  padding: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--neu-out);
}

/* =========================================
   SECTIONS
========================================= */
.hp2-section { padding: 100px 0; }
.hp2-section--alt { background: var(--bg-surface); }
.hp2-section--light { background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%); }

.hp2-section-header { text-align: center; margin-bottom: 64px; }
.hp2-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: rgba(255, 43, 74, 0.1);
  color: var(--primary); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: 100px; margin-bottom: 16px;
}
.hp2-title { font-size: 40px; letter-spacing: -1px; margin-bottom: 16px; }
.hp2-accent { color: var(--primary); }
.hp2-subtitle { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* =========================================
   WHY CHOOSE US
========================================= */
.hp2-why__grid {
  display: flex; align-items: flex-start; justify-content: space-between; position: relative; padding: 40px 0;
}
.hp2-why__grid::before {
  content: ''; position: absolute; top: 80px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1) 50%, transparent);
  z-index: 1;
}
@media (max-width: 768px) {
  .hp2-why__grid { flex-direction: column; gap: 48px; }
  .hp2-why__grid::before { display: none; }
}
.hp2-why-card {
  flex: 1; text-align: center; position: relative; z-index: 2; padding: 32px 24px;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hp2-why-card:hover {
  transform: translateY(-8px);
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.hp2-why-card__icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--bg-card); color: var(--primary); font-size: 32px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--neu-out);
  transition: all 0.3s;
}
.hp2-why-card:hover .hp2-why-card__icon {
  transform: scale(1.1) translateY(-5px); border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(255, 43, 74, 0.2);
}
.hp2-why-card__title { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: #fff; }
.hp2-why-card__desc { color: var(--text-muted); line-height: 1.6; font-size: 14px; margin: 0; }

/* =========================================
   DESTINATIONS
========================================= */
.hp2-dest__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.hp2-holiday {
  position: relative; height: 420px; border-radius: 20px; overflow: hidden;
  text-decoration: none; display: block; box-shadow: var(--neu-out-lg);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hp2-holiday:hover { transform: translateY(-10px); }
.hp2-holiday img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.hp2-holiday:hover img { transform: scale(1.08); }
.hp2-holiday__overlay {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, transparent 100%);
}
.hp2-holiday__content {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 32px 24px;
}
.hp2-holiday__name { color: #fff; font-size: 24px; font-weight: 800; margin: 0 0 8px; font-family: var(--font-display); }
.hp2-holiday__meta { color: #10b981; font-weight: 800; font-size: 14px; }
.hp2-holiday__badge {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
  color: #fff; padding: 6px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700; border: 1px solid rgba(255,255,255,0.1);
}

/* =========================================
   TRENDING ROUTES
========================================= */
.hp2-routes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.hp2-route {
  background: var(--bg-surface);
  border-radius: var(--radius-md, 16px);
  padding: 24px;
  transition: all 0.4s var(--transition-spring, cubic-bezier(0.175, 0.885, 0.32, 1.275));
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: var(--neu-out, 0 4px 15px rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.hp2-route::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(100, 160, 255, 0.1), transparent 70%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.hp2-route:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: rgba(100, 160, 255, 0.3);
}
.hp2-route:hover::before { opacity: 1; }
.hp2-route__tag { align-self: flex-start; background: rgba(59, 130, 246, 0.15); color: #60a5fa; padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.hp2-route__cities { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.hp2-route__city { font-size: 28px; font-weight: 800; font-family: var(--font-display); color: #fff; line-height: 1; }
.hp2-route__arrow { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.03); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 20px; transition: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); border: 1px solid rgba(255,255,255,0.05); }
.hp2-route:hover .hp2-route__arrow { background: linear-gradient(135deg, var(--accent-primary), #ec4899); color: #fff; border-color: transparent; transform: rotate(360deg) scale(1.1); box-shadow: 0 8px 20px rgba(208, 2, 27, 0.4); }
.hp2-route__footer { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; transition: border-color 0.4s; }
.hp2-route:hover .hp2-route__footer { border-color: rgba(255,255,255,0.15); }
.hp2-route__price { font-size: 24px; font-weight: 800; color: var(--accent-primary); line-height: 1; }
.hp2-route__price span { display: block; font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-top: 4px; }
.hp2-route__savings { color: #10b981; font-size: 12px; font-weight: 800; background: rgba(16,185,129,0.15); padding: 4px 12px; border-radius: 100px; display: flex; align-items: center; gap: 4px;}

/* =========================================
   HOW IT WORKS (STEPS)
========================================= */
.hp2-steps__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  position: relative; margin-top: 48px;
}
.hp2-steps__grid::before {
  content: ''; position: absolute; top: 32px; left: 16%; right: 16%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 43, 74, 0.4) 50%, transparent);
  border-top: 1px dashed rgba(255, 43, 74, 0.6);
  z-index: 1;
}
@media (max-width: 768px) {
  .hp2-steps__grid::before { display: none; }
  .hp2-steps__grid { grid-template-columns: 1fr; gap: 48px; }
}
.hp2-step { text-align: center; position: relative; z-index: 2; }
.hp2-step__num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary-gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; margin: 0 auto 24px;
  box-shadow: 0 8px 24px var(--primary-glow); border: 4px solid var(--bg-surface);
}
.hp2-step__title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.hp2-step__desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* =========================================
   B2B SECTION
========================================= */
.hp2-b2b { padding: 0; margin-bottom: 100px; }
.hp2-b2b__inner {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
  position: relative; overflow: hidden;
  box-shadow: var(--neu-out-lg);
}

.hp2-b2b__inner::before {
  content: ''; position: absolute; right: -20%; top: -20%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}

.hp2-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-weight: 600; font-size: 14px;
  transition: 0.2s;
  box-shadow: var(--neu-out);
}
.hp2-btn-outline:hover { background: rgba(255,255,255,0.05); }

.hp2-b2b__features { display: flex; flex-direction: column; gap: 24px; }
.hp2-b2b__feat { display: flex; gap: 20px; align-items: flex-start; }
.hp2-b2b__feat-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--bg-field);
  color: #3b82f6; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; border: 1px solid rgba(255,255,255,0.04);
  box-shadow: var(--neu-out);
}
.hp2-b2b__feat h4 { font-size: 18px; color: #fff; margin-bottom: 6px; }
.hp2-b2b__feat p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* =========================================
   FAQ
========================================= */
.hp2-faq__list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.hp2-faq__item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: var(--neu-out);
}
.hp2-faq__item.open { border-color: rgba(255,255,255,0.1); }
.hp2-faq__q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 24px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.hp2-faq__q i { font-size: 24px; color: var(--text-muted); transition: 0.3s; }
.hp2-faq__item.open .hp2-faq__q i { transform: rotate(45deg); color: #fff; }
.hp2-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.hp2-faq__a p { padding: 0 24px 24px; margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* =========================================
   CTA
========================================= */
.hp2-cta { padding: 120px 0; text-align: center; }
.hp2-cta__inner { max-width: 700px; margin: 0 auto; }
.hp2-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary-gradient);
  color: #fff; padding: 16px 36px; border-radius: 18px;
  font-family: var(--font-display); font-size: 18px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px;
  border: none; cursor: pointer; transition: 0.3s;
  box-shadow: 0 8px 24px var(--primary-glow), var(--neu-out);
}
.hp2-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px var(--primary-glow); }

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */
@media (max-width: 1100px) {
  .hp2-dest__grid { grid-template-columns: repeat(2, 1fr); }
  
  .hp2-b2b__inner { grid-template-columns: 1fr; padding: 48px 32px; gap: 40px; }
}

@media (max-width: 768px) {
  .hp2-hero { padding: 100px 0 52px; }
  .hp2-hero__title { font-size: 34px; }
  .hp2-hero__sub { font-size: 14px; margin-bottom: 32px; max-width: 90%; }
  .hp2-dest__grid { grid-template-columns: 1fr; }
  .hp2-routes__grid { grid-template-columns: 1fr; }
  .hp2-why__grid { grid-template-columns: 1fr; }
  .hp2-trust__grid { gap: 24px; flex-direction: column; align-items: flex-start; }
}

/* Fix Header Overrides */
.tbf-header { background: rgba(11, 17, 32, 0.92) !important; backdrop-filter: blur(16px) !important; border-bottom: 1px solid rgba(255,255,255,0.05) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important; }

/* Remove bottom nav */
.hp2-app-nav { display: none; }

/* =========================================
   SEARCH MODULE (se5) — V4 Neumorphic
========================================= */
.se5 {
  position: relative; z-index: 1000; width: 100%;
}

/* -- Trip Type Tabs (Neumorphic Pills) -- */
.se5-tabs { display: flex; justify-content: flex-start; margin-bottom: 22px; }
.se5-tabs__track { display: inline-flex; position: relative; background: var(--bg-field); padding: 4px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.03); box-shadow: var(--neu-in); }
.se5-tabs__track input[type="radio"] { display: none; }
.se5-tabs__tab { position: relative; z-index: 2; padding: 10px 22px; font-size: 13px; font-weight: 600; color: var(--text-label); cursor: pointer; transition: all 0.25s; border-radius: 11px; display: flex; align-items: center; gap: 6px; }
.se5-tabs__tab i { font-size: 13px; }
.se5-tabs__tab:hover { color: #fff; }
.se5-tabs input[type="radio"]:checked + .se5-tabs__tab { color: #fff; font-weight: 700; }
.se5-tabs__slider { position: absolute; top: 4px; left: 4px; bottom: 4px; width: calc(33.33% - 3px); background: var(--bg-card); border-radius: 11px; z-index: 1; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: var(--neu-out); border: 1px solid rgba(255,255,255,0.04); }

/* -- Search Fields Container (Weighted Grid) -- */
.se5-fields { display: flex; flex-direction: row; background: transparent; padding: 0; gap: 10px; align-items: stretch; width: 100%; }

/* -- Give From/To more room -- */
.se5-field--from, .se5-field--to { flex: 1.3; }
.se5-field--date { flex: 1; }
.se5-field--pax { flex: 1.15; }

/* -- Individual Field (Compact Neumorphic) -- */
.se5-field { position: relative; flex: 1; background: var(--bg-field); border-radius: 14px; padding: 14px 16px; transition: all 0.25s; cursor: text; min-width: 0; border: 1px solid rgba(255,255,255,0.03); box-shadow: var(--neu-in); }
.se5-field:hover { border-color: var(--border-field-hover); box-shadow: var(--neu-in), 0 0 0 1px rgba(255,255,255,0.03); }
.se5-field:focus-within { border-color: var(--border-field-active); box-shadow: var(--neu-in), 0 0 10px rgba(100,160,255,0.06); }
.se5-field__label { display: block; font-size: 10.5px; font-weight: 700; color: var(--text-label); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.7px; }
.se5-field__well { display: flex; align-items: center; gap: 10px; }
.se5-field__icon { width: 30px; height: 30px; border-radius: 8px; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center; color: var(--text-label); flex-shrink: 0; transition: all 0.25s; box-shadow: var(--neu-out); }
.se5-field:focus-within .se5-field__icon { color: var(--primary); box-shadow: 0 0 8px var(--primary-glow); border-color: rgba(255,45,79,0.12); }
.se5-field__icon i { font-size: 14px; }
.se5-field__body { flex: 1; display: flex; align-items: center; justify-content: space-between; min-width: 0; gap: 8px; }
.se5-field__input { background: transparent; border: none; color: #fff; font-size: 16px; font-weight: 700; width: 100%; outline: none; font-family: var(--font-body); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se5-field__input::placeholder { color: var(--text-muted); font-weight: 500; font-size: 14px; }
.se5-field__input-col { display: flex; flex-direction: column; flex: 1; min-width: 0; align-items: flex-start; justify-content: center; }
.se5-field__subtitle { font-size: 11px; color: var(--text-label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: none; margin-top: 2px; }
.se5-field__subtitle.active { display: block; }
.se5-field__iata { font-size: 10px; font-weight: 800; color: var(--text-muted); background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04); padding: 3px 7px; border-radius: 6px; letter-spacing: 0.5px; box-shadow: var(--neu-out); flex-shrink: 0; }
.se5-field__iata:empty { display: none; }

/* -- Swap Button (Raised Neumorphic) -- */
.se5-swap-wrap { position: relative; width: 0; display: flex; align-items: center; justify-content: center; z-index: 10; align-self: stretch; }
.se5-swap { position: absolute; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04); color: var(--text-muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s; font-size: 16px; box-shadow: var(--neu-out); top: 50%; transform: translateY(-50%); }
.se5-swap:hover { color: var(--primary); transform: translateY(-50%) rotate(180deg); box-shadow: var(--neu-out), 0 0 8px var(--primary-glow); }
.se5-swap--spin { animation: swapSpin 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes swapSpin { 0% { transform: translateY(-50%) rotate(0); } 100% { transform: translateY(-50%) rotate(180deg); } }

/* -- Divider -- */
.se5-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.05); align-self: center; flex-shrink: 0; }

/* -- Pax Display -- */
.se5-pax-summary { color: #fff; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.se5-pax-cabin { font-size: 11px; color: var(--text-label); font-weight: 600; white-space: nowrap; display: block; overflow: hidden; text-overflow: ellipsis; }
.se5-field__body--pax { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; overflow: hidden; }
.se5-pax-arrow { color: var(--text-label); font-size: 16px; transition: transform 0.3s; flex-shrink: 0; }

/* Well states */
.se5-field__well--date { cursor: pointer; }
.se5-field__well--pax { cursor: pointer; }
.se5-field__well--disabled { opacity: 0.4; pointer-events: none; }

/* -- Pax Dropdown (Neumorphic Panel) -- */
.se5-pax-panel { position: absolute; top: calc(100% + 16px); right: 0; width: 340px; background: var(--bg-card); border-radius: var(--radius-md); box-shadow: var(--neu-out-lg); display: none; z-index: 9999; padding: 28px; border: 1px solid rgba(255,255,255,0.04); }
.se5-pax-panel.active { display: block; }
.se5-pax-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.se5-pax-info { flex: 1; }
.se5-pax-info strong { display: block; font-size: 15px; color: #fff; margin-bottom: 4px; font-weight: 700; }
.se5-pax-info span { font-size: 12px; color: var(--text-label); }
.se5-stepper { display: flex; align-items: center; gap: 10px; background: var(--bg-field); border-radius: 12px; padding: 5px; border: 1px solid rgba(255,255,255,0.03); box-shadow: var(--neu-in-sm); }
.se5-stepper__btn { 
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.04); 
  background: var(--bg-card); color: #fff; cursor: pointer; display: flex; 
  align-items: center; justify-content: center; 
  transition: all 0.2s var(--transition-fast, ease-out); 
  font-size: 18px; box-shadow: var(--neu-out); 
  user-select: none; /* Task 241 */
}
.se5-stepper__btn:hover { border-color: var(--border-field-hover); }
.se5-stepper__btn:active { 
  box-shadow: var(--neu-in-sm); 
  transform: scale(0.92); /* Task 241 */
}

.se5-stepper__btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.se5-stepper__val { font-weight: 700; font-size: 15px; width: 24px; text-align: center; color: #fff; }
.se5-cabin-row { margin-bottom: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.se5-cabin-row strong { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; font-weight: 700; }
.se5-cabin-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.se5-cabin-pill { display: block; cursor: pointer; }
.se5-cabin-pill input { display: none; }
.se5-cabin-pill span { display: block; padding: 11px; text-align: center; background: var(--bg-field); border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--text-label); border: 1px solid rgba(255,255,255,0.03); transition: all 0.3s; box-shadow: var(--neu-out); }
.se5-cabin-pill span:hover { border-color: var(--border-field-hover); }
.se5-cabin-pill input:checked + span { border-color: var(--primary); color: var(--primary); background: var(--primary-subtle); box-shadow: var(--neu-in-sm); }
.se5-pax-done { width: 100%; background: var(--bg-field); color: var(--primary); border: 1px solid rgba(255, 45, 79, 0.12); padding: 14px; border-radius: 12px; font-weight: 800; cursor: pointer; transition: 0.3s; font-family: var(--font-body); font-size: 14px; box-shadow: var(--neu-out); }
.se5-pax-done:hover { background: var(--primary-subtle); }
.se5-pax-done:active { box-shadow: var(--neu-in-sm); }

/* -- Autocomplete (Neumorphic Panel) -- */
.se5-ac { position: absolute; top: calc(100% + 12px); left: 0; width: 100%; min-width: 340px; background: var(--bg-card); border-radius: 16px; box-shadow: var(--neu-out-lg); display: none; z-index: 9999; overflow: hidden; border: 1px solid rgba(255,255,255,0.04); }
.se5-ac.active { display: block; }
.se5-ac__item { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; cursor: pointer; transition: background 0.2s; border-bottom: 1px solid rgba(255,255,255,0.03); }
.se5-ac__item:last-child { border-bottom: none; }
.se5-ac__item:hover { background: rgba(255, 255, 255, 0.03); }
.se5-ac__left { display: flex; align-items: center; }
.se5-ac__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-field); border: 1px solid rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center; margin-right: 14px; color: var(--text-label); box-shadow: var(--neu-in-sm); }
.se5-ac__icon i { font-size: 15px; }
.se5-ac__city { font-weight: 700; font-size: 14px; color: #fff; display: block; }
.se5-ac__airport { font-size: 12px; color: var(--text-label); font-weight: 500; }
.se5-ac__code { font-weight: 700; color: var(--text-muted); font-size: 12px; background: var(--bg-field); padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.04); letter-spacing: 0.5px; box-shadow: var(--neu-in-sm); }

/* -- Fare Type Chips (Neumorphic Pills) -- */
.se5-bottom { padding-top: 4px; }
.se5-fares { display: flex; gap: 8px; margin-bottom: 12px; align-items: center; flex-wrap: wrap; }
.se5-fares-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; margin-right: 4px; }
.se5-fare { cursor: pointer; }
.se5-fare input { display: none; }
.se5-fare span { display: inline-block; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04); font-size: 12px; font-weight: 600; color: var(--text-label); transition: all 0.25s; box-shadow: var(--neu-out); }
.se5-fare span:hover { color: #fff; box-shadow: var(--neu-out), 0 0 0 1px rgba(255,255,255,0.06); }
.se5-fare input:checked + span { border-color: var(--primary); color: var(--primary); background: var(--primary-subtle); box-shadow: var(--neu-in-sm), 0 0 8px var(--primary-glow); }

/* -- Trust Strip (Compact Neumorphic) -- */
.se5-trust { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; padding: 10px 14px; margin: 10px -2px; border-radius: 12px; background: var(--bg-field); border: 1px solid rgba(255,255,255,0.03); box-shadow: var(--neu-in-sm); }
.se5-trust__item { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.se5-trust__item i { font-size: 13px; color: rgba(16, 185, 129, 0.65); }

/* -- CTA Button (Neumorphic Coral — Luxury Finish) -- */
.se5-cta { width: 100%; background: var(--primary-gradient); color: #fff; border: none; border-top: 1px solid rgba(255,255,255,0.15); border-radius: 16px; padding: 0 40px; height: 54px; font-size: 15px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.3s; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 14px; box-shadow: 0 5px 18px var(--primary-glow), var(--neu-out); position: relative; overflow: hidden; }
.se5-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 45%; background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 60%, transparent 100%); border-radius: 16px 16px 0 0; pointer-events: none; }
.se5-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,45,79,0.32), var(--neu-out-lg); }
.se5-cta:active { transform: translateY(0) scale(0.98); box-shadow: var(--neu-in), 0 2px 8px var(--primary-glow); }
.se5-cta__icon i { font-size: 18px; position: relative; z-index: 1; }
.se5-cta__text { position: relative; z-index: 1; }

/* -- Micro-copy -- */
.se5-microcopy { text-align: center; margin-top: 10px; font-size: 11px; color: var(--text-label); font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 6px; }
.se5-microcopy i { font-size: 12px; color: rgba(16, 185, 129, 0.5); }

/* -- Recent Searches -- */
.se5-recent { margin-top: 22px; }
.se5-recent__header { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-label); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.se5-recent__header i { color: rgba(255,255,255,0.15); font-size: 14px; }
#seRecentList { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; scroll-snap-type: x mandatory; }
#seRecentList::-webkit-scrollbar { display: none; }

/* -- Multi-City Panel -- */
.se5-mc-panel { background: var(--bg-field); border-radius: 16px; border: 1px solid rgba(255,255,255,0.03); padding: 24px; margin-bottom: 24px; margin-top: 24px; box-shadow: var(--neu-in); }
.se5-mc-seg { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.04); padding-bottom: 16px; }
.se5-mc-seg:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.se5-mc-seg__num { font-size: 12px; font-weight: 800; color: var(--text-label); width: 80px; text-transform: uppercase; }
.se5-mc-seg__fields { flex: 1; display: flex; align-items: center; gap: 16px; }
.se5-mc-input { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.04); border-radius: 12px; color: #fff; padding: 12px 18px; font-size: 14px; font-weight: 700; font-family: var(--font-body); flex: 1; outline: none; transition: 0.3s; box-shadow: var(--neu-in-sm); }
.se5-mc-input:focus { border-color: var(--border-field-active); box-shadow: var(--neu-in-sm), 0 0 8px rgba(100,160,255,0.08); }
.se5-mc-input[type="date"] { max-width: 180px; color: var(--text-muted); }
.se5-mc-input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: 0.5; }
.se5-mc-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.se5-mc-add { background: var(--bg-card); color: var(--primary); border-radius: 12px; padding: 10px 20px; font-size: 13px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all 0.3s; border: 1px solid rgba(255, 45, 79, 0.12); box-shadow: var(--neu-out); }
.se5-mc-add:hover { box-shadow: var(--neu-out), 0 0 8px var(--primary-glow); }
.se5-mc-add:active { box-shadow: var(--neu-in-sm); }
.se5-mc-hint { font-size: 12px; color: var(--text-label); font-weight: 600; }
.se5-mc-remove { background: none; border: none; color: var(--text-label); font-size: 18px; cursor: pointer; margin-left: 8px; padding: 2px 6px; border-radius: 6px; transition: 0.2s; }
.se5-mc-remove:hover { color: var(--primary); background: var(--primary-subtle); }

/* -- Mobile Responsive -- */
@media (max-width: 992px) {
  .se5-fields { flex-direction: column; gap: 8px; }
  .se5-field, .se5-field--from, .se5-field--to, .se5-field--date, .se5-field--pax { flex: unset; width: 100%; }
  .se5-divider { width: 100%; height: 1px; }
  .se5-swap-wrap { width: 100%; height: 0; margin: 0; }
  .se5-swap { top: -22px; right: 14px; transform: rotate(90deg); width: 34px; height: 34px; border-radius: 9px; font-size: 14px; }
  .se5-swap:hover { transform: rotate(270deg); }
  .se5-pax-panel, .se5-ac { position: fixed; top: auto; bottom: 0; left: 0; width: 100%; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 48px rgba(0,0,0,0.6); transform-origin: bottom; animation: slideUp 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  @keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
  .se5-cta { justify-content: center; width: 100%; height: 52px; border-radius: 14px; }
  .se5-trust { gap: 10px; flex-wrap: wrap; justify-content: flex-start; padding: 10px 12px; }
  .se5-trust__item { font-size: 11px; }
}

@media (max-width: 768px) {
  .hp2-hero { padding: 100px 0 48px; }
  .hp2-hero__title { font-size: 32px; letter-spacing: -0.5px; }
  .hp2-hero__sub { font-size: 14px; margin-bottom: 28px; max-width: 90%; }
  .hp2-hero__tagline { font-size: 10px; letter-spacing: 1px; padding: 6px 14px; margin-bottom: 14px; }
  .hp2-search { 
    padding: 20px; 
    border-radius: 20px; 
    width: 100%; 
    max-width: calc(100vw - 32px); 
    margin: -40px auto 0; /* Pull slightly over hero as requested */
  }
  .hp2-search::before { left: 16px; right: 16px; }
  .se5-tabs { margin-bottom: 18px; }
  .se5-tabs__tab { padding: 9px 14px; font-size: 12px; gap: 5px; }
  .se5-tabs__tab i { font-size: 12px; }
  .se5-field { padding: 14px; min-height: 48px; border-radius: 12px; }
  .se5-field__icon { width: 28px; height: 28px; border-radius: 7px; }
  .se5-field__icon i { font-size: 13px; }
  .se5-field__input { font-size: 15px; }
  .se5-field__input::placeholder { font-size: 13px; }
  .se5-fares { gap: 6px; }
  .se5-fare span { padding: 6px 12px; font-size: 11px; }
  .se5-mc-seg { flex-direction: column; align-items: flex-start; gap: 10px; }
  .se5-mc-seg__fields { width: 100%; flex-wrap: wrap; }
  .se5-mc-input { min-width: 0; }
  .hp2-trust__grid { gap: 14px; flex-direction: column; align-items: flex-start; }
  #seRecentList > div { scroll-snap-align: start; }
  .se5-trust__item { font-size: 11px; white-space: normal; }
  .se5-microcopy { font-size: 10px; }
}

/* ── Calendar Fare Styling (defers to inline styles in flight-search-form-live.php) ── */
/* Core sizing is set inline; only supplementary fare styles here */
.flatpickr-day .fp-fare {
  font-size: 10px;
  color: #10b981;
  line-height: 1;
  margin-top: 2px;
  font-weight: 700;
  display: block;
  text-decoration: none !important;
}
.flatpickr-day.fp-lowest .fp-fare {
  color: #00a65a;
  font-weight: 800;
}
.flatpickr-day:hover .fp-fare,
.flatpickr-day.selected .fp-fare {
  color: #ffffff;
}


/* =========================================
   SPECIAL OFFERS
========================================= */
.hp2-offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.hp2-offer {
  background: var(--bg-surface, rgba(15, 23, 42, 0.4));
  border-radius: var(--radius-md, 16px);
  padding: 24px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: var(--neu-out);
  transition: transform 0.3s var(--transition-spring, cubic-bezier(0.175, 0.885, 0.32, 1.275));
  display: flex;
  flex-direction: column;
}
.hp2-offer:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.hp2-offer__title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hp2-offer__desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}
.hp2-offer__code {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.hp2-offer__code span {
  font-weight: 800;
  color: var(--accent-primary);
  padding: 4px 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  margin-left: 6px;
  border: 1px dashed rgba(255,255,255,0.2);
}
.offer-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent-primary, #d0021b);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(208, 2, 27, 0.4);
  z-index: 2;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  /* Task 201: Mobile Scroll Grid for Offers */
  .hp2-offers__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 24px;
    padding-top: 12px; /* for badge overflow */
    margin-right: -24px;
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
  }
  .hp2-offers__grid::-webkit-scrollbar {
    display: none;
  }
  .hp2-offer {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

@media (max-width: 768px) {
  /* Task 221: Mobile Calendar — defers to inline CSS in flight-search-form-live.php */
}
