/* ESTILOS ESPECÍFICOS PARA LAS PÁGINAS DE BLOG */

/* ===========================
   BLOG STYLES - MODERN VERSION
   =========================== */

/* Modern Blog Hero Section */
.blog-hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height); /* Para que el header no lo tape */
}

.blog-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
    color: var(--light-text);
}

.blog-breadcrumb a {
    color: var(--light-text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-breadcrumb a:hover {
    opacity: 0.8;
}

.blog-breadcrumb i {
    margin: 0 10px;
    font-size: 0.7rem;
}

.blog-hero-category {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.9;
    color: var(--book-card-green); /* Color por defecto */
}

.blog-hero-title {
    font-family: var(--font-family-primary);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: var(--light-text);
}

.blog-hero-subtitle-secondary {
    font-family: var(--font-family-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.blog-hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.4;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-text);
}

.blog-hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Impact Section */
.blog-impact-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.impact-header {
    text-align: center;
    margin-bottom: 80px;
}

.impact-header h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--light-text);
}

.impact-header p {
    font-size: 1.2rem;
    color: var(--medium-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.impact-visual {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.impact-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
}

.impact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.impact-visual:hover .impact-overlay {
    opacity: 1;
}

.impact-content .blog-lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--medium-text);
    margin-bottom: 40px;
    border-left: 4px solid var(--book-card-green); /* Color por defecto */
    padding-left: 25px;
}

.impact-highlights {
    display: grid;
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--light-text);
}

.highlight-item i {
    color: var(--book-card-green); /* Color por defecto */
    font-size: 1.2rem;
}

/* Method Section */
.blog-method-section {
    padding: 100px 0;
    background: var(--medium-bg);
}

.method-header {
    text-align: center;
    margin-bottom: 80px;
}

.method-header h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--light-text);
}

.method-header p {
    font-size: 1.2rem;
    color: var(--medium-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.method-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.method-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.method-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.method-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--card-bg);
    border-radius: 16px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.method-item:hover,
.method-item.active {
    border-left-color: var(--book-card-green);
    background: var(--dark-bg);
    transform: translateX(10px);
}

.method-number {
    background: var(--book-card-green);
    color: var(--light-text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.method-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--light-text);
}

.method-content p {
    color: var(--medium-text);
    line-height: 1.6;
    margin: 0;
}

/* Why Section */
.blog-why-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--light-text);
}

.why-text > p {
    font-size: 1.2rem;
    color: var(--medium-text);
    margin-bottom: 40px;
    line-height: 1.6;
}

.why-scenarios {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.scenario-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.scenario-item i {
    color: var(--book-card-green);
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.scenario-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--light-text);
}

.scenario-item p {
    color: var(--medium-text);
    margin: 0;
    line-height: 1.5;
}

.why-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

/* Final CTA Section */
.blog-final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--book-card-green), #2d6a2d);
    text-align: center;
}

.blog-final-cta h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--light-text);
}

.blog-final-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-text);
}

.btn-xl {
    padding: 25px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    background: white;
    color: var(--book-card-green);
    border: none;
    min-width: 300px;
}

.btn-xl:hover {
    background: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* --- Variantes de Color --- */

/* BLUE VARIANT */
.blog-hero-blue .blog-hero-category { color: var(--book-card-blue); }
.blog-lead-blue { border-left-color: var(--book-card-blue); }
.highlight-item-blue i { color: var(--book-card-blue); }
.play-button-blue { background: var(--book-card-blue); }
.scenario-item-blue i { color: var(--book-card-blue); }
.truth-quote {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0, 67, 156, 0.1);
    border-left: 4px solid var(--book-card-blue);
    border-radius: 12px;
}
.truth-quote blockquote { font-size: 1.2rem; font-style: italic; color: var(--light-text); margin: 0; line-height: 1.6; }
.blog-final-cta-blue { background: linear-gradient(135deg, var(--book-card-blue), #003075); }
.btn-blue-alt { background: white; color: var(--book-card-blue); }
.blog-back-link-blue:hover { background: var(--book-card-blue); border-color: var(--book-card-blue); }

/* ORANGE VARIANT */
.blog-hero-orange .blog-hero-category { color: var(--book-card-orange); }
.blog-lead-orange { border-left-color: var(--book-card-orange); }
.highlight-item-orange i { color: var(--book-card-orange); }
.play-button-orange { background: var(--book-card-orange); }
.scenario-item-orange i { color: var(--book-card-orange); }
.truth-quote-orange {
    margin-top: 40px;
    padding: 30px;
    background: rgba(217, 95, 32, 0.1);
    border-left: 4px solid var(--book-card-orange);
    border-radius: 12px;
}
.truth-quote-orange blockquote { font-size: 1.2rem; font-style: italic; color: var(--light-text); margin: 0; line-height: 1.6; }
.blog-final-cta-orange { background: linear-gradient(135deg, var(--book-card-orange), #b8441a); }
.btn-orange-alt { background: white; color: var(--book-card-orange); }
.blog-back-link-orange:hover { background: var(--book-card-orange); border-color: var(--book-card-orange); }

/* Blog Back Section */
.blog-back-section {
    background: var(--medium-bg);
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    color: var(--medium-text);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.blog-back-link:hover {
    background: var(--book-card-green); /* Color por defecto */
    color: var(--light-text);
    border-color: var(--book-card-green);
    transform: translateX(-8px);
    box-shadow: 0 8px 25px rgba(61, 139, 61, 0.3);
}

.blog-back-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.blog-back-link:hover i {
    transform: translateX(-3px);
}

/* ===========================
   BLOG RESPONSIVE STYLES
   =========================== */

@media (max-width: 768px) {
    .blog-hero-modern {
        min-height: 80vh;
    }
    .blog-hero-content {
        padding: 80px 20px;
    }
    .impact-grid, .method-grid, .why-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .method-grid .method-visual {
        order: -1; /* Pone la imagen arriba en móvil */
    }
    .why-content .why-visual {
        order: -1; /* Pone la imagen arriba en móvil */
    }
    .impact-image, .method-image, .why-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .blog-hero-modern {
        min-height: 70vh;
    }
    .blog-hero-title {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }
    .blog-hero-subtitle, .blog-hero-subtitle-secondary {
        font-size: clamp(1.1rem, 5vw, 1.4rem);
    }
    .impact-section, .blog-method-section, .blog-why-section, .blog-final-cta, .blog-back-section {
        padding: 60px 0;
    }
    .impact-header, .method-header {
        margin-bottom: 50px;
    }
    .impact-header h2, .method-header h2, .why-text h2, .blog-final-cta h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .btn-xl {
        padding: 20px 30px;
        font-size: 1.1rem;
        width: 100%;
    }
    .blog-hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .blog-hero-cta .btn {
        width: 90%;
        max-width: 300px;
        justify-content: center;
    }
}