/* =============================================
   TRUSTED TECHNOLOGIES – PHOENIX PRO
   CLEAN + VISUAL BALANCE + SAFE FOR BAKERY
   ============================================= */

/* =============================================
   SECCIÓN PRINCIPAL
   ============================================= */
.trusted-technologies-section {
    width: 100%;
    padding-top: var(--padding-top, 60px) !important;
    padding-bottom: var(--padding-bottom, 60px) !important;
    transition: all 0.3s ease;
}

/* =============================================
   TÍTULO Y SUBTÍTULO
   ============================================= */
.trusted-technologies-section .section-title {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.trusted-technologies-section .section-subtitle {
    max-width: 900px !important;
    margin: 0 auto 40px auto !important;
    text-align: center !important;
    color: #666;
    line-height: 1.6;
    padding-top: 30px !important;
    /*text-transform: uppercase;*/
    font-size: 17px !important;
    font-Weight: 300 !important;
}

/* =============================================
   GRID DE LOGOS
   ============================================= */
.technologies-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 30px !important;
    align-items: center !important;
    justify-items: center !important;
    margin: 40px auto 0 !important;
    width: 100%;
}

@media (max-width: 992px) {
    .technologies-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 25px !important;
    }
}

@media (max-width: 768px) {
    .technologies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }
}

/* =============================================
   ITEMS
   ============================================= */
.tech-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 10px !important;
    text-align: center;
    min-height: 90px !important;
}

/* =============================================
   LOGOS BASE
   ============================================= */
.tech-item .tech-logo,
.tech-item img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 140px !important;
    max-height: calc(var(--logo-size-desktop, 140px) * 0.5) !important;
    object-fit: contain !important;
    transition: filter 0.4s ease, transform 0.4s ease !important;
    filter: grayscale(100%) brightness(0.7) !important;
}

/* =============================================
   HOVER GLOBAL
   ============================================= */
.tech-item:hover .tech-logo,
.tech-item:hover img {
    filter: grayscale(0%) brightness(1) !important;
    transform: scale(1.05) !important;
}

/* =============================================
   VISUAL BALANCE POR MARCA
   ============================================= */

/* Google */
.tech-item[data-name="Google"] img {
    max-height: calc(var(--logo-size-desktop, 140px) * 0.52) !important;
}

/* Meta */
.tech-item[data-name="Meta"] img {
    max-height: calc(var(--logo-size-desktop, 140px) * 0.48) !important;
}

/* AWS */
.tech-item[data-name="AWS"] img,
.tech-item[data-name="Amazon Web Services"] img {
    max-height: calc(var(--logo-size-desktop, 140px) * 0.56) !important;
}

/* Stripe */
.tech-item[data-name="Stripe"] img {
    max-height: calc(var(--logo-size-desktop, 140px) * 0.54) !important;
}

/* Canva */
.tech-item[data-name="Canva"] img {
    max-height: calc(var(--logo-size-desktop, 140px) * 0.54) !important;
}

/* Anthropic – ajuste fino + hover negro */
.tech-item[data-name="Anthropic"] img {
    max-height: calc(var(--logo-size-desktop, 140px) * 0.55) !important;
    filter: grayscale(100%) brightness(0.65) !important;
}

.tech-item[data-name="Anthropic"]:hover img {
    filter: grayscale(0%) brightness(0) !important;
    transform: scale(1.05) !important;
}

/* =============================================
   BORDE SUPERIOR OPCIONAL
   ============================================= */
.trusted-technologies-section.has-top-border {
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* =============================================
   AJUSTE 4K
   ============================================= */
@media (min-width: 1921px) {
    .tech-item img {
        max-height: calc(var(--logo-size-desktop, 140px) * 0.75) !important;
    }
}

/* =============================================
   AJUSTE SOLO PARA ESTA SECCIÓN EN BAKERY
   (SIN ROMPER OTRAS COLUMNAS)
   ============================================= */
.vc_column-inner .trusted-technologies-section {
    margin-top: -30px !important;
}

.wpb_column .vc_column-inner:has(> .wpb_wrapper > .trusted-technologies-section) {
    padding-top: 0 !important;
}