/* =========================================================
   Dashboard PMI - Landing
   Palette: teal #2596be + dark navy #0a1f2e
   ========================================================= */

:root {
    --teal: #2596be;
    --teal-dark: #1a7a9b;
    --teal-light: #d6f0f7;
    --teal-soft: #eaf7fb;
    --navy: #0a1f2e;
    --navy-2: #112c3f;
    --ink: #0f2230;
    --text: #2c3e50;
    --text-soft: #5a6b7a;
    --bg: #ffffff;
    --bg-soft: #f6fafc;
    --border: #e2ecf0;
    --shadow-sm: 0 2px 8px rgba(10, 31, 46, 0.06);
    --shadow-md: 0 8px 28px rgba(10, 31, 46, 0.10);
    --shadow-lg: 0 20px 60px rgba(10, 31, 46, 0.18);
    --radius: 14px;
    --radius-sm: 8px;
    --maxw: 1180px;
    --transition: 0.35s cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}
.container.narrow { max-width: 820px; }

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
}
h1 { font-weight: 800; }

.accent { color: var(--teal); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 1rem;
}
.logo:hover { color: var(--ink); }

.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    box-shadow: 0 4px 12px rgba(37, 150, 190, 0.28);
}

.logo-text { font-weight: 500; }
.logo-text strong { font-weight: 700; color: var(--ink); }
.logo-sep { color: var(--text-soft); margin: 0 4px; }

.site-nav {
    display: flex;
    gap: 28px;
}
.site-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.93rem;
    position: relative;
}
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    height: 2px;
    width: 0;
    background: var(--teal);
    transition: width var(--transition);
}
.site-nav a:hover::after { width: 100%; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
    font-family: inherit;
}
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

.btn-primary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 150, 190, 0.25);
}
.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(37, 150, 190, 0.35);
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-ghost-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 13px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all var(--transition);
}
.btn-ghost-light:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
    color: #fff;
}

/* =========================================================
   ERA / SECTION HEAD
   ========================================================= */
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 18px;
}
.eyebrow-light {
    color: #6cc4dc;
}

.section { padding: 110px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark {
    background: var(--navy);
    color: #c9d6df;
}
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #fff; }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.section-head h2 {
    font-size: clamp(1.85rem, 3.8vw, 2.5rem);
    margin-bottom: 16px;
}
.section-head p {
    font-size: 1.08rem;
    color: var(--text-soft);
}
.section-dark .section-head p { color: #95a8b4; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    padding: 80px 0 100px;
    background:
        radial-gradient(circle at 80% 0%, rgba(37, 150, 190, 0.10) 0%, transparent 55%),
        radial-gradient(circle at 0% 80%, rgba(37, 150, 190, 0.06) 0%, transparent 50%),
        #fff;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 4.8vw, 3.5rem);
    margin-bottom: 22px;
}
.hero-text .lead {
    font-size: 1.15rem;
    color: var(--text-soft);
    margin-bottom: 32px;
    max-width: 540px;
}
.hero-text .lead strong { color: var(--ink); font-weight: 600; }

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-foot {
    font-size: 0.92rem;
    color: var(--text-soft);
    padding-top: 24px;
    border-top: 1px solid var(--border);
    max-width: 540px;
}
.hero-foot strong { color: var(--ink); font-weight: 600; }

/* HERO VISUAL - Dashboard Mockup */
.hero-visual {
    position: relative;
}

.dash-mock {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.dash-top {
    background: var(--bg-soft);
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-bottom: 1px solid var(--border);
}
.dash-top .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #e0e7eb;
}
.dash-top .dot:nth-child(1) { background: #ff6058; }
.dash-top .dot:nth-child(2) { background: #ffbd2e; }
.dash-top .dot:nth-child(3) { background: #28ca42; }
.dash-title {
    margin-left: 14px;
    font-size: 0.82rem;
    color: var(--text-soft);
    font-weight: 500;
}

.dash-grid {
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}

.kpi {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 13px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.kpi-label {
    font-size: 0.7rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}
.kpi-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
}
.kpi-trend {
    font-size: 0.74rem;
    font-weight: 500;
}
.kpi-trend.up { color: #1a9d5e; }
.kpi-trend.down { color: #d6584b; }

.chart {
    grid-column: 1 / 3;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 13px;
    display: flex;
    flex-direction: column;
}
.chart svg {
    width: 100%;
    height: 86px;
    margin-bottom: 6px;
}
.chart-label {
    font-size: 0.7rem;
    color: var(--text-soft);
}

.bars {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 13px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 100%;
    min-height: 110px;
}
.bars .bar {
    flex: 1;
    background: var(--teal);
    border-radius: 2px 2px 0 0;
    height: var(--h);
    opacity: 0.85;
}

/* =========================================================
   INTRO + QUOTE
   ========================================================= */
.intro {
    padding: 90px 0;
}
.intro p {
    font-size: 1.13rem;
    color: var(--text);
    margin-bottom: 22px;
    line-height: 1.75;
}
.intro p strong { color: var(--ink); font-weight: 600; }

.pull-quote {
    margin: 50px 0;
    padding: 28px 32px;
    border-left: 3px solid var(--teal);
    background: var(--teal-soft);
    border-radius: 0 var(--radius) var(--radius) 0;
    quotes: none;
}
.pull-quote p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.55;
    margin: 0;
    font-style: italic;
}
.pull-quote.highlight {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 3px solid var(--teal);
    box-shadow: var(--shadow-sm);
}
.pull-quote.highlight p { font-style: normal; }

/* =========================================================
   PROBLEMA - Cards numerate (no emoji)
   ========================================================= */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.problem-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: all var(--transition);
}
.problem-card:hover {
    background: rgba(37, 150, 190, 0.06);
    border-color: rgba(37, 150, 190, 0.4);
    transform: translateY(-3px);
}
.problem-num {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}
.problem-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}
.problem-card p {
    color: #95a8b4;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================================
   PRIMA / DOPO
   ========================================================= */
.compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
}

.compare-col {
    border-radius: var(--radius);
    padding: 32px 30px;
    box-shadow: var(--shadow-sm);
}
.compare-col.before {
    background: #f5f6f8;
    border: 1px solid #e5e7eb;
}
.compare-col.after {
    background: #fff;
    border: 1px solid var(--teal);
    box-shadow: 0 8px 24px rgba(37, 150, 190, 0.12);
}
.compare-col h3 {
    font-size: 1.25rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid;
    font-weight: 600;
}
.compare-col.before h3 { color: #6b7280; border-color: #e0e2e6; }
.compare-col.after h3 { color: var(--teal); border-color: var(--teal-light); }

.compare-col ul { list-style: none; }
.compare-col li {
    padding: 9px 0;
    font-size: 1.02rem;
    color: var(--text);
    border-bottom: 1px dashed transparent;
}
.compare-col.before li { color: #707d8c; }

.compare-col li::before {
    content: "—";
    color: var(--teal);
    margin-right: 12px;
    font-weight: 600;
}
.compare-col.before li::before { color: #b0b7be; }

.compare-arrow {
    align-self: center;
    font-size: 2.2rem;
    color: var(--teal);
    font-weight: 300;
}

/* =========================================================
   IDEA / SERVIZIO
   ========================================================= */
.idea-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 30px;
}

.idea-text p {
    font-size: 1.08rem;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.7;
}
.idea-text p strong { color: var(--ink); font-weight: 600; }

.idea-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.feature {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 3px solid var(--teal);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-md);
}
.feature-num {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.feature h4 {
    font-size: 1.08rem;
    margin-bottom: 6px;
    font-weight: 600;
}
.feature p {
    font-size: 0.95rem;
    color: var(--text-soft);
    margin: 0;
    line-height: 1.55;
}

/* =========================================================
   CHI SONO / BIO
   ========================================================= */
.bio p {
    font-size: 1.08rem;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.75;
}

.bio-meta {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}
.bio-meta div { }
.bio-meta dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    font-weight: 700;
    margin-bottom: 8px;
}
.bio-meta dd {
    font-size: 0.98rem;
    color: var(--text);
    line-height: 1.5;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq details {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px 0;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.faq details[open] {
    border-color: var(--teal);
    box-shadow: var(--shadow-sm);
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 24px;
    font-weight: 600;
    color: var(--ink);
    font-size: 1.02rem;
    position: relative;
    padding-right: 50px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--teal);
    transition: transform var(--transition);
}
.faq details[open] summary::after {
    content: "−";
}
.faq p {
    padding: 0 24px 22px;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
    padding: 100px 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(37, 150, 190, 0.16) 0%, transparent 60%),
        var(--navy);
    color: #fff;
    text-align: center;
}
.cta-inner h2 {
    font-size: clamp(1.7rem, 3.8vw, 2.4rem);
    color: #fff;
    margin-bottom: 16px;
}
.cta-inner > p {
    font-size: 1.1rem;
    color: #c9d6df;
    margin-bottom: 32px;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.cta-mail {
    font-size: 0.92rem;
    color: #95a8b4;
    margin-top: 8px;
}

/* =========================================================
   FORM DI CONTATTO
   ========================================================= */
.contact-form {
    margin-top: 36px;
    text-align: left;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #c9d6df;
    font-size: 0.85rem;
    font-weight: 500;
}
.contact-form label > span {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #95a8b4;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    background: #0a1f2e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    font-size: 0.98rem;
    font-family: inherit;
    transition: border-color var(--transition), background var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--teal);
    background: #0d2536;
}
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form ::placeholder {
    color: #5a6b7a;
}

.form-full {
    margin-bottom: 16px;
}

.form-consent {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem !important;
    color: #95a8b4 !important;
    margin: 8px 0 20px;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 400 !important;
    line-height: 1.5;
}
.form-consent input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--teal);
}
.form-consent a {
    color: var(--teal);
    text-decoration: underline;
}
.form-consent a:hover { color: #6cc4dc; }

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 4px;
}

.form-note {
    font-size: 0.8rem;
    color: #6b7a85;
    margin-top: 14px;
    text-align: center;
    font-style: italic;
}

/* Honeypot anti-bot: visualmente nascosto ma senza display:none
   (i bot moderni saltano i campi con display:none) */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; gap: 14px; }
    .contact-form { padding: 22px 18px; }
}

/* PEC come immagine (anti-scraping) */
.pec-img {
    height: 1.05em;
    width: auto;
    vertical-align: middle;
    display: inline-block;
}
.mailrevealed {
    text-decoration: none;
}
.mailrevealed:hover .pec-img {
    opacity: 0.8;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: #061521;
    color: #7a8a96;
    padding: 56px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-col h4 {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}
.footer-col address,
.footer-col p,
.footer-list li {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #95a8b4;
    font-style: normal;
}
.footer-list { list-style: none; padding: 0; }
.footer-list li { margin-bottom: 4px; }
.footer-list strong { color: #cfd9e0; font-weight: 600; }
.footer-col a { color: var(--teal); }
.footer-col a:hover { color: #6cc4dc; }

.footer-brand .logo-text {
    color: #fff;
    font-size: 1rem;
    display: block;
    margin-bottom: 10px;
}
.footer-brand .logo-text strong { color: #fff; }
.footer-brand .logo-sep { color: #4a5a66; }
.footer-brand p {
    font-size: 0.88rem;
    color: #7a8a96;
    max-width: 320px;
}

.footer-bottom {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p {
    font-size: 0.82rem;
    color: #6b7a85;
    margin: 0;
}
.footer-legal {
    list-style: none;
    display: flex;
    gap: 22px;
    padding: 0;
}
.footer-legal a {
    color: #95a8b4;
    font-size: 0.82rem;
}
.footer-legal a:hover { color: #fff; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 70px; }
    .hero-visual { max-width: 520px; margin: 0 auto; }
    .idea-grid { grid-template-columns: 1fr; gap: 30px; }
    .compare { grid-template-columns: 1fr; gap: 16px; }
    .compare-arrow { transform: rotate(90deg); margin: 0 auto; }
    .section { padding: 80px 0; }
}

@media (max-width: 960px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
    .site-nav { display: none; }
    .header-inner { gap: 12px; }
    .hero { padding: 60px 0 80px; }
    .pull-quote { padding: 22px 22px; }
    .pull-quote p { font-size: 1.05rem; }
    .section-head { margin-bottom: 44px; }
    .compare-col { padding: 26px 22px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-legal { flex-wrap: wrap; gap: 14px; }
}

/* =========================================================
   PAGINE LEGALI (privacy / cookie / note legali)
   ========================================================= */
.legal-page {
    padding: 70px 0 90px;
    background: #fff;
}
.legal-page .container { max-width: 820px; }
.legal-page h1 {
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
    margin-bottom: 8px;
}
.legal-page .updated {
    display: block;
    font-size: 0.85rem;
    color: var(--text-soft);
    margin-bottom: 36px;
}
.legal-page h2 {
    font-size: 1.2rem;
    margin-top: 36px;
    margin-bottom: 12px;
    color: var(--ink);
}
.legal-page h3 {
    font-size: 1rem;
    margin-top: 22px;
    margin-bottom: 8px;
    color: var(--ink);
}
.legal-page p,
.legal-page li {
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 12px;
}
.legal-page ul, .legal-page ol {
    padding-left: 22px;
    margin-bottom: 16px;
}
.legal-page li { margin-bottom: 6px; }
.legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 0.92rem;
}
.legal-page th,
.legal-page td {
    border: 1px solid var(--border);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.legal-page th {
    background: var(--bg-soft);
    font-weight: 600;
    color: var(--ink);
}
.legal-page .legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
    font-size: 0.92rem;
    color: var(--text-soft);
}
.legal-page .legal-back:hover { color: var(--teal); }

@media (max-width: 480px) {
    .btn-lg { padding: 14px 24px; font-size: 0.98rem; }
    .hero-cta .btn { width: 100%; }
    .cta-actions .btn,
    .cta-actions .btn-ghost-light { width: 100%; }
    .dash-grid { grid-template-columns: 1fr 1fr; }
    .chart { grid-column: 1 / -1; }
    .bars { grid-column: 1 / -1; min-height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   PRINT / PDF
   ========================================================= */
@media print {
    @page { size: A4; margin: 14mm 12mm; }

    html, body {
        background: #fff !important;
        color: #1a2a36 !important;
        font-size: 10.5pt;
        line-height: 1.5;
    }

    .site-header,
    .hero-cta,
    .cta-actions,
    .btn,
    .btn-ghost-light { display: none !important; }

    .reveal { opacity: 1 !important; transform: none !important; }

    .section,
    .hero,
    .intro,
    .final-quote,
    .cta { padding: 22px 0 !important; page-break-inside: avoid; }

    .container { max-width: 100% !important; padding: 0 !important; }

    .hero { background: #fff !important; }
    .hero-inner { grid-template-columns: 1fr !important; gap: 24px !important; }
    .hero-text h1 { font-size: 24pt !important; }
    .hero-text .lead { font-size: 12pt !important; max-width: none !important; }
    .hero-foot { border-top: 1px solid #d0dde4 !important; }

    .dash-mock {
        box-shadow: none !important;
        transform: none !important;
        border: 1px solid #cdd9e0 !important;
    }
    .hero-visual { max-width: 480px; margin: 0 auto; }

    .section-dark {
        background: #fff !important;
        color: #1a2a36 !important;
    }
    .section-dark h2,
    .section-dark h3,
    .section-dark h4 { color: #0a1f2e !important; }
    .section-dark .section-head p { color: #4a5a66 !important; }

    .problem-card,
    .vision-card {
        background: #f6fafc !important;
        border: 1px solid #d6e1e7 !important;
        page-break-inside: avoid;
        color: #1a2a36 !important;
    }
    .problem-card h3,
    .vision-card h3 { color: #0a1f2e !important; }
    .problem-card p,
    .vision-card p { color: #4a5a66 !important; }
    .problem-num { color: #2596be !important; }

    .compare { gap: 16px !important; }
    .compare-col { box-shadow: none !important; page-break-inside: avoid; }
    .compare-arrow { color: #2596be !important; }

    .pull-quote {
        page-break-inside: avoid;
        background: #f1f8fb !important;
        border-left: 3px solid #2596be !important;
        box-shadow: none !important;
    }
    .pull-quote p { color: #0a1f2e !important; }

    .feature {
        box-shadow: none !important;
        page-break-inside: avoid;
        background: #fff !important;
        border: 1px solid #d6e1e7 !important;
        border-left: 3px solid #2596be !important;
    }

    .faq details {
        page-break-inside: avoid;
        box-shadow: none !important;
    }
    .faq summary::after { display: none; }
    .faq details > p,
    .faq summary { padding-right: 18px !important; }
    /* Espande tutte le FAQ in stampa */
    .faq details { padding-bottom: 8px; }
    .faq summary { color: #0a1f2e !important; }
    .faq p { display: block !important; color: #4a5a66 !important; }

    .cta {
        background: #f6fafc !important;
        color: #0a1f2e !important;
    }
    .cta-inner h2 { color: #0a1f2e !important; }
    .cta-inner > p { color: #4a5a66 !important; }
    .cta-mail { color: #2596be !important; font-size: 11pt; }

    .site-footer {
        background: #fff !important;
        color: #4a5a66 !important;
        border-top: 1px solid #d6e1e7 !important;
        padding: 14px 0 !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
        gap: 18px !important;
        padding-bottom: 14px !important;
        border-bottom-color: #d6e1e7 !important;
    }
    .footer-col h4 { color: #0a1f2e !important; }
    .footer-col address,
    .footer-col p,
    .footer-list li { color: #4a5a66 !important; font-size: 8.5pt !important; }
    .footer-list strong { color: #0a1f2e !important; }
    .footer-brand .logo-text,
    .footer-brand .logo-text strong { color: #0a1f2e !important; }
    .footer-bottom p,
    .footer-legal a { color: #4a5a66 !important; font-size: 8pt !important; }
    .footer-col a,
    .footer-legal a:hover { color: #2596be !important; }

    a { color: #1a7a9b !important; text-decoration: none; }

    /* Forza la stampa dei colori di sfondo */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}
