/*
 * Home page: full-screen photo hero, full-width photo panels and quiet sections.
 * Colors come from the theme sheets; text over photos is always white.
 */

/* ===== Text and buttons over photos (white in both themes) ===== */

.on-photo {
    position: relative;
    color: #ffffff;
    background-color: #000;
    background-size: cover;
    background-position: center;
}

.on-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bss-hero-overlay);
}

.on-photo > * {
    position: relative;
    z-index: 1;
}

.btn-on-photo {
    --bs-btn-color: #ffffff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: #ffffff;
    --bs-btn-hover-color: #000000;
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-border-color: #ffffff;
    --bs-btn-active-color: #000000;
    --bs-btn-active-bg: #ffffff;
    --bs-btn-active-border-color: #ffffff;
    --bs-btn-focus-shadow-rgb: 255, 255, 255;
}

.btn-on-photo-solid {
    --bs-btn-color: #000000;
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: #ffffff;
    --bs-btn-active-color: #ffffff;
    --bs-btn-active-bg: transparent;
    --bs-btn-active-border-color: #ffffff;
    --bs-btn-focus-shadow-rgb: 255, 255, 255;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bss-muted);
}

.on-photo .eyebrow {
    color: rgba(255, 255, 255, 0.8);
}

.eyebrow-sm {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ===== Hero ===== */

.hero-full {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: flex-end;
    padding: 96px 0 72px;
}

.hero-full-content {
    max-width: 1140px;
}

.storefront .hero-title {
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: 0.06em;
    margin: 14px 0 0;
    color: #ffffff;
}

.hero-lead {
    max-width: 560px;
    margin-top: 20px;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Five facts in a row on desktop, 3 on tablets, 2 on phones. */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-stats strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-stats span {
    display: block;
    margin-top: 4px;
    font-size: 0.7rem;
    line-height: 1.5;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 991.98px) {
    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
}

/* ===== Sections ===== */

.home-section {
    padding: 88px 0;
    border-bottom: 1px solid var(--bss-border);
}

.storefront .section-title {
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 10px 0 0;
}

.promo-band {
    background: var(--bss-surface-alt);
}

/* ===== Full-width photo panels ===== */

.photo-panel {
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    padding: 72px 0;
}

.storefront .panel-title {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.06em;
    margin-top: 10px;
    color: #ffffff;
}

/* ===== Benefits ===== */

.benefit i {
    font-size: 1.8rem;
    color: var(--bss-text);
}

.benefit h5 {
    margin-top: 14px;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
}

@media (max-width: 767.98px) {
    .hero-full {
        min-height: 82vh;
        padding: 72px 0 56px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .photo-panel {
        min-height: 60vh;
    }

    .home-section {
        padding: 64px 0;
    }
}
