#contact-form-redec,
#contact-form-redec * {
  box-sizing: border-box;
}

#contact-form-redec.pv-panel-redec {
  max-width: 9000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 40px 44px 44px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .12);
  box-sizing: border-box;
}

.wpcf7-form .cf-turnstile,
.wpcf7-form .wpcf7-turnstile,
.wpcf7-form .turnstile,
.wpcf7-form .cloudflare-turnstile {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: -5px auto -50px !important;
}

#contact-form-redec .pv-panel-arco__header {
  max-width: 720px;
  margin: 0 auto 18px;
  text-align: center;
}

#contact-form-redec .pv-panel-arco__title {
  font-size: 3rem;
  font-weight: 700;
  color: rgb(29, 29, 31);
  line-height: 1.25;
  text-align: center;
  margin: 0 0 15px;
}

#contact-form-redec .pv-panel-arco__title br {
  display: none;
}

#contact-form-redec .section-card {
  background: #fff !important;
  border: 1px solid #eceff3 !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06) !important;
  padding: 26px 26px 22px !important;
  margin: 22px auto !important;
  max-width: 720px;
}

#contact-form-redec .section-card__title {
  text-align: center;
  font-weight: 600;
  color: rgb(29, 29, 31);
  margin-bottom: 20px;
}

#contact-form-redec .span-2 {
  grid-column: 1 / -1;
}

#contact-form-redec .card-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 100%;
  margin: 0;
}

#contact-form-redec .form--default__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

#contact-form-redec #card-paso-1-redec.section-card {
  padding: 28px 22px 26px !important;
  margin: 14px auto !important;
  max-width: 500px !important;
  border-radius: 20px !important;
}

#contact-form-redec #wrap-paso-1-redec {
  display: grid;
  grid-template-columns: 1fr !important;
  max-width: 620px;
  margin: 0 auto;
  gap: 14px;
}

#contact-form-redec .form--default__group {
  width: 100%;
  position: relative;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
  margin-bottom: 22px !important;
}

#contact-form-redec .form--default__group:last-child {
  margin-bottom: 0 !important;
}

#contact-form-redec #wrap-paso-1-redec,
#contact-form-redec .card-content-grid {
  gap: 22px !important;
}

#contact-form-redec .section-card__title {
  margin-bottom: 26px !important;
}

#contact-form-redec .wpcf7-form-control-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

#contact-form-redec .form--default__centered {
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
}

#contact-form-redec .form--default__label,
#contact-form-redec .form--default__group>label {
  position: absolute !important;
  top: 12px !important;
  left: 18px !important;
  transform: translateY(-50%) !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 10px !important;
  background: #fff !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #3b3f45 !important;
  line-height: 1.2 !important;
  letter-spacing: .1px;
  z-index: 2;
  pointer-events: none;
}

#contact-form-redec input[type="text"],
#contact-form-redec input[type="email"],

#contact-form-redec select,
#contact-form-redec textarea {
  width: 100%;
  padding: 14px 16px;
  min-height: 60px;
  border-radius: 14px;
  border: 1px solid #cfd3d8 !important;
  font-size: 18px !important;
  font-weight: 400;
  color: #1f2328;
  background: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;
}

#contact-form-redec textarea {
  min-height: 140px;
  resize: vertical;
}

#contact-form-redec ::placeholder {
  color: #7b818a;
  opacity: .75;
}

#contact-form-redec input:focus,
#contact-form-redec select:focus,
#contact-form-redec textarea:focus,
#contact-form-redec input:focus-visible,
#contact-form-redec select:focus-visible,
#contact-form-redec textarea:focus-visible {
  border-color: #f96b07 !important;
  box-shadow: 0 0 0 3px rgba(249, 107, 7, .25) !important;
}

#contact-form-redec .form--default__text {
  margin: 6px 0 0;
  line-height: 1.45;
  font-size: 14px !important;
  font-weight: 640 !important;
  color: #f96b07 !important;
  text-align: left;
}

#contact-form-redec span.error-rut,
#contact-form-redec span.error-texto,
#contact-form-redec span.error-email,
#contact-form-redec span.error-fono,
#contact-form-redec span.error-select,
#contact-form-redec span.error-textarea,
#contact-form-redec span.error-archivo {
  margin-top: 15px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  color: #ff0000 !important;
  width: 100% !important;
  align-self: flex-start !important;
}

#contact-form-arco span.mensaje-error,
#contact-form-redec span.mensaje-error {
  margin-top: 15px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  color: #ff0000 !important;
  width: 100% !important;
  align-self: flex-start !important;
}

#contact-form-arco .form--default__group span.mensaje-error,
#contact-form-redec .form--default__group span.mensaje-error {
  max-width: 100% !important;
}

#contact-form-redec .pv-input-invalid {
  outline: 2px solid rgba(186, 12, 47, .45) !important;
  border-color: #BA0C2F !important;
}

#contact-form-redec .pv-btn-next {
  background: #f96b07 !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 999px !important;
  height: 46px !important;
  width: 40% !important;
  max-width: 520px !important;
  padding: 0 34px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  margin: 16px auto 0 !important;
  -webkit-appearance: none;
  appearance: none;
}

#contact-form-redec .pv-btn-next:hover {
  filter: brightness(.95);
}

#btn_siguiente_redec:disabled {
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.1);
}

#contact-form-redec input.wpcf7-submit#btn_enviar_redec,
#contact-form-redec input.wpcf7-submit.form--default__submit,
#contact-form-redec input[type="submit"]#btn_enviar_redec {
  background: #f96b07 !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 999px !important;
  height: 52px !important;
  min-width: 240px;
  padding: 0 34px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .12) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  -webkit-appearance: none;
  appearance: none;
}

#contact-form-redec #btn_enviar_redec {
  width: fit-content !important;
  max-width: 320px !important;
  padding: 0 28px !important;
  margin: 16px auto 0 !important;
  display: flex !important;
}

#contact-form-redec input.wpcf7-submit#btn_enviar_redec:hover {
  filter: brightness(.95);
}

#contact-form-redec .wpcf7-not-valid-tip,
#contact-form-redec .wpcf7-response-output {
  display: none !important;
}

#contact-form-redec .pv-upload-zone {
  position: relative;
  border: 1px solid #cfd3d8;
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  min-height: 120px;
  overflow: hidden;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

#contact-form-redec .pv-upload-zone.pv-input-invalid {
  border-color: #d93025 !important;
}

#contact-form-redec .pv-upload-zone .wpcf7-form-control-wrap {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  display: block !important;
  z-index: 6 !important;
}

#contact-form-redec .pv-upload-zone input[type="file"].pv-file-input {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 7 !important;
}

#contact-form-redec .pv-drop-ui {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  min-height: 120px;
}

#contact-form-redec .pv-drop-ui .pv-ic {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #d6d8dc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

#contact-form-redec .pv-drop-ui .pv-ic i {
  display: block !important;
  width: 34px !important;
  height: 34px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4'/%3E%3Cpath d='M7 9l5-5 5 5'/%3E%3Cpath d='M4 16v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4'/%3E%3C/g%3E%3C/svg%3E") !important;
}

#contact-form-redec .pv-drop-ui .pv-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2328;
}

#contact-form-redec .pv-drop-ui .pv-sub {
  margin: 0;
  font-size: 14px;
  color: #6a7079;
}

#contact-form-redec .pv-upload-msg {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.25;
  color: #d93025;
  font-weight: 600;
}

#contact-form-redec .pv-filelist {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#contact-form-redec .pv-fileitem {
  border: 2px solid #cfd3d8;
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 52px 1fr 36px;
  gap: 10px;
  align-items: center;
}

#contact-form-redec .pv-fileitem__status {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #39a845;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact-form-redec .pv-fileitem__status:before {
  content: "";
  width: 22px;
  height: 22px;
  background: #fff;
  display: block;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.0 16.2 4.8 12.0a1 1 0 0 1 1.4-1.4l2.8 2.8 8.8-8.8a1 1 0 1 1 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.0 16.2 4.8 12.0a1 1 0 0 1 1.4-1.4l2.8 2.8 8.8-8.8a1 1 0 1 1 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

#contact-form-redec .pv-fileitem__name {
  font-size: 16px;
  font-weight: 700;
  color: #3b3f45;
  line-height: 1.2;
  margin: 0 0 6px 0;
  word-break: break-word;
}

#contact-form-redec .pv-fileitem__bar {
  height: 10px;
  border-radius: 999px;
  background: #e6e7ea;
  overflow: hidden;
}

#contact-form-redec .pv-fileitem__bar>span {
  display: block;
  height: 100%;
  width: 100%;
  background: #39a845;
}

#contact-form-redec .pv-fileitem__meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #3b3f45;
  font-weight: 700;
}

#contact-form-redec .pv-fileitem__btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: #f3f4f6;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  font-size: 0;
  line-height: 0;
}

#contact-form-redec .pv-fileitem__btn:before {
  content: "×";
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: #1f2328;
}

#contact-form-redec .pv-fileitem__btn:hover {
  filter: brightness(.97);
}

#contact-form-redec .pv-upload-zone.pv-dragover {
  border-color: #b8bdc6;
  box-shadow: 0 0 0 3px rgba(31, 35, 40, .08);
}

#contact-form-redec .pv-phone__wrap {
  display: flex !important;
  align-items: center !important;
  height: 56px !important;
  background: #fff !important;
  border: 1px solid #D8DBE2 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

#contact-form-redec .pv-phone__prefix {
  padding: 0 12px 0 16px !important;
  white-space: nowrap !important;
  border: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

#contact-form-redec .pv-phone__wrap>.wpcf7-form-control-wrap {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

#contact-form-redec .pv-phone__input {
  width: 100% !important;
  height: 60px !important;

  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;

  background: transparent !important;
  background-image: none !important;

  padding: 0 16px 0 10px !important;
}

#contact-form-redec .pv-phone__wrap:focus-within {
  border-color: #f97316 !important;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .18) !important;
}

#contact-form-redec .pv-phone__wrap:focus-within .pv-phone__prefix {
  border-right: 1px solid rgba(249, 115, 22, .45) !important;
}

#contact-form-redec .wpcf7-not-valid .pv-phone__wrap,
#contact-form-redec .pv-phone__wrap:has(.wpcf7-not-valid) {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .14) !important;
}



#contact-form-redec .pv-help {
  margin: 6px 0 0 !important;
  line-height: 1.35 !important;
}

#contact-form-redec .pv-help--rut {
  margin-top: -25px !important;
  margin-bottom: 10px !important;
}

#contact-form-redec .pv-help--mail {
  margin-top: 15px !important;
}

#contact-form-redec .pv-help--upload {
  margin-top: 5px !important;
  margin-bottom: 0 !important;
}

#contact-form-redec .pv-help p {
  margin: 0 !important;
}

#pv-propuesta-ov {
  position: fixed !important;
  inset: 0 !important;
  display: none;
  place-items: center !important;
  background: rgba(0, 0, 0, .45) !important;
  z-index: 99999999 !important;
  padding: 18px !important;
  box-sizing: border-box !important;
}

#pv-propuesta-md {
  width: min(325px, calc(100vw - 36px)) !important;
  background: #fff !important;
  border-radius: 22px !important;
  border: 0 !important;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .16) !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  color: #4B4F54 !important;
  padding: 26px 28px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 14px !important;
}

#pv-propuesta-md .pv-text {
  margin: 0 !important;
  text-align: center !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  color: #4B4F54 !important;
  max-width: 34ch !important;
  hyphens: none !important;
  overflow-wrap: break-word !important;
}

#pv-propuesta-md .pv-actions {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  margin: 0 !important;
}

#pv-propuesta-md .pv-btn {
  border: 0 !important;
  background: #f96b07 !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  border-radius: 999px !important;
  padding: 14px 22px !important;
  width: min(200px, 100%) !important;
  cursor: pointer !important;
}

#pv-propuesta-md .pv-btn:hover {
  filter: brightness(.98);
}

#pv-redec-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 18px;
  box-sizing: border-box;
}

#pv-redec-popup-box {
  width: min(480px, 100%);
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .16);
  padding: 24px 18px 18px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  box-sizing: border-box;
  text-align: center;
}

#pv-redec-popup-title {
  font-size: 2.9rem;
  font-weight: 730;
  color: #4B4F54;
  line-height: 1.15;
  margin: 0 0 12px;
}

#pv-redec-popup-text {
  color: #4b4f54;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 auto 16px;
  max-width: 46ch;
  text-align: center;
}

#pv-redec-popup-text b,
#pv-redec-popup-text strong {
  color: #f96b07 !important;
  font-weight: 650 !important;
}

#pv-redec-popup-text p {
  margin: 0 0 10px;
}

#pv-redec-popup-text p:last-child {
  margin-bottom: 0;
}

#pv-redec-popup-accept {
  border: 0;
  background: #f96b07;
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 18px;
  cursor: pointer;
  min-width: 210px;
  display: block;
  margin: 0 auto;
}

#pv-redec-popup-accept:hover {
  filter: brightness(.98);
}

#pv-redec-loader {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .20);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

#pv-redec-loader .sp {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 6px solid rgba(0, 0, 0, .10);
  border-top-color: #f96b07;
  animation: pvSpin .9s linear infinite;
}

@keyframes pvSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width:900px) {
  #contact-form-redec {
    overflow-x: hidden !important;
  }

  #contact-form-redec.pv-panel-redec {
    max-width: 92vw;
    padding: 30px 18px 34px;
    border-radius: 22px;
  }

  #contact-form-redec .pv-panel-arco__title {
    font-size: 26px;
  }

  #contact-form-redec .section-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 0 18px 0 !important;
    max-width: 100% !important;
  }

  #contact-form-redec .section-card__title {
    margin: 0 0 12px 0 !important;
    font-size: 22px !important;
    text-align: center;
  }

  #contact-form-redec .card-content-grid,
  #contact-form-redec .form--default__grid,
  #contact-form-redec .form--default__group,
  #contact-form-redec .wpcf7-form-control-wrap {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  #contact-form-redec input[type="text"],
  #contact-form-redec input[type="email"],
  #contact-form-redec input[type="tel"],
  #contact-form-redec select,
  #contact-form-redec textarea {
    font-size: 16px !important;
    padding: 14px 14px;
  }

  #contact-form-redec .form--default__label,
  #contact-form-redec .form--default__group>label {
    top: 10px !important;
    left: 14px !important;
    padding: 0 8px !important;
    font-size: 14px !important;
  }

  #contact-form-redec .form--default__text {
    font-size: 14px !important;
  }

  #contact-form-redec .pv-btn-next,
  #contact-form-redec input.wpcf7-submit#btn_enviar_redec,
  #contact-form-redec #btn_enviar_redec {
    width: 100% !important;
    min-width: 0 !important;
  }

  #contact-form-redec .pv-upload-zone {
    padding: 14px !important;
  }

  #contact-form-redec .pv-drop-ui {
    min-height: 110px !important;
    padding: 0 8px !important;
  }

  #contact-form-redec .pv-drop-ui .pv-ic {
    width: 64px !important;
    height: 64px !important;
  }

  #contact-form-redec .pv-fileitem {
    grid-template-columns: 44px 1fr !important;
  }

  #contact-form-redec .pv-fileitem__btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  #contact-form-redec .cf-turnstile {
    transform: scale(.92);
    transform-origin: left center;
    max-width: 100% !important;
  }

  #contact-form-redec iframe[src*="turnstile"] {
    max-width: 100% !important;
  }

  #contact-form-redec #rut_titular_redec,
  #contact-form-redec #rut_solicitante_redec {
    width: 115% !important;
    max-width: 115% !important;
    height: 56px !important;
    padding: 18px 16px !important;
    margin-left: -7% !important;
  }

  #contact-form-redec .form--default__group.pv-upload>label.form--default__label {
    font-size: 12px !important;
    left: 12px !important;
    top: 10px !important;
    max-width: calc(100% - 24px) !important;
  }
}