
/* =========================================
   SECCIÓN DE PROYECTOS MINEROS
========================================= */

.ac-proyectos-seccion {
    width: 100%;
    padding: 65px 25px;
    background-color: #f1f1f1;
    font-family: Arial, Helvetica, sans-serif;
}

/* Encabezado */

.ac-proyectos-encabezado {
    max-width: 850px;
    margin: 0 auto 45px;
    text-align: center;
}

.ac-proyectos-subtitulo {
    display: inline-block;
    margin-bottom: 14px;
    color: #ff5a1f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.ac-proyectos-encabezado h2 {
    margin: 0 0 18px;
    color: #102b46;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
}

.ac-proyectos-encabezado > p {
    max-width: 720px;
    margin: 0 auto;
    color: #45566a;
    font-size: 17px;
    line-height: 1.8;
}

/* Cuadrícula de tarjetas */

.ac-proyectos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1500px;
    margin: 0 auto;
}

/* Tarjetas */

.ac-proyecto-card {
    min-width: 0;
    min-height: 315px;
    padding: 42px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 24px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Efecto al pasar el cursor */

.ac-proyecto-card:hover {
    transform: translateY(-6px);
    border-color: #ffd1bd;
    box-shadow: 0 14px 35px rgba(30, 40, 50, 0.09);
}

/* Círculo del icono */

.ac-proyecto-icono {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.09);

    color: #ff5a1f;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.ac-proyecto-icono svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Icono al pasar el cursor */

.ac-proyecto-card:hover .ac-proyecto-icono {
    background: #ff5a1f;
    color: #ffffff;
}

/* Títulos */

.ac-proyecto-card h3 {
    margin: 0 0 18px;
    color: #102b46;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.25;
}

/* Descripciones */

.ac-proyecto-card p {
    max-width: 440px;
    margin: 0;
    color: #263c56;
    font-size: 18px;
    line-height: 1.75;
}

/* =========================================
   TABLETS
========================================= */

@media (max-width: 1024px) {

    .ac-proyectos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .ac-proyecto-card {
        min-height: 300px;
        padding: 35px 22px;
    }

    .ac-proyecto-card h3 {
        font-size: 23px;
    }

    .ac-proyecto-card p {
        font-size: 16px;
    }
}

/* =========================================
   CELULARES
========================================= */

@media (max-width: 600px) {

    .ac-proyectos-seccion {
        padding: 45px 16px;
    }

    .ac-proyectos-encabezado {
        margin-bottom: 30px;
    }

    .ac-proyectos-encabezado h2 {
        font-size: 28px;
    }

    .ac-proyectos-encabezado > p {
        font-size: 15px;
    }

    .ac-proyectos-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ac-proyecto-card {
        min-height: 270px;
        padding: 32px 22px;
        border-radius: 20px;
    }

    .ac-proyecto-icono {
        width: 78px;
        height: 78px;
        margin-bottom: 20px;
    }

    .ac-proyecto-icono svg {
        width: 30px;
        height: 30px;
    }

    .ac-proyecto-card h3 {
        font-size: 23px;
    }

    .ac-proyecto-card p {
        font-size: 16px;
        line-height: 1.65;
    }
}
