/* ESTRUCTURA PRINCIPAL */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #ffffff;
    padding: 4rem 0;
    font-family: 'Poppins', sans-serif;
    border-top: 2px solid rgba(255, 204, 0, 0.2);
    position: relative;
}

/* TITULOS */
.footer-title {
    color: #ffcc00;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: #ffcc00;
}

.footer-subtitle {
    color: #ffcc00;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.footer-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #ffcc00;
    border-radius: 50%;
}

/* DIVISORES */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #ffcc00 50%, transparent 100%);
    margin: 2rem 0;
    position: relative;
}

.footer-divider.secondary {
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

/* CONTENIDO */
.footer-content {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 1rem;
    text-align: justify; /* Justificar el texto */
}
/* MENU */
.footer-menu .menu-item {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    color: #fff;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.footer-menu .menu-item:hover {
    border-left-color: #ffcc00;
    padding-left: 1.5rem;
    background: rgba(255, 204, 0, 0.05);
}

/* DOCUMENTOS */
.doc-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.doc-icon {
    font-size: 2rem;
    margin-right: 1rem;
    color: #f44336;
    transition: transform 0.3s ease;
}

.doc-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.doc-link:hover .doc-icon {
    transform: rotate(-10deg);
}

/* CONTACTO */
.contact-item {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2);
}

/* Enlaces de contacto dentro del footer */
.contact-link {
  color: inherit;            /* hereda el color blanco */
  text-decoration: none;     /* quita subrayado */
  display: inline-flex;      /* alinea icono y texto */
  align-items: center;
}

.contact-link:hover .contact-icon {
  transform: scale(1.2);     /* mismo efecto hover que en .contact-item */
}

/* REDES SOCIALES */
.social-buttons img {
    transition: all 0.3s ease;
    filter: grayscale(0.3);
}

.social-buttons a:hover img {
    filter: none;
    transform: translateY(-5px);
}

/* MAPA */
.small-map {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.small-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-button {
    background: transparent;
    border: 2px solid #ffcc00;
    color: #ffcc00;
    padding: 0.75rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.map-button:hover {
    background: #ffcc00;
    color: #1a1a1a;
}

/* DERECHOS */
.derechos {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .footer {
        padding: 3rem 0;
    }
    
    .footer-title {
        font-size: 1.75rem;
    }
    
    .col-md-6 {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-subtitle {
        font-size: 1.1rem;
    }
    
    .doc-link {
        flex-direction: column;
        text-align: center;
    }
    
    .doc-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}