/* ================================================================
   SUNNYBANK FLOWERS - SHARED HERO SYSTEM
   Centered hero layout and light frosted glass treatment.
   ================================================================ */

:root {
    --sb-hero-glass-bg: rgba(255, 255, 255, 0.74);
    --sb-hero-glass-border: rgba(255, 255, 255, 0.78);
    --sb-hero-glass-shadow: 0 24px 70px rgba(11, 44, 36, 0.18);
    --sb-hero-text: #0b2c24;
    --sb-hero-muted: rgba(11, 44, 36, 0.78);
}

.sb-hero-global,
.sb-contact-hero,
.sb-hero,
.sb-reviews-hero,
.sb-delivery-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0;
}

.sb-hero-global,
.sb-hero {
    min-height: 100vh;
    padding: 120px var(--pad) 80px;
    background: var(--sb-bg);
}

.sb-hero-small {
    min-height: 46vh;
}

.sb-contact-hero {
    min-height: 480px;
    height: auto;
    padding: 120px var(--pad) 80px;
    background: var(--sb-emerald-deep);
}

.sb-delivery-hero {
    padding: 140px var(--pad) 80px;
}

.sb-hero-global .sb-container,
.sb-hero .sb-container,
.sb-contact-hero .sb-container,
.sb-delivery-hero .sb-container {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
}

.sb-hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.5rem);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--sb-hero-glass-bg);
    border: 1px solid var(--sb-hero-glass-border);
    border-radius: 18px;
    box-shadow: var(--sb-hero-glass-shadow);
    color: var(--sb-hero-text);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.sb-hero-global > .sb-container:not(:has(.sb-hero-content)),
.sb-delivery-hero > .sb-container:not(:has(.sb-hero-content)) {
    width: min(calc(100% - (var(--pad) * 2)), 760px);
    padding: clamp(2rem, 5vw, 3.5rem);
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--sb-hero-glass-bg);
    border: 1px solid var(--sb-hero-glass-border);
    border-radius: 18px;
    box-shadow: var(--sb-hero-glass-shadow);
    color: var(--sb-hero-text);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.sb-hero-content h1,
.sb-hero-global h1,
.sb-contact-hero h1,
.sb-hero h1,
.sb-delivery-hero h1 {
    max-width: 11ch;
    margin: 0 auto 1rem;
    color: var(--sb-hero-text);
    font-family: 'Great Vibes', cursive;
    font-size: var(--h1);
    line-height: 1.06;
    text-shadow: none;
}

.sb-hero-content h1 span,
.sb-hero-global h1 span,
.sb-contact-hero h1 span,
.sb-hero h1 span {
    color: var(--sb-hero-text) !important;
    font-family: inherit;
}

.sb-hero-content p,
.sb-hero-global p,
.sb-contact-hero p,
.sb-hero p,
.sb-delivery-hero p {
    max-width: 58ch;
    margin: 0 auto 2rem;
    color: var(--sb-hero-muted);
    font-size: 1.08rem;
    line-height: 1.7;
    opacity: 1;
    text-shadow: none;
}

.sb-hero-content p:last-child,
.sb-hero-global p:last-child,
.sb-contact-hero p:last-child,
.sb-hero p:last-child,
.sb-delivery-hero p:last-child {
    margin-bottom: 0;
}

.sb-hero-content .sb-eyebrow,
.sb-hero-content .sb-kicker,
.sb-hero-global .sb-eyebrow,
.sb-hero-global .sb-kicker,
.sb-contact-hero .sb-eyebrow,
.sb-contact-hero .sb-kicker,
.sb-hero .sb-eyebrow,
.sb-hero .sb-kicker,
.sb-delivery-hero .sb-eyebrow,
.sb-delivery-hero .sb-kicker {
    margin: 0 0 1.2rem;
    color: #8a6d2f;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: none;
}

.sb-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.42;
}

.sb-hero > .sb-hero-bg {
    opacity: 1;
}

.sb-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    color: transparent;
    filter: saturate(0.82) brightness(1.02);
    will-change: transform;
}

.sb-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(245, 245, 247, 0.24) 0%, rgba(245, 245, 247, 0.08) 52%, rgba(11, 44, 36, 0.24) 100%);
}

.sb-hero-overlay::after {
    display: none;
}

.sb-reviews-hero {
    padding: clamp(2rem, 5vw, 4rem) var(--pad);
    margin-bottom: 3rem;
    border-radius: 18px;
    background: var(--sb-hero-glass-bg);
    border: 1px solid var(--sb-hero-glass-border);
    box-shadow: var(--sb-hero-glass-shadow);
    color: var(--sb-hero-text);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.sb-reviews-hero::before {
    background: radial-gradient(circle at 70% 30%, rgba(140, 112, 48, 0.14), transparent 52%);
}

.sb-reviews-hero h1 {
    color: var(--sb-hero-text) !important;
}

.sb-reviews-hero p {
    color: var(--sb-hero-muted) !important;
}

.sb-reviews-hero .sb-reviews-stats {
    background: rgba(255, 255, 255, 0.56);
    border-color: rgba(140, 112, 48, 0.22);
}

.sb-reviews-hero .sb-reviews-average {
    color: var(--sb-hero-text);
}

.sb-reviews-hero .sb-reviews-count {
    color: var(--sb-hero-muted);
}

.sb-hero-btns {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

@media (max-width: 768px) {
    .sb-hero-global,
    .sb-hero,
    .sb-contact-hero {
        min-height: 100vh;
        padding: 4rem 1rem 3rem;
    }

    .sb-hero-small {
        min-height: 38vh;
    }

    .sb-hero-content,
    .sb-hero-global > .sb-container:not(:has(.sb-hero-content)),
    .sb-delivery-hero > .sb-container:not(:has(.sb-hero-content)) {
        border-radius: 14px;
        padding: 2rem 1.25rem;
    }

    .sb-hero-content h1,
    .sb-hero-global h1,
    .sb-contact-hero h1,
    .sb-hero h1,
    .sb-delivery-hero h1 {
        font-size: clamp(2.15rem, 11vw, 3rem);
    }

    .sb-hero-content p,
    .sb-hero-global p,
    .sb-contact-hero p,
    .sb-hero p,
    .sb-delivery-hero p {
        font-size: 1rem;
    }
}
