/* ===== CSS PARA PÁGINA DE ENVÍOS EN REZAGO ===== */
/* Extra Rápido Los Motilones - Consulta de actas de rezago */

:root {
    --rojo-corporativo: #e31e24;
    --rojo-oscuro: #b71c1c;
    --gris-oscuro: #111;
    --gris-medio: #333;
    --gris-claro: #f8f9fa;
    --texto-oscuro: #222;
    --texto-claro: #666;
    --sombra-suave: 0 15px 35px rgba(0,0,0,0.08);
    --sombra-intensa: 0 20px 40px rgba(227,30,36,0.15);
}

/* ===== HERO ===== */
.hero-rezagos {
    background: linear-gradient(rgba(0,0,0,0.85), rgba(227,30,36,0.75)), url('../img/slidenu.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-rezagos h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-rezagos p {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SECCIÓN PRINCIPAL ===== */
.rezagos-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.rezagos-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== TARJETA PRINCIPAL ===== */
.rezagos-card {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: var(--sombra-intensa);
    border: 1px solid rgba(227,30,36,0.1);
    position: relative;
    overflow: hidden;
}

.rezagos-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #e31e24, #ff6b6b, #e31e24);
}

/* ===== ENCABEZADO ===== */
.rezagos-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 3px solid #e31e24;
    flex-wrap: wrap;
}

.rezagos-icono {
    width: 90px;
    height: 90px;
    background: #e31e24;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 45px;
    box-shadow: 0 15px 30px rgba(227,30,36,0.3);
    transform: rotate(3deg);
    transition: all 0.3s;
}

.rezagos-icono:hover {
    transform: rotate(0deg) scale(1.05);
}

.rezagos-titulo h2 {
    margin: 0 0 5px;
    font-size: 32px;
    font-weight: 700;
    color: #111;
}

.rezagos-titulo p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* ===== BADGES ===== */
.rezagos-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.badge-rezagos {
    background: #f0f0f0;
    color: #333;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-rezagos i {
    color: #e31e24;
}

.badge-rezagos.importante {
    background: #e31e24;
    color: white;
}

.badge-rezagos.importante i {
    color: white;
}

/* ===== INFORMACIÓN LEGAL ===== */
.info-legal {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    margin: 30px 0;
    border-left: 5px solid #e31e24;
    line-height: 1.8;
}

.info-legal p {
    margin: 0;
    color: #444;
    font-size: 16px;
}

.info-legal strong {
    color: #e31e24;
}

/* ===== CONTACTO RÁPIDO ===== */
.contacto-rapido {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 20px;
    padding: 25px;
    margin: 30px 0 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    border: 2px dashed #e31e24;
}

.contacto-rapido-icono {
    width: 70px;
    height: 70px;
    background: #e31e24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.contacto-rapido-info {
    flex: 1;
}

.contacto-rapido-info h4 {
    color: #e31e24;
    margin: 0 0 10px;
    font-size: 20px;
}

.contacto-rapido-telefonos {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contacto-rapido-telefonos p {
    margin: 0;
    color: #555;
}

.contacto-rapido-telefonos i {
    color: #e31e24;
    width: 25px;
}

/* ===== GRID DE ACTAS ===== */
.actas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.acta-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: var(--sombra-suave);
    border: 1px solid #eee;
    transition: all 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.acta-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-intensa);
    border-color: #e31e24;
}

.acta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #e31e24;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
}

.acta-card:hover::before {
    transform: scaleX(1);
}

.acta-icono {
    width: 80px;
    height: 80px;
    background: rgba(227,30,36,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e31e24;
    font-size: 40px;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.acta-card:hover .acta-icono {
    background: #e31e24;
    color: white;
    transform: rotate(360deg);
}

.acta-numero {
    font-size: 24px;
    font-weight: 700;
    color: #e31e24;
    margin-bottom: 5px;
}

.acta-fecha {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.acta-descripcion {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
}

.acta-btn {
    display: inline-block;
    background: #e31e24;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
}

.acta-btn:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227,30,36,0.3);
}

.acta-btn i {
    margin-left: 5px;
}

/* ===== MENSAJE ADICIONAL ===== */
.mensaje-adicional {
    text-align: center;
    margin: 40px 0 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.mensaje-adicional p {
    color: #666;
    font-size: 15px;
    margin: 0;
}

.mensaje-adicional i {
    color: #e31e24;
    margin-right: 5px;
}

/* ===== BOTONES DE ACCIÓN ===== */
.rezagos-acciones {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.btn-rezagos {
    padding: 15px 35px;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    border: none;
    font-size: 16px;
}

.btn-volver {
    background: #6c757d;
    color: white;
    box-shadow: 0 8px 20px rgba(108,117,125,0.3);
}

.btn-volver:hover {
    background: #5a6268;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-rezagos h1 {
        font-size: 38px;
    }
    
    .rezagos-card {
        padding: 30px;
    }
    
    .actas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-rezagos {
        padding: 60px 0;
    }
    
    .hero-rezagos h1 {
        font-size: 32px;
    }
    
    .rezagos-section {
        padding: 60px 0;
    }
    
    .rezagos-card {
        padding: 25px;
    }
    
    .rezagos-header {
        flex-direction: column;
        text-align: center;
    }
    
    .rezagos-icono {
        margin: 0 auto;
    }
    
    .rezagos-badges {
        justify-content: center;
    }
    
    .contacto-rapido {
        flex-direction: column;
        text-align: center;
    }
    
    .contacto-rapido-telefonos {
        justify-content: center;
    }
    
    .actas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-rezagos h1 {
        font-size: 28px;
    }
    
    .hero-rezagos p {
        font-size: 16px;
    }
    
    .rezagos-titulo h2 {
        font-size: 24px;
    }
    
    .rezagos-acciones {
        flex-direction: column;
    }
    
    .btn-rezagos {
        width: 100%;
        justify-content: center;
    }
}