.pfi-hero {
    position: relative;
    width: 100%;
    height: 82vh;
    min-height: 500px;
    overflow: hidden;
    background: #111;
}

/* Track holds all slides stacked */
.pfi-hero__track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual slides */
.pfi-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1000ms ease;
    z-index: 1;
}

.pfi-hero__slide.is-active {
    opacity: 1;
    z-index: 2;
}

/* Background image with Ken Burns */
.pfi-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: none;
    transform-origin: center center;
}

.pfi-hero__bg.ken-burns {
    animation: kenburns 8000ms ease-out forwards;
}

@keyframes kenburns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

/* Dark gradient overlay */
.pfi-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.45) 100%
    );
}

/* Logo + text overlay */
.pfi-hero__content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    padding: 0 5%;
    pointer-events: none;
}

.pfi-hero__logo,
.pfi-hero__text {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeIn 900ms ease forwards;
}


@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pfi-hero__logo img {
    max-width: 420px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
}

.pfi-hero__text h1 {
    color: #fff;
    font-size: clamp(28px, 3.5vw, 52px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
    margin: 0;
}

@media (max-width: 768px) {
    .pfi-hero__content {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
    }

    .pfi-hero__logo img {
        max-width: 180px;
    }
}

/* Arrows */
.pfi-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 300ms ease, transform 300ms ease, opacity 300ms ease;
    opacity: 0;
}

.pfi-hero:hover .pfi-hero__arrow {
    opacity: 1;
}

.pfi-hero__arrow:hover {
    background: rgba(212, 118, 10, 0.85);
    transform: translateY(-50%) scale(1.1);
}

.pfi-hero__arrow--prev { left: 20px; }
.pfi-hero__arrow--next { right: 20px; }

.pfi-hero__arrow svg {
    width: 20px;
    height: 20px;
}

/* Dots */
.pfi-hero__dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.pfi-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 300ms ease, transform 300ms ease, border-color 300ms ease;
}

.pfi-hero__dot.is-active,
.pfi-hero__dot:hover {
    background: #d4760a;
    border-color: #d4760a;
    transform: scale(1.25);
}

@media (max-width: 768px) {
    .pfi-hero {
        height: 60vh;
        min-height: 320px;
    }

    .pfi-hero__arrow {
        opacity: 1;
        width: 40px;
        height: 40px;
    }

    .pfi-hero__arrow svg {
        width: 16px;
        height: 16px;
    }
}
