/* 1.0.104 · El formulario mantiene su posición original; el resultado sustituye sus campos.
   Sin tarjetas anidadas ni cambios de alineación del mapa en escritorio. */
#cwFooter .cw-footer-enquiry__flow{position:relative;min-width:0;width:100%;isolation:isolate}
#cwFooter .cw-footer-enquiry__flow.is-processing > .cw-footer-enquiry__form,
#cwFooter .cw-footer-enquiry__flow.is-complete > .cw-footer-enquiry__form{
  visibility:hidden!important;pointer-events:none!important;
}
/* Conserva la altura original durante el envío; al confirmar, un resultado compacto sustituye solo el formulario. */
#cwFooter .cw-footer-enquiry__flow.is-complete > .cw-footer-enquiry__form{
  height:410px!important;min-height:410px!important;overflow:hidden!important;
}
#cwFooter .cw-footer-enquiry__head,
#cwFooter .cw-footer-enquiry.is-processing .cw-footer-enquiry__head,
#cwFooter .cw-footer-enquiry.is-complete .cw-footer-enquiry__head{display:block!important;visibility:visible!important}
#cwFooter .cw-footer-enquiry__flow > .cw-footer-enquiry__processing[hidden],
#cwFooter .cw-footer-enquiry__flow > .cw-footer-enquiry__receipt[hidden],
#cwFooter .cw-footer-enquiry__validation[hidden]{display:none!important}
#cwFooter .cw-footer-enquiry__flow > :is(.cw-footer-enquiry__processing,.cw-footer-enquiry__receipt):not([hidden]){
  position:absolute!important;inset:0!important;z-index:2!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:100%!important;min-height:0!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:center!important;text-align:left!important;
  padding:clamp(22px,3vw,36px)!important;margin:0!important;
  border:1px solid var(--cw-footer-border,#dce5ea)!important;
  border-radius:15px!important;
  background:color-mix(in srgb,var(--cw-footer-surface,#f4f9fb) 94%,var(--cw-footer-bg,#fff))!important;
  color:var(--cw-footer-text,#27343c)!important;
  overflow:hidden!important;box-shadow:none!important;
  animation:cwpfFeedbackEnter .3s cubic-bezier(.22,1,.36,1) both;
}
#cwFooter .cw-footer-enquiry__receipt-accent{display:none!important}
#cwFooter .cw-footer-enquiry__processing-emblem{width:54px!important;height:54px!important;margin:0 0 18px!important}
#cwFooter .cw-footer-enquiry__processing-emblem > svg{width:54px!important;height:54px!important}
#cwFooter .cw-footer-enquiry__processing-emblem > span > svg{width:22px!important;height:22px!important}
#cwFooter .cw-footer-enquiry__receipt-icon{
  width:53px!important;height:53px!important;margin:0 0 16px!important;
  background:color-mix(in srgb,var(--cw-footer-accent,#00c3a2) 11%,transparent)!important;
}
#cwFooter .cw-footer-enquiry__receipt-icon svg{width:40px!important;height:40px!important}
#cwFooter .cw-footer-enquiry__feedback-label{
  font-size:10px!important;letter-spacing:.1em!important;margin:0 0 8px!important;
  color:var(--cw-footer-accent,#00bfa2)!important;
}
#cwFooter .cw-footer-enquiry__processing h3,#cwFooter .cw-footer-enquiry__receipt h3{
  font-size:clamp(24px,2.1vw,29px)!important;font-weight:740!important;line-height:1.2!important;
  letter-spacing:-.035em!important;color:var(--cw-footer-text,#26343c)!important;
}
#cwFooter .cw-footer-enquiry__processing .cw-footer-enquiry__feedback-copy,
#cwFooter .cw-footer-enquiry__receipt .cw-footer-enquiry__receipt-intro{
  margin:10px 0 0!important;max-width:46ch!important;
  font-size:13px!important;line-height:1.65!important;color:var(--cw-footer-muted,#64747c)!important;
}
#cwFooter .cw-footer-enquiry__processing-track{margin:20px 0 0!important;width:min(100%,185px)!important}
#cwFooter .cw-footer-enquiry__receipt-next{
  margin-top:22px!important;padding-top:16px!important;gap:11px!important;
  border-top:1px solid var(--cw-footer-border,#dce5ea)!important;
}
#cwFooter .cw-footer-enquiry__receipt-next-icon{width:31px!important;height:31px!important;flex:0 0 31px!important;border-radius:9px!important}
#cwFooter .cw-footer-enquiry__receipt-next-icon svg{width:17px!important;height:17px!important}
#cwFooter .cw-footer-enquiry__receipt-next strong{font-size:12.5px!important;margin-bottom:3px!important}
#cwFooter .cw-footer-enquiry__receipt-next p{font-size:12px!important;line-height:1.6!important}
#cwFooter .cw-footer-enquiry__receipt-reset{margin:12px 0 0!important;font-size:12px!important;min-height:44px!important}
html[data-theme="dark"] #cwFooter .cw-footer-enquiry__flow > :is(.cw-footer-enquiry__processing,.cw-footer-enquiry__receipt):not([hidden]),
body[data-theme="dark"] #cwFooter .cw-footer-enquiry__flow > :is(.cw-footer-enquiry__processing,.cw-footer-enquiry__receipt):not([hidden]),
#cwFooter[data-theme="dark"] .cw-footer-enquiry__flow > :is(.cw-footer-enquiry__processing,.cw-footer-enquiry__receipt):not([hidden]){
  background:var(--cw-footer-surface,#122931)!important;
}
/* Validación contextual, limpia y accesible (no tooltips nativos del navegador). */
#cwFooter .cw-footer-enquiry__validation:not([hidden]){
  display:flex!important;align-items:center!important;gap:12px!important;
  padding:13px 15px!important;margin:0 0 3px!important;
  border:1px solid color-mix(in srgb,#cf653a 27%,var(--cw-footer-border,#ddd))!important;
  border-left:3px solid #d46e45!important;border-radius:9px!important;
  background:color-mix(in srgb,#d46e45 7%,var(--cw-footer-surface,#fff))!important;
  box-shadow:none!important;color:var(--cw-footer-text,#26343c)!important;
}
#cwFooter .cw-footer-enquiry__validation-icon,
#cwFooter .cw-footer-enquiry__status-icon{
  flex:0 0 32px!important;width:32px!important;height:32px!important;
  display:grid!important;place-items:center!important;
  background:color-mix(in srgb,#c75c38 10%,transparent)!important;
  border-radius:9px!important;color:#bb5836!important;
}
#cwFooter :is(.cw-footer-enquiry__validation-icon,.cw-footer-enquiry__status-icon) svg{width:18px;height:18px}
#cwFooter .cw-footer-enquiry__validation > span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0}
#cwFooter .cw-footer-enquiry__validation strong{font-size:12.5px;line-height:1.4;font-weight:730}
#cwFooter .cw-footer-enquiry__validation small{font-size:11.5px;line-height:1.5;color:var(--cw-footer-muted,#60737a)}
#cwFooter .cw-footer-enquiry__field.has-error .cw-footer-enquiry__input-wrap{
  border-color:#c66343!important;box-shadow:0 1px 0 0 #c66343!important;
}
#cwFooter .cw-footer-enquiry__consent.has-error .cw-footer-enquiry__check{
  border-color:#c66343!important;background:color-mix(in srgb,#c66343 8%,transparent)!important;
}
#cwFooter .cw-footer-enquiry__field-error{
  display:block!important;flex:1 1 100%;width:100%;
  margin:1px 0 0!important;color:#b55136!important;
  font-size:11.5px!important;line-height:1.5!important;font-weight:620!important;
}
#cwFooter .cw-footer-enquiry__consent.has-error{flex-wrap:wrap!important}
#cwFooter .cw-footer-enquiry__consent.has-error > .cw-footer-enquiry__field-error{padding-left:29px!important;margin-top:-3px!important}
#cwFooter .cw-footer-enquiry__status.is-error:not([hidden]){
  display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:11px!important;
  border:1px solid color-mix(in srgb,#c66343 30%,var(--cw-footer-border,#ddd))!important;
  border-left:3px solid #c66343!important;border-radius:9px!important;
  background:color-mix(in srgb,#c66343 7%,var(--cw-footer-surface,#fff))!important;
  padding:13px!important;margin:8px 0 0!important;
}
#cwFooter .cw-footer-enquiry__status-body{min-width:0;display:flex;flex-direction:column;gap:4px}
#cwFooter .cw-footer-enquiry__status-body strong{font-size:12.5px;line-height:1.4}
#cwFooter .cw-footer-enquiry__status-body > span{font-size:11.8px;line-height:1.6}
#cwFooter .cw-footer-enquiry__validation:focus-visible{outline:2px solid var(--cw-footer-accent);outline-offset:2px}
@media(max-width:840px){
  /* El mapa va debajo; al terminar no conserva un hueco gigantesco de los campos ocultos. */
  #cwFooter .cw-footer-enquiry__flow.is-complete > .cw-footer-enquiry__form{
    height:390px!important;min-height:390px!important;overflow:hidden!important;
  }
}
@media(max-width:540px){
  #cwFooter .cw-footer-enquiry__flow > :is(.cw-footer-enquiry__processing,.cw-footer-enquiry__receipt):not([hidden]){
    padding:23px 20px!important;min-height:0!important;
  }
  #cwFooter .cw-footer-enquiry__flow.is-complete > .cw-footer-enquiry__form{height:410px!important;min-height:410px!important}
  #cwFooter .cw-footer-enquiry__receipt-next{margin-top:16px!important;padding-top:13px!important}
  #cwFooter .cw-footer-enquiry__receipt-icon{width:48px!important;height:48px!important;margin-bottom:13px!important}
  #cwFooter .cw-footer-enquiry__receipt-reset{margin-top:7px!important}
}
@media(prefers-reduced-motion:reduce){
  #cwFooter .cw-footer-enquiry__flow > :is(.cw-footer-enquiry__processing,.cw-footer-enquiry__receipt):not([hidden]){animation:none!important}
}
