
/* IMPORTAR Y FORZAR FUENTE MONTSERRAT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Aplicar Montserrat EXCLUYENDO los iconos de Font Awesome */
body {
    font-family: 'Montserrat', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
}

p, span, div, a, button, input, textarea, select {
    font-family: 'Montserrat', sans-serif !important;
}

/* Asegurar que los iconos de Font Awesome mantengan su fuente */
.fas, .far, .fab, .fal, .fad, .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro" !important;
}

/* También puedes usar el selector más específico */
i[class*="fa-"], i[class^="fa "] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro" !important;
}

.page-header {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #691B31 0%, #8B2538 100%);
    color: white;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(105, 27, 49, 0.3);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header h1 i {
    margin-right: 1rem;
    color: #FFD700;
}

.page-header p {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #691B31;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title i {
    margin-right: 1rem;
    color: #FFD700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #691B31, #FFD700);
    border-radius: 2px;
}

/* Grid de normas */
.normas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.norma-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.norma-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(105, 27, 49, 0.15);
}

.norma-header {
    background: linear-gradient(135deg, #691B31 0%, #8B2538 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.norma-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.norma-title h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.norma-type {
    background: rgba(255, 215, 0, 0.9);
    color: #691B31;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.norma-content {
    padding: 1.5rem;
}

.norma-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-align: justify;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #691B31 0%, #8B2538 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(105, 27, 49, 0.3);
}

.btn-download:hover {
    background: linear-gradient(135deg, #8B2538 0%, #691B31 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(105, 27, 49, 0.4);
    color: white;
}

.btn-download i {
    font-size: 1rem;
}

/* Sección de información */
.info-section {
    margin-top: 3rem;
}

.info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 5px solid #691B31;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-icon {
    background: #691B31;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: #691B31;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .normas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .norma-card {
        margin: 0 0.5rem;
    }
    
    .norma-header {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .norma-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .norma-title h3 {
        font-size: 1.1rem;
    }
    
    .norma-content {
        padding: 1rem;
    }
    
    .norma-content p {
        font-size: 0.9rem;
    }
    
    .btn-download {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .norma-header {
        padding: 0.8rem;
    }
    
    .norma-content {
        padding: 0.8rem;
    }
    
    .btn-download {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .info-box {
        padding: 1rem;
    }
}