/* ============================================================
   legal.css — Stili pagine legali (Privacy e Cookie Policy)
   Sito: Lavanderia L'ApeGreen
   Percorso: lavanderialapegreen/css/legal.css
   ============================================================ */

@import url('style.css');

/* ------------------------------------------------------------
   SEZIONE
   ------------------------------------------------------------ */
#legal-page {
    background-color: var(--bg-page);
    padding: var(--spacing-xl) var(--spacing-md);
}

.legal-container {
    max-width: 860px;
    margin: 0 auto;
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */
.legal-hero {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 0.5px solid var(--border-color);
}

.legal-eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--btn-bg);
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.legal-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.legal-updated {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0;
}

/* ------------------------------------------------------------
   CONTENUTO
   ------------------------------------------------------------ */
.legal-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.legal-section h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--btn-bg);
    display: inline-block;
}

.legal-section h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 1rem 0 0.5rem;
}

.legal-section p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 0.6rem;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section a {
    color: var(--btn-bg);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.legal-section a:hover { color: var(--btn-bg-hover); }

/* ------------------------------------------------------------
   LISTA
   ------------------------------------------------------------ */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-list li {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
    padding-left: 1.2rem;
    position: relative;
}

.legal-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--btn-bg);
    font-weight: 600;
}

.legal-list a {
    color: var(--btn-bg);
    text-decoration: underline;
}

/* ------------------------------------------------------------
   RESPONSIVE — MOBILE
   ------------------------------------------------------------ */
@media (max-width: 575px) {
    .legal-hero h1 { font-size: 1.6rem; }
    .legal-section h2 { font-size: 1rem; }
}