/* ==========================================
   BOEING 737 PAGE
   ========================================== */

.scroll-container {
  scroll-snap-type: none;
}

.b737-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 184, 0, 0.18), transparent 24%),
    linear-gradient(180deg, #02050d 0%, #050b14 44%, #02050d 100%);
}

.b737-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.b737-hero-bg,
.b737-hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.b737-hero-bg {
  background-image: url("../assets/boeing737bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(1.02) contrast(1.08) saturate(1.08);
}

.b737-hero-overlay {
  background:
    radial-gradient(circle at 74% 45%, rgba(255, 184, 0, 0.16), transparent 24%),
    linear-gradient(90deg, rgba(2, 5, 13, 0.99) 0%, rgba(2, 5, 13, 0.9) 32%, rgba(2, 5, 13, 0.44) 58%, rgba(2, 5, 13, 0.12) 100%),
    linear-gradient(180deg, rgba(2, 5, 13, 0.02) 0%, rgba(2, 5, 13, 0.14) 52%, #02050d 100%);
}

.b737-shell {
  min-height: 100vh;
  height: auto;
  justify-content: flex-start;
  padding-top: clamp(16px, 2vh, 28px);
  padding-bottom: clamp(18px, 2.6vh, 32px);
}

.nav-link.active {
  color: var(--accent-yellow);
}

.b737-hero-grid {
  flex: 1;
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  padding: clamp(42px, 9vh, 112px) 0 clamp(34px, 7vh, 78px);
}

.b737-hero-copy {
  max-width: 650px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(13px, 1.7vh, 20px);
}

.b737-badge {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(5, 11, 20, 0.58);
  backdrop-filter: blur(12px);
}

.b737-title {
  font-family: var(--font-tech);
  font-size: clamp(3rem, 4.7vw, 5.35rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--text-primary);
  text-wrap: balance;
  max-width: 650px;
}

.b737-title span {
  display: block;
  margin-top: 0.04em;
  color: var(--accent-yellow);
}

.b737-subtitle {
  max-width: 560px;
  color: var(--text-secondary);
  font-size: clamp(0.92rem, 0.98vw, 1.05rem);
  line-height: 1.58;
  margin-bottom: clamp(14px, 2.4vh, 28px);
}

.b737-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: clamp(8px, 1.3vh, 16px);
}

.b737-proof-row {
  width: min(100%, 710px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.b737-proof-row div {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 9px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(5, 11, 20, 0.76);
}

.b737-proof-icon,
.b737-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  font-family: var(--font-tech);
  font-weight: 800;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.24);
}

.b737-proof-icon {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 0.66rem;
}

.b737-proof-row strong {
  color: var(--text-primary);
  font-size: clamp(0.76rem, 0.76vw, 0.86rem);
  line-height: 1.2;
}

.b737-proof-row small {
  color: var(--text-secondary);
  font-size: clamp(0.67rem, 0.68vw, 0.76rem);
  line-height: 1.3;
}

.b737-content {
  position: relative;
  z-index: 2;
  padding: 0 3.5vw 64px;
}

.b737-container {
  width: min(100%, 1440px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 2.3vw, 32px);
}

.b737-systems-panel,
.b737-airline-panel,
.b737-testimonial-panel {
  padding: clamp(22px, 2.8vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.82), rgba(3, 8, 16, 0.72));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.b737-section-heading {
  margin-bottom: 18px;
}

.b737-section-heading h2,
.b737-bottom-content h2 {
  font-family: var(--font-tech);
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.b737-section-heading h2::after,
.b737-bottom-content h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 10px;
  border-radius: 99px;
  background: var(--accent-yellow);
}

.b737-systems-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(10px, 1vw, 14px);
}

.b737-systems-grid article {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background:
    linear-gradient(160deg, rgba(255, 184, 0, 0.05), transparent 42%),
    rgba(5, 14, 27, 0.76);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.b737-systems-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 184, 0, 0.35);
  background: rgba(255, 184, 0, 0.08);
}

.b737-systems-grid span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-yellow);
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.22);
}

.b737-systems-grid h3 {
  color: var(--text-primary);
  font-size: 0.86rem;
  line-height: 1.25;
  font-weight: 800;
}

.b737-systems-grid small {
  color: var(--accent-yellow);
  font-size: 0.7rem;
  font-weight: 700;
}

.b737-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 1.6vw, 24px);
}

.b737-feature-card {
  overflow: hidden;
  min-width: 0;
  min-height: 506px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(5, 11, 20, 0.82);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.b737-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 184, 0, 0.35);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.36), 0 0 28px rgba(255, 184, 0, 0.06);
}

.b737-feature-card img {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  object-fit: contain;
  padding: 16px 16px 0;
  display: block;
  background: #050b14;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.b737-feature-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
}

.b737-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 10px;
  font-size: 0.78rem;
}

.b737-feature-body h2 {
  color: var(--text-primary);
  font-family: var(--font-tech);
  font-size: clamp(1.18rem, 1.3vw, 1.42rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.b737-feature-body p {
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.62;
}

.b737-feature-body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 18px;
  list-style: none;
}

.b737-feature-body li {
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
}

.b737-feature-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-yellow);
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.45);
}

.b737-feature-body a {
  margin-top: auto;
  color: var(--accent-yellow);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
}

.b737-feature-body a:hover {
  color: var(--accent-yellow-hover);
}

.b737-metric-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(5, 11, 20, 0.86);
  margin: clamp(34px, 5vw, 68px) 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.b737-metric-strip div {
  min-width: 0;
  padding: clamp(16px, 2.5vw, 28px) clamp(10px, 1.2vw, 20px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.b737-metric-strip div:last-child {
  border-right: 0;
}

.b737-metric-strip strong {
  display: block;
  color: var(--accent-yellow);
  font-family: var(--font-tech);
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
}

.b737-metric-strip span {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-family: var(--font-main);
  font-size: clamp(0.68rem, 0.75vw, 0.8rem);
  font-weight: 600;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.b737-why-panel,
.b737-ready-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(5, 11, 20, 0.82);
}

.b737-why-panel {
  min-height: 300px;
}

.b737-ready-panel {
  min-height: 360px;
}

.b737-why-panel img,
.b737-ready-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.84) contrast(1.08) saturate(1.08);
}

.b737-why-panel::after,
.b737-ready-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 5, 13, 0.84) 0%, rgba(2, 5, 13, 0.54) 55%, rgba(2, 5, 13, 0.2) 100%),
    linear-gradient(180deg, rgba(2, 5, 13, 0.05) 0%, rgba(2, 5, 13, 0.48) 100%);
  z-index: 0;
}

.b737-bottom-content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(26px, 3.4vw, 44px);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.b737-bottom-content p {
  margin-top: 20px;
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.72;
}

.b737-why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  width: min(100%, 1120px);
  margin-top: 26px;
}

.b737-why-grid div,
.b737-airline-grid article,
.b737-testimonial-grid article {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(5, 11, 20, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.b737-why-grid div {
  padding: 16px;
}

.b737-why-grid strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.86rem;
  line-height: 1.25;
}

.b737-why-grid span {
  display: block;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 0.76rem;
  line-height: 1.42;
}

.b737-airline-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
}

.b737-airline-grid article {
  overflow: hidden;
  min-height: 192px;
}

.b737-airline-grid img {
  width: 100%;
  height: 108px;
  display: block;
  object-fit: cover;
  filter: brightness(0.9) saturate(1.05);
}

.b737-airline-grid strong,
.b737-airline-grid span {
  display: block;
  padding: 0 14px;
}

.b737-airline-grid strong {
  margin-top: 12px;
  color: var(--text-primary);
  font-family: var(--font-tech);
  font-size: 1rem;
}

.b737-airline-grid span {
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 0.76rem;
  line-height: 1.35;
}

.b737-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.3vw, 20px);
}

.b737-testimonial-grid article {
  padding: 18px;
}

.b737-testimonial-grid span {
  color: var(--accent-yellow);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.b737-testimonial-grid p {
  margin-top: 12px;
  min-height: 70px;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.55;
}

.b737-testimonial-grid strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.86rem;
}

.b737-testimonial-grid small {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.b737-ready-panel .b737-actions {
  margin-top: 28px;
}

.site-footer {
  position: relative;
  z-index: 2;
}

@media (max-width: 1180px) {
  .b737-hero {
    min-height: auto;
  }

  .b737-shell {
    min-height: auto;
  }

  .b737-hero-grid {
    width: min(100%, 760px);
    grid-template-columns: 1fr;
    align-items: center;
    gap: clamp(24px, 3vw, 34px);
    padding-top: clamp(24px, 4vh, 48px);
    padding-bottom: clamp(30px, 5vh, 58px);
  }

  .b737-hero-copy,
  .b737-title {
    max-width: 760px;
  }

  .b737-title {
    font-size: clamp(2.85rem, 6.6vw, 4.25rem);
  }

  .b737-systems-grid,
  .b737-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .b737-feature-grid,
  .b737-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .b737-metric-strip,
  .b737-airline-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .b737-hero-bg {
    background-position: 62% center;
  }

  .b737-hero-overlay {
    background:
      radial-gradient(circle at 56% 25%, rgba(255, 184, 0, 0.12), transparent 28%),
      linear-gradient(180deg, rgba(2, 5, 13, 0.76) 0%, rgba(2, 5, 13, 0.9) 50%, #02050d 100%);
  }

  .b737-hero-grid {
    gap: 24px;
    padding-top: clamp(16px, 4vw, 30px);
    padding-bottom: 38px;
  }

  .b737-title {
    font-size: clamp(2.55rem, 8.2vw, 3.9rem);
  }

  .b737-proof-row {
    grid-template-columns: 1fr;
  }

  .b737-systems-grid,
  .b737-metric-strip,
  .b737-airline-grid,
  .b737-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .b737-feature-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .b737-shell {
    padding: 18px 16px 32px;
  }

  .b737-content {
    padding: 0 16px 48px;
  }

  .b737-title {
    font-size: clamp(2.2rem, 11.6vw, 3.05rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .b737-subtitle {
    line-height: 1.6;
  }

  .b737-proof-row div {
    padding: 12px;
  }

  .b737-actions,
  .b737-actions .btn-primary-cta,
  .b737-actions .btn-secondary-cta {
    width: 100%;
  }

  .b737-actions .btn-primary-cta,
  .b737-actions .btn-secondary-cta {
    justify-content: center;
  }

  .b737-systems-panel,
  .b737-airline-panel,
  .b737-testimonial-panel {
    padding: 18px;
  }

  .b737-systems-grid,
  .b737-feature-grid,
  .b737-metric-strip,
  .b737-airline-grid,
  .b737-testimonial-grid,
  .b737-why-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .b737-systems-grid article {
    min-height: 92px;
  }

  .b737-feature-card {
    min-height: auto;
  }

  .b737-feature-body {
    padding: 18px;
  }

  .b737-metric-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .b737-metric-strip div:last-child {
    border-bottom: 0;
  }

  .b737-bottom-content {
    min-height: 360px;
    padding: 24px;
  }

  .b737-testimonial-grid p {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .b737-proof-row div {
    grid-template-columns: 1fr;
  }

  .b737-proof-icon {
    grid-row: auto;
  }
}
