/* ── CATALOGO — page specific ── */
.page-hero {
    background: var(--hero-bg);
    padding: 10rem 3rem 5rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(46, 163, 242, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 163, 242, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.page-hero-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-accent);
    margin-bottom: 1.2rem;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.page-hero h1 em {
    font-style: normal;
    color: var(--teal-accent);
}

.page-hero-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 650px;
    line-height: 1.75;
}

/* ── FILTER BAR ── */
.filter-bar {
    background: #0F1B3D;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 3rem;
    position: sticky;
    top: 72px;
    z-index: 50;
}

.filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.filter-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}

.filter-btn {
    padding: 0.45rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: all 0.18s;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: rgba(46, 163, 242, 0.4);
    color: rgba(255, 255, 255, 0.85);
}

.filter-btn.active {
    background: var(--teal-accent);
    border-color: var(--teal-accent);
    color: var(--white);
}

.filter-sep {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
}

.filter-count {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    margin-left: auto;
}

.filter-count span {
    color: var(--teal-accent);
    font-weight: 700;
}

/* ── CATALOG GRID ── */
.catalog-section {
    padding: 3rem;
    background: #F5F7FA;
    min-height: 60vh;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── PLATFORM CARD ── */
.platform-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
    cursor: pointer;
}

.platform-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--blue-primary);
}

.platform-card.hidden {
    display: none;
}

.card-visual {
    background: var(--hero-bg);
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-visual-photo {
    height: 200px;
    background: #050a14 !important;
}

.card-visual-photo::before {
    display: none;
}

.card-visual picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.card-visual picture img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.card-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    position: relative;
    z-index: 1;
    padding: 8px;
}

.card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(46, 163, 242, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 163, 242, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.card-visual .platform-svg {
    position: relative;
    z-index: 1;
    opacity: 0.85;
}

.card-family-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(33, 64, 154, 0.85);
    border: 1px solid rgba(46, 163, 242, 0.3);
    color: var(--teal-accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    z-index: 2;
}

.card-mission-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    z-index: 2;
}

.card-body {
    padding: 1.5rem;
}

.card-code {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-accent);
    margin-bottom: 0.3rem;
}

.card-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.84rem;
    color: #5a6475;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.card-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.spec-item {
    background: #F5F7FA;
    border-radius: 6px;
    padding: 0.5rem 0.7rem;
}

.spec-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a94a6;
    margin-bottom: 0.2rem;
}

.spec-value {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.card-tag {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    color: #5a6475;
}

.card-tag.ndaa {
    color: #059669;
    border-color: #a7f3d0;
    background: #ecfdf5;
}

.card-tag.easa {
    color: #2563eb;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.card-tag.reserved {
    color: #92400e;
    border-color: #fde68a;
    background: #fffbeb;
}

.card-cta {
    display: block;
    text-align: center;
    background: #F5F7FA;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue-primary);
    text-decoration: none;
    margin-top: 1rem;
    transition: background 0.2s, border-color 0.2s;
}

.card-cta:hover {
    background: var(--blue-primary);
    color: var(--white);
    border-color: var(--blue-primary);
}

.card-cta.reserved-cta {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

/* No results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.no-results.visible {
    display: block;
}

.no-results h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.no-results p {
    font-size: 0.9rem;
    color: #8a94a6;
}

/* ── UAS SVG SHAPES ── */
.uas-shape {
    width: 90px;
    height: 60px;
}

@media (max-width: 768px) {
    .filter-inner {
        gap: 1rem;
    }

    .filter-count {
        display: none;
    }

    .catalog-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .card-visual {
        height: 220px;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}