/* ── PAGE LOADER ── */
#pg-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #001f0e 0%, #003d1a 55%, #005c2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
body.page-visible #pg-loader {
    opacity: 0;
}
.pg-logo-wrap {
    position: relative;
    width: 200px;
    height: 60px;
}
.pg-logo-ghost {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.2;
}
.pg-logo-fill {
    position: absolute;
    inset: 0;
    overflow: hidden;
    clip-path: inset(0 100% 0 0);
    animation: pgLogoFill 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.pg-logo-fill img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
@keyframes pgLogoFill {
    from { clip-path: inset(0 100% 0 0); }
    to   { clip-path: inset(0 0% 0 0); }
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

/* ── HERO TEXT ENTRANCE (inner pages using .page-hero-inner) ── */
@keyframes heroIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}
.page-hero-inner .eyebrow {
    animation: heroIn 0.55s ease both;
    animation-delay: 0.08s;
}
.page-hero-inner h1 {
    animation: heroIn 0.6s ease both;
    animation-delay: 0.22s;
}
.page-hero-inner > p {
    animation: heroIn 0.6s ease both;
    animation-delay: 0.38s;
}

/* ── HERO BACKGROUND GLOW ── */
.page-hero::after {
    content: '';
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 179, 82, 0.13) 0%, transparent 65%);
    top: -260px;
    right: -160px;
    pointer-events: none;
    animation: heroGlow 7s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    from { transform: translate(0, 0) scale(1);    opacity: 0.8; }
    to   { transform: translate(-80px, 70px) scale(1.25); opacity: 1; }
}

/* ── BUTTON ENHANCEMENTS ── */
.btn-quote {
    position: relative;
    overflow: hidden;
}
.btn-quote:hover {
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
}
.btn-quote:active {
    transform: scale(0.95) !important;
    transition-duration: 0.08s !important;
}

.filter-btn {
    position: relative;
    overflow: hidden;
}
.filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 145, 66, 0.18);
}
.filter-btn:active {
    transform: scale(0.95);
    transition-duration: 0.08s !important;
}

/* ── RIPPLE WAVE ── */
.ripple-wave {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    transform: scale(0);
    animation: rippleAnim 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}
@keyframes rippleAnim {
    to { transform: scale(1); opacity: 0; }
}
