/* 3S · Fase15 · Exclusivo del presupuesto ChronoForms8 confirmado.
 * Nunca imponer display a campos ocultos, selectores o tokens de ChronoForms.
 * No modifica el resto de formularios, login, carruseles ni navegacion.
 */
body.site #content form#chronoform-presupuesto_online-20260924-080019 {
  box-sizing: border-box;
  max-width: 1100px;
  width: 100%;
  margin: 26px auto 34px;
  padding: clamp(20px, 3vw, 38px);
  border: 1px solid #dfe8e6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(18,53,75,.05);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #243c49;
  gap: 20px;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 :is(p, label, textarea:not([name="g-recaptcha-response"]), input:not([type="hidden"]), select, .nui.select) {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-eyebrow {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  font-weight: 700;
  letter-spacing: .1em;
  color: #466f20;
  text-align: left !important;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 > h2 {
  margin: -8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: clamp(28px, 2vw + 12px, 38px) !important;
  line-height: 1.2 !important;
  font-weight: 700;
  color: #12354b;
  text-align: left !important;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-intro {
  margin: -6px 0 4px !important;
  max-width: 76ch;
  line-height: 1.7 !important;
  color: #50646d;
  text-align: left !important;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  list-style: none !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-progress > li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0 !important;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #dfe8e6;
  background: #f4f7f6;
  color: #50646d;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 600;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dfe8e6;
  color: #12354b;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-progress > li[aria-current="step"] {
  color: #12354b;
  border-color: #598c28;
  background: #f0f6e9;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-progress > li[aria-current="step"] .s3-budget-step-number {
  color: #fff;
  background: #507f25;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-progress > li.s3-complete .s3-budget-step-number {
  background: #dcebd0;
  color: #355b18;
}
/* Corrige altura fija 403px y porcentajes 40%+58%+50px de la plantilla antigua. */
body.site #content form#chronoform-presupuesto_online-20260924-080019 .formulario-container {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  width: 100% !important;
  min-width: 0;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .area_container3 {
  grid-template-columns: minmax(0,.95fr) minmax(0,1.4fr) !important;
  gap: 24px !important;
  align-items: start;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 :is(.area_container4,.area_container6) {
  min-width: 0;
  padding: 20px;
  border: 1px solid #dfe8e6;
  border-radius: 12px;
  background: #f8faf9;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-panel-title {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.35 !important;
  color: #12354b;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-choice-hint {
  margin: 0 !important;
  color: #50646d;
  text-align: left !important;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-choice-hint[hidden] { display: none !important; }
body.site #content form#chronoform-presupuesto_online-20260924-080019 .field_radios .nui.checkbox.radio > label {
  box-sizing: border-box;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #cfdbd8;
  border-radius: 9px;
  background: #fff;
  color: #243c49;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.5 !important;
  align-items: center;
  gap: 12px;
  overflow-wrap: break-word;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .area_container4 .nui.checkbox.radio > label {
  min-height: 72px;
  font-weight: 600;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .nui.checkbox.radio > label > svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: #507f25;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .nui.checkbox.radio:has(input:checked) > label {
  background: #eef5e8;
  border-color: #507f25;
  box-shadow: inset 3px 0 0 #507f25;
  color: #173b27;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .nui.checkbox.radio > label:hover {
  border-color: #507f25;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .field > label {
  margin-bottom: 4px;
  color: #12354b;
  font-weight: 600;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .field :is(input[type="text"], input[type="email"], input[type="tel"], textarea:not([name="g-recaptcha-response"])):not(.search) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #afbfbb;
  border-radius: 8px;
  background: #fff;
  color: #243c49;
  box-shadow: none;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 textarea:not([name="g-recaptcha-response"]) {
  min-height: 170px;
  resize: vertical;
}
/* No dar display al select nativo oculto ni a los menus condicionales. */
body.site #content form#chronoform-presupuesto_online-20260924-080019 .nui.select.selection {
  min-height: 48px;
  border: 1px solid #afbfbb;
  border-radius: 8px;
  background: #fff;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .equal.fields {
  gap: 20px;
  align-items: flex-start;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .equal.fields > .field { min-width: 0; }
body.site #content form#chronoform-presupuesto_online-20260924-080019 :is(label[tabindex], input:not([type="hidden"]), textarea:not([name="g-recaptcha-response"]), .nui.select, .nui.button):focus-visible {
  outline: 3px solid #285f84 !important;
  outline-offset: 3px;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .nui.button {
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 22px !important;
  margin: 4px 0 0 !important;
  border: 1px solid #12354b !important;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  background: #12354b !important;
  background-image: none !important;
  color: #fff !important;
  text-shadow: none !important;
  text-decoration: none !important;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 > .nui.button {
  align-self: flex-end !important;
  margin-right: 0 !important;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 a.nui.button {
  background: #fff !important;
  color: #12354b !important;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 button.nui.button:hover {
  background: #234d64 !important;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-privacy {
  margin: 8px 0 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  text-align: left !important;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-privacy a {
  color: #1c5478;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .field.error :is(input:not([type="hidden"]),textarea:not([name="g-recaptcha-response"]),.nui.select) {
  border-color: #b42318;
  background: #fff5f4;
}
body.site #content form#chronoform-presupuesto_online-20260924-080019 .field.error .nui.checkbox > label { border-color: #b42318; }
@media (max-width: 800px) {
  body.site #content form#chronoform-presupuesto_online-20260924-080019 {
    padding: 20px 14px;
    border-radius: 12px;
    margin-top: 18px;
  }
  body.site #content form#chronoform-presupuesto_online-20260924-080019 .area_container3 {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 16px !important;
  }
  body.site #content form#chronoform-presupuesto_online-20260924-080019 :is(.area_container4,.area_container6) { padding: 16px 12px; }
  body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-progress > li {
    flex-direction: column;
    text-align: center !important;
    padding: 10px 4px;
    gap: 6px;
    font-size: 12px !important;
  }
  body.site #content form#chronoform-presupuesto_online-20260924-080019 .s3-budget-progress { gap: 6px; }
  body.site #content form#chronoform-presupuesto_online-20260924-080019 .equal.fields { flex-direction: column; gap: 16px; }
  body.site #content form#chronoform-presupuesto_online-20260924-080019 .equal.fields > .field { width: 100%; }
}
