/* Lodi Digital Solutions — style.css */

/* ── FONTS ── */
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-mono-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/dm-mono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/dm-mono-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/dm-mono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/dm-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/dm-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: #111827; background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── LAYOUT ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

/* ── NAV (Bootstrap 5) ── */
#mainNav { background: rgba(255,255,255,0.95) !important; backdrop-filter: blur(12px); border-bottom: 1px solid #e5e7eb; padding: 0; }
.nav-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 28px; }
@media (min-width: 992px) { .nav-inner { flex-wrap: nowrap; } }
#mainNav .navbar-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #111827 !important; white-space: nowrap; padding: 0; min-height: 58px; }
.brand-logo { height: 30px; width: auto; border-radius: 6px; display: block; flex-shrink: 0; }
#mainNav .navbar-toggler { border: none; padding: 4px; margin-left: 12px; }
#mainNav .navbar-toggler:focus { box-shadow: none; }
#mainNav .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23111827' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); width: 20px; height: 20px; }
#mainNav .navbar-nav { gap: 4px; }
#mainNav .nav-link { font-size: 13px; font-weight: 500; color: #6b7280 !important; padding: 6px 12px !important; border-radius: 6px; transition: color .15s, background .15s; -webkit-tap-highlight-color: transparent; }
#mainNav .nav-link:hover, #mainNav .nav-link.active { color: #111827 !important; }
#mainNav .dropdown-menu { border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 4px 24px rgba(0,0,0,.08); padding: 8px; min-width: 210px; margin-top: 8px; }
#mainNav .dropdown-item { font-size: 13px; font-weight: 500; color: #374151; padding: 8px 12px; border-radius: 6px; transition: color .15s, background .15s; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
#mainNav .dropdown-item:hover, #mainNav .dropdown-item:focus { color: #7c3aed; background: #faf5ff; }
@media (hover: none) {
  #mainNav .nav-link:hover { background: transparent; color: #6b7280 !important; }
  #mainNav .dropdown-item:hover { background: transparent; color: #374151; }
}
@media (min-width: 992px) {
  #mainNav .dropdown-menu { display: block !important; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; pointer-events: none; }
  #mainNav .dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
}
#mainNav .dropdown-divider { margin: 4px 8px; border-color: #f3f4f6; }
.nav-drop-all { color: #7c3aed !important; font-weight: 600 !important; }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #fff; background: #7c3aed; border: none; border-radius: 8px; padding: 8px 18px; cursor: pointer; transition: background .15s; white-space: nowrap; touch-action: manipulation; text-decoration: none; flex-shrink: 0; }
.nav-cta:hover { background: #6d28d9; color: #fff; }
@media (max-width: 991px) {
  #mainNav .navbar-collapse { border-top: 1px solid #f3f4f6; padding: 12px 0 20px; width: 100%; }
  #mainNav .navbar-nav { gap: 0; }
  #mainNav .nav-link { font-size: 15px !important; padding: 12px 4px !important; border-bottom: 1px solid #f3f4f6; border-radius: 0; }
  #mainNav .nav-link:hover, #mainNav .nav-link:focus, #mainNav .nav-link:active { background: transparent !important; }
  #mainNav .dropdown-menu { display: block !important; opacity: 1 !important; visibility: visible !important; transform: none !important; box-shadow: none; border: none; border-radius: 0; padding: 0 0 0 16px; margin-top: 0; max-height: 0; overflow: hidden; transition: max-height .26s ease; pointer-events: none; }
  #mainNav .dropdown-menu.show { max-height: 400px; pointer-events: auto; }
  #mainNav .dropdown-item { font-size: 13px; color: #6b7280; padding: 10px 0; border-bottom: 1px solid #f3f4f6; border-radius: 0; }
  #mainNav .dropdown-item:hover, #mainNav .dropdown-item:focus, #mainNav .dropdown-item:active { background: transparent !important; color: #6b7280 !important; }
  #mainNav .dropdown-divider { display: none; }
  .nav-cta { margin-top: 16px; display: flex; justify-content: center; width: 100%; }
}

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #fff; background: #7c3aed; border: none; border-radius: 8px; padding: 13px 26px; cursor: pointer; transition: background .15s, transform .1s; }
.btn-primary:hover { background: #6d28d9; transform: translateY(-1px); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #374151; background: transparent; border: 1px solid #d1d5db; border-radius: 8px; padding: 13px 26px; cursor: pointer; transition: border-color .15s, background .15s; }
.btn-outline:hover { border-color: #9ca3af; background: #f9fafb; }

/* ── SECTIONS ── */
.section { padding: 88px 0; border-bottom: 1px solid #e5e7eb; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; color: #7c3aed; letter-spacing: .05em; margin-bottom: 12px; }
.section-tag::before { content: ''; display: block; width: 14px; height: 1px; background: #84cc16; }
.section h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.025em; color: #111827; line-height: 1.2; margin-bottom: 8px; }
.section-sub { font-size: 15px; color: #6b7280; line-height: 1.7; max-width: 480px; margin-bottom: 48px; }

/* ── CHECK ICON ── */
.check-icon { width: 16px; height: 16px; border-radius: 50%; background: #f7fee7; border: 1px solid #bef264; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-size: 8px; color: #65a30d; }
.check-icon svg { width: 10px; height: 10px; }

/* ── PORT STRIP + SECTION-MORE ── */
.port-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.port-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #374151; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px 14px; transition: border-color .15s, color .15s, background .15s; }
.port-link:hover { border-color: #7c3aed; color: #7c3aed; background: #faf5ff; }
.port-link-type { font-family: 'DM Mono', monospace; font-size: 10px; color: #9ca3af; }
.port-link:hover .port-link-type { color: #c4b5fd; }
.section-more { margin-top: 24px; }
.section-more a { font-size: 13px; font-weight: 600; color: #7c3aed; border-bottom: 1px solid #c4b5fd; padding-bottom: 1px; transition: color .15s, border-color .15s; }
.section-more a:hover { color: #5b21b6; border-color: #7c3aed; }

/* ── CTA BLOCK ── */
.cta-block { background: #111827; border-radius: 12px; padding: 52px 44px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.cta-block h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 600; color: #fff; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 10px; }
.cta-block p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 420px; }
.cta-free { display: inline-flex; align-items: center; gap: 6px; font-family: 'DM Mono', monospace; font-size: 11px; color: #84cc16; background: rgba(132,204,22,.12); border: 1px solid rgba(132,204,22,.3); border-radius: 100px; padding: 5px 14px; margin-top: 16px; }
.cta-free-dot { width: 5px; height: 5px; border-radius: 50%; background: #84cc16; }

/* ── PROCESS STRIP ── */
.process-strip { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; margin-top: 40px; }
.process-step { padding: 24px 22px; border-right: 1px solid #e5e7eb; }
.process-step:last-child { border-right: none; }
.process-num { font-family: 'DM Mono', monospace; font-size: 11px; color: #d1d5db; margin-bottom: 10px; }
.process-title { font-size: 14px; font-weight: 600; color: #111827; margin-bottom: 5px; }
.process-desc { font-size: 12px; color: #9ca3af; line-height: 1.65; }

/* ── COLLAB BLOCK ── */
.collab-block { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 40px 44px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.collab-block:has(.collab-icon) { grid-template-columns: auto 1fr; align-items: start; gap: 24px; }
.collab-block.dark { background: #111827; border-color: #1f2937; grid-template-columns: 1fr auto; align-items: center; }
.collab-icon { width: 44px; height: 44px; background: #faf5ff; border: 1px solid #e9d5ff; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.collab-icon svg { width: 22px; height: 22px; }
.collab-text h3, .collab-text h4 { font-size: 17px; font-weight: 600; color: #111827; margin-bottom: 8px; }
.collab-block.dark .collab-text h3, .collab-block.dark .collab-text h4 { color: #fff; }
.collab-text p { font-size: 14px; color: #6b7280; line-height: 1.7; max-width: 540px; }
.collab-block.dark .collab-text p { color: rgba(255,255,255,.5); }

/* ── TECH CHIPS ── */
.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tech-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #374151; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 100px; padding: 6px 14px; }
.tech-chip-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ── FOOTER ── */
.footer { border-top: 1px solid #e5e7eb; padding: 22px 0 80px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: #9ca3af; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.footer-links a { font-size: 12px; color: #9ca3af; transition: color .15s; }
.footer-links a:hover { color: #374151; }

/* ── SCROLL TOP + REVEAL ── */
.scroll-top { position: fixed; bottom: 14px; right: 24px; z-index: 99; background: #111827; color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; padding: 10px 18px; cursor: pointer; display: none; align-items: center; justify-content: center; transition: background .15s; text-decoration: none; white-space: nowrap; }
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: #7c3aed; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

/* ── PAGE HERO (secondary pages) ── */
.page-hero { position: relative; overflow: hidden; padding-top: 58px; border-bottom: 1px solid #e5e7eb; }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-inner { padding: 72px 0 64px; max-width: 680px; }
.page-hero-back { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #9ca3af; margin-bottom: 20px; transition: color .15s; }
.page-hero-back:hover { color: #6b7280; }
.page-hero-tag { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; color: #7c3aed; letter-spacing: .05em; margin-bottom: 16px; }
.page-hero-tag::before { content: ''; display: block; width: 14px; height: 1px; background: #84cc16; }
.page-hero-title { font-size: clamp(34px, 5vw, 54px); font-weight: 600; letter-spacing: -.03em; color: #111827; line-height: 1.1; margin-bottom: 20px; }
.page-hero-title .accent { color: #7c3aed; }
.page-hero-text { font-size: 16px; color: #6b7280; line-height: 1.75; margin-bottom: 32px; }
.page-hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #4d7c0f; background: #f7fee7; border: 1px solid #bef264; border-radius: 100px; padding: 5px 14px; margin-bottom: 24px; }
.page-hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #84cc16; flex-shrink: 0; }
.page-hero-note { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; color: #7c3aed; background: #faf5ff; border: 1px solid #e9d5ff; border-radius: 100px; padding: 5px 14px; margin-top: 20px; }

/* ── STAT STRIP (chi-sono, portfolio) ── */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #e5e7eb; }
.stat-cell { padding: 22px 28px; border-right: 1px solid #e5e7eb; }
.stat-cell:last-child { border-right: none; }
.stat-num { font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: #111827; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: #9ca3af; }

/* ── PAGE HERO GRID (sito-web, landing-page) ── */
.page-hero-grid { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: center; padding: 72px 0 64px; }

/* ── PRICE CARD ── */
.price-card { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 32px; }
.price-label { font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; color: #9ca3af; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.price-value { font-size: 42px; font-weight: 600; color: #111827; letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.price-note { font-size: 13px; color: #9ca3af; margin-bottom: 20px; }
.price-badge { display: inline-flex; align-items: center; gap: 6px; font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; color: #4d7c0f; background: #f7fee7; border: 1px solid #bef264; border-radius: 100px; padding: 4px 12px; }
.price-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: #84cc16; }
.price-divider { height: 1px; background: #e5e7eb; margin: 20px 0; }
.price-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #374151; margin-bottom: 8px; }
.price-row:last-child { margin-bottom: 0; }
.price-check { width: 14px; height: 14px; border-radius: 50%; background: #f7fee7; border: 1px solid #bef264; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.price-check svg { width: 8px; height: 8px; }

/* ── INCLUDES GRID + FIX LIST ── */
.includes-grid, .fix-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 40px; }
.includes-item, .fix-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #374151; line-height: 1.5; }

/* ── WHEN GRID ── */
.when-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.when-item { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; padding: 24px; }
.when-num { font-family: 'DM Mono', monospace; font-size: 11px; color: #d1d5db; margin-bottom: 10px; }
.when-title { font-size: 15px; font-weight: 600; color: #111827; margin-bottom: 6px; }
.when-text { font-size: 13px; color: #6b7280; line-height: 1.65; }

/* ── CONTACT BOX (shared: index + contatti) ── */
.contact-box { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.contact-left { background: #111827; padding: 52px 44px; }
.contact-left h1, .contact-left h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.025em; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.contact-left h1 .accent, .contact-left h2 .accent { color: #a78bfa; }
.contact-left-body { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 28px; }
.contact-free { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; color: #84cc16; background: rgba(132,204,22,.12); border: 1px solid rgba(132,204,22,.3); border-radius: 100px; padding: 6px 16px; margin-bottom: 36px; }
.contact-free-dot { width: 6px; height: 6px; border-radius: 50%; background: #84cc16; flex-shrink: 0; }
.contact-meta { font-family: 'DM Mono', monospace; font-size: 12px; color: rgba(255,255,255,.3); line-height: 2.2; }
.contact-meta a { color: rgba(255,255,255,.45); transition: color .15s; }
.contact-meta a:hover { color: #fff; }
.contact-right { background: #fff; padding: 52px 44px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 500; color: #6b7280; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 1px solid #e5e7eb; border-radius: 8px; padding: 11px 14px; font-size: 14px; color: #111827; font-family: 'DM Sans', system-ui, sans-serif; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { border-color: #7c3aed; box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.field input::placeholder, .field textarea::placeholder { color: #d1d5db; }
.field textarea { height: 100px; resize: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.privacy { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; color: #9ca3af; line-height: 1.6; margin-bottom: 20px; }
.privacy input { margin-top: 2px; flex-shrink: 0; accent-color: #7c3aed; }
.privacy a { color: #7c3aed; }
.submit-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; color: #fff; background: #7c3aed; border: none; border-radius: 8px; padding: 14px; cursor: pointer; font-family: 'DM Sans', system-ui, sans-serif; transition: background .15s, transform .1s; }
.submit-btn:hover { background: #6d28d9; transform: translateY(-1px); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-feedback { display: none; margin-top: 12px; padding: 10px 14px; border-radius: 8px; font-size: 13px; text-align: center; }
.form-feedback.ok { display: block; background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.form-feedback.err { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ═══════════════════════════════════════════════
   INDEX PAGE
   ═══════════════════════════════════════════════ */
.hero { position: relative; overflow: hidden; padding-top: 58px; border-bottom: 1px solid #e5e7eb; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-content { position: relative; z-index: 1; padding: 72px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: #4d7c0f; background: #f7fee7; border: 1px solid #bef264; border-radius: 100px; padding: 5px 14px; margin-bottom: 24px; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #84cc16; flex-shrink: 0; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; color: #111827; margin-bottom: 20px; }
.hero h1 .accent { color: #7c3aed; }
.hero-text { font-size: 17px; font-weight: 400; color: #6b7280; line-height: 1.75; max-width: 440px; margin-bottom: 36px; }
.hero-buttons { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-proof { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #6b7280; flex-wrap: wrap; }
.proof-stars { color: #f59e0b; letter-spacing: 1px; }
.proof-divider { width: 1px; height: 14px; background: #e5e7eb; flex-shrink: 0; }
.hero-panel { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.panel-bar { background: #f3f4f6; border-bottom: 1px solid #e5e7eb; padding: 12px 16px; display: flex; align-items: center; gap: 6px; }
.panel-dot { width: 10px; height: 10px; border-radius: 50%; }
.panel-bar-label { font-family: 'DM Mono', monospace; font-size: 11px; color: #9ca3af; margin-left: 8px; }
.panel-rows { padding: 4px 0; }
.panel-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid #f3f4f6; gap: 16px; }
.panel-row:last-child { border-bottom: none; }
.panel-label { font-size: 13px; font-weight: 500; color: #374151; }
.panel-value { font-family: 'DM Mono', monospace; font-size: 13px; font-weight: 500; color: #7c3aed; white-space: nowrap; }
.panel-tag-green { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; color: #4d7c0f; background: #f7fee7; border: 1px solid #bef264; border-radius: 100px; padding: 2px 10px; white-space: nowrap; }
.panel-footer { background: #fff; border-top: 1px solid #e5e7eb; padding: 14px 20px; display: flex; align-items: center; gap: 10px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(22,163,74,.15); animation: blink 2s ease-in-out infinite; }
@keyframes blink {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,.15); }
  50% { box-shadow: 0 0 0 6px rgba(22,163,74,.07); }
}
.online-text { font-size: 12px; color: #6b7280; }
.online-text strong { color: #16a34a; font-weight: 600; }
.hero-strip { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #e5e7eb; }
.strip-cell { padding: 22px 28px; border-right: 1px solid #e5e7eb; }
.strip-cell:last-child { border-right: none; }
.strip-num { font-size: 26px; font-weight: 600; letter-spacing: -.03em; color: #111827; line-height: 1; margin-bottom: 4px; }
.strip-label { font-size: 12px; color: #9ca3af; }
.services-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.service-row { display: grid; grid-template-columns: 32px 1fr auto 28px; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid #f3f4f6; cursor: pointer; text-decoration: none; color: inherit; transition: color .15s; }
.service-row:first-child { border-top: 1px solid #f3f4f6; }
.service-row:hover .service-name { color: #7c3aed; }
.service-arrow { font-size: 20px; color: #d1d5db; line-height: 1; transition: color .15s, transform .15s; display: flex; align-items: center; justify-content: center; }
.service-row:hover .service-arrow { color: #7c3aed; transform: translateX(3px); }
.service-index { font-family: 'DM Mono', monospace; font-size: 11px; color: #d1d5db; padding-top: 3px; }
.service-name { font-size: 16px; font-weight: 600; color: #111827; margin-bottom: 4px; transition: color .15s; }
.service-desc { font-size: 13px; color: #6b7280; line-height: 1.6; }
.service-price { font-size: 14px; font-weight: 600; color: #111827; white-space: nowrap; text-align: right; padding-top: 3px; }
.service-price-note { font-family: 'DM Mono', monospace; font-size: 11px; color: #9ca3af; white-space: nowrap; text-align: right; padding-top: 3px; }
.services-aside { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 28px; }
.aside-title { font-size: 14px; font-weight: 600; color: #111827; margin-bottom: 6px; }
.aside-body { font-size: 13px; color: #6b7280; line-height: 1.7; margin-bottom: 20px; }
.aside-btn { display: block; width: 100%; text-align: center; font-size: 14px; font-weight: 600; color: #fff; background: #7c3aed; border: none; border-radius: 8px; padding: 12px; cursor: pointer; transition: background .15s; }
.aside-btn:hover { background: #6d28d9; }
.aside-divider { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #9ca3af; margin: 18px 0; }
.aside-divider::before, .aside-divider::after { content: ''; flex: 1; height: 1px; background: #e5e7eb; }
.aside-checklist { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.aside-checklist li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #374151; }
.reviews-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.review-card { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 28px; }
.review-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.review-stars { color: #f59e0b; font-size: 13px; letter-spacing: 2px; }
.review-source { font-family: 'DM Mono', monospace; font-size: 10px; color: #9ca3af; background: #fff; border: 1px solid #e5e7eb; border-radius: 100px; padding: 3px 10px; white-space: nowrap; }
.review-text { font-size: 15px; color: #374151; line-height: 1.7; margin-bottom: 16px; }
.review-author { font-size: 13px; font-weight: 600; color: #111827; }
section.contact-section { padding: 88px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: center; margin-top: 40px; }
.about-name { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; color: #7c3aed; letter-spacing: .05em; margin-bottom: 12px; }
.about-bio { font-size: 15px; color: #374151; line-height: 1.85; margin-bottom: 28px; }
.about-bio p { margin-bottom: 14px; }
.about-bio p:last-child { margin-bottom: 0; }
.about-card { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; }
.about-fact { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f3f4f6; }
.about-fact:last-child { border-bottom: none; padding-bottom: 0; }
.about-fact-icon { width: 32px; height: 32px; flex-shrink: 0; background: #faf5ff; border: 1px solid #e9d5ff; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.about-fact-icon svg { width: 14px; height: 14px; }
.about-fact-label { font-family: 'DM Mono', monospace; font-size: 10px; color: #9ca3af; margin-bottom: 2px; }
.about-fact-value { font-size: 13px; font-weight: 600; color: #111827; }
.logos-marquee-wrap { margin-top: 36px; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%); padding-top: 24px; border-top: 1px solid #f3f4f6; }
.logos-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee-scroll 35s linear infinite; }
.logos-track:hover { animation-play-state: paused; }
.logo-chip { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: #9ca3af; white-space: nowrap; user-select: none; letter-spacing: .02em; }
.logo-chip img { height: 78px; width: auto; max-width: 130px; object-fit: contain; transition: opacity .25s, filter .25s; }
.logos-track:hover .logo-chip img { filter: grayscale(.2); }
.logo-chip-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.reviews-marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%); }
.reviews-track { display: flex; gap: 16px; width: max-content; animation: marquee-scroll 48s linear infinite; padding: 4px 0 8px; }
.reviews-track:hover { animation-play-state: paused; }
.reviews-track .review-card { width: 320px; flex-shrink: 0; }
.portfolio-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ═══════════════════════════════════════════════
   CHI SONO PAGE
   ═══════════════════════════════════════════════ */
.bio-body { max-width: 640px; margin-bottom: 48px; }
.bio-body p { font-size: 15px; color: #374151; line-height: 1.85; margin-bottom: 18px; }
.bio-body p:last-child { margin-bottom: 0; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: #e5e7eb; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; margin-top: 40px; }
.value-card { background: #fff; padding: 32px 28px; }
.value-icon { width: 36px; height: 36px; background: #faf5ff; border: 1px solid #e9d5ff; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.value-icon svg { width: 18px; height: 18px; }
.value-title { font-size: 15px; font-weight: 600; color: #111827; margin-bottom: 6px; }
.value-text { font-size: 13px; color: #6b7280; line-height: 1.65; }

/* ═══════════════════════════════════════════════
   SERVIZI PAGE
   ═══════════════════════════════════════════════ */
.services-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-card { background: #fff; border: 1px solid #e5e7eb; border-top: 3px solid #7c3aed; border-radius: 12px; padding: 24px; text-decoration: none; transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.service-card:hover { box-shadow: 0 8px 32px rgba(124,58,237,.1); transform: translateY(-2px); }
.sc-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.sc-idx { font-family: 'DM Mono', monospace; font-size: 11px; color: #d1d5db; line-height: 1; }
.sc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid #f3f4f6; margin-top: auto; }
.service-card-icon { width: 38px; height: 38px; background: #faf5ff; border: 1px solid #e9d5ff; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-card-icon svg { width: 18px; height: 18px; }
.service-card-title { font-size: 16px; font-weight: 600; color: #111827; margin-bottom: 8px; transition: color .15s; }
.service-card:hover .service-card-title { color: #7c3aed; }
.service-card-desc { font-size: 13px; color: #6b7280; line-height: 1.65; margin-bottom: 14px; }
.service-card-price { font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 500; color: #7c3aed; }
.service-card-arrow { font-size: 13px; font-weight: 600; color: #7c3aed; display: flex; align-items: center; gap: 4px; transition: gap .15s; }
.service-card:hover .service-card-arrow { gap: 8px; }
.service-card-features { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; flex: 1; }
.service-card-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #374151; line-height: 1.5; }

/* ═══════════════════════════════════════════════
   WEB APP PAGE
   ═══════════════════════════════════════════════ */
.usecase-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.usecase-item { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; padding: 24px; }
.usecase-icon { width: 34px; height: 34px; background: #faf5ff; border: 1px solid #e9d5ff; border-radius: 7px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.usecase-icon svg { width: 17px; height: 17px; }
.usecase-title { font-size: 14px; font-weight: 600; color: #111827; margin-bottom: 6px; }
.usecase-text { font-size: 13px; color: #6b7280; line-height: 1.65; }

/* ═══════════════════════════════════════════════
   RESTAURO SITO PAGE
   ═══════════════════════════════════════════════ */
.problems-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: #e5e7eb; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.problem-item { background: #fff; padding: 28px 24px; }
.problem-icon { width: 36px; height: 36px; border-radius: 8px; background: #f5f3ff; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 16px; color: #7c3aed; }
.problem-title { font-size: 14px; font-weight: 600; color: #111827; margin-bottom: 6px; }
.problem-text { font-size: 13px; color: #6b7280; line-height: 1.65; }

/* ═══════════════════════════════════════════════
   PORTFOLIO PAGE
   ═══════════════════════════════════════════════ */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #6b7280; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px 16px; cursor: pointer; transition: all .15s; font-family: 'DM Sans', system-ui, sans-serif; }
.filter-btn .count { font-family: 'DM Mono', monospace; font-size: 11px; color: #9ca3af; background: #f3f4f6; border-radius: 100px; padding: 1px 7px; }
.filter-btn.active { color: #7c3aed; background: #faf5ff; border-color: #e9d5ff; }
.filter-btn.active .count { color: #a78bfa; background: #f5f0ff; }
.filter-btn:hover:not(.active) { border-color: #d1d5db; background: #fff; color: #374151; }
.port-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.port-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; display: flex; flex-direction: column; }
.port-card:hover { border-color: #7c3aed; box-shadow: 0 4px 24px rgba(124,58,237,.08); }
.port-card[style*="display: none"] { display: none !important; }
.mock-chrome { background: #f3f4f6; border-bottom: 1px solid #e5e7eb; padding: 10px 14px; display: flex; align-items: center; gap: 5px; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.mock-url { font-family: 'DM Mono', monospace; font-size: 10px; color: #9ca3af; margin-left: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-body { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 38px; overflow: hidden; }
.mock-body img { width: 100%; height: 100%; object-fit: cover; object-position: top; align-self: stretch; display: block; }
.port-card-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.port-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.port-card-name { font-size: 15px; font-weight: 600; color: #111827; line-height: 1.3; }
.port-card-badge { font-family: 'DM Mono', monospace; font-size: 10px; font-weight: 500; border-radius: 100px; padding: 3px 10px; white-space: nowrap; flex-shrink: 0; }
.badge-vetrina { color: #4d7c0f; background: #f7fee7; border: 1px solid #bef264; }
.badge-landing { color: #0369a1; background: #f0f9ff; border: 1px solid #bae6fd; }
.badge-restauro { color: #c2410c; background: #fff7ed; border: 1px solid #fed7aa; }
.port-card-industry { font-size: 12px; color: #9ca3af; margin-bottom: 10px; }
.port-card-desc { font-size: 13px; color: #6b7280; line-height: 1.65; flex: 1; margin-bottom: 16px; }
.port-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #7c3aed; transition: color .15s; margin-top: auto; }
.port-card-link:hover { color: #6d28d9; }
.port-card-link i { font-size: 11px; }
.port-card-coming { border-style: dashed; background: linear-gradient(135deg,#faf5ff 0%,#f0fdf4 100%); cursor: default; }
.port-card-coming:hover { border-color: #c4b5fd; box-shadow: 0 4px 24px rgba(124,58,237,.06); }
.port-card-coming .coming-body { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 44px 20px; flex: 1; text-align: center; gap: 10px; }
.coming-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg,#ede9fe,#ecfdf5); display: flex; align-items: center; justify-content: center; font-size: 20px; color: #7c3aed; margin-bottom: 4px; }
.coming-title { font-size: 15px; font-weight: 600; color: #374151; }
.coming-sub { font-size: 12px; color: #9ca3af; line-height: 1.55; max-width: 160px; }

/* ═══════════════════════════════════════════════
   CONTATTI PAGE
   ═══════════════════════════════════════════════ */
div.contact-section { padding-top: 58px; min-height: calc(100vh - 80px); display: flex; align-items: center; }
.contact-section-inner { padding: 72px 0 88px; }
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 1px; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.faq-item { background: #f9fafb; border-bottom: 1px solid #e5e7eb; }
.faq-item:last-child { border-bottom: none; }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; background: none; border: none; cursor: pointer; font-family: 'DM Sans', system-ui, sans-serif; font-size: 14px; font-weight: 600; color: #111827; text-align: left; }
.faq-chevron { flex-shrink: 0; font-size: 13px; color: #9ca3af; transition: transform .25s; }
.faq-btn[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-body { display: none; padding: 0 28px 22px; font-size: 13px; color: #6b7280; line-height: 1.65; }
.faq-body.open { display: block; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .port-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  /* Index hero */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .hero-strip { grid-template-columns: repeat(2,1fr); }
  .strip-cell:nth-child(2) { border-right: none; }
  .strip-cell:nth-child(3) { border-top: 1px solid #e5e7eb; }
  .strip-cell:nth-child(4) { border-top: 1px solid #e5e7eb; border-right: none; }
  /* Index sections */
  .services-layout { grid-template-columns: 1fr; }
  .services-aside { position: static; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-box { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  /* Process strip */
  .process-strip { grid-template-columns: repeat(2,1fr); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { border-top: 1px solid #e5e7eb; }
  .process-step:nth-child(4) { border-top: 1px solid #e5e7eb; border-right: none; }
  /* Page hero grid */
  .page-hero-grid { grid-template-columns: 1fr; padding: 52px 0 40px; }
  .price-card { display: none; }
  /* Content grids */
  .includes-grid, .fix-list { grid-template-columns: 1fr; }
  .when-grid { grid-template-columns: 1fr; }
  .services-cards { grid-template-columns: repeat(2,1fr); }
  .usecase-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .problems-grid { grid-template-columns: 1fr; }
  /* Stat strip */
  .stat-strip { grid-template-columns: repeat(2,1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-top: 1px solid #e5e7eb; }
  .stat-cell:nth-child(4) { border-top: 1px solid #e5e7eb; border-right: none; }
  /* Collab + CTA */
  .collab-block, .collab-block.dark, .collab-block:has(.collab-icon) { grid-template-columns: 1fr; align-items: flex-start; }
  .collab-block > .btn-primary, .collab-block > .btn-outline { justify-self: start; }
  .cta-block { grid-template-columns: 1fr; padding: 36px 28px; }
  /* Contatti */
  div.contact-section { align-items: flex-start; }
  /* Service cards — disabilita hover su touch */
  .service-card:hover { box-shadow: none; transform: none; }
  .service-card:hover .service-card-title { color: #111827; }
  .service-card:hover .service-card-arrow { gap: 4px; }
}
@media (hover: none) {
  .service-card:hover { box-shadow: none; transform: none; }
  .service-card:hover .service-card-title { color: #111827; }
  .service-card:hover .service-card-arrow { gap: 4px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .section { padding: 60px 0; }
  .hero-content { padding: 52px 0 40px; }
  .page-hero-inner { padding: 52px 0 40px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-left { padding: 36px 28px; }
  .contact-right { padding: 36px 28px; }
  .contact-section-inner { padding: 52px 0 64px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 36px; }
  .strip-cell { padding: 18px 20px; }
  .port-grid { grid-template-columns: 1fr; }
  .services-cards { grid-template-columns: 1fr; }
  .collab-block { padding: 32px 28px; }
  .collab-block > .btn-primary, .collab-block > .btn-outline { width: 100%; justify-content: center; text-align: center; }
}
