/* ============================================================
   Decimo - Legal / Info pages
   ============================================================ */

.legal-page { padding-top: 96px; min-height: 100vh; background: var(--bg); }
.legal-container { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem 4.5rem; }

.legal-header { text-align: center; margin-bottom: 2.6rem; }
.legal-header h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; margin-top: .8rem; letter-spacing: -0.5px; }
.legal-updated { font-size: .9rem; color: var(--text-muted); font-weight: 700; margin-top: .4rem; }

.legal-content {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 3rem);
    box-shadow: var(--shadow-sm);
}
.legal-intro { font-size: 1.08rem; color: var(--text-secondary); font-weight: 600; margin-bottom: 2rem; }

.legal-section { margin-bottom: 2.2rem; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 {
    font-size: 1.3rem; font-weight: 800; margin-bottom: .8rem; color: var(--ink);
    padding-left: 14px; border-left: 4px solid var(--coral); line-height: 1.3;
}
.legal-section h3 { font-size: 1.05rem; font-weight: 800; margin: 1.2rem 0 .5rem; color: var(--coral-dark); }
.legal-section p { color: var(--text-secondary); margin-bottom: .8rem; }
.legal-section ul { list-style: none; margin: .4rem 0 1rem; padding: 0; }
.legal-section li {
    position: relative; padding-left: 26px; margin-bottom: .6rem; color: var(--text-secondary);
}
.legal-section li::before {
    content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px;
    border-radius: 3px; background: var(--grad-teal);
}
.legal-section a { color: var(--coral); font-weight: 700; }
.legal-section a:hover { text-decoration: underline; }
.legal-section strong { color: var(--ink); font-weight: 800; }

.legal-contact {
    background: var(--bg-soft); border-radius: var(--radius-md);
    padding: 1.2rem 1.4rem; margin-top: .6rem;
}
.legal-contact p { margin-bottom: .3rem; }

.callout {
    display: flex; gap: 14px; align-items: flex-start;
    background: linear-gradient(135deg, rgba(77,184,176,.12), rgba(255,213,79,.12));
    border: 1px solid var(--line); border-radius: var(--radius-md);
    padding: 1.1rem 1.3rem; margin: 1.2rem 0;
}
.callout .ico { font-size: 1.5rem; line-height: 1.2; }
.callout p { margin: 0; color: var(--text-secondary); }

/* language toggle */
.lang-toggle { display: flex; gap: 8px; justify-content: center; margin-bottom: 2rem; }
.lang-toggle button {
    font-family: inherit; font-weight: 800; font-size: .9rem; cursor: pointer;
    padding: 8px 20px; border-radius: var(--radius-full);
    border: 1.5px solid var(--line); background: #fff; color: var(--text-secondary);
    transition: all .2s;
}
.lang-toggle button.active { background: var(--grad-coral); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }

.lang-block { display: none; }
.lang-block.active { display: block; }

.steps-deletion { counter-reset: dstep; margin: 1rem 0; }
.step-del {
    position: relative; padding: 1rem 1rem 1rem 3.4rem; margin-bottom: .7rem;
    background: var(--bg-soft); border-radius: var(--radius-md); font-weight: 600; color: var(--text-secondary);
}
.step-del::before {
    counter-increment: dstep; content: counter(dstep);
    position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; background: var(--grad-coral); color: #fff;
    border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: .95rem;
}
