/* =========================================
   6. FOOTER (Bio-Tech Style)
   ========================================= */
@import url('colores.css'); 

.tech-footer {
    background-color: var(--bg-oscuro); /* Negro suavizado #1a1a1a */
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px 0;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Decoración de fondo tecnológica */
.footer-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

/* Efecto de línea brillante superior */
.tech-footer::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primario), transparent);
    opacity: 0.7;
}

/* Layout de columnas */
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* --- COLUMNA 1: BRAND --- */
.footer-brand-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 45px;
    height: auto;
    border-radius: 4px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.tech-footer:hover .footer-logo {
    filter: grayscale(0%);
    border-color: var(--color-secundario);
    box-shadow: 0 0 15px rgba(231, 153, 45, 0.2);
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
}

.brand-name .highlight { color: var(--color-secundario); font-style: italic; }

.brand-desc { font-size: 0.9rem; line-height: 1.6; margin-bottom: 25px; max-width: 350px; }

/* Indicador de Estado (Toque Tech) */
.system-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.status-dot {
    width: 8px; height: 8px;
    background-color: #2ecc71; /* Verde standard para online */
    border-radius: 50%;
    box-shadow: 0 0 5px #2ecc71;
    animation: blink 2s infinite;
}

.status-text { color: #fff; font-weight: 700; }

@keyframes blink { 50% { opacity: 0.5; } }


/* --- COLUMNA 2 & 3: LINKS & SOCIAL --- */
.footer-heading {
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

/* Pequeña barra naranja antes del título */
.footer-heading::before {
    content: '';
    position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 3px; height: 15px;
    background-color: var(--color-primario);
}

.footer-links { list-style: none; padding: 0; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-secundario);
    transform: translateX(5px);
}

.contact-info { font-size: 0.9rem; margin-bottom: 25px; line-height: 1.6; }

/* Botones sociales */
.footer-social { display: flex; gap: 15px; }

.social-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-btn:hover {
    background: var(--color-primario);
    box-shadow: 0 5px 15px rgba(222, 122, 46, 0.4);
    transform: translateY(-3px);
}

/* --- BOTTOM BAR --- */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.copyright { color: rgba(255,255,255,0.4); }

.certifications { color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 8px; }

.gold-text { color: var(--color-secundario); font-weight: 700; letter-spacing: 1px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-brand-box { justify-content: center; }
    .brand-desc { margin: 0 auto 20px auto; }
    .footer-heading::before { display: none; } /* Quitar barra decorativa en móvil */
    .footer-heading { padding-left: 0; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; }
}





/* Estilos del Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    /* --- CAMBIOS PARA EL EFECTO DE DESENFOQUE --- */
    /* 1. Color de fondo semitransparente (importante para que se vea el blur) */
    /* El último número (0.8) es la opacidad. Juega entre 0.5 y 0.9 */
    background-color: rgba(34, 34, 34, 0.8);

    /* 2. El filtro que desenfoca lo que hay detrás */
    /* El valor en px es la intensidad del desenfoque */
    -webkit-backdrop-filter: blur(12px); /* Para compatibilidad con Safari */
    backdrop-filter: blur(12px);
    /* -------------------------------------------- */

    color: #fff;


    padding: 40px 20px;
    /* ----------------------------- */

    box-shadow: 0 -4px 20px rgba(0,0,0,0.3); /* Sombra un poco más suave */
    display: none;
    z-index: 10000;
    font-family: Arial, sans-serif;
    border-top: 1px solid rgba(255,255,255,0.1); /* Un borde sutil arriba queda bien */
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}




.cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
}

.cookie-content a {
    color: #4da6ff; /* Color del enlace */
    text-decoration: underline;
}

.cookie-btn {
    background-color: #4da6ff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
    transition: background 0.3s;
}

.cookie-btn:hover {
    background-color: #3385d6;
}

/* Responsivo para celulares */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}