/* ============================================================
   REYES IT - LEGAL (AGB, Privacidad, Impressum)
   ============================================================ */

/* ============================================================
   HERO CON WAVE
   ============================================================ */
.page-hero-with-wave {
    position: relative;
    padding: 160px 0 120px;
    text-align: center;
    background: rgba(248, 250, 255, 0.6);
    overflow: hidden;
    min-height: 45vh;
    display: flex;
    align-items: center;
}

.page-hero-with-wave::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(31, 94, 187, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(73, 167, 232, 0.04) 0%, transparent 60%);
    z-index: 0;
    animation: gradientMove 15s ease-in-out infinite alternate;
}

.page-hero-with-wave .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-hero-with-wave .page-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-with-wave .page-hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.page-hero-with-wave .page-hero-content h1 .highlight {
    background: linear-gradient(135deg, #1f5ebb, #49a7e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero-with-wave .page-hero-content p {
    color: #4a4a6a;
    font-size: 1.1rem;
}

.page-hero-with-wave .hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

.page-hero-with-wave .hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: -2px;
}

@keyframes gradientMove {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(3deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* ============================================================
   CONTENIDO LEGAL
   ============================================================ */
.legal-content {
    padding: 60px 0 80px;
    background: #ffffff;
}

.legal-box {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px 55px;
    border-radius: 24px;
    border: 1px solid #f0f4ff;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.legal-box:hover {
    box-shadow: 0 10px 50px rgba(31, 94, 187, 0.06);
    border-color: rgba(31, 94, 187, 0.08);
}

.legal-box .legal-header {
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 2px solid #f0f4ff;
}

.legal-box h2 {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a2e;
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-box h2:first-child {
    margin-top: 0;
}

.legal-box h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a2e;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-box p,
.legal-box ul {
    color: #4a4a6a;
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.legal-box p strong {
    color: #1a1a2e;
}

.legal-box ul {
    padding-left: 24px;
}

.legal-box ul li {
    margin-bottom: 6px;
}

.legal-box ul li strong {
    color: #1a1a2e;
}

.legal-box a {
    color: #1f5ebb;
    text-decoration: none;
    font-weight: 500;
}

.legal-box a:hover {
    color: #2e7fd6;
    text-decoration: underline;
}

.legal-box .legal-footer {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 2px solid #f0f4ff;
    text-align: center;
    font-size: 0.9rem;
    color: #4a4a6a;
}

.legal-box .legal-footer i {
    color: #1f5ebb;
    margin-right: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .page-hero-with-wave {
        padding: 140px 0 100px;
        min-height: 40vh;
    }
    .page-hero-with-wave .page-hero-content h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .legal-box {
        padding: 30px 24px;
        border-radius: 16px;
    }
    .legal-box h2 {
        font-size: 1.2rem;
    }
    .legal-box h3 {
        font-size: 1rem;
    }
    .legal-box p,
    .legal-box ul {
        font-size: 0.9rem;
    }
    .page-hero-with-wave {
        padding: 120px 0 80px;
        min-height: 35vh;
    }
    .page-hero-with-wave .page-hero-content h1 {
        font-size: 2rem;
    }
    .page-hero-with-wave .page-hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .legal-box {
        padding: 20px 16px;
        border-radius: 12px;
    }
    .legal-box h2 {
        font-size: 1.1rem;
        margin-top: 24px;
    }
    .legal-box p,
    .legal-box ul {
        font-size: 0.85rem;
    }
    .legal-box ul {
        padding-left: 16px;
    }
    .page-hero-with-wave {
        padding: 100px 0 60px;
        min-height: 30vh;
    }
    .page-hero-with-wave .page-hero-content h1 {
        font-size: 1.8rem;
    }
}