/*Sección general, con los diferentes estilos generales*/
.split-section {
    display: flex;
    background-color: #ffffff;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 65px 8%;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}
/*Para la división del contenido en 2*/
.split-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/*Definimos el estilo y color de titulos, subtitulos y textos, además de la imágen que vamos a utilizar.*/
.split-title {
    color: #ef6e00;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.split-subtitle {
    color: #001932;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    white-space: pre-line;
}

.split-text {
    color: #001932;
    font-size: 1.25rem;
    line-height: 1.7;
    margin: 0;
}

.split-image-container {
    flex: 1;
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 25, 50, 0.12);
}

.split-image-container:not(.team-cards-container) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ── TEAM CARDS CAROUSEL ─────────────────────────────── */
.team-cards-container {
    position: relative;
    background: #001020;
    overflow: hidden;
    height: 400px;
}

/* Track: static container, cards stack on top of each other via absolute positioning */
.team-cards-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Each card fills the full container — opacity controls which one is visible */
.team-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    overflow: hidden;
}

.team-card.active {
    opacity: 1;
    pointer-events: auto;
}

/* Photo column — photo fills its grid cell */
.tc-photo-panel {
    position: relative;
    overflow: hidden;
    background: #001020;
}

/* position: absolute bypasses global img { height: auto } completely */
.tc-photo-panel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.tc-photo-accent {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #ef6e00;
}

/* Info column — stacks content top-down, bottom block pushed to floor */
.tc-info-panel {
    min-width: 0;
    padding: 20px 22px 16px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    background: #001932;
}

.tc-name {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-divider {
    width: 28px;
    height: 2px;
    background: #ef6e00;
    margin: 6px 0;
}

.tc-title {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-years {
    font-size: 9px;
    font-weight: 700;
    color: #ef6e00;
    margin-top: 3px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.tc-contact {
    margin-bottom: 0;
}

.tc-contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
    min-width: 0;
}

.tc-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ef6e00;
    flex-shrink: 0;
}

.tc-contact-text {
    font-size: 9px;
    color: rgba(255,255,255,0.68);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.tc-label {
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ef6e00;
    margin-bottom: 3px;
}

.tc-specialty {
    margin-bottom: 6px;
    min-width: 0;
}

.tc-specialty-text {
    font-size: 9.5px;
    color: rgba(255,255,255,0.68);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tc-platforms {
    min-width: 0;
}

.tc-platforms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    min-width: 0;
}

.tc-platform-chip {
    font-size: 7.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 2px 6px;
    border-radius: 2px;
    white-space: nowrap;
}

.tc-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.05);
    min-width: 0;
}

.tc-position {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tc-brand {
    font-size: 7px;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Dots */
.team-cards-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.team-card-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.team-card-dot.active {
    background: #ef6e00;
    transform: scale(1.3);
}

.team-card-dot:hover:not(.active) {
    background: rgba(255,255,255,0.65);
}

.split-table {
    display: inline;
}

/*Acá empiezan los estilos para el listado horizontal de icono con texto por debajo*/
.horizontal-list-container {
    width: 100%;
    box-sizing: border-box;
}

.horizontal-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 2rem;
}

.list-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}
/*Estilos del icono*/
.item-icon {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*Cómo se va a acomodar la imágen que usaremos como icono*/
.item-icon img,
.item-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-text {
    font-family: sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #001932;
}

/*División naranja*/
.orange-divider {
    width: 80px;
    height: 4px;
    background-color: #ef6e00;
    border-radius: 2px;
    margin-bottom: 2rem;
}

/*Media querys para que todo se acomode dependiendo del tamaño de las pantallas*/
@media (max-width: 768px) {
    .horizontal-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; 
        gap: 2.5rem 1rem !important; 
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 992px) {
    .split-section {
        flex-direction: column;
        gap: 2.5rem;
        padding: 60px 6%;
    }

    .split-title {
        font-size: 2rem;
    }

    .split-subtitle {
        font-size: 1.25rem;
    }

    .split-image-container {
        height: 350px;
    }

    .orange-divider {
        width: 60px;
    }
}