/* ════════════════════════════════════════════════════════════════════════
   CONTATTI — VESTE GRAFICA "VARIANTE B"
   Coerente con le pagine categoria (.vb-cat + categoria-stampa.css): tema
   "scheda tecnica / foglio di stampa" — JetBrains Mono, pallini CMYK,
   crop-mark agli angoli, intestazioni job-ticket con #ref, divisori dashed.

   ⚠️  Caricato SOLO da contatti.html. Tutte le regole sono scoped sotto
   `.vb-cat` per non toccare gli stili globali.

   ⚠️  GANCI FUNZIONALI INVARIATI (usati da main.js / script inline):
       #ct-contact-form · #ct-nl-form · #ct-form-feedback
       #cf-contatti · #cf-newsletter (Turnstile)
       #privacy-contatti · #privacy-nl · #nl-email
       .btn-ct-submit · .nl-btn-submit · .ct-form-msg (+ .success/.error)
       campo honeypot name="website"
   Qui si ridefinisce SOLO la presentazione: nessun id/name/endpoint cambiato.
   ════════════════════════════════════════════════════════════════════════ */

/* ════════════ HERO — sfondo gradiente (nessuna foto categoria) ════════════
   Riusa .cat-index-hero (pages.css) + override .vb-cat (categoria-stampa.css:
   min-height, flex-end, barra CMYK ::after, griglia ::before). Qui solo lo
   sfondo, in chiave "camera oscura" con glow cyan/magenta. */
.vb-cat .cat-index-hero.ct-hero-bg {
  background-color: var(--bg-card);
  background-image:
    linear-gradient(180deg, rgba(7,7,15,.28) 0%, rgba(7,7,15,.90) 100%),
    radial-gradient(58% 120% at 84% 16%, rgba(0,212,255,.12), transparent 60%),
    radial-gradient(52% 120% at 8% 94%, rgba(255,45,120,.08), transparent 60%);
  background-size: cover;
  background-position: center;
}

/* Riga "coordinate" sotto il titolo — piccolo tocco tecnico/local-SEO */
.vb-cat .ct-hero-coords {
  font-family: var(--f-mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 1rem;
}
.vb-cat .ct-hero-coords b { color: var(--text-2); font-weight: 500; }

/* Spec-sheet: piccola aggiunta — evidenzia la voce telefono in accento */
.vb-cat .cat-spec .v.tel { color: var(--magenta); }

/* ════════════ CORPO A DUE COLONNE (recapiti + mappa) ════════════ */
.vb-cat .ctv-body { padding: 3.2rem 0 0; }
.vb-cat .ctv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .vb-cat .ctv-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

.vb-cat .ctv-info-col { display: flex; flex-direction: column; gap: 1.3rem; }

/* ── Card base "scheda" (riga tenue + bordo) ── */
.vb-cat .ctv-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-md, 12px);
  background:
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(255,255,255,.02) 33px 34px),
    var(--bg-card);
  overflow: hidden;
}
/* crop-mark agli angoli (firma comune variante B) */
.vb-cat .ctv-card::before,
.vb-cat .ctv-card::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  pointer-events: none; z-index: 2; opacity: .5;
}
.vb-cat .ctv-card::before {
  top: 6px; left: 6px;
  border-top: 1.5px solid var(--text-2); border-left: 1.5px solid var(--text-2);
}
.vb-cat .ctv-card::after {
  bottom: 6px; right: 6px;
  border-bottom: 1.5px solid var(--text-2); border-right: 1.5px solid var(--text-2);
}

/* intestazione job-ticket */
.vb-cat .ctv-hd {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; padding: .68rem .95rem;
  border-bottom: 1px solid var(--border-2); background: #0a0a16;
}
.vb-cat .ctv-hd .t {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-2);
}
.vb-cat .ctv-hd .t::before {
  content: ""; width: 7px; height: 7px; flex-shrink: 0;
  background: var(--cat-accent); border-radius: 1px; transform: rotate(45deg);
}
.vb-cat .ctv-hd .t.is-m::before { background: var(--magenta); }
.vb-cat .ctv-hd .n {
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .08em;
  color: var(--cat-accent); white-space: nowrap;
}
.vb-cat .ctv-hd .n.is-m { color: var(--magenta); }
.vb-cat .ctv-bd { padding: 1.05rem .95rem 1.15rem; }

/* ── Telefono (blocco magenta) ── */
.vb-cat .ctv-phone .ctv-bd { padding-top: 1.1rem; }
.vb-cat .ctv-phone-num {
  display: inline-block; text-decoration: none;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1;
  letter-spacing: .01em; color: var(--magenta);
  text-shadow: 0 0 24px rgba(255,45,120,.35);
  transition: color .2s, text-shadow .3s;
}
.vb-cat .ctv-phone-num:hover { color: #ff5a95; text-shadow: 0 0 34px rgba(255,45,120,.6); }
.vb-cat .ctv-phone-note {
  margin: .5rem 0 0; font-size: .82rem; color: var(--text-2);
}
.vb-cat .ctv-phone-note b { color: #fff; font-weight: 600; }

/* ── Indirizzo ── */
.vb-cat .ctv-address {
  margin: 0; font-style: normal; line-height: 1.65;
  font-size: .95rem; color: var(--text-2);
}
.vb-cat .ctv-address strong {
  display: block; color: #fff; font-family: var(--f-ui);
  font-weight: 700; font-size: 1.02rem; margin-bottom: .15rem;
}
/* badge ritiro */
.vb-cat .ctv-pickup {
  display: flex; align-items: flex-start; gap: .7rem; margin-top: 1rem;
  padding: .85rem .95rem; border-radius: var(--r-sm, 6px);
  background: color-mix(in srgb, var(--cat-accent) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--cat-accent) 32%, transparent);
}
.vb-cat .ctv-pickup-ico {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--cat-accent) 14%, transparent);
  color: var(--cat-accent);
}
.vb-cat .ctv-pickup-ico svg { width: 17px; height: 17px; }
.vb-cat .ctv-pickup b {
  display: block; font-family: var(--f-ui); font-size: .84rem;
  font-weight: 700; color: var(--cat-accent); margin-bottom: .12rem;
}
.vb-cat .ctv-pickup small { font-size: .76rem; color: var(--text-2); line-height: 1.45; }

/* footer scheda: dal 1986 · P.IVA */
.vb-cat .ctv-meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem;
  margin-top: 1rem; padding-top: .85rem; border-top: 1px dashed var(--border-2);
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-3);
}
.vb-cat .ctv-meta b { color: var(--text-2); font-weight: 500; }

/* ── Email (righe ruolo → indirizzo) ── */
.vb-cat .ctv-mail-list { display: flex; flex-direction: column; }
.vb-cat .ctv-mail-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--border-2);
}
.vb-cat .ctv-mail-row:last-child { border-bottom: 0; padding-bottom: 0; }
.vb-cat .ctv-mail-row:first-child { padding-top: 0; }
.vb-cat .ctv-mail-role {
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3); flex-shrink: 0;
}
.vb-cat .ctv-mail-link {
  font-family: var(--f-ui); font-size: .9rem; color: var(--cat-accent);
  text-decoration: none; transition: color .2s;
  overflow-wrap: anywhere; text-align: right;
}
.vb-cat .ctv-mail-link:hover { color: #fff; }

/* ── Orari ── */
.vb-cat .ctv-hours { display: flex; flex-direction: column; }
.vb-cat .ctv-hours-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .5rem 0; border-bottom: 1px dashed var(--border-2);
}
.vb-cat .ctv-hours-row:last-child { border-bottom: 0; padding-bottom: 0; }
.vb-cat .ctv-hours-row:first-child { padding-top: 0; }
.vb-cat .ctv-hours-day {
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-2);
}
.vb-cat .ctv-hours-time { font-family: var(--f-ui); font-size: .9rem; color: #fff; font-weight: 600; }
.vb-cat .ctv-hours-time.is-closed { color: var(--text-3); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .74rem; }

/* ── Mappa ── */
.vb-cat .ctv-map-col { position: sticky; top: 100px; }
@media (max-width: 900px) { .vb-cat .ctv-map-col { position: static; } }
.vb-cat .ctv-map {
  border: 1px solid var(--border); border-radius: var(--r-md, 12px);
  overflow: hidden; background: var(--bg-card);
}
.vb-cat .ctv-map iframe {
  display: block; width: 100%; height: 460px; border: 0;
  filter: grayscale(28%) brightness(.78) saturate(.9) hue-rotate(175deg);
  transition: filter .5s ease;
}
.vb-cat .ctv-map:hover iframe { filter: none; }
@media (hover: none) { .vb-cat .ctv-map iframe { filter: none; } }
@media (max-width: 900px) { .vb-cat .ctv-map iframe { height: 320px; } }
.vb-cat .ctv-map-cap {
  display: flex; align-items: center; gap: .55rem;
  padding: .8rem .95rem; border-top: 1px solid var(--border-2);
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--text-2); background: #0a0a16;
}
.vb-cat .ctv-map-cap svg { width: 14px; height: 14px; color: var(--magenta); flex-shrink: 0; }
.vb-cat .ctv-map-cap a {
  margin-left: auto; color: var(--cat-accent); text-decoration: none;
  font-weight: 700; letter-spacing: .06em; white-space: nowrap; transition: color .2s;
}
.vb-cat .ctv-map-cap a:hover { color: #fff; }

/* ════════════ SEZIONE FORM ════════════ */
.vb-cat .ctv-forms { padding: 3.6rem 0 0; }
.vb-cat .ctv-sec-head { margin-bottom: 1.6rem; }
.vb-cat .ctv-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--cat-accent); margin: 0 0 .55rem;
}
.vb-cat .ctv-eyebrow::before {
  content: ""; width: 7px; height: 7px; background: var(--cat-accent);
  border-radius: 50%; box-shadow: 0 0 14px var(--cat-accent);
}
.vb-cat .ctv-sec-title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1; letter-spacing: -.01em;
  color: #fff; margin: 0;
}
.vb-cat .ctv-sec-title em {
  font-style: italic; font-weight: 700; color: transparent;
  -webkit-text-stroke: 1.2px var(--cat-accent);
}
.vb-cat .ctv-sec-sub { margin: .7rem 0 0; color: var(--text-2); font-size: .95rem; max-width: 60ch; }

/* ── Form contatti (card scheda) ── */
.vb-cat .ctv-form { padding: 1.4rem 1.3rem 1.5rem; }
@media (min-width: 640px) { .vb-cat .ctv-form { padding: 2rem 1.9rem; } }

.vb-cat .ctv-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem;
}
@media (max-width: 560px) { .vb-cat .ctv-row { grid-template-columns: 1fr; } }

.vb-cat .ctv-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.05rem; }
.vb-cat .ctv-field > label {
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-2); font-weight: 500;
}
.vb-cat .ctv-field .req { color: var(--magenta); margin-left: 2px; }

.vb-cat .ctv-input,
.vb-cat .ctv-select,
.vb-cat .ctv-textarea {
  width: 100%; box-sizing: border-box;
  background: var(--bg-input, #0A0A17);
  border: 1px solid var(--border-2); border-radius: var(--r-sm, 6px);
  color: #fff; font-family: var(--f-ui); font-size: .95rem;
  padding: .78rem .9rem; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.vb-cat .ctv-input:hover,
.vb-cat .ctv-select:hover,
.vb-cat .ctv-textarea:hover { border-color: color-mix(in srgb, var(--cat-accent) 45%, var(--border-2)); }
.vb-cat .ctv-input::placeholder,
.vb-cat .ctv-textarea::placeholder { color: var(--text-3); }
.vb-cat .ctv-input:focus,
.vb-cat .ctv-select:focus,
.vb-cat .ctv-textarea:focus {
  border-color: var(--cat-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cat-accent) 12%, transparent);
}
.vb-cat .ctv-select {
  cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AAAAC8' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 13px;
}
.vb-cat .ctv-select option { background: #0D0D1A; }
.vb-cat .ctv-textarea { resize: vertical; min-height: 130px; }

/* privacy */
.vb-cat .ctv-privacy {
  display: flex; align-items: flex-start; gap: .6rem;
  margin: .3rem 0 1.3rem; cursor: pointer;
}
.vb-cat .ctv-privacy input[type="checkbox"] {
  width: 17px; height: 17px; min-width: 17px; margin-top: 2px;
  accent-color: var(--cat-accent); cursor: pointer;
}
.vb-cat .ctv-privacy span {
  font-size: .78rem; color: var(--text-2); line-height: 1.5;
}
.vb-cat .ctv-privacy a { color: var(--cat-accent); text-decoration: underline; }
.vb-cat .ctv-privacy .req { color: var(--magenta); }

/* submit — GANCIO JS: .btn-ct-submit (invariato) */
.vb-cat .btn-ct-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  width: 100%; border: 0; cursor: pointer;
  background: var(--magenta); color: #fff;
  font-family: var(--f-ui); font-weight: 700; font-size: .9rem;
  letter-spacing: .04em; text-transform: uppercase;
  border-radius: var(--r-sm, 6px); padding: .95rem 2rem;
  box-shadow: 0 6px 22px rgba(255,45,120,.28);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.vb-cat .btn-ct-submit:hover {
  background: #ff4d8e; box-shadow: 0 8px 28px rgba(255,45,120,.45); transform: translateY(-1px);
}
.vb-cat .btn-ct-submit:active { transform: translateY(0); }
.vb-cat .btn-ct-submit svg { width: 17px; height: 17px; }

/* feedback — GANCIO JS: .ct-form-msg + .success/.error (invariati) */
.vb-cat .ct-form-msg {
  display: none; margin-top: 1rem; padding: .85rem 1.1rem;
  border-radius: var(--r-sm, 6px); font-family: var(--f-ui); font-size: .88rem; line-height: 1.5;
}
.vb-cat .ct-form-msg.success {
  display: block; color: var(--cat-accent);
  background: color-mix(in srgb, var(--cat-accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--cat-accent) 32%, transparent);
}
.vb-cat .ct-form-msg.error {
  display: block; color: var(--magenta);
  background: rgba(255,45,120,.1); border: 1px solid rgba(255,45,120,.32);
}

/* ════════════ NEWSLETTER ════════════ */
.vb-cat .ctv-newsletter {
  position: relative; overflow: hidden;
  margin-top: 4rem; padding: 5.5rem 0 5rem; background: #07070F;
}
.vb-cat .ctv-newsletter::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 90% at 8% 50%, rgba(255,45,120,.07) 0%, transparent 100%),
    radial-gradient(ellipse 55% 90% at 92% 50%, rgba(0,212,255,.06) 0%, transparent 100%);
}
.vb-cat .ctv-newsletter::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; opacity: .6;
  background: linear-gradient(90deg, var(--magenta) 0%, var(--cyan) 50%, var(--yellow) 100%);
}

/* quadrati CMYK laterali */
.vb-cat .nl-cmyk-deco {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; grid-template-columns: 1fr 1fr; gap: 5px; opacity: .45;
}
.vb-cat .nl-cmyk-deco.nl-left  { left: clamp(1rem, 3vw, 3.5rem); }
.vb-cat .nl-cmyk-deco.nl-right { right: clamp(1rem, 3vw, 3.5rem); transform: translateY(-50%) rotate(18deg); }
.vb-cat .nl-cmyk-sq { width: 13px; height: 13px; border-radius: 2px; }
@media (max-width: 900px) { .vb-cat .nl-cmyk-deco { display: none; } }

.vb-cat .ctv-nl-body { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; }
.vb-cat .nl-eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .28em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 1.5rem;
}
.vb-cat .nl-eyebrow::before,
.vb-cat .nl-eyebrow::after { content: ""; width: 26px; height: 1px; background: var(--border-2); }

.vb-cat .nl-headline {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 6.5vw, 4.8rem); line-height: .92; letter-spacing: .01em; margin: 0 0 1.7rem;
}
.vb-cat .nl-line-1 { display: block; color: #fff; }
.vb-cat .nl-line-2 { display: block; color: var(--magenta); }

.vb-cat .nl-benefits {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: .5rem; margin-bottom: 2.3rem;
}
.vb-cat .nl-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--border-2); border-radius: var(--r-pill, 999px);
  padding: .3rem .8rem; font-family: var(--f-mono); font-size: .66rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
  background: rgba(255,255,255,.025);
}
.vb-cat .nl-pill-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.vb-cat .nl-form-wrap { max-width: 540px; margin: 0 auto; }
.vb-cat .nl-input-row {
  display: flex; width: 100%; border-radius: var(--r-sm, 6px); overflow: hidden;
  border: 1px solid var(--border-2); transition: border-color .2s, box-shadow .2s;
}
.vb-cat .nl-input-row:focus-within {
  border-color: var(--cat-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cat-accent) 12%, transparent);
}
.vb-cat .nl-input-row input[type="email"] {
  flex: 1; min-width: 0; background: var(--bg-input, #0A0A17); border: 0; color: #fff;
  font-family: var(--f-ui); font-size: .92rem; padding: .95rem 1.1rem; outline: none;
}
.vb-cat .nl-input-row input[type="email"]::placeholder { color: var(--text-3); }

/* submit newsletter — GANCIO JS: .nl-btn-submit (invariato) */
.vb-cat .nl-btn-submit {
  flex-shrink: 0; display: flex; align-items: center; gap: .45rem;
  background: var(--magenta); color: #fff; border: 0; cursor: pointer;
  font-family: var(--f-ui); font-weight: 700; font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase; padding: .95rem 1.5rem;
  white-space: nowrap; transition: background .2s;
}
.vb-cat .nl-btn-submit:hover { background: #ff4d8e; }
.vb-cat .nl-btn-submit svg { width: 13px; height: 13px; }
@media (max-width: 480px) {
  .vb-cat .nl-input-row { flex-direction: column; }
  .vb-cat .nl-btn-submit { justify-content: center; }
}

.vb-cat .nl-privacy-row {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  margin-top: .8rem; cursor: pointer;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .04em; color: var(--text-3); line-height: 1.4;
}
.vb-cat .nl-privacy-row input[type="checkbox"] {
  width: 13px; height: 13px; accent-color: var(--magenta); cursor: pointer; flex-shrink: 0;
}
.vb-cat .nl-privacy-row a { color: var(--text-2); text-decoration: underline; }

/* Turnstile: centro entrambi i widget quando visibili */
.vb-cat #cf-newsletter { display: flex; justify-content: center; }

.vb-cat .ctv-bottom-spacer { height: 4rem; }

/* ════════════ RESPONSIVE HERO (spec sheet) ════════════ */
@media (max-width: 767px) {
  .vb-cat .ct-hero-coords { display: none; }
}
