/* fleet-grid.css — aircraft card grid only, no header/banner/footer changes */
:root {
  --fg-gold:   #B8893A;
  --fg-copper: #b8956a;
  --fg-navy:   #1e2a3a;
  --fg-border: rgba(30, 42, 58, 0.10);
  --fg-muted:  rgba(30, 42, 58, 0.52);
  --fg-text:   #1a1a1a;
  --fg-surface:#fbfaf7;
  --fg-serif:  'Playfair Display', Georgia, serif;
  --fg-sans:   'Inter', system-ui, sans-serif;
}

/* ── CONTAINER OVERRIDE (remove fixed 1349px from styles-min.css) ─────── */
#content-resp {
  width: auto;
  max-width: 1240px;
  padding: 0 clamp(20px, 4vw, 48px);
  box-sizing: border-box;
  margin: 0 auto;
}

/* ── WRAPPER ─────────────────────────────────────────────────────────── */
#flota {
  display: block !important;   /* override styles-min flex layout */
  width: auto;
  max-width: none;
  margin: 0;
  padding: clamp(44px, 6vw, 72px) 0 clamp(76px, 8vw, 112px);
  box-sizing: border-box;
  background: var(--fg-surface);
  box-shadow: 0 0 0 100vmax var(--fg-surface);
  clip-path: inset(0 -100vmax);
}

/* Keep the form aligned with the full-width fleet section. */
#contact-form {
  width: 100% !important;
  max-width: none !important;
  background-size: cover !important;
  background-position: center top !important;
}

/* ── INTRO ───────────────────────────────────────────────────────────── */
.fleet-intro {
  position: relative;
  overflow: hidden;
  max-width: 820px;
  margin: 0 0 clamp(44px, 5vw, 64px);
  padding: clamp(26px, 4vw, 44px) 0 clamp(30px, 4vw, 48px);
  border-top: 1px solid var(--fg-border);
  border-bottom: 1px solid var(--fg-border);
}

.fleet-intro::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 76px;
  height: 2px;
  background: var(--fg-copper);
}

.fleet-intro-copy {
  position: relative;
  z-index: 1;
}

.fleet-intro-eyebrow {
  display: block;
  font-family: var(--fg-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-gold);
  margin-bottom: 14px;
}

.fleet-intro-title {
  font-family: var(--fg-serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--fg-navy);
  margin: 0 0 clamp(18px, 2vw, 24px);
}

.fleet-intro-text {
  font-family: var(--fg-sans);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.75;
  color: var(--fg-muted);
  margin: 0;
}

/* ── CATEGORY SEPARATOR ──────────────────────────────────────────────── */
.fleet-category {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 24px);
  margin: clamp(48px, 5vw, 68px) 0 clamp(22px, 2.5vw, 32px);
  width: 100%;
  box-sizing: border-box;
}

.fleet-intro + .fleet-category {
  margin-top: 0;
}

.fleet-category-label {
  font-family: var(--fg-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-gold);
  white-space: nowrap;
}

.fleet-category-line {
  flex: 1;
  height: 1px;
  background: var(--fg-border);
}

/* ── GRID ────────────────────────────────────────────────────────────── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(22px, 2.4vw, 34px);
  width: 100%;
  box-sizing: border-box;
}

/* ── CARD ────────────────────────────────────────────────────────────── */
.fleet-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--fg-border);
  border-radius: 2px;
  box-shadow: 0 18px 45px rgba(30, 42, 58, 0.06);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.fleet-card:hover {
  border-color: rgba(184, 137, 58, 0.45);
  box-shadow: 0 24px 60px rgba(30, 42, 58, 0.10);
  transform: translateY(-4px);
}

.fleet-card-photo {
  position: relative;
  width: 100%;
  min-height: 180px;   /* fallback if aspect-ratio unsupported */
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #e8e8e8;
  flex-shrink: 0;
  transition: transform 0.45s ease;
}

.fleet-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 42, 58, 0.12) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.fleet-badge {
  position: absolute;
  top: 8%;
  left: 0;
  z-index: 2;
  padding: 10px 24px;
  background: var(--fg-copper);
  color: #ffffff;
  font-family: var(--fg-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(30, 42, 58, 0.16);
}

.fleet-card:hover .fleet-card-photo {
  transform: scale(1.025);
}

.fleet-card-body {
  padding: clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  flex: 1;
  background: linear-gradient(180deg, #ffffff 0%, var(--fg-surface) 100%);
}

.fleet-eyebrow {
  font-family: var(--fg-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-gold);
  margin-bottom: 8px;
  display: block;
  opacity: 0.92;
}

.fleet-card-name {
  font-family: var(--fg-serif);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 700;
  color: var(--fg-navy);
  margin: 0 0 clamp(12px, 1.5vw, 18px);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

/* Optional note — ready if HTML adds .fleet-card-note later */
.fleet-card-note {
  font-family: var(--fg-sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0 0 clamp(14px, 1.8vw, 20px);
}

/* ── SPECS ROW ───────────────────────────────────────────────────────── */
.fleet-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--fg-border);
  padding-top: 18px;
  margin-top: auto;
}

.fleet-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
}

.fleet-spec + .fleet-spec {
  border-left: 0;
  padding-left: 0;
  padding-right: 0;
}

.fleet-spec span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.fleet-spec strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-navy);
  font-family: var(--fg-sans);
  line-height: 1.3;
}

/* ── CTA LINK ────────────────────────────────────────────────────────── */
.fleet-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: clamp(18px, 2vw, 24px);
  font-family: var(--fg-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--fg-gold);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.fleet-cta::after {
  content: '→';
  font-size: 12px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.fleet-card:hover .fleet-cta {
  color: var(--fg-gold);
  border-bottom-color: rgba(184, 137, 58, 0.7);
  gap: 10px;
}

.fleet-card:hover .fleet-cta::after {
  transform: translateX(2px);
}

/* ── TABLET ──────────────────────────────────────────────────────────── */
@media screen and (max-width: 900px) {
  #content-resp {
    padding: 0 clamp(18px, 3vw, 28px);
  }

  .fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 26px);
  }

  .fleet-category {
    margin-top: clamp(40px, 5vw, 56px);
  }
}

/* ── MOBILE (matches styles-min.css breakpoint at 480px) ─────────────── */
@media screen and (max-width: 480px) {
  #content-resp {
    padding: 0 16px;
    margin: 0 !important;
  }

  #flota {
    padding: 36px 0 64px;
    margin: 0 !important;   /* override margin-top: 25px!important from styles-min */
  }

  .fleet-intro {
    margin-bottom: 36px;
    padding: 26px 22px;
  }

  .fleet-intro-title {
    font-size: 2rem;
  }

  .fleet-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fleet-category {
    margin: 40px 0 20px;
    gap: 14px;
  }

  .fleet-category:first-child {
    margin-top: 0;
  }

  .fleet-card-photo {
    min-height: 160px;
    aspect-ratio: 16 / 9;
  }

  .fleet-badge {
    padding: 9px 18px;
    font-size: 9px;
  }

  .fleet-card:hover {
    transform: translateY(-2px);
  }

  .fleet-card:hover .fleet-card-photo {
    transform: none;
  }

  .fleet-card-name {
    font-size: 1.125rem;
  }

  .fleet-specs {
    gap: 8px;
    padding-top: 16px;
  }

  .fleet-spec span {
    font-size: 9px;
  }

  .fleet-spec strong {
    font-size: 13px;
  }
}

/* Narrow mobile: keep specs readable */
@media screen and (max-width: 360px) {
  .fleet-specs {
    grid-template-columns: 1fr 1fr;
  }

  .fleet-spec:last-child {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fleet-card,
  .fleet-card-photo,
  .fleet-cta,
  .fleet-cta::after {
    transition: none;
  }

  .fleet-card:hover,
  .fleet-card:hover .fleet-card-photo {
    transform: none;
  }
}
