
/* SEO Footer */
.seo-footer { background: var(--footer-bg, #030710); color: var(--footer-text, #5a6070); padding: 60px 0 32px; }
.seo-footer a { color: var(--footer-text, #5a6070); text-decoration: none; transition: color .15s; }
.seo-footer a:hover { color: #fff; }
.seo-footer hr { border-color: #111827; }
.seo-footer-brand { font-size: 1.4rem; font-weight: 800; color: #fff; letter-spacing: -.8px; }
.seo-footer-brand span { color: #7c3aed; }
.seo-footer-heading { color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }

/* Page styles */
:root {
  --accent: #2563eb;
  --accent-warm: #f59e0b;
  --text: #111827;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --border: #e5e7eb;
  --radius: 16px;
}
* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); margin: 0; }

.hero { min-height: 88vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 80px; background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 50%, #f5f3ff 100%); }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: #eff6ff; color: var(--accent); border: 1px solid #bfdbfe; border-radius: 100px; padding: 4px 14px; font-size: .8rem; font-weight: 500; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; }
.hero h1 span { color: var(--accent); }
.hero p.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 540px; line-height: 1.7; }
.btn-primary-custom { background: var(--accent); color: #fff; border: none; border-radius: 12px; padding: 14px 32px; font-size: 1rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: opacity .15s, transform .15s; }
.btn-primary-custom:hover { opacity: .9; transform: translateY(-1px); color: #fff; }
.btn-outline-custom { background: transparent; color: var(--text); border: 1.5px solid var(--border); border-radius: 12px; padding: 13px 28px; font-size: 1rem; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: border-color .15s; }
.btn-outline-custom:hover { border-color: var(--accent); color: var(--accent); }

.section-label { display: none; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -0.5px; }
.features { padding: 100px 0; background: var(--bg-soft); }
.feature-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; height: 100%; transition: box-shadow .2s, transform .2s; }
.feature-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: #eff6ff; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.4rem; color: var(--accent); }
.feature-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .95rem; line-height: 1.6; margin: 0; }

.usecases { padding: 100px 0; }
.use-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.use-icon { width: 44px; height: 44px; border-radius: 12px; background: #eff6ff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--accent); flex-shrink: 0; }
.use-card h5 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.use-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.5; margin: 0; }

.how-it-works { padding: 100px 0; background: var(--bg-soft); }
.step { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 40px; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; font-size: 1rem; }
.step h5 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: .95rem; line-height: 1.6; margin: 0; }

.cta-section { padding: 100px 0; background: var(--accent); color: #fff; text-align: center; }
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -1px; }
.cta-section p { font-size: 1.1rem; opacity: .85; }
.btn-white { background: #fff; color: var(--accent); border: none; border-radius: 12px; padding: 14px 32px; font-size: 1rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-white:hover { opacity: .9; color: var(--accent); }

.qr-display { background: #fff; border-radius: 20px; padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.12); display: inline-block; }
.qr-grid { display: grid; grid-template-columns: repeat(7, 24px); gap: 3px; }
.qr-cell { width: 24px; height: 24px; border-radius: 4px; }
.qr-black { background: #111827; }
.qr-white { background: #fff; }
@keyframes scanLine { 0% { top: 8%; } 100% { top: 88%; } }
.qr-scanner { position: relative; overflow: hidden; border-radius: 12px; }
.scan-line { position: absolute; left: 0; right: 0; height: 2px; background: rgba(37,99,235,.7); box-shadow: 0 0 8px rgba(37,99,235,.5); animation: scanLine 2s ease-in-out infinite alternate; }

@keyframes _fadeUp { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
.anim { opacity: 0; transform: translateY(36px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.anim.in { opacity: 1; transform: none; }
.hero-badge { animation: _fadeUp .6s cubic-bezier(.22,1,.36,1) .10s both; }
.hero h1    { animation: _fadeUp .8s cubic-bezier(.22,1,.36,1) .22s both; }
.hero .lead { animation: _fadeUp .7s cubic-bezier(.22,1,.36,1) .38s both; }

/* ---- Verifica sito (2026-11-26) ---- */
.vs-hero { min-height: auto; padding: 140px 0 80px; }
.vs-form { display: flex; gap: 10px; max-width: 620px; margin: 0 auto; background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 8px; box-shadow: 0 10px 40px rgba(37,99,235,.08); }
.vs-form input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1.1rem; padding: 8px 12px; background: transparent; }
.vs-form .btn-primary-custom { padding: 12px 24px; flex: 0 0 auto; }
.vs-form .btn-primary-custom:disabled { opacity: .6; }
.vs-note { font-size: .85rem; color: var(--text-muted); }
.vs-result { padding: 60px 0 80px; background: var(--bg-soft); scroll-margin-top: 70px; }
.vs-loading { text-align: center; padding: 40px 0; color: var(--text-muted); }
.vs-loading p { margin-top: 12px; }
.vs-error { max-width: 640px; margin: 0 auto; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 12px; padding: 16px 20px; text-align: center; }
.vs-head { display: flex; align-items: center; gap: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; }
.vs-head h2 { font-size: 1.5rem; font-weight: 700; margin: 2px 0 4px; }
.vs-host { font-size: .85rem; font-weight: 600; color: var(--accent); word-break: break-all; }
.vs-score { position: relative; width: 110px; height: 110px; flex: 0 0 auto; }
.vs-score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.vs-score circle { fill: none; stroke-width: 10; }
.vs-ring-bg { stroke: #eef2f7; }
.vs-ring { stroke: #16a34a; stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.vs-score.mid .vs-ring { stroke: #f59e0b; }
.vs-score.bad .vs-ring { stroke: #dc2626; }
.vs-score span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; }
.vs-group { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; height: 100%; }
.vs-group-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.vs-group-title i { color: var(--accent); }
.vs-item { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid #f1f3f6; }
.vs-item:first-of-type { border-top: 0; }
.vs-item > i { font-size: 1.15rem; margin-top: 1px; flex: 0 0 auto; }
.vs-item strong { display: block; font-size: .97rem; }
.vs-item p { margin: 3px 0 0; font-size: .9rem; color: #4b5563; line-height: 1.5; overflow-wrap: anywhere; }
.vs-item p.vs-fix { color: #1e3a8a; }
.vs-ok > i { color: #16a34a; } .vs-warn > i { color: #d97706; } .vs-fail > i { color: #dc2626; } .vs-info > i { color: #64748b; }
.vs-cta { margin-top: 28px; background: #fff; border: 1.5px solid #bfdbfe; border-radius: var(--radius); padding: 26px 28px; }
.vs-cta h3 { font-size: 1.25rem; font-weight: 700; }
.vs-cta p { color: #4b5563; max-width: 760px; }
.vs-disclaimer { font-size: .8rem; color: var(--text-muted); margin: 18px 0 0; }
.vs-law { padding: 90px 0; }
.vs-table { background: #fff; border: 1px solid var(--border); font-size: .95rem; }
.vs-table th { background: var(--bg-soft); font-weight: 700; white-space: nowrap; }
.vs-table td:not(:first-child), .vs-table th:not(:first-child) { text-align: center; }
.vs-table td small { display: block; color: var(--text-muted); font-size: .78rem; }
.vs-faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
.vs-faq summary { font-weight: 600; cursor: pointer; }
.vs-faq p { margin: 10px 0 0; color: #4b5563; line-height: 1.65; }
@media (max-width: 600px) {
  .vs-form { flex-direction: column; }
  .vs-form .btn-primary-custom { justify-content: center; }
  .vs-head { flex-direction: column; text-align: center; gap: 14px; }
}

/* ---- Catalogo (2026-11-26) ---- */
.cat-hero { min-height: auto; padding: 130px 0 50px; }
.cat-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.cat-wrap { padding: 30px 0 90px; }
.cat-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cat-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: #fff; color: var(--text); border-radius: 100px; padding: 6px 14px; font-size: .88rem; text-decoration: none; }
.cat-chip span { color: var(--text-muted); font-size: .78rem; }
.cat-chip.active, .cat-chip:hover { border-color: var(--accent); color: var(--accent); }
.cat-prov { display: flex; gap: 10px; align-items: center; margin-bottom: 26px; font-size: .9rem; color: var(--text-muted); }
.cat-prov select { max-width: 120px; }
.cat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; height: 100%; display: flex; flex-direction: column; }
.cat-card h2 { font-size: 1.15rem; font-weight: 700; margin: 0 0 4px; }
.cat-meta { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; }
.cat-card p { font-size: .93rem; color: #374151; line-height: 1.55; flex: 1; }
.cat-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; font-size: .8rem; }
.cat-badge { color: #15803d; font-weight: 600; }
.cat-visit { font-weight: 600; text-decoration: none; }
.cat-empty { background: #fff; border: 1.5px dashed #bfdbfe; border-radius: var(--radius); padding: 40px 28px; text-align: center; }
.cat-how { background: var(--bg-soft); padding: 80px 0; }
.cat-step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.cat-form { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.cat-form label { font-weight: 600; font-size: .9rem; }
.cat-code { display: flex; gap: 8px; align-items: stretch; }
.cat-code code { flex: 1; background: #0f172a; color: #e2e8f0; border-radius: 10px; padding: 12px 14px; font-size: .85rem; overflow-x: auto; white-space: nowrap; }
.cat-msg { border-radius: 12px; padding: 14px 18px; margin-top: 16px; font-size: .93rem; }
.cat-msg.err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.cat-msg.ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }
.cat-msg.wait { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; }
.cat-manage-link { word-break: break-all; font-family: monospace; font-size: .85rem; background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; display: block; margin: 8px 0; }
.cat-report { font-size: .75rem; color: var(--text-muted); margin-top: 8px; align-self: flex-end; }
