/* ==========================================================================
   BBX MCP - Home Hero
   Structure: bbx-mcp-home-hero > __inner (bbx-container) > __grid
              > __content (__title, __description, __ctas)
              > __visual (__cards-wrap > __card--N)
   ========================================================================== */

.bbx-mcp-home-hero {
    background-color: var(--wp--preset--color--warm, #faf9f7);
    border-bottom: 1px solid var(--wp--preset--color--ink-100, #e5e5e5);
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
}

@media (min-width: 1024px) {
    .bbx-mcp-home-hero {
        padding-top: 3.5rem;
        padding-bottom: 5rem;
    }
}

.bbx-mcp-home-hero__inner {
    /* max-width / margin / padding geres par bbx-container */
}

/* Grid: 1 col mobile, 3fr + 2fr desktop */
.bbx-mcp-home-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .bbx-mcp-home-hero__grid {
        grid-template-columns: 3fr 2fr;
        gap: 3.5rem;
    }
}

/* ---- Content ---- */
.bbx-mcp-home-hero__title {
    font-size: clamp(1.375rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--wp--preset--color--ink-900, #111);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
}

.bbx-mcp-home-hero__description {
    font-size: 16px;
    line-height: 1.65;
    color: var(--wp--preset--color--ink-500, #6b7280);
    max-width: 36rem;
    margin: 0 0 1.75rem;
}

/* ---- CTAs ---- */
.bbx-mcp-home-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bbx-mcp-home-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.bbx-mcp-home-hero__btn--outline {
    background: transparent;
    border: 1.5px solid var(--wp--preset--color--ink-200, #d1d5db);
    color: var(--wp--preset--color--ink-700, #374151);
}
.bbx-mcp-home-hero__btn--outline:hover {
    border-color: var(--wp--preset--color--blue, #2563eb);
    color: var(--wp--preset--color--blue, #2563eb);
}

.bbx-mcp-home-hero__btn--primary {
    background: var(--wp--preset--color--blue, #2563eb);
    border: 1.5px solid var(--wp--preset--color--blue, #2563eb);
    color: var(--wp--preset--color--base);
}
.bbx-mcp-home-hero__btn--primary:hover {
    opacity: 0.9;
    color: var(--wp--preset--color--base);
}

/* ---- Visual (floating cards) ---- */
.bbx-mcp-home-hero__visual {
    display: none;
}

@media (min-width: 1024px) {
    .bbx-mcp-home-hero__visual {
        display: block;
    }
}

.bbx-mcp-home-hero__cards-wrap {
    position: relative;
    height: 400px;
}

.bbx-mcp-home-hero__card {
    position: absolute;
    background: var(--wp--preset--color--base);
    border-radius: 0.75rem;
    border: 1px solid var(--wp--preset--color--ink-100, #e5e5e5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    animation: bbxHeroCardIn 0.5s both ease-out;
}

.bbx-mcp-home-hero__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Staggered positions — compact at 1024px, full at 1280px+ */
.bbx-mcp-home-hero__card--1 { top:   0px; left:   0px; z-index: 4; animation-delay: 0.10s; }
.bbx-mcp-home-hero__card--2 { top:  90px; left:  28px; z-index: 3; animation-delay: 0.22s; }
.bbx-mcp-home-hero__card--3 { top: 180px; left:  56px; z-index: 2; animation-delay: 0.34s; }
.bbx-mcp-home-hero__card--4 { top: 270px; left:  84px; z-index: 1; animation-delay: 0.46s; }

@media (min-width: 1280px) {
    .bbx-mcp-home-hero__card { min-width: 260px; }
    .bbx-mcp-home-hero__card--2 { left:  50px; }
    .bbx-mcp-home-hero__card--3 { left: 100px; }
    .bbx-mcp-home-hero__card--4 { left: 150px; }
}

@keyframes bbxHeroCardIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Card logo ---- */
.bbx-mcp-home-hero__card-logo {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    border: 1px solid var(--wp--preset--color--ink-100, #e5e5e5);
    background: var(--wp--preset--color--base);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.bbx-mcp-home-hero__card-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.bbx-mcp-home-hero__card-logo--placeholder {
    background: var(--wp--preset--color--warm, #faf9f7);
    font-size: 11px;
    font-weight: 700;
    color: var(--wp--preset--color--ink-600, #4b5563);
    text-transform: uppercase;
}

/* ---- Card as link ---- */
a.bbx-mcp-home-hero__card {
    text-decoration: none;
    color: inherit;
}

a.bbx-mcp-home-hero__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

/* ---- Card info ---- */
.bbx-mcp-home-hero__card-info {
    min-width: 0;
}

.bbx-mcp-home-hero__card-rating {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.125rem;
}

.bbx-mcp-home-hero__card-stars {
    display: flex;
    gap: 1px;
}

.bbx-mcp-home-hero__card-score {
    font-weight: 700;
    font-size: 13px;
    color: var(--wp--preset--color--ink-900, #111);
}

.bbx-mcp-home-hero__card-label {
    font-size: 12px;
    color: var(--wp--preset--color--ink-400, #9ca3af);
    font-weight: 500;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
