/*
 * Homepage — hero crossfade + product strip.
 */

.lfs-hero {
    position: relative;
    min-height: clamp(22rem, 70vh, 36rem);
    overflow: hidden;
    color: #fff;
}

.lfs-hero__slides {
    position: relative;
    min-height: inherit;
}

.lfs-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.lfs-hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 17, 32, 0.55);
}

.lfs-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.lfs-hero__slide--1 {
    background-image: url("/wp-content/uploads/banner-slide-1.jpg");
}

.lfs-hero__slide--2 {
    background-image: url("/wp-content/uploads/banner-slide-2.jpg");
}

.lfs-hero__slide--3 {
    background-image: url("/wp-content/uploads/banner-slide-3.jpg");
}

.lfs-hero__caption {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

.lfs-hero__title {
    margin: 0 0 0.75rem;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
}

.lfs-hero__text {
    margin: 0 auto;
    max-width: 42rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.6;
}

.lfs-hero__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.25rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.lfs-hero__arrow {
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
}

.lfs-hero__dots {
    display: flex;
    gap: 0.5rem;
}

.lfs-hero__dot {
    width: 0.55rem;
    height: 0.55rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
}

.lfs-hero__dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

.lfs-hero__next-link {
    position: absolute;
    right: 1rem;
    bottom: 1.25rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: transparent;
    overflow: hidden;
    text-indent: -9999px;
}

.lfs-hero__next-link::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translate(-15%, -15%);
}

.lfs-home-product-strip {
    background: var(--surface-alt);
    padding: 2.5rem 0 3rem;
    border-top: 1px solid var(--border);
}

.lfs-home-product-strip__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin: 0 0 1.5rem;
}

.lfs-home-product-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 48rem) {
    .lfs-home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.lfs-home-product-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.35rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lfs-home-product-card:hover {
    transform: translateY(-2px);
    border-color: var(--emerald);
    box-shadow: var(--shadow-md);
}

.lfs-home-product-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--emerald);
}

.lfs-home-product-card p {
    flex: 1;
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--body);
}

.lfs-home-product-card__cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald);
}

.lfs-home-product-card:hover .lfs-home-product-card__cta {
    color: var(--lfs-teal-hover);
}
