/* ============================================================
   aircraft-brochure.css
   Stylesheet for the Brochure & Specifications page
   (/aircraft-hangar/{slug}/brochure-specifications).

   Deliberately independent from aircraft-details.css (the
   cost-calculator page's stylesheet) — the two pages must not
   share a file, so editing one can never affect the other.
   The base design system below (nav/hero/specs-grid/faq/related/
   footer/responsive) is intentionally the same visual language as
   aircraft-details.css, duplicated here on purpose.
   ============================================================ */

:root {
    --navy: #1a2060;
    --navy-dark: #111540;
    --navy-mid: #1e2570;
    --orange: #e8631a;
    --orange-light: #f07535;
    --orange-pale: rgba(232,99,26,0.1);
    --white: #ffffff;
    --offwhite: #f7f8fc;
    --text: #3a3f5c;
    --muted: #7880a0;
    --border: rgba(26,32,96,0.1);
    --border-light: rgba(26,32,96,0.07);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--offwhite);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy-dark);
  padding: 0 60px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; }
.logo-img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.83rem; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange-light); }
.btn-nav { background: var(--orange); color: white !important; padding: 9px 22px; border-radius: 4px; font-weight: 700 !important; transition: background 0.2s !important; }
.btn-nav:hover { background: var(--orange-light) !important; }
.btn-ghost-nav {
  border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85) !important;
  padding: 8px 20px; border-radius: 4px; font-weight: 600 !important;
  transition: all 0.2s !important;
}
.btn-ghost-nav:hover { border-color: var(--orange); color: var(--orange-light) !important; }

.btn-nav-demo {
    background: transparent;
    color: rgba(255,255,255,0.88) !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.83rem;
    font-weight: 600 !important;
    border: 1.5px solid rgba(255,255,255,0.3);
    transition: all 0.2s !important;
    letter-spacing: 0.01em;
}

    .btn-nav-demo:hover {
        border-color: rgba(255,255,255,0.75) !important;
        color: white !important;
        background: rgba(255,255,255,0.07) !important;
    }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; z-index: 110; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── BREADCRUMB ── */
.breadcrumb {
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
    padding: 90px 60px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--muted);
}

    .breadcrumb a {
        color: var(--muted);
        text-decoration: none;
        transition: color 0.2s;
    }

        .breadcrumb a:hover {
            color: var(--orange);
        }

    .breadcrumb .sep {
        color: var(--border);
    }

    .breadcrumb .current {
        color: var(--navy);
        font-weight: 600;
    }

/* ── AIRCRAFT HERO ── */
.aircraft-hero {
    max-width: 1160px;
    margin: 0 auto;
    padding: 24px 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.hero-left {
    position: relative;
}

.hero-thumb-wrap {
    background: linear-gradient(135deg, #f0f1f5 0%, #e4e6ee 100%);
    border-radius: 12px;
    border: 1.5px solid var(--border);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.hero-thumb {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.1));
}

.hero-type-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--orange);
    color: white;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.hero-gallery-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--navy);
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}

    .hero-gallery-badge:hover {
        background: var(--navy-mid);
    }

.hero-right {
}

.hero-mfr {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 4px;
}

.hero-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.05;
    margin-bottom: 16px;
}

    .hero-name span {
        color: var(--orange);
    }

/* Key stats row */
.key-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.key-stat {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    text-align: center;
}

.key-stat-val {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.key-stat-label {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-top: 3px;
}

/* CTA buttons */
.hero-ctas {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--orange);
    color: white;
    padding: 12px 28px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.2s;
    text-align: center;
    flex: 1;
    min-width: 160px;
}

    .btn-primary:hover {
        background: var(--orange-light);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(232,99,26,0.35);
    }

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border);
    padding: 12px 28px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.2s;
    text-align: center;
    flex: 1;
    min-width: 160px;
}

    .btn-outline:hover {
        border-color: var(--orange);
        color: var(--orange);
    }

/* ── DETAIL SECTIONS ── */
.detail-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 40px 60px 0;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Specs Grid */
.specs-section {
    margin-bottom: 36px;
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .section-title::before {
        content: '';
        width: 3px;
        height: 20px;
        background: var(--orange);
        border-radius: 2px;
        flex-shrink: 0;
    }

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid var(--border);
}

.spec-cell {
    background: white;
    padding: 18px 20px;
}

.spec-label {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 4px;
}

.spec-val {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
}

.spec-sub {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 500;
    margin-top: 2px;
}

/* Description */
.description-section {
    margin-bottom: 36px;
}

.description-text {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.85;
    max-width: 680px;
}

/* ── Brochure-specific: grouped spec tables ── */
.specs-subgroup {
    margin-bottom: 32px;
}

    .specs-subgroup:last-child {
        margin-bottom: 0;
    }

.specs-subgroup-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

/* ── Brochure-specific: print / download actions ── */
.brochure-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-print {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

    .btn-print:hover {
        border-color: var(--orange);
        color: var(--orange);
    }

/* ── Brochure-specific: cross-link back to the cost-calculator page ── */
.cross-link-banner {
    background: rgba(232,99,26,0.08);
    border: 1px solid rgba(232,99,26,0.25);
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

    .cross-link-banner a {
        color: var(--orange);
        font-weight: 600;
        text-decoration: none;
    }

        .cross-link-banner a:hover {
            text-decoration: underline;
        }

/* ── SIDEBAR ── */
.detail-sidebar {
    position: sticky;
    top: 88px;
}

/* Demo CTA card */
.demo-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.demo-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 10px;
}

    .demo-card-title span {
        color: var(--orange);
    }

.demo-card-text {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.demo-card .btn-primary {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.demo-card .btn-outline {
    display: block;
    width: 100%;
}

.demo-card-contact {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    font-size: 0.72rem;
    color: var(--muted);
    text-align: center;
}

    .demo-card-contact a {
        color: var(--orange);
        font-weight: 600;
        text-decoration: none;
    }

/* Quick specs sidebar */
.quick-specs-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.quick-specs-header {
    background: var(--navy);
    padding: 12px 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.quick-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
}

    .quick-spec-row:last-child {
        border-bottom: none;
    }

.quick-spec-label {
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 500;
}

.quick-spec-val {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--navy);
}

/* ── FAQ SECTION ── */
.faq-section {
    max-width: 1160px;
    margin: 0 auto;
    padding: 48px 60px 8px;
}

    .faq-section h2 {
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--navy);
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .faq-section h2::before {
            content: '';
            width: 3px;
            height: 20px;
            background: var(--orange);
            border-radius: 2px;
            flex-shrink: 0;
        }

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

    .faq-item:hover {
        box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    color: var(--muted);
    flex-shrink: 0;
    transition: transform 0.25s;
    margin-left: 12px;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-item.open .faq-question {
    border-bottom: 1px solid var(--border-light);
}

.faq-answer {
    display: none;
    padding: 14px 20px 18px;
    font-size: 0.84rem;
    color: var(--text);
    line-height: 1.75;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ── RELATED AIRCRAFT ── */
.related-section {
    max-width: 1160px;
    margin: 0 auto;
    padding: 48px 60px 8px;
}

    .related-section h2 {
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--navy);
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .related-section h2::before {
            content: '';
            width: 3px;
            height: 20px;
            background: var(--orange);
            border-radius: 2px;
            flex-shrink: 0;
        }

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.related-card {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
}

    .related-card:hover {
        box-shadow: 0 8px 28px rgba(0,0,0,0.1);
        transform: translateY(-3px);
    }

.related-card-img {
    background: linear-gradient(135deg, #f0f1f5 0%, #e4e6ee 100%);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

    .related-card-img img {
        max-height: 70px;
        object-fit: contain;
        filter: drop-shadow(0 3px 8px rgba(0,0,0,0.08));
    }

.related-card-body {
    padding: 14px 16px;
}

.related-card-type {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.related-card-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 8px;
}

.related-card-stats {
    display: flex;
    gap: 16px;
}

.related-stat-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    font-weight: 600;
}

.related-stat-val {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
}

/* ── REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: none;
    }

/* ── FOOTER ── */
footer {
  background: var(--navy-dark); padding: 52px 0 28px;
  border-top: 3px solid var(--orange);
}
.footer-grid {
  max-width: 1160px; margin: 0 auto; padding: 0 60px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 40px;
}
.footer-logo-img { height: 36px; margin-bottom: 14px; display: block; }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 230px; margin-bottom: 14px; }
.footer-member { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.25); font-weight: 700; margin-bottom: 4px; }
.footer-col-title { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--orange); margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.42); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange-light); }
.footer-bottom {
  max-width: 1160px; margin: 0 auto; padding: 18px 60px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between;
  font-size: 0.74rem; color: rgba(255,255,255,0.25);
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 4px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        z-index: 100;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links li {
            list-style: none;
        }

        .nav-links a {
            display: block;
            padding: 12px 0;
            font-size: 0.95rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }

        .nav-links .btn-nav, .nav-links .btn-ghost-nav {
            text-align: center;
            margin-top: 8px;
            border-bottom: none;
        }
}

@media (max-width: 1060px) {
    nav {
        padding: 0 24px;
    }

    .breadcrumb {
        padding: 84px 24px 0;
    }

    .aircraft-hero {
        grid-template-columns: 1fr;
        padding: 24px 24px 0;
        gap: 24px;
    }

    .detail-wrap {
        grid-template-columns: 1fr;
        padding: 32px 24px 0;
    }

    .detail-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .testimonials-section {
        padding: 36px 24px 8px;
    }

    .faq-section {
        padding: 36px 24px 8px;
    }

    .related-section {
        padding: 36px 24px 8px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 0 24px;
    }

    .footer-bottom {
        padding: 16px 24px 0;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .breadcrumb {
        padding: 78px 18px 0;
        font-size: 0.65rem;
    }

    .aircraft-hero {
        padding: 16px 18px 0;
    }

    .hero-thumb-wrap {
        min-height: 200px;
        padding: 24px;
    }

    .hero-name {
        font-size: 1.8rem;
    }

    .key-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .key-stat {
        padding: 10px 8px;
    }

    .key-stat-val {
        font-size: 1.2rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .detail-wrap {
        padding: 24px 18px 0;
    }

    .detail-sidebar {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-section {
        padding: 32px 18px 8px;
    }

    .faq-section {
        padding: 32px 18px 8px;
    }

    .faq-question {
        font-size: 0.84rem;
        padding: 14px 16px;
    }

    .faq-answer {
        font-size: 0.8rem;
        padding: 12px 16px 14px;
    }

    .related-section {
        padding: 32px 18px 8px;
    }

    .related-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 18px;
        text-align: center;
    }

    .footer-tagline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-logo-img {
        margin: 0 auto 14px;
    }

    .footer-links {
        align-items: center;
    }

    .footer-bottom {
        padding: 14px 18px 0;
        font-size: 0.65rem;
    }

    .demo-card {
        padding: 20px 18px;
    }

    .demo-card-title {
        font-size: 1.1rem;
    }

    .cross-link-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 16px 18px;
    }

    .quick-spec-label {
        font-size: 0.7rem;
    }

    .quick-spec-val {
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0 14px;
        height: 64px;
    }

    .nav-logo img {
        height: 30px;
    }

    .hamburger span {
        width: 20px;
    }

    .nav-links {
        top: 58px;
        padding: 12px 14px 20px;
    }

    .breadcrumb {
        padding: 68px 14px 0;
        font-size: 0.6rem;
    }

    .aircraft-hero {
        padding: 12px 14px 0;
    }

    .hero-name {
        font-size: 1.5rem;
    }

    .hero-mfr {
        font-size: 0.6rem;
    }

    .hero-thumb-wrap {
        min-height: 160px;
        padding: 18px;
    }

    .hero-type-badge {
        font-size: 0.52rem;
        padding: 3px 7px;
    }

    .hero-gallery-badge {
        font-size: 0.55rem;
        padding: 5px 9px;
    }

    .key-stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6px;
    }

    .key-stat {
        padding: 8px 6px;
    }

    .key-stat-val {
        font-size: 1.05rem;
    }

    .key-stat-label {
        font-size: 0.52rem;
    }

    .btn-primary {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .btn-outline {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .btn-print {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .detail-wrap {
        padding: 20px 14px 0;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .specs-subgroup-title {
        font-size: 0.7rem;
    }

    .specs-subgroup {
        margin-bottom: 24px;
    }

    .specs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .spec-cell {
        padding: 12px 14px;
    }

    .spec-label {
        font-size: 0.55rem;
    }

    .spec-val {
        font-size: 1.05rem;
    }

    .spec-sub {
        font-size: 0.65rem;
    }

    .description-text {
        font-size: 0.8rem;
        line-height: 1.7;
    }

    .cross-link-banner {
        padding: 14px 16px;
        font-size: 0.85rem;
    }

    .demo-card {
        padding: 18px 14px;
    }

    .demo-card-title {
        font-size: 1.1rem;
    }

    .demo-card-text {
        font-size: 0.74rem;
    }

    .demo-card-contact {
        font-size: 0.65rem;
    }

    .quick-specs-header {
        font-size: 0.58rem;
        padding: 10px 14px;
    }

    .quick-spec-row {
        padding: 10px 14px;
    }

    .quick-spec-label {
        font-size: 0.68rem;
    }

    .quick-spec-val {
        font-size: 0.76rem;
    }

    .testimonials-section {
        padding: 24px 14px 4px;
    }

    .faq-section {
        padding: 24px 14px 4px;
    }

        .faq-section h2 {
            font-size: 1.15rem;
        }

    .faq-question {
        font-size: 0.78rem;
        padding: 12px 14px;
    }

    .faq-answer {
        font-size: 0.76rem;
        padding: 10px 14px 12px;
    }

    .related-section {
        padding: 24px 14px 4px;
    }

        .related-section h2 {
            font-size: 1.15rem;
        }

    .related-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .related-card-name {
        font-size: 1rem;
    }

    .footer-grid {
        padding: 0 14px;
        gap: 20px;
    }

    .footer-tagline {
        font-size: 0.72rem;
    }

    .footer-bottom {
        padding: 12px 14px 0;
        font-size: 0.6rem;
    }
}

/* Mobile hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1001;
    position: relative;
}

    .hamburger span {
        width: 24px;
        height: 2.5px;
        background-color: #ffffff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

@media (max-width: 912px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    /* ── Hamburger → X animation ── */
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ── Full-screen slide-in panel ── */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #111540;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 24px 24px 0;
        border-bottom: none;
        max-height: none;
        text-align: left;
        gap: 0;
        margin: 0;
    }

        .nav-links.active {
            transform: translateX(0);
        }

        /* ── Regular nav links ── */
        .nav-links li {
            width: 100%;
        }

            .nav-links li:last-child {
                border-bottom: none;
            }

        .nav-links a:not(.btn-nav-demo):not(.btn-nav-login):not(.btn-nav) {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 8px;
            color: rgba(255, 255, 255, 0.75);
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: 0.01em;
            transition: color 0.2s;
            margin: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

            .nav-links a:not(.btn-nav-demo):not(.btn-nav-login):not(.btn-nav)::after {
                content: '';
                display: block;
                width: 7px;
                height: 7px;
                border-right: 2px solid rgba(255, 255, 255, 0.25);
                border-top: 2px solid rgba(255, 255, 255, 0.25);
                transform: rotate(45deg);
                flex-shrink: 0;
            }

            .nav-links a:not(.btn-nav-demo):not(.btn-nav-login):not(.btn-nav):hover {
                color: #f07535;
            }

        /* ── CTA group — pushed to bottom ── */
        .nav-links li:has(.btn-nav-demo) {
            margin-top: auto;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            border-bottom: none;
        }

        .nav-links li:has(.btn-nav-login),
        .nav-links li:has(.btn-nav) {
            border-bottom: none;
        }

        .nav-links li:last-child {
            padding-bottom: 32px;
        }

    /* ── Ghost buttons (Book a Demo, Login) ── */
    .btn-nav-demo,
    .btn-nav-login {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 24px;
        margin: 0 0 12px;
        width: 100%;
        min-height: 48px;
        border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 6px;
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        text-align: center;
        transition: all 0.2s;
        background: none;
    }

        .btn-nav-demo:hover,
        .btn-nav-login:hover {
            background: transparent !important;
            border-color: var(--orange);
            color: var(--orange) !important;
        }

    /* ── Primary button (Start Free Trial) ── */
    .btn-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 24px;
        margin: 0;
        width: 100%;
        min-height: 48px;
        background: #e8631a;
        border: 1.5px solid #e8631a;
        border-radius: 6px;
        color: white;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-align: center;
        transition: all 0.2s;
    }

        .btn-nav:hover {
            background: #f07535;
            border-color: #f07535;
        }

        /* Suppress chevron on CTA links */
        .btn-nav-demo::after,
        .btn-nav-login::after,
        .btn-nav::after {
            display: none !important;
        }
}

@media (min-width: 913px) {
    .nav-links {
        position: static;
        transform: none;
    }
}

/**Login Button**/
.btn-nav-login {
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-nav-login:hover {
        background: #fff;
        color: #111540;
    }

/* ===== PRINT ===== */
@media print {
    /* Chrome/Safari drop background colors on print by default, which
       blanks out the orange category badge and the navy quick-specs
       header (leaving near-invisible text). Force them to render. */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    nav, .breadcrumb-list, .hero-ctas, .brochure-actions, .cross-link-banner,
    .related-section, .faq-section, footer,
    /* The sidebar (demo CTA + quick-reference card) sits in a fixed
       380px grid column sized for screen — on a print page that
       overflows the printable width and clips the specs next to it.
       Its content also duplicates the full specs tables below, so
       drop it entirely rather than try to reflow it. */
    .detail-sidebar {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #111 !important;
    }

    .spec-val, .hero-name, .section-title {
        color: #111 !important;
    }

    .spec-label, .spec-sub, p {
        color: #444 !important;
    }

    /* With the sidebar column gone, let the main column fill the page
       instead of staying pinned to a 1fr/380px grid track. */
    .detail-wrap {
        display: block !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    /* Keep each spec group's heading glued to its table, and don't
       let a table (or one of its rows) split across a page break —
       push the whole group to the next page instead. */
    .aircraft-hero,
    .specs-subgroup,
    .specs-grid,
    .spec-cell {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .section-title,
    .specs-subgroup-title {
        break-after: avoid;
        page-break-after: avoid;
    }
}
