/* Sectores - Base */
.hero-wrapper:has(.sectores-hero) > .container {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.hero-wrapper:has(.sectores-hero) .hero {
  margin: 0;
}

.hero-wrapper:has(.sectores-hero) .wpb-content-wrapper > .vc_row:first-child {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Sectores - Hero */
.sectores-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #111;
  font-family: "Manrope", sans-serif;
}

.sectores-hero > .vc_column-inner {
  padding: 0 !important;
}

/* Sectores - Hero generado con Row/Column de WPBakery */
.sectores-hero > .vc_column-inner {
  position: relative;
  min-height: 56.25vw;
  aspect-ratio: 16 / 9;
  background-size: 100% auto !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-color: #111;
}

.sectores-hero > .vc_column-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.48) 44%, rgba(0, 0, 0, 0.28) 100%);
  pointer-events: none;
}

.sectores-hero > .vc_column-inner > .vc_row {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100%;
  width: min(1240px, calc(100vw - 80px));
  margin-right: auto !important;
  margin-left: auto !important;
  align-items: center;
}

.sectores-hero .vc_row,
.sectores-hero .wpb_column,
.sectores-hero .vc_column-inner {
  float: none !important;
}

.sectores-hero .vc_inner > .wpb_column,
.sectores-hero .vc_inner > .wpb_column > .vc_column-inner {
  width: 100%;
  padding: 0 !important;
}

.sectores-hero .wpb_wrapper {
  max-width: 640px;
}

.sectores-hero .wpb_text_column {
  margin-bottom: 34px;
}

.sectores-hero .wim-home-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 4px 8px;
  border-radius: 2px;
  background: rgba(194, 200, 204, 0.3);
  color: #fff !important;
  font-family: "Manrope", sans-serif;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.sectores-hero .wim-home-title {
  max-width: 620px;
  margin: 0 0 20px !important;
  color: #fff !important;
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 3.6vw, 54px) !important;
  font-weight: 400 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em;
  text-transform: none !important;
}

.sectores-hero .wim-home-title em {
  color: #ff7d29;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
}

.sectores-hero .wim-home-description {
  max-width: 545px;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.sectores-hero .vc_btn3-container {
  margin: 0 18px 0 0 !important;
}

.sectores-hero .vc_btn3 {
  display: inline-flex !important;
  min-width: 170px;
  min-height: 50px;
  padding: 14px 26px !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  align-items: center;
  justify-content: center;
  font-family: "Manrope", sans-serif;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  color: rgba(62, 66, 69, 1) !important;
}

.sectores-hero .vc_btn3-container:first-of-type .vc_btn3 {
  border: 1px solid #fff !important;
  background: #fff !important;
  color: #111 !important;
}

.sectores-hero .vc_btn3-container:last-of-type .vc_btn3 {
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  background: transparent !important;
  color: #fff !important;
}

.sectores-hero .vc_btn3:hover,
.sectores-hero .vc_btn3:focus {
  border-color: #ff7d29 !important;
  background: #ff7d29 !important;
  color: #fff !important;
}

.sectores-hero .top-banner {
  position: relative;
  display: flex;
  min-height: 640px;
  overflow: hidden;
  align-items: center;
  background: #111;
}

.sectores-hero .top-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.34) 100%);
  pointer-events: none;
}

.sectores-hero .top-banner .overlay {
  display: none;
}

.sectores-hero .top-banner > img,
.sectores-hero .top-banner > .s-img-switch,
.sectores-hero .top-banner .s-back-switch {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center;
}

.sectores-hero .top-banner .content-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(1240px, calc(100vw - 80px));
  min-height: 640px !important;
  height: auto !important;
  margin-right: auto;
  margin-left: auto;
  padding: 0 !important;
  align-items: center;
}

.sectores-hero .top-banner .content {
  max-width: 640px;
  padding: 56px 0;
}

.sectores-hero .top-banner .subtitle {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 4px 8px;
  border-radius: 2px;
  background: rgba(194, 200, 204, 0.3);
  color: #fff !important;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.sectores-hero .top-banner .title {
  max-width: 620px;
  margin: 0 0 20px !important;
  color: #fff !important;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 4vw, 58px) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em;
  text-transform: none !important;
}

.sectores-hero .top-banner .title em {
  color: #ff7d29;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
}

.sectores-hero .top-banner .description {
  max-width: 545px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.sectores-hero .top-banner .btn-wrapper {
  margin: 0;
}

.sectores-hero .top-banner .btn-wrapper a {
  display: inline-flex;
  min-width: 190px;
  min-height: 50px;
  padding: 14px 26px !important;
  border: 1px solid #fff !important;
  border-radius: 3px !important;
  align-items: center;
  justify-content: center;
  background: #fff !important;
  box-shadow: none !important;
  color: #111 !important;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
}

.sectores-hero .top-banner .btn-wrapper a:hover,
.sectores-hero .top-banner .btn-wrapper a:focus {
  border-color: #ff7d29 !important;
  background: #ff7d29 !important;
  color: #fff !important;
}

@media (max-width: 991px) {
  .sectores-hero > .vc_column-inner {
    min-height: 56.25vw;
  }

  .sectores-hero > .vc_column-inner > .vc_row {
    min-height: 100%;
  }

  .sectores-hero > .vc_column-inner > .vc_row {
    width: calc(100vw - 48px);
  }

  .sectores-hero .top-banner,
  .sectores-hero .top-banner > img,
  .sectores-hero .top-banner > .s-img-switch,
  .sectores-hero .top-banner .s-back-switch,
  .sectores-hero .top-banner .content-wrap {
    min-height: 600px !important;
  }

  .sectores-hero .top-banner .content-wrap {
    width: calc(100vw - 48px);
  }
}

@media (max-width: 767px) {
  .sectores-hero .wpb_wrapper:has(> .vc_btn3-container) {
    display: block;
  }

  .sectores-hero .vc_btn3-container {
    margin: 0 !important;
  }

  .sectores-hero > .vc_column-inner {
    min-height: 620px;
    aspect-ratio: auto;
    background-size: cover !important;
    background-position: center center !important;
  }

  .sectores-hero > .vc_column-inner > .vc_row {
    min-height: 620px;
    align-items: flex-end;
    padding-bottom: 36px !important;
  }

  .sectores-hero > .vc_column-inner::before {
    background: rgba(0, 0, 0, 0.55);
  }

  .sectores-hero .wpb_wrapper {
    max-width: 285px;
  }

  .sectores-hero .wpb_text_column {
    margin-bottom: 16px;
  }

  .sectores-hero .wim-home-eyebrow {
    margin-bottom: 9px;
    font-size: 11px !important;
  }

  .sectores-hero .wim-home-title {
    max-width: 285px;
    margin-bottom: 12px !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
  }

  .sectores-hero .wim-home-description {
    max-width: 255px;
    font-size: 11px;
    line-height: 1.45;
  }

  .sectores-hero .vc_btn3-container {
    display: inline-block;
    margin: 0 8px 0 0 !important;
  }

  .sectores-hero .vc_btn3 {
    min-width: 0;
    min-height: 36px;
    padding: 9px 14px !important;
    font-size: 11px !important;
    white-space: nowrap;
  }

  .sectores-hero .top-banner,
  .sectores-hero .top-banner > img,
  .sectores-hero .top-banner > .s-img-switch,
  .sectores-hero .top-banner .s-back-switch,
  .sectores-hero .top-banner .content-wrap {
    min-height: 620px !important;
  }

  .sectores-hero .top-banner::before {
    background: rgba(0, 0, 0, 0.55);
  }

  .sectores-hero .top-banner .content {
    max-width: none;
    padding: 72px 0 56px;
  }

  .sectores-hero .top-banner .title {
    font-size: 34px !important;
    line-height: 1.12 !important;
  }

  .sectores-hero .top-banner .description {
    font-size: 15px;
  }

  .sectores-hero .top-banner .btn-wrapper a {
    min-width: 0;
    min-height: 48px;
    padding: 12px 20px !important;
  }
}

/* Sectores - Sector Block */
.hero .wpb-content-wrapper > .vc_row:has(.sectores-block) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.hero .wpb-content-wrapper > .vc_row:has(.sectores-block) > .wpb_column,
.hero .wpb-content-wrapper > .vc_row:has(.sectores-block) > .wpb_column > .vc_column-inner,
.hero .wpb-content-wrapper > .vc_row:has(.sectores-block) > .wpb_column > .vc_column-inner > .wpb_wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.hero .wpb-content-wrapper > .vc_row.sectores-pair,
.hero .wpb-content-wrapper > .vc_row.sectores-pair > .wpb_column,
.hero .wpb-content-wrapper > .vc_row.sectores-pair > .wpb_column > .vc_column-inner,
.hero .wpb-content-wrapper > .vc_row.sectores-pair > .wpb_column > .vc_column-inner > .wpb_wrapper {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.hero .wpb-content-wrapper > .vc_row.sectores-pair {
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
}

.hero .wpb-content-wrapper > .vc_row.sectores-pair > .wpb_column {
  min-height: 100vh;
}

.sectores-block {
  position: relative;
  z-index: 1;
  display: block;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background-color: #111;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  font-family: "Manrope", sans-serif;
}

.sectores-block--single {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.sectores-block--parallax {
  background-image: none !important;
  background-color: transparent;
}

.sectores-block--image-top {
  background-position: center top;
}

.sectores-block--image-center {
  background-position: center center;
}

.sectores-block--image-bottom {
  background-position: center bottom;
}

.sectores-block__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(62, 66, 69, 0.6);
  pointer-events: none;
}

.sectores-block__inner {
  position: relative;
  z-index: 2;
  display: flex;
  box-sizing: border-box;
  height: 100%;
  min-height: 100vh;
  width: min(1240px, calc(100vw - 80px));
  margin-right: auto;
  margin-left: auto;
  padding: 72px 0;
  align-items: flex-end;
}

.sectores-block--pair-left .sectores-block__inner,
.sectores-block--pair-right .sectores-block__inner {
  width: 100%;
  padding-right: clamp(24px, 5vw, 72px);
  padding-left: clamp(24px, 5vw, 72px);
}

.sectores-block--text-left .sectores-block__inner {
  justify-content: flex-start;
}

.sectores-block--text-right .sectores-block__inner {
  justify-content: flex-end;
}

.sectores-block--content-top .sectores-block__inner {
  align-items: flex-start;
}

.sectores-block--content-center .sectores-block__inner {
  align-items: center;
}

.sectores-block--content-bottom .sectores-block__inner {
  align-items: flex-end;
}

.sectores-block__content {
  display: flex;
  flex-direction: column;
  max-width: 500px;
}

.sectores-block__content--align-left {
  text-align: left;
}

.sectores-block__content--align-center {
  text-align: center;
}

.sectores-block__content--align-right {
  text-align: right;
}

.sectores-block__content--align-center .sectores-block__description {
  margin-right: auto;
  margin-left: auto;
}

.sectores-block__content--align-right .sectores-block__description {
  margin-left: auto;
}

.sectores-block__title {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(34px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.sectores-block__description {
  display: -webkit-box;
  max-width: 480px;
  margin: 0 0 28px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.55;
}

.sectores-block__description p {
  margin: 0;
}

.sectores-block__description p + p {
  margin-top: 0.75em;
}

.sectores-block__cta {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 3px;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.sectores-block__cta--align-left {
  align-self: flex-start;
}

.sectores-block__cta--align-center {
  align-self: center;
}

.sectores-block__cta--align-right {
  align-self: flex-end;
}

.sectores-block__cta:hover,
.sectores-block__cta:focus {
  background: #ff7d29;
  color: #fff;
  text-decoration: none;
}

.sectores-block__case {
  position: absolute;
  z-index: 3;
  display: grid;
  width: min(250px, calc(100vw - 48px));
  min-height: 112px;
  padding: 10px;
  border-radius: 6px;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: #fff;
  color: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  text-decoration: none;
}

.sectores-block--case-flow-floating.sectores-block--case-top-left .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-top-right .sectores-block__case {
  top: 56px;
}

.sectores-block--case-flow-floating.sectores-block--case-center-left .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-center-right .sectores-block__case {
  top: 50%;
  transform: translateY(-50%);
}

.sectores-block--case-flow-floating.sectores-block--case-offset-up.sectores-block--case-center-left .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-offset-up.sectores-block--case-center-right .sectores-block__case {
  top: calc(50% - 82px);
}

.sectores-block--case-flow-floating.sectores-block--case-offset-down.sectores-block--case-center-left .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-offset-down.sectores-block--case-center-right .sectores-block__case {
  top: calc(50% + 82px);
}

.sectores-block--case-flow-floating.sectores-block--case-bottom-left .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-bottom-right .sectores-block__case {
  bottom: 56px;
}

.sectores-block--case-flow-floating.sectores-block--case-top-left .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-center-left .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-bottom-left .sectores-block__case {
  left: clamp(24px, 7vw, 104px);
}

.sectores-block--case-flow-floating.sectores-block--case-top-right .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-center-right .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-bottom-right .sectores-block__case {
  right: clamp(24px, 7vw, 104px);
}

.sectores-block--case-vertical .sectores-block__case {
  width: min(210px, calc(100vw - 48px));
  min-height: 0;
  padding: 10px;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sectores-block--case-vertical .sectores-block__case-thumb {
  width: 100%;
  height: 276px;
}

.sectores-block--pair-left .sectores-block__case,
.sectores-block--pair-right .sectores-block__case {
  width: min(300px, calc(100% - 32px));
}

.sectores-block--pair-left .sectores-block__case-meta strong,
.sectores-block--pair-right .sectores-block__case-meta strong {
  white-space: normal;
}

.sectores-block--case-flow-floating.sectores-block--case-inset-compact.sectores-block--case-top-left .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-inset-compact.sectores-block--case-center-left .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-inset-compact.sectores-block--case-bottom-left .sectores-block__case {
  left: clamp(16px, 4vw, 64px);
}

.sectores-block--case-flow-floating.sectores-block--case-inset-compact.sectores-block--case-top-right .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-inset-compact.sectores-block--case-center-right .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-inset-compact.sectores-block--case-bottom-right .sectores-block__case {
  right: clamp(16px, 4vw, 64px);
}

.sectores-block--case-flow-floating.sectores-block--case-inset-compact.sectores-block--case-top-left .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-inset-compact.sectores-block--case-top-right .sectores-block__case {
  top: clamp(24px, 8vh, 56px);
}

.sectores-block--case-flow-floating.sectores-block--case-inset-compact.sectores-block--case-bottom-left .sectores-block__case,
.sectores-block--case-flow-floating.sectores-block--case-inset-compact.sectores-block--case-bottom-right .sectores-block__case {
  bottom: clamp(24px, 8vh, 56px);
}

.sectores-block--case-flow-before-title .sectores-block__case,
.sectores-block--case-flow-after-title .sectores-block__case,
.sectores-block--case-flow-after-cta .sectores-block__case {
  position: static;
  width: min(300px, 100%);
  margin: 0;
  transform: none;
}

.sectores-block--case-flow-before-title .sectores-block__case {
  margin-bottom: 22px;
}

.sectores-block--case-flow-after-title .sectores-block__case {
  margin-top: 4px;
  margin-bottom: 22px;
}

.sectores-block--case-flow-after-cta .sectores-block__case {
  margin-top: 24px;
}

.sectores-block__content--align-center .sectores-block__case {
  align-self: center;
}

.sectores-block__content--align-right .sectores-block__case {
  align-self: flex-end;
}

.sectores-block__content--align-left .sectores-block__case {
  align-self: flex-start;
}

.sectores-block__case:hover,
.sectores-block__case:focus {
  color: #111;
  text-decoration: none;
}

.sectores-block__case-thumb {
  display: block;
  width: 92px;
  height: 92px;
  border-radius: 4px;
  object-fit: cover;
}

.sectores-block--case-horizontal .sectores-block__case-thumb {
  width: 92px !important;
  height: 92px !important;
}

.sectores-block__case-meta {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.sectores-block__case-meta small {
  color: rgba(17, 17, 17, 0.5);
  font-size: 12px;
  line-height: 1.2;
}

.sectores-block__case-meta strong {
  overflow: hidden;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .sectores-block__inner {
    width: calc(100vw - 48px);
  }

  .sectores-block--pair-left .sectores-block__inner,
  .sectores-block--pair-right .sectores-block__inner {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .sectores-block {
    height: auto;
    min-height: 620px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
  }

  .sectores-block__inner {
    height: auto;
    min-height: 620px;
    padding-top: 84px;
    padding-bottom: 44px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .sectores-block--content-top .sectores-block__inner,
  .sectores-block--content-center .sectores-block__inner,
  .sectores-block--content-bottom .sectores-block__inner {
    align-items: flex-start;
    justify-content: flex-end;
  }

  .sectores-block__content {
    display: flex;
    width: 100%;
    max-width: none;
    flex-direction: column;
    text-align: left !important;
  }

  .sectores-block__content--align-left,
  .sectores-block__content--align-center,
  .sectores-block__content--align-right {
    text-align: left !important;
  }

  .sectores-block__content--align-center .sectores-block__description,
  .sectores-block__content--align-right .sectores-block__description {
    margin-right: 0;
    margin-left: 0;
  }

  .sectores-block__title {
    order: 1;
    margin-bottom: 14px;
    font-size: 32px;
  }

  .sectores-block__description {
    order: 2;
    max-width: none;
    margin-bottom: 22px;
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }

  .sectores-block__cta {
    order: 3;
    align-self: flex-start !important;
  }

  .sectores-block__case,
  .sectores-block--case-top-left .sectores-block__case,
  .sectores-block--case-top-right .sectores-block__case,
  .sectores-block--case-center-left .sectores-block__case,
  .sectores-block--case-center-right .sectores-block__case,
  .sectores-block--case-bottom-left .sectores-block__case,
  .sectores-block--case-bottom-right .sectores-block__case {
    position: static;
    order: 4;
    display: grid;
    width: 100%;
    max-width: 360px;
    min-height: 94px;
    margin-top: 24px;
    padding: 10px;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    align-self: stretch;
    align-items: center;
    transform: none;
  }

  .sectores-block--case-vertical .sectores-block__case,
  .sectores-block--pair-left .sectores-block__case,
  .sectores-block--pair-right .sectores-block__case {
    width: 100%;
    max-width: fit-content;
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .sectores-block__case-thumb,
  .sectores-block--case-vertical .sectores-block__case-thumb {
    width: 108px !important;
    height: 78px !important;
  }

  .sectores-block__case-meta strong {
    white-space: normal;
  }
}
