/*
Theme Name: Protocolo Beck Base
Theme URI: https://protocolobeck.com
Author: Protocolo Beck
Author URI: https://protocolobeck.com
Description: Tema oscuro con neumorfismo y colores naranja/verde, diseñado para el Protocolo Beck. Ideal para blogs y páginas de salud.
Version: 1.0.1
License: GPL v2 or later
Text Domain: protocolobeck
*/

:root {
    --naranja: #f08c00;
    --naranja-claro: #ffb347;
    --naranja-oscuro: #cc7700;
    --verde: #4ecf4e;
    --verde-claro: #6fdf6f;
    --bg-dark: #0a0f1a;
    --bg-card: #0e1a2b;
    --border-card: #2a3020;
    --texto-claro: #e3ecff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: var(--texto-claro);
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.5;
}

h1, h2, h3, .logo, .btn {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Neumorfismo */
.neumorph {
    background: rgba(18, 25, 40, 0.7);
    backdrop-filter: blur(2px);
    border-radius: 32px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.4), -4px -4px 12px rgba(60, 80, 120, 0.1);
    border: 1px solid rgba(240, 140, 0, 0.15);
    transition: all 0.25s ease;
    padding: 30px;
    margin: 30px 0;
}

.neumorph:hover {
    border-color: rgba(240, 140, 0, 0.4);
    box-shadow: 12px 12px 20px rgba(0, 0, 0, 0.5), -2px -2px 8px rgba(240, 140, 0, 0.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--naranja);
    color: #0a0f1a;
}

.btn-primary:hover {
    background: var(--naranja-claro);
    transform: translateY(-3px);
}

a {
    color: var(--naranja);
    text-decoration: none;
}

a:hover {
    color: var(--naranja-claro);
}

/* Navegación */
.navbar {
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(240, 140, 0, 0.2);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f08c00, #ffb347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.logo i {
    color: var(--naranja);
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: #c0d0e5;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 40px;
    transition: 0.2s;
    font-size: 0.9rem;
}

.nav-links a:hover {
    background: rgba(240, 140, 0, 0.15);
    color: var(--naranja);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
}

@media (max-width: 780px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        margin-top: 20px;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        text-align: center;
        padding: 12px;
    }
}

/* Footer */
.footer-main {
    background: #050a12;
    padding: 40px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #7e8fa8;
    margin-top: 60px;
}

/* Utilidades */
.entry-content {
    line-height: 1.7;
}
.entry-content p {
    margin-bottom: 1.2em;
}
.entry-content h2, .entry-content h3 {
    color: var(--naranja);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}