/*
 * Normativas Section - Light Theme Implementation
 * For Servicio 2 - Cumplimiento Normativo
 */

/* ===== SECTION CONTAINER ===== */
.normativas-section {
    background: #FFFFFF;
    padding: 80px 0;
    position: relative;
}

.normativas-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SECTION HEADER ===== */
.normativas-header {
    text-align: center;
    margin-bottom: 60px;
}

.normativas-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    color: #1A1A1A;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.normativas-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== NORMATIVAS GRID ===== */
.normativas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

/* ===== NORMATIVA CARD ===== */
.normativa-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.normativa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: #2B69C7;
}

/* ===== NORMATIVA ICON ===== */
.normativa-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Specific icon styles */
.cte-icon {
    background: linear-gradient(135deg, #2B69C7 0%, #1E4A8C 100%);
}

.cte-icon::after {
    content: 'CTE';
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.rite-icon {
    background: linear-gradient(135deg, #22D3EE 0%, #0891B2 100%);
}

.rite-icon::after {
    content: 'RITE';
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.eu-icon {
    background: linear-gradient(135deg, #10B981 0%, #047857 100%);
}

.eu-icon::after {
    content: 'EU';
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.local-icon {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
}

.local-icon::after {
    content: '⚖️';
    font-size: 24px;
}

/* ===== NORMATIVA CONTENT ===== */
.normativa-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #1A1A1A;
    margin-bottom: 12px;
}

.normativa-description {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #6B7280;
    margin-bottom: 20px;
}

/* ===== FEATURES LIST ===== */
.normativa-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.normativa-features li {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.normativa-features li::before {
    content: '•';
    color: #2B69C7;
    font-weight: 600;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
}

.normativa-features li:last-child {
    margin-bottom: 0;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (min-width: 1200px) {
    .normativas-container {
        padding: 0 40px;
    }
    
    .normativas-grid {
        gap: 40px;
    }
    
    .normativa-card {
        padding: 40px;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .normativas-title {
        font-size: 32px;
    }
    
    .normativas-subtitle {
        font-size: 17px;
    }
    
    .normativas-grid {
        gap: 28px;
    }
}

/* Tablet */
@media (max-width: 1023px) {
    .normativas-section {
        padding: 60px 0;
    }
    
    .normativas-container {
        padding: 0 30px;
    }
    
    .normativas-title {
        font-size: 30px;
    }
    
    .normativas-subtitle {
        font-size: 16px;
    }
    
    .normativas-grid {
        gap: 24px;
    }
    
    .normativa-card {
        padding: 28px;
    }
    
    .normativa-title {
        font-size: 18px;
    }
    
    .normativa-description {
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .normativas-section {
        padding: 50px 0;
    }
    
    .normativas-container {
        padding: 0 20px;
    }
    
    .normativas-header {
        margin-bottom: 40px;
    }
    
    .normativas-title {
        font-size: 28px;
    }
    
    .normativas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
    }
    
    .normativa-card {
        padding: 24px;
    }
    
    .normativa-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }
    
    .cte-icon::after,
    .rite-icon::after {
        font-size: 14px;
    }
    
    .eu-icon::after {
        font-size: 16px;
    }
    
    .local-icon::after {
        font-size: 20px;
    }
    
    .normativa-title {
        font-size: 18px;
    }
    
    .normativa-description {
        font-size: 15px;
    }
    
    .normativa-features li {
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .normativas-title {
        font-size: 24px;
    }
    
    .normativa-card {
        padding: 20px;
    }
    
    .normativa-title {
        font-size: 16px;
    }
    
    .normativa-description,
    .normativa-features li {
        font-size: 14px;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .normativa-card {
        transition: none;
    }
    
    .normativa-card:hover {
        transform: none;
    }
}

/* Focus states */
.normativa-card:focus {
    outline: 2px solid #22D3EE;
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .normativa-card {
        border: 2px solid #1A1A1A;
    }
    
    .normativa-card:hover {
        border-color: #2B69C7;
    }
    
    .normativa-title {
        color: #000000;
    }
    
    .normativa-description,
    .normativa-features li {
        color: #333333;
    }
    
    .normativa-features li::before {
        color: #2B69C7;
    }
}

/* Print styles */
@media print {
    .normativas-section {
        background: #FFFFFF;
        padding: 40px 0;
    }
    
    .normativas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .normativa-card {
        border: 1px solid #CCCCCC;
        box-shadow: none;
        break-inside: avoid;
        padding: 20px;
    }
    
    .normativa-icon {
        display: none;
    }
}