/* ===== Footer Ultra-Pro ===== */

.footer-pro {
    position: relative;
    background: linear-gradient(180deg, var(--negro) 0%, var(--negro) 100%);
    color: var(--blanco);
    padding: 8rem 2rem 4rem 2rem;
    font-family: var(--fuente-principal);
    overflow-x: hidden;
    overflow-y: visible;
}
/* SUBMENÚ DEL FOOTER – TODAS LAS PÁGINAS */
.footer-pro .menu-principal .sub-menu a {
    color: var(--negro);
}




.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.footer-logo h2 {
    font-family: var(--fuente-headings);
    font-size: 3rem;
    margin-bottom: .5rem;
}

.footer-logo p {
    font-size: 1.6rem;
    opacity: 0.8;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-menu .menu-principal li {
    margin: 0;
}

.footer-menu .menu-principal a {
    color: var(--blanco);
    font-weight: 600;
    font-size: 1.6rem;
    transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
}

.footer-menu .menu-principal a:hover {
    
    transform: translateY(-2px);
}

/* Estado cerrado */
.footer-pro .menu-principal .sub-menu {
    display: none;
}

/* Estado abierto por click */
.footer-pro .menu-principal .sub-menu.footer-submenu-open {
    display: block;
}






.footer-social.premium {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start; /* alinea con el card del menú */
    flex-wrap: wrap;
    z-index: 2;
}

/* Fondo circular tipo vidrio + icono centrado */
.footer-social.premium .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08); /* vidrio sutil */
    backdrop-filter: blur(10px);
    color: var(--blanco);
    font-size: 2rem;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

/* Efecto glow al hover */
.footer-social.premium .social-icon:hover {
    transform: scale(1.3);
    background: rgba(255, 255, 255, 0.15);
   
}


.footer-divider {
    border: 0.5px solid rgba(255,255,255,0.3);
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.footer-bottom {
    text-align: center;
    font-size: 1.6rem;
    opacity: 0.7;
    position: relative;
    z-index: 2;
}

/* Overlay sutil para profundidad */
.footer-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.05), rgba(0,0,0,0.1));
    z-index: 1;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-menu {
        background: none;
        backdrop-filter: none;
        box-shadow: none;
        padding: 0;
    }

     .footer-pro .menu-principal a {
       color: var(--blanco) 
    }
    
/* FOOTER – color del submenú */
.footer-pro .menu-principal .sub-menu a {
    color: var(--blanco);
}
.footer-pro .menu-principal .sub-menu {
    background: transparent; /* o blanco si usas card */
}

.footer-pro .menu-principal .sub-menu a {
    color: var(--blanco);
    font-weight: 600;
}
.footer-pro .menu-principal .sub-menu a {
    font-size: 1.4rem; /* ajusta si usas otra escala */
}

    .footer-social {
        justify-content: center;
    }
}

.footer-content:not(:has(.footer-social)) .footer-menu {
  margin: 0 auto;
  text-align: center;
}

.footer-contacto {
    max-width: 280px;
}

.footer-titulo {
    font-size: 2.6rem;
    margin-bottom: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.footer-contacto-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contacto-lista li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    line-height: 1.4;
}

.footer-contacto-lista i {
    margin-top: 0.3rem;
    font-size: 1.4rem;
    opacity: 0.85;
}

.footer-contacto-lista a {
    color: inherit;
    text-decoration: none;
}

.footer-contacto-lista a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .footer-contacto {
        text-align: center;
        margin: 0 auto;
    }

    .footer-contacto-lista li {
        justify-content: center;
    }
}

/* Para crédito de mi portafolio */
.developer-credit {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 15px; 
    text-align: center;
}

.developer-credit a {
    display: inline-block;
    padding: 5px 10px;    /* Expande el área táctil sin afectar lo visual */
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.3px; /* Espaciado normal para "Diseño y desarrollo por" */
}

/* Estilo específico para NovaWeb */
.developer-credit a em {
    font-style: italic;    /* Aplica la cursiva solo aquí */
    letter-spacing: 2px;   /* Aplica el interlineado sutil solo aquí */
    font-weight: 600;      /* Un poco más de peso para resaltar */
}

.developer-credit a:hover {
    opacity: 1;
    text-decoration: none; 
}

.developer-credit a:hover em {
    text-decoration: underline; /* Solo se subraya el nombre al pasar el mouse */
}
