/* Contacto: secciones a ancho completo y caja interior de Foundations. */
body.production-interior .wp-block-post-content > .interior:has(.wf-challenge-tabs),
.editor-styles-wrapper .interior.contacto-complete {
  display: block !important;
  box-sizing: border-box;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.production-interior .wp-block-post-content > .interior:has(.wf-challenge-tabs) > .wf-block,
.editor-styles-wrapper .interior.contacto-complete > .wf-block {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: max(24px, calc((100% - var(--content-max)) / 2)) !important;
}

/* El enlace de cada selector contiene icono, copy y flecha; el wrapper no pinta duplicados. */
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .wp-block-button.wf-challenge-tab {
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .wp-block-button.wf-challenge-tab::before,
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .wp-block-button.wf-challenge-tab::after {
  content: none !important;
  display: none !important;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .wp-block-button.wf-challenge-tab > .wp-block-button__link:has(.contact-choice-copy) {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 100% !important;
  padding: 16px 20px !important;
  margin: 0 !important;
  background: transparent !important;
  color: inherit !important;
  text-align: left !important;
  white-space: normal !important;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .wp-block-button__link::before,
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .wp-block-button__link::after {
  content: none !important;
  display: none !important;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .wp-block-button__link > :is(.contact-choice-icon,.contact-choice-arrow)[aria-hidden="true"] {
  position: relative !important;
  inset: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .wp-block-button__link > :is(.contact-choice-icon,.contact-choice-arrow)::before,
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .wp-block-button__link > :is(.contact-choice-icon,.contact-choice-arrow)::after {
  content: none !important;
  display: none !important;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .wp-block-button__link > .contact-choice-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  border: 1px solid currentColor !important;
  border-radius: 50% !important;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .contact-choice-icon svg {
  display: block;
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .contact-choice-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .contact-choice-arrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 24px;
  margin: 0 0 0 auto !important;
  width: 24px !important;
  height: 24px !important;
  border: 0 !important;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs .contact-choice-arrow svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Los formularios son dependencias pendientes: botón visual deshabilitado como en C3. */
/* Contenedores vacíos hasta recibir los scripts del CRM. */
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .crm-script-slot {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 20px;
  padding: 20px;
  border: 1px dashed var(--control-border, #6c757d);
  border-radius: 12px;
  color: var(--text-secondary, #c7d1c6);
  text-align: center;
  overflow-wrap: anywhere;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .crm-script-slot > p { margin: 0; color: inherit; }
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .crm-script-slot :is(iframe, form, img) { max-width: 100%; }

/* Selectores de Contacto: dos párrafos editables en un Grupo nativo.
   Los iconos y flechas son decoración CSS; no hay marcado ajeno a Gutenberg. */
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .wp-block-group.wf-challenge-tab {
  position: relative;
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) 24px;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-content: center;
  align-items: center;
  width: 100%;
  min-height: 88px;
  margin: 0 !important;
  padding: 16px 20px !important;
  cursor: pointer;
  overflow: hidden;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .wp-block-group.wf-challenge-tab::before {
  content: "";
  position: relative !important;
  inset: auto !important;
  z-index: 0 !important;
  transform: none !important;
  grid-column: 1;
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background-position: center;
  background-size: 38px 38px;
  background-repeat: no-repeat;
  pointer-events: none;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .contact-choice-advisor.wp-block-group::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='15' r='4' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3Cpath d='M10 29c1-6 5-9 10-9s9 3 10 9' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E");
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .contact-choice-pqrs.wp-block-group::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='13' y='10' width='14' height='19' rx='2' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3Cpath d='M16 16h8m-8 4h8m-8 4h5' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E");
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .contact-choice-advisor.wp-block-group[aria-selected="true"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='15' r='4' fill='none' stroke='%230c110d' stroke-width='1.5'/%3E%3Cpath d='M10 29c1-6 5-9 10-9s9 3 10 9' fill='none' stroke='%230c110d' stroke-width='1.5'/%3E%3C/svg%3E");
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .contact-choice-pqrs.wp-block-group[aria-selected="true"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='13' y='10' width='14' height='19' rx='2' fill='none' stroke='%230c110d' stroke-width='1.5'/%3E%3Cpath d='M16 16h8m-8 4h8m-8 4h5' stroke='%230c110d' stroke-width='1.5'/%3E%3C/svg%3E");
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .wp-block-group.wf-challenge-tab::after {
  content: "";
  grid-column: 3;
  grid-row: 1 / 3;
  width: 20px;
  height: 20px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-7-7 7 7-7 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h16m-7-7 7 7-7 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .wp-block-group.wf-challenge-tab[aria-selected="true"]::after { transform: rotate(90deg); }
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .wp-block-group.wf-challenge-tab > p {
  grid-column: 2;
  margin: 0 !important;
  color: inherit !important;
  line-height: 1.25;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .wp-block-group.wf-challenge-tab > .contact-choice-title {
  grid-row: 1;
  font-size: 1.125rem;
  font-weight: 600 !important;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .wp-block-group.wf-challenge-tab > .contact-choice-subtitle { grid-row: 2; font-size: 15px; }
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .wp-block-group.wf-challenge-tab:not([aria-selected="true"])::before {
  opacity: 1 !important;
  mask: none !important;
  -webkit-mask: none !important;
  filter: none !important;
  color: #f0f3ef !important;
  border-color: rgb(240 243 239 / .8) !important;
  background-color: rgb(255 255 255 / .06);
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .contact-choice-advisor.wp-block-group:not([aria-selected="true"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='15' r='4' fill='none' stroke='%23f0f3ef' stroke-width='1.8'/%3E%3Cpath d='M10 29c1-6 5-9 10-9s9 3 10 9' fill='none' stroke='%23f0f3ef' stroke-width='1.8'/%3E%3C/svg%3E") !important;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-tabs > .contact-choice-pqrs.wp-block-group:not([aria-selected="true"])::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='13' y='10' width='14' height='19' rx='2' fill='none' stroke='%23f0f3ef' stroke-width='1.8'/%3E%3Cpath d='M16 16h8m-8 4h8m-8 4h5' stroke='%23f0f3ef' stroke-width='1.8'/%3E%3C/svg%3E") !important;
}

/* Los formularios son dependencias pendientes: botón visual deshabilitado como en C3. */
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .wf-challenge-results .wp-embed-script-placeholder > .pending-submit {
  margin-top: 12px !important; /* Igual al row-gap de .wf-form. */
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .pending-submit {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 3.25rem !important;
  margin: 0 !important;
  padding: 0 4.25rem 0 1.25rem !important;
  overflow: hidden !important;
  border: 1px solid var(--brand-lime) !important;
  border-radius: .5rem !important;
  background: var(--brand-lime) !important;
  color: var(--web-ink) !important;
  font-weight: 600 !important;
  white-space: nowrap;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .pending-submit > span[aria-hidden="true"] {
  position: absolute !important;
  inset: 0 0 0 auto;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 3rem;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border-left: 1px solid rgb(12 17 13 / .22);
  color: var(--web-ink) !important;
  font-size: 0 !important;
}
:is(body.production-interior .interior,.editor-styles-wrapper .interior) .pending-submit > span[aria-hidden="true"]::after {
  content: "";
  width: 13.5px;
  height: 13.5px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3Cpolyline points='13 5 20 12 13 19'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3Cpolyline points='13 5 20 12 13 19'/%3E%3C/svg%3E") center / contain no-repeat;
}
