/* MC TERMOTECNICO - Stile unificato del sito */
/* Versione: 1.0 - Aprile 2026 */

:root {
    --black: #0A0A0A;
    --black-soft: #1A1A1A;
    --orange: #FF5A1F;
    --orange-dark: #CC3D0C;
    --white: #FFFFFF;
    --off-white: #FAFAF8;
    --gray-50: #F5F5F3;
    --gray-100: #E8E8E4;
    --gray-300: #B8B8B0;
    --gray-500: #6B6B65;
    --gray-700: #3A3A36;
    --red: #D62828;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Archivo', -apple-system, sans-serif;
    color: var(--black);
    background: var(--off-white);
    line-height: 1.5;
    font-weight: 400;
    overflow-x: hidden;
  }
  .wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
  .display { font-family: 'Archivo', sans-serif; font-weight: 900; letter-spacing: -0.03em; }
  .serif { font-family: 'Instrument Serif', serif; font-weight: 400; font-style: italic; }
  .mono { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

  /* HEADER */
  header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
  }
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 32px; max-width: 1280px; margin: 0 auto;
  }
  .logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none;
  }
  .logo-mark {
    width: 42px; height: 42px;
    background: var(--black);
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .logo-mark::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 40%, var(--orange) 50%, transparent 70%);
    opacity: 0.9;
  }
  .logo-mark span {
    position: relative;
    color: var(--white);
    font-weight: 900;
    font-size: 16px;
    letter-spacing: -0.02em;
  }
  .logo-text {
    display: flex; flex-direction: column; line-height: 1;
  }
  .logo-text .name { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
  .logo-text .sub { font-size: 10px; color: var(--gray-500); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 3px; }

  .nav-links { display: flex; gap: 36px; align-items: center; }
  .nav-links a {
    color: var(--black); text-decoration: none;
    font-size: 14px; font-weight: 500;
    transition: color 0.15s;
  }
  .nav-links a:hover { color: var(--orange); }
  .nav-cta {
    background: var(--black);
    color: var(--white) !important;
    padding: 10px 20px;
    font-size: 13px;
    border: 1px solid var(--black);
    transition: all 0.2s;
  }
  .nav-cta:hover { background: var(--orange); border-color: var(--orange); color: var(--white) !important; }

  /* HERO */
  .hero {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-700);
    margin-bottom: 28px;
  }
  .eyebrow::before {
    content: ''; width: 24px; height: 1px; background: var(--orange);
  }
  h1.hero-title {
    font-size: clamp(48px, 6.5vw, 88px);
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 900;
    margin-bottom: 28px;
  }
  h1.hero-title .accent { color: var(--orange); }
  h1.hero-title .serif-word {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.02em;
  }
  .hero-desc {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 520px;
  }
  .hero-cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
  .btn-primary {
    background: var(--black);
    color: var(--white);
    padding: 18px 32px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid var(--black);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
  }
  .btn-primary:hover { background: var(--orange); border-color: var(--orange); }
  .btn-primary .arrow { transition: transform 0.2s; }
  .btn-primary:hover .arrow { transform: translateX(4px); }
  .btn-secondary {
    color: var(--black);
    padding: 18px 24px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid var(--black);
    transition: all 0.2s;
  }
  .btn-secondary:hover { color: var(--orange); border-color: var(--orange); }

  .hero-visual {
    position: relative;
    aspect-ratio: 500/620;
    background: var(--gray-50);
    overflow: hidden;
    border: 1px solid var(--gray-100);
  }
  .impianto-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }
  .hero-visual-grid {
    position: absolute; inset: 0;
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: repeat(20, 1fr);
    opacity: 0.05;
    pointer-events: none;
  }
  .hero-visual-grid div {
    border-right: 1px solid var(--gray-500);
    border-bottom: 1px solid var(--gray-500);
  }
  .placeholder-tag {
    position: absolute; top: 16px; left: 16px;
    background: var(--orange);
    color: var(--black);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 5px 10px;
    text-transform: uppercase;
    font-weight: 500;
    z-index: 10;
  }
  .replay-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 7px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s;
  }
  .replay-btn:hover {
    background: var(--orange);
  }
  .blocco-caption {
    position: absolute;
    bottom: 110px;
    left: 16px;
    right: 16px;
    z-index: 10;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    text-align: center;
    background: rgba(245, 245, 243, 0.92);
    padding: 8px 12px;
    border-left: 2px solid var(--orange);
  }
  .blocco-caption.visible { opacity: 1; }

  /* Animazione staggered dei blocchi */
  .blocco {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
  }
  .blocco.show {
    opacity: 1;
    transform: translateY(0);
  }
  .impiantoSvg.restart .blocco { opacity: 0; transform: translateY(20px); transition: none; }

  /* STRIP NUMBERS */
  .strip {
    background: var(--black);
    color: var(--white);
    padding: 48px 0;
  }
  .strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  .stat .num {
    font-size: 56px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--white);
    display: block;
  }
  .stat .num .unit { color: var(--orange); }
  .stat .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-top: 8px;
  }

  /* SERVIZI */
  .section {
    padding: 120px 0;
  }
  .section-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 80px;
  }
  .section-title {
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
  }
  .section-title .serif-word {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-style: italic;
  }
  .section-lede {
    font-size: 17px;
    color: var(--gray-700);
    line-height: 1.7;
    max-width: 560px;
    padding-top: 12px;
  }
  .servizi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--gray-100);
    border: 1px solid var(--gray-100);
  }
  .servizio {
    background: var(--off-white);
    padding: 40px 32px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    transition: background 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
  }
  .servizio:hover { background: var(--white); }
  .servizio:hover .servizio-icon { background: var(--orange); color: var(--white); }
  .servizio:hover .servizio-arrow { transform: translateX(6px); color: var(--orange); }
  .servizio-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--gray-500);
    margin-bottom: 24px;
  }
  .servizio-icon {
    width: 56px; height: 56px;
    background: var(--black);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 28px;
    transition: all 0.25s;
  }
  .servizio h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 12px;
  }
  .servizio p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
  }
  .servizio-arrow {
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
  }

  /* COME LAVORIAMO */
  .process {
    background: var(--black);
    color: var(--white);
    padding: 120px 0;
  }
  .process .section-title { color: var(--white); }
  .process .section-lede { color: var(--gray-300); }
  .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
  }
  .step {
    border-top: 1px solid var(--gray-700);
    padding-top: 24px;
    position: relative;
  }
  .step::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    width: 40px; height: 1px;
    background: var(--orange);
  }
  .step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--orange);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
  }
  .step h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }
  .step p {
    font-size: 14px;
    color: var(--gray-300);
    line-height: 1.6;
  }

  /* PROGETTI (placeholder foto) */
  .progetti-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 320px 320px;
    gap: 16px;
    margin-top: 40px;
  }
  .progetto {
    background: var(--gray-100);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s;
  }
  .progetto:hover { transform: translateY(-4px); }
  .progetto:nth-child(1) { grid-column: 1; grid-row: 1 / 3; background: var(--black); }
  .progetto:nth-child(2) { background: var(--gray-700); }
  .progetto:nth-child(3) { background: var(--gray-300); }
  .progetto:nth-child(4) { background: var(--black-soft); }
  .progetto:nth-child(5) { background: var(--gray-500); }
  .progetto-label {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: var(--orange);
    color: var(--black);
    font-weight: 500;
  }
  .progetto-caption {
    position: relative;
    color: var(--white);
    z-index: 2;
  }
  .progetto-caption .t {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
  }
  .progetto-caption .s {
    font-size: 12px;
    color: var(--gray-300);
    margin-top: 4px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .progetto:nth-child(3) .progetto-caption { color: var(--black); }
  .progetto:nth-child(3) .progetto-caption .s { color: var(--gray-700); }
  .placeholder-note {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: var(--gray-500);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-align: center;
    pointer-events: none;
  }
  .progetto:nth-child(3) .placeholder-note { color: var(--gray-700); }

  /* CTA FINALE */
  .cta-final {
    background: var(--orange);
    padding: 100px 0;
    color: var(--black);
    position: relative;
    overflow: hidden;
  }
  .cta-final::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border: 1px solid var(--black);
    border-radius: 50%;
    opacity: 0.15;
  }
  .cta-final::after {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 300px; height: 300px;
    border: 1px solid var(--black);
    border-radius: 50%;
    opacity: 0.15;
  }
  .cta-final-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
  }
  .cta-final h2 {
    font-size: clamp(40px, 5.5vw, 72px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
  }
  .cta-final h2 .serif-word {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-style: italic;
  }
  .cta-final p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 500px;
  }
  .cta-final-btn {
    background: var(--black);
    color: var(--white);
    padding: 22px 36px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-self: end;
    transition: all 0.2s;
  }
  .cta-final-btn:hover { background: var(--white); color: var(--black); }

  /* FOOTER */
  footer {
    background: var(--black);
    color: var(--gray-300);
    padding: 80px 0 32px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
  }
  .footer-brand .logo-text .name { color: var(--white); }
  .footer-brand p {
    font-size: 14px;
    color: var(--gray-300);
    margin-top: 20px;
    max-width: 320px;
    line-height: 1.7;
  }
  .footer-col h5 {
    color: var(--white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
  }
  .footer-col a:hover { color: var(--orange); }
  .footer-legal {
    border-top: 1px solid var(--gray-700);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-500);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.08em;
  }
  .footer-legal a { color: var(--gray-500); text-decoration: none; margin-left: 24px; }
  .footer-legal a:hover { color: var(--orange); }

  /* ICONE SVG */
  .icon { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.5; }

  /* CHI SIAMO */
  .chi-siamo-section { padding: 120px 0; background: var(--white); }
  .chi-siamo-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
  }
  .chi-siamo-lead {
    position: sticky;
    top: 100px;
  }
  .chi-siamo-lead .eyebrow { margin-bottom: 24px; }
  .chi-siamo-lead h2 {
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
  }
  .chi-siamo-lead h2 .serif-word {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-style: italic;
  }
  .chi-siamo-lead .tagline {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 380px;
  }
  .timeline-item {
    padding: 28px 0;
    border-top: 1px solid var(--gray-100);
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 24px;
    align-items: start;
  }
  .timeline-item:first-child { border-top: none; padding-top: 0; }
  .timeline-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--orange);
    font-weight: 500;
    letter-spacing: 0.05em;
    padding-top: 4px;
  }
  .timeline-body h4 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
  }
  .timeline-body p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.6;
  }

  .team-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid var(--gray-100);
  }
  .team-member {
    padding: 32px;
    background: var(--gray-50);
    border-left: 2px solid var(--orange);
  }
  .team-member .role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 12px;
  }
  .team-member h4 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
  }
  .team-member p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.7;
  }
  .team-member ul {
    list-style: none;
    margin-top: 20px;
  }
  .team-member li {
    font-size: 13px;
    color: var(--gray-700);
    padding: 6px 0 6px 20px;
    position: relative;
  }
  .team-member li::before {
    content: '→';
    color: var(--orange);
    position: absolute;
    left: 0;
    font-weight: 700;
  }
  .values-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid var(--gray-100);
  }
  .value-card .value-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--orange);
    font-weight: 500;
    margin-bottom: 16px;
  }
  .value-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }
  .value-card p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.7;
  }

  /* PAGINA SERVIZIO DETTAGLIATA */
  .servizio-dettaglio { padding: 120px 0; background: var(--off-white); }
  .servizio-dettaglio-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 80px;
  }
  .servizio-dettaglio .breadcrumb {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 24px;
  }
  .servizio-dettaglio .breadcrumb a { color: var(--gray-500); text-decoration: none; }
  .servizio-dettaglio .breadcrumb a:hover { color: var(--orange); }
  .servizio-dettaglio h2 {
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
  }
  .servizio-dettaglio .lead-text {
    font-size: 18px;
    color: var(--gray-700);
    line-height: 1.6;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
  }
  .servizio-dettaglio .body-text p {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: 16px;
  }
  .competenze-group {
    background: var(--white);
    padding: 48px;
    border: 1px solid var(--gray-100);
    margin-bottom: 40px;
  }
  .competenze-group h3 {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 12px;
  }
  .competenze-group .group-lede {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 620px;
  }
  .competenze-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .competenza-item {
    padding: 20px 0 20px 28px;
    border-left: 2px solid var(--orange);
    position: relative;
  }
  .competenza-item h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.005em;
  }
  .competenza-item p {
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.65;
  }
  .other-services {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid var(--gray-100);
  }
  .other-services-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 24px;
  }
  .other-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }
  .other-services-grid a {
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    text-decoration: none;
    color: var(--black);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .other-services-grid a:hover {
    border-color: var(--orange);
    color: var(--orange);
  }

  /* CONTATTI */
  .contatti-section { padding: 120px 0; background: var(--black); color: var(--white); }
  .contatti-section .section-title { color: var(--white); }
  .contatti-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-top: 60px;
  }
  .contatti-info .contatto-blocco {
    padding: 24px 0;
    border-top: 1px solid var(--gray-700);
  }
  .contatti-info .contatto-blocco:first-child { border-top: none; padding-top: 0; }
  .contatti-info .contatto-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
  }
  .contatti-info .contatto-value {
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
  }
  .contatti-info .contatto-value a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.15s;
  }
  .contatti-info .contatto-value a:hover { color: var(--orange); }
  .contatti-info .contatto-value.highlight { color: var(--orange); }

  .form-contatti {
    background: rgba(255, 255, 255, 0.04);
    padding: 40px;
    border: 1px solid var(--gray-700);
  }
  .form-contatti h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--white);
  }
  .form-contatti .form-lede {
    font-size: 14px;
    color: var(--gray-300);
    margin-bottom: 28px;
    line-height: 1.6;
  }
  .form-field {
    margin-bottom: 20px;
  }
  .form-field label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-bottom: 8px;
    font-weight: 500;
  }
  .form-field input,
  .form-field textarea,
  .form-field select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gray-700);
    padding: 10px 0;
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
  }
  .form-field input:focus,
  .form-field textarea:focus,
  .form-field select:focus {
    border-bottom-color: var(--orange);
  }
  .form-field textarea { resize: vertical; min-height: 100px; }
  .form-field select { appearance: none; }
  .form-double { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .form-tipologia {
    display: flex;
    gap: 8px;
    margin-top: 4px;
  }
  .form-tipologia label {
    flex: 1;
    padding: 14px;
    border: 1px solid var(--gray-700);
    text-align: center;
    cursor: pointer;
    margin: 0;
    transition: all 0.2s;
    font-size: 13px;
    letter-spacing: 0.08em;
  }
  .form-tipologia input[type="radio"] { display: none; }
  .form-tipologia input[type="radio"]:checked + label,
  .form-tipologia label:hover {
    border-color: var(--orange);
    color: var(--orange);
  }
  .form-submit {
    background: var(--orange);
    color: var(--black);
    border: none;
    padding: 18px 32px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 16px;
    font-family: inherit;
    width: 100%;
    transition: background 0.2s;
  }
  .form-submit:hover { background: var(--white); }
  .form-privacy {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 16px;
    line-height: 1.6;
  }
  .form-privacy a { color: var(--gray-300); }

  /* ===== WIZARD PREVENTIVATORE ===== */
  .wizard-progress {
    margin-bottom: 32px;
  }
  .wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 4px;
  }
  .wizard-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.4;
    transition: opacity 0.3s;
  }
  .wizard-step.active, .wizard-step.completed { opacity: 1; }
  .wizard-step .step-dot {
    width: 28px;
    height: 28px;
    background: var(--gray-700);
    color: var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid var(--gray-700);
  }
  .wizard-step.active .step-dot {
    background: var(--orange);
    color: var(--black);
    border-color: var(--orange);
  }
  .wizard-step.completed .step-dot {
    background: transparent;
    color: var(--orange);
    border-color: var(--orange);
  }
  .wizard-step .step-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-300);
    text-align: center;
  }
  .wizard-step.active .step-label { color: var(--orange); }
  .wizard-progress-bar {
    height: 2px;
    background: var(--gray-700);
    overflow: hidden;
  }
  .wizard-progress-fill {
    height: 100%;
    background: var(--orange);
    transition: width 0.4s ease-out;
  }

  .wizard-panel {
    display: none;
    animation: wizardFadeIn 0.35s ease-out;
  }
  .wizard-panel.active { display: block; }
  @keyframes wizardFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .wizard-question {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 8px;
  }
  .wizard-hint {
    font-size: 13px;
    color: var(--gray-300);
    margin-bottom: 24px;
    line-height: 1.6;
  }

  .wizard-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }
  .wizard-option {
    display: block;
    cursor: pointer;
    border: 1px solid var(--gray-700);
    padding: 16px 18px;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.02);
  }
  .wizard-option:hover {
    border-color: var(--gray-300);
    background: rgba(255, 255, 255, 0.04);
  }
  .wizard-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
  .wizard-option:has(input:checked) {
    border-color: var(--orange);
    background: rgba(255, 90, 31, 0.08);
  }
  .wizard-option-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .wizard-option-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
  }
  .wizard-option-desc {
    font-size: 12px;
    color: var(--gray-300);
    line-height: 1.5;
  }
  .wizard-option:has(input:checked) .wizard-option-title {
    color: var(--orange);
  }

  .wizard-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
  }
  .wizard-field label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-bottom: 8px;
    font-weight: 500;
  }
  .wizard-field label .req { color: var(--orange); }
  .wizard-field input[type="text"],
  .wizard-field input[type="email"],
  .wizard-field input[type="tel"],
  .wizard-field input[type="number"],
  .wizard-field select,
  .wizard-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gray-700);
    padding: 10px 0;
    color: var(--white);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
  }
  .wizard-field input:focus,
  .wizard-field select:focus,
  .wizard-field textarea:focus {
    border-bottom-color: var(--orange);
  }
  .wizard-field textarea { resize: vertical; min-height: 80px; }
  .wizard-field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--gray-300) 50%), linear-gradient(135deg, var(--gray-300) 50%, transparent 50%);
    background-position: calc(100% - 12px) center, calc(100% - 7px) center;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    padding-right: 24px;
  }
  .wizard-field select option { background: var(--black); color: var(--white); }
  .wizard-double { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .wizard-field .field-hint {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 6px;
    line-height: 1.5;
  }

  .wizard-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
  }
  .wizard-checkbox input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--orange);
    cursor: pointer;
  }
  .wizard-checkbox span {
    font-size: 12px;
    color: var(--gray-300);
    line-height: 1.6;
  }
  .wizard-checkbox a { color: var(--orange); }

  .wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
  }
  .wizard-nav:has(> :only-child) { justify-content: flex-end; }
  .wizard-btn-back,
  .wizard-btn-next,
  .wizard-btn-submit {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
  }
  .wizard-btn-back {
    background: transparent;
    color: var(--gray-300);
    border: 1px solid var(--gray-700);
  }
  .wizard-btn-back:hover {
    color: var(--white);
    border-color: var(--gray-300);
  }
  .wizard-btn-next {
    background: var(--orange);
    color: var(--black);
  }
  .wizard-btn-next:hover { background: var(--white); }
  .wizard-btn-submit {
    background: var(--orange);
    color: var(--black);
    flex: 1;
    font-size: 15px;
    padding: 18px 32px;
  }
  .wizard-btn-submit:hover { background: var(--white); }

  /* ERROR MESSAGE */
  .wizard-error {
    background: rgba(255, 90, 31, 0.1);
    border-left: 2px solid var(--orange);
    color: var(--orange);
    padding: 10px 14px;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: none;
  }
  .wizard-error.visible { display: block; }

  /* SUMMARY */
  .wizard-summary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--gray-700);
    padding: 20px;
  }
  .wizard-summary-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
  }
  .wizard-summary-row:last-child { border-bottom: none; }
  .wizard-summary-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
    padding-top: 2px;
  }
  .wizard-summary-value {
    color: var(--white);
    line-height: 1.5;
  }
  .wizard-summary-value.multiline { white-space: pre-line; }

  /* SUCCESS MESSAGE */
  .wizard-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
  }
  .wizard-success.visible { display: block; }
  .wizard-success .success-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--orange);
    font-size: 28px;
  }
  .wizard-success h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
  }
  .wizard-success p {
    font-size: 14px;
    color: var(--gray-300);
    line-height: 1.6;
    max-width: 360px;
    margin: 0 auto;
  }
  /* ===== FINE WIZARD ===== */

  /* PLACEHOLDER PAGINA SERVIZIO IN COSTRUZIONE */
  .servizio-placeholder {
    padding: 120px 0;
    background: var(--off-white);
    border-top: 1px solid var(--gray-100);
  }
  .servizio-placeholder .placeholder-card {
    background: var(--white);
    border: 1px dashed var(--gray-300);
    padding: 80px 60px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    position: relative;
  }
  .servizio-placeholder .wip-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--black);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 14px;
    font-weight: 500;
  }
  .servizio-placeholder .breadcrumb {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 32px;
  }
  .servizio-placeholder .breadcrumb a { color: var(--gray-500); text-decoration: none; }
  .servizio-placeholder .breadcrumb a:hover { color: var(--orange); }
  .servizio-placeholder h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
  }
  .servizio-placeholder h2 .serif-word {
    font-family: 'Instrument Serif', serif;
    font-weight: 400;
    font-style: italic;
  }
  .servizio-placeholder .lead {
    font-size: 17px;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
  .servizio-placeholder .cta-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  .servizio-placeholder .cta-primary {
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .servizio-placeholder .cta-primary:hover { background: var(--orange); }
  .servizio-placeholder .cta-secondary {
    color: var(--black);
    text-decoration: none;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--black);
    transition: all 0.2s;
  }
  .servizio-placeholder .cta-secondary:hover { color: var(--orange); border-color: var(--orange); }

  /* RESPONSIVE */
  @media (max-width: 900px) {
    .hero-grid, .section-header, .cta-final-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .servizi-grid, .process-steps { grid-template-columns: 1fr; }
    .progetti-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .progetto:nth-child(1) { grid-column: 1; grid-row: auto; min-height: 300px; }
    .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .nav-links { display: none; }
    .section { padding: 80px 0; }
    .cta-final-btn { justify-self: start; }
    .footer-legal { flex-direction: column; gap: 12px; }
    .footer-legal a { margin-left: 0; margin-right: 16px; }
    .chi-siamo-grid, .contatti-grid, .servizio-dettaglio-intro { grid-template-columns: 1fr; gap: 40px; }
    .chi-siamo-lead { position: static; }
    .team-row, .values-row, .competenze-list, .form-double { grid-template-columns: 1fr; gap: 24px; }
    .other-services-grid { grid-template-columns: 1fr 1fr; }
    .chi-siamo-section, .servizio-dettaglio, .contatti-section { padding: 80px 0; }
    .competenze-group { padding: 28px 24px; }
    .form-contatti { padding: 28px 24px; }
    .wizard-double { grid-template-columns: 1fr; gap: 20px; }
    .wizard-steps .step-label { display: none; }
    .wizard-nav { flex-direction: column-reverse; }
    .wizard-btn-back, .wizard-btn-next, .wizard-btn-submit { width: 100%; }
    .wizard-summary-row { grid-template-columns: 1fr; gap: 4px; }
  }
/* ============================================
   LOGO TESTUALE (sostituzione temporanea PNG)
   ============================================ */
.logo-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--black);
}
.logo-text .logo-mark {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  background: var(--black);
  padding: 8px 10px 7px;
  border-right: 3px solid var(--orange);
  transition: background 0.2s;
}
.logo-text:hover .logo-mark {
  background: var(--orange);
  border-right-color: var(--black);
  color: var(--black);
}
.logo-text .logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-text .logo-name {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--black);
}
.logo-text .logo-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 2px;
}

/* Versione footer (su fondo nero) */
.logo-text-footer .logo-mark {
  background: var(--white);
  color: var(--black);
}
.logo-text-footer:hover .logo-mark {
  background: var(--orange);
  color: var(--black);
}
.logo-text-footer .logo-name {
  color: var(--white);
}
.logo-text-footer .logo-sub {
  color: var(--gray-500);
}

/* Responsive: su mobile mostra solo MC */
@media (max-width: 600px) {
  .logo-text .logo-wordmark {
    display: none;
  }
}

/* ============================================
   SCHEMI TECNICI (sostituisce progetti foto)
   ============================================ */
.schemi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  margin-top: 40px;
}
.schema-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  position: relative;
  color: var(--black);
}
.schema-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.schema-evidenza {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.schema-evidenza .schema-caption .t {
  color: var(--white);
}
.schema-label {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--orange);
  color: var(--black);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  text-transform: uppercase;
  font-weight: 500;
}
.schema-svg {
  width: 100%;
  height: auto;
  max-height: 220px;
  flex: 1;
  margin-bottom: 20px;
}
.schema-evidenza .schema-svg {
  max-height: 320px;
}
.schema-caption {
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 16px;
  margin-top: auto;
}
.schema-evidenza .schema-caption {
  border-top-color: rgba(255,255,255,0.1);
}
.schema-caption .t {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 6px;
}
.schema-caption .s {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.schema-evidenza .schema-caption .s {
  color: var(--gray-300);
}

/* Nota liberatoria */
.liberatoria-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--off-white);
  border-left: 2px solid var(--orange);
}
.liberatoria-note .liberatoria-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.liberatoria-note p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
}
.liberatoria-note strong {
  color: var(--black);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .schemi-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .schema-evidenza { grid-column: span 2; grid-row: auto; }
  .schema-evidenza .schema-svg { max-height: 240px; }
}
@media (max-width: 600px) {
  .schemi-grid { grid-template-columns: 1fr; }
  .schema-evidenza { grid-column: span 1; }
  .liberatoria-note { flex-direction: column; gap: 12px; padding: 16px; }
}

/* =========================================================
   LOGO IMG — testata e footer
   Sostituisce il logo testuale con il PNG ripulito.
   ========================================================= */
.logo-img {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.logo-img img {
  display: block;
  height: 72px;          /* testata: logo grande e presente */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 160ms ease, opacity 160ms ease;
}
.logo-img:hover img {
  transform: translateY(-1px);
  opacity: 0.92;
}

/* Footer su sfondo scuro: logo leggermente più piccolo */
.logo-img-footer img {
  height: 56px;
}

/* Responsive: su tablet/mobile leggermente ridotto */
@media (max-width: 900px) {
  .logo-img img { height: 58px; }
  .logo-img-footer img { height: 48px; }
}
@media (max-width: 600px) {
  .logo-img img { height: 48px; }
  .logo-img-footer img { height: 42px; }
}
