/* ======================================================
   PAGE BANNER HERO — For inner pages (Services, Facilities,
   About, Portfolio, Contact, Downloads, etc.)
   This is intentionally DIFFERENT from the homepage hero.
   The homepage uses the .hero class (full-screen Swiper).
   Inner pages use .page-banner for a compact, stylish banner.
   ====================================================== */

/* === PAGE BANNER WRAPPER === */
.page-banner {
    position: relative;
    padding-top: 90px;
    /* nav offset */
    overflow: hidden;
    background: var(--bg-main);
}

/* === SPLIT LAYOUT: top image strip + content below === */
.page-banner-photo {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.page-banner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.72) saturate(0.85);
    transform: scale(1.03);
    transition: transform 8s ease;
}

.page-banner:hover .page-banner-photo img {
    transform: scale(1.0);
}

/* Gradient fade from image into content section below */
.page-banner-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(11, 17, 32, 0.02) 0%,
            rgba(11, 17, 32, 0.05) 50%,
            rgba(245, 242, 237, 0.95) 100%
            /* matches --bg-main */
        );
}

/* Optional dark radial accent on the photo from left */
.page-banner-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 8% 50%,
            rgba(11, 17, 32, 0.38) 0%,
            transparent 65%);
    z-index: 1;
}

/* Floating label pinned over the photo, bottom-left */
.page-banner-photo-label {
    position: absolute;
    bottom: 28px;
    left: 32px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(11, 17, 32, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(184, 114, 58, 0.18);
    padding: 12px 22px;
    border-radius: 50px;
}

.page-banner-photo-label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--copper-light);
    animation: bannerDotPulse 2.5s ease-in-out infinite;
}

@keyframes bannerDotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.page-banner-photo-label span {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

/* === CONTENT STRIP BELOW IMAGE === */
.page-banner-content {
    background: var(--bg-main);
    position: relative;
    z-index: 2;
    padding: 48px 0 64px;
}

.page-banner-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--copper), var(--copper-light), transparent);
}

.page-banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Breadcrumb */
.page-banner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: bannerFadeUp 0.7s ease forwards 0.1s;
}

.page-banner-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: color 0.3s;
}

.page-banner-breadcrumb a:hover {
    color: var(--copper);
}

.page-banner-breadcrumb .sep {
    color: var(--text-muted);
    font-size: 0.7rem;
    opacity: 0.5;
}

.page-banner-breadcrumb .crumb-current {
    color: var(--copper);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Page title */
.page-banner-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
    opacity: 0;
    animation: bannerFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.2s;
}

.page-banner-title .accent {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--copper);
    letter-spacing: 0;
}

/* Subtitle / description */
.page-banner-desc {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 620px;
    font-weight: 400;
    margin-bottom: 32px;
    opacity: 0;
    animation: bannerFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.35s;
}

/* Stats row (optional) */
.page-banner-stats {
    display: flex;
    gap: 0;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    opacity: 0;
    animation: bannerFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
}

.page-banner-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 44px;
    margin-right: 44px;
    position: relative;
}

.page-banner-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    width: 1px;
    background: var(--border);
}

.page-banner-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-copper);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--copper);
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.page-banner-stat h4 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.5px;
}

.page-banner-stat p {
    font-size: 0.71rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 3px;
    font-weight: 500;
}

/* Animation keyframe */
@keyframes bannerFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .page-banner-photo {
        height: 220px;
    }

    .page-banner-stat {
        padding-right: 28px;
        margin-right: 28px;
    }
}

@media (max-width: 767px) {
    .page-banner-photo {
        height: 180px;
    }

    .page-banner-photo-label {
        left: 20px;
        bottom: 18px;
        padding: 10px 16px;
    }

    .page-banner-content {
        padding: 36px 0 48px;
    }

    .page-banner-inner {
        padding: 0 20px;
    }

    .page-banner-stats {
        flex-direction: row;
        gap: 0;
    }

    .page-banner-stat {
        padding-right: 20px;
        margin-right: 20px;
        margin-bottom: 16px;
    }
}