/* ═══════════════════════════════════════════════════════════════════
   FlyHire — Site Styles
   Manrope + Inter · Navy + Teal palette
   ═══════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --navy:        #082b49;
  --navy-2:      #103d5b;
  --teal:        #0c837d;
  --teal-2:      #149990;
  --teal-soft:   #e4f5f2;
  --sky:         #f3fafb;
  --ink:         #0b2b46;
  --muted:       #65798c;
  --line:        #dbe6eb;
  --line-2:      #edf2f4;
  --shadow:      0 18px 50px rgba(8,43,73,.11);
  --shadow-sm:   0 6px 22px rgba(8,43,73,.07);
  --r-sm:        10px;
  --r-md:        16px;
  --r-lg:        24px;
  --container:   1240px;
  --font-heading: Manrope, Inter, system-ui, sans-serif;
  --font-body:    Inter, system-ui, sans-serif;

  /* Dashboard compat tokens */
  --fh-primary:      #0c837d;

  /* Bootstrap token overrides */
  --bs-primary:          #0c837d;
  --bs-primary-rgb:      12, 131, 125;
  --bs-link-color:       #0c837d;
  --bs-link-hover-color: #082b49;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main   { flex: 1; }
img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1,h2,h3,h4,p { margin-top: 0; }
h1,h2,h3,h4   { font-family: var(--font-heading); letter-spacing: -.04em; }

/* ── Container ── */
.container {
  width: min(calc(100% - 40px), var(--container)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ── Global form overrides ── */
.form-control, .form-select {
  border-radius: var(--r-sm) !important;
  border-color: var(--line);
  min-height: 2.6rem;
  font-size: .9rem;
  transition: border-color .15s, box-shadow .15s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--teal-2);
  box-shadow: 0 0 0 4px rgba(20,153,144,.1);
  outline: none;
}

/* ── Buttons ── */
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 46px !important;
  padding: 0 22px !important;
  border-radius: 9px !important;
  border: 1px solid transparent !important;
  font-weight: 700 !important;
  font-size: .9rem !important;
  transition: .18s ease !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary  { background: var(--teal) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 8px 18px rgba(12,131,125,.2); }
.btn-primary:hover { background: var(--teal-2) !important; color: #fff !important; }
.btn-secondary { background: #fff !important; border-color: var(--line) !important; color: var(--ink) !important; }
.btn-secondary:hover { border-color: var(--teal) !important; }
.btn-sm, .btn-small { min-height: 38px !important; padding: 0 16px !important; font-size: .82rem !important; }
.btn-outline-primary { border-color: var(--teal) !important; color: var(--teal) !important; background: transparent !important; }
.btn-outline-primary:hover { background: var(--teal-soft) !important; color: var(--teal) !important; }

/* ── Alerts ── */
.alert { border-radius: var(--r-sm); border: none; font-size: .9rem; }
.alert-success { background: #ecfdf5; color: #065f46; }
.alert-danger  { background: #fef2f2; color: #991b1b; }
.alert-info    { background: var(--teal-soft); color: var(--navy); }

/* ── Utilities ── */
.eyebrow     { margin: 0 0 10px; color: var(--teal); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.inline-link { display: inline-flex; gap: 7px; color: var(--teal); font-size: .84rem; font-weight: 700; text-decoration: none; }
.inline-link:hover { color: var(--teal-2); }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }

/* ═══════════════════════════════════════════════════════════════════
   SITE HEADER
   ═══════════════════════════════════════════════════════════════════ */
.site-header {
  min-height: 74px;
  border-bottom: 1px solid var(--line-2);
  background: rgba(255,255,255,.96);
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(14px);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(8,43,73,.1); }

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font: 800 1.42rem var(--font-heading);
  letter-spacing: -.045em;
  color: var(--navy);
  flex-shrink: 0;
  text-decoration: none;
}
.brand img   { width: 40px; height: 40px; }
.brand:hover { opacity: .85; color: var(--navy); }

.site-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-right: auto;
}
.site-nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .45rem .8rem;
  font-size: .87rem;
  font-weight: 650;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  transition: color .15s, background .15s;
  line-height: 1;
  white-space: nowrap;
  min-height: 0 !important;
  font-family: var(--font-body);
}
.site-nav-link:hover  { color: var(--teal); background: var(--teal-soft); }
.site-nav-link:focus  { color: var(--teal); background: var(--teal-soft); box-shadow: none; outline: none; }

.sign-in-link { font-size: .87rem; font-weight: 650; color: var(--ink); text-decoration: none; }
.sign-in-link:hover { color: var(--teal); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 1.5rem;
  color: var(--ink);
  margin-left: auto;
  padding: 4px 8px;
  line-height: 1;
  min-height: 0 !important;
}

/* Mobile nav */
.mobile-nav {
  padding: .75rem 0 1rem;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.mobile-nav .site-nav-link { width: 100%; padding: .6rem .8rem; }
.mobile-nav-divider { border-color: var(--line-2); margin: .4rem 0; }

/* Bootstrap dropdown inside site nav */
.site-nav .dropdown-menu { border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: .4rem 0; }
.site-nav .dropdown-item { font-size: .85rem; color: var(--ink); padding: .5rem 1rem; }
.site-nav .dropdown-item:hover { background: var(--teal-soft); color: var(--teal); }
.site-nav .dropdown-toggle::after { opacity: .5; }

/* User dropdown */
.user-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .9rem;
  height: 38px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--sky);
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: .15s;
  min-height: 0 !important;
}
.user-dropdown-btn:hover { background: var(--teal-soft); border-color: var(--teal); color: var(--teal); }
.user-dropdown-btn::after { opacity: .5; }

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg,#fff 0,#fff 42%,rgba(246,251,252,.78) 66%,rgba(246,251,252,.2) 100%);
}
.hero-art {
  position: absolute;
  right: 0; top: 0;
  width: 59%; height: 100%;
  background: url('/images/hero.svg') center right / cover no-repeat;
}
.hero-inner {
  min-height: 490px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy { width: 50%; padding: 68px 0 100px; }
.hero h1   { font-size: clamp(3.8rem,6.7vw,5.8rem); line-height: .97; margin-bottom: 25px; letter-spacing: -.045em; }
.hero h1 span { color: var(--teal); }
.hero-lead { max-width: 510px; color: var(--muted); font-size: 1.12rem; line-height: 1.55; }

.benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 25px; max-width: 520px; margin-top: 30px; }
.benefit  { display: flex; gap: 11px; align-items: center; }
.benefit-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-soft); color: var(--teal); font-weight: 800; flex-shrink: 0; }
.benefit strong, .benefit small { display: block; }
.benefit strong { font-size: .8rem; }
.benefit small  { color: var(--muted); font-size: .7rem; }

/* ── Search float ── */
.search-float { position: relative; z-index: 5; margin-top: -38px; }
.search-panel {
  display: grid;
  grid-template-columns: 1.55fr .75fr 1fr auto;
  gap: 14px;
  align-items: end;
  padding: 21px;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

/* ── Fields ── */
.field label    { display: block; margin-bottom: 7px; font-size: .72rem; font-weight: 750; }
.field input,
.field select   { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); outline: none; font-size: .9rem; }
.field textarea { width: 100%; min-height: 116px; padding: 13px; resize: vertical; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); outline: none; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(20,153,144,.1); }

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════ */
.section      { padding: 82px 0; }
.section-soft { background: var(--sky); border-block: 1px solid var(--line-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.section-head h2 { margin-bottom: 6px; font-size: 2rem; }
.section-head p:not(.eyebrow) { margin: 0; color: var(--muted); }

/* ── Locations ── */
.locations { display: grid; grid-template-columns: repeat(5,1fr); gap: 26px; }
.location  { text-align: center; text-decoration: none; color: var(--ink); display: block; }
.location-circle {
  width: 104px; height: 104px;
  margin: 0 auto 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 28%,#fff,#f0f7f9);
  transition: .18s ease;
}
.location:hover .location-circle { transform: translateY(-4px); border-color: #8bc3be; box-shadow: var(--shadow-sm); }
.location strong { display: block; font-size: .9rem; font-weight: 700; margin-bottom: 2px; }
.location small  { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .07em; }

/* ═══════════════════════════════════════════════════════════════════
   AIRCRAFT CARDS (public pages)
   ═══════════════════════════════════════════════════════════════════ */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.aircraft-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: .18s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.aircraft-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }

.card-photo { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #e9eff2; display: block; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.aircraft-card:hover .card-photo img { transform: scale(1.025); }

.card-badge {
  position: absolute; top: 13px; left: 13px;
  padding: 5px 9px; border-radius: 999px;
  background: var(--teal); color: #fff;
  font-size: .62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em;
}
.card-badges {
  position: absolute; top: 13px; left: 13px;
  display: flex; flex-direction: column; gap: 5px;
}
.card-badges .card-badge { position: static; }
.card-badge-verified { background: #059669; }
.ac-body   { padding: 17px; flex: 1; display: flex; flex-direction: column; }
.kicker    { margin: 0 0 3px; color: var(--muted); font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; }
.ac-title  { margin: 0 0 6px; font-size: 1.06rem; font-weight: 700; font-family: var(--font-heading); letter-spacing: -.02em; }
.card-location { margin: 0 0 12px; color: var(--muted); font-size: .76rem; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag  { padding: 4px 8px; border-radius: 999px; background: var(--teal-soft); color: var(--navy-2); font-size: .64rem; font-weight: 750; }

.price-line { display: flex; gap: 16px; align-items: baseline; margin-top: 14px; flex-wrap: wrap; }
.price-line strong { font-size: 1rem; }
.price-line small  { color: var(--muted); font-size: .68rem; }

.card-foot {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 13px;
  border-top: 1px solid var(--line-2);
  color: var(--muted); font-size: .7rem;
}

/* ═══════════════════════════════════════════════════════════════════
   TRUST STRIP
   ═══════════════════════════════════════════════════════════════════ */
.trust { background: radial-gradient(circle at 90% 0,rgba(20,153,144,.27),transparent 30%), var(--navy); color: #fff; }
.trust-grid {
  min-height: 150px;
  display: grid;
  grid-template-columns: 1.6fr repeat(4,1fr);
  gap: 24px;
  align-items: center;
}
.trust-grid strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; }
.trust-grid span   { display: block; font-size: .7rem; color: rgba(255,255,255,.64); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════════
   SEARCH PAGE
   ═══════════════════════════════════════════════════════════════════ */
.page-top { padding: 32px 0 22px; }

.search-summary {
  display: grid;
  grid-template-columns: 1.4fr .8fr .75fr .7fr auto;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.summary-item { padding: 0 17px; border-right: 1px solid var(--line-2); }
.summary-item:first-child { padding-left: 0; }
.summary-item:last-of-type { border-right: 0; }
.summary-item small  { display: block; color: var(--muted); font-size: .64rem; }
.summary-item strong { display: block; font-size: .76rem; }

.results-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding-bottom: 80px; }

.filters { padding-right: 22px; border-right: 1px solid var(--line-2); }
.filters-top,
.results-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.results-top strong { font-size: .9rem; }

.filter-group { padding: 16px 0; border-top: 1px solid var(--line-2); }
.filter-group h4 { margin-bottom: 11px; font-size: .69rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; font-family: var(--font-body); color: var(--muted); }
.filters .field input,
.filters .field select { height: 39px; font-size: .76rem; }

.checks { display: grid; gap: 8px; font-size: .76rem; }
.checks label { display: flex; gap: 8px; align-items: center; cursor: pointer; }

.price-inputs  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-actions { display: grid; gap: 9px; margin-top: 17px; }

.results-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 19px; }
.results-grid .ac-body    { padding: 14px; }
.results-grid .ac-title   { font-size: .96rem; }
.results-grid .card-location { font-size: .71rem; }

/* ═══════════════════════════════════════════════════════════════════
   AIRCRAFT DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════ */
.breadcrumbs { display: flex; gap: 9px; padding: 25px 0 15px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: var(--teal); text-decoration: underline; }

.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 28px; padding-bottom: 80px; }

.detail-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.detail-heading h1 { font-size: 2rem; margin-bottom: 5px; }
.detail-copy { color: var(--muted); font-size: .86rem; margin: 18px 0; line-height: 1.7; }

.specs {
  display: grid; grid-template-columns: repeat(6,1fr);
  padding: 17px 10px;
  border: 1px solid var(--line); border-radius: 15px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.spec { text-align: center; border-right: 1px solid var(--line-2); padding: 0 8px; }
.spec:last-child { border: 0; }
.spec strong { display: block; font-size: .85rem; font-weight: 700; }
.spec small  { display: block; color: var(--muted); font-size: .62rem; margin-top: 3px; }

.tab-layout { display: grid; grid-template-columns: 150px 1fr; margin-top: 25px; border-top: 1px solid var(--line-2); }
.tab-nav {
  display: grid; align-content: start; gap: 6px;
  padding: 18px 17px 18px 0;
  border-right: 1px solid var(--line-2);
}
.tab-nav a { padding: 9px 11px; border-radius: 8px; font-size: .75rem; font-weight: 700; color: var(--ink); text-decoration: none; transition: .15s; }
.tab-nav a:hover  { background: var(--line-2); }
.tab-nav a.active { background: var(--teal-soft); color: var(--teal); }
.tab-content { padding: 20px 0 0 24px; }
.tab-content h3 { font-size: .95rem; }

.side-card { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.side-card h3 { font-size: 1rem; margin-bottom: 14px; }
.rate-row { display: flex; justify-content: space-between; margin: 10px 0; font-size: .9rem; }
.rate-row strong { font-size: 1rem; }
.notice { margin-top: 14px; padding: 12px; border-radius: 9px; background: var(--teal-soft); color: var(--muted); font-size: .69rem; }

.enquiry { display: grid; gap: 12px; }
.enquiry .field input, .enquiry .field textarea { font-size: .875rem; }
.privacy { text-align: center; color: var(--muted); font-size: .65rem; margin: 0; }
.confidence { display: flex; gap: 11px; margin-top: 14px; padding: 13px; border-radius: 10px; background: var(--teal-soft); font-size: .7rem; }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 3.5rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.8fr repeat(3,1fr); gap: 40px; margin-bottom: 2.5rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; font: 800 1.25rem var(--font-heading); color: #fff; margin-bottom: 14px; text-decoration: none; letter-spacing: -.04em; }
.footer-brand img { width: 34px; }
.footer-blurb { font-size: .82rem; line-height: 1.65; color: rgba(255,255,255,.45); max-width: 240px; }
.footer-col h6 { color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-link { display: block; margin-bottom: 8px; font-size: .82rem; color: rgba(255,255,255,.45); text-decoration: none; transition: color .15s; }
.footer-link:hover { color: #fff; }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: .78rem; color: rgba(255,255,255,.35); }

/* ═══════════════════════════════════════════════════════════════════
   LOCATION AUTOCOMPLETE
   ═══════════════════════════════════════════════════════════════════ */
.fh-ac-wrap { position: relative; }
.fh-ac-dropdown { position: absolute; top: 100%; left: 0; right: 0; z-index: 200; background: #fff; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,.11); list-style: none; padding: .3rem 0; margin: .3rem 0 0; max-height: 260px; overflow-y: auto; scrollbar-width: none; }
.fh-ac-dropdown::-webkit-scrollbar { display: none; }
.fh-ac-item { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem 1rem; cursor: pointer; font-size: .9rem; transition: background .1s; }
.fh-ac-item:hover, .fh-ac-item.fh-ac-active { background: var(--teal-soft); }
.fh-ac-name { flex: 1; color: var(--ink); }
.fh-ac-icao { flex-shrink: 0; font-size: .7rem; font-weight: 600; color: var(--teal); background: var(--teal-soft); padding: .1rem .45rem; border-radius: 4px; }

/* ═══════════════════════════════════════════════════════════════════
   CAROUSEL + LIGHTBOX (aircraft detail)
   ═══════════════════════════════════════════════════════════════════ */
.fh-carousel { border-radius: 15px; overflow: hidden; background: #f1f5f9; }
.fh-carousel-img { height: 420px; object-fit: cover; object-position: center; display: block; width: 100%; cursor: zoom-in; }
.fh-carousel-placeholder { height: 320px; background: #f1f5f9; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.fh-carousel-placeholder i { font-size: 4rem; color: #c9d3df; }
.carousel-control-prev, .carousel-control-next { width: auto; opacity: 1; }
.fh-carousel-ctrl { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; background: rgba(255,255,255,.9); border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.15); color: var(--ink); font-size: 1rem; backdrop-filter: blur(4px); transition: background .15s, transform .15s; }
.carousel-control-prev:hover .fh-carousel-ctrl, .carousel-control-next:hover .fh-carousel-ctrl { background: #fff; transform: scale(1.08); }
.carousel-control-prev { left: .75rem; }
.carousel-control-next { right: .75rem; }
.carousel-indicators { margin-bottom: .65rem; }
.carousel-indicators [data-bs-target] { width: 6px; height: 6px; border-radius: 999px; border: none; background: rgba(255,255,255,.5); transition: width .2s, background .2s; margin: 0 3px; }
.carousel-indicators .active { width: 20px; background: #fff; }
.fh-thumb-strip { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.fh-thumb-strip::-webkit-scrollbar { display: none; }
.fh-thumb { flex: 0 0 auto; width: 80px; height: 56px; border-radius: 8px; overflow: hidden; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; transition: border-color .15s, opacity .15s; opacity: .6; min-height: 0 !important; }
.fh-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fh-thumb:hover { opacity: .85; }
.fh-thumb.active { border-color: var(--teal); opacity: 1; }

.fh-lightbox { position: fixed; inset: 0; z-index: 1090; background: rgba(0,0,0,.93); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.fh-lightbox.open { opacity: 1; pointer-events: all; }
.fh-lb-content { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 4.5rem 5rem; }
.fh-lb-img { max-width: 100%; max-height: calc(100vh - 9rem); object-fit: contain; border-radius: 6px; user-select: none; transition: opacity .15s; }
.fh-lb-img.fh-lb-loading { opacity: 0; }
.fh-lb-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,.12); border: none; color: #fff; width: 2.5rem; height: 2.5rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; transition: background .15s, transform .15s; z-index: 2; min-height: 0 !important; }
.fh-lb-close:hover { background: rgba(255,255,255,.22); transform: scale(1.08); }
.fh-lb-prev, .fh-lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none; color: #fff; width: 3rem; height: 3rem; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; cursor: pointer; transition: background .15s, transform .15s; z-index: 2; min-height: 0 !important; }
.fh-lb-prev:hover, .fh-lb-next:hover { background: rgba(255,255,255,.22); transform: translateY(-50%) scale(1.08); }
.fh-lb-prev { left: 1rem; }
.fh-lb-next { right: 1rem; }
.fh-lb-prev[hidden], .fh-lb-next[hidden] { display: none !important; }
.fh-lb-counter { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.5); font-size: .8rem; font-weight: 500; white-space: nowrap; }

/* ═══════════════════════════════════════════════════════════════════
   DASHBOARD — preserved
   ═══════════════════════════════════════════════════════════════════ */
.fh-dashboard-bg { background: radial-gradient(circle at top left, rgba(12,131,125,.04), transparent 32rem), #f4f7fb; }
.fh-dash-panel { background: #fff; border: 1px solid rgba(219,227,239,.8); border-radius: 18px; padding: 2rem 2.25rem 2.25rem; box-shadow: 0 2px 6px rgba(15,23,42,.03), 0 18px 50px rgba(15,23,42,.08); }
.fh-dash-panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid #f0f4f8; }
.fh-dash-panel-header h1 { margin: 0; font-size: 1.65rem; font-weight: 700; letter-spacing: -.025em; color: #0f172a; }
.fh-dash-panel-header p  { margin: .35rem 0 0; font-size: .85rem; color: #64748b; line-height: 1.55; }

.fh-sidebar { background: #fff; border-radius: 16px; padding: 1rem 0; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.05); }
.fh-sidebar .nav-link { color: var(--ink); padding: .6rem 1.25rem; font-size: .9rem; border-radius: 0; display: flex; align-items: center; gap: .6rem; transition: background .15s, color .15s; min-height: 0 !important; }
.fh-sidebar .nav-link:hover, .fh-sidebar .nav-link.active { background: var(--teal-soft); color: var(--teal); font-weight: 500; }

.fh-stat-card { background: #fff; border-radius: 16px; padding: 1.5rem; border: 1px solid rgba(219,227,239,.6); box-shadow: 0 1px 3px rgba(0,0,0,.03), 0 6px 20px rgba(0,0,0,.05); transition: transform 180ms, box-shadow 180ms; }
.fh-stat-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,.05), 0 14px 32px rgba(12,131,125,.1); }
.fh-stat-card .stat-value { font-size: 2.1rem; font-weight: 800; color: var(--teal); letter-spacing: -.03em; }
.fh-stat-card .stat-label { font-size: .76rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: .2rem; }

.fh-listing-table { border: 1px solid #dbe3ef; border-radius: 14px; overflow: auto; }
.fh-listing-cols { display: grid; grid-template-columns: minmax(160px,2fr) minmax(100px,.55fr) minmax(100px,.6fr) minmax(95px,.5fr) minmax(160px,.8fr); align-items: center; min-width: 640px; }
.fh-listing-thead { display: flex; align-items: center; background: linear-gradient(180deg,#fbfcfe,#f7f9fc); border-bottom: 1px solid #dbe3ef; min-height: 48px; padding: 0 .75rem; }
.fh-listing-thead .fh-listing-cols { width: 100%; }
.fh-listing-thead .fh-listing-cols > div { padding: 0 .5rem; font-size: .67rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #526078; }
.fh-listing-row-wrap { transition: background 150ms; }
.fh-listing-row-wrap:hover { background: #fafcff; }
.fh-listing-row-wrap + .fh-listing-row-wrap { border-top: 1px solid #eef1f6; }
.fh-listing-row { min-height: 108px; padding: .875rem .75rem; }
.fh-listing-aircraft { display: flex; align-items: center; gap: .85rem; padding: 0 .5rem; min-width: 0; }
.fh-listing-thumb { flex: 0 0 auto; width: 80px; height: 60px; border-radius: 10px; object-fit: cover; border: 1px solid #e8edf4; background: #f1f5f9; box-shadow: 0 2px 6px rgba(15,23,42,.07); }
.fh-listing-thumb-ph { flex: 0 0 auto; width: 80px; height: 60px; border-radius: 10px; background: #f1f5f9; border: 1px solid #e8edf4; display: flex; align-items: center; justify-content: center; color: #c9d3df; font-size: 1.4rem; }
.fh-listing-aircraft-info h3 { margin: 0; font-size: .875rem; font-weight: 700; color: #0f172a; letter-spacing: -.01em; line-height: 1.3; }
.fh-listing-loc { display: flex; align-items: center; gap: .25rem; margin-top: .3rem; font-size: .77rem; color: #64748b; }
.fh-listing-loc i { font-size: .72rem; }
.fh-listing-date { padding: 0 .5rem; font-size: .82rem; font-weight: 500; color: #334155; white-space: nowrap; }
.fh-expiry-warn { display: inline-block; margin-top: .2rem; font-size: .72rem; font-weight: 600; color: #d97706; }
.fh-status-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .7rem; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.fh-status-pill.standard   { background: #f0f3f8; color: #526078; }
.fh-status-pill.premium    { background: #fff3cd; color: #92400e; }
.fh-status-pill.verified   { background: #d1fae5; color: #065f46; }
.fh-status-pill.unverified { background: #fef9c3; color: #a16207; }
.fh-status-pills { display: inline-flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.fh-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .65; }
.fh-listing-actions { display: flex; align-items: center; gap: .35rem; padding: 0 .5rem; flex-wrap: nowrap; }
.fh-act-btn { display: inline-flex; align-items: center; gap: .3rem; padding: 0 .65rem; height: 32px; border: 1px solid transparent; border-radius: 8px !important; font-size: .76rem; font-weight: 600; background: #fff; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background 140ms, border-color 140ms, color 140ms, transform 110ms; line-height: 1; min-height: 0 !important; }
.fh-act-btn:hover { transform: translateY(-1px); }
.fh-act-btn:active { transform: none; }
.fh-act-btn i { font-size: .78rem; }
.fh-act-btn.edit { border-color: #3b82f6; color: #2563eb; }
.fh-act-btn.edit:hover { background: #eff6ff; }
.fh-act-btn.enquiries { border-color: #94a3b8; color: #475569; }
.fh-act-btn.enquiries:hover { background: #f8fafc; border-color: #64748b; }
.fh-listing-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; padding: 0 .25rem; }
.fh-listing-count  { font-size: .82rem; color: #64748b; }
.fh-pagination { display: flex; align-items: center; gap: .4rem; }
.fh-page-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid #dbe3ef; border-radius: 9px; background: #fff; color: #64748b; font-size: .82rem; font-weight: 600; cursor: pointer; transition: background 140ms, border-color 140ms, color 140ms; padding: 0; min-height: 0 !important; }
.fh-page-btn:hover:not(:disabled):not(.active) { background: #f8fafc; border-color: #cbd5e1; }
.fh-page-btn.active { border-color: #2563eb; background: linear-gradient(180deg,#2f6df6,#1f56df); color: #fff; box-shadow: 0 3px 10px rgba(37,99,235,.22); }
.fh-page-btn:disabled { opacity: .38; cursor: default; }

.fh-enquiry-table  { border: 1px solid #dbe3ef; border-radius: 14px; overflow: hidden; }
.fh-enquiry-thead  { display: grid; align-items: center; min-height: 46px; padding: 0 1rem; background: linear-gradient(180deg,#fbfcfe,#f7f9fc); border-bottom: 1px solid #dbe3ef; }
.fh-enquiry-thead > div, .fh-enquiry-row > div { font-size: .67rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #526078; }
.fh-enquiry-row-wrap { transition: background 140ms; }
.fh-enquiry-row-wrap:hover { background: #fafcff; }
.fh-enquiry-row-wrap + .fh-enquiry-row-wrap { border-top: 1px solid #eef1f6; }
.fh-enquiry-row { display: grid; align-items: center; min-height: 64px; padding: 0 1rem; }
.fh-enquiry-row > div { font-size: .84rem; font-weight: 400; color: #334155; text-transform: none; letter-spacing: 0; }
.fh-enquiry-row .fw-600 { font-weight: 600; color: #0f172a; }
.fh-badge-ack  { background: #d1fae5; color: #065f46; }
.fh-badge-pend { background: #fef3c7; color: #92400e; }
.fh-enq-badge { display: inline-flex; align-items: center; padding: .2rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.fh-ref-btn { background: none; border: none; padding: 0; font-size: inherit; font-weight: 600; color: var(--teal); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.fh-ref-btn:hover { color: var(--teal-dark, #0a6b65); }

.fh-btn-accent { background: linear-gradient(135deg,#2f6df6,#1f56df); color: #fff; border: 1px solid #2563eb; font-weight: 600; box-shadow: 0 4px 12px rgba(37,99,235,.18); }
.fh-btn-accent:hover { background: linear-gradient(135deg,#2563eb,#1d4ed8); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,.24); }

/* Auth */
.fh-brand { display: flex; align-items: center; gap: .5rem; }
.fh-auth-card { max-width: 460px; margin: 3rem auto; background: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 8px 32px rgba(0,0,0,.08); }
.fh-divider { display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.fh-divider::before, .fh-divider::after { content: ''; flex: 1; border-top: 1px solid var(--line); }
.btn-social { display: flex !important; align-items: center !important; justify-content: center !important; gap: .5rem !important; padding: .55rem 1rem !important; border: 1px solid var(--line) !important; border-radius: 10px !important; background: #fff !important; font-size: .875rem !important; font-weight: 500 !important; color: var(--ink) !important; text-decoration: none; transition: background .15s, border-color .15s; min-height: 2.5rem !important; }
.btn-social:hover { background: var(--sky) !important; border-color: var(--teal) !important; }
.btn-social svg { flex-shrink: 0; }

/* Filter card (detail/search aside) */
.fh-filter-card { background: #fff; border-radius: 16px; padding: 1.25rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.fh-filter-card .accordion-button { font-weight: 500; font-size: .9rem; }
.fh-filter-card .accordion-button:focus { box-shadow: none; }
.fh-filter-card .accordion-button:not(.collapsed) { color: var(--teal); background: var(--teal-soft); }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .site-nav, .header-actions { display: none !important; }
  .nav-menu-btn { display: block !important; }
  .hero-art  { width: 53%; opacity: .78; }
  .hero-copy { width: 59%; }
  .search-panel  { grid-template-columns: 1fr 1fr; }
  .locations     { grid-template-columns: repeat(3,1fr); }
  .cards, .results-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid    { grid-template-columns: repeat(2,1fr); padding: 32px 0; }
  .trust-grid > :first-child { grid-column: 1/-1; }
  .search-summary { grid-template-columns: repeat(2,1fr); }
  .summary-item  { padding: 8px; border: 0; }
  .search-summary .btn { grid-column: 1/-1; }
  .detail-grid   { grid-template-columns: 1fr; }
  .detail-aside  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .specs         { grid-template-columns: repeat(3,1fr); row-gap: 18px; }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 28px; }
  .fh-listing-cols { display: block; min-width: 0; }
  .fh-listing-thead { display: none; }
  .fh-listing-row { min-height: 0; padding: 1rem; }
  .fh-listing-aircraft { padding: 0 0 .875rem; border-bottom: 1px solid #eef1f6; margin-bottom: .75rem; }
  .fh-listing-date, .fh-listing-status-cell { display: flex; align-items: center; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid #eef1f6; font-size: .82rem; }
  .fh-listing-date::before, .fh-listing-status-cell::before { content: attr(data-label); font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #526078; }
  .fh-listing-actions { flex-wrap: wrap; padding: .75rem 0 0; gap: .5rem; }
  .fh-act-btn { flex: 1 1 calc(50% - .25rem); justify-content: center; height: 38px; font-size: .82rem; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)) !important; }
  .site-header { min-height: 64px; }
  .header-inner { height: 64px; }
  .hero-inner { min-height: auto; }
  .hero-copy  { width: 100%; padding: 58px 0 175px; }
  .hero h1    { font-size: 3.2rem; }
  .hero-art   { top: auto; bottom: 0; width: 100%; height: 190px; background-size: cover; background-position: center bottom; }
  .benefits   { grid-template-columns: 1fr; }
  .search-float { margin-top: -23px; }
  .search-panel { grid-template-columns: 1fr; padding: 17px; }
  .section    { padding: 62px 0; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .locations  { grid-template-columns: repeat(2,1fr); }
  .cards, .results-grid { grid-template-columns: 1fr; }
  .results-layout { grid-template-columns: 1fr; }
  .filters    { display: none; }
  .search-summary { grid-template-columns: 1fr; }
  .detail-aside { grid-template-columns: 1fr; }
  .detail-heading { flex-direction: column; }
  .specs { grid-template-columns: repeat(2,1fr); }
  .tab-layout { grid-template-columns: 1fr; }
  .tab-nav { grid-template-columns: repeat(3,1fr); overflow: auto; border-right: 0; border-bottom: 1px solid var(--line-2); padding-right: 0; }
  .tab-content { padding-left: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .fh-auth-card { margin: 1.25rem; padding: 1.75rem 1.25rem; }
  .fh-carousel-img { height: 260px; }
  .fh-thumb { width: 64px; height: 44px; }

  /* Dashboard panel padding */
  .fh-dash-panel { padding: 1.25rem 1rem 1.5rem; }

  /* Filter toggle button */
  .fh-filter-toggle { display: flex !important; }

  /* Enquiry table — stack to labelled rows */
  .fh-enquiry-thead { display: none !important; }
  .fh-enquiry-row {
    display: block !important;
    padding: .75rem 1rem;
  }
  .fh-enquiry-row > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .3rem 0;
    border-bottom: 1px solid #eef1f6;
    font-size: .84rem;
    text-transform: none;
    letter-spacing: 0;
  }
  .fh-enquiry-row > div:last-child { border-bottom: 0; justify-content: flex-end; padding-top: .5rem; }
  .fh-enquiry-row > div[data-label]::before {
    content: attr(data-label);
    font-size: .67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #526078;
    flex-shrink: 0;
    margin-right: .5rem;
  }
}

/* ── Dashboard mobile nav strip ── */
.fh-dash-mobile-strip {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.05);
  padding: .25rem;
  gap: .1rem;
}
.fh-dash-mobile-strip::-webkit-scrollbar { display: none; }
.fh-dash-mobile-strip .nav-link {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  padding: .45rem .55rem;
  font-size: .66rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  white-space: nowrap;
  min-height: 0 !important;
  text-align: center;
  line-height: 1.2;
}
.fh-dash-mobile-strip .nav-link i { font-size: 1rem; display: block; }
.fh-dash-mobile-strip .nav-link:hover,
.fh-dash-mobile-strip .nav-link.active { background: var(--teal-soft); color: var(--teal); }

/* ── Mobile filter toggle button ── */
.fh-filter-toggle { display: none; }

/* ── A2HS install banner ── */
.fh-a2hs-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .75rem .65rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(8,43,73,.18);
  z-index: 1060;
  max-width: calc(100vw - 2rem);
  width: max-content;
  animation: fh-slide-up .3s ease;
}
.fh-a2hs-banner[hidden] { display: none !important; }
@keyframes fh-slide-up {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}
.fh-a2hs-icon img { width: 36px; height: 36px; border-radius: 8px; display: block; }
.fh-a2hs-text { flex: 1; min-width: 0; }
.fh-a2hs-text strong { display: block; font-size: .82rem; color: var(--navy); }
.fh-a2hs-text span   { display: block; font-size: .72rem; color: var(--muted); margin-top: 1px; }
.fh-a2hs-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--muted);
  padding: .1rem .3rem;
  cursor: pointer;
  min-height: 0 !important;
}
.fh-a2hs-close:hover { color: var(--ink); }

/* ── Impersonation Banner ── */
.impersonation-banner {
  background: #92400e;
  color: #fef3c7;
  padding: .55rem 0;
  font-size: .85rem;
  font-weight: 500;
  border-bottom: 2px solid #b45309;
}
