/* FOOTER AJUSTADO AL CONTENIDO */
.main-footer {
    position: relative;
    /* Reducimos el padding: 40px arriba, 20px abajo */
    padding: 40px 0 20px; 
    color: #1b4332;
    overflow: hidden;
}

/* CAPA DE FONDO */
.main-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
                      url('../img/hed.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.footer-container {
    max-width: 1200px; /* Un poco más estrecho para centralizar */
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    /* Alineamos el contenido al centro verticalmente */
    grid-template-columns: 1.2fr 1fr 1fr; 
    gap: 30px; 
    align-items: start;
}

/* COLUMNA LOGO */
.footer-logo img {
    height: 80px; /* Reducido de 100px a 80px para ahorrar espacio */
    margin-bottom: 15px;
}

/* Localiza esta sección en tu CSS del footer */
/* Texto descriptivo debajo del logo en el Footer */
/* --- UNIFICACIÓN DE TEXTOS (Tarjetas y Footer) --- */

/* Aplicamos a las descripciones de las tarjetas y al texto del footer */
.card-boceto p, 
.footer-info p {
    /* Color Verde Bosque Profundo */
    color: #0b2219 !important; 
    
    /* Tipografía Unificada */
    font-family: 'Forum', serif; /* Cambia a 'Questrial' o 'Poppins' si prefieres esas */
    
    /* Peso y Legibilidad */
    font-weight: 700 !important; 
    font-size: 15px;
    line-height: 1.6;
    
    /* Suavizado de fuente para pantallas digitales */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Títulos de las tarjetas (para que no se vean débiles) */
.card-boceto h3,
.footer-links h4, 
.footer-contact h4 {
    color: #0b2219;
    font-family: 'Forum', serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* TÍTULOS DE SECCIÓN */
.footer-links h4, .footer-contact h4 {
    font-size: 16px; /* Un poco más pequeño */
    font-weight: 800;
    margin-bottom: 15px; /* Menos margen inferior */
    text-transform: uppercase;
    color: #2d5a27;
}

/* ENLACES Y CONTACTO */
.footer-links ul li {
    margin-bottom: 8px; /* Espacio entre links más apretado */
}

.footer-links a, .footer-contact p {
    font-size: 14px;
    text-decoration: none;
    color: #1b4332;
    font-weight: 600;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* BARRA DE DERECHOS (Copyright) */
.footer-bottom {
    text-align: center;
    margin-top: 30px; /* Reducido de 60px a 30px */
    padding-top: 15px;
    border-top: 1px solid rgba(27, 67, 50, 0.1);
}

.footer-bottom p {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
}