.header-with-options {
  display: flex;
  width: 100%;
  min-height: 716px;
  height: fit-content;
  position: relative;
}

.header-with-options picture[data-function="bg-image"]>img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;

  z-index: -1;
}

.header-with-options .container-header {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .header-with-options {
    min-height: 100vh;
    height: fit-content;
  }
}

.cabecera_basica {
  position: relative;
  z-index: 0;

  background: var(--primary-color);
  margin-top: calc(var(--margin-header-mobile) + var(--banner-height));

  @media (min-width: 1024px) {
    min-height: 250px;
    margin-top: calc(var(--margin-header) + var(--banner-height));

    display: flex;
    align-items: center;
    padding: 0;
  }
}

.cabecera_basica h1 {
  color: var(--white-color);

  font-size: 32px;
  font-weight: 500;

  line-height: 36px;
  letter-spacing: -2%;

  text-transform: initial;

  margin: 0 0 16px;
  max-width: 1000px;

  @media (min-width: 1024px) {
    font-size: 40px;
    line-height: 44px;
    margin: 0 0 32px;
  }
}

.cabecera_basica:has(img) h1+p {
  margin: 0 0 32px;
}

.cabecera_basica p {
  color: var(--white-color);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  max-width: 954px;
}

.cabecera_basica img {
  display: block;
  width: 175px;
  height: auto;
}

section.header_type_complete {
  width: 100%;
  min-height: 1200px;
  height: fit-content;
}

section.header_type_complete picture[data-function="bg-image"]>img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;

  z-index: -1;
}

.header_type_complete .content_header {
  display: grid;
  grid-template-columns: 817px 1fr;
  align-items: center;
  gap: 30px;
  min-height: 1200px;
  padding-top: 120px;
}

.header_type_complete .content_header .first_column_header {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.header_type_complete .content_header .form {
  width: 77%;
  margin: auto;
}

.header_type_complete .content_header .form iframe {
  height: 810px;
  width: 100%;
}

.header_type_complete .message_sub_title {
  padding: 14px;
  width: 100%;
  position: relative;
}

.header_type_complete .message_sub_title .overlay_message_sub_title {
  background: linear-gradient(89deg, #b6e1f961 0%, #44B6AB00 100%) 0% 0% no-repeat padding-box;
  position: absolute;
  width: 100vw;
  height: 100%;
  left: 0;
  transform: translateX(-50%);
  top: 0;
}

.header_type_complete .message_sub_title p {
  color: #FFFFFF;
  font-size: 22px;
  font-family: var(--font-outfit);
  line-height: 1.4em;
  font-weight: 500;
}

.header_type_complete .messages .message {
  margin-bottom: 30px;
  border-radius: 18px;
  padding: 10px 20px;
  background: transparent linear-gradient(264deg, #FFFFFFA1 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0px 0px 10px #B6E1F9;
  min-height: 70px;
  width: 100%;
}

.header_type_complete .messages .message p {
  color: #134C8F;
  font-family: var(--font-outfit);
  font-size: 18px;
  font-weight: bold;
}

.header_type_complete .messages .message img.icon_tick_verde {
  height: 60px;
  width: 5%;
}

.header_type_complete .last_text {
  display: flex;
  align-items: center;
}

.header_type_complete .last_text p {
  color: #FFFFFF;
  font-size: 20px;
  font-family: var(--font-outfit);
  margin-left: 10px;
}

.header_type_complete .messages .message:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .header_type_complete .content_header {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  .header_type_complete .content_header .first_column_header {
    gap: 40px;
  }

  .header_type_complete .content_header .first_column_header .title {
    margin-top: 210px;
  }

  .header_type_complete .content_header .first_column_header .title h1 {
    font-size: 30px;
  }

  .header_type_complete .messages .message {
    gap: 8px;
  }

  .header_type_complete .content_header .form {
    width: 60%;
    margin-bottom: 10%;
  }

  .header_type_complete .messages .message img.icon_tick_verde {
    width: 5%;
    height: 60px;
  }

  .header_type_complete .messages .message {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1315px) {
  .header_type_complete .content_header {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .header_type_complete .content_header .form {
    width: 90%;
  }
}

.header-with-options {
  min-height: unset;
  padding-bottom: 110px;
  padding-top: 300px;
  position: relative;
  z-index: 2;
}

.header-with-options picture[data-function="bg-image"]>img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;

  z-index: -1;
}

.header-with-options .container-header {
  flex-direction: column;
}

.header-with-options .container-header .title-desc-wrapper {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: fit-content;

  color: #FFFFFF;
}

.header-with-options .container-header .header-description {
  margin-top: 30px;
  font-weight: 500;
}

.header-with-options .container-header .title-desc-wrapper .img-title {
  margin-top: 5px;
  height: auto;
  width: 95%;
}

.header-with-options .container-header .cards-wrapper {
  display: grid;
  margin-top: 90px;
  margin-left: 10px;
  width: calc(100% - 10px);
}

.header-with-options .container-header .cards-wrapper-3 {
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 50px;
}

.header-with-options .container-header .cards-wrapper .single-card {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  min-height: 450px;
  position: relative;
}

.header-with-options .container-header .cards-wrapper .single-card::before {
  content: '';
  background-color: #fff;
  position: absolute;
  top: -10px;
  left: -10px;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.header-with-options .container-header .cards-wrapper .single-card .text-box {
  align-items: center;
  background-color: #fff;
  bottom: 0;
  right: 0;
  position: absolute;
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  min-width: 60%;
  gap: 10px;
}

.header-with-options .container-header .cards-wrapper .single-card .text-box .link-text {
  font-weight: 600;
  font-size: 20px !important;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .header-with-options .container-header .cards-wrapper-3 {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 50px;
  }
}

@media (max-width: 768px) {
  .header-with-options .container-header .cards-wrapper-3 {
    grid-template-columns: repeat(1, 1fr);
  }

  .header-with-options .container-header .title-desc-wrapper .img-title {
    max-width: 350px;
  }

  .header-with-options .container-header .cards-wrapper .single-card .text-box .link-text {
    font-size: 18px !important;
  }
}

@media (max-width: 540px) {
  .header-with-options .container-header .cards-wrapper .single-card {
    min-height: 400px;
  }
}

.header-video {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 10;
}

.container-header {
  flex-direction: column;
}

.header-video .video-wrapper>iframe {
  width: 100vw;
  width: 100svw;
  height: 100vh;
  height: 100svh;
}

.cabecera-form-text-image {
  height: 122vh;
}

.cabecera-form-text-image.sin_form {
  height: 716px;
  padding-top: 0;
}

.cabecera-form-text-image.sin_form .container {
  display: flex;
  align-items: center;
}

.cabecera-form-text-image.sin_form .row {
  width: 100%;
}

.cabecera-form-text-image.sin_form .type-cabecera-titulo {
  margin-top: 0;
  width: 100%;
}

.cabecera-form-text-image.sin_form .type-cabecera-titulo h1 {
  margin-top: 10px;
}

.cabecera-form-text-image .container {
  height: 100%;
}

.img-fluid.logopaginas {
  max-width: 100px;
}

@media (max-width: 1024px) {
  .cabecera-form-text-image {
    height: 1210px;
  }

  .cabecera-form-text-image.sin_form .type-cabecera-titulo h1 {
    font-size: 60px;
  }

  .cabecera-form-text-image .militares-form {
    padding-top: 30px;
    padding-bottom: 0px;
  }

  .cabecera-form-text-image .militares-form .type-cabecera-titulo {
    max-width: 100%;
    width: 100%;
    margin-top: 40px;
  }

  .militares-form .type-cabecera-titulo {
    margin-left: 0;
  }

  .type-cabecera {
    height: 1500px;
  }

  .img-fluid.logopaginas {
    max-width: 70px;
  }

  .zf-errorMessage {
    font-size: 12px !important;
  }
}

@media (max-width: 767px) {
  .cabecera-form-text-image.sin_form .type-cabecera-titulo {
    padding: 0;
    margin-right: 0 !important;
    margin-left: 15px;
  }

  .cabecera-form-text-image.sin_form .type-cabecera-titulo h1 {
    font-size: 40px;
  }

  .militares-form #formulario-custom-militares {
    top: 53%;
  }

  .cabecera-form-text-image .militares-form .type-cabecera-titulo {
    margin-top: 20px;
  }
}

@media(min-width: 767px) {
  .cabecera-form-text-image.sin_form .type-cabecera-titulo {
    max-width: 100% !important;
    width: 100%;
  }
}

.landing-zohoform {
  padding-right: 120px;
  padding-top: 100px;
}

@media(max-width:767px) {
  .landing-zohoform {
    text-align: center;
    margin: 0 auto;
    padding: 50px 0 0 0;
  }
}

.header-with-options .container-header .title {
  width: 60%;
}

.header-with-options .container-header .title p {
  color: #134C8F;
  padding: 10px 20px;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 22px;
  position: relative;
  width: fit-content;
  z-index: 0;
}

.header-with-options .container-header .title p:before,
.header-with-options .container-header .title p:after {
  content: '';
  position: absolute;

  height: 100%;
  width: 100%;
  z-index: -1;
}

.header-with-options .container-header .title p:before {
  background: transparent linear-gradient(104deg, #0973BA 0%, #60DED1 100%) 0% 0% no-repeat padding-box;
  left: 6px;
  top: 6px;
}

.header-with-options .container-header .title p:after {
  background: transparent linear-gradient(100deg, #DCF3FF 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box !important;
  left: 0px;
  top: 0px;
}

@media (min-width: 769px) {
  .header-with-options .container-header .title {
    transform: translateY(45px);
  }
}

@media (max-width: 768px) {
  .header-with-options {
    min-height: 100vh;
    height: fit-content;
  }

  .header-with-options .container-header .title {
    width: 100%;
  }

  .header-with-options .container-header .title>h2 {
    margin-top: 30px !important;
    font-weight: 400;
  }
}