/* ===========================================
   Estilos Modernos para Páginas Legales
   HYG Consultores - 2026
   =========================================== */

/* Hero Section */
.legal-hero {
    background: #ce6505;
    color: #fff;
    padding: 80px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.legal-hero .title {
    color: #fff;
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.legal-hero .page-next-level {
    position: relative;
    z-index: 1;
}

.legal-hero .date {
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.9rem;
}

.legal-hero .date .text-dark {
    color: #fff !important;
    font-weight: 600;
}

/* Breadcrumb */
.legal-breadcrumb .breadcrumb {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 10px 20px;
    backdrop-filter: blur(5px);
}

.legal-breadcrumb .breadcrumb-item a {
    color: #ce6505;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-breadcrumb .breadcrumb-item a:hover {
    color: #a8a800;
}

.legal-breadcrumb .breadcrumb-item.active {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Wave Shape */
.legal-wave {
    position: relative;
    margin-top: -2px;
}

.legal-wave svg {
    display: block;
    width: 100%;
}

/* Main Content Card */
.legal-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-top: -50px;
    background: #fff;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #a8a800;
}

.legal-card .card-body {
    padding: 3rem 2.5rem;
}

/* Card Titles */
.legal-card .card-title {
    color: #ce6505;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-card .card-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: #a8a800;
    border-radius: 4px;
}

/* List Items */
.legal-card ul.list-unstyled {
    margin-top: 1.5rem;
}

.legal-card ul.list-unstyled li {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.7;
    padding: 16px 20px;
    background: #fffbe6;
    border-radius: 12px;
    border-left: 4px solid #ce6505;
    transition: all 0.3s ease;
}

.legal-card ul.list-unstyled li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(206, 101, 5, 0.1);
    border-left-color: #a8a800;
}

.legal-card ul.list-unstyled li strong {
    color: #ce6505;
    font-weight: 600;
}

.legal-card ul.list-unstyled li .fea {
    color: #a8a800;
    margin-right: 8px;
}

/* Button */
.legal-card .btn-primary {
    background: #ce6505;
    border: none;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 12px 28px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(206, 101, 5, 0.25);
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.legal-card .btn-primary:hover {
    background: #a8a800;
    box-shadow: 0 4px 12px rgba(168, 168, 0, 0.3);
    color: #fff;
    transform: translateY(-1px);
}

.legal-card .btn-primary:active {
    transform: translateY(0);
}

.legal-card .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.legal-card .btn-outline-secondary:hover {
    background: #6c757d;
    color: #fff;
}

/* Contact Link */
.legal-card a:not(.btn) {
    color: #ce6505;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.legal-card a:not(.btn):hover {
    color: #a8a800;
    border-bottom-color: #a8a800;
}

/* Section Spacing */
.legal-section {
    padding: 60px 0 40px 0;
    background: #fff;
    min-height: 100vh;
}

/* Legal Footer */
.legal-footer {
    color: #888;
    font-size: 0.85rem;
    border-top: 2px solid #e2e8f0;
    padding: 1.5rem 0;
    margin-top: 3rem;
    background: none;
}

/* Legal Text Focus Styles */
.legal-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.9;
    background: #fff;
}

.legal-title {
    color: #ce6505;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #a8a800;
}

.legal-intro {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.legal-list li {
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    border-left: 4px solid #ce6505;
    background: #fffef8;
    font-size: 0.95rem;
    line-height: 1.8;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.legal-list li:hover {
    background: #fffbe6;
    padding-left: 1.5rem;
}

.legal-section-title {
    color: #ce6505;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.legal-contact {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.legal-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Responsive */
@media (max-width: 991px) {
    .legal-hero {
        padding: 70px 0 50px 0;
    }
    .legal-hero .title {
        font-size: 2.25rem;
    }
    .legal-card .card-body {
        padding: 2.5rem 2rem;
    }
    .legal-title {
        font-size: 1.5rem;
    }
    .legal-intro {
        font-size: 1rem;
    }
    .legal-list li {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .legal-hero {
        padding: 50px 0 40px 0;
    }
    .legal-hero .title {
        font-size: 1.75rem;
    }
    .legal-hero .page-next-level p {
        font-size: 0.9rem;
    }
    .legal-card {
        margin-top: -30px;
        border-radius: 12px;
    }
    .legal-card .card-body {
        padding: 2rem 1.25rem;
    }
    .legal-title {
        font-size: 1.35rem;
    }
    .legal-intro {
        font-size: 0.95rem;
    }
    .legal-list li {
        padding: 0.75rem 0.85rem;
        font-size: 0.9rem;
        margin-bottom: 0.85rem;
    }
    .legal-section-title {
        font-size: 0.95rem;
    }
    .legal-breadcrumb .breadcrumb {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    .legal-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
        margin-left: 0 !important;
    }
    .legal-footer {
        font-size: 0.75rem;
        padding: 1rem 0;
    }
}

@media (max-width: 576px) {
    .legal-hero {
        padding: 40px 0 30px 0;
    }
    .legal-hero .title {
        font-size: 1.5rem;
    }
    .legal-card .card-body {
        padding: 1.5rem 1rem;
    }
    .legal-title {
        font-size: 1.25rem;
    }
    .legal-list li {
        padding: 0.65rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .legal-hero {
        background: #ce6505 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        padding: 40px 0 30px 0 !important;
    }
    .legal-breadcrumb {
        display: none;
    }
    .legal-wave {
        display: none;
    }
    .legal-card {
        box-shadow: none;
        border: 1px solid #ddd;
        margin-top: 0;
        page-break-inside: avoid;
    }
    .legal-card::before {
        background: #a8a800 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .legal-title {
        border-bottom-color: #a8a800 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .legal-list li {
        page-break-inside: avoid;
        border-left-color: #ce6505 !important;
        background: #fffef8 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .btn, .legal-actions {
        display: none !important;
    }
    .legal-footer {
        border-top: 1px solid #ddd !important;
        margin-top: 2rem;
        font-size: 0.75rem;
    }
}
