/* ════════════════════════════════════════════════════════ */
/* 🎯 BLOQUE: ESCUELA DOMINICAL                             */
/* ════════════════════════════════════════════════════════ */
.escuela-section {
     background: linear-gradient(135deg, #0F1117 0%, #1A1D29 50%, #222638 100%);
    color: #E8E8E8;
    text-align: center;
    padding: clamp(40px, 10vw, 120px) 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;               /* ← CAMBIO: 100% en vez de 100vw */
    max-width: 100%;
    box-sizing: border-box;
}

.escuela-section::before {
       content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: min(500px, 70vw);
    height: min(500px, 70vh);
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    animation: pulseLight 4s ease-in-out infinite;
    pointer-events: none;
}

.escuela-container {
    background: rgba(20, 20, 50, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    /* CAMBIO 4: Padding más pequeño en móvil */
    padding: clamp(24px, 5vw, 50px) clamp(16px, 4vw, 40px);
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.escuela-label {
   display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    /* CAMBIO 5: Padding y letra más pequeños en móvil */
    padding: clamp(8px, 2vw, 12px) clamp(14px, 3vw, 28px);
    border-radius: 50px;
    margin-bottom: 20px;
    font-weight: 800;
    font-size: clamp(10px, 1.2vw, 13px);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FFFFFF;
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4),
                0 0 30px rgba(255, 107, 53, 0.2);
    animation: labelPulse 2s ease-in-out infinite;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

@keyframes labelPulse {
    0%, 100% { box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4), 0 0 30px rgba(255, 107, 53, 0.2); }
    50% { box-shadow: 0 6px 35px rgba(255, 107, 53, 0.6), 0 0 50px rgba(255, 107, 53, 0.3); }
}

.escuela-label i {
    font-size: clamp(16px, 2vw, 20px);
    animation: fireFlicker 1.5s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ═══════════════════════════════════════
   TIMER
   ═══════════════════════════════════════ */

.escuela-title {
    font-size: clamp(24px, 5vw, 44px);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.5vw, 4px);
    text-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
    line-height: 1.2;
}

.escuela-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(3px, 0.75vw, 17px);
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.escuela-time-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid;
    border-radius: 16px;
    padding: clamp(12px, 3vw, 22px) clamp(10px, 2vw, 16px);
    min-width: clamp(60px, 18vw, 85px);
    flex: 0 0 auto;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.escuela-time-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: inherit;
    opacity: 0.6;
}

.escuela-time-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.2);
}

.escuela-time-box:nth-child(1) { border-color: #E91E63; }
.escuela-time-box:nth-child(3) { border-color: #9C27B0; }
.escuela-time-box:nth-child(5) { border-color: #00BCD4; }
.escuela-time-box:nth-child(7) { border-color: #FF5722; }

.escuela-time-box:nth-child(1) .escuela-time-number { color: #F48FB1; }
.escuela-time-box:nth-child(3) .escuela-time-number { color: #CE93D8; }
.escuela-time-box:nth-child(5) .escuela-time-number { color: #80DEEA; }
.escuela-time-box:nth-child(7) .escuela-time-number { color: #FFAB91; }

.escuela-time-number {
    display: block;
    font-size: clamp(24px, 5vw, 42px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}

.escuela-time-text {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(10px, 2vw, 12px);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.escuela-time-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: clamp(20px, 5vw, 32px);
    font-weight: 300;
    padding-top: 4px;
    flex: 0 0 auto;
}


/* ═══════════════════════════════════════
   FECHA
   ═══════════════════════════════════════ */
.escuela-date {    
    color: #FFFFFF;
    font-size: clamp(13px, 2vw, 16px);
    font-weight: 100;
    margin-bottom: 10px;
    text-transform: capitalize;
    background: rgba(255, 107, 53, 0.12);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 14px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 107, 53, 0.25);
    line-height: 1.5;
    max-width: 100%;
}

/* Bordes neón */
.escuela-time-box:nth-child(1) { border-color: #FF6B35; }
.escuela-time-box:nth-child(3) { border-color: #00D4AA; }
.escuela-time-box:nth-child(5) { border-color: #00B4D8; }
.escuela-time-box:nth-child(7) { border-color: #FFD93D; }

/* Colores de números */
.escuela-time-box:nth-child(1) .escuela-time-number { color: #FF9F6B; }
.escuela-time-box:nth-child(3) .escuela-time-number { color: #4DEDB8; }
.escuela-time-box:nth-child(5) .escuela-time-number { color: #5DD4F0; }
.escuela-time-box:nth-child(7) .escuela-time-number { color: #FFE066; }

.escuela-time-number {
    display: block;
    font-size: clamp(24px, 6vw, 42px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.escuela-time-text {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(9px, 2vw, 11px);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.escuela-time-separator {
    color: rgba(255, 255, 255, 0.25);
    font-size: clamp(20px, 5vw, 32px);
    font-weight: 200;
    padding-top: 4px;
    flex: 0 0 auto;
}

/* ═══════════════════════════════════════
   INFO CARD — 🔥 ESTE ES EL MÁS IMPORTANTE
   ═══════════════════════════════════════ */
.escuela-info-card {
    display: grid;
    grid-template-columns: 1fr;           /* ← Móvil: 1 columna */
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    align-items: stretch;
    box-sizing: border-box;
}

/* Tablet/PC: 3 columnas que NUNCA desbordan */
@media (min-width: 768px) {
    .escuela-info-card {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.escuela-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: clamp(12px, 2vw, 18px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    transition: all 0.3s ease;
    min-width: 0 !important;    /* ← FORZADO: evita que crezca */
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}


.escuela-info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 170, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.escuela-info-item i {
    
    font-size: clamp(16px, 2.5vw, 20px);
    color: #00D4AA;
    min-width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.escuela-info-item > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.info-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-value {
    font-size: clamp(11px, 1.5vw, 14px);
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word !important;      /* ← NUEVO: corta palabras largas */
    overflow-wrap: anywhere !important;     /* ← NUEVO: corta en cualquier punto */
    hyphens: auto;
    min-width: 0;
}
/* ═══════════════════════════════════════
   EXPOSITOR
   ═══════════════════════════════════════ */
.escuela-expositor {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 28px;
    margin-bottom: 18px;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.escuela-expositor i {
    font-size: 20px;
    color: #E91E63;
    flex-shrink: 0;
}

.escuela-expositor-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 0;
}

.escuela-expositor-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.escuela-expositor-nombre {
    font-size: clamp(14px, 2vw, 17px);
    color: #FFFFFF;
    font-weight: 800;
    word-wrap: break-word;
}

/* MENSAJE */
.escuela-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(13px, 2vw, 14px);
    font-style: italic;
    flex-wrap: wrap;
    padding: 0 10px;
}

.escuela-message i {
    color: #FF5722;
    font-size: 16px;
    flex-shrink: 0;
}
