/* ==========================================================================
   ARTICLE: Législation HACCP — Page-specific CSS
   Accent color: Red #dc3545 (same as HACCP pages)
   This file extends article-base.css. Replaces legislation.css.
   Contains: hero, legislation-specific UI components, and overrides.
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */

.legislation-hero {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: 160px 20px 60px;
    margin-top: -100px;
}

/* ==========================================================================
   CONTENT LAYOUT OVERRIDES
   The legislation page uses .legislation-page and .legislation-content-wrapper
   instead of .article-page and .article-content-wrapper.
   ========================================================================== */

.legislation-page .section-header {
    border-bottom-color: #dc3545;
}

.legislation-page .section-header h2 i {
    color: #dc3545;
}

/* Single-column entity grid (legislation lists multiple bodies in 1 col) */
.legislation-page .entity-grid {
    grid-template-columns: 1fr;
}

/* Button styles override: pill shape + red primary */
.legislation-page .btn {
    border-radius: 50px;
}

.legislation-page .btn-primary {
    background: #dc3545;
    color: #ffffff;
}

.legislation-page .btn-primary:hover {
    background: #c82333;
    color: #ffffff;
}

/* CTA features: grid layout (legislation page variation) */
.legislation-page .cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    text-align: center;
}

.legislation-page .cta-features .feature {
    flex-direction: column;
    gap: 4px;
}

/* ==========================================================================
   EXEMPTION LIST (dispenses)
   ========================================================================== */

.exemption-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.exemption-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f0f7ff;
    border: 1px solid #c3dafe;
    border-radius: 6px;
    padding: 16px;
}

.exemption-item i {
    color: #0066cc;
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.exemption-item div {
    line-height: 1.6;
    font-size: 0.95rem;
}

.exemption-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 4px;
}

/* ==========================================================================
   MODULES LIST (training modules display)
   ========================================================================== */

.modules-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.module {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.module::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #dc3545;
}

.module h4 {
    color: #dc3545;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.module p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

/* ==========================================================================
   DURATION INFO CARD (minimum training hours)
   ========================================================================== */

.duration-info {
    margin: 20px 0;
}

.duration-card {
    background: linear-gradient(135deg, #102a43 0%, #1a3a5c 100%);
    border-radius: 8px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    color: white;
}

.duration-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffd700;
    line-height: 1;
    white-space: nowrap;
}

.duration-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.duration-card h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.duration-detail {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.5;
    color: white;
}

.duration-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   COMPARISON GRID + MODALITY CARDS (formation modalities)
   ========================================================================== */

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
}

.modality-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
}

.modality-card h4 {
    color: #2c3e50;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modality-card h4 i {
    color: #dc3545;
}

.modality-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #495057;
    margin: 0 0 12px 0;
}

.modality-card ul {
    padding-left: 0;
}

.modality-card ul li {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 4px 0 4px 20px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .duration-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }

    .duration-number {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   QUICK NAVIGATION
   ========================================================================== */

.legislation-nav {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 3rem;
}

.legislation-nav h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    margin: 0 0 1rem 0;
}

.quick-nav-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.quick-nav-list li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.quick-nav-list li a:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.quick-nav-list li a i {
    color: #dc3545;
    transition: color 0.3s ease;
    width: 16px;
    text-align: center;
}

.quick-nav-list li a:hover i {
    color: white;
}

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */

.content-section {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-section.highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #dc3545;
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #dc3545;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.section-header h2 i {
    color: #dc3545;
}

/* ==========================================================================
   LEGAL FRAMEWORK CARDS
   ========================================================================== */

.legal-framework {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.law-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #dc3545;
    transition: all 0.3s ease;
}

.law-card.primary {
    background: linear-gradient(135deg, #ffe5e8 0%, #ffffff 100%);
}

.law-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.law-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.law-icon i {
    font-size: 2rem;
    color: #dc3545;
}

.law-content h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.law-reference {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #28a745;
}

.law-reference strong { color: #28a745; }

.law-reference a {
    color: #007bff;
    text-decoration: none;
    word-break: break-word;
}

.law-reference a:hover { text-decoration: underline; }

.law-highlight {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: white;
    border-left: 4px solid #ffd700;
    border-radius: 8px;
    position: relative;
}

.law-highlight blockquote {
    margin: 0;
    padding-left: 2rem;
    font-style: italic;
    color: #495057;
    line-height: 1.8;
}

.law-points {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.law-points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
}

.law-points li i { color: #28a745; }

/* ==========================================================================
   INFO BOXES
   ========================================================================== */

.info-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.info-box i { font-size: 1.5rem; flex-shrink: 0; }

.info-box h4 { margin: 0 0 0.5rem; font-size: 1.125rem; }

.info-box p { margin: 0; line-height: 1.6; }

.info-box.warning { background: #fff3cd; border-left-color: #ffc107; }
.info-box.warning i { color: #ffc107; }

.info-box.success { background: #d4edda; border-left-color: #28a745; }
.info-box.success i { color: #28a745; }

.info-box.primary { background: #d1ecf1; border-left-color: #17a2b8; }
.info-box.primary i { color: #17a2b8; }

.info-box.danger { background: #f8d7da; border-left-color: #dc3545; }
.info-box.danger i { color: #dc3545; }

/* ==========================================================================
   ENTITY CARDS
   ========================================================================== */

.entity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.entity-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.entity-card.mandatory { border: 2px solid #28a745; }
.entity-card.exempt { border: 2px solid #6c757d; }

.entity-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.entity-card.mandatory .entity-icon { background: #d4edda; color: #28a745; }
.entity-card.exempt .entity-icon { background: #e9ecef; color: #6c757d; }

.entity-card h3 { color: #2c3e50; margin-bottom: 1rem; }

.entity-card ul { list-style: none; padding: 0; margin: 0; }

.entity-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
}

.entity-card.mandatory ul li i { color: #28a745; margin-top: 0.25rem; }
.entity-card.exempt ul li i { color: #dc3545; margin-top: 0.25rem; }

.entity-card .note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
}

.entity-card .note i { color: #007bff; flex-shrink: 0; }

/* ==========================================================================
   EXEMPTIONS SECTION WRAPPER
   ========================================================================== */

.exemptions-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.exemptions-section h3 { color: #2c3e50; margin-bottom: 1.5rem; }

/* ==========================================================================
   CERTIFICATION INFO
   ========================================================================== */

.certification-info {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #d4edda 0%, #ffffff 100%);
    border: 2px solid #28a745;
    border-radius: 12px;
}

.certification-info h3 { color: #28a745; margin-bottom: 1rem; }

/* ==========================================================================
   MODULE HEADER (numbered modules variant)
   ========================================================================== */

.module-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
}

.module-number {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.module-header h4 { flex: 1; margin: 0; color: #2c3e50; font-size: 1.25rem; }

.module-duration {
    background: #28a745;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
}

.module-content { padding: 1.5rem; }
.module-content ul { list-style: none; padding: 0; margin: 0; }
.module-content li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
    line-height: 1.6;
}
.module-content li i { color: #dc3545; margin-top: 0.25rem; }

/* ==========================================================================
   MODALITY BADGE + LEGAL STATUS + VALIDATION PROCESS
   ========================================================================== */

.comparison-intro .lead {
    font-size: 1.25rem;
    color: #2c3e50;
    line-height: 1.8;
    font-weight: 500;
}

.modality-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    background: #ffe5e8;
    color: #dc3545;
}

.modality-badge i { font-size: 1.5rem; }

.legal-status {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
}

.legal-status.success { background: #d4edda; border: 1px solid #28a745; }
.legal-status i { color: #28a745; flex-shrink: 0; }

.validation-process {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.validation-process h3 { color: #2c3e50; margin-bottom: 2rem; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step { text-align: center; }

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-content h4 { color: #2c3e50; margin-bottom: 0.5rem; }
.step-content p { color: #6c757d; font-size: 0.875rem; margin: 0; }

/* ==========================================================================
   COMPLIANCE GRID
   ========================================================================== */

.intro-compliance .lead {
    font-size: 1.25rem;
    color: #2c3e50;
    line-height: 1.8;
    text-align: center;
    font-weight: 500;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.compliance-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.compliance-item:hover {
    border-color: #dc3545;
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.15);
    transform: translateY(-5px);
}

.compliance-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.compliance-item h3 { color: #2c3e50; margin-bottom: 1rem; font-size: 1.25rem; }
.compliance-item p { color: #495057; line-height: 1.6; margin-bottom: 1rem; }
.compliance-item ul { list-style: none; padding: 0; margin: 1rem 0; }
.compliance-item ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.375rem 0;
    color: #495057;
}
.compliance-item ul li i { color: #28a745; margin-top: 0.25rem; }

.compliance-item .validity {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fff3cd;
    border-radius: 8px;
    font-weight: 600;
    color: #856404;
}

.compliance-item .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.compliance-item .learn-more:hover { gap: 0.75rem; }

.testimonials-compliance {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
}

.testimonials-compliance h3 { color: #2c3e50; margin-bottom: 1.5rem; }

.recognition-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.recognition-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.recognition-item i { color: #28a745; font-size: 1.5rem; }

.cta-compliance {
    margin-top: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, #102a43 0%, #1a3a5c 100%);
    color: white;
    border-radius: 12px;
    text-align: center;
}

.cta-compliance h3 { color: white; font-size: 2rem; margin-bottom: 0.5rem; }
.cta-compliance p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.95; color: #fff; }

/* ==========================================================================
   SANCTIONS
   ========================================================================== */

.sanctions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.sanction-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sanction-item.administrative { border-left-color: #ffc107; }
.sanction-item.financial { border-left-color: #dc3545; }
.sanction-item.reputational { border-left-color: #6c757d; }

.sanction-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.sanction-item.administrative .sanction-icon { background: #fff3cd; color: #ffc107; }
.sanction-item.financial .sanction-icon { background: #f8d7da; color: #dc3545; }
.sanction-item.reputational .sanction-icon { background: #e9ecef; color: #6c757d; }

.sanction-content h3 { color: #2c3e50; margin-bottom: 1rem; }
.sanction-content ul { list-style: none; padding: 0; margin: 0; }
.sanction-content ul li { margin-bottom: 1rem; }
.sanction-content ul li strong { display: block; color: #2c3e50; margin-bottom: 0.25rem; }
.sanction-content ul li p { margin: 0; color: #6c757d; }

/* ==========================================================================
   CONTROL PROCESS
   ========================================================================== */

.control-process {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.control-process h3 { color: #2c3e50; margin-bottom: 2rem; }

.control-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.control-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.control-step .step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.control-step h4 { color: #2c3e50; margin: 0 0 0.5rem; }
.control-step p { margin: 0; color: #495057; line-height: 1.6; }

/* ==========================================================================
   PREVENTION BOX
   ========================================================================== */

.prevention-box {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #d4edda 0%, #ffffff 100%);
    border: 2px solid #28a745;
    border-radius: 12px;
}

.prevention-box h3 { color: #28a745; margin-bottom: 1rem; }

.prevention-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.prevention-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #495057;
}
.prevention-list li i { color: #28a745; margin-top: 0.25rem; }

.urgent-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    text-align: center;
}

.urgent-cta p { margin-bottom: 1rem; font-size: 1.125rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover { border-color: #dc3545; }

.faq-question {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    cursor: pointer;
    background: #f8f9fa;
    transition: background 0.3s ease;
}

.faq-question:hover { background: #e9ecef; }
.faq-question i { color: #dc3545; font-size: 1.25rem; }
.faq-question h3 { margin: 0; color: #2c3e50; font-size: 1.125rem; flex: 1; }

.faq-answer {
    padding: 1.5rem;
    color: #495057;
    line-height: 1.8;
    border-top: 1px solid #e9ecef;
}

.faq-answer p { margin: 0; }

/* ==========================================================================
   FINAL CTA + BUTTONS
   ========================================================================== */

.final-cta { margin: 4rem 0 2rem; }

.cta-box {
    background: linear-gradient(135deg, #102a43 0%, #1a3a5c 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(16, 42, 67, 0.3);
}

.cta-box h2 { color: white; font-size: 2.5rem; margin-bottom: 0.5rem; }
.cta-subtitle { font-size: 1.25rem; opacity: 0.95; margin-bottom: 2rem; }

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.cta-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.cta-features .feature i { color: #d4edda; }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-lg { padding: 1.25rem 2.5rem; font-size: 1.125rem; }
.btn-xl { padding: 1.5rem 3rem; font-size: 1.25rem; }

.btn-primary { background: #dc3545; color: white; }
.btn-primary:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.3);
}

.btn-secondary { background: #6c757d; color: white; }
.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 117, 125, 0.3);
}

.btn-danger { background: #dc3545; color: white; }
.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.3);
}

.btn-outline { background: transparent; color: white; border-color: white; }
.btn-outline:hover { background: white; color: #102a43; }

/* ==========================================================================
   RESPONSIVE — ADDITIONAL BREAKPOINTS
   ========================================================================== */

@media (max-width: 1200px) {
    .quick-nav-list { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
}

@media (max-width: 992px) {
    .content-section { padding: 2rem; }
    .law-card { flex-direction: column; }
    .entity-grid { grid-template-columns: 1fr; }
    .compliance-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .section-header h2 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .legislation-nav { padding: 1.5rem; }
    .quick-nav-list { grid-template-columns: 1fr; }
    .content-section { padding: 1.5rem; }
    .law-icon { width: 60px; height: 60px; }
    .law-icon i { font-size: 1.5rem; }
    .process-steps { grid-template-columns: 1fr; }
    .cta-box { padding: 2rem 1.5rem; }
    .cta-box h2 { font-size: 1.75rem; }
    .cta-features { flex-direction: column; gap: 1rem; }
    .cta-buttons { flex-direction: column; }
    .btn-xl { width: 100%; justify-content: center; }
    .sanction-item { flex-direction: column; gap: 1rem; }
}

@media (max-width: 576px) {
    .control-step { flex-direction: column; }
    .recognition-list { grid-template-columns: 1fr; }
    .modality-card { padding: 1.5rem; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
    .legislation-nav,
    .cta-compliance,
    .final-cta { display: none; }

    .content-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
