        :root {
            --ink: #000;
            --paper: #fff;
            --peach: #ffede0;
            --grey: #595959;
            --muted: #8c8c8c;
            --line: #e6e6e6;
            --whatsapp: #25D366;
            --whatsapp-dark: #128C7E;
            --radius-card: 1.5rem;
            --gutter: max(20px, env(safe-area-inset-left), env(safe-area-inset-right));
        }

        *, *::before, *::after { box-sizing: border-box; }
        html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

        body {
            margin: 0;
            min-height: 100vh;
            min-height: 100svh;
            font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
            color: var(--ink);
            background: var(--paper);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            display: flex;
            flex-direction: column;
        }

        a { color: inherit; }
        :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

        .wrap {
            width: 100%;
            max-width: 1080px;
            margin: 0 auto;
            padding-left: var(--gutter);
            padding-right: var(--gutter);
        }

        /* ---------- Testata + hero ---------- */
        .top {
            background: linear-gradient(180deg, var(--peach) 0%, #fff6ef 55%, var(--paper) 100%);
            padding-top: env(safe-area-inset-top);
        }

        .site-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding-top: 18px;
            padding-bottom: 18px;
        }
        .logo-link { display: inline-flex; line-height: 0; }
        .logo { width: 132px; height: auto; mix-blend-mode: multiply; }

        .crumbs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 500; color: var(--grey); }
        .crumbs a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
        .crumbs a:hover { color: var(--ink); }
        .crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }
        .crumbs [aria-current] { color: var(--ink); }

        .hero { padding-top: 12px; padding-bottom: 36px; }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 5px 16px 5px 5px;
            border-radius: 999px;
            background: var(--ink);
            color: #fff0e5;
            font-size: 0.78rem;
            font-weight: 500;
        }
        .eyebrow img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; }

        h1 {
            margin: 1.1rem 0 0;
            font-size: clamp(2.15rem, 8.6vw, 3.9rem);
            line-height: 1.12;
            font-weight: 600;
            letter-spacing: -0.01em;
        }
        h1 .soft { color: #9a9a9a; display: block; }

        .lead { margin: 1.1rem 0 0; max-width: 38rem; font-size: 1.02rem; line-height: 1.7; color: var(--grey); }
        .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }

        /* ---------- Pulsanti ---------- */
        .pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            min-height: 44px;
            padding: 0 22px;
            border-radius: 999px;
            border: 0;
            background: var(--ink);
            color: #fff;
            font: inherit;
            font-size: 0.9rem;
            font-weight: 500;
            text-decoration: none;
            white-space: nowrap;
            cursor: pointer;
            transition: transform 0.2s ease, background-color 0.2s ease;
            -webkit-tap-highlight-color: transparent;
        }
        .pill:hover { transform: translateY(-1px); }
        .pill:active { transform: translateY(0) scale(0.98); }
        .pill.whatsapp { background: var(--whatsapp); }
        .pill.whatsapp:hover { background: var(--whatsapp-dark); }
        .pill.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }

        /* ---------- Sezioni ---------- */
        .section { padding-top: 40px; padding-bottom: 8px; }
        .section h2 { margin: 0; font-size: 1.5rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.005em; }
        .section .intro { margin: 0.6rem 0 0; max-width: 38rem; color: var(--grey); font-size: 0.98rem; line-height: 1.7; }

        .grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 1.4rem; }

        .card {
            border: 2px solid var(--ink);
            border-radius: var(--radius-card);
            background: var(--paper);
            padding: 20px 20px 22px;
        }
        .card h3 { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
        .card p { margin: 0.5rem 0 0; font-size: 0.92rem; line-height: 1.65; color: var(--grey); }

        /* ---------- Come lavoro ---------- */
        .steps { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: step; }
        .steps li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
        .steps li::before {
            counter-increment: step;
            content: counter(step);
            width: 34px; height: 34px;
            border-radius: 50%;
            background: var(--ink);
            color: #fff;
            display: grid; place-items: center;
            font-size: 0.85rem; font-weight: 600;
        }
        .steps strong { display: block; font-size: 1rem; font-weight: 600; }
        .steps span { display: block; margin-top: 2px; color: var(--grey); font-size: 0.92rem; line-height: 1.6; }

        .note { margin: 1.1rem 0 0; font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

        /* ---------- Progetti ---------- */
        .project { display: block; text-decoration: none; overflow: hidden; padding: 0; transition: transform 0.2s ease; }
        .project:hover { transform: translateY(-2px); }
        .project img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #f4f4f4; }
        .project .body { padding: 16px 18px 20px; }
        .project h3 { font-size: 1rem; }
        .project p { margin-top: 0.35rem; }
        .project .go { display: inline-block; margin-top: 0.6rem; font-size: 0.85rem; font-weight: 600; }

        /* ---------- Chiusura ---------- */
        .cta { padding-top: 48px; padding-bottom: 52px; }
        .cta-box {
            border: 2px solid var(--ink);
            border-radius: var(--radius-card);
            background: linear-gradient(180deg, var(--peach) 0%, #fff6ef 100%);
            padding: 28px 22px;
        }
        .cta-box h2 { margin: 0; font-size: 1.5rem; line-height: 1.25; font-weight: 600; }
        .cta-box p { margin: 0.6rem 0 0; color: var(--grey); font-size: 0.98rem; line-height: 1.65; max-width: 34rem; }
        .cta-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2rem; }

        /* ---------- Footer ---------- */
        .site-footer {
            margin-top: auto;
            padding-top: 22px;
            padding-bottom: max(26px, env(safe-area-inset-bottom));
            border-top: 1px solid var(--line);
            font-size: 0.78rem;
            color: var(--muted);
            text-align: center;
        }
        .site-footer a { color: var(--ink); text-decoration: none; font-weight: 500; }
        .site-footer nav { margin-bottom: 8px; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; }

        /* ---------- Animazione d'ingresso ---------- */
        @media (prefers-reduced-motion: no-preference) {
            .rise { animation: rise 0.6s ease-out both; }
            .rise.d1 { animation-delay: 0.08s; }
            .rise.d2 { animation-delay: 0.16s; }
            .rise.d3 { animation-delay: 0.24s; }
            @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
        }

        /* ---------- Tablet / desktop ---------- */
        @media (min-width: 720px) {
            .logo { width: 160px; }
            .site-header { padding-top: 26px; padding-bottom: 26px; }
            .hero { padding-top: 24px; padding-bottom: 52px; }
            .lead { font-size: 1.12rem; }
            .section { padding-top: 60px; }
            .section h2, .cta-box h2 { font-size: 1.9rem; }
            .grid.two { grid-template-columns: repeat(2, 1fr); gap: 18px; }
            .grid.three { grid-template-columns: repeat(3, 1fr); gap: 18px; }
            .steps { grid-template-columns: repeat(2, 1fr); gap: 22px 28px; }
            .cta-box { padding: 40px 38px; }
        }

        /* ---------- Mobile ---------- */
        @media (max-width: 719px) {
            .site-header { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 6px; }
            .crumbs { flex-wrap: nowrap; white-space: nowrap; }
            .hero-actions, .cta-actions { flex-direction: column; }
            .hero-actions .pill, .cta-actions .pill { width: 100%; min-height: 50px; }
        }
    
        /* ---------- Modulo di contatto (stesso della homepage) ---------- */
        .contact-section { padding-top: 48px; padding-bottom: 56px; scroll-margin-top: 16px; }
        .contact-form-input:-webkit-autofill { -webkit-text-fill-color: #fff; transition: background-color 9999s ease-in-out 0s; }
        .contact-form-submit { font-family: inherit; }
        .contact-form-submit[disabled] { opacity: .6; cursor: default; }
        .form-done, .form-fail { display: none; }
        .form-done.show, .form-fail.show { display: block; }
        .captcha-box { min-height: 78px; margin-top: .25rem; overflow: hidden; }
        .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
        /* ---------- FAQ ---------- */
        .faq { margin-top: 1.4rem; display: grid; gap: 12px; }
        .faq details { border: 2px solid var(--ink); border-radius: var(--radius-card); background: var(--paper); padding: 0 20px; }
        .faq summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 0.98rem; line-height: 1.35; padding: 12px 0; }
        .faq summary::-webkit-details-marker { display: none; }
        .faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 500; line-height: 1; flex-shrink: 0; }
        .faq details[open] summary::after { content: "\2212"; }
        .faq details p { margin: 0 0 18px; color: var(--grey); font-size: 0.93rem; line-height: 1.7; }
        /* ---------- Articoli correlati / altri servizi ---------- */
        .link-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 12px; }
        .link-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 20px; border: 2px solid var(--ink); border-radius: var(--radius-card); background: var(--paper); text-decoration: none; font-weight: 500; font-size: 0.95rem; line-height: 1.4; transition: transform 0.2s ease; }
        .link-list a:hover { transform: translateY(-2px); }
        .link-list a::after { content: "\2197"; flex-shrink: 0; font-weight: 600; }
        .link-list.internal a::after { content: "\2192"; }
        /* ---------- Figura ---------- */
        .figure { margin: 1.4rem 0 0; border: 2px solid var(--ink); border-radius: var(--radius-card); overflow: hidden; background: #f4f4f4; max-width: 420px; }
        .figure img { display: block; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; }
        .figure figcaption { padding: 12px 18px 14px; font-size: 0.85rem; color: var(--grey); background: var(--paper); }
        .examples .card { background: #fff6ef; }
        @media (min-width: 720px) {
            .link-list { grid-template-columns: repeat(2, 1fr); gap: 18px; }
            .faq { gap: 14px; }
        }

.contact-form-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: auto;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  background: #000;
}

.contact-form-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  background: linear-gradient(180deg, #fff0e5 0%, #fff 72%);
  font-family: Poppins, sans-serif;
}

.contact-form-brand-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-form-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 58%;
}

.contact-form-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.contact-form-role {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #333;
  font-weight: 400;
}

.contact-form-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-end;
  flex-shrink: 0;
}

.contact-form-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-form-pill:hover {
  transform: translateY(-1px);
}

.contact-form-pill-dark {
  background: #000;
  color: #fff;
}

.contact-form-pill-accent {
  background: #000;
  color: #fff0e5;
}

.contact-form-pill-whatsapp {
  background: #25D366;
  color: #fff;
}

.contact-form-pill-whatsapp:hover {
  background: #128C7E;
}

.contact-form-headline {
  margin: 1.25rem 0 0;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #000;
}

.contact-form-headline-line {
  display: block;
}

.contact-form-headline-line + .contact-form-headline-line {
  margin-top: 0.14em;
}

.contact-form-headline-muted {
  color: #8a8a8a;
}

.contact-form-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.contact-form-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  transition: transform 0.2s ease;
}

.contact-form-social:hover {
  transform: translateY(-2px);
}

.contact-form-social img {
  filter: brightness(0) invert(1);
}

.contact-form-panel {
  background: #111;
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  font-family: Poppins, sans-serif;
}

.contact-form-title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.1;
  font-weight: 500;
  color: #fff;
}

.contact-form-services-label {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.contact-form-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.contact-service-chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.74rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contact-service-chip:hover {
  border-color: #fff0e5;
}

.contact-service-chip.is-selected {
  background: #fff0e5;
  border-color: #fff0e5;
  color: #000;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-form-field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.contact-form-input {
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 0 !important;
  padding: 0.35rem 0 0.65rem !important;
  color: #fff !important;
  font-size: 0.95rem !important;
  font-family: inherit !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
}

.contact-form-input:focus {
  outline: none;
  border-bottom-color: #fff0e5 !important;
}

.contact-form-textarea {
  resize: vertical;
  min-height: 4.5rem !important;
}

.contact-form-submit {
  margin-top: 0.5rem;
  width: 100%;
  border: none;
  border-radius: 0.65rem !important;
  background: #fff0e5 !important;
  color: #000 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  padding: 1rem 1.25rem !important;
  text-transform: none !important;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-form-submit:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.contact-form-success,
.contact-form-error {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #fff0e5;
}

.contact-form-error {
  color: #ff8a8a;
}

@media (max-width: 991px) {
  .contact-form-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-form-brand {
    padding: 2rem 1.75rem;
  }

  .contact-form-brand-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form-profile {
    max-width: 100%;
  }

  .contact-form-quick-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .contact-form-panel {
    padding: 2rem 1.75rem 2.5rem;
  }
}

@media (max-width: 479px) {
  .contact-form-section {
    margin: 1.5em auto 2em;
    padding: 0 0.7em;
  }

  .contact-form-card {
    border-radius: 1.25rem;
  }

  .contact-form-headline {
    font-size: 2.1rem;
  }

  .contact-form-pill {
    font-size: 0.68rem;
    padding: 0.5rem 0.85rem;
  }
}
    

        /* ---------- Blog ---------- */
        .post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 1.1rem; font-size: 0.85rem; color: var(--grey); }
        .post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
        .post-cover { margin: 1.8rem 0 0; border: 2px solid var(--ink); border-radius: var(--radius-card); overflow: hidden; background: #f4f4f4; }
        .post-cover img { display: block; width: 100%; height: auto; }
        .article { padding-top: 36px; }
        .article > * { max-width: 46rem; }
        .article-body { font-size: 1.05rem; line-height: 1.85; color: #1d1d1d; overflow-wrap: anywhere; }
        .article-body > :first-child { margin-top: 0; }
        .article-body h2 { margin: 2.3rem 0 0.8rem; font-size: 1.55rem; line-height: 1.25; font-weight: 600; letter-spacing: -0.005em; }
        .article-body h3 { margin: 1.9rem 0 0.6rem; font-size: 1.2rem; line-height: 1.3; font-weight: 600; }
        .article-body h4 { margin: 1.5rem 0 0.5rem; font-size: 1.05rem; font-weight: 600; }
        .article-body p { margin: 0 0 1.15rem; }
        .article-body ul, .article-body ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
        .article-body li { margin: 0 0 0.45rem; }
        .article-body li p { margin: 0 0 0.4rem; }
        .article-body a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
        .article-body img { display: block; max-width: 100%; height: auto; margin: 1.6rem 0; border-radius: 1rem; background: #f4f4f4; }
        .article-body blockquote { margin: 1.5rem 0; padding: 0.2rem 0 0.2rem 1.1rem; border-left: 4px solid var(--ink); color: var(--grey); }
        .article-body table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.95rem; }
        .article-body th, .article-body td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
        .tags { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
        .tags li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.78rem; color: var(--grey); }
        .post-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 1.6rem; }
        .post-card { display: flex; flex-direction: column; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius-card); background: var(--paper); text-decoration: none; transition: transform 0.2s ease; }
        .post-card:hover { transform: translateY(-3px); }
        .post-card .thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #f4f4f4; }
        .post-card .body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; }
        .post-card h2, .post-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; font-weight: 600; }
        .post-card p { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.9rem; line-height: 1.6; color: var(--grey); }
        .post-card time { font-size: 0.78rem; color: var(--muted); }
        .post-card .badge { align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.7rem; font-weight: 500; }
        @media (min-width: 720px) {
            .post-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
            .article-body { font-size: 1.1rem; }
            .article-body h2 { font-size: 1.75rem; }
        }
        @media (min-width: 1000px) {
            .post-grid.wide { grid-template-columns: repeat(3, 1fr); }
        }

        .hero h1.post-title { font-size: clamp(1.8rem, 5.6vw, 2.9rem); line-height: 1.18; max-width: 46rem; }

        @media (max-width: 719px) {
            .crumbs { flex-wrap: wrap; white-space: normal; }
        }
