/* --- Scope --- */
.cf7-contacto {
  max-width: 636px;
  margin: 0;
  padding: 0;
  /* margin: 0 auto; */
}

.cf7-contacto .row {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}
.cf7-contacto .col {
  /* min-width: 0; */
  font-family: var(--font-karla, inherit);
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -2%;
}

.cf7-contacto .col-2 {
  grid-column: span 2;
  width: 100%;
}

.cf7-contacto .f-label {
  display: block;
  font-family: var(--font-brand, inherit);
  font-size: 14px;
  color: #1c232d;
}
.cf7-contacto .f-legend {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-karla, inherit);
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -2%;
  color: #1c232d;
}
.cf7-contacto .f-privacy {
  display: block;
  font-family: var(--font-karla, inherit);
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -2%;
  color: #1c232d;
}

.cf7-contacto .f-input,
.cf7-contacto .f-textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ced1d6;
  padding: 10px 0;
  font-family: var(--font-karla, inherit);
  font-size: 16px;
  color: #1c232d;
  background: #fff;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cf7-contacto .f-textarea {
  min-height: 33px;
  height: 33px;
  resize: none;
  overflow: hidden;
  scrollbar-width: none;
}
.cf7-contacto .f-input::placeholder,
.cf7-contacto .f-textarea::placeholder {
  color: #8a8f99;
}
.cf7-contacto .f-input:focus,
.cf7-contacto .f-textarea:focus {
  border-bottom-color: #7b170f;
  box-shadow: 0 2px 0 0 rgba(123, 23, 15, 0.15);
}

.cf7-contacto .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  cursor: pointer;
}
.cf7-contacto .chips .wpcf7-list-item {
  margin: 0;
  cursor: pointer;
}
.cf7-contacto .chips input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cf7-contacto .chips label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #1c232d;
  border-radius: 10px;
  background: #fff;
  color: #1c232d;
  font-family: var(--font-brand, inherit);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.15s ease;
  cursor: pointer;
}
/* .cf7-contacto .chips input[type="radio"]:focus + .wpcf7-list-item-label {
  outline: 2px solid rgba(123, 23, 15, 0.35);
  outline-offset: 2px;
} */
.cf7-contacto .chips input[type="radio"]:checked + .wpcf7-list-item-label,
.cf7-contacto .chips label:hover .wpcf7-list-item-label {
  background: white;
  border-color: #7b170f;
  color: #7b170f;
}

.cf7-contacto .f-button {
  background: #7b170f;
  color: #fff;
  border-radius: 8px;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-family: var(--font-brand, inherit);
  font-weight: 300;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: -6%;
  text-transform: uppercase;
  filter: drop-shadow(2px 2px 3px black);
}
.cf7-contacto .f-button:hover {
  background: #5d110c;
}
.cf7-contacto .f-button:active {
  transform: translateY(1px);
  box-shadow: 0 4px 0 0 rgba(123, 23, 15, 0.35);
}
.cf7-contacto .f-button:hover {
  text-decoration: underline;
  text-decoration-color: white;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.wpcf7-not-valid {
  border-bottom-color: #ef4444 !important;
  box-shadow: none !important;
}
.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 12px;
  color: #ef4444;
}
.wpcf7-spinner {
  position: static;
  margin-left: 8px;
}
.wpcf7 form .wpcf7-response-output {
  margin-top: 16px;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #166534;
}
.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #ef4444;
  background: #fef2f2;
  color: #991b1b;
}

.cf7-contacto .f-privacy .wpcf7-acceptance {
  margin-right: 8px;
}

/* Chip seleccionado: subrayado + color de marca */
.cf7-contacto .chips input[type="radio"]:checked + .wpcf7-list-item-label,
.cf7-contacto .chips input[type="radio"]:checked ~ .wpcf7-list-item-label {
  background: #fffbf5; /* opcional, deja tu blanco si prefieres */
  border-color: #7b170f;
  color: #7b170f;

  text-decoration: underline;
  text-decoration-color: #7b170f;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.cf7-contacto .chips .wpcf7-list-item:hover .wpcf7-list-item-label,
.cf7-contacto .chips label:hover .wpcf7-list-item-label {
  text-decoration: underline;
  text-decoration-color: #7b170f;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
