/* ===================================================================
 *  mineria.css
 *  Estilos específicos y únicos para la página de Minería.
 * =================================================================== */

/* --- Estilos Generales de Sección --- */
.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subtitle {
    display: block;
    color: #011954;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* --- Cabecera de Página --- */
#page-header {
    position: relative;
    height: 50vh;
    min-height: 350px;
    background-image: url('../imagenes/cabecera.jpg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#page-header .page-title {
    position: relative;
    color: white;
    font-weight: 500;
    font-size: 3.5rem;
}

/* --- Sección de Contadores Estilo "Alert" --- */
.counters-alert-section {
    padding-top: 60px;
    padding-bottom: 20px;
}

.counters-alert-box {
    background-color: #011954;
    color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(1, 25, 84, 0.3);
}

.counters-alert-box .stat-item h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff;
}

.counters-alert-box .stat-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

/* --- Composición de Imágenes --- */
.image-composition {
    position: relative;
    min-height: 400px;
}

.image-composition .img-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(100%) contrast(1.2);
    opacity: 0.5;
}

.image-composition .img-fg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 70%;
    object-fit: cover;
    border-radius: 8px;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- Sección Propuesta de Valor (3 Cards) --- */
.value-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    padding: 30px;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.value-card p {
    color: #6c757d;
    min-height: 80px;
}

.step-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.step-list li {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 500;
}

.step-list li.done,
.step-list li.active {
    background-color: #e8f5e9;
    border-color: #43a047;
}

.step-list li span {
    margin-right: 10px;
    color: #ced4da;
}

.step-list li.done span,
.step-list li.active span {
    color: #43a047;
}

.mini-graph {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.graph-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #6c757d;
}

.bar-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 80px;
    margin-top: 10px;
}

.bar {
    width: 15%;
    background-color: #43a047;
    border-radius: 4px 4px 0 0;
}

.tech-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.logo-box {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #8e24aa;
}

/* --- Sección CTA Final --- */
.cta-banner {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.cta-text {
    font-size: 1.1rem;
    color: #6c757d;
    margin-top: 15px;
}

.btn-cta-primary {
    background-color: #011954;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background-color: #000b2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 25, 84, 0.4);
}

.btn-cta-secondary {
    background-color: transparent;
    color: #343a40;
    border: 2px solid #ced4da;
    padding: 10px 28px;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background-color: #343a40;
    color: #fff;
    border-color: #343a40;
}

.cta-image {
    position: absolute;
    right: -50px;
    top: -30px;
    width: 90%;
    opacity: 0.1;
    transform: rotate(15deg);
}

@media (max-width: 991px) {
    .cta-banner {
        padding: 40px;
    }
}