/* Stile delle pagine legali (privacy e cookie policy) di edilpower.it */
:root {
    --bg: #0f0f0f;
    --card: #171717;
    --line: #262626;
    --text: #f5f5f5;
    --muted: rgba(245, 245, 245, .7);
    --orange: #ff8c00;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Public Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a { color: var(--orange); }
a:hover { opacity: .8; }

.top {
    border-bottom: 1px solid var(--line);
}
.top .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.top img { width: 140px; height: auto; filter: brightness(0) invert(1); }
.top a.tel { color: var(--text); text-decoration: none; font-weight: 600; }

.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }

main { padding: 48px 0 72px; }

h1, h2, h3 { font-family: 'Manrope', sans-serif; line-height: 1.2; }
h1 { font-size: 2.4rem; font-weight: 800; margin: 0 0 8px; }
h2 { font-size: 1.5rem; font-weight: 800; margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 8px; }

p, li { color: var(--muted); }
strong { color: var(--text); }
ul { padding-left: 20px; }

.updated { font-size: .9rem; color: var(--muted); margin-bottom: 32px; }

.box {
    background: var(--card);
    border-left: 3px solid var(--orange);
    padding: 20px 24px;
    margin: 24px 0;
}
.box p { margin: 4px 0; }

.service {
    background: var(--card);
    padding: 16px 20px;
    margin: 12px 0;
}
.service h3 { margin: 0 0 6px; }
.service p { margin: 4px 0; font-size: .95rem; }

.btn {
    display: inline-block;
    background: var(--orange);
    color: var(--bg);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 14px 24px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: .9rem;
}

.toc { background: var(--card); padding: 16px 24px; }
.toc ol { margin: 0; padding-left: 20px; }

footer {
    border-top: 1px solid var(--line);
    padding: 32px 0;
    font-size: .8rem;
    color: rgba(245, 245, 245, .4);
}
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: rgba(245, 245, 245, .6); text-decoration: none; margin-left: 20px; }
footer a:first-child { margin-left: 0; }

/* Testo da completare prima della pubblicazione */
.da-completare { background: #ffeb3b; color: #000; padding: 0 4px; }

@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    .top img { width: 110px; }
}
