/* Consulenze Legali Web — foglio di stile principale */

@font-face { font-family: "Hepta Slab"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hepta-slab-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hepta Slab"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hepta-slab-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hepta Slab"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hepta-slab-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #e7ebfa;
  --bg-alt: #ccd0de;
  --green: #b9d992;
  --navy: #0b2062;
  --navy-dark: #031049;
  --blue: #0032be;
  --blue-hover: #0029a4;
  --gold: #b8862b;
  --text: #15141a;
  --muted: #4a4a55;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(11, 32, 98, .08);
  --wrap: 1180px;
  --font-head: "Hepta Slab", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); font-weight: 500; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--alt { background: var(--bg-alt); }
.section--green { background: var(--green); }
.section-title { text-align: center; margin-bottom: 1.4em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Bottoni */
.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; padding: 11px 24px; border-radius: 8px; font-weight: 600; border: 0; cursor: pointer; font: inherit; font-weight: 600; transition: background .2s; }
.btn:hover, .btn:focus-visible { background: var(--blue-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn--ghost:hover { background: var(--blue); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid rgba(11, 32, 98, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 20px; }
.brand img { height: 52px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.main-nav a { color: var(--text); text-decoration: none; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }
.header-cta { padding: 9px 20px; }
@media (max-width: 960px) {
  .nav-toggle { display: block; order: 3; }
  .header-cta { display: none; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid rgba(11, 32, 98, .1); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .main-nav a { display: block; padding: 10px 0; font-size: 1.05rem; }
  .brand img { height: 44px; }
}

/* Hero */
.hero { padding: clamp(32px, 5vw, 64px) 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-text p { font-size: 1.05rem; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

/* Servizi */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.service-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.service-card .body { padding: 22px 22px 8px; }
.service-card h3 { font-size: 1.2rem; }
.service-card p, .service-card li { font-size: .95rem; }
.service-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr; }
.service-card--wide img { height: 100%; aspect-ratio: auto; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { display: flex; }
  .service-card--wide img { aspect-ratio: 3 / 2; }
}

/* Come funziona / prezzi */
.how-intro { max-width: 820px; margin: 0 auto 36px; font-size: 1.05rem; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.price-card { background: var(--card); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.price-card h3 { font-size: 1.15rem; border-bottom: 2px solid var(--bg); padding-bottom: .5em; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 .8em; }
.price-card li { padding: 6px 0; border-bottom: 1px dashed #e0e0e6; font-size: .95rem; }
.price-card li:last-child { border-bottom: 0; }
.price-card li p { margin: 0; }
.price-card li strong { color: var(--navy); }
.price-card > p { font-size: .92rem; color: var(--muted); }
.price-card--wide { grid-column: 1 / -1; }
.price-sub { columns: 3 280px; column-gap: 28px; }
.price-sub > div { break-inside: avoid; margin-bottom: 18px; }
.price-sub > div > p:first-child { margin-bottom: .3em; color: var(--navy); }
.how-note { text-align: center; margin-top: 30px; }

/* Banner */
.quote-banner { text-align: center; }
.quote-banner h2 { margin-bottom: .3em; }
.quote-banner p { font-size: 1.1rem; margin: 0; }
.image-banner { height: 320px; background-size: cover; background-position: center; }

/* Recensioni */
.reviews { position: relative; max-width: 860px; margin: 0 auto; }
.reviews-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 20px; }
.reviews-track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 100%; scroll-snap-align: center; text-align: center; margin: 0; padding: 8px 48px; }
.review blockquote { margin: 0 0 1em; font-size: 1.12rem; font-style: italic; color: var(--navy-dark); }
.review figcaption { font-weight: 600; color: var(--navy); }
.stars { color: #c48a0b; letter-spacing: 3px; margin-bottom: 10px; }
.reviews-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 18px; }
.reviews-nav button { background: var(--navy); color: #fff; border: 0; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.reviews-nav button:hover { background: var(--blue); }
.reviews-count { min-width: 50px; text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .review { padding: 8px 4px; } }

/* Chi siamo */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); position: sticky; top: 100px; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-grid img { position: static; } }

/* Articoli */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.12rem; margin-bottom: .4em; }
.post-card h2 a, .post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--blue); }
.post-card time { font-size: .85rem; color: var(--muted); display: block; margin-bottom: .6em; }
.post-card p { font-size: .93rem; color: var(--muted); margin-bottom: 1em; }
.post-card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
@media (max-width: 960px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } }
.center { text-align: center; margin-top: 32px; }

/* Contatti */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.contact-info { font-style: normal; }
.contact-direct { margin-top: 1.4em; display: flex; flex-wrap: wrap; gap: 12px; }
.contact-form { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; color: var(--navy); }
.field input, .field textarea, .field select { width: 100%; padding: 11px 13px; border: 1px solid #b8bccc; border-radius: 8px; font: inherit; background: #fff; color: var(--text); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-bottom: 18px; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -5000px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: #1e7a35; }
.form-status.err { color: #b3261e; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* Pagine interne / articolo */
.page { padding: clamp(32px, 5vw, 64px) 0; }
.prose { max-width: 780px; margin: 0 auto; background: var(--card); border-radius: var(--radius); padding: clamp(22px, 5vw, 52px); box-shadow: var(--shadow); }
.prose h2 { font-size: 1.5rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.22rem; margin-top: 1.5em; }
.prose li p { margin-bottom: .4em; }
.prose table { border-collapse: collapse; width: 100%; margin-bottom: 1em; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid #d5d8e5; padding: 8px 10px; text-align: left; }
.prose blockquote { border-left: 4px solid var(--green); margin: 1em 0; padding: .3em 1em; color: var(--muted); }
.breadcrumb { font-size: .88rem; margin-bottom: 1.2em; color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; }
.breadcrumb a { text-decoration: none; }
.post-meta { color: var(--muted); font-size: .92rem; margin-bottom: 1.4em; }
.post-cover { border-radius: 10px; margin-bottom: 1.8em; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cta-box { margin-top: 2.4em; background: var(--bg); border-left: 5px solid var(--blue); border-radius: 10px; padding: 22px 24px; }
.cta-box h2 { font-size: 1.3rem; margin-top: 0; }
.related { max-width: 1180px; margin: 56px auto 0; }
.page-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid rgba(11, 32, 98, .1); padding: 40px 0 28px; font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer-inner img { height: 46px; width: auto; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-copy { margin-top: 22px; text-align: center; color: var(--muted); }
.footer-copy a { color: var(--blue); }

/* WhatsApp flottante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.06); }
@media (max-width: 640px) { .site-footer { padding-bottom: 90px; } }

/* Ricerca articoli */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.blog-search { position: relative; max-width: 620px; margin: 0 auto 12px; }
.blog-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.blog-search input { width: 100%; padding: 14px 16px 14px 46px; border: 1px solid #b8bccc; border-radius: 999px; font: inherit; background: #fff; color: var(--text); box-shadow: var(--shadow); }
.blog-search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.blog-search-status { text-align: center; color: var(--muted); font-size: .92rem; min-height: 1.4em; margin-bottom: 24px; }
.blog-search-empty { text-align: center; font-size: 1.05rem; padding: 24px 0; }
.post-card[hidden] { display: none; }

/* ===== v2: menu servizi, pagine servizio, prezzi in evidenza ===== */
.main-nav .has-sub { position: relative; }
.main-nav .caret { width: 12px; height: 12px; margin-left: 4px; vertical-align: middle; }
.main-nav .is-active { color: var(--blue); }
.main-nav .sub { display: none; position: absolute; top: 100%; left: -14px; min-width: 240px; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(11, 32, 98, .15); padding: 8px 0; flex-direction: column; gap: 0; z-index: 60; }
.main-nav .sub a { display: block; padding: 8px 18px; }
.main-nav .sub a:hover { background: var(--bg); }
.main-nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
@media (min-width: 961px) {
  .main-nav .has-sub:hover > .sub, .main-nav .has-sub:focus-within > .sub { display: flex; }
}
@media (max-width: 960px) {
  .main-nav { max-height: calc(100vh - 70px); overflow-y: auto; }
  .main-nav .sub { display: flex; position: static; box-shadow: none; background: transparent; padding: 0 0 6px 14px; min-width: 0; }
  .main-nav .sub a { padding: 6px 0; font-size: .97rem; color: var(--muted); }
  .main-nav .caret { display: none; }
}

.btn--small { padding: 8px 16px; font-size: .9rem; }
.btn--block { display: block; width: 100%; text-align: center; }
.hero-points { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 8px; }
.hero-points li { padding-left: 28px; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.service-img { position: relative; display: block; }
.price-badge { position: absolute; top: 14px; left: 14px; background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.price-badge--big { font-size: 1.05rem; padding: 8px 16px; top: 18px; left: 18px; }
.hero-img { position: relative; }
.service-card h3 a { color: var(--navy); text-decoration: none; }
.service-card h3 a:hover { color: var(--blue); }
.service-card .body { display: flex; flex-direction: column; flex: 1; padding-bottom: 22px; }
.card-actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.card-actions .more { font-weight: 600; text-decoration: none; }

.steps { list-style: none; padding: 0; margin: 0 auto 36px; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 20px 20px 18px 66px; position: relative; box-shadow: var(--shadow); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; }
.steps strong { display: block; color: var(--navy); margin-bottom: 4px; }
.steps span { font-size: .93rem; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.svc-hero { padding: clamp(24px, 4vw, 48px) 0 clamp(32px, 5vw, 64px); }
.svc-hero .lead { font-size: 1.08rem; }
.svc-hero .hero-img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.section--white { background: #fff; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.svc-body { max-width: 760px; }
.svc-body h2 { font-size: 1.55rem; margin-top: 1.6em; }
.svc-body h2:first-child { margin-top: 0; }
.svc-body .steps { grid-template-columns: 1fr; margin: 0 0 1em; }
.svc-body .steps li { box-shadow: none; background: var(--bg); }
.svc-aside { position: sticky; top: 96px; display: grid; gap: 20px; }
.svc-aside .price-card { background: var(--bg); box-shadow: none; }
.svc-aside .price-card h3 { border-bottom-color: #fff; }
.svc-aside .price-sub { columns: 1; }
.aside-box { background: var(--bg); border-radius: var(--radius); padding: 20px 24px; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { padding: 5px 0; }
.aside-box a { text-decoration: none; }
@media (max-width: 960px) { .svc-layout { grid-template-columns: 1fr; } .svc-aside { position: static; } }

.faq { display: grid; gap: 10px; }
.faq-item { background: var(--bg); border-radius: 10px; padding: 0 20px; }
.faq-item summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--blue); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 16px; margin: 0; }

.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1em 0 0; }
.form-note { font-size: .88rem; color: var(--muted); text-align: center; margin: 10px 0 0; }

/* Footer a colonne */
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-cols img { height: 46px; width: auto; }
.footer-claim { margin-top: 12px; color: var(--muted); max-width: 320px; }
.footer-head { font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; margin-bottom: .6em; }
.site-footer .footer-cols ul { display: grid; gap: 6px; }
@media (max-width: 820px) { .footer-cols { grid-template-columns: 1fr; gap: 24px; } }

/* ===== v2b: aspetto sobrio e professionale (blu notte, bianco, grigi) ===== */
:root {
  --bg: #f4f5f8;
  --bg-alt: #ebedf2;
  --line: #dde1ea;
  --shadow: 0 1px 3px rgba(11, 32, 98, .06);
}
body { color: #1d1d24; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.main-nav .sub { box-shadow: 0 8px 24px rgba(11, 32, 98, .12); border: 1px solid var(--line); }
.section--white { background: #fff; }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2 { color: #fff; }
.section--navy p { color: #d6dcef; }
.section--cream { background: #fff; }
.service-card, .post-card, .price-card, .contact-form, .prose, .steps li { box-shadow: none; border: 1px solid var(--line); }
.service-card img, .post-card img { filter: saturate(.85); }
.hero-img img, .svc-hero .hero-img img, .about-grid img { box-shadow: none; }
.hero-points li::before { background-color: var(--navy); }
.steps li::before { background: var(--navy); }
.review blockquote { font-family: var(--font-head); font-style: normal; font-size: 1.15rem; line-height: 1.6; color: var(--navy); }
.review blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: 1; color: var(--line); margin-bottom: 4px; }
.review figcaption { font-weight: 600; color: var(--muted); font-size: .95rem; }
.reviews-nav button { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.reviews-nav button:hover { background: var(--navy); color: #fff; }
.faq-item { background: #fff; border: 1px solid var(--line); }
.faq-item summary::after { color: var(--navy); }
.cta-box { background: var(--bg); border-left: 4px solid var(--navy); }
.prose blockquote { border-left-color: var(--navy); }
.btn--ghost { border-width: 1px; }
.wa-float { background: var(--navy); box-shadow: 0 6px 18px rgba(11, 32, 98, .35); }
.wa-float:hover { background: var(--blue); transform: none; }
.site-footer { background: #fff; border-top: 1px solid var(--line); }

/* Nota compensi in home e compensi nelle pagine servizio */
.fees-note { max-width: 760px; margin: 8px auto 0; text-align: center; border-top: 1px solid var(--line); padding-top: 28px; }
.fees-note .more { font-weight: 600; text-decoration: none; }
.price-card--inline { background: var(--bg); }
.price-foot { font-size: .92rem; color: var(--muted); margin: 10px 0 0; }
.svc-aside .aside-box { background: var(--bg); border: 1px solid var(--line); }

/* Riepilogo prezzi in home */
.price-summary-title { text-align: center; margin: 8px 0 18px; }
.price-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; max-width: 980px; margin: 0 auto; }
.price-chip { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--card); border-radius: 10px; padding: 14px 18px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); border: 1px solid transparent; transition: border-color .2s, transform .2s; }
.price-chip:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--text); }
.price-chip strong { color: var(--navy); white-space: nowrap; }
.price-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 14px 0 0; padding-top: 12px; border-top: 2px solid var(--bg); }
.price-links a:not(.btn) { font-weight: 600; text-decoration: none; }

/* Banner cookie */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto; background: #fff; border-radius: var(--radius); box-shadow: 0 12px 40px rgba(11, 32, 98, .25); padding: 22px 24px 18px; font-size: .92rem; }
.cookie-banner p { margin: 0 32px 14px 0; }
.cookie-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cookie-actions .btn { min-width: 130px; }
.cookie-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 8px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--text); cursor: pointer; }
.link-btn:hover { color: var(--blue); }

/* Scheda "Privacy" a tutta larghezza: immagine orizzontale sopra, testo sotto */
.service-card--wide { display: flex; flex-direction: column; }
.service-card--wide .service-img img { height: auto; aspect-ratio: 21 / 8; object-fit: cover; }
@media (min-width: 821px) { .service-card--wide .body ul { columns: 2; column-gap: 36px; } .service-card--wide .body li { break-inside: avoid; } }
@media (max-width: 640px) { .service-card--wide .service-img img { aspect-ratio: 3 / 2; } }
.service-card--wide .service-img img { aspect-ratio: 2 / 1; object-position: 50% 42%; }
@media (max-width: 640px) { .service-card--wide .service-img img { aspect-ratio: 3 / 2; } }

/* Logo più grande nell'intestazione */
.brand img { height: 70px; }
.header-inner { padding-top: 8px; padding-bottom: 8px; }
@media (max-width: 960px) { .brand img { height: 56px; } }
@media (max-width: 380px) { .brand img { height: 48px; } }
html { scroll-padding-top: 110px; }
.svc-aside { top: 112px; }
@media (min-width: 961px) and (max-width: 1180px) {
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: .92rem; }
  .header-cta { display: none; }
}

/* Pulsante WhatsApp di nuovo verde */
.wa-float { background: #25d366; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.wa-float:hover { background: #1ebe5b; }

/* Video YouTube negli articoli */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--navy); border-radius: 10px; margin: 1.5em 0; display: grid; place-items: center; text-align: center; color: #fff; padding: 16px; }
.video.is-playing { padding: 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.video-play { background: #fff; color: var(--navy); border: 0; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 600; cursor: pointer; }
.video-play span { color: #c00; margin-right: 4px; }
.video-note { font-size: .82rem; color: #d6dcef; margin: 10px 0 0; max-width: 420px; }
.prose img { border-radius: 8px; margin: 1.2em 0; }

/* ===== Annuncio in evidenza (pannello: Annuncio) ===== */
.site-notice { border-bottom: 1px solid; padding: 16px 0; }
.site-notice .wrap { border-left: 4px solid; padding-left: 16px; }
.site-notice-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; margin: 0 0 4px; }
.site-notice-text p { margin: 0 0 .4em; }
.site-notice-text p:last-child { margin-bottom: 0; }
.site-notice--informativo { background: #eaf0fb; border-color: #c9d6f2; color: var(--navy); }
.site-notice--informativo .wrap { border-left-color: var(--blue); }
.site-notice--avviso { background: #fff6e0; border-color: #f0dca6; color: #4a3700; }
.site-notice--avviso .wrap { border-left-color: #d89b00; }
.site-notice--urgente { background: #fdecec; border-color: #f2c4c4; color: #5c1010; }
.site-notice--urgente .wrap { border-left-color: #c62828; }

/* ===== WhatsApp e modulo disattivabili (pannello: Impostazioni › WhatsApp e modulo) ===== */
.js-nowa { display: none; }
.no-wa .js-wa { display: none !important; }
.no-wa .js-nowa { display: inline; }
.form-off { display: none; background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); padding: 24px 26px; align-self: start; }
.form-off p:last-child { margin-bottom: 0; }
.no-form .contact-form { display: none; }
.no-form .form-off { display: block; }
.price-also { font-size: .92rem; color: var(--muted); margin: 10px 0 0; }

/* ===== Autore e categorie degli articoli ===== */
.post-author { font-weight: 600; color: var(--navy); }
.post-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: -0.6em 0 1.4em; }
.post-cats a, .cat-nav a { display: inline-block; font-size: .85rem; text-decoration: none; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); background: #fff; }
.post-cats a:hover, .cat-nav a:hover { border-color: var(--navy); }
.cat-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 18px; max-width: 900px; }
.cat-nav a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-nav a span { opacity: .6; margin-left: 2px; }
.prose--page .lead { font-size: 1.1rem; color: var(--muted); }
.promo-status { font-size: .88rem; margin: 6px 0 0; min-height: 1.3em; }
.promo-status.ok { color: #1e7a35; font-weight: 600; }
.promo-status.err { color: #b3261e; }
