/* Hero Container */
.shb-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    background-image: var(--shb-bg-desktop);
    /* Updated to var */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #333;
    padding: 4rem 1.25rem;
    box-sizing: border-box;
    font-family: var(--shb-font, inherit);
}

/* ... existing styles ... */

.shb-mobile-illus {
    display: none;
    /* Hidden on desktop */
    margin-top: 30px;
    width: 100%;
    max-width: 400px;
}

.shb-mobile-illus img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .shb-hero {
        background-image: var(--shb-bg-mobile);
        /* Mobile BG */
        background-position: top center;
        padding-top: 60px;
        /* Adjust for header if needed */
        align-items: flex-start;
        /* Align content to top */
    }

    .shb-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .shb-content {
        margin-bottom: 20px;
        align-items: center;
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }

    .shb-title {
        font-size: 2.2rem;
        /* Match mockup */
        margin-bottom: 10px;
    }

    .shb-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .shb-buttons {
        justify-content: center;
        width: 100%;
    }

    .shb-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        flex: 1;
        /* Stretch buttons */
        max-width: 160px;
        text-align: center;
    }

    /* Mobile Grid Option - Controlled by Parent Class */
    .shb-grid {
        /* Default hidden if class present, else flex */
        display: none;
    }

    .shb-hero.shb-mobile-cards-visible .shb-grid {
        display: flex;
        /* Flex scroll properties */
        overflow-x: auto;
        padding-bottom: 20px;
        gap: 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
    }

    .shb-grid .shb-card {
        min-width: 110px;
        /* Force width for scroll */
        width: 110px;
        flex-shrink: 0;
        scroll-snap-align: center;
        /* Optional: Vertical stack text/icon */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .shb-grid .shb-card-icon {
        margin-bottom: 8px;
    }

    /* Hide grid if var explicitly says none? handled by display prop */

    /* If user wants horizontal scroll for these cards specifically */
    .shb-grid[style*="--shb-mob-grid-display: block"] {
        display: flex;
        /* Override to flex if we want scroll, but let's stick to grid for now unless requested */
        /* Actually, the var just toggles display. Let's assume standard grid behavior for now, or 2-col stack as per earlier rule */
        /* grid-template-columns: repeat(2, 1fr); */
        /* Removed as it conflicts with flex scrolling */
    }

    .shb-mobile-illus {
        display: block;
        /* Show illustration */
    }
}

/* Keep smaller tweak if needed */
@media (max-width: 600px) {
    .shb-title {
        font-size: 2rem;
    }
}

background-position: center;
background-repeat: no-repeat;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
color: #333;
/* Dark text for light background */

padding: 4rem 1.25rem;
box-sizing: border-box;
font-family: var(--shb-font, inherit);
}

/* Gradient Overlay - disable by default or make very subtle/light */
.shb-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    /* Changed from dark overlay to transparent */
    z-index: 1;
    pointer-events: none;
}

.shb-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
}

/* Left Content */
.shb-content {
    flex: 1;

    min-width: 250px;
    /* Safe for 320px mobile */
    max-width: 600px;
    animation: shbFadeUp 0.8s ease-out;
}

.shb-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
    /* Dark almost black */
    text-shadow: none;
    /* Removed text shadow for cleaner look */
}

.shb-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
    /* Dark grey */
    max-width: 480px;
    font-weight: 400;
}

/* Buttons */
.shb-buttons {
    display: flex;
    gap: 15px;
}

.shb-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    font-size: 0.95rem;
}

/* Primary Button - Blue */
.shb-btn-primary {
    background: var(--shb-primary, #2b7de0);
    /* Standard Blue */
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.shb-btn-primary:hover {
    filter: brightness(0.9);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Secondary Button - Same Blue style as per image */
.shb-btn-secondary {
    background: var(--shb-primary, #2b7de0);
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.shb-btn-secondary:hover {
    filter: brightness(0.9);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Right Grid */
.shb-grid {
    flex: 1;

    min-width: 250px;
    /* Safe for mobile */
    max-width: 500px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns */
    gap: 15px;
    animation: shbFadeIn 1s ease-out 0.3s backwards;
}

.shb-card {
    background: #fff;
    border-radius: var(--shb-radius, 16px);
    /* Slightly more rounded */
    padding: 15px 10px;
    text-align: center;
    color: #333;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shb-shadow, 0 8px 20px rgba(0, 0, 0, 0.05));
    /* Soft float shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: auto;
    min-height: 110px;
    /* Compact height */
    cursor: default;
    /* Non-clickable */
}

.shb-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    /* No color change for non-link */
}

.shb-card-icon {
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    /* Fixed height container for consistency */
}

.shb-card-img {
    max-height: 40px;
    width: auto;
    max-width: 100%;
}

.shb-card-label {
    font-weight: 500;
    font-size: 0.85rem;
    color: #444;
}

/* Clickable Card Styles */
a.shb-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    /* Ensure it keeps display flex from .shb-card */
}

a.shb-card:hover .shb-card-label {
    color: var(--shb-primary, #2b7de0);
}

/* Animations */
@keyframes shbFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shbFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .shb-container {
        flex-direction: column;
        text-align: center;
    }

    .shb-content {
        margin-bottom: 40px;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .shb-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .shb-buttons {
        justify-content: center;
    }

    .shb-grid {
        width: 100%;
        max-width: 400px;
        /* Limit width on mobile */
    }
}

@media (max-width: 600px) {
    .shb-title {
        font-size: 2rem;
    }

    .shb-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on very small screens */
    }
}