/* --- Bloque de Sección --- */
.ind-feature {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
}

/* --- Contenedor de Imagen (Corrección de desplazamiento) --- */
.ind-feature__image-wrapper {
    width: 100%;
    height: 450px; /* Altura fija en escritorio para consistencia */
    position: relative;
    overflow: hidden;
    background-color: #f8f8f8;
}

.ind-feature__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.05);
    display: block;
}

/* --- Títulos y Tipografía --- */
.ind-feature__tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ind-blue);
    margin-bottom: 10px;
}

.ind-feature__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--ind-text-main);
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

/* --- Lista Técnica --- */
.ind-feature__list {
    list-style: none;
    padding: 0;
    border-top: 1px solid #eee;
}

.ind-feature__list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #444;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.ind-feature__list li::before {
    content: "";
    width: 12px;
    height: 1px;
    background-color: var(--ind-blue);
    margin-right: 15px;
}

.ind-feature__list li:hover {
    padding-left: 8px;
    color: var(--ind-blue);
}

/* --- Ajustes Responsive --- */
@media (max-width: 991px) {
    .ind-feature.section-padding {
        padding: 50px 0;
    }

    /* El orden se maneja por las clases order-1 y order-2 en el HTML */
    
    .ind-feature__content {
        margin-bottom: 40px;
    }

    .ind-feature__image-wrapper {
        height: 320px; /* Reducción de altura en móvil */
    }

    .ind-feature__title {
        font-size: 1.8rem;
    }
}

/* --- Grid de Proyectos (Compacto) --- */
.ind-feature__projects {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.projects-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
}

.projects-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.project-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #eee;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.project-more {
    aspect-ratio: 1;
    background-color: var(--ind-blue);
    color: white !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.project-more:hover {
    background-color: var(--brand-dark);
}

/* =========================================
   SECCIÓN: ¿QUÉ RESOLVEMOS?
   ========================================= */

/* CONTENEDOR TEXTO */
.ind-reveal__desc {
    max-width: 600px;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-top: 10px;
}

/* GRID INDUSTRIAL */
.ind-reveal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: #e5e5e5;
    border: 1px solid #e5e5e5;
}

/* ITEM */
.ind-reveal-item {
    background: #fff;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 120px;
    position: relative;
    transition: all 0.25s ease;
    overflow: hidden;
}

/* Línea lateral técnica (hover) */
.ind-reveal-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--brand-light);
    transition: height 0.3s ease;
}

.ind-reveal-item:hover::before {
    height: 100%;
}

/* Contenido superior (check + texto) */
.ind-reveal-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* CHECK (badge técnico) */
.ind-check {
    background: rgba(0,180,176,0.12);
    color: var(--brand-light);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 8px;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* TEXTO */
.ind-reveal-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-dark);
    margin: 0;
    line-height: 1.4;
    position: relative;
    padding-bottom: 10px;
}

/* Línea inferior */
.ind-reveal-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 3px;
    background: var(--brand-dark);
}

/* HOVER (ligero, elegante) */
.ind-reveal-item:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 991px) {
    .ind-reveal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    .ind-reveal-grid {
        display: flex;
        flex-direction: column;
        border: none;
        background: transparent;
    }

    .ind-reveal-item {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        border-bottom: 1px solid #e5e5e5;
        padding: 18px 0;
        min-height: auto;
    }

    .ind-reveal-top {
        align-items: center;
    }

    .ind-check {
        margin: 0;
        min-width: 25px;
    }

    .ind-reveal-item h4 {
        padding: 0;
    }

    .ind-reveal-item h4::after {
        display: none;
    }
}