/*
 * Intervegas - identidad visual del XII Encuentro Estatal (v1.4)
 * Pegar al FINAL del CSS actual del tema.
 * Subir intervegas-hero.jpg a la carpeta /files del tema.
 */

#vmsg_36002_default,
#vmsg_35999_default,
#vmsg_36001_default {
    display: none !important;
}
:root {
  --iv-green: #92c01f;
  --iv-green-dark: #6f9414;
  --iv-green-soft: #eef5dc;
  --iv-black: #111111;
  --iv-ink: #252820;
  --iv-muted: #62685a;
  --iv-paper: #f6f7f1;
  --iv-white: #ffffff;
  --iv-line: #d8e5b6;
  --iv-danger: #9b1735;
  --iv-shadow: 0 12px 34px rgba(17, 17, 17, 0.08);
  --iv-page-gutter: clamp(18px, 4vw, 32px);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden !important;
  background: var(--iv-paper) !important;
  color: var(--iv-ink) !important;
  font-family: Montserrat, Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

body p,
body li,
body label,
body .control-label {
  color: var(--iv-ink) !important;
  line-height: 1.55 !important;
}

#bg {
  background:
    radial-gradient(900px 460px at 8% -5%, rgba(146, 192, 31, 0.18), transparent 72%),
    linear-gradient(180deg, #fbfcf8 0%, var(--iv-paper) 100%) !important;
}

/* El formulario gana anchura y elimina los grandes márgenes del tema anterior. */
#limesurvey,
.survey-form-container {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1104px !important;
  margin: 0 auto !important;
  padding-left: var(--iv-page-gutter) !important;
  padding-right: var(--iv-page-gutter) !important;
}

/* Bootstrap aplica margenes negativos a .row; los anulamos para conservar
 * un margen lateral real, sobre todo en pantallas pequenas. */
#limesurvey > .row,
div#group-0 {
  margin-top: 28px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.survey-group {
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
}

#group-0 .group-header,
.continue-button-wrapper,
.survey-group-title,
.survey-main-navbar {
  display: none !important;
}

/* HERO CORPORATIVO */
#question35996 {
  margin: 0 0 24px !important;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--iv-green) !important;
  box-shadow: var(--iv-shadow);
}

#question35996 .question-header,
#question35996 .question-text {
  margin: 0 !important;
  display: block !important;
  width: 100% !important;
}

#question35996 .question-text > div {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 48px 51% 48px 44px !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--iv-green) !important;
}

#question35996 .question-text > div::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 47%;

    background-image: url("https://ethnoap.es/upload/surveys/956516/images/intervegas-hero-2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right calc(50% - 12px);

    pointer-events: none;
}

#question35996 .question-text p {
  position: relative;
  z-index: 1;
  max-width: 590px;
  margin: 0 0 16px !important;
  color: var(--iv-black) !important;
}

#question35996 .question-text p:first-child img {
  display: block !important;
  width: 150px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 0 24px !important;
}

#question35996 .question-text p:first-child span {
  font-size: 17px !important;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

#question35996 .question-text p:nth-child(2) span {
  font-size: clamp(28px, 4vw, 44px) !important;
  font-weight: 800;
  line-height: 1.08 !important;
}

#question35996 .question-text p:nth-child(2) b {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

#question35996 .question-text p:nth-child(3) span {
  font-size: 17px !important;
  line-height: 1.45 !important;
}

/* INTRODUCCION Y DESCARGAS */
#question35997,
#question36000 {
  margin: 0 0 24px !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid var(--iv-line) !important;
  border-radius: 14px !important;
  background: var(--iv-white) !important;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

#question35997 .question-header,
#question36000 .question-header {
  margin: 0 !important;
}

#question35997 .question-text > div,
#question36000 .question-text > div {
  border: 0 !important;
  border-left: 7px solid var(--iv-green) !important;
  border-radius: 0 !important;
  padding: 26px 28px !important;
  background: var(--iv-white) !important;
}

#question35997 .question-text p,
#question36000 .question-text p {
  margin: 0 0 14px !important;
}

#question35997 .iv-confirmation-note {
  margin-top: 18px !important;
  padding: 14px 16px !important;
  border-left: 4px solid var(--iv-green);
  background: var(--iv-green-soft);
  font-weight: 600;
}

#question35997 .iv-program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0 !important;
}

#question35997 a.iv-program-button,
#question35997 .iv-program-actions a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  margin: 0 !important;
  padding: 10px 16px !important;
  border: 2px solid var(--iv-black) !important;
  border-radius: 7px !important;
  background: var(--iv-green) !important;
  color: var(--iv-black) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

#question35997 a.iv-program-button::before,
#question35997 .iv-program-actions a::before {
  content: "↓";
  font-size: 20px;
  line-height: 1;
}

#question35997 a.iv-program-button:hover,
#question35997 a.iv-program-button:focus,
#question35997 .iv-program-actions a:hover,
#question35997 .iv-program-actions a:focus {
  background: var(--iv-black) !important;
  color: var(--iv-white) !important;
  transform: translateY(-1px);
}

/* BANDA DE SECCION */
#question35998 {
  margin: 30px 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#question35998 .question-header {
  margin: 0 !important;
}

#question35998 h3 {
  margin: 0 !important;
  padding: 13px 18px !important;
  border-radius: 5px;
  background: var(--iv-green);
  color: var(--iv-black) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* TARJETAS DE PREGUNTA */
#limesurvey .question-container:not(.boilerplate) {
  box-sizing: border-box;
  margin: 0 0 18px !important;
  padding: 24px 26px !important;
  border: 1px solid var(--iv-line) !important;
  border-radius: 12px !important;
  background: var(--iv-white) !important;
  box-shadow: 0 7px 22px rgba(17, 17, 17, 0.045);
  opacity: 1 !important;
}

#limesurvey .question-container:not(.boilerplate).iv-complete {
  border-left: 6px solid var(--iv-green) !important;
}

#limesurvey .question-container .question-header {
  margin-bottom: 14px !important;
}

#limesurvey .question-container .question-header > .question-number:empty {
  display: none !important;
}

#limesurvey .question-container:not(.boilerplate) .question-header .question-text {
  display: block;
  color: var(--iv-black) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

#limesurvey .question-container:not(.boilerplate) .question-header .question-text > .question-number {
  position: static !important;
  display: inline-flex !important;
  width: auto !important;
  margin: 0 9px 0 0 !important;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--iv-green);
  color: var(--iv-black) !important;
  font-size: 15px !important;
  font-weight: 800;
  vertical-align: 2px;
}

#limesurvey .question-help-container .text-info.questionhelp {
  display: block;
  margin: 0 0 16px !important;
  padding: 11px 14px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--iv-green-soft) !important;
  color: var(--iv-muted) !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

#limesurvey .question-help-container .text-info.questionhelp p {
  margin: 0 !important;
  color: var(--iv-muted) !important;
  font-size: inherit !important;
}

/* CAMPOS */
#limesurvey .form-control,
#limesurvey input[type="text"],
#limesurvey input[type="email"],
#limesurvey input[type="tel"],
#limesurvey textarea,
#limesurvey select {
  box-sizing: border-box;
  width: 100% !important;
  min-height: 48px;
  padding: 10px 12px !important;
  border: 1px solid #afbf8a !important;
  border-radius: 7px !important;
  background: var(--iv-white) !important;
  color: var(--iv-black) !important;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

#limesurvey textarea.form-control {
  min-height: 170px !important;
  resize: vertical !important;
}

#limesurvey .form-control:focus,
#limesurvey input:focus,
#limesurvey textarea:focus,
#limesurvey select:focus {
  border-color: var(--iv-green-dark) !important;
  outline: 3px solid rgba(146, 192, 31, 0.24) !important;
  outline-offset: 1px;
}

#question36003 .col-sm-7,
#question36001 .dropdown-item {
  width: 100% !important;
  max-width: 620px;
  padding: 0 !important;
}

#question36004 .form-group {
  margin: 0 0 14px !important;
}

#question36004 .control-label {
  padding-top: 10px !important;
  color: var(--iv-black) !important;
  font-weight: 700 !important;
  text-align: left !important;
}

/* RADIO Y CHECKBOX COMO TARJETAS */
#limesurvey .list-radio .radio-list,
#limesurvey .multiple-opt .multiple-choice-container {
  margin: 0 !important;
  padding: 0 !important;
}

#limesurvey .list-radio .radio-item,
#limesurvey .multiple-opt .multiple-choice-container > .col-sm-12 {
  width: 100% !important;
  margin: 0 0 9px !important;
  padding: 0 !important;
}

#limesurvey .list-radio .radio-item .form-group,
#limesurvey .multiple-opt .checkbox-item {
  margin: 0 !important;
}

/* Oculta el control nativo sin sacarlo del arbol de accesibilidad.
 * La marca visible se dibuja una sola vez con ::after. */
#limesurvey .list-radio .radio-item input[type="radio"],
#limesurvey .multiple-opt .checkbox-item input[type="checkbox"] {
  position: absolute !important;
  display: block !important;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
}

#limesurvey .list-radio .radio-item label.answertext,
#limesurvey .list-radio .radio-item label.control-label,
#limesurvey .multiple-opt .checkbox-item label.answertext,
#limesurvey .multiple-opt .checkbox-item label.control-label {
  display: none !important;
}

#limesurvey .list-radio .radio-item,
#limesurvey .list-radio .radio-item .form-group,
#limesurvey .multiple-opt .checkbox-item {
  position: relative !important;
  padding-left: 0 !important;
}

#limesurvey .list-radio .radio-item:focus-within .label-text,
#limesurvey .multiple-opt .checkbox-item:focus-within .label-text {
  outline: 3px solid rgba(146, 192, 31, 0.30) !important;
  outline-offset: 2px !important;
}

#limesurvey .list-radio .radio-item .label-text,
#limesurvey .multiple-opt .checkbox-item .label-text {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  padding: 13px 54px 13px 16px !important;
  border: 1px solid var(--iv-line) !important;
  border-radius: 7px !important;
  background: #fcfdf9 !important;
  color: var(--iv-ink) !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  cursor: pointer;
}

#limesurvey .list-radio .radio-item .label-text::before,
#limesurvey .multiple-opt .checkbox-item .label-text::before {
  content: none !important;
}

#limesurvey .list-radio .radio-item .label-text::after,
#limesurvey .multiple-opt .checkbox-item .label-text::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border: 2px solid #849169;
  background: var(--iv-white);
  color: transparent;
  text-align: center;
  font-size: 17px;
  font-weight: 900;
  line-height: 18px;
  box-sizing: border-box;
}

#limesurvey .list-radio .radio-item .label-text::after {
  content: "";
  border-radius: 50%;
}

#limesurvey .multiple-opt .checkbox-item .label-text::after {
  content: "✓";
  border-radius: 4px;
}

#limesurvey .list-radio .radio-item.iv-selected .label-text,
#limesurvey .multiple-opt .checkbox-item.iv-selected .label-text {
  border-color: var(--iv-green-dark) !important;
  background: var(--iv-green-soft) !important;
  box-shadow: inset 5px 0 0 var(--iv-green);
}

#limesurvey .list-radio .radio-item.iv-selected .label-text::after {
  border-color: var(--iv-green-dark);
  background: var(--iv-green);
  box-shadow: inset 0 0 0 5px var(--iv-white);
}

#limesurvey .multiple-opt .checkbox-item.iv-selected .label-text::after {
  border-color: var(--iv-green-dark);
  background: var(--iv-green);
  color: var(--iv-black);
}

#limesurvey .answer-item.iv-disabled-choice {
  opacity: 0.52;
}

#limesurvey .answer-item.iv-disabled-choice .label-text {
  cursor: not-allowed !important;
}

/* Campo "Otro": vuelve al flujo normal y no queda superpuesto. */
#limesurvey .othertext-label-checkox-container,
#limesurvey .othertext-label-checkox-container + div,
#limesurvey .othertext-label-checkox-container + .pull-left {
  position: static !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

#limesurvey .othertext-label-checkox-container + div input,
#limesurvey .othertext-label-checkox-container + .pull-left input {
  margin-top: 10px !important;
}

.iv-selection-status {
  margin: -6px 0 14px;
  color: var(--iv-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.iv-selection-status.iv-at-limit {
  color: #4f611c;
}

.iv-selection-status.iv-limit-flash {
  animation: iv-limit-flash 420ms ease-out;
}

@keyframes iv-limit-flash {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-4px); }
  60% { transform: translateX(4px); }
}

/* ERRORES */
#limesurvey .question-error .text-danger,
#limesurvey .question-error .errormandatory {
  display: inline-block !important;
  margin-top: 8px !important;
  padding: 8px 11px !important;
  border-radius: 5px !important;
  background: #f8e8ec !important;
  color: var(--iv-danger) !important;
  font-size: 14px !important;
}

/* CIERRE */
#question36000 .question-text > div {
  background: linear-gradient(90deg, var(--iv-green-soft), var(--iv-white)) !important;
}

/* LOGOS DE ENTIDADES COLABORADORAS */
html body #limesurvey .iv-partner-logos {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 0 42px !important;
  padding: 4px 18px !important;
  overflow: hidden !important;
  border: 1px solid var(--iv-line) !important;
  border-radius: 14px !important;
  background: var(--iv-white) !important;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05) !important;
}

html body #limesurvey .iv-partner-logos-image {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  border: 0 !important;
  background: transparent !important;
  object-fit: contain !important;
}

/* PIE Y BOTON DE ENVIO */
.survey-footer {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  background: transparent !important;
}

.survey-footer .buttons-wrapper {
  display: flex;
  justify-content: flex-end;
  box-sizing: border-box;
  width: 100% !important;
  padding: 8px 0 24px !important;
}

#save-next {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

#movesubmitbtn {
  min-width: 230px;
  min-height: 52px;
  padding: 12px 24px !important;
  border: 2px solid var(--iv-black) !important;
  border-radius: 7px !important;
  background: var(--iv-green) !important;
  color: var(--iv-black) !important;
  font-family: inherit !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

#movesubmitbtn:hover,
#movesubmitbtn:focus {
  background: var(--iv-black) !important;
  color: var(--iv-white) !important;
}

.survey-footer .button-text {
  position: static !important;
  width: auto !important;
  max-width: 540px;
  margin: 0 !important;
  color: var(--iv-muted) !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  text-align: right !important;
}

.survey-footer .button-text a {
  color: var(--iv-black) !important;
  font-weight: 700;
  text-decoration-color: var(--iv-green-dark) !important;
  text-decoration-thickness: 2px !important;
}

/* SELECTOR DE IDIOMA: compatible con varios marcados de LimeSurvey. */
.language_change_container,
.language-changer,
.ls-language-switcher,
.lenguas4,
#lenguas2 {
  margin: 10px 0 !important;
}

.idioma,
.language_change_container a,
.language-changer a,
.ls-language-switcher a {
  border-color: var(--iv-black) !important;
  background: var(--iv-white) !important;
  color: var(--iv-black) !important;
  font-weight: 800 !important;
}

.idioma.activo,
.idioma:hover,
.language_change_container a:hover,
.language-changer a:hover,
.ls-language-switcher a:hover,
.language_change_container .active > a,
.language-changer .active > a {
  background: var(--iv-green) !important;
  color: var(--iv-black) !important;
}

@media (max-width: 767px) {
  :root {
    --iv-page-gutter: 16px;
  }
#limesurvey .question-container:not(.boilerplate).iv-complete {
      border-left: 0px solid var(--iv-green) !important;
}
  #limesurvey,
  .survey-form-container {
    width: 100% !important;
    max-width: none !important;
    padding-left: var(--iv-page-gutter) !important;
    padding-right: var(--iv-page-gutter) !important;
  }

  #limesurvey > .row,
  div#group-0 {
    margin-top: 10px !important;
  }

  #question35996 .question-text > div {
    min-height: 560px;
    justify-content: flex-start;
    padding: 30px 24px 255px !important;
  }

  #question35996 .question-text > div::after {
    top: auto;
    left: 0;
    width: 100%;
    height: 255px;
   background-position: center calc(50% - 12px);
    background-size: cover;
  }

  #question35996 .question-text p:nth-child(2) span {
    font-size: 30px !important;
  }

  #question35997 .question-text > div,
  #question36000 .question-text > div,
  #limesurvey .question-container:not(.boilerplate) {
    padding: 19px 18px !important;
  }

  #limesurvey .answer-container,
  #limesurvey .answer,
  #limesurvey .multiple-choice-container,
  #limesurvey .radio-list {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #question35997 .iv-program-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  #question35997 a.iv-program-button,
  #question35997 .iv-program-actions a {
    width: 100%;
  }

  #question36004 .form-group {
    display: block !important;
  }

  #question36004 .control-label,
  #question36004 .col-sm-6 {
    width: 100% !important;
    padding: 0 !important;
  }

  #question36004 .control-label {
    margin-bottom: 7px;
  }

  html body #limesurvey .iv-partner-logos {
    margin-bottom: 30px !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
  }

  .survey-footer .buttons-wrapper {
    padding-bottom: 18px !important;
  }

  #save-next {
    align-items: stretch;
  }

  #movesubmitbtn {
    width: 100%;
  }

  .survey-footer .button-text {
    max-width: none;
    text-align: left !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* INTERVEGAS V1.2 - HARDENING DE CONTROLES Y RESPONSIVE */
/* Selectores deliberadamente específicos: el tema antiguo de LimeSurvey
 * contiene reglas para .checkbox y .radio que pueden reaparecer según el
 * orden de carga. Solo queda visible el control corporativo de la tarjeta. */
html body #limesurvey .list-radio .radio-item > input[type="radio"],
html body #limesurvey .list-radio .radio-item .form-group > input[type="radio"],
html body #limesurvey .multiple-opt .checkbox-item > input[type="checkbox"],
html body #limesurvey .multiple-opt .othertext-label-checkox-container > input[type="checkbox"],
html body #limesurvey input.iv-native-control {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 1px !important;
  min-width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: none !important;
}

html body #limesurvey .list-radio .radio-item label.answertext,
html body #limesurvey .list-radio .radio-item label.control-label,
html body #limesurvey .multiple-opt .checkbox-item label.answertext,
html body #limesurvey .multiple-opt .checkbox-item label.control-label {
  display: none !important;
}

@media (max-width: 767px) {
  html body #limesurvey,
  html body .survey-form-container {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  html body #limesurvey > .row,
  html body #group-0,
  html body #limesurvey .survey-group {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html body #limesurvey .question-container,
  html body #limesurvey .boilerplate {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ================================================================
 * INTERVEGAS V1.3 - AJUSTES FINALES
 * - Nombre completo al 100 %.
 * - Campos "Otro" visibles solo cuando su opción está marcada.
 * - Bordes limpios en introducción y cierre.
 * ================================================================ */

/* NOMBRE COMPLETO: elimina el ancho de columna y el max-width heredados. */
html body #limesurvey #question36003 .answer-container,
html body #limesurvey #question36003 .answer,
html body #limesurvey #question36003 .answer-item,
html body #limesurvey #question36003 .form-group,
html body #limesurvey #question36003 .col-xs-12,
html body #limesurvey #question36003 .col-sm-7 {
  box-sizing: border-box !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html body #limesurvey #question36003 input[type="text"] {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

/* INTRODUCCIÓN Y CIERRE: el JS elimina los estilos inline con !important.
 * Estas reglas dejan un borde exterior limpio y una única franja verde. */
html body #limesurvey #question35997,
html body #limesurvey #question36000 {
  overflow: hidden !important;
  border: 1px solid var(--iv-line) !important;
  border-radius: 14px !important;
  background: var(--iv-white) !important;
}

html body #limesurvey #question35997 .question-wrapper,
html body #limesurvey #question36000 .question-wrapper,
html body #limesurvey #question35997 .question-header,
html body #limesurvey #question36000 .question-header,
html body #limesurvey #question35997 .question-text,
html body #limesurvey #question36000 .question-text {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #limesurvey #question35997 .question-text > div,
html body #limesurvey #question36000 .question-text > div {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 26px 28px !important;
  border: 0 !important;
  border-left: 6px solid var(--iv-green) !important;
  border-radius: 0 !important;
  background: var(--iv-white) !important;
  box-shadow: none !important;
}

html body #limesurvey #question36000 .question-text > div {
  background: linear-gradient(90deg, var(--iv-green-soft), var(--iv-white)) !important;
}

html body #limesurvey #question35997 .question-text > div > :last-child,
html body #limesurvey #question36000 .question-text > div > :last-child {
  margin-bottom: 0 !important;
}

/* CAMPOS "OTRO": el contenedor existe, pero no ocupa espacio mientras
 * la opción no esté marcada. El JS conserva su texto y desactiva el input
 * para que no se envíe cuando la opción está desmarcada. */
html body #limesurvey .iv-other-text-wrap {
  display: none !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
}

html body #limesurvey .iv-other-active .iv-other-text-wrap {
  display: block !important;
  margin-top: 4px !important;
}

html body #limesurvey .iv-other-text-wrap input[type="text"] {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* El bloque de la etiqueta de "Otro" debe ocupar una fila completa. */
html body #limesurvey #question36002 .othertext-label-checkox-container,
html body #limesurvey #question35999 .othertext-label-checkox-container {
  display: block !important;
  float: none !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Evita líneas o bordes duplicados alrededor de los dos bloques "Otro". */
html body #limesurvey #question36002 .answer-item,
html body #limesurvey #question35999 .answer-item {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  html body #limesurvey #question35997 .question-text > div,
  html body #limesurvey #question36000 .question-text > div {
    padding: 20px 18px !important;
  }
}

/* CABECERA: mostrar la ilustración completa sin recortarla */
html body #limesurvey #question35996 .question-text > div::after {
  top: 22px !important;
  right: 24px !important;
  bottom: 22px !important;
  left: auto !important;

  width: 47% !important;
  height: auto !important;

  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Versión móvil */
@media (max-width: 767px) {
  html body #limesurvey #question35996 .question-text > div {
    min-height: 585px !important;
    padding: 30px 24px 300px !important;
  }

  html body #limesurvey #question35996 .question-text > div::after {
    top: auto !important;
    right: 18px !important;
    bottom: 20px !important;
    left: 18px !important;

    width: auto !important;
    height: 260px !important;

    background-size: contain !important;
    background-position: center center !important;
  }
}

/* ==========================================================
   PANTALLA FINAL DE AGRADECIMIENTO — INTERVEGAS
   ========================================================== */

/* Contenedor general */
html body.intervegas-theme .survey-last-screen-wrapper {
  box-sizing: border-box !important;
  width: calc(100% - 36px) !important;
  max-width: 1104px !important;
  margin: 0 auto !important;
  padding: clamp(42px, 7vw, 88px) 0 48px !important;
}

/* Tarjeta principal */
html body.intervegas-theme .survey-last-screen {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 440px !important;
  margin: 0 !important;
  padding: 64px 52% 64px 56px !important;
  overflow: hidden !important;

  border: 0 !important;
  border-radius: 18px !important;
  background: #92c01f !important;
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.12) !important;
}

/* Ilustración corporativa */
html body.intervegas-theme .survey-last-screen::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 28px;
  right: 26px;
  bottom: 28px;

  width: 46%;

  background-image:
    url("https://ethnoap.es/upload/surveys/956516/images/intervegas-hero-2.jpg");
  background-repeat: no-repeat;
  background-size: 104% auto;
  background-position: center calc(50% - 9px);

  pointer-events: none;
}

/* Bloque de texto */
html body.intervegas-theme .survey-last-screen > div {
  position: relative !important;
  z-index: 1 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 470px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

/* Icono de confirmación */
html body.intervegas-theme .survey-last-screen > div::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;
  margin: 0 0 24px;

  border: 3px solid #111111;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;

  font-size: 31px;
  font-weight: 900;
  line-height: 1;
}

/* Título */
html body.intervegas-theme .survey-last-screen h2 {
  max-width: 520px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;

  color: #111111 !important;
  font-family: Montserrat, Arial, Helvetica, sans-serif !important;
  font-size: clamp(34px, 4.5vw, 50px) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em !important;
  text-align: left !important;
}

/* Línea decorativa */
html body.intervegas-theme .survey-last-screen h2::after {
  content: "";
  display: block;
  width: 86px;
  height: 5px;
  margin-top: 22px;
  border-radius: 10px;
  background: #111111;
}

/* Mensaje */
html body.intervegas-theme .survey-last-screen p {
  max-width: 470px !important;
  margin: 0 !important;
  padding: 0 !important;

  color: #111111 !important;
  font-family: Montserrat, Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  text-align: left !important;
}

/* Logotipos del encuentro al final */
html body.intervegas-theme .survey-last-screen-wrapper::after {
  content: "";
  display: block;
  box-sizing: border-box;

  width: 100%;
  min-height: 130px;
  aspect-ratio: 1807 / 311;
  margin: 26px auto 0;
  padding: 12px 20px;

  border: 1px solid #d8e5b6;
  border-radius: 14px;
  background-color: #ffffff;
  background-image:
    url("https://ethnoap.es/upload/surveys/845217/images/logos-final.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: calc(100% - 36px) auto;

  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

/* Elimina márgenes negativos de Bootstrap */
html body.intervegas-theme #main-row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}

html body.intervegas-theme #main-col {
  box-sizing: border-box !important;
  width: 100% !important;
}

/* ==========================================================
   TABLET Y MÓVIL
   ========================================================== */

@media (max-width: 767px) {
  html body.intervegas-theme .survey-last-screen-wrapper {
    width: calc(100% - 28px) !important;
    padding: 24px 0 34px !important;
  }

  html body.intervegas-theme .survey-last-screen {
    display: block !important;
    min-height: 690px !important;
    padding: 38px 26px 310px !important;
    border-radius: 15px !important;
  }

  html body.intervegas-theme .survey-last-screen > div {
    max-width: none !important;
  }

  html body.intervegas-theme .survey-last-screen > div::before {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    font-size: 27px;
  }

  html body.intervegas-theme .survey-last-screen h2 {
    max-width: none !important;
    font-size: clamp(31px, 9vw, 40px) !important;
  }

  html body.intervegas-theme .survey-last-screen p {
    max-width: none !important;
    font-size: 17px !important;
  }

  html body.intervegas-theme .survey-last-screen::after {
    top: auto !important;
    right: 20px !important;
    bottom: 24px !important;
    left: 20px !important;

    width: auto !important;
    height: 260px !important;

    background-size: 104% auto !important;
    background-position: center calc(50% - 7px) !important;
  }

  html body.intervegas-theme .survey-last-screen-wrapper::after {
    min-height: 100px;
    margin-top: 18px;
    padding: 8px;
    border-radius: 12px;
    background-size: calc(100% - 16px) auto;
  }
}

@media (max-width: 420px) {
  html body.intervegas-theme .survey-last-screen {
    min-height: 650px !important;
    padding: 32px 22px 270px !important;
  }

  html body.intervegas-theme .survey-last-screen h2 {
    font-size: 31px !important;
  }

  html body.intervegas-theme .survey-last-screen::after {
    right: 14px !important;
    bottom: 18px !important;
    left: 14px !important;
    height: 225px !important;
  }

  html body.intervegas-theme .survey-last-screen-wrapper::after {
    min-height: 84px;
  }
}


/* ==========================================================
   LOGO DE INTERVEGAS EN LA PANTALLA DE AGRADECIMIENTO
   ========================================================== */

/* Dejamos espacio superior para el logo */
html body.intervegas-theme .survey-last-screen {
  padding: 142px 52% 64px 56px !important;
}

/* Logo superior izquierdo */
html body.intervegas-theme .survey-last-screen::before {
  content: "";
  position: absolute;
  z-index: 2;

  top: 42px;
  left: 56px;

  width: 155px;
  height: 56px;

  background-image:
    url("https://ethnoap.es/upload/surveys/956516/images/intervegas-logo.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;

  pointer-events: none;
}

/* Móvil */
@media (max-width: 767px) {
  html body.intervegas-theme .survey-last-screen {
    padding: 125px 26px 310px !important;
  }

  html body.intervegas-theme .survey-last-screen::before {
    top: 30px;
    left: 26px;

    width: 140px;
    height: 50px;
  }
}

@media (max-width: 420px) {
  html body.intervegas-theme .survey-last-screen {
    padding: 112px 22px 270px !important;
  }

  html body.intervegas-theme .survey-last-screen::before {
    top: 27px;
    left: 22px;

    width: 130px;
    height: 46px;
  }
}

/* ==========================================================
   SELECTOR DE IDIOMA SUPERIOR — INTERVEGAS
   ========================================================== */

html body.intervegas-theme .iv-top-language-switcher {
  position: relative;
  z-index: 10;

  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;

  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}

/* Botones */
html body.intervegas-theme
.iv-top-language-switcher
.iv-language-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  min-width: 112px;
  min-height: 42px;
  padding: 9px 17px !important;

  border: 2px solid #111111 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #111111 !important;

  font-family: Montserrat, Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;

  box-shadow: none !important;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

/* Idioma seleccionado */
html body.intervegas-theme
.iv-top-language-switcher
.iv-language-button.is-active {
  background: #92c01f !important;
  color: #111111 !important;
  cursor: default;
}

/* Hover del idioma no seleccionado */
html body.intervegas-theme
.iv-top-language-switcher
.iv-language-button:not(.is-active):hover,
html body.intervegas-theme
.iv-top-language-switcher
.iv-language-button:not(.is-active):focus {
  background: #111111 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Foco accesible */
html body.intervegas-theme
.iv-top-language-switcher
.iv-language-button:focus-visible {
  outline: 3px solid rgba(146, 192, 31, 0.38) !important;
  outline-offset: 3px !important;
}

/* Evita que el idioma activo tenga movimiento */
html body.intervegas-theme
.iv-top-language-switcher
.iv-language-button.is-active:hover {
  transform: none !important;
}

/* Móvil */
@media (max-width: 767px) {
  html body.intervegas-theme .iv-top-language-switcher {
    justify-content: center;
    gap: 7px;
    margin-bottom: 12px !important;
  }

  html body.intervegas-theme
  .iv-top-language-switcher
  .iv-language-button {
    flex: 1 1 0;
    min-width: 0;
    max-width: 180px;
    min-height: 44px;
    padding: 9px 12px !important;
  }
}

@media (max-width: 390px) {
  html body.intervegas-theme
  .iv-top-language-switcher
  .iv-language-button {
    font-size: 13px !important;
  }
}

/* ==========================================================
   ETHNOAP + CACTUS
   ========================================================== */

html body #limesurvey .iv-powered-by {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;

  box-sizing: border-box !important;
  width: 100% !important;
  margin: -22px 0 42px !important;
  padding: 15px 22px !important;

  border-radius: 10px !important;
  background: #111111 !important;

  color: #dfe8c6 !important;

  font-family:
    Montserrat,
    Arial,
    Helvetica,
    sans-serif !important;

  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

html body #limesurvey .iv-powered-by .iv-powered-text {
  color: #dfe8c6 !important;
}

html body #limesurvey .iv-powered-by .iv-powered-separator {
  display: inline-block;
  margin: 0 3px;
  color: #6f7565 !important;
}

html body #limesurvey .iv-powered-by .iv-powered-link {
  font-weight: 800 !important;
  text-decoration: none !important;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

html body #limesurvey .iv-powered-by .iv-powered-ethnoap {
  color: #92c01f !important;
}

html body #limesurvey .iv-powered-by .iv-powered-cactus {
  color: #ffffff !important;
}

html body #limesurvey .iv-powered-by .iv-powered-link:hover,
html body #limesurvey .iv-powered-by .iv-powered-link:focus {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  html body #limesurvey .iv-powered-by {
    margin: -14px 0 30px !important;
    padding: 14px 16px !important;
    gap: 5px;
    font-size: 11px !important;
  }
}