/* ============================================================
   PV Footer — Pandavaz 2026
   Replaces the old fixed .footer with a flow footer that
   scrolls naturally with the page content.
   ============================================================ */

/* Remove the old spacer — no longer needed */
.footer-spacing { display: none !important; }

/* Scoped reset for old .footer — hide if still rendered elsewhere */
footer.footer { display: none !important; }

/* ---- Root ---- */
.pv-footer {
    position: relative;
    width: 100%;
    background: #131314;
    color: #fff;
    overflow: hidden;
    z-index: 10;
    padding: 0;
}

/* ---- Animated grid background ---- */
.pv-footer__grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.04;
}
.pv-footer__grid-lines {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(184,151,62,1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184,151,62,1) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: pv-grid-drift 20s linear infinite;
}
@keyframes pv-grid-drift {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

/* ---- CTA Block ---- */
.pv-footer__cta {
    position: relative;
    text-align: center;
    padding: 100px 40px 80px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pv-footer__cta::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(184,151,62,0.6));
}
.pv-footer__cta-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #c8a45d;
    margin: 0 0 20px;
}
.pv-footer__cta-heading {
    font-family: 'Fjalla One', sans-serif;
    font-size: clamp(2.4rem, 6vw, 5.5rem);
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 48px;
    background: linear-gradient(135deg, #fff 40%, rgba(184,151,62,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.pv-footer__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border: 1px solid rgba(184,151,62,0.5);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s, border-color 0.3s, gap 0.3s;
    position: relative;
    overflow: hidden;
}
.pv-footer__cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #c8a45d;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.77,0,0.18,1);
    z-index: 0;
}
.pv-footer__cta-btn:hover::before { transform: scaleX(1); }
.pv-footer__cta-btn span,
.pv-footer__cta-btn svg {
    position: relative;
    z-index: 1;
}
.pv-footer__cta-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}
.pv-footer__cta-btn:hover { border-color: #c8a45d; gap: 18px; }
.pv-footer__cta-btn:hover svg { transform: translateX(4px); }

/* ---- Middle row ---- */
.pv-footer__middle {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 50px 60px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pv-footer__logo {
    height: 36px;
    width: auto;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}
.pv-footer__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.pv-footer__nav a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.25s;
    position: relative;
}
.pv-footer__nav a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: #c8a45d;
    transition: width 0.3s;
}
.pv-footer__nav a:hover { color: #fff; }
.pv-footer__nav a:hover::after { width: 100%; }

/* ---- Socials ---- */
.pv-footer__socials {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0; padding: 0;
}
.pv-footer__socials li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.pv-footer__socials li a svg { width: 16px; height: 16px; }
.pv-footer__socials li a:hover {
    border-color: #c8a45d;
    color: #c8a45d;
    transform: translateY(-2px);
}

/* ---- Bottom bar ---- */
.pv-footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    gap: 20px;
}
.pv-footer__copy,
.pv-footer__tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.05em;
}
.pv-footer__tagline { font-style: italic; }

/* ---- Testimonial Swiper overrides ---- */
.testimonial-swiper {
    padding-bottom: 50px !important;
    overflow: visible;
}
.testimonial-swiper .swiper-slide { height: auto; }
.testimonial-swiper .testimonial-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 32px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.3s;
}
.testimonial-swiper .testimonial-card:hover { border-color: rgba(184,151,62,0.3); }
.testimonial-swiper .card-stars { color: #c8a45d; font-size: 14px; letter-spacing: 2px; }
.testimonial-swiper .card-content { flex: 1; }
.testimonial-swiper .card-content p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.7; margin: 0; }
.testimonial-swiper .card-footer { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; }
.testimonial-swiper .name { font-size: 13px; font-weight: 700; color: #fff; margin: 0 0 2px; }
.testimonial-swiper .company { font-size: 11px; color: rgba(255,255,255,0.35); letter-spacing: 0.1em; text-transform: uppercase; }
.testimonial-pagination .swiper-pagination-bullet { background: rgba(255,255,255,0.25); opacity: 1; }
.testimonial-pagination .swiper-pagination-bullet-active { background: #c8a45d; }
.testimonial-next, .testimonial-prev { color: rgba(255,255,255,0.4) !important; }
.testimonial-next:hover, .testimonial-prev:hover { color: #c8a45d !important; }
.testimonial-next::after, .testimonial-prev::after { font-size: 18px !important; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .pv-footer__middle {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 30px;
        gap: 32px;
    }
    .pv-footer__socials { justify-content: center; }
    .pv-footer__bar {
        flex-direction: column;
        text-align: center;
        padding: 20px 30px;
    }
    .pv-footer__cta { padding: 70px 24px 60px; }
}
@media (max-width: 576px) {
    .pv-footer__nav { gap: 24px; }
    .pv-footer__cta-heading { font-size: 2rem; }
}
