/**
 * Page Hero Component
 * Premium hero section for interior pages
 */

.page-hero {
    position: relative;
    padding: var(--space-20) 0 var(--space-16);
    background: linear-gradient(135deg, var(--color-background) 0%, #1e293b 100%);
    overflow: hidden;
    text-align: center;
}

.page-hero__background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.page-hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.page-hero__shape--1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
}

.page-hero__shape--2 {
    width: 300px;
    height: 300px;
    background: var(--color-secondary);
    bottom: -50px;
    left: -50px;
}

.page-hero__grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero__icon {
    margin-bottom: var(--space-6);
}

.page-hero__eyebrow {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.page-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: var(--font-bold);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--color-text);
}

.page-hero__subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto var(--space-8);
}

.page-hero__actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Service variant - left aligned with visual space */
.page-hero--service {
    text-align: left;
    padding: var(--space-16) 0;
}

.page-hero--service .page-hero__content {
    margin: 0;
    max-width: 600px;
}

.page-hero--service .page-hero__subtitle {
    margin-left: 0;
}

.page-hero--service .page-hero__actions {
    justify-content: flex-start;
}

/* Area variant - with location emphasis */
.page-hero--area {
    padding: var(--space-16) 0;
}

.page-hero--area .page-hero__eyebrow {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Service Icon Component Styles */
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

/* Sizes */
.service-icon--sm {
    width: 40px;
    height: 40px;
    padding: var(--space-2);
}

.service-icon--md {
    width: 56px;
    height: 56px;
    padding: var(--space-3);
}

.service-icon--lg {
    width: 72px;
    height: 72px;
    padding: var(--space-4);
}

/* Colors */
.service-icon--primary {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.service-icon--secondary {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-secondary);
}

.service-icon--white {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Feature List Component Styles */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.feature-list--two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

.feature-list__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--color-text);
}

.feature-list__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-secondary);
    margin-top: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.feature-card {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-card__icon {
    flex-shrink: 0;
}

.feature-card__content h4 {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
}

.feature-card__content p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: var(--space-12) 0;
    }
    
    .page-hero__title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .feature-list--two-col {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   20 Oct 2026: calmer inner-page hero, matching the new home page
   (removes the blurred colour blobs and the one-word gradient headings; applies to
   /pricing/, services, areas, about and every other page using page-hero)
   ========================================================================== */
.page-hero__shape { display: none; }
main .text-gradient {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    color: inherit;
}
.page-hero__title { letter-spacing: -0.02em; }
.page-hero { border-bottom: 1px solid var(--color-border, #e5e7eb); }
