/* ============================================
   Páginas Legales - Estilos Personalizados
   (Privacidad, Términos y Condiciones)
   ============================================ */

.hero-legal {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 40px;
}

.hero-legal h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-legal .lead {
    font-size: 1.5rem;
    opacity: 0.95;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #2d5a27;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2d5a27, #1e3a8a);
    border-radius: 2px;
}

.legal-section h3 {
    color: #1e3a8a;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.legal-list {
    list-style: none;
    padding: 0;
}

.legal-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #495057;
    line-height: 1.6;
}

.legal-list li:last-child {
    border-bottom: none;
}

.legal-list li i {
    color: #2d5a27;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.legal-list li strong {
    color: #2d5a27;
}

.legal-numbered {
    counter-reset: legal-counter;
    list-style: none;
    padding: 0;
}

.legal-numbered li {
    counter-increment: legal-counter;
    padding: 0.75rem 0 0.75rem 2.5rem;
    position: relative;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    line-height: 1.6;
}

.legal-numbered li:last-child {
    border-bottom: none;
}

.legal-numbered li::before {
    content: counter(legal-counter);
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.legal-highlight {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.05) 0%, rgba(30, 58, 138, 0.05) 100%);
    border-left: 4px solid #2d5a27;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.legal-highlight p {
    margin-bottom: 0;
}

.legal-contact-card {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.legal-contact-card h3 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.legal-contact-card p {
    color: rgba(255, 255, 255, 0.9);
}

.legal-contact-card a {
    color: white;
    text-decoration: underline;
}

.legal-contact-card .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
}

.legal-contact-card .contact-item i {
    font-size: 1.25rem;
}

.legal-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(45, 90, 39, 0.08);
    color: #2d5a27;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.legal-date i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero-legal {
        padding: 60px 0 40px;
    }

    .hero-legal h1 {
        font-size: 2rem;
    }

    .hero-legal .lead {
        font-size: 1.1rem;
    }

    .legal-card {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.5rem;
    z-index: 9999;
    display: none;
    animation: slideUp 0.4s ease-out;
}

.cookie-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner .cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner .cookie-text {
    flex: 1;
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
}

.cookie-banner .cookie-text a {
    color: #2d5a27;
    text-decoration: underline;
}

.cookie-banner .cookie-text a:hover {
    color: #1e3a8a;
}

.cookie-banner .cookie-btn {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.cookie-banner .cookie-btn:hover {
    opacity: 0.9;
}

@media (max-width: 576px) {
    .cookie-banner .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner .cookie-text {
        font-size: 0.85rem;
    }
}
