/* Base */

:root {
--primary-500: #cf0540;
--rojo: #cf0540;
}

*,
*::before,
*::after {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}
  
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  line-height: 1.4;
  color: #111;
  background: #fff;
}

.section-content {
  max-width: 1440px;
  padding-right: 24px;
  padding-left: 24px;
  margin-left: auto;
  margin-right: auto;
}
@media only screen and (min-width: 1024px) {
  .section-content {
    padding-right: 80px;
    padding-left: 80px;
  }
}

.section-410 {
  max-width: 410px;
}
.section-518 {
  max-width: 518px;
}
.section-628 {
  max-width: 628px;
}
.section-954 {
  max-width: 954px;
}
.section-padding-56 {
    padding-top: 56px;
    padding-bottom: 56px;
}

.flex-column-24 {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.body-text {
  font-size: 15px;
  font-weight: 400;
  color: rgba(98, 98, 98, 1);
}

/* col-top */
.col-top {
  position: fixed;
  inset: 0;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  opacity: 1;
  transition: opacity .25s ease;
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  background-image: url("../assets/hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity 1s ease;
}

.col-top.is-fading-out {
  opacity: 0;
  pointer-events: none;
}


.section-hero {
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 108px;
  padding-bottom: 108px;
  color:white;
}

.tittle {
  font-size: 28px;
  font-weight: 700;
  line-height: 35px;
  margin: 0 0 24px 0;
}
.esto-es-el {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 32px 0;
}
.hero-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 8px;
  margin-bottom: 10%;
}
.card {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 7px;
  border: 1px solid white;
  text-align: center;
  background-color: #454f5891;
}
.card-text-body1 {
  min-height: 16px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin: 0 auto;
}
.card-text-body2 {
  min-height: 16px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing:0;
  margin: 0 auto;
}
.card-text-body3 {
  font-size: 13px;
  font-weight: 400;
  margin: 0 auto;
}
@media only screen and (max-width: 680px) {
  .section-hero {
    align-items: center;
    justify-content: space-between;
    padding-top: 156px;
    padding-bottom: 48px;
  }
  .hero-cards {
    margin-bottom:0;
  }
  .card.card-left,
  .card.card-center {
    flex: 0 0 calc(50% - 4px);
  }
  .card.card-right {
      flex: 0 0 100%;
  }
  .col-top .esto-es-el {
    margin: 0;
  }
}
@media only screen and (max-width: 680px) {
  .col-top {
    background-image: url("../assets/hero-resp.jpg");
  }
}
/* SCROLL  */
.scroll {
  width: 176px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: absolute;
  bottom: 80px;
  animation: bounce 3s ease infinite;
  opacity: 0.3;
  color:white;
  font-size: 12px;
  left: 0;
  right: 0;
  margin: auto;
}
@keyframes bounce {
  50% {
    transform: translateY(50%);
    opacity: 1;
  }
}
.scroll-24px-arrows {
  width: 24px; 
  height: 24px;
}
.scroll-text {
  align-self: stretch;
  text-align: center;
}

@media only screen and (max-width: 980px) {
    .scroll{
        display: none;
    }
}
/* END SCROLL */

/* SECCIONES  */

.main-section,
.footer {
  position: relative;
  z-index: 2;
  background-color: white;
}
.section-potencia {
  margin-top: 100vh;
  margin-top: 100svh;
  padding-top: 112px;
  padding-bottom: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.section-potencia-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.block-text-h1-heading-b {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.potencia-logos-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 32px;
}
.potencia-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
@media only screen and (max-width: 480px) {
  .potencia-logos {
    flex-direction: column;
  }
}

/* */


.shape-line {
  display: block;
  background-color: var(--rojo);
  width: 24px; 
  height: 8px;
}
.shape-line-s {
  display: block;
  background-color: var(--rojo);
  width: 16px; 
  height: 4px;
}
.heading-md1 {
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.fifty-fifty-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.fifty-fifty-section > div {
  flex:1;
      display: flex;
    flex-direction: column;
    gap: 40px;
}
.icons-grid-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.grid-cell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 12px;
}

@media only screen and (min-width: 680px) {
  .fifty-fifty-section {
    flex-direction: row;
    gap: 8%;
  }
  .icons-grid-section {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
  }
}

/* CARD PONENCIA  */
.card-ponencia {
  margin: 40px auto 0;
  background-color: var(--rojo);
  padding: 24px;
}
.card-ponencia-inner {
    display: flex;
    gap: 40px;
    color: white;
    align-items: center;
    justify-content: flex-start;
}
.card-ponencia-inner img {
    max-width: 302px;
    width: 100%;
}
@media only screen and (max-width: 680px) {
  .card-ponencia {
    max-width: 350px;
  }
  .card-ponencia-inner {
    flex-direction: column;

  }
  .card-ponencia-inner img {
    max-width: initial;
  }
}

.ponencia-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ponencia-text * {
  color: white !important;
}
.ponencia-title {
  font-size: 18px;
  font-weight: 500;
}
.ponencia-position {
  font-size: 16px;
}

/* GRID IMAGENES */
.grid-imagenes {
  display: grid;
  row-gap: 48px;
  column-gap: 24px;
  margin: 48px auto 56px;
}

@media only screen and (min-width: 680px) { 
  .grid-imagenes {
      grid-template-columns: 1fr 1fr 1fr;
  }
}
.grid-imagenes > div {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.grid-imagenes > div .shape-line,
.grid-imagenes > div .shape-line-s {
  margin-bottom: 16px;
}

/* PROYECTOS */



.section-bloque-slider {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.card-projects-caption {
  background-color: white;
  max-width: 320px;
  padding: 40px 48px;
  height: 498px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
@media only screen and (max-width: 420px) {
	.card-projects-caption {
		max-width: initial;
		height: auto;
		gap: 16px;
	}
}
.section-bloque-slider .section-content {
  padding-top: 32px;
  padding-bottom: 32px;

}
.sector {
  font-size: 12px;
  font-weight: 400;
  color: rgba(98, 98, 98, 1);
  text-transform: uppercase;
}
.card-projects-caption .heading-sm {
  color:black;
  display:block;
  margin-bottom: 16px;
}
.card-projects-caption a {
  color:var(--rojo);
  font-weight: 500;
}
.card-projects-caption a img {
  display: inline-block;
  vertical-align: middle;
}


/* SLIDER  */
.slide-proyectos-wrapper {
  --top-slider-offset: 48px;
  margin-top: 48px;
}

.slide-proyectos-wrapper {
  position: relative;
  overflow: hidden;
  padding-top: var(--top-slider-offset);
}

.section-bloque-paginador {
  position: absolute;
  top: 0;
  right: 80px;
  z-index: 20;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  height: 32px;
}
@media only screen and (max-width: 680px) {
  .section-bloque-paginador {
     right: 24px;
  }
}
.paginador {
  display: flex;
  gap: 48px;
  margin-bottom: 0;
}
.paginador-numeros {
  line-height: 32px;
  height: 32px;
  font-size: 12px;
}
.paginador-flechas {
    display: inline-flex;
    gap: 24px;
}
.paginador-numeros span {
  display:inline-block;
  line-height: 32px;
  height: 32px;
  font-size: 12px;
  cursor: pointer;
}
.paginador-flechas button {
  display: block;
  color: transparent;
  border: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  background-image: url('../assets/arrows.svg');
  cursor: pointer;
}

.paginador-flechas button:first-child {
  transform: rotate(180deg);
}
.paginador-numeros span:hover,
.paginador-flechas button:hover {
  opacity: 0.8;
}

.proyecto-slide {
  position: absolute;
  top: var(--top-slider-offset);
  right: 0;
  left: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* transform: translateX(40px);*/
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
  z-index: 1;
}

.proyecto-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 3;
}

/* .proyecto-slide.is-leaving-next {
  transform: translateX(-40px);
}

.proyecto-slide.is-leaving-prev {
  transform: translateX(40px);
} */

.slide-proyectos-wrapper .section-bloque-slider {
  min-height: 610px;
}

/**/

.section-contacto {
  border-top: 56px solid white;
}
.fifty-fifty-cell {
    display: flex;
}
.fifty-fifty-cell > div {
    flex:1;
}
.section-contacto .section-left {
  background-image: url("../assets/hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color:white;
  padding: 48px 80px 238px;
  color: white;
}
.section-left > div {
    margin-right: 0;
    margin-left: auto;
}
.section-contacto .section-right {
  padding: 48px 80px;
}

.section-contacto .tittle {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  margin-top: 24px;
}
.section-contacto .body-text {
  color:white;
}

@media only screen and (max-width: 680px) {
  .section-contacto  .section-left {
   padding: 48px 24px 238px;
  }
  .fifty-fifty-cell {
    flex-direction: column;
  }
  .section-contacto .section-right {
    padding: 48px 24px;
}
}

