/* ===== Hero: imagen completa (texto en el banner) + CTAs + ficha ===== */
body.home-page {
    background-image: none !important;
    background-color: #f3f4f8 !important;
    background-attachment: scroll !important;
}

.home-hero-banner.main-banner-section {
    position: relative !important;
    display: block !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #0b0e21 !important;
    background-image: none !important;
    width: 100% !important;
}

.home-hero-img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    filter: none !important;
    opacity: 1 !important;
}

.home-hero-inner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22%;
    width: min(1200px, calc(100% - 3rem));
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    z-index: 2;
    pointer-events: none;
}

.home-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    align-items: center;
    justify-content: flex-start;
    max-width: 640px;
    pointer-events: auto;
}

.home-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
    color: #fff !important;
    line-height: 1.1;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.home-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    color: #fff !important;
}

.home-cta-machines {
    background: linear-gradient(90deg, #ff2d8d 0%, #e91e63 100%);
}

.home-cta-whatsapp {
    background: linear-gradient(90deg, #25d366 0%, #1ecf6a 50%, #19c3a8 100%);
}

.home-cta-wa-icon {
    flex-shrink: 0;
}

/* Ficha blanca solapada */
.home-trust-section.manufacturers-section {
    background: transparent !important;
    padding: 0 1rem 2.25rem !important;
    margin: -2.5rem auto 1.75rem !important;
    position: relative;
    z-index: 4;
}

.home-trust-section .section-title,
.home-trust-section .logos-grid {
    display: none !important;
}

.home-trust-bar {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 1.2rem 0.65rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(11, 14, 33, 0.16);
    box-sizing: border-box;
}

.home-trust-item {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.55rem 1rem;
    min-width: 0;
}

.home-trust-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: #ff2d8d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-trust-icon svg {
    width: 100%;
    height: 100%;
}

.home-trust-copy {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.home-trust-title {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #0b0e21 !important;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-trust-sub {
    font-family: Inter, system-ui, sans-serif;
    font-size: 0.76rem;
    font-weight: 500;
    color: #4b5568 !important;
    line-height: 1.25;
}

.home-trust-divider {
    width: 1px;
    align-self: stretch;
    background: #e5e7eb;
    flex-shrink: 0;
    margin: 0.35rem 0;
}

@media (max-width: 1100px) {
    .home-hero-inner {
        bottom: 21%;
        width: calc(100% - 2rem);
    }
}

@media (max-width: 980px) {
    .home-trust-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.15rem 0;
        padding: 0.7rem;
    }

    .home-trust-divider {
        display: none;
    }
}

/* ===== MÓVIL: flujo normal, sin absolute caótico ===== */
@media (max-width: 768px) {
    .home-hero-banner.main-banner-section {
        display: flex !important;
        flex-direction: column !important;
        background: #0b0e21 !important;
    }

    .home-hero-img {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .home-hero-inner {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0.85rem 0.9rem 1rem !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        background: #0b0e21;
        pointer-events: auto !important;
    }

    .home-hero-ctas {
        flex-direction: column;
        align-items: stretch;
        max-width: none;
        width: 100%;
        gap: 0.65rem;
    }

    .home-cta {
        width: 100%;
        white-space: normal;
        text-align: center;
        font-size: 0.78rem;
        padding: 0.85rem 1rem;
        box-sizing: border-box;
    }

    .home-trust-section.manufacturers-section {
        margin: 0.75rem auto 1.25rem !important;
        padding: 0 0.75rem 1.25rem !important;
        z-index: 1;
    }

    .home-trust-bar {
        grid-template-columns: 1fr;
        border-radius: 14px;
        padding: 0.55rem 0.35rem;
        box-shadow: 0 8px 24px rgba(11, 14, 33, 0.12);
    }

    .home-trust-item {
        padding: 0.7rem 0.85rem;
    }

    .home-trust-title {
        font-size: 0.74rem;
    }

    .home-trust-sub {
        font-size: 0.7rem;
    }
}
