

/* Section */
.wb-hero {
    position: relative;
    overflow: clip;
    box-sizing: border-box;
    max-inline-size: 100%;
}

/* Grid */
.wb-hero-inner {
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}

.wb-hero-left,
.wb-hero-right {
    min-width: 0;
    max-inline-size: 100%;
}

.wb-hero-left {
    max-width: 52ch;
    text-align: left;
}

/* Left content */
.wb-hero-eyebrow {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 16px;
}

.wb-hero-title {
    font-size: clamp(32px, 6vw, 72px);
    line-height: 1.05;
    font-weight: 800;
    color: #0b0f1a;
    margin: 0 0 16px;
}

.wb-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #4b5563;
    margin: 0 0 28px;
    max-width: 52ch;
}

/* Buttons */
.wb-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.wb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    border: 2px solid transparent;
}

.wb-btn-primary {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.wb-btn-primary:hover {
    transform: translateY(-2px);
}

.wb-btn-secondary {
    background: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.wb-btn-secondary:hover {
    background: rgba(37, 99, 235, 0.06);
    transform: translateY(-2px);
}

/* Two-image mosaic */
.wb-hero-mosaic.two {
    inline-size: 100%;
    display: grid;
    gap: var(--gap, 20px);
}

.wb-hero-mosaic.two.is-stack {
    grid-template-columns: minmax(0, 1fr);
}

.wb-hero-mosaic.two.is-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.wb-hero-mosaic.two .wb-hero-cell {
    border-radius: 16px;
    overflow: hidden;
    background: #e5e7eb;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    aspect-ratio: var(--tile-ratio, 2/3);
}

.wb-hero-mosaic.two.no-background .wb-hero-cell {
    background: transparent !important;
    box-shadow: none !important;
}

.wb-hero-mosaic.two img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.wb-hero-cell-placeholder {
    width: 100%;
    height: 100%;
    background: #e5e7eb;
}

.wb-hero-mosaic.no-background .wb-hero-cell-placeholder {
    background: transparent !important;
}

/* Mobile slider */
.wb-hero-slider {
    display: none;
    margin-top: 16px;
    overflow-x: auto;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 6px;
}

.wb-hero-slide {
    display: inline-block;
    width: 78%;
    max-width: 420px;
    margin-right: 12px;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    background: #e5e7eb;
    aspect-ratio: var(--tile-ratio, 2/3);
}

.wb-hero-slider.no-background .wb-hero-slide {
    background: transparent !important;
}

.wb-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Responsive */
@media (max-width: 1120px) {
    .wb-hero-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .wb-hero-inner {
        display: flex;
        flex-direction: column;
    }

    .wb-hero-right {
        order: -1;
        width: 100%;
        margin-bottom: 24px;
    }

    .wb-hero-mosaic.two {
        display: none;
    }

    .wb-hero-slider {
        display: block;
        width: min(360px, 90vw);
        margin: 0 auto;
    }

    .wb-hero-slide {
        width: 100%;
        max-width: none;
        margin-right: 0;
    }
}

@media (max-width: 580px) {
    .wb-hero-slide {
        width: 100%;
    }
}
