/* ══════════════════════════════════════════════════
   UNIFIED PAGE HERO — Premium Design System
   Consistent across all subpages
══════════════════════════════════════════════════ */

.page-hero {
    position: relative;
    background: #a91f24;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, #681013 0%, transparent 70%),
        linear-gradient(135deg, #c0392b 0%, #90161a 100%);
    padding: 60px 20px 80px;
    text-align: center;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    isolation: isolate;
    z-index: 1;
}

/* Institutional pattern texture - Modern Micro-grid with subtle noise */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

/* Subtle glass gloss effect */
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    pointer-events: none;
    z-index: 2;
}

.page-hero .hero-container {
    position: relative;
    z-index: 5;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* Premium Tag System - Glassmorphism */
.page-hero .hero-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: white;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 10px 24px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    animation: heroSpringUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.page-hero .hero-tag i {
    font-size: 0.9rem;
    color: #ff9e9e;
}

/* Standardized Typography */
.page-hero .hero-title {
    font-size: clamp(2rem, 6vw, 3.8rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    animation: heroSpringUp 0.8s 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.page-hero .hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: heroFadeUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Unified Wave Separator - Smoother */
.page-hero .hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
    transform: translateZ(0);
}

.page-hero .hero-wave svg {
    display: block;
    width: 100%;
    height: 70px;
}

/* Animations */
@keyframes heroSpringUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-hero {
        padding: 30px 16px 50px;
        min-height: 200px;
    }

    .page-hero .hero-title {
        letter-spacing: -0.5px;
    }

    .page-hero .hero-subtitle {
        font-size: 0.88rem;
    }
}

/* --- Hero Search Form --- */
.page-hero .hero-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 60px;
    padding: 6px 6px 6px 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 540px;
    width: 100%;
    margin: 32px auto 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: heroFadeDown 0.7s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-hero .hero-search-form:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.page-hero .hero-search-icon {
    color: #aaa;
    font-size: 1rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.page-hero .hero-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.98rem;
    color: #333;
    min-width: 0;
}

.page-hero .hero-search-form input::placeholder {
    color: #aaa;
}

.page-hero .hero-search-form button {
    background: linear-gradient(135deg, #c0392b, #7b0000);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.page-hero .hero-search-form button:hover {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.5);
}

@media (max-width: 480px) {
    .page-hero .hero-search-form {
        padding: 5px 5px 5px 16px;
    }

    .page-hero .hero-search-form button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}