/* ========== RESET BÁSICO ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    padding: 20px;
    color: #e0e0e0;
    position: relative;
}

/* ========== DECORACIÓN NAVIDEÑA ========== */
body::before {
    content: '❄️';
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

body::after {
    content: '⭐';
    position: fixed;
    top: 40px;
    right: 30px;
    font-size: 2.5rem;
    opacity: 0.4;
    animation: twinkle 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* ========== HERO / ENCABEZADO PRINCIPAL ========== */
.hero {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.3), 
        rgba(0, 100, 0, 0.2), 
        rgba(255, 215, 0, 0.15));
    border-radius: 20px;
    padding: 50px 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(184, 134, 11, 0.5);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '✨';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 2rem;
    opacity: 0.6;
}

.hero::after {
    content: '🕯️';
    position: absolute;
    bottom: 20px;
    right: 30px;
    font-size: 2rem;
    opacity: 0.6;
}

.titulo {
    color: #ffd700;
    text-align: center;
    font-size: 3rem;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(255, 215, 0, 0.5);
    margin-bottom: 15px;
    letter-spacing: 2px;
    font-weight: 700;
}

.subtitulo {
    color: #f0e68c;
    text-align: center;
    font-size: 1.4rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========== LÍNEAS DIVISORAS NAVIDEÑAS ========== */
hr {
    border: none;
    height: 3px;
    background: linear-gradient(to right, 
        transparent, 
        #8b0000, 
        #006400, 
        #ffd700, 
        #006400, 
        #8b0000, 
        transparent);
    margin: 40px auto;
    max-width: 1200px;
    opacity: 0.7;
    position: relative;
}

hr::before {
    content: '🌟';
    position: absolute;
    left: 50%;
    top: -15px;
    transform: translateX(-50%);
    font-size: 1.5rem;
}

/* ========== SECCIÓN INTRODUCCIÓN ========== */
.introduccion {
    max-width: 1000px;
    margin: 40px auto;
    position: relative;
}

.texto1 {
    color: #2d3748;
    font-size: 1.15rem;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
    text-align: justify;
    line-height: 1.9;
    padding: 40px 50px;
    background: linear-gradient(145deg, #ffffff, #fff8dc);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(139, 0, 0, 0.3);
    border-left: 5px solid #8b0000;
    border-right: 5px solid #006400;
    transition: all 0.3s ease;
    position: relative;
}

.texto1::before {
    content: '✞';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: #8b0000;
    opacity: 0.2;
}

.texto1:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(139, 0, 0, 0.4);
}

/* ========== PROCESO VOCACIONAL ========== */
.proceso-section {
    max-width: 900px;
    margin: 40px auto;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(255, 248, 220, 0.95));
    border-radius: 15px;
    padding: 40px 50px;
    box-shadow: 0 8px 30px rgba(0, 100, 0, 0.3);
    border: 3px solid rgba(139, 0, 0, 0.4);
    position: relative;
}

.proceso-section::before {
    content: '🎄';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
}

.proceso-titulo {
    color: #8b0000;
    font-size: 2rem;
    font-family: 'Trebuchet MS', sans-serif;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 3px double #006400;
    padding-bottom: 15px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.proceso-lista {
    color: #4a5568;
    font-size: 1.1rem;
    font-family: 'Times New Roman', Times, serif;
    line-height: 2.2;
    padding-left: 40px;
    counter-reset: proceso-counter;
    list-style: none;
}

.proceso-lista li {
    position: relative;
    padding: 12px 0;
    padding-left: 20px;
    transition: all 0.3s ease;
    counter-increment: proceso-counter;
}

.proceso-lista li::before {
    content: counter(proceso-counter);
    position: absolute;
    left: -30px;
    top: 8px;
    background: linear-gradient(135deg, #8b0000, #006400);
    color: #ffd700;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(139, 0, 0, 0.4);
    border: 2px solid #ffd700;
}

.proceso-lista li:hover {
    padding-left: 30px;
    color: #8b0000;
}

/* ========== NAVEGACIÓN ========== */
.navegacion {
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px 30px;
    background: rgba(139, 0, 0, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(184, 134, 11, 0.3);
    position: relative;
}

.navegacion::before {
    content: '🎅';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 2.5rem;
}

.navegacion::after {
    content: '🔔';
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 2.5rem;
}

.nav-titulo {
    color: #ffd700;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 35px;
    font-family: 'Trebuchet MS', sans-serif;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3),
                 0 0 15px rgba(255, 215, 0, 0.3);
    font-weight: 700;
}

.menu-principal {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 0;
}

.Subpags {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(255, 248, 220, 0.95));
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(139, 0, 0, 0.3);
    transition: all 0.4s ease;
    list-style: none;
    border: 2px solid transparent;
    overflow: hidden;
    position: relative;
}

.Subpags::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8b0000, #006400, #ffd700);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.Subpags:hover::before {
    transform: scaleX(1);
}

.Subpags:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 45px rgba(139, 0, 0, 0.4),
                0 0 30px rgba(0, 100, 0, 0.2);
    border-color: #8b0000;
    background: linear-gradient(145deg, #0f2027, #203a43);
}

.Subpags a {
    display: block;
    color: #2d3748;
    font-size: 1.1rem;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    text-decoration: none;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.Subpags:hover a {
    color: #ffd700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ========== PIE DE PÁGINA ========== */
.footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.3), 
        rgba(0, 100, 0, 0.3));
    border-radius: 15px;
    border-top: 3px solid #ffd700;
    color: #f0e68c;
    font-size: 1rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.footer::before {
    content: '✝️';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.5;
}

.footer::after {
    content: '⛪';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.5;
}

.footer p {
    margin: 0;
    letter-spacing: 1px;
}

/* ========== COPOS DE NIEVE ANIMADOS ========== */
@keyframes snowfall {
    0% {
        transform: translateY(-10vh) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) translateX(10vw);
        opacity: 0;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .hero {
        padding: 40px 20px;
    }

    .titulo {
        font-size: 2rem;
    }

    .subtitulo {
        font-size: 1.1rem;
    }

    .texto1 {
        font-size: 1rem;
        padding: 30px 25px;
    }

    .proceso-section {
        padding: 30px 25px;
    }

    .proceso-titulo {
        font-size: 1.6rem;
    }

    .proceso-lista {
        font-size: 1rem;
        padding-left: 30px;
    }

    .nav-titulo {
        font-size: 1.6rem;
    }

    .menu-principal {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .Subpags a {
        font-size: 1rem;
        padding: 25px 20px;
    }

    hr {
        margin: 30px auto;
    }

    .navegacion::before,
    .navegacion::after {
        font-size: 2rem;
        top: -15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    body::before,
    body::after {
        font-size: 2rem;
    }

    .hero {
        padding: 30px 15px;
    }

    .hero::before,
    .hero::after {
        font-size: 1.5rem;
    }

    .titulo {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    .subtitulo {
        font-size: 1rem;
    }

    .texto1,
    .proceso-section {
        font-size: 0.95rem;
        padding: 20px 15px;
    }

    .proceso-titulo {
        font-size: 1.4rem;
    }

    .proceso-lista {
        font-size: 0.95rem;
        padding-left: 25px;
    }

    .proceso-lista li::before {
        width: 30px;
        height: 30px;
        left: -25px;
    }

    .nav-titulo {
        font-size: 1.4rem;
    }

    .Subpags a {
        padding: 20px 15px;
    }

    hr::before {
        font-size: 1.2rem;
    }
}