/* Landing "vendere capannone {città}": estende home-v2.css con gli stessi token. */
#prezzi, #caso-studio, #faq, #contatti { scroll-margin-top: 96px; }
.cc-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--v2-slate-mid);
  font-size: 13px;
  font-weight: 600;
}
.cc-crumbs a { color: var(--v2-slate-light); text-decoration: none; }
.cc-crumbs a:hover { color: var(--v2-white); }
.cc-crumbs [aria-current] { color: var(--v2-orange-soft); }
.cc-hl { color: var(--v2-white); white-space: nowrap; }

.cc-video-teaser {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  margin-top: 28px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--v2-line-dark);
  border-radius: 14px;
  background: rgba(31, 41, 55, 0.6);
  color: var(--v2-slate-light);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 0.2s;
}
.cc-video-teaser:hover { border-color: var(--v2-orange); }
.cc-video-teaser img { width: 96px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.cc-video-teaser strong { display: block; color: var(--v2-white); }

/* Mercato */
.cc-answer {
  margin-top: 40px;
  padding: 28px;
  border-left: 4px solid var(--v2-orange);
  border-radius: 0 20px 20px 0;
  background: var(--v2-white);
  box-shadow: 0 10px 30px -18px rgb(17 24 39 / 0.25);
}
.cc-answer h3 { margin: 0; color: var(--v2-navy); font-size: 20px; font-weight: 800; }
.cc-answer p { margin: 12px 0 0; font-size: 17px; line-height: 1.7; }
.cc-answer strong { color: var(--v2-navy); }
.cc-answer .cc-source { margin-top: 14px; color: var(--v2-slate-mid); font-size: 11px; line-height: 1.5; }
.cc-answer .cc-source a { color: var(--v2-navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--v2-orange); text-underline-offset: 2px; }

.cc-kpis { display: grid; gap: 20px; margin-top: 24px; }
.cc-kpis .v2-kpi { min-height: 150px; }
.cc-kpis .v2-kpi strong { font-size: 36px; }
.cc-kpis small { font-size: 15px; font-weight: 700; color: var(--v2-slate); letter-spacing: 0; }
.cc-up { color: #15803d; font-weight: 700; }
.cc-down { color: #b91c1c; font-weight: 700; }

.cc-panel {
  margin: 24px 0 0;
  padding: 24px;
  border: 1px solid var(--v2-line);
  border-radius: 20px;
  background: var(--v2-white);
}
.cc-panel h3 { margin: 0; color: var(--v2-navy); font-size: 18px; font-weight: 800; }
.cc-panel figcaption p, .cc-muted { margin: 6px 0 0; color: var(--v2-slate); font-size: 14px; line-height: 1.55; }

.cc-compare .cc-bar-row {
  display: grid;
  grid-template-columns: minmax(110px, 220px) 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  font-size: 14px;
}
.cc-bar { height: 14px; border-radius: 999px; background: var(--v2-bg); overflow: hidden; }
.cc-bar i { display: block; height: 100%; border-radius: 999px; background: var(--v2-slate-light); }
.cc-bar i.is-hl { background: var(--v2-orange); }
.cc-compare strong { color: var(--v2-navy); min-width: 64px; text-align: right; }

.cc-charts { display: grid; gap: 0 24px; }
.occ-svg { display: block; width: 100%; height: auto; margin-top: 16px; overflow: visible; }
.occ-grid { stroke: var(--v2-line); stroke-width: 1; }
.occ-axis { fill: var(--v2-slate-mid); font-size: 13px; font-family: inherit; }
.occ-year { fill: var(--v2-navy); font-weight: 800; }
.occ-unit { font-weight: 700; }
.occ-end { font-size: 14px; font-weight: 800; font-family: inherit; }
.occ-val { fill: var(--v2-navy); font-size: 15px; font-weight: 800; font-family: inherit; }
.cc-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--v2-slate); }
.cc-legend li { display: inline-flex; align-items: center; gap: 8px; }
.cc-legend i { width: 18px; height: 4px; border-radius: 2px; }
.cc-legend i.is-dash { background: repeating-linear-gradient(90deg, #64748b 0 6px, transparent 6px 10px); }


.cc-rank { margin: 16px 0 0; padding: 0; list-style: none; }
.cc-rank li {
  display: grid;
  grid-template-columns: 32px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--v2-line);
  font-size: 15px;
}
.cc-rank li.is-current { background: #fff3e8; border-radius: 8px; padding-inline: 8px; }
.cc-rank a { color: var(--v2-navy); font-weight: 700; text-underline-offset: 4px; text-decoration-color: var(--v2-orange); }
.cc-rank-n { color: var(--v2-slate-mid); font-weight: 800; }
.cc-rank-ntn { color: var(--v2-slate); font-size: 13px; }
.cc-rank-p { color: var(--v2-navy); font-weight: 800; min-width: 84px; text-align: right; }

.cc-inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 28px;
  border-radius: 20px;
  background: var(--v2-navy);
  color: var(--v2-slate-light);
}
.cc-inline-cta p { margin: 0; max-width: 680px; font-size: 16px; line-height: 1.6; }
.cc-inline-cta strong { display: block; color: var(--v2-white); font-size: 19px; }
.cc-method { margin: 20px 0 0; color: var(--v2-slate-mid); font-size: 12px; line-height: 1.6; }

/* Caso studio */
.cc-case { background: var(--v2-white); color: var(--v2-text); }
.cc-case .v2-h2 { color: var(--v2-navy); }
.cc-case .v2-h2 span { color: var(--v2-orange); }
.cc-case-grid { display: grid; gap: 40px; }
.cc-case-lead { margin: 20px 0 0; font-size: 17px; line-height: 1.7; }
.cc-case .v2-video { box-shadow: 0 24px 48px -20px rgb(17 24 39 / 0.35); }
.cc-timeline { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: cc; }
.cc-timeline li {
  position: relative;
  padding: 0 0 18px 40px;
  border-left: 2px solid var(--v2-line);
  margin-left: 12px;
  counter-increment: cc;
}
.cc-timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.cc-timeline li::before {
  content: counter(cc);
  position: absolute;
  left: -13px;
  top: -2px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--v2-orange);
  color: var(--v2-white);
  font-size: 13px;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
}
.cc-timeline strong { display: block; color: var(--v2-navy); }
.cc-timeline span { display: block; margin-top: 4px; color: var(--v2-slate); font-size: 15px; line-height: 1.6; }
.cc-quote { margin: 32px 0 0; padding: 24px 28px; border-radius: 0 20px 20px 0; background: var(--v2-bg); border-left: 4px solid var(--v2-orange); }
.cc-quote p { margin: 0; color: var(--v2-navy); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.cc-quote footer { margin-top: 12px; color: var(--v2-slate); font-size: 14px; line-height: 1.55; }
.cc-video-col { margin: 0; }
.cc-video-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.cc-video-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cc-video-btn:hover img { transform: scale(1.03); }
.cc-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 999px;
  background: var(--v2-orange);
  color: var(--v2-navy);
  box-shadow: 0 0 0 10px rgba(255, 102, 0, 0.25);
  transition: transform 0.2s;
}
.cc-video-btn:hover .cc-play { transform: scale(1.08); }
.cc-video-dur { position: absolute; right: 12px; bottom: 12px; padding: 3px 8px; border-radius: 6px; background: rgba(17, 24, 39, 0.85); color: #fff; font-size: 12px; font-weight: 700; }
.cc-video-cap { margin-top: 12px; color: var(--v2-slate); font-size: 14px; }


/* FAQ */
.cc-faq-wrap { display: grid; gap: 32px; }
.cc-faq-wrap .v2-intro a { color: var(--v2-navy); font-weight: 700; }
.cc-faq details { border-bottom: 1px solid var(--v2-line); }
.cc-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
}
.cc-faq summary::-webkit-details-marker { display: none; }
.cc-faq summary::after { content: "+"; flex: none; color: var(--v2-orange); font-size: 26px; font-weight: 700; line-height: 1; transition: transform 0.2s; }
.cc-faq details[open] summary::after { transform: rotate(45deg); }
.cc-faq summary h3 { margin: 0; color: var(--v2-navy); font-size: 17px; font-weight: 700; line-height: 1.4; }
.cc-faq details p { margin: 0 0 20px; font-size: 15px; line-height: 1.7; }

.cc-areas { padding-block: 48px; border-top: 1px solid var(--v2-line); }
.cc-areas .v2-h2 { font-size: 24px; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cc-chips a { padding: 8px 14px; border: 1px solid var(--v2-line); border-radius: 999px; color: var(--v2-navy); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.cc-chips a:hover { border-color: var(--v2-orange); background: #fff3e8; }
.cc-chips span { color: var(--v2-slate-mid); font-weight: 500; }

/* Contatti */
.cc-contact { background: var(--v2-navy-deep); color: var(--v2-slate-light); }
.cc-contact .v2-h2 { color: var(--v2-white); }
.cc-contact-grid { display: grid; gap: 40px; align-items: start; }
.cc-contact-lead { margin: 20px 0 0; font-size: 17px; line-height: 1.7; }
.cc-contact-list { margin: 28px 0 0; padding: 0; list-style: none; }
.cc-contact-list a { display: block; padding: 14px 0; border-top: 1px solid var(--v2-line-dark); color: var(--v2-slate-light); text-decoration: none; }
.cc-contact-list a:hover { color: var(--v2-white); }
.cc-contact-list strong { display: block; color: var(--v2-white); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.cc-quick h3 { margin: 0 0 20px; color: var(--v2-navy); font-size: 21px; font-weight: 800; }
.cc-quick .v2-note a { color: var(--v2-navy); }

/* Barra CTA mobile */
.cc-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(17, 24, 39, 0.94);
  border-top: 1px solid var(--v2-line-dark);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.cc-sticky.is-on { transform: none; }
.cc-sticky .v2-btn { flex: 1; min-height: 48px; padding: 12px 16px; }
.cc-sticky-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid var(--v2-line-dark);
  border-radius: var(--v2-radius);
  color: var(--v2-white);
}

@media (min-width: 640px) {
  .cc-kpis { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .cc-answer { padding: 36px 40px; }
  .cc-panel { padding: 32px; }
  .cc-quote p { font-size: 34px; }
}
@media (min-width: 1024px) {
  .cc-kpis { grid-template-columns: repeat(4, 1fr); }
  .cc-charts { grid-template-columns: 1.25fr 1fr; }
  .cc-case-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .cc-video-col { position: sticky; top: 100px; }
  .cc-faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 56px; }
  .cc-contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .cc-sticky { display: none; }
}
@media (max-width: 520px) {
  .cc-compare .cc-bar-row { grid-template-columns: 1fr auto; }
  .cc-compare .cc-bar { grid-column: 1 / -1; grid-row: 2; }
  .cc-rank li { grid-template-columns: 28px 1fr auto; }
  .cc-rank-ntn { display: none; }
}
