/**
 * Slaugita homepage — guided care experience.
 *
 * @package bc-theme
 */

@layer components {
.bc-home-hero {
    min-height: 36rem;
    padding-block: var(--space-16);
    background: linear-gradient(125deg, var(--bg), var(--teal-light));
}

.bc-home-hero__container {
    min-height: 26rem;
}

.bc-home-hero__content {
    max-width: 34rem;
}

.bc-home-hero__eyebrow,
.bc-home-section__eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    color: var(--teal-dark);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bc-home-hero__eyebrow::before,
.bc-home-section__eyebrow::before {
    width: var(--space-5);
    height: 1px;
    background: var(--teal);
    content: '';
}

.bc-home-hero .hero-text h1 {
    max-width: 32rem;
    font-size: clamp(var(--fs-3xl), 4vw, 3.5rem);
    letter-spacing: -0.04em;
}

.bc-home-hero .hero-text > p:not(.bc-home-hero__eyebrow) {
    max-width: 30rem;
    font-size: var(--fs-md);
    line-height: var(--lh-relaxed);
}

.bc-home-hero__cta {
    min-height: var(--touch-target-min);
    border-radius: var(--radius-full);
    padding-inline: var(--space-6);
}

.bc-home-hero__media {
    right: var(--space-8);
    width: min(48%, 42rem);
    border-radius: 40rem 0 0 0;
    overflow: hidden;
    box-shadow: -30px 0 60px rgba(1, 34, 69, .15), var(--shadow-xl);
}

.bc-home-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-image: none;
}

.bc-home-hero .fade-layer {
    border-radius: inherit;
    background: linear-gradient(90deg, var(--teal-light), transparent 55%);
}

.bc-home-hero .hero-badge {
    right: var(--space-4);
    bottom: var(--space-6);
    border-style: solid;
    border-width: 1px;
    border-radius: var(--radius-xl);
}

.bc-home-hero__benefits {
    gap: var(--space-4);
}

.bc-home-hero__benefits .hero-mini-item {
    max-width: 10rem;
}

.bc-home-section {
    padding-block: var(--space-16);
}

.bc-home-section__eyebrow,
.bc-home-section__title,
.bc-home-section__lead {
    text-align: left;
}

.bc-home-section__title::after {
    margin-inline: 0;
}

.bc-home-section__lead {
    max-width: 40rem;
}

.bc-home-categories__grid {
    gap: var(--space-4);
}

.bc-home-categories__card {
    border-radius: var(--radius-xl);
}

.bc-home-categories__card:hover {
    border-color: var(--teal);
}

.bc-home-categories__card .cat-photo {
    aspect-ratio: 1.2;
    height: auto;
    padding: var(--space-5);
    background: linear-gradient(145deg, var(--bg), var(--teal-light));
}

.bc-home-categories__card .cat-card-foot {
    padding: var(--space-4);
}

.bc-home-benefits {
    border-block: 1px solid var(--line);
    background: var(--white);
}

.bc-home-benefits .feat-grid {
    gap: var(--space-4);
}

.bc-home-benefits .feat-item {
    min-height: 4rem;
    padding: 0;
    border-left: 0;
}

.bc-home-benefits .feat-icon {
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    border-radius: var(--radius-lg);
    background: var(--teal-light);
}

.bc-home-benefits .feat-icon svg {
    width: var(--space-6);
    height: var(--space-6);
}

.bc-home-promos {
    background: var(--bg);
}

.bc-home-promos .promo-head {
    align-items: end;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--line);
}

.bc-home-promos .promo-head h2 {
    font-size: var(--fs-2xl);
}

.bc-home-promos .promo-head a {
    display: inline-flex;
    min-height: var(--touch-target-min);
    align-items: center;
    border-bottom: 1px solid var(--teal);
}

.bc-home-promos .promo-side {
    border-radius: var(--radius-xl);
    box-shadow: none;
}

.bc-home-promos .product-card {
    border-radius: var(--radius-xl);
}

.bc-home-promos .product-img {
    height: auto;
    aspect-ratio: 1;
    padding: var(--space-5);
}

.bc-home-promos .product-img img,
.bc-home-promos .product-img svg {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.bc-home-trust {
    background: var(--navy);
    border: 0;
}

.bc-home-trust .trust-item h5,
.bc-home-trust .trust-item p {
    color: var(--white);
}

.bc-home-trust .trust-item p {
    opacity: 0.75;
}

.bc-home-trust .trust-item .ic svg {
    stroke: var(--amber);
}

.bc-home-hero a:focus-visible,
.bc-home-categories__card:focus-visible,
.bc-home-promos a:focus-visible {
    outline: var(--focus-outline-width) solid var(--teal);
    outline-offset: var(--space-1);
}

@media (max-width: 1024px) {
    .bc-home-hero {
        min-height: 0;
        padding-bottom: var(--space-8);
    }

    .bc-home-hero__media {
        right: auto;
        width: 100%;
        margin-top: var(--space-8);
        aspect-ratio: 1.6;
        border-radius: var(--radius-xl);
    }

    .bc-home-hero .hero-badge {
        right: var(--space-4);
    }

    .bc-home-categories__grid {
        gap: var(--space-3);
    }

    .bc-home-promos .product-img {
        padding: var(--space-4);
    }

    .bc-home-benefits .feat-grid {
        gap: var(--space-5);
    }
}

@media (max-width: 768px) {
    .bc-home-hero {
        padding-top: var(--space-8);
    }

    .bc-home-hero__content {
        text-align: left;
    }

    .bc-home-hero__benefits {
        justify-content: flex-start;
    }

    .bc-home-hero__media {
        aspect-ratio: 1.2;
        margin-top: var(--space-6);
        border-radius: var(--radius-lg);
    }

    .bc-home-section {
        padding-block: var(--space-12);
    }

    .bc-home-benefits .feat-grid {
        grid-template-columns: 1fr;
    }

    .bc-home-trust .trust-grid {
        gap: var(--space-5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bc-home-hero,
    .bc-home-hero__media,
    .bc-home-categories__card {
        animation: none;
        transition: none;
    }
}
}
