/* ═══════════════════════════════════════════════════════════════
   ArkiaOS HUB — estilos específicos de index.html
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   NAV UNIFICADA ARKIAOS
═══════════════════════════════════════════════════════════════ */
.nav-arkia {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 212, 191, 0.2);
}

.nav-arkia .nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-arkia .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-arkia .nav-brand img {
    height: 32px;
    width: auto;
}

.nav-arkia .nav-brand-text {
    color: #e5e7eb;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.nav-arkia .nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-arkia .nav-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-arkia .nav-links a:hover {
    color: #2dd4bf;
}

/* Página actual (activa) */
.nav-arkia .nav-links a.active {
    color: #2dd4bf;
    font-weight: 600;
}

.nav-arkia .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2dd4bf;
    border-radius: 2px;
}

/* Botón de contacto */
.nav-arkia .btn-contact {
    background: #2dd4bf;
    color: #0f1724 !important;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-arkia .btn-contact:hover {
    background: #14b8a6;
    transform: translateY(-1px);
}

.nav-arkia .btn-contact::after {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-arkia .nav-inner {
        justify-content: center;
        padding: 0.6rem 1rem;
    }
    .nav-arkia .nav-links {
        gap: 1rem;
        justify-content: center;
    }
    .nav-arkia .nav-brand-text {
        display: none;
    }
}

/* ── Grilla de banderas ── */
.flag-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.flag-item { text-align: center; width: 84px; }
.flag-item img { width: 64px; height: 44px; object-fit: cover; border-radius: 12px;
    display: block; margin: 0 auto .5rem; box-shadow: 0 4px 12px rgba(0,0,0,.4);
    transition: transform .3s; }
.flag-item img:hover { transform: translateY(-4px) scale(1.06); }
.flag-item p { color: #9ca3af; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER FIXES: Colores legibles y centrado
   ═══════════════════════════════════════════════════════════════ */

/* Forzar títulos del footer en blanco */
footer h3, 
footer h4 {
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Limpiar listas del footer */
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
}

/* Forzar enlaces del footer en blanco hueso (no azul) */
footer a {
    color: #e2e8f0 !important; 
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

/* Efecto hover con el color turquesa de ArkiaOS */
footer a:hover {
    color: #2dd4bf !important;
    opacity: 1;
}

/* Centrar la sección de copyright al final del footer */
footer .copyright,
footer > div:last-child,
footer .footer-bottom {
    text-align: center !important;
    width: 100%;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .copyright p,
footer > div:last-child p {
    color: #94a3b8 !important;
    margin: 0.5rem 0;
    font-size: 0.85rem;
}

/* Ajuste responsive para móvil */
@media (max-width: 768px) {
    footer {
        text-align: center;
    }
    footer ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ── Hero con ola: imagen base + shader vivo encima ── */
.hero-shader {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(12,19,36,.35) 0%, rgba(15,15,15,.95) 100%),
    url('../images/hero-obsidian.png') center/cover no-repeat #0c1324;
}
.hero-shader canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  opacity: .7;
  mix-blend-mode: screen;
}
.hero-shader > .hero-content { position: relative; z-index: 2; }
.hero-shader::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, #0f0f0f);
  pointer-events: none; z-index: 1;
}
.hero-shader {
  background-size: auto, 130%;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { background-position: 0% 0%, 20% 45%; }
  to   { background-position: 0% 0%, 80% 55%; }
}
/* ═══════════════════════════════════════════════════════════════
   FOOTER ARKIAOS - Versión compacta
   ═══════════════════════════════════════════════════════════════ */

.footer-arkia {
    background: #0f0f0f;
    padding: 2rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-columns {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-column h3 {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #2dd4bf;
}

.facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Logo más pequeño */
.footer-center {
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin: 0 auto 0.75rem;
    display: block;
    opacity: 0.5;
    filter: grayscale(100%);
}

.footer-tagline {
    color: #94a3b8;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.65rem;
    margin: 0;
}

/* Copyright compacto */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0.3rem 0;
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-arkia {
        padding: 1.5rem 1rem 1rem;
    }
}