/* ============================================
   IMS Breve - Estilos Compartidos
   ============================================ */

/* Variables */
:root {
    --verde-breve: #00ab71;
    --verde-oscuro: #008a5c;
    --verde-claro: #00c984;
    --crema-breve: #faccad;
    --negro-breve: #3d3d3d;
    --gris-breve: #d6d6d6;
    --white: #ffffff;
    --gray-100: #f9f9f9;
    --gray-200: #d6d6d6;
    --gray-600: #6d6d6d;
    --gray-800: #3d3d3d;
}

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

body {
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--verde-claro);
    color: white;
}

/* ============================================
   Navegacion
   ============================================ */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.back-link {
    color: var(--verde-breve);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    text-decoration: underline;
}

/* ============================================
   Layout de Articulos
   ============================================ */

.article-header {
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-header h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 1rem;
    line-height: 1.3;
    position: relative;
}

.article-meta {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    position: relative;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--gray-800);
}

.article-content h2 {
    color: var(--negro-breve);
    font-size: 1.75rem;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--verde-breve);
}

.article-content h2:first-of-type {
    margin-top: 0;
}

.article-content h3 {
    color: var(--verde-breve);
    font-size: 1.35rem;
    margin: 2rem 0 1rem;
}

.article-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.highlight-box {
    background: var(--gray-100);
    border-left: 4px solid var(--verde-breve);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.highlight-box p {
    margin: 0;
    font-style: italic;
    color: var(--gray-600);
}

/* ============================================
   CTA de Articulos
   ============================================ */

.article-cta {
    background: linear-gradient(135deg, var(--verde-breve), var(--negro-breve));
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 4rem;
}

.article-cta h2 {
    color: white;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
    font-size: 2rem;
}

.article-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: white;
    color: var(--verde-breve);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ============================================
   Footer (Articulos)
   ============================================ */

.article-footer {
    background: var(--negro-breve);
    color: rgba(255,255,255,0.7);
    padding: 2rem;
    text-align: center;
}

.article-footer a {
    color: var(--verde-claro);
    text-decoration: none;
}

/* ============================================
   Responsive (Articulos)
   ============================================ */

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.75rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content {
        padding: 2rem 1.5rem;
    }
}
