/* ===== Shared page-hero used across navbar-linked pages ===== */
.rq-page-hero {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    padding: 200px 0 100px;
    background: #0F1B2D;
    color: #fff;
    isolation: isolate;
}
.rq-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--rq-hero-bg, url('https://images.unsplash.com/photo-1542744095-291d1f67b221?auto=format&fit=crop&w=2000&q=80'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.32;
    z-index: -2;
}
.rq-page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15,27,45,0.85) 0%, rgba(0,30,64,0.75) 60%, rgba(0,114,181,0.55) 100%),
        radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: auto, 22px 22px;
    z-index: -1;
    pointer-events: none;
}
.rq-page-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #BFE3FF;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
}
.rq-page-hero .eyebrow::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: #0FCFFF;
    box-shadow: 0 0 0 3px rgba(15,207,255,0.25);
}
.rq-page-hero h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-size: clamp(34px, 5vw, 56px);
    margin-bottom: 18px;
    color: #fff;
}
.rq-page-hero h1 .accent {
    background: linear-gradient(90deg, #0FCFFF 0%, #BFE3FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.rq-page-hero .lead {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    max-width: 620px;
    margin-bottom: 28px;
}
.rq-page-hero .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.rq-page-hero .btn-primary,
.rq-page-hero a.btn-primary {
    background: #0072B5 !important;
    border: none !important;
    padding: 13px 28px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    color: #fff !important;
    box-shadow: 0 10px 24px -10px rgba(15,207,255,0.5) !important;
    transition: transform .25s ease, box-shadow .25s ease !important;
    text-decoration: none;
}
.rq-page-hero .btn-primary:hover,
.rq-page-hero a.btn-primary:hover {
    transform: translateY(-2px);
    background: #005a91 !important;
    box-shadow: 0 14px 28px -10px rgba(15,207,255,0.6) !important;
}
.rq-page-hero .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    font-weight: 600;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.06);
    text-decoration: none;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.rq-page-hero .btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.45);
    color: #fff;
    transform: translateY(-2px);
}
.rq-page-hero .quick-stats {
    display: flex;
    gap: 36px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.10);
    flex-wrap: wrap;
}
.rq-page-hero .quick-stats .qs-num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}
.rq-page-hero .quick-stats .qs-num span { color: #0FCFFF; }
.rq-page-hero .quick-stats .qs-label {
    font-size: 12.5px;
    color: rgba(255,255,255,0.65);
    margin-top: 6px;
    letter-spacing: 0.02em;
}

/* Stagger fade-up animation */
.rq-hero-fade { animation: rqHeroFade .8s ease both; }
.rq-hero-fade.d1 { animation-delay: .1s; }
.rq-hero-fade.d2 { animation-delay: .2s; }
.rq-hero-fade.d3 { animation-delay: .3s; }
.rq-hero-fade.d4 { animation-delay: .4s; }
@keyframes rqHeroFade {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
    .rq-page-hero { padding: 150px 0 80px; min-height: auto; }
    .rq-page-hero h1 { font-size: clamp(28px, 6vw, 40px); }
    .rq-page-hero .lead { font-size: 15.5px; }
    .rq-page-hero .quick-stats { gap: 24px; }
}
@media (max-width: 575.98px) {
    .rq-page-hero { padding: 130px 0 60px; }
    .rq-page-hero .quick-stats { gap: 18px; }
    .rq-page-hero .quick-stats .qs-num { font-size: 22px; }
}
