/* Box CTA con cornice multicolore */
.cta-contact-box {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border: 4px solid transparent;
  border-radius: 16px;
  background-clip: padding-box;
  position: relative;
}
.cta-contact-box::before {
  content: "";
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  z-index: -1;
  border-radius: 16px;
  background: linear-gradient(45deg,
    #52bae8, #ff2768, #ff5a8b, #ff914d, #ffbd59, #ffde59);
}

/* Testi */
.cta-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #222;
}
.cta-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #444;
}
.cta-dynamic {
  font-size: 1rem;
  color: #ff2768;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Form */
.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.form-row {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
}
.form-row.full {
  flex: 1 1 100%;
}
.form-row label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #333;
}
.form-row input,
.form-row textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

/* Checkbox GDPR */
.form-row.checkbox {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-row.checkbox label {
  font-size: 0.85rem;
}
.form-row.checkbox a {
  color: #52bae8;
  text-decoration: underline;
}

/* Pulsante */
.cta-button {
  background: #ff2768;
  color: #fff;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin-top: 1rem;
}
.cta-button:hover {
  opacity: 0.85;
}

/* Nota finale */
.cta-note {
  font-size: 0.85rem;
  color: #555;
  margin-top: 1rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    flex: 1 1 100%;
  }
}

