/*
Theme Name: International Network Advisors Custom
Theme URI: https://international-network-advisors.com/
Description: Theme de alta gama con estilo "Quiet Luxury" para consultoría ejecutiva global.
Version: 1.0.0
Author: INA
*/

/* ==========================================================================
   1. RESET E INYECCIÓN TIPOGRÁFICA INSTITUTIONAL
   ========================================================================== */
body {
    background-color: #ffffff !important;
    color: #0f172a !important; /* Negro asfalto profundo, más elegante que el negro puro */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Tipografía Serif para títulos editoriales */
h1, h2, h3, .font-serif {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 400;
    line-height: 1.2;
    color: #0f172a;
}

/* ==========================================================================
   2. ESTRUCTURA Y CONTENEDORES DE ALTA GAMA (GRID SYSTEM)
   ========================================================================== */
.max-w-6xl {
    max-width: 1200px !important;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.max-w-4xl {
    max-width: 850px !important;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

/* Líneas de utilidad sutiles (1px) para separar secciones sin cargar el diseño */
.border-b-thin {
    border-bottom: 1px solid #f1f5f9;
}

.border-t-thin {
    border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   3. CABECERA Y MENÚ SUPERIOR HORIZONTAL (Estilo Node.js)
   ========================================================================== */
header {
    border-bottom: 1px solid #f1f5f9 !important; /* Línea divisoria quirúrgica solicitada */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px); /* Efecto difuminado moderno al hacer scroll */
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Contenedor de la barra de navegación */
.executive-nav {
    display: flex;
    align-items: center;
}

/* Lista del menú nativo de WordPress */
.nav-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 3rem; /* Espaciado generoso entre cada opción */
}

.nav-menu-list li {
    display: inline-block;
}

/* Enlaces del Menú */
.nav-menu-list li a {
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    color: #64748b !important; /* Gris sobrio por defecto */
    text-decoration: none !important;
    padding: 0.6rem 0;
    transition: color 0.3s ease;
    position: relative;
}

/* Hover: Pasa a negro puro de forma suave */
.nav-menu-list li a:hover {
    color: #0f172a !important;
}

/* Línea minimalista inferior animada en el hover */
.nav-menu-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #0f172a;
    transition: width 0.3s ease;
}

.nav-menu-list li a:hover::after {
    width: 100%;
}

/* Estilos específicos para corregir la jerarquía interna que genera WordPress en los ul */
.nav-menu-list ul {
    display: none; /* Oculta submenús si los hubiera, manteniendo la línea limpia */
}

/* ==========================================================================
   4. DETALLES DE LA BARRA LATERAL (SIDEBAR) Y COMPORTAMIENTO
   ========================================================================== */
aside {
    animation: fadeInSidebar 1s ease-out;
}

aside h2 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 500 !important;
}

/* ==========================================================================
   5. EFECTOS CINE Y TRANSICIONES EDITORIALES (FADE IN)
   ========================================================================== */
main {
    animation: fadeInContent 1.2s ease-out;
}

@keyframes fadeInContent {
    from { 
        opacity: 0; 
        transform: translateY(12px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeInSidebar {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

/* Ajustes limpios para los campos de entrada de datos (Contacto) */
input:focus, textarea:focus {
    border-color: #0f172a !important;
}
/* ==========================================================================
   AJUSTES ESPECÍFICOS PARA EL SIDEBAR AZUL CORPORATIVO
   ========================================================================== */
aside h2 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 400 !important;
    color: #ffffff !important; /* Fuerza el color blanco en el título */
}

aside span, aside div {
    color: #94a3b8 !important; /* Color gris azulado suave para subtítulos y HQ */
}
/* Efecto de resalte para los recuadros del formulario de contacto */
input[type="text"]:focus, 
input[type="email"]:focus, 
textarea:focus {
    border-color: #0f172a !important; /* El borde se oscurece con elegancia */
    background-color: #fcfcfc !important; /* Cambio sutil de fondo */
}