/**
 * VIBA — Sección BAMBU (stats del desarrollador, marcas, visión/misión)
 * Port del componente BambuInfo del prototipo "Animacion".
 *
 * Variables editables desde Personalizar VIBA:
 *   --bambu-bg (fondo de la sección)
 */

.bambu_section {
    background-color: var(--bambu-bg, #212121);
    color: #ffffff;
    padding: 100px 0;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bambu_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ── Fila 1: Stats e imagen ────────────────────────────────── */
.bambu_stats_row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

@media (min-width: 992px) {
    .bambu_stats_row {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.bambu_stats_left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.bambu_main_title {
    font-family: var(--font-primary, 'Century Gothic Pro'), sans-serif;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0;
}

.bambu_stats_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 576px) {
    .bambu_stats_grid {
        grid-template-columns: 1fr 1fr;
    }
}

.bambu_stat_item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bambu_stat_item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(197, 181, 155, 0.25);
}

.bambu_stat_icon_wrapper {
    color: var(--accent, #C5B59B);
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bambu_stat_icon {
    width: 100%;
    height: 100%;
}

.bambu_stat_text {
    font-family: var(--font-secondary, 'Century Gothic Pro'), sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.bambu_stats_right {
    display: flex;
    justify-content: center;
}

.bambu_project_img_wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 1.5;
}

.bambu_project_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bambu_project_img_wrapper:hover .bambu_project_img {
    transform: scale(1.05);
}

/* ── Fila 2: Marcas ────────────────────────────────────────── */
.bambu_brands_section {
    margin-bottom: 80px;
    text-align: center;
}

.bambu_brands_title {
    font-family: var(--font-primary, 'Century Gothic Pro'), sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 45px;
}

.bambu_brands_grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.bambu_brands_row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
    width: 100%;
}

.bambu_brand_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.3s ease;
    height: 40px;
    max-width: 150px;
    user-select: none;
}

.bambu_brand_logo:hover {
    color: rgba(255, 255, 255, 0.95);
    transform: scale(1.05);
}

.logo-svg-item {
    height: 100%;
    width: auto;
}

.logo-svg-item-wide {
    height: 80%;
    width: auto;
}

.asesuisa-logo {
    font-family: var(--font-primary, 'Century Gothic Pro'), sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.gap-logo {
    font-family: 'Times New Roman', Times, serif;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 0.25em;
    border-left: 1px solid currentColor;
    border-right: 1px solid currentColor;
    padding: 0 12px;
}

.kfc-logo .kfc-container {
    border: 2px solid currentColor;
    padding: 2px 14px;
    border-radius: 4px;
}

.kfc-logo .kfc-text {
    font-family: var(--font-primary, 'Century Gothic Pro'), sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.maxipali-logo .oval-badge,
.oldnavy-logo .oval-badge {
    border: 1.5px solid currentColor;
    border-radius: 50px;
    padding: 4px 20px;
    font-family: var(--font-primary, 'Century Gothic Pro'), sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.oldnavy-logo .oval-badge--dark {
    background: rgba(255, 255, 255, 0.05);
}

.walmart-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.walmart-text {
    font-family: var(--font-primary, 'Century Gothic Pro'), sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.walmart-spark {
    width: 18px;
    height: 18px;
    color: var(--accent, #C5B59B);
}

/* ── Fila 3: Visión y Misión ───────────────────────────────── */
.bambu_vision_mission_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
}

@media (min-width: 768px) {
    .bambu_vision_mission_grid {
        grid-template-columns: 1fr 1fr;
    }
}

.bambu_card {
    position: relative;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.bambu_card_bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.bambu_card:hover .bambu_card_bg {
    transform: scale(1.06);
}

.bambu_card_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.95) 0%, rgba(15, 15, 15, 0.4) 70%, rgba(15, 15, 15, 0.2) 100%);
    z-index: 2;
}

.bambu_card_content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.bambu_card_title {
    font-family: var(--font-primary, 'Century Gothic Pro'), sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.bambu_card_desc {
    font-family: var(--font-secondary, 'Century Gothic Pro'), sans-serif;
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin: 0;
}
