/* ===================================================
   LEGAL PAGES STYLES (Privacy Policy & Terms)
=================================================== */

.legal-hero {
    background-color: var(--color-dark-teal);
    padding: 180px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.legal-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.doodle-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doodle-svg path {
    animation: dash 60s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 1000;
    }
}

.legal-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #FFFFFF;
    font-weight: 700;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

.legal-content {
    background-color: #FFFFFF;
    padding: 100px 20px;
    min-height: 60vh;
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    font-family: var(--font-primary);
}

.legal-intro-card {
    background: rgba(23, 198, 79, 0.03);
    border: 1px solid rgba(23, 198, 79, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 50px;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.legal-card {
    background: #fff;
    border: 1px solid #edf2f2;
    padding: 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.legal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(7, 42, 48, 0.05);
    border-color: var(--color-signal-green);
}

.legal-card h2 {
    font-size: 22px;
    color: var(--color-dark-teal);
    margin: 0 0 15px;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-card-icon {
    width: 36px;
    height: 36px;
    background: rgba(23, 198, 79, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-signal-green);
}

.legal-card p,
.legal-card li {
    font-size: 15px;
    color: #555;
}

/* Legal Contact Section */
.legal-contact-section {
    margin-top: 80px;
    padding: 60px 40px;
    background: var(--color-dark-teal);
    border-radius: 30px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.legal-contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(23, 198, 79, 0.15) 0%, transparent 70%);
}

.legal-contact-content {
    position: relative;
    z-index: 1;
}

.legal-contact-content h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.legal-contact-content p {
    color: #B8C1C1;
    font-size: 18px;
    margin-bottom: 35px;
}

.legal-contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-legal-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-legal-contact.primary {
    background: var(--color-signal-green);
    color: var(--color-dark-teal);
}

.btn-legal-contact.whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-legal-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 850px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 140px 20px 60px;
    }

    .legal-content {
        padding: 60px 20px;
    }

    .legal-contact-actions {
        flex-direction: column;
    }

    .btn-legal-contact {
        width: 100%;
        justify-content: center;
    }
}