/* ===================================
   Page Header
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.25rem 0 1.5rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;        /* ← fix: overlay no longer blocks clicks */
}

/* ── Header content stacking ── */
.page-header-content {
    position: relative;
    z-index: 1;                  /* ← fix: content sits above ::before overlay */
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

/* ── Breadcrumb ── */
.breadcrumb {
    background: transparent;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 1;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Trust badges ── */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    position: relative;
    z-index: 1;                  /* ← fix: badges above overlay */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    white-space: nowrap;
    position: relative;
    z-index: 1;                  /* ← fix: each badge above overlay */
}

/* ── Hero quick-links ── */
.hero-quicklinks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;                  /* ← fix: nav row above overlay */
}

.hero-quicklinks-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin-right: 0.15rem;
    white-space: nowrap;
}

.hero-quicklink {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;             /* ← fix: show pointer cursor on hover */
    position: relative;
    z-index: 1;                  /* ← fix: each link above overlay */
    transition: background 0.18s ease,
                border-color 0.18s ease,
                color 0.18s ease;
}

.hero-quicklink:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    text-decoration: none;
}

.hero-quicklink:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .page-header {
        padding: 1rem 0 1.25rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .hero-quicklinks {
        gap: 0.35rem;
    }

    .hero-quicklink {
        font-size: 0.75rem;
        padding: 0.18rem 0.6rem;
    }
}



/* ── Page title highlight span ── */
.page-title-highlight {
    opacity: 0.88;
    font-weight: 700;
}

/* ── Single hero badge (top tool identifier) ── */
.hero-badges + .hero-badges {
    margin-top: 0.5rem;
}
