* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #741d2d;
    --primary-light: #a02838;
    --gold: #fbbf24;
    --gold-dark: #d97706;
    --dark: #1a1a2e;
    --light: #fef3c7;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #fef3c7 0%, #fce7f3 50%, #dbeafe 100%);
    color: #1f2937;
    overflow-x: hidden;
    padding-top: 80px;
    min-height: 100vh;
}

/* ==================== HERO ÚNICO ==================== */
.hero-unique {
    min-height: 100vh;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(116, 29, 45, 0.2);
}

.hero-unique::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
    top: -400px;
    right: -200px;
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.hero-unique::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    bottom: -300px;
    left: -200px;
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite reverse;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

.hero-content-left {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(251, 191, 36, 0.2);
    border: 2px solid var(--gold);
    padding: 12px 24px;
    border-radius: 50px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 30px;
    animation: slideInLeft 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 1s ease 0.2s both;
}

.hero-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    animation: slideInLeft 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: slideInLeft 1s ease 0.6s both;
}

.btn-glow {
    position: relative;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

.btn-primary-glow:hover {
    box-shadow: 0 0 50px rgba(251, 191, 36, 0.8);
    transform: translateY(-3px);
    color: #000;
}

.btn-secondary-glow {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary-glow:hover {
    background: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Hero Right - Imagen con formas */
.hero-visual {
    position: relative;
    z-index: 2;
    animation: slideInRight 1s ease 0.4s both;
}

.hero-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.blob-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    animation: morph 8s ease-in-out infinite;
    overflow: hidden;
}

.blob-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

/* Floating stats */
.floating-stats {
    position: absolute;
    display: grid;
    gap: 20px;
}

.floating-stats.top-left {
    top: 10%;
    left: -10%;
}

.floating-stats.bottom-right {
    bottom: 10%;
    right: -10%;
}

.stat-bubble {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.stat-bubble:nth-child(2) {
    animation-delay: 0.5s;
}

.stat-bubb:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* ==================== ACCESOS RÁPIDOS ÚNICO ==================== */
.quick-section {
    padding: 100px 5%;
    background: transparent;
    position: relative;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.quick-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 3px solid transparent;
    border-radius: 30px;
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: #1f2937;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #ef4444, #dc2626, #741d2d);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-card:hover::before {
    opacity: 1;
}

.quick-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(116, 29, 45, 0.2);
    text-decoration: none;
    color: #1f2937;
}

.quick-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gold);
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(116, 29, 45, 0.3);
}

.quick-card:hover .quick-icon-wrapper {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--primary);
}

.quick-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f2937;
}

.quick-desc {
    color: #6b7280;
    font-size: 0.95rem;
}

/* ==================== EVENTOS BENTO GRID ==================== */
.eventos-section {
    padding: 100px 5%;
    background: #1a1a2e;
}

.section-title-unique {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title-unique.text-primary-gradient {
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: initial !important;
    color: var(--primary) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.bento-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}

.bento-item:nth-child(1) {
    grid-column: span 8;
    grid-row: span 2;
}

.bento-item:nth-child(2) {
    grid-column: span 4;
    grid-row: span 1;
}

.bento-item:nth-child(3) {
    grid-column: span 4;
    grid-row: span 1;
}

.bento-item:nth-child(4) {
    grid-column: span 4;
    grid-row: span 1;
}

.bento-item:nth-child(5) {
    grid-column: span 4;
    grid-row: span 1;
}

.bento-item:nth-child(6) {
    grid-column: span 4;
    grid-row: span 1;
}

.bento-item:hover {
    transform: scale(1.02);
    z-index: 10;
}

.bento-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bento-item:hover .bento-bg {
    transform: scale(1.1);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.bento-category {
    display: inline-block;
    background: var(--gold);
    color: #000;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.bento-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.bento-item:nth-child(1) .bento-title {
    font-size: 2rem;
}

.bento-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ==================== ESCUELAS MODERNAS ==================== */
.escuelas-section {
    padding: 100px 5%;
    background: transparent;
}

.escuelas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 60px;
    flex-wrap: wrap;
    gap: 30px;
}

.escuelas-info h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 15px;
}

.trim-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
}

.escuelas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.escuela-modern-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border: 3px solid transparent;
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.escuela-modern-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--gold), var(--primary));
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.escuela-modern-card:hover::before {
    opacity: 1;
}

.escuela-modern-card:hover {
    transform: translateY(-15px);
    border-color: transparent;
}

.escuela-icon-modern {
    width: 110px;
    height: 110px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--gold);
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(116, 29, 45, 0.3);
}

.escuela-modern-card:hover .escuela-icon-modern {
    transform: scale(1.15) rotate(15deg);
}

.escuela-name-modern {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f2937;
}

.escuela-desc-modern {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.badge-disponible {
    display: inline-block;
    background: #10b981;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.escuela-no-disponible {
    opacity: 0.4;
    cursor: not-allowed;
}

.escuela-no-disponible:hover {
    transform: none;
}

/* ==================== MISIÓN/VISIÓN SPLIT ==================== */
.mision-vision-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.mision-side {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mision-side::before {
    content: '🎯';
    position: absolute;
    font-size: 300px;
    opacity: 0.05;
    top: -50px;
    right: -50px;
}

.vision-side {
    background: linear-gradient(135deg, #1a1a2e, #0f0f1e);
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.vision-side::before {
    content: '👁️';
    position: absolute;
    font-size: 300px;
    opacity: 0.05;
    top: -50px;
    left: -50px;
}

.mv-icon {
    font-size: 4rem;
    margin-bottom: 30px;
    color: var(--gold);
}

.mv-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 25px;
}

.mv-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.vision-side .mv-text {
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.vision-side .mv-title {
    color: var(--gold);
}

/* ==================== ANIMATIONS ==================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-unique {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px 5%;
    }

    .floating-stats {
        position: static;
        grid-template-columns: repeat(3, 1fr);
        margin-top: 40px;
    }

    .bento-item {
        grid-column: span 12 !important;
        grid-row: span 1 !important;
    }

    .mision-vision-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn-glow {
        width: 100%;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .escuelas-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .versiculo-del-dia {
        padding: 60px 5%;
    }

    .versiculo-card {
        padding: 40px 30px;
    }
}

/* ==================== VERSÍCULO DEL DÍA ==================== */
.versiculo-del-dia {
    padding: 100px 5%;
    background: transparent;
    position: relative;
}

.versiculo-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.versiculo-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 10px 30px;
    box-shadow: 0 20px 60px rgba(116, 29, 45, 0.15);
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.versiculo-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--gold), var(--primary), var(--gold-dark));
    border-radius: 40px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.versiculo-card:hover::before {
    opacity: 1;
}

.versiculo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(116, 29, 45, 0.25);
}

.versiculo-icon {
    text-align: center;
    margin-bottom: 30px;
}

/* ==================== COMUNIDAD (DISQUS) ==================== */
.community-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fff 100%);
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.community-card {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

#disqus_thread {
    min-height: 300px;
}


.versiculo-icon i {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

.versiculo-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.versiculo-reference {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.versiculo-reference::before,
.versiculo-reference::after {
    content: '';
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.versiculo-text {
    font-size: 1.4rem;
    line-height: 2;
    color: #374151;
    text-align: center;
    font-style: italic;
    position: relative;
    padding: 0 40px;
}

.versiculo-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -20px;
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.versiculo-text::after {
    content: '"';
    position: absolute;
    right: 0;
    bottom: -40px;
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.versiculo-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid rgba(251, 191, 36, 0.3);
}

.versiculo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(116, 29, 45, 0.3);
}

/* ==================== DEPARTAMENTOS ==================== */
.dept-section {
    padding: 100px 5%;
    background: #fdfbf7;
    /* Color crema muy suave */
    position: relative;
}

/* Nota: Estructura manejada por Bootstrap (row, col) */

.dept-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.dept-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(116, 29, 45, 0.15);
    border-color: rgba(116, 29, 45, 0.1);
}

.dept-image-wrapper {
    height: 250px;
    background: linear-gradient(135deg, #fef3c7 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.dept-image {
    max-height: 90%;
    /* img-fluid de bootstrap maneja el max-width: 100% y height: auto */
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.dept-card:hover .dept-image {
    transform: scale(1.1) rotate(2deg);
}

.dept-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.dept-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary);
}

.dept-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.dept-link {
    font-weight: 700;
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

.dept-card:hover .dept-link {
    gap: 15px;
    color: var(--primary);
}

/* Responsive Overrides si es necesario */
@media (max-width: 768px) {
    .dept-section {
        padding: 50px 5%;
    }
}