/* HERO 2026 */
.year-hero {
    height: 70vh;
    background: linear-gradient(to right, #8b1c1c, #b02424);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
}

.year-hero-overlay {
    /* Ya no lo necesitamos, pero lo dejamos por si acaso */
    display: none;
}

.year-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.year-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.year-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.year-verse {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background-color: white;
    color: #b02424;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background-color: #f5f5f5;
}

/* CARTA DE BIENVENIDA */
.welcome-section {
    background-color: white;
    padding: 5rem 2rem;
}

.welcome-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.welcome-container-2026 {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.welcome-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.welcome-icon-2026 {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem auto;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border: 4px solid #b02424;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.welcome-icon-2026:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(176, 36, 36, 0.25);
    border-color: #8b1c1c;
}

.welcome-icon-2026 i {
    font-size: 3rem;
    color: #b02424;
    transition: color 0.3s ease;
}

.welcome-icon-2026:hover i {
    color: #8b1c1c;
}

.welcome-text {
    background-color: #fef9f5;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid #b02424;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.welcome-text-justified {
    background-color: #fef9f5;
    padding: 3rem;
    border-radius: 12px;
    border-left: 4px solid #b02424;
    text-align: justify;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.welcome-text-justified p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

.welcome-text-justified p:last-child {
    margin-bottom: 0;
}

.welcome-text-justified .subtitle-red {
    color: #b02424;
    font-weight: 700;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    text-align: left;
}

.welcome-text-justified .signature {
    text-align: right;
    font-style: italic;
    font-size: 1.15rem;
    margin-top: 2rem;
    color: #666;
}

.welcome-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.welcome-text p:last-child {
    margin-bottom: 0;
}

/* INTENCIONES MENSUALES */
.intentions-section {
    background: linear-gradient(to bottom, #f5f5f5, white);
    padding: 5rem 2rem;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: -1rem auto 3rem auto;
}

.intentions-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.intention-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #b02424;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.intention-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(176, 36, 36, 0.15);
}

.intention-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f5f5f5;
}

.intention-month {
    font-size: 1.3rem;
    font-weight: 700;
    color: #b02424;
}

.intention-theme {
    font-size: 0.9rem;
    background-color: #fef9f5;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    color: #666;
    font-weight: 600;
    border: 1px solid #e8ddd0;
}

.intention-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1rem;
    flex: 1;
}

.intention-ref {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    margin-top: auto;
}

/* SECCIONES ESPECIALES CON TABS */
.special-sections {
    background-color: #f5f5f5;
    padding: 5rem 2rem;
}

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

.tabs-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-button {
    background-color: white;
    border: 2px solid #e0e0e0;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-button:hover {
    border-color: #b02424;
    color: #b02424;
}

.tab-button.active {
    background-color: #b02424;
    color: white;
    border-color: #b02424;
}

.tab-content {
    display: none;
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-title {
    font-size: 2rem;
    color: #b02424;
    margin-bottom: 1rem;
    text-align: center;
}

.tab-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* PEREGRINOS SANTOS */
.saints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.saint-card {
    background-color: #fef9f5;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #b02424;
    transition: transform 0.3s ease;
}

.saint-card:hover {
    transform: translateX(5px);
}

.saint-month {
    font-size: 0.9rem;
    color: #b02424;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.saint-name {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.saint-dates {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.saint-feast {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

/* SALMOS */
.psalms-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.psalm-item {
    display: flex;
    gap: 2rem;
    background-color: #fef9f5;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #b02424;
    transition: transform 0.3s ease;
}

.psalm-item:hover {
    transform: translateX(5px);
}

.psalm-month {
    font-size: 1.1rem;
    font-weight: 700;
    color: #b02424;
    min-width: 100px;
}

.psalm-info {
    flex: 1;
}

.psalm-number {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.3rem;
}

.psalm-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.psalm-verse {
    font-size: 1rem;
    color: #555;
    font-style: italic;
}

/* NOTAS AL PIE */
.notes-content {
    max-width: 800px;
    margin: 0 auto;
}

.notes-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    
}

.notes-list {
    list-style: none;
    padding-left: 0;
    margin: 2rem 0;
}

.notes-list li {
    padding: 1rem 1.5rem;
    background-color: #fef9f5;
    border-left: 4px solid #b02424;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.notes-quote {
    background-color: #fef9f5;
    border-left: 4px solid #b02424;
    padding: 2rem;
    margin: 2rem 0;
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    line-height: 1.7;
}

.notes-signature {
    text-align: right;
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin-top: 2rem;
}

/* RECURSOS ADICIONALES */
/* RECURSOS ADICIONALES */
.resources-section {
    background-color: white;
    padding: 5rem 2rem;
}

.resources-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.resource-card-image {
    position: relative;
    display: block;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(176, 36, 36, 0.3);
}

.resource-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.resource-card-image:hover .resource-img {
    transform: scale(1.08);
}

.resource-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(176, 36, 36, 0.95), transparent);
    padding: 2rem;
    color: white;
    transition: background 0.3s ease;
}

.resource-card-image:hover .resource-overlay {
    background: linear-gradient(to top, rgba(139, 28, 28, 0.98), rgba(176, 36, 36, 0.7));
}

.resource-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.resource-overlay p {
    font-size: 1rem;
    opacity: 0.95;
    color: white;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .year-hero {
        height: auto;
        min-height: 60vh;
        padding: 3rem 0;
    }

    .year-hero-content {
        padding: 2rem 1.5rem 3rem 1.5rem;
    }

    .year-title {
        font-size: 2.5rem;
    }

    .year-verse {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }

    .download-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .welcome-section {
        padding: 3rem 1.5rem;
    }

    .welcome-icon-2026 {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }

    .welcome-icon-2026 i {
        font-size: 2.5rem;
    }

    .welcome-text {
        padding: 1.5rem;
    }

    .welcome-text p {
        font-size: 1rem;
    }

    .welcome-text-justified {
        padding: 2rem;
    }
    
    .intentions-section {
        padding: 3rem 1.5rem;
    }
    
    .intentions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .special-sections {
        padding: 3rem 1rem;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
        justify-content: center;
    }
    
    .tab-content {
        padding: 2rem 1.5rem;
    }
    
    .tab-title {
        font-size: 1.6rem;
    }
    
    .saints-grid {
        grid-template-columns: 1fr;
    }
    
    .psalm-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .psalm-month {
        min-width: auto;
    }
    
    .resources-section {
    padding: 3rem 1.5rem;
    }

    .resources-grid {
    grid-template-columns: 1fr;
    }

    .resource-card-image {
    height: 350px;
    }
}