/* Inner pages — banner / page hero (about, etc.) */

.page-site #banner-section.page-hero {
    position: relative;
    isolation: isolate;
    background: linear-gradient(160deg, #ffffff 0%, #f0fdf4 30%, #eff6ff 65%, #f8fafc 100%);
    overflow: hidden;
}

.page-site #banner-section.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 35%, rgba(16, 185, 129, 0.12) 0%, transparent 42%),
        radial-gradient(circle at 88% 20%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 95%, rgba(99, 102, 241, 0.08) 0%, transparent 38%);
    pointer-events: none;
    z-index: 0;
}

.page-site #banner-section.page-hero::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    right: -100px;
    top: 15%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pageHeroOrb 14s ease-in-out infinite;
}

html.dark .page-site #banner-section.page-hero {
    background: linear-gradient(160deg, #0f172a 0%, #134e4a 35%, #1e293b 70%, #0f172a 100%);
}

html.dark .page-site #banner-section.page-hero::before {
    background:
        radial-gradient(circle at 12% 35%, rgba(16, 185, 129, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 88% 20%, rgba(59, 130, 246, 0.16) 0%, transparent 40%),
        radial-gradient(circle at 50% 95%, rgba(139, 92, 246, 0.1) 0%, transparent 38%);
}

@keyframes pageHeroOrb {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.75; }
    50% { transform: translate(-20px, 12px) scale(1.06); opacity: 1; }
}

.page-site #banner-section.page-hero > .container {
    position: relative;
    z-index: 1;
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #047857;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 9999px;
}

.page-hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35);
    animation: pageHeroPulse 2s ease-in-out infinite;
}

html.dark .page-hero-badge {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(52, 211, 153, 0.35);
}

@keyframes pageHeroPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.85); }
}

.page-hero-title {
    margin-bottom: 1rem;
    font-size: clamp(1.875rem, 4.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0f172a 0%, #047857 45%, #1d4ed8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.dark .page-hero-title {
    background: linear-gradient(135deg, #f8fafc 0%, #6ee7b7 40%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero-lead {
    max-width: 38rem;
    margin: 0 auto 0.25rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #475569;
}

html.dark .page-hero-lead {
    color: #94a3b8;
}

.page-hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

.page-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 7.25rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

html.dark .page-hero-stat {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(71, 85, 105, 0.55);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.page-hero-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: #047857;
}

html.dark .page-hero-stat-value {
    color: #6ee7b7;
}

.page-hero-stat-label {
    margin-top: 0.125rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

html.dark .page-hero-stat-label {
    color: #94a3b8;
}

.page-hero-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1.35rem;
    padding: 0.45rem 1rem 0.45rem 0.85rem;
    list-style: none;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

html.dark .page-hero-breadcrumb {
    background: rgba(30, 41, 59, 0.65);
    border-color: rgba(71, 85, 105, 0.55);
}

.page-hero-breadcrumb a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-hero-breadcrumb a:hover {
    color: #059669;
}

html.dark .page-hero-breadcrumb a {
    color: #e2e8f0;
}

html.dark .page-hero-breadcrumb a:hover {
    color: #6ee7b7;
}

.page-hero-breadcrumb-sep {
    display: inline-flex;
    color: #94a3b8;
}

.page-hero-breadcrumb-sep svg {
    width: 14px;
    height: 14px;
}

.page-hero-breadcrumb-current {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
}

html.dark .page-hero-breadcrumb-current {
    color: #94a3b8;
}

/* About page: gap between hero and Why Choose Us */
.page-site #banner-section.page-hero--about {
    padding-bottom: clamp(2.75rem, 6vh, 4rem);
}

.page-site #banner-section.page-hero--about .page-hero-breadcrumb {
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .page-site #banner-section.page-hero--about .page-hero-breadcrumb {
        margin-top: 1.75rem;
    }
}

@media (max-width: 639px) {
    .page-hero-stats {
        gap: 0.5rem;
    }

    .page-hero-stat {
        min-width: calc(50% - 0.5rem);
        flex: 1 1 calc(50% - 0.5rem);
        max-width: calc(50% - 0.25rem);
        padding: 0.65rem 0.75rem;
    }
}
