/* === FILE: assets/css/pages/fbo.css ===
   FBO page — Trimble Aviation
   ============================================================ */

/* ─── HERO (full-width background image) ─────────────────────── */
.fbo-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(24rem, 60vh, 44rem);
}

.fbo-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}

.fbo-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;    
  background: linear-gradient(
    105deg,
    rgba(17, 24, 39, .82) 0%,
    rgba(17, 24, 39, .55) 55%,
    rgba(17, 24, 39, .20) 100%
  );
}

.fbo-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  max-width: 680px;
}

.fbo-airport-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .70rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .70);
  margin-bottom: 1.25rem;
  padding: 6px 14px 6px 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.fbo-airport-badge svg { color: var(--color-accent); flex-shrink: 0; }

.fbo-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw + 0.5rem, 3.75rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.fbo-accent-word {
  color: var(--color-accent);
  font-style: italic;
}

.fbo-page-sub {
  font-size: clamp(.9375rem, 1vw + .5rem, 1.125rem);
  color: rgba(255, 255, 255, .75);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 0 2.25rem;
  font-weight: 400;
}

.fbo-page-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero "Call …" primary action — icon + number, the practical choice for pilots */
.fbo-call-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.fbo-call-btn svg { flex-shrink: 0; }

/* Keep both hero CTAs side-by-side on desktop — btn-lg's wide padding made
   the pair overflow the content column and wrap. (Mobile still stacks below.) */
.fbo-page-actions .btn { padding-left: 26px; padding-right: 26px; }

.fbo-hero .btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .30);
  background: transparent;
}
.fbo-hero .btn-outline-light:hover,
.fbo-hero .btn-outline-light:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .50);
  box-shadow: none;
}

/* ─── HERO: abbreviated live field conditions ────────────────── */
/* Micro METAR-style chips (wind / altimeter / OAT / wx) — the vitals a
   pilot scans on approach. Values injected by the weather script. */
.fbo-hero-wx {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 1.75rem;
}

.fbo-hero-wx-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  margin-right: .125rem;
  animation: fbo-wx-pulse 2.4s ease-in-out infinite;
}

.fbo-hero-wx-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 7px;
  backdrop-filter: blur(4px);
}

.fbo-hero-wx-k {
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.fbo-hero-wx-v {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Mobile-only relocation target for the full weather card — the script
   in fbo.php moves .fbo-weather-card in here (and toggles .is-active)
   below 600px. Hidden otherwise so it leaves no empty gap on desktop. */
.fbo-weather-mobile-section { display: none; }

/* ─── ON-THIS-PAGE INDEX (responsive only) ───────────────────── */
/* Hidden on desktop; a tidy numbered jump-nav on stacked layouts so a
   pilot can see — and reach — everything on the page at a glance. */
.fbo-index-section { display: none; }

.fbo-index-label {
  display: block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: .75rem;
}

.fbo-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.fbo-index-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px 8px 11px;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms ease;
}

.fbo-index-num {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.fbo-index-list a:hover,
.fbo-index-list a:focus-visible {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.fbo-index-list a:active { transform: scale(.97); }

/* Smooth in-page jumps + offset so a sticky header never covers targets */
html { scroll-behavior: smooth; }
#fuel, #weather, #rates, #callout, #services, #contact { scroll-margin-top: 5.5rem; }

/* ─── SHARED SECTION LABEL ────────────────────────────────────── */
/* FIX #1: enforce left-align — overrides any global text-align:center */
.fbo-section-label {
  margin-bottom: 3.5rem;
  text-align: left;
}

.fbo-section-label h2,
.fbo-section-label .section-eyebrow,
.fbo-section-label .section-sub,
.fbo-section-label p {
  text-align: left;
}

.fbo-section-label h2 { margin: .5rem 0 .875rem; }

.fbo-section-label .section-sub {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.78;
  max-width: 580px;
}

/* ─── INFO BAR: WEATHER / RAMP / FUEL ────────────────────────── */
.fbo-info-bar { padding: 4rem 0; }

.fbo-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px)  { .fbo-info-grid { grid-template-columns: repeat(2, 1fr); } }
/* 2 cards for now (Ramp Fees hidden). Restore `repeat(3, 1fr)` when Ramp Fees returns. */
@media (min-width: 1100px) { .fbo-info-grid { grid-template-columns: repeat(2, 1fr); } }

.fbo-info-card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}

.fbo-info-card:hover {
  box-shadow: 0 12px 40px -8px rgba(17,24,39,.10);
  transform: translateY(-2px);
}

.fbo-info-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--color-primary);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  margin: 0;
}

/* Boxed accent icon — matches the Rates & Fees card headers so every
   card heading on the page reads as one consistent system. */
.fbo-info-card-title svg {
  box-sizing: content-box;
  width: 20px;
  height: 20px;
  padding: 10px;
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* Live-data pulse dot in weather card title */
.fbo-wx-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  margin-left: auto;
  flex-shrink: 0;
  animation: fbo-wx-pulse 2.4s ease-in-out infinite;
}

@keyframes fbo-wx-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .45; transform: scale(.75); }
}

/* ── Weather card ─────────────────────────────────────────────── */
.fbo-weather-main { display: flex; flex-direction: column; gap: .875rem; }

/* Location + sunrise/sunset row */
.fbo-wx-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .375rem;
}

.fbo-weather-location {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.fbo-wx-sun-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  color: var(--color-text-muted);
}

.fbo-wx-sun-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.fbo-wx-sun-item svg { color: var(--color-accent); flex-shrink: 0; }
.fbo-wx-sun-sep { color: var(--color-border-mid); }

/* Temp + condition row */
.fbo-weather-temp-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.fbo-weather-temp-block {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.fbo-weather-icon { color: var(--color-accent); }

.fbo-weather-deg {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.fbo-weather-condition-block {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.fbo-weather-condition {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
}

.fbo-wx-feels {
  font-size: .8rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* Detail grid — 2 columns on wider card */
.fbo-weather-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .75rem;
  padding: 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

/* UNICOM spans full width */
.fbo-weather-details .fbo-weather-detail-item:last-child {
  grid-column: 1 / -1;
}

.fbo-weather-detail-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.4;
}

.fbo-weather-detail-item svg { color: var(--color-accent); flex-shrink: 0; }

/* 3-hour forecast strip */
.fbo-wx-hourly {
  display: flex;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg);
}

.fbo-wx-hour-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: .625rem .5rem;
  border-right: 1px solid var(--color-border);
  transition: background 140ms ease;
}

.fbo-wx-hour-item:last-child { border-right: none; }
.fbo-wx-hour-item:hover { background: var(--color-bg-soft); }

.fbo-wx-hour-time {
  font-size: .72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: lowercase;
}

.fbo-wx-hour-temp {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

/* Footer link */
.fbo-weather-footer {
  display: block;
  text-align: center;
  padding: 9px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  background: rgba(232,151,26,.06);
  border: 1px solid rgba(232,151,26,.22);
  border-radius: var(--radius-sm);
  letter-spacing: .04em;
  transition: background 140ms ease, border-color 140ms ease;
}

.fbo-weather-footer:hover {
  background: rgba(232,151,26,.12);
  border-color: var(--color-accent);
}

/* Timestamp */
.fbo-weather-updated {
  font-size: .70rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: .04em;
  text-align: center;
  opacity: .65;
  min-height: 1em;
}

/* ── Ramp fees ────────────────────────────────────────────────── */
.fbo-pricing-block { display: flex; flex-direction: column; gap: 1rem; flex: 1; }

.fbo-pricing-aircraft-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.fbo-aircraft-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.fbo-aircraft-icon--lg svg { transform: scale(1.1); }

.fbo-pricing-detail { display: flex; flex-direction: column; gap: 3px; }

.fbo-price-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.fbo-price-label {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color-primary);
}

.fbo-price-note {
  font-size: .8rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.fbo-pricing-divider {
  height: 1px;
  background: var(--color-border);
}

/* ── Fuel card ────────────────────────────────────────────────── */
.fbo-fuel-grid { display: flex; flex-direction: column; gap: .875rem; flex: 1; }

.fbo-fuel-type { display: flex; flex-direction: column; gap: .5rem; }

.fbo-fuel-badge {
  display: inline-block;
  padding: 3px 12px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  border-radius: 100px;
  align-self: flex-start;
}

.fbo-fuel-badge--jeta { background: var(--color-accent); color: var(--color-primary); }

.fbo-fuel-rows { display: flex; flex-direction: column; gap: 0; }

.fbo-fuel-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 12px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-bottom: none;
  font-size: .9375rem;
  gap: .25rem .75rem;
}

.fbo-fuel-row:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.fbo-fuel-row:last-child  { border-bottom: 1px solid var(--color-border); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }

.fbo-fuel-service { color: var(--color-text-muted); font-weight: 400; flex: 1 1 auto; min-width: 0; }

.fbo-fuel-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.fbo-fuel-divider {
  height: 1px;
  background: var(--color-border);
  margin: .25rem 0;
}

.fbo-fuel-disclaimer {
  font-size: .8rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin: 0;
  padding-top: .5rem;
  border-top: 1px solid var(--color-border);
}

/* ─── RATES & FEES ────────────────────────────────────────────── */
/* Grouped rate sheet — built for quick, in-cockpit scanning:
   big tabular prices, clear labels, even two-up cards on desktop. */
.fbo-rates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 720px) { .fbo-rates-grid { grid-template-columns: repeat(2, 1fr); } }

.fbo-rate-card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fbo-rate-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.fbo-rate-card-head h3 {
  font-size: 1.0625rem;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.25;
}

.fbo-rate-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fbo-rate-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.fbo-rate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--color-border);
}

.fbo-rate-row:first-child { padding-top: 0; }
.fbo-rate-row:last-child  { border-bottom: none; padding-bottom: 0; }

.fbo-rate-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.fbo-rate-name {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
}

.fbo-rate-note {
  font-size: .8rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.fbo-rate-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.fbo-rate-foot {
  font-size: .8rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  line-height: 1.5;
}

/* ─── TIE-DOWN / OVERNIGHT ────────────────────────────────────── */
.fbo-tiedown-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px)  { .fbo-tiedown-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .fbo-tiedown-grid { grid-template-columns: repeat(4, 1fr); } }

.fbo-tiedown-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fbo-tiedown-card--dark {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* Higher specificity than `.fbo-tiedown-header h3` (which is defined later and
   would otherwise win), so the heading stays visible on the dark card. */
.fbo-tiedown-card--dark .fbo-tiedown-header h3 { color: #fff; }

.fbo-tiedown-card--callout {
  background: var(--color-accent);
  border-color: var(--color-accent);
  position: relative;
}

.fbo-tiedown-card--callout h3 { color: var(--color-primary); }
.fbo-tiedown-card--callout p  { color: rgba(17,24,39,.7); font-size: .9375rem; margin: 0; }

.fbo-callout-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-primary);
  border-radius: 100px;
  align-self: flex-start;
}

.fbo-callout-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.fbo-callout-price span {
  display: block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(17,24,39,.55);
  margin-top: 4px;
}

.fbo-callout-detail {
  font-size: .875rem;
  font-weight: 600;
  color: rgba(17,24,39,.65);
  padding: 8px 12px;
  background: rgba(17,24,39,.08);
  border-radius: var(--radius-sm);
}

.fbo-callout-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  transition: background 140ms ease, box-shadow 140ms ease;
  margin-top: auto;
}

.fbo-callout-cta:hover {
  background: #000;
  box-shadow: 0 4px 14px rgba(17,24,39,.25);
}

/* ─── Call-Out Fee (standalone section) ──────────────────────── */
.fbo-callout-fee {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 2.25rem;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
}
@media (min-width: 720px) {
  .fbo-callout-fee { grid-template-columns: 1fr auto; gap: 3rem; padding: 3rem 3.5rem; }
}
.fbo-callout-fee-info .section-eyebrow { color: var(--color-accent); }
.fbo-callout-fee-info h2 { color: #fff; margin: .5rem 0 .875rem; }
.fbo-callout-fee-info p {
  color: rgba(255, 255, 255, .75);
  line-height: 1.7;
  margin: 0 0 1.75rem;
  max-width: 46ch;
}
.fbo-callout-fee-amount {
  text-align: center;
  padding: 1.75rem 2.25rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
}
.fbo-callout-fee-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.fbo-callout-fee-unit {
  display: block;
  margin-top: .625rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.fbo-tiedown-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fbo-tiedown-header h3 {
  font-size: 1.125rem;
  color: var(--color-primary);
  margin: 0;
}

.fbo-tiedown-icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.fbo-tiedown-icon--jet    { background: rgba(17,24,39,.05); color: var(--color-primary); }
.fbo-tiedown-icon--hangar { background: rgba(232,151,26,.12); color: var(--color-accent); border-color: rgba(232,151,26,.24); }

.fbo-tiedown-rates { display: flex; flex-direction: column; gap: 0; flex: 1; }

/* Container query: each card defines its own width context so rows
   can adapt to the card — not the viewport. */
.fbo-tiedown-card { container-type: inline-size; }

.fbo-tiedown-rate {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  gap: .25rem .75rem;
}

/* Allow the type label to wrap naturally instead of being crushed
   against a nowrap price. */
.fbo-tiedown-type { flex: 1 1 auto; min-width: 0; line-height: 1.35; }

/* When the card itself is narrow (typical at 4-col layout), stack
   label above price for clean typography instead of cramped wrapping. */
@container (max-width: 280px) {
  .fbo-tiedown-rate { flex-direction: column; align-items: flex-start; gap: .125rem; }
  .fbo-tiedown-price { font-size: 1.5rem; }
}

.fbo-tiedown-rate:last-child { border-bottom: none; }

.fbo-tiedown-type {
  font-size: .9375rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.fbo-tiedown-price {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.fbo-tiedown-price small {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: .04em;
  margin-left: 2px;
}

.fbo-tiedown-card--dark .fbo-tiedown-rate  { border-bottom-color: rgba(255,255,255,.1); }
.fbo-tiedown-card--dark .fbo-tiedown-type  { color: rgba(255,255,255,.55); }
.fbo-tiedown-card--dark .fbo-tiedown-price { color: #fff; }
.fbo-tiedown-card--dark .fbo-tiedown-price small { color: rgba(255,255,255,.4); }

.fbo-tiedown-rate--contact .fbo-tiedown-type  { color: rgba(255,255,255,.55); }
.fbo-tiedown-price--contact                   { color: var(--color-accent) !important; font-size: 1.125rem !important; }

.fbo-tiedown-monthly {
  font-size: .875rem;
  color: var(--color-text-muted);
  padding-top: .75rem;
  border-top: 1px solid var(--color-border);
}

.fbo-tiedown-monthly strong { color: var(--color-primary); font-weight: 600; }
.fbo-tiedown-card--dark .fbo-tiedown-monthly { color: rgba(255,255,255,.45); border-top-color: rgba(255,255,255,.1); }
.fbo-tiedown-card--dark .fbo-tiedown-monthly strong { color: rgba(255,255,255,.9); }

.fbo-tiedown-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  transition: background 140ms ease, box-shadow 140ms ease;
  margin-top: auto;
}

.fbo-tiedown-cta:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 4px 14px rgba(232,151,26,.3);
}

/* ─── FEATURED SERVICES ───────────────────────────────────────── */
.fbo-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px)  { .fbo-featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .fbo-featured-grid { grid-template-columns: repeat(3, 1fr); } }

.fbo-featured-card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.fbo-featured-card:hover {
  box-shadow: 0 20px 56px -12px rgba(17,24,39,.10);
  transform: translateY(-3px);
}

.fbo-featured-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 600;
  color: rgba(17,24,39,.04);
  line-height: 1;
  letter-spacing: -0.04em;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  user-select: none;
  pointer-events: none;
}

.fbo-featured-icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.fbo-featured-card h3 {
  font-size: 1.1875rem;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.3;
}

.fbo-featured-card p {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
  font-weight: 400;
}

/* ─── TICKER / NARRATIVE SECTION ──────────────────────────────── */
.fbo-narrative-section {
  background: var(--color-primary);
  overflow: hidden;
}

.fbo-narrative-ticker {
  background: var(--color-accent);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.fbo-ticker-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: fbo-ticker 30s linear infinite;
  padding-right: 2.5rem;
}

.fbo-ticker-track span {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-primary);
}

@keyframes fbo-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.fbo-narrative-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .fbo-narrative-grid {
    grid-template-columns: 320px 1fr;
    gap: 5rem;
  }
}

/* Stats block */
.fbo-narrative-stat-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.fbo-stat {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.fbo-stat:last-child { border-bottom: none; padding-bottom: 0; }

.fbo-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.fbo-stat-label {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  margin-top: 6px;
  letter-spacing: .04em;
}

/* Narrative visual — building photo with the stats overlaid */
.fbo-narrative-visual { position: relative; }

.fbo-narrative-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 26px 55px -22px rgba(0, 0, 0, .7);
}

.fbo-narrative-figure > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scrim so the stats stay legible over the lower part of the photo */
.fbo-narrative-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 24, 39, .92) 6%,
    rgba(17, 24, 39, .55) 32%,
    rgba(17, 24, 39, 0) 62%
  );
}

/* Repurpose the stat block as an overlay anchored to the photo base */
.fbo-narrative-figure .fbo-narrative-stat-block {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  gap: 1.1rem;
  padding: 1.6rem;
}

.fbo-narrative-figure .fbo-stat {
  padding-bottom: 0;
  border-bottom: none;
}

.fbo-narrative-figure .fbo-stat-num { font-size: 2.05rem; }
.fbo-narrative-figure .fbo-stat-label { color: rgba(255, 255, 255, .72); }

/* Narrative content */
.fbo-narrative-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fbo-narrative-content .section-eyebrow {
  margin-bottom: 1.25rem;
}

.fbo-narrative-content h2 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.fbo-narrative-content p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.fbo-narrative-content .btn { margin-top: .75rem; }

/* ─── ACCORDION (native <details>) ────────────────────────────── */
/* FIX #1 — left-align: remove "margin: 0 auto" */
.fbo-accordion-wrap {
  max-width: 860px;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fbo-accordion { background: var(--color-bg); }
.fbo-accordion + .fbo-accordion { border-top: 1px solid var(--color-border); }

.fbo-accordion-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 1.375rem 1.625rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: background 140ms ease;
  user-select: none;
}

.fbo-accordion-trigger::-webkit-details-marker { display: none; }
.fbo-accordion[open] > .fbo-accordion-trigger,
.fbo-accordion-trigger:hover { background: var(--color-bg-soft); }

.fbo-accordion-icon-box {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: background 140ms ease, color 140ms ease;
}

.fbo-accordion[open] > .fbo-accordion-trigger .fbo-accordion-icon-box {
  background: var(--color-accent);
  color: var(--color-primary);
}

.fbo-accordion-trigger span { flex: 1; }

.fbo-accordion-chevron {
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 200ms ease;
}

.fbo-accordion[open] > .fbo-accordion-trigger .fbo-accordion-chevron {
  transform: rotate(180deg);
}

.fbo-accordion-body { padding: 0 1.625rem 1.625rem 4.5rem; }

.fbo-accordion-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.fbo-accordion-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9375rem;
  color: var(--color-text-muted);
  font-weight: 400;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.5;
}

.fbo-accordion-list li:last-child { border-bottom: none; }

.fbo-accordion-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ─── CTA BANNER (FBO page scoped) ───────────────────────────── */
/* The base .cta-banner component isn't loaded on this page, so set the
   vertical rhythm here: symmetric top/bottom padding keeps the heading
   from crowding the section above and the footer below. */
.fbo-cta-banner { padding-top: var(--space-12); padding-bottom: var(--space-12); }

/* ─── STACKED LAYOUTS (tablet & phone) ───────────────────────── */
@media (max-width: 767px) {
  /* Reveal the numbered on-this-page index once the layout stacks. */
  .fbo-index-section { display: block; padding: 1.75rem 0 0; }
  /* Tighten the gap between the index and the first card. */
  .fbo-info-bar { padding-top: 2rem; }
}

/* ─── MOBILE ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .fbo-hero { min-height: 0; }
  .fbo-hero-overlay { background: rgba(17, 24, 39, .72); }
  /* Center the whole hero column on phones for a clean, balanced stack. */
  .fbo-hero-inner { max-width: 100%; text-align: center; }
  .fbo-page-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  /* On phones the hero drops its buttons entirely — the nav and footer
     already carry the call/contact actions, and the hero leads with the
     live field conditions instead. */
  .fbo-page-actions { display: none; }
  .fbo-hero-wx { margin-top: 1.5rem; justify-content: center; }
  /* Show the relocated full weather card at the bottom of the page. */
  .fbo-weather-mobile-section.is-active { display: block; }
  .fbo-tiedown-grid { grid-template-columns: 1fr; }
  .fbo-featured-grid { grid-template-columns: 1fr; }
  .fbo-narrative-grid { gap: 2.5rem; padding-top: 3rem; padding-bottom: 3rem; }
  .fbo-narrative-figure { aspect-ratio: 4 / 3; }
  .fbo-stat-num { font-size: 2.75rem; }
  .fbo-accordion-body { padding-left: 1.625rem; }
  .fbo-price-amount { font-size: 2.25rem; }
  .fbo-tiedown-price { font-size: 1.5rem; }
  .fbo-weather-deg { font-size: 2.75rem; }
  /* Stack weather detail grid on small screens */
  .fbo-weather-details { grid-template-columns: 1fr; }
  .fbo-weather-details .fbo-weather-detail-item:last-child { grid-column: 1; }
  /* Rates & Fees — tighter cards, but keep price/label on one readable row */
  .fbo-rate-card { padding: 1.5rem 1.25rem; }
  .fbo-rate-price { font-size: 1.375rem; }
}