/* layout.css */

/* --- ESTILOS GENERALES Y RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background-color: #f5f5f0; color: #333; }

/* Contenedor Global (Usado en Home y Footer) */
.home-container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 2rem 0; }

/* --- NAVEGACIÓN --- */
.nav-panel {
    background-color: #f5f5f0;
    padding: 2px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.nav-tabs-custom {
    border: none;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
.nav-tab-item {
    text-decoration: none;
    background: none;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}
.nav-tab-item:hover { color: #333; }
.nav-tab-item.active { color: #333; font-weight: 700; }

/* --- FOOTER --- */
footer { background-color: #1a2a3a; color: white; margin-top: 0; }
.footer-link { color: white; text-decoration: none; }
.footer-link:hover { text-decoration: underline; }

/* ... (Tus estilos anteriores de nav y modal se mantienen igual) ... */

/* --- NUEVOS ESTILOS DEL FOOTER (2 COLUMNAS) --- */

.footer-columns-wrapper {
    display: flex;
    justify-content: space-between; /* Separa izquierda y derecha al máximo */
    align-items: flex-start; /* Alinea ambos bloques arriba */
    width: 100%;
}

.footer-col-left {
    text-align: left;
}

.footer-col-right {
    text-align: right; /* Alinea Legal Notice y Follow Us a la derecha */
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Asegura que los elementos se peguen a la derecha */
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #f5a623;
    text-decoration: none;
}

.footer-socials img {
    height: 2rem;
    width: 2rem;
    transition: transform 0.3s ease;
}

.footer-socials img:hover {
    transform: scale(1.1);
}

/* Responsive: En móviles se apilan */
@media (max-width: 768px) {
    .footer-columns-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-col-right {
        text-align: left;
        align-items: flex-start;
    }
}

/* --- MODAL DE CONTACTO --- */
.contact-modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(5px);
    overflow: auto;
    animation: fadeInModal 0.3s ease-out;
}

.contact-modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    /* Centrado perfecto */
    position: absolute; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
.contact-close:hover { color: #000; }

.contact-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #1a202c;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.contact-item:last-child { border-bottom: none; }

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-weight: 600;
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.contact-btn {
    background-color: #f5a623; /* Jungle Orange */
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.contact-btn:hover {
    background-color: #e07b00;
    transform: translateY(-2px);
    color: white;
}

.contact-btn.audit {
    background-color: #1a202c;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
}
.contact-btn.audit:hover { background-color: #2d3748; }

/* --- NAVEGACIÓN NUEVA --- */
.nav-panel {
    background-color: #f5f5f0;
    padding: 15px 0; /* Padding vertical */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-links-container {
    display: flex;
    align-items: center;
    gap: 40px; /* Espacio entre links */
}

.nav-link-item {
    text-decoration: none;
    font-size: 18px;
    font-weight: 700; /* Bold como en la imagen */
    color: #1a202c; /* Color oscuro */
    transition: color 0.3s ease;
}

.nav-link-item:hover, .nav-link-item.active {
    color: #f5a623; /* Naranja JungleClick */
}

.nav-cta-btn {
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
    border: 2px solid #1a202c;
    padding: 10px 25px;
    border-radius: 50px; /* Borde redondeado completo */
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-cta-btn span {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    line-height: 1;
}

.nav-cta-btn:hover {
    background-color: #f5a623; /* Fondo naranja */
    border-color: #f5a623;
    color: white; /* Texto blanco */
}

.nav-cta-btn:hover span {
    transform: translateX(5px); /* Flecha se mueve */
}

/* Responsive Nav */
@media (max-width: 768px) {
    .nav-links-container { gap: 15px; }
    .nav-link-item { font-size: 14px; }
    .nav-cta-btn { padding: 8px 15px; font-size: 14px; }
}


/* --- FOOTER CORREGIDO (ALINEACIÓN PERFECTA) --- */
footer { background-color: #1a2a3a; color: white; margin-top: 0; }

.footer-columns-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* CRUCIAL: Alinea todo al tope */
    width: 100%;
}

.footer-col-left, .footer-col-right {
    margin-top: 0; /* Asegura que no haya margen invisible empujando hacia abajo */
}

.footer-col-left { text-align: left; }

.footer-col-right {
    text-align: right; 
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    /* Quitamos cualquier gap que afecte al primer elemento */
}

/* Clase para los bloques dentro de la derecha */
.footer-block {
    margin-bottom: 2.5rem; /* Espacio entre Legal y Follow */
}
.footer-block:last-child { margin-bottom: 0; }

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2; /* Altura de línea consistente para alinear */
    margin-top: 0; /* Sin margen superior */
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* ... Resto de estilos del footer (links, socials, etc) se mantienen igual ... */
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }


}