/* Check CVT in salone — stili della pagina check.html (si appoggia a style.css) */
.check-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.check-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; animation: heroZoom 1.7s var(--ease) both; }
.check-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 27, .92) 0%, rgba(8, 15, 27, .74) 48%, rgba(8, 15, 27, .2) 82%),
    linear-gradient(0deg, rgba(8, 15, 27, .8) 0%, transparent 55%);
}
.check-hero-content { position: relative; z-index: 2; padding: 150px 0 clamp(70px, 9vh, 110px); }
.check-hero h1 { max-width: 820px; font-size: clamp(44px, 6vw, 80px); line-height: .96; font-weight: 700; text-wrap: balance; animation: heroIn .8s .25s var(--ease) both; }

.check-section { padding: clamp(56px, 7vw, 96px) 0 clamp(88px, 10vw, 144px); background: var(--ice); }
.check-card {
  position: relative;
  max-width: 860px;
  margin: calc(-1 * clamp(110px, 12vw, 150px)) auto 0;
  padding: clamp(28px, 4.5vw, 56px);
  color: var(--ink);
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 30px 75px rgba(16, 26, 43, .16);
}
.check-noscript { padding: 16px; color: #842c17; background: #fff0e8; border-left: 3px solid var(--orange); font-size: 14px; }
.check-step[hidden] { display: none; }
.check-step { animation: heroIn .5s var(--ease) both; }

.check-intro h2, .check-question, .check-result-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; font-weight: 650; text-wrap: balance; }
.check-intro > p:not(.section-label) { max-width: 640px; margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.72; }
.check-facts { margin: 34px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.check-facts li { padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.check-facts strong { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--orange-dark); }
.check-facts span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.check-start { margin-top: 34px; border: 0; cursor: pointer; }
.check-start i, .check-next i { width: 19px; height: 1px; position: relative; background: currentColor; transition: transform .2s ease; }
.check-start i::after, .check-next i::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.check-start:hover i, .check-next:hover:not(:disabled) i { transform: translateX(5px); }

.check-progress { height: 3px; margin-bottom: 26px; background: rgba(16, 26, 43, .1); overflow: hidden; }
.check-progress span { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.check-counter { margin-bottom: 14px; color: var(--orange-dark); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

.check-options { margin-top: 28px; display: grid; gap: 10px; }
.check-option {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 17px 20px;
  text-align: left;
  color: var(--ink);
  background: #f7f9fb;
  border: 1px solid #dfe5ec;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  transition: border-color .2s ease, background .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.check-option:hover { border-color: var(--orange); background: var(--white); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(16, 26, 43, .08); }
.check-option span:first-child { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--orange-dark); font-family: var(--display); font-size: 13px; font-weight: 800; transition: background .2s ease, color .2s ease; }
.check-option[aria-checked="true"] { border-color: var(--navy); background: var(--navy); color: var(--white); }
.check-option[aria-checked="true"] span:first-child { color: var(--white); background: var(--orange); border-color: var(--orange); }

.check-nav { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.check-back { padding: 10px 0; border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; }
.check-back:hover { color: var(--ink); }
.check-back[hidden] { display: none; }
.check-next { border: 0; cursor: pointer; }
.check-next:disabled { cursor: default; opacity: .45; transform: none; box-shadow: none; }
.check-next.is-busy { opacity: .7; pointer-events: none; }

.check-form .form-grid { margin-top: 26px; }
.check-form-lead { max-width: 620px; margin-top: 16px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.check-form .form-message { margin: 22px 0 0; }
.check-form .form-submit { width: auto; margin-top: 0; }
.check-form .form-note { text-align: left; }

.check-result-lead { max-width: 660px; margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.check-summary { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.check-summary li { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.check-summary li strong { margin-right: 4px; font-family: var(--display); font-size: 16px; }
.check-results { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-result {
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: #f7f9fb;
  border: 1px solid #dfe5ec;
  border-left: 4px solid var(--level, #ccd2db);
  border-radius: 4px;
}
.check-result-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.check-result-head h3 { font-size: 20px; font-weight: 650; }
.check-badge { padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.check-result p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.check-result .check-answer { color: #4d5562; font-size: 13px; }
.check-result .check-answer strong { color: var(--ink); font-weight: 700; }
.check-result .check-tutelauto { padding: 12px 14px; color: var(--ink); background: var(--white); border-left: 2px solid var(--orange); font-size: 14px; }
.check-result .check-tutelauto strong { color: var(--orange-dark); }
.level-verde { --level: #2f9e6f; }
.level-giallo { --level: #e0a020; }
.level-rosso { --level: #d2432a; }
.badge-verde { color: #1c6a48; background: #e2f5ea; }
.badge-giallo { color: #7a4f05; background: #fff1cf; }
.badge-rosso { color: #8a2413; background: #ffe3dc; }

.check-result-cta { margin-top: 40px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; color: var(--white); background: var(--navy); border-radius: 4px; }
.check-result-cta h3 { font-size: 26px; font-weight: 650; line-height: 1.1; }
.check-result-cta p { margin-top: 12px; color: rgba(255, 255, 255, .68); font-size: 14px; line-height: 1.65; }
.check-result-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.check-whatsapp { color: #ffd1b1; }

/* Richiamo al check nella pagina principale */
.check-band { position: relative; overflow: hidden; color: var(--ink); background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.check-band-inner { padding: clamp(48px, 6vw, 72px) 0; display: grid; grid-template-columns: 1.2fr auto; gap: 28px 48px; align-items: center; }
.check-band h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.06; font-weight: 650; text-wrap: balance; }
.check-band p { max-width: 620px; margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.check-band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.check-band-actions small { color: var(--muted); font-size: 12px; }

@media (max-width: 760px) {
  .check-hero { min-height: 460px; }
  .check-hero-content { padding-top: 130px; }
  .check-card { margin-top: -70px; padding: 26px 20px; }
  .check-facts { grid-template-columns: 1fr; border-left: 0; border-top: 0; }
  .check-facts li { flex-direction: row; align-items: baseline; gap: 12px; padding: 14px 0; border-right: 0; }
  .check-facts strong { min-width: 34px; font-size: 26px; }
  .check-option { grid-template-columns: 32px 1fr; gap: 12px; padding: 14px 15px; font-size: 14px; }
  .check-option span:first-child { width: 30px; height: 30px; font-size: 12px; }
  .check-nav { flex-direction: column-reverse; align-items: stretch; }
  .check-nav .button { width: 100%; }
  .check-form .form-grid { grid-template-columns: 1fr; }
  .check-result { padding: 20px 18px; }
  .check-result-cta { grid-template-columns: 1fr; }
  .check-band-inner { grid-template-columns: 1fr; }
  .check-band-actions .button { width: 100%; }
}
