/* ========================================
   VARIABLES CSS
======================================== */
:root {
    /* Colores principales */
    --primary: #4A90E2;
    --primary-dark: #357ABD;
    --primary-light: #6BA3E8;
    
    --secondary: #7B68EE;
    --secondary-dark: #5F4DC4;
    --secondary-light: #9B88F3;
    
    --accent: #DAA520;
    --accent-dark: #B8860B;
    --accent-light: #F0C84A;
    
    /* Colores neutros */
    --dark: #2C3E50;
    --gray-dark: #34495E;
    --gray: #7F8C8D;
    --gray-light: #BDC3C7;
    --light: #F8F9FA;
    --white: #FFFFFF;
    
    /* Colores de texto */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.2);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Bordes */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-full: 50px;
}

/* ========================================
   RESET Y BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   UTILIDADES
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ========================================
   NAVEGACIÓN
======================================== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--spacing-md);
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    margin-right: auto;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: clamp(0.95rem, 1vw, 1.1rem);
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.logo-sub {
    font-size: clamp(0.6rem, 0.65vw, 0.7rem);
    font-weight: 400;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Menú de navegación */
.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(0.8rem, 1.5vw, 2rem); 
    align-items: center;
    flex-wrap: nowrap; 
    margin-left: auto;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: clamp(0.82rem, 0.85vw, 0.95rem);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-normal);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    width: 100%;
}

/* Botón móvil */
.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition-normal);
}

.mobile-toggle:hover {
    color: var(--primary-dark);
}

/* ========================================
   HERO SECTION 
======================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-iglesia.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efecto parallax */
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay oscuro elegante - SIN AZUL */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(44, 62, 80, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    /* Sombra fuerte para máxima legibilidad */
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5);
}

.hero-verse {
    margin-bottom: 2rem;
}

.verse-text {
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 0.5rem;
    /* Sombra para legibilidad */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.4);
}

.verse-ref {
    font-size: 1rem;
    opacity: 0.95;
    /* Sombra para legibilidad */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.98;
    /* Sombra para legibilidad */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.9;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        background-attachment: scroll; /* Mejor rendimiento en móviles */
    }
    
    .hero-overlay {
        /* Un poco más oscuro en móviles para mejor legibilidad */
        background: rgba(44, 62, 80, 0.8);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .verse-text {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   BOTONES
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn i {
    font-size: 1.1rem;
}

/* Botón primario */
.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.4);
}

/* Botón secundario */
.btn-secondary {
    background: var(--white);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Botón outline */
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Botón blanco */
.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Botón outline blanco */
.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ========================================
   HORARIOS DE CULTOS
======================================== */
.schedule-section {
    background: var(--white);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.schedule-card {
    background: var(--light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.schedule-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.schedule-icon {
    margin-bottom: 1.5rem;
}

.schedule-icon i {
    font-size: 3.5rem;
    color: var(--primary);
}

.schedule-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.schedule-time {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.schedule-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   QUIÉNES SOMOS
======================================== */
.about-section {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.about-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.about-icon {
    margin-bottom: 1.5rem;
}

.about-icon i {
    font-size: 3.5rem;
    color: var(--primary);
}

.about-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ========================================
   MINISTERIOS
======================================== */
.ministries-section {
    background: var(--white);
}

.ministry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.ministry-card {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.ministry-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.ministry-icon {
    margin-bottom: 1.5rem;
}

.ministry-icon i {
    font-size: 4rem;
    color: var(--secondary);
    transition: transform var(--transition-normal);
}

.ministry-card:hover .ministry-icon i {
    transform: scale(1.1);
}

.ministry-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.ministry-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.ministry-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
}

.ministry-link:hover {
    color: var(--secondary-dark);
    gap: 0.8rem;
}

/* ========================================
   TESTIMONIOS
======================================== */
.testimonials-section {
    background: var(--light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--accent);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-quote {
    margin-bottom: 1rem;
}

.testimonial-quote i {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ========================================
   LLAMADO A LA ACCIÓN (CTA)
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   CONTACTO Y UBICACIÓN
======================================== */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.contact-details p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary);
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Mapa */
.map-container {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.map-placeholder {
    text-align: center;
    color: var(--text-secondary);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-placeholder small {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem var(--spacing-md) 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h3 {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.footer-section a {
    color: var(--white);
    opacity: 0.8;
    transition: all var(--transition-normal);
    display: inline-block;
}

.footer-section a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--accent);
}

/* Redes sociales */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    transform: translateX(0);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-links a i {
    font-size: 1.2rem;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========================================
   PÁGINAS INTERNAS - HERO
======================================== */
.page-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    /* IMAGEN DE FONDO - igual que en inicio */
    background-image: url('../images/hero-iglesia.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay oscuro para legibilidad */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(44, 62, 80, 0.8));
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.8);
}

.page-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--white);
    transition: opacity var(--transition-normal);
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb i {
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        min-height: 30vh;
        padding: 6rem 1.5rem 3rem;
        background-attachment: scroll;
    }
    
    .page-hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .page-hero-title {
        font-size: 2rem;
    }
    
    .page-hero-subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   HISTORIA
======================================== */
.history-section {
    background: var(--white);
}

.history-content {
    max-width: 900px;
    margin: 0 auto;
}

.history-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.history-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.history-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border: 4px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--primary);
    z-index: 2;
}

.timeline-content {
    width: 45%;
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   MISIÓN, VISIÓN Y VALORES
======================================== */
.mvv-section {
    background: var(--light);
}

.mvv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.mvv-card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mvv-card-wide {
    grid-column: 1 / -1;
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.mvv-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.mvv-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    text-align: center;
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.value-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========================================
   CREENCIAS
======================================== */
.beliefs-section {
    background: var(--white);
}

.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.belief-card {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition-normal);
    border-left: 4px solid var(--primary);
}

.belief-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent);
}

.belief-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.belief-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.belief-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   EQUIPO PASTORAL
======================================== */
.team-section {
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.team-card:hover .team-photo img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 144, 226, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social a {
    width: 45px;
    height: 45px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.team-social a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.team-role {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   PÁGINA DE MINISTERIOS - DETALLE
======================================== */
.intro-ministerios {
    background: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.intro-content h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.intro-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.ministry-detail {
    background: var(--light);
}

.ministry-detail-alt {
    background: var(--white);
}

.ministry-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.ministry-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.ministry-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.ministry-detail:hover .ministry-detail-image img {
    transform: scale(1.05);
}

.ministry-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.badge-ninos { background: linear-gradient(135deg, #4A90E2, #357ABD); }
.badge-jovenes { background: linear-gradient(135deg, #7B68EE, #5F4DC4); }
.badge-alabanza { background: linear-gradient(135deg, #DAA520, #B8860B); }
.badge-intercesion { background: linear-gradient(135deg, #9B59B6, #8E44AD); }
.badge-ayuda { background: linear-gradient(135deg, #27AE60, #229954); }
.badge-encargados { background: linear-gradient(135deg, #E74C3C, #CB4335); }

.ministry-detail-title {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.ministry-detail-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.ministry-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.ministry-schedule {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.ministry-schedule h3 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ministry-schedule p {
    color: var(--text-secondary);
    margin: 0.3rem 0;
}

/* ========================================
   PÁGINA NUEVOS
======================================== */
.welcome-section {
    background: var(--white);
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.welcome-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

.welcome-content h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.welcome-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.verse-highlight {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(123, 104, 238, 0.1));
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--accent);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
    position: relative;
}

.verse-highlight i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.verse-ref {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-style: normal;
    color: var(--secondary);
    font-weight: 600;
}

.expect-section {
    background: var(--light);
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.expect-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.expect-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.expect-number {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.expect-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.expect-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.expect-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* FAQs */
.faq-section {
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.faq-question:hover {
    background: rgba(74, 144, 226, 0.05);
}

.faq-question i.fa-question-circle {
    color: var(--primary);
    font-size: 1.5rem;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
}

.faq-toggle {
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Ubicación */
.location-section {
    background: var(--light);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.location-text h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.location-text p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.location-text a {
    color: var(--primary);
    font-weight: 600;
}

/* Pasos */
.steps-section {
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--light);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-badge {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 1rem auto 1.5rem;
}

.step-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Curso */
.course-section {
    background: var(--light);
}

.course-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.course-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-info h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.course-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.course-details {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.course-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light);
}

.course-detail-item:last-child {
    border-bottom: none;
}

.course-detail-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.course-detail-item span {
    color: var(--text-primary);
}

.testimonials-nuevos {
    background: var(--white);
}

/* ========================================
   BLOG
======================================== */
.categories-section {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--light);
}

.categories-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.7rem 1.8rem;
    background: var(--light);
    color: var(--text-primary);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-btn:hover {
    background: var(--white);
    border-color: var(--primary);
}

.category-btn.active {
    background: var(--primary);
    color: var(--white);
}

.featured-post-section {
    background: var(--light);
    padding: 3rem 0;
}

.featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 450px;
    max-height: 500px;
}

.featured-post-image {
    position: relative;
    height: 100%;
    min-height: 450px;
    max-height: 500px;
    overflow: hidden;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.featured-post-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.featured-post-title {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.featured-post-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

.blog-posts-section {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.categoria-anuncios { background: #E74C3C; }
.categoria-eventos { background: #3498DB; }
.categoria-devocionales { background: #DAA520; }
.categoria-testimonios { background: #27AE60; }

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-normal);
}

.blog-link:hover {
    gap: 0.8rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--text-primary);
    border: 2px solid var(--light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-weight: 600;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

/* ========================================
   GALERÍA
======================================== */
.gallery-filters-section {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--light);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 0.7rem 1.8rem;
    background: var(--light);
    color: var(--text-primary);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-filter-btn:hover {
    background: var(--white);
    border-color: var(--primary);
}

.gallery-filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.gallery-section {
    background: var(--light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.gallery-view-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-view-btn {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-view-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* Modal de Imagen */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.image-modal.active {
    display: flex;
}

.modal-close-btn,
.modal-prev-btn,
.modal-next-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.modal-close-btn:hover,
.modal-prev-btn:hover,
.modal-next-btn:hover {
    background: rgba(255,255,255,0.2);
}

.modal-close-btn {
    top: 20px;
    right: 20px;
}

.modal-prev-btn {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-next-btn {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#modalImage {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.modal-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    background: rgba(0,0,0,0.7);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    text-align: center;
    max-width: 80%;
}

/* ========================================
   CONTACTO
======================================== */
.contact-info-section {
    background: var(--light);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-info-card a {
    color: var(--primary);
    font-weight: 600;
}

.contact-hours {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap var(--transition-normal);
}

.contact-link:hover {
    gap: 0.8rem;
}

.contact-form-section {
    background: var(--white);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-info h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.contact-form-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-features {
    margin-bottom: 2rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.contact-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

.social-connect h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
}

.social-links-contact a {
    width: 45px;
    height: 45px;
    background: var(--light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.social-links-contact a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form-container {
    background: var(--light);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--white);
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: border-color var(--transition-normal);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.character-counter {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.map-section {
    background: var(--light);
}

.map-full-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
    height: 450px;
}

.map-placeholder-full {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    background: var(--light);
}

.map-placeholder-full i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.map-placeholder-full h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.map-placeholder-full p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.directions-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.direction-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-md);
}

.direction-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.direction-card h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.direction-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.schedule-attention-section {
    background: var(--white);
}

.schedule-attention-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.schedule-attention-card {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border-top: 4px solid var(--primary);
}

.schedule-day {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.schedule-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.schedule-attention-card p {
    color: var(--text-secondary);
}

/* ========================================
   DONACIONES
======================================== */
.why-donate-section {
    background: var(--white);
}

.why-donate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-donate-text h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.why-donate-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.why-donate-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.why-donate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.usage-section {
    background: var(--light);
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.usage-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.usage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.usage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.usage-card h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.usage-percentage {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.usage-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.donation-methods-section {
    background: var(--white);
}

.donation-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.donation-method-card {
    background: var(--light);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.donation-method-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.donation-method-card > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.bank-details {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    text-align: left;
}

.bank-detail-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--light);
    font-size: 0.95rem;
}

.bank-detail-item:last-child {
    border-bottom: none;
}

.bank-detail-item strong {
    color: var(--dark);
    margin-right: 0.5rem;
}

.qr-code-container {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.qr-code-container img {
    max-width: 200px;
    margin: 0 auto 1rem;
}

.qr-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.cash-info {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.cash-option {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    text-align: left;
}

.cash-option i {
    font-size: 2rem;
    color: var(--primary);
}

.cash-option strong {
    display: block;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.cash-option p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.method-note {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.faq-donations-section {
    background: var(--light);
}

.donation-method-card .btn-outline {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 600;
    padding: 0.9rem 2rem;
    transition: all var(--transition-normal);
}

.donation-method-card .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
}

.donation-method-card .btn-outline i {
    font-size: 1.1rem;
}

.btn-copy-data {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.btn-copy-data:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.4);
}

.btn-copy-data i {
    font-size: 1.1rem;
}

.btn-copy-accent {
    background: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.btn-copy-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.4);
}

.btn-copy-accent i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .donation-method-card .btn-outline,
    .btn-copy-data,
    .btn-copy-accent {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }
}

/* ========================================
   ANEXOS
======================================== */
.anexos-section {
    background: var(--light);
}

.anexos-zone {
    margin-bottom: var(--spacing-xl);
}

.anexos-zone:last-of-type {
    margin-bottom: var(--spacing-lg);
}

.zone-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary);
}

.zone-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.zone-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
}

.anexos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.anexo-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.anexo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.anexo-icon {
    margin-bottom: 1rem;
}

.anexo-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

.anexo-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.anexo-status {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.anexo-status i {
    color: #27AE60;
}

.anexos-info {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.info-card {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(123, 104, 238, 0.1));
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--accent);
    display: inline-block;
    max-width: 800px;
}

.info-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.info-card p {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.7;
}

.info-card a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.info-card a:hover {
    color: var(--primary-dark);
}

.team-photo {
    position: relative;
    overflow: hidden;
    height: 500px;
    width: 100%;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform var(--transition-normal);
}

@media (max-width: 768px) {
    .team-photo {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .team-photo {
        height: 350px;
    }
}

/* ========================================
   WHATSAPP FLOTANTE
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: all var(--transition-normal);
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===== EFECTIVO - ALINEACIÓN ===== */

.cash-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cash-option {
    display: flex;
    align-items: center;   /* centra verticalmente icono + texto */
    gap: 15px;
}

.cash-option i {
    font-size: 28px;
    width: 40px;          /* ancho fijo para que todos alineen igual */
    text-align: center;
}

.cash-option strong {
    display: block;
    margin-bottom: 4px;
}

.cash-option p {
    margin: 0;
}
