:root {
    --primary-color: #1a365d; /* Azul corporativo oscuro */
    --secondary-color: #38a169; /* Verde acento para CTAs y confianza */
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

.bg-primary { background-color: var(--primary-color); }
.text-primary { color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.text-secondary { color: var(--secondary-color); }

.btn-primary {
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #2f855a;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* Estilos específicos para el contenido del blog (post-detalle.html / WordPress) */
.post-content h2, .post-content h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.post-content h2 { 
    font-size: 1.875rem; /* 3xl */ 
    border-bottom: 2px solid #ddd; 
    padding-bottom: 0.5rem; 
}
.post-content h3 { font-size: 1.5rem; /* 2xl */ }
.post-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: #4a5568; /* gray-700 */
}
.post-content ul, .post-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.post-content ul { list-style-type: disc; }
.post-content ol { list-style-type: decimal; }
.post-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: #f7fafc; /* gray-100 */
    font-style: italic;
    color: #2d3748; /* gray-800 */
}

/* --- Estilos para la Barra de Aceptación de Cookies --- */
#cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.5s ease-out;
}

#cookie-bar.show {
    transform: translateY(0);
}

#cookie-bar p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    max-width: 700px;
}

#cookie-bar a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
}

#cookie-bar-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

#cookie-bar-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#accept-cookies {
    background-color: var(--secondary-color); /* Green */
    color: white;
}

#accept-cookies:hover {
    background-color: #2f855a;
}

#reject-cookies {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

#reject-cookies:hover {
    background-color: #f0f0f0;
}

/* Responsive adjustments para dispositivos pequeños */
@media (max-width: 768px) {
    #cookie-bar {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    #cookie-bar p {
        margin-bottom: 1rem;
    }
    #cookie-bar-buttons {
        width: 100%;
        justify-content: center;
    }
    #cookie-bar-buttons button {
        flex-grow: 1;
    }
}

/* Fix para los botones del hero en pantallas pequeñas */
@media (max-width: 640px) {
    .mt-8.space-x-4 {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }

    .mt-8.space-x-4 a {
        width: 100%;
        text-align: center;
    }
	/* Transición suave del menú móvil */
#mobileMenu {
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0; /* Inicialmente invisible */
}

/* Cuando está abierto */
#mobileMenu.translate-x-0 {
    opacity: 1;
}

/* Overlay con transición de opacidad */
#overlayMenu {
    transition: opacity 0.3s ease;
    opacity: 0;
}

#overlayMenu:not(.hidden) {
    opacity: 1;
}

}

