/* Comodo Quiz - layout contenitore principale */
.cq {
  max-width: 920px;
  margin: 32px auto;
  padding: 28px;
  border: 1px solid #e7edf2;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #fff7ef 55%, #f6ecff 100%);
  box-shadow: 0 18px 50px rgba(28, 33, 40, .08);
  color: #30343b;
}

/* Comodo Quiz - testi e gerarchie */
.cq__eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #ff6900;
}

.cq__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 800;
}

.cq__text {
  max-width: 640px;
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.45;
}

/* Comodo Quiz - avanzamento */
.cq__progress {
  height: 8px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, .08);
}

.cq__progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: #ff6900;
  transition: width .25s ease;
}

/* Comodo Quiz - domande e risposte */
.cq__step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.cq__question {
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 800;
}

.cq__option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  padding: 14px 16px;
  border: 1px solid #d7e0e7;
  border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.cq__option:hover {
  border-color: #ff6900;
  transform: translateY(-1px);
  background: #fff;
}

.cq__option input {
  width: 18px;
  height: 18px;
  accent-color: #ff6900;
}

/* Comodo Quiz - pulsanti */
.cq__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cq__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid #ff6900;
  border-radius: 999px;
  background: #ff6900;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
}

.cq__button--ghost {
  background: #fff;
  color: #ff6900 !important;
}

.cq__link {
  display: inline-flex;
  margin-left: 16px;
  border: 0;
  background: transparent;
  color: #30343b;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* Comodo Quiz - mobile */
@media (max-width: 640px) {
  .cq {
    margin: 20px 0;
    padding: 20px;
    border-radius: 18px;
  }

  .cq__option {
    padding: 13px;
  }

  .cq__button,
  .cq__link {
    width: 100%;
    margin-left: 0;
  }
}
