/* ═══════════════════════════════════════════════════════════════
   UNIFIED PAGE HERO
   Background: grid lines + radial gradient glows (pt-hero style)
   Layout:     title + subtitle centered, breadcrumb bottom-left
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero Section ── */
.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 55%, #1a1f35 100%);
    padding: calc(var(--header-h, 72px) + 2.5rem) 0 3rem;
    color: #fff;
    text-align: center;
}

/* ── Background: radial gradient glows ── */
.page-hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 70% 60% at 50% -5%, rgba(59,130,246,.18) 0%, transparent 65%),
        radial-gradient(ellipse 45% 40% at 80% 30%, rgba(139,92,246,.12) 0%, transparent 55%),
        radial-gradient(ellipse 40% 35% at 15% 70%, rgba(20,184,166,.07) 0%, transparent 50%);
    z-index: 0;
}

/* Color-variant overrides for product / solution detail pages */
.page-hero--blue   .page-hero__bg { background: radial-gradient(ellipse 70% 60% at 50% -5%, rgba(59,130,246,.22) 0%, transparent 65%), radial-gradient(ellipse 45% 40% at 80% 30%, rgba(59,130,246,.10) 0%, transparent 55%), radial-gradient(ellipse 40% 35% at 15% 70%, rgba(20,184,166,.06) 0%, transparent 50%); }
.page-hero--violet .page-hero__bg { background: radial-gradient(ellipse 70% 60% at 50% -5%, rgba(139,92,246,.20) 0%, transparent 65%), radial-gradient(ellipse 45% 40% at 80% 30%, rgba(139,92,246,.10) 0%, transparent 55%), radial-gradient(ellipse 40% 35% at 15% 70%, rgba(59,130,246,.06) 0%, transparent 50%); }
.page-hero--amber  .page-hero__bg { background: radial-gradient(ellipse 70% 60% at 50% -5%, rgba(245,158,11,.18) 0%, transparent 65%), radial-gradient(ellipse 45% 40% at 80% 30%, rgba(245,158,11,.08) 0%, transparent 55%), radial-gradient(ellipse 40% 35% at 15% 70%, rgba(59,130,246,.05) 0%, transparent 50%); }
.page-hero--green  .page-hero__bg { background: radial-gradient(ellipse 70% 60% at 50% -5%, rgba(16,185,129,.18) 0%, transparent 65%), radial-gradient(ellipse 45% 40% at 80% 30%, rgba(16,185,129,.10) 0%, transparent 55%), radial-gradient(ellipse 40% 35% at 15% 70%, rgba(59,130,246,.05) 0%, transparent 50%); }
.page-hero--rose   .page-hero__bg { background: radial-gradient(ellipse 70% 60% at 50% -5%, rgba(244,63,94,.18) 0%, transparent 65%), radial-gradient(ellipse 45% 40% at 80% 30%, rgba(244,63,94,.10) 0%, transparent 55%), radial-gradient(ellipse 40% 35% at 15% 70%, rgba(59,130,246,.05) 0%, transparent 50%); }

/* ── Grid lines (pt-hero style) ── */
.page-hero__grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(59,130,246,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,.05) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 50%, black, transparent);
}

/* ── Cursor Glow (optional interactive layer) ── */
.page-hero__glow {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 1;
    opacity: 0;
    transition: opacity .4s ease;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
        rgba(59,130,246,.07), transparent 60%);
}
.page-hero:hover .page-hero__glow { opacity: 1; }

/* ── Content wrapper ── */
.page-hero__content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Title / Subtitle (centered) ── */
.hero-question {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-hero .sec-label--light {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--brand-300, #93c5fd);
    margin-bottom: .75rem;
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL SEC-LABEL — unified section label for all body sections
   Replaces: pt-sec-label, mb-sec-label, md-sec-label,
             and per-page body.page-* .sec-label overrides
   ═══════════════════════════════════════════════════════════════ */
.sec-label {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--brand-600, #1d4ed8);
    margin-bottom: .75rem;
}
.sec-label--light { color: #93C5FD; }
.sec-label--sky   { color: var(--sky-400, #38BDF8); }
.sec-label--violet { color: #7c3aed; }

.page-hero__title {
    font-family: var(--font-display, system-ui);
    font-size: clamp(1.3rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: .75rem;
    text-align: center;
    color: #fff;
}

.page-hero__subtitle {
    color: rgba(255,255,255,.55);
    font-size: clamp(.975rem, 2vw, 1.15rem);
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}

/* ── Breadcrumb — pinned to bottom-left via flex order ── */
.page-hero .breadcrumb {
    position: static;
    top: auto;
    left: auto;
    order: 99;
    margin-top: 2rem;
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .5rem;
    font-size: .75rem;
    opacity: .55;
    transition: opacity .2s;
}
.page-hero .breadcrumb:hover { opacity: .9; }
.page-hero .breadcrumb__link {
    color: rgba(255,255,255,.5);
    text-decoration: none;
    transition: color .2s;
}
.page-hero .breadcrumb__link:hover { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb__sep     { color: rgba(255,255,255,.3); }
.page-hero .breadcrumb__current { color: rgba(255,255,255,.75); font-weight: 500; }

/* ── Gradient text utility ── */
.page-hero .g-text,
.page-hero__title-grad {
    background: linear-gradient(to right, #38BDF8, #818CF8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Extra content slots (article meta, product pills, etc.) ── */
.page-hero .article-hero-meta {
    margin-top: .75rem;
}
.page-hero .md-hero__pills {
    margin-top: 1.25rem;
}

/* ── Mobile ── */
@media (max-width: 767px) {
    .page-hero { padding: calc(var(--header-h, 72px) + 1.5rem) 0 2rem; }
    .page-hero__title { font-size: clamp(1.25rem, 5vw, 1.75rem); }
    .page-hero .breadcrumb { font-size: .6875rem; margin-top: 1.5rem; }
}
