/* ===== CONTENEDOR RAÍZ SEGURO ===== */
.sit-traceability-section {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%232d4f95' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
    padding: 120px 0;
    font-family: 'Inter', sans-serif;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.sit-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* ===== 1. ENCABEZADO ASIMÉTRICO ===== */
.sit-header-block {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: flex-start;
}

.sit-overline {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #2d4f95;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.sit-title {
    font-family: 'Playfair Display', 'Didot', serif;
    /* Manteniendo tu toque editorial fino */
    font-size: 42px;
    font-weight: 400;
    line-height: 1.15;
    color: #0a1a35;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.sit-accent-line {
    width: 60px;
    height: 2px;
    background-color: #b4935a;
}

.sit-lead-text {
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    margin: 0;
    border-bottom: 2px solid #d01341;
    /* La línea roja característica del diseño */
    padding-bottom: 25px;
}

.sit-lead-text strong {
    color: #0a1a35;
    font-weight: 600;
}

/* ===== 2. GRID DE MARCAS CON MICRO-INTERACCIÓN 3D ===== */
.sit-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sit-brand-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-sizing: border-box;

    /* Estado inicial para animación de carga */
    opacity: 0;
    transform: translateY(20px);
    animation: sitFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--card-idx) * 0.08s);

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sit-brand-card:hover {
    background-color: #ffffff;
    border-color: rgba(45, 79, 149, 0.3);
    transform: translateY(-4px);
    box-shadow:
        0 12px 25px -5px rgba(10, 26, 53, 0.05),
        0 8px 10px -6px rgba(10, 26, 53, 0.03);
}

.sit-flag-wrapper {
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.sit-brand-card:hover .sit-flag-wrapper {
    transform: scale(1.12) rotate(-3deg);
}

.sit-brand-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sit-brand-name {
    font-size: 15px;
    font-weight: 700;
    color: #0a1a35;
    margin: 0;
}

.sit-brand-desc {
    font-size: 12.5px;
    color: #64748b;
}

/* ===== 3. PANEL DE TRIPLE CERTIFICACIÓN REFORZADO ===== */
.sit-certifications-panel {
    border-top: 2px solid #d01341;
    /* Cierre visual con la línea roja idéntica */
    padding-top: 45px;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 0.5fr 1.5fr 1fr;
    align-items: center;
    gap: 40px;
}

.sit-cert-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sit-cert-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #0a1a35;
}

.sit-cert-status {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #d01341;
    margin: 0;
}

/* Contenedor Flex de los 3 Badges de Cristal */
.sit-cert-center {
    display: flex;
    gap: 15px;
}

.sit-badge-card {
    flex: 1;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-sizing: border-box;
    transition: transform 0.4s ease, border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.sit-badge-card:hover {
    background-color: #ffffff;
    border-color: #2d4f95;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 79, 149, 0.06);
}

.sit-badge-acronym {
    font-size: 18px;
    font-weight: 800;
    color: #2d4f95;
    letter-spacing: -0.2px;
}

.sit-badge-entity {
    font-size: 8px;
    font-weight: 700;
    line-height: 1.3;
    color: #64748b;
    letter-spacing: 0.5px;
}

.sit-badge-country {
    font-size: 9px;
    font-weight: 800;
    color: #b4935a;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Columna de texto aclaratorio a la derecha */
.sit-cert-right {
    border-left: 1px solid #e2e8f0;
    padding-left: 35px;
}

.sit-cert-aside {
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.sit-cert-aside strong {
    color: #0a1a35;
    font-weight: 600;
}

/* ===== ANIMACIONES KEYFRAMES ===== */
@keyframes sitFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVO ADAPTABLE ===== */
@media (max-width: 1024px) {
    .sit-brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sit-certifications-panel {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .sit-cert-center {
        justify-content: center;
    }

    .sit-cert-right {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .sit-header-block {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sit-title {
        font-size: 32px;
    }

    .sit-brands-grid {
        grid-template-columns: 1fr;
    }

    .sit-cert-center {
        flex-direction: column;
        width: 100%;
    }

    .sit-traceability-section {
        padding: 70px 0;
    }

    .sit-container {
        padding: 0 24px;
    }
}