/*
Theme Name: Edwin Reynoso Theme
Theme URI: https://edwinreynoso.com
Author: Edwin Reynoso
Author URI: https://edwinreynoso.com
Description: Tema personalizado para Edwin Reynoso - Transformación Digital Regulatoria y Gobierno TIC.
Version: 1.0
Text Domain: edwinreynoso
*/

/* ==========================================================================
   A partir de aquí, es tu CSS optimizado
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --primary-dark: #131337;
    --primary-blue: #0197FF;
    --secondary-light: #BAD0DE;
    --blue-darker: #0077CC;
    --blue-lighter: #E6F4FF;
    --gray-dark: #2A2A3E;
    --gray-medium: #6B7280;
    --gray-light: #E5E7EB;
    --gray-bg: #F9FAFB;
    --white: #FFFFFF;
    --green: #10B981;
    --orange: #F59E0B;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

input, button, textarea, select { font-family: inherit; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--primary-dark); }
h1 { font-size: 52px; margin-bottom: 24px; }
h2 { font-size: 36px; margin-bottom: 20px; }
h3 { font-size: 28px; margin-bottom: 16px; }
h4 { font-size: 20px; margin-bottom: 12px; }
p { font-size: 16px; line-height: 26px; margin-bottom: 16px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Fondos principales */
.hero, .cta-final, .blog-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a1a4d 50%, var(--primary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before, .cta-final::before, .blog-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: repeating-linear-gradient(90deg, rgba(1, 151, 255, 0.05) 0px, transparent 1px, transparent 40px, rgba(1, 151, 255, 0.05) 41px), repeating-linear-gradient(0deg, rgba(1, 151, 255, 0.05) 0px, transparent 1px, transparent 40px, rgba(1, 151, 255, 0.05) 41px);
    opacity: 0.3;
}

/* Header & Footer */
.header { background: rgba(19, 19, 55, 0.98); padding: 20px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); backdrop-filter: blur(10px); }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 40px; height: 40px; background: var(--primary-blue); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: white; letter-spacing: -2px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 18px; font-weight: 800; color: white; letter-spacing: 0.5px; }
.logo-tagline { font-size: 11px; font-weight: 500; color: var(--secondary-light); letter-spacing: 0.3px; }
.nav-menu { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-menu a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-weight: 500; font-size: 14px; transition: color 0.3s ease; position: relative; }
.nav-menu a:hover { color: var(--primary-blue); }
.nav-menu a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary-blue); transition: width 0.3s ease; }
.nav-menu a:hover::after { width: 100%; }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; color: white; cursor: pointer; }

.footer { background: var(--primary-dark); color: white; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon { width: 48px; height: 48px; background: var(--primary-blue); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; color: white; letter-spacing: -2px; }
.footer-logo-text { font-size: 20px; font-weight: 800; color: white; }
.footer-brand p { color: var(--secondary-light); font-size: 14px; line-height: 1.6; }
.footer-section h4 { color: white; margin-bottom: 20px; font-size: 16px; font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--secondary-light); text-decoration: none; font-size: 14px; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--primary-blue); }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; background: rgba(1, 151, 255, 0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; transition: all 0.3s ease; font-weight: 600; }
.footer-social a:hover { background: var(--primary-blue); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(1, 151, 255, 0.2); padding-top: 24px; text-align: center; }
.footer-bottom p { color: var(--secondary-light); font-size: 13px; margin: 0; }

/* Botones */
.btn, .btn-cta-primary, .btn-cta-secondary { border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; transition: all 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; }
.btn { padding: 16px 32px; }
.btn-nav { background: var(--primary-blue); color: white !important; padding: 10px 24px; border-radius: 8px; font-weight: 600; transition: all 0.3s ease; }
.btn-nav:hover { background: var(--blue-darker); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(1, 151, 255, 0.3); }
.btn-nav::after { display: none; }
.btn-primary { background: var(--primary-blue); color: white; }
.btn-primary:hover { background: var(--blue-darker); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(1, 151, 255, 0.4); }
.btn-secondary { background: transparent; color: white; border: 2px solid rgba(255, 255, 255, 0.4); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: white; }
.btn-cta-primary { padding: 14px 32px; background: var(--primary-blue); color: white; font-weight: 700; font-size: 16px; }
.btn-cta-primary:hover { background: var(--blue-darker); transform: translateY(-2px); }
.btn-cta-secondary { padding: 14px 32px; background: white; color: var(--primary-blue); border: 2px solid var(--primary-blue); font-weight: 700; font-size: 16px; }
.btn-cta-secondary:hover { background: var(--blue-lighter); }

/* Animaciones y Utilidades */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.fade-in { animation: fadeIn 0.6s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Home Específico */
.hero { padding: 120px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { color: white; font-size: 56px; line-height: 1.1; margin-bottom: 24px; animation: fadeInUp 0.6s ease; font-weight: 800; }
.hero-text h2 { color: white; font-size: 28px; font-weight: 700; margin-bottom: 28px; opacity: 0.95; animation: fadeInUp 0.6s ease 0.2s backwards; line-height: 1.3; }
.hero-subtitle { font-size: 17px; line-height: 30px; color: var(--secondary-light); opacity: 0.95; margin-bottom: 32px; animation: fadeInUp 0.6s ease 0.4s backwards; }
.hero-features { list-style: none; margin-bottom: 40px; animation: fadeInUp 0.6s ease 0.6s backwards; }
.hero-features li { padding: 10px 0; display: flex; align-items: start; font-size: 15px; color: white; line-height: 1.6; }
.hero-features li::before { content: "✓"; color: var(--primary-blue); font-weight: bold; margin-right: 12px; font-size: 20px; flex-shrink: 0; margin-top: -2px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.6s ease 0.8s backwards; }
.hero-image { width: 100%; max-width: 380px; aspect-ratio: 1; border-radius: 20px; border: 4px solid rgba(1, 151, 255, 0.3); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); background: linear-gradient(135deg, rgba(19, 19, 55, 0.8) 0%, rgba(1, 151, 255, 0.2) 100%); display: flex; align-items: center; justify-content: center; color: var(--secondary-light); font-size: 16px; font-weight: 600; margin: 0 auto; transition: transform 0.3s ease; position: relative; overflow: hidden; }
.social-links { display: flex; gap: 12px; justify-content: center; margin-top: 32px; }
.social-link { width: 44px; height: 44px; border-radius: 10px; background: rgba(1, 151, 255, 0.15); display: flex; align-items: center; justify-content: center; color: white; text-decoration: none; font-size: 18px; font-weight: 600; transition: all 0.3s ease; backdrop-filter: blur(10px); border: 1px solid rgba(1, 151, 255, 0.2); }
.social-link:hover { background: var(--primary-blue); transform: translateY(-4px); }

.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 16px; font-size: 40px; font-weight: 800; }
.section-header p { font-size: 17px; color: var(--gray-medium); line-height: 1.7; }
.stats-bar { background: var(--gray-bg); padding: 50px 0; border-bottom: 1px solid var(--gray-light); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-item { text-align: center; padding: 32px 24px; background: white; border-radius: 16px; transition: transform 0.3s ease; border: 2px solid transparent; }
.stat-item:hover { transform: translateY(-8px); box-shadow: 0 12px 32px rgba(19, 19, 55, 0.1); border-color: var(--primary-blue); }
.stat-number { font-size: 48px; font-weight: 800; color: var(--primary-blue); margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--gray-medium); line-height: 1.5; text-transform: uppercase; font-weight: 600; }

.quien-soy, .proceso { background: white; }
.expertise { background: linear-gradient(180deg, var(--gray-bg) 0%, var(--white) 100%); }
.journey-timeline, .timeline { max-width: 900px; margin: 0 auto; position: relative; }
.journey-item { display: grid; grid-template-columns: 140px 1fr; gap: 32px; margin-bottom: 40px; align-items: start; }
.journey-year { text-align: right; padding-top: 4px; }
.journey-year-label { font-size: 28px; font-weight: 800; color: var(--primary-blue); }
.journey-content { background: var(--gray-bg); padding: 28px; border-radius: 12px; border-left: 4px solid var(--primary-blue); }
.journey-content h4 { font-size: 18px; margin-bottom: 8px; color: var(--primary-dark); }
.journey-content .company { font-size: 15px; color: var(--primary-blue); font-weight: 600; margin-bottom: 12px; }
.divider { width: 100px; height: 4px; background: linear-gradient(90deg, var(--primary-blue), var(--secondary-light)); margin: 48px auto; border-radius: 2px; }
.mission-statement { text-align: center; font-size: 19px; line-height: 1.8; padding: 40px 48px; background: linear-gradient(135deg, var(--blue-lighter) 0%, var(--white) 100%); border-radius: 16px; border-left: 4px solid var(--primary-blue); max-width: 900px; margin: 0 auto; }
.expertise-grid { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 1000px; margin: 0 auto; }
.expertise-card { background: white; padding: 40px; border-radius: 16px; box-shadow: 0 4px 16px rgba(19, 19, 55, 0.08); transition: all 0.3s ease; border: 2px solid transparent; }
.expertise-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(19, 19, 55, 0.12); border-color: var(--primary-blue); }
.expertise-card-header { display: flex; align-items: start; gap: 20px; margin-bottom: 24px; }
.expertise-card-icon { font-size: 48px; flex-shrink: 0; }
.expertise-card h3 { color: var(--primary-dark); margin-bottom: 8px; font-size: 22px; }
.expertise-card .tagline { font-size: 15px; color: var(--gray-medium); font-style: italic; }
.expertise-list { list-style: none; margin-bottom: 24px; }
.expertise-list li { padding: 10px 0; padding-left: 28px; position: relative; font-size: 14px; }
.expertise-list li::before { content: "→"; position: absolute; left: 0; color: var(--primary-blue); font-weight: bold; }
.expertise-card .result { background: var(--blue-lighter); padding: 20px; border-radius: 12px; margin: 20px 0; border-left: 3px solid var(--primary-blue); font-size: 14px; }

.formacion { background: var(--primary-dark); color: white; }
.formacion .section-header h2 { color: white; }
.formacion .section-header p { color: var(--secondary-light); }
.education-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }
.education-card { background: rgba(255, 255, 255, 0.05); padding: 28px; border-radius: 12px; border: 1px solid rgba(1, 151, 255, 0.2); transition: all 0.3s ease; }
.education-card:hover { background: rgba(1, 151, 255, 0.1); border-color: var(--primary-blue); transform: translateY(-4px); }
.education-degree { font-size: 16px; font-weight: 700; color: var(--primary-blue); margin-bottom: 8px; }
.education-institution { font-size: 14px; color: var(--secondary-light); margin-bottom: 4px; }
.education-year { font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.certifications { background: rgba(1, 151, 255, 0.05); padding: 32px; border-radius: 12px; border: 1px solid rgba(1, 151, 255, 0.2); }
.certifications h3 { color: var(--primary-blue); text-align: center; margin-bottom: 24px; font-size: 20px; }
.cert-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-item { text-align: center; padding: 16px; background: rgba(255, 255, 255, 0.05); border-radius: 8px; font-size: 13px; color: white; font-weight: 600; }

.timeline::before { left: 50px; top: 80px; bottom: 80px; width: 3px; background: linear-gradient(180deg, var(--primary-blue), var(--secondary-light)); }
.timeline-item { padding-left: 120px; margin-bottom: 48px; }
.timeline-number { position: absolute; left: 0; width: 100px; height: 100px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-blue), var(--blue-darker)); color: white; display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800; z-index: 1; }
.timeline-content { background: white; padding: 32px; border-radius: 16px; box-shadow: 0 4px 16px rgba(19, 19, 55, 0.08); border-left: 4px solid var(--primary-blue); }
.timeline-deliverable { background: var(--blue-lighter); padding: 14px 18px; border-radius: 8px; font-size: 13px; color: var(--primary-dark); font-weight: 600; }

.cta-final { padding: 100px 0; }
.cta-content { max-width: 800px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-content h2 { color: white; font-size: 40px; font-weight: 800; margin-bottom: 24px; }
.cta-content p { color: var(--secondary-light); font-size: 17px; margin-bottom: 40px; }
.calendly-embed { background: white; padding: 60px 40px; border-radius: 20px; margin: 40px 0; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.calendly-placeholder { height: 600px; background: var(--gray-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; color: var(--gray-medium); border: 2px dashed var(--gray-light); }
.contact-list { list-style: none; display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.contact-list li { color: var(--secondary-light); font-size: 15px; display: flex; align-items: center; gap: 8px; }

/* Blog y Posts */
.blog-hero { padding: 80px 0 60px; }
.blog-hero-content { text-align: center; position: relative; z-index: 1; }
.blog-hero h1 { color: white; font-size: 48px; font-weight: 800; margin-bottom: 16px; }
.blog-hero p { color: var(--secondary-light); font-size: 18px; max-width: 700px; margin: 0 auto 32px; }

.category-tabs { background: white; border-bottom: 2px solid var(--gray-light); position: sticky; top: 80px; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.category-tabs-inner { display: flex; gap: 8px; overflow-x: auto; padding: 16px 0; }
.category-tab { padding: 10px 20px; background: transparent; border: 2px solid var(--gray-light); border-radius: 8px; color: var(--gray-dark); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; transition: all 0.3s ease; }
.category-tab:hover, .category-tab.active { border-color: var(--primary-blue); color: var(--primary-blue); }
.category-tab.active { background: var(--primary-blue); color: white; }

.blog-section { padding: 60px 0; background: var(--gray-bg); }
.blog-grid-layout { display: grid; grid-template-columns: 1fr 350px; gap: 48px; align-items: start; }

.featured-post { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(19,19,55,0.08); margin-bottom: 48px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.featured-post:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(19,19,55,0.12); }
.featured-badge { position: absolute; top: 20px; left: 20px; background: var(--primary-blue); color: white; padding: 6px 16px; border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; z-index: 10; }
.post-image { position: relative; width: 100%; height: 400px; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%); display: flex; align-items: center; justify-content: center; color: var(--secondary-light); font-size: 16px; font-weight: 600; overflow: hidden; }
.post-content { padding: 32px; }
.post-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.post-category { background: var(--blue-lighter); color: var(--primary-blue); padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.post-date, .post-reading-time { color: var(--gray-medium); font-size: 14px; display: flex; align-items: center; gap: 6px; }
.post-title { font-size: 32px; font-weight: 800; color: var(--primary-dark); margin-bottom: 16px; }
.post-excerpt { color: var(--gray-dark); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.post-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 2px solid var(--gray-light); }
.post-author, .post-author-full { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-blue); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 16px; }
.author-info, .author-details { display: flex; flex-direction: column; }
.author-name { font-weight: 700; color: var(--primary-dark); font-size: 14px; }
.author-role { font-size: 12px; color: var(--gray-medium); }

.blog-posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-bottom: 48px; }
.blog-post-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(19,19,55,0.06); transition: all 0.3s ease; display: flex; flex-direction: column; }
.blog-post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(19,19,55,0.12); }
.blog-post-card .post-image { height: 220px; }
.blog-post-card .post-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-post-card .post-title { font-size: 20px; margin-bottom: 12px; }
.blog-post-card .post-excerpt { font-size: 14px; margin-bottom: 16px; flex: 1; }

.blog-sidebar { position: sticky; top: 160px; }
.sidebar-widget { background: white; padding: 28px; border-radius: 12px; box-shadow: 0 2px 12px rgba(19,19,55,0.06); margin-bottom: 24px; }
.sidebar-widget h3 { font-size: 18px; margin-bottom: 20px; color: var(--primary-dark); font-weight: 700; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-form input { padding: 12px 16px; border: 2px solid var(--gray-light); border-radius: 8px; font-size: 14px; transition: border-color 0.3s ease; }
.newsletter-form input:focus { outline: none; border-color: var(--primary-blue); }
.newsletter-form button { padding: 12px 24px; background: var(--primary-blue); color: white; border: none; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.3s ease; }
.popular-post-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-light); }
.popular-post-item:last-child { border-bottom: none; }
.popular-post-number { width: 32px; height: 32px; background: var(--blue-lighter); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--primary-blue); font-size: 14px; flex-shrink: 0; }
.popular-post-title { font-size: 14px; font-weight: 600; color: var(--primary-dark); line-height: 1.4; margin-bottom: 4px; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.category-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--gray-bg); border-radius: 8px; text-decoration: none; transition: all 0.3s ease; }
.category-item:hover { background: var(--blue-lighter); }
.category-name { font-size: 14px; font-weight: 600; color: var(--primary-dark); }
.category-count { font-size: 12px; color: var(--gray-medium); background: white; padding: 2px 8px; border-radius: 12px; }
.tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 12px; background: var(--gray-bg); border-radius: 6px; text-decoration: none; font-size: 12px; font-weight: 600; color: var(--gray-dark); transition: all 0.3s ease; }
.tag:hover { background: var(--primary-blue); color: white; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination-btn { width: 44px; height: 44px; border-radius: 8px; background: white; border: 2px solid var(--gray-light); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--gray-dark); text-decoration: none; transition: all 0.3s ease; }
.pagination-btn:hover, .pagination-btn.active { border-color: var(--primary-blue); color: var(--primary-blue); }
.pagination-btn.active { background: var(--primary-blue); color: white; }

.post-header { background: var(--gray-bg); padding: 60px 0 40px; border-bottom: 1px solid var(--gray-light); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 24px; color: var(--gray-medium); }
.breadcrumb a { color: var(--primary-blue); text-decoration: none; }
.post-header-content { max-width: 900px; margin: 0 auto; }
.post-category-badge { display: inline-block; background: var(--primary-blue); color: white; padding: 6px 16px; border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
.post-title-main { font-size: 48px; font-weight: 800; color: var(--primary-dark); line-height: 1.1; margin-bottom: 20px; }
.post-meta-bar { display: flex; align-items: center; gap: 24px; padding: 20px 0; border-top: 2px solid var(--gray-light); border-bottom: 2px solid var(--gray-light); flex-wrap: wrap; }
.author-avatar-large { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-blue); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 18px; }
.author-name-full { font-weight: 700; color: var(--primary-dark); font-size: 15px; }
.author-role-full { font-size: 13px; color: var(--gray-medium); }
.share-bar { background: white; padding: 16px 0; border-bottom: 1px solid var(--gray-light); position: sticky; top: 80px; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.share-bar-inner { display: flex; justify-content: space-between; align-items: center; max-width: 900px; margin: 0 auto; }
.share-buttons { display: flex; gap: 12px; }
.share-btn { padding: 8px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 13px; transition: all 0.3s ease; display: flex; align-items: center; gap: 6px; border: 2px solid; }
.share-btn-linkedin { background: #0077B5; border-color: #0077B5; color: white; }
.share-btn-twitter { background: #1DA1F2; border-color: #1DA1F2; color: white; }
.share-btn-copy { background: white; border-color: var(--gray-light); color: var(--gray-dark); }
.share-btn-linkedin:hover { background: #006399; transform: translateY(-2px); }
.share-btn-twitter:hover { background: #1a91da; transform: translateY(-2px); }
.share-btn-copy:hover { border-color: var(--primary-blue); color: var(--primary-blue); }

.post-body { padding: 60px 0; }
.post-body-layout { display: grid; grid-template-columns: 900px 1fr; gap: 60px; max-width: 1400px; margin: 0 auto; }
.post-content-main h2 { font-size: 32px; margin: 48px 0 20px; color: var(--primary-dark); font-weight: 700; }
.post-content-main h3 { font-size: 24px; margin: 36px 0 16px; color: var(--primary-dark); font-weight: 700; }
.post-content-main p { margin-bottom: 20px; font-size: 17px; line-height: 1.8; }
.post-content-main ul { margin: 20px 0 20px 24px; }
.post-content-main li { margin-bottom: 12px; font-size: 17px; line-height: 1.7; }
.post-content-main strong { color: var(--primary-dark); font-weight: 700; }
.post-content-main a { color: var(--primary-blue); text-decoration: underline; }
.post-content-main a:hover { color: var(--blue-darker); }
.post-content-main a.btn-cta-primary, .post-content-main a.btn-cta-secondary { text-decoration: none !important; }
.post-content-main a.btn-cta-primary { color: white !important; }

/* Cajas y Elementos Especiales (Shortcodes) */
.toc-box { background: var(--blue-lighter); border-left: 4px solid var(--primary-blue); padding: 28px; border-radius: 12px; margin: 40px 0; }
.info-box { padding: 24px; border-radius: 12px; margin: 32px 0; border-left: 4px solid; }
.info-box-tip { background: #ECFDF5; border-color: var(--green); }
.info-box-warning { background: #FEF3C7; border-color: var(--orange); }
.info-box-note { background: var(--blue-lighter); border-color: var(--primary-blue); }
.info-box strong { display: block; margin-bottom: 8px; font-size: 16px; }
.code-block { background: #1E293B; color: #E2E8F0; padding: 24px; border-radius: 12px; margin: 24px 0; overflow-x: auto; font-family: 'Courier New', monospace; font-size: 14px; line-height: 1.6; }
.download-box { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%); color: white; padding: 32px; border-radius: 16px; margin: 40px 0; text-align: center; }
.download-box h3 { color: white; font-size: 24px; margin-bottom: 12px; }
.download-box p { color: rgba(255,255,255,0.9); margin-bottom: 24px; }
.download-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; background: white; color: var(--primary-blue); border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 16px; transition: all 0.3s ease; }
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.video-section { background: var(--gray-bg); padding: 32px; border-radius: 16px; margin: 40px 0; }
.video-intro { text-align: center; margin-bottom: 24px; }
.video-intro h3 { font-size: 20px; margin-bottom: 8px; color: var(--primary-dark); }
.video-intro p { font-size: 15px; color: var(--gray-medium); }

.author-bio-box { background: var(--gray-bg); padding: 32px; border-radius: 16px; margin: 48px 0; display: flex; gap: 24px; align-items: start; }
.author-bio-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--primary-blue); display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 32px; flex-shrink: 0; }
.author-bio-content h4 { font-size: 20px; margin-bottom: 8px; }
.author-bio-role { color: var(--gray-medium); font-size: 14px; margin-bottom: 16px; }
.post-end-cta { background: var(--gray-bg); padding: 48px; border-radius: 16px; margin: 60px 0 40px; text-align: center; }
.post-end-cta h3 { font-size: 28px; margin-bottom: 16px; color: var(--primary-dark); }
.post-end-cta p { font-size: 17px; color: var(--gray-medium); margin-bottom: 24px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.related-posts { margin: 60px 0; }
.related-posts h3 { font-size: 28px; margin-bottom: 32px; text-align: center; color: var(--primary-dark); }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-post-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(19,19,55,0.06); transition: all 0.3s ease; text-decoration: none; display: block; }
.related-post-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(19,19,55,0.12); }
.related-post-image { width: 100%; height: 180px; background: linear-gradient(135deg, var(--primary-dark), var(--primary-blue)); display: flex; align-items: center; justify-content: center; color: var(--secondary-light); font-size: 14px; }
.related-post-content { padding: 20px; }
.related-post-category { font-size: 11px; color: var(--primary-blue); font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.related-post-title { font-size: 16px; font-weight: 700; color: var(--primary-dark); line-height: 1.4; }

/* Tabla de Contenidos (TOC) Generada por WordPress si usas un plugin o manual */
.sidebar-toc-list { list-style: none; }
.sidebar-toc-list li { margin-bottom: 10px; }
.sidebar-toc-list a { color: var(--gray-dark); text-decoration: none; font-size: 14px; transition: color 0.3s ease; display: block; padding: 6px 12px; border-radius: 6px; }
.sidebar-toc-list a:hover, .sidebar-toc-list a.active { background: var(--blue-lighter); color: var(--primary-blue); }

/* Responsive General */
@media (max-width: 968px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    .hero-text h1 { font-size: 38px; }
    .hero-text h2 { font-size: 22px; }
    .blog-hero h1 { font-size: 32px; }
    .post-title-main { font-size: 32px; }
    .mobile-toggle { display: block; }
    .nav-menu { display: none; }

    .hero-grid, .journey-item, .education-grid, .cert-list, .footer-grid, 
    .blog-grid-layout, .blog-posts-grid, .post-body-layout { grid-template-columns: 1fr; }
    .hero-grid { gap: 40px; }
    .journey-item { gap: 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-grid { gap: 32px; }

    .journey-year { text-align: left; }
    .timeline::before { left: 30px; }
    .timeline-item { padding-left: 90px; }
    .timeline-number { width: 70px; height: 70px; font-size: 28px; }
    .blog-sidebar, .post-sidebar { position: static; }
    .category-tabs-inner { justify-content: flex-start; }
    .featured-post .post-image { height: 250px; }
}

@media (max-width: 768px) {
    .related-posts-grid { grid-template-columns: 1fr; }
    .share-bar-inner { flex-direction: column; gap: 16px; }
}
