@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&display=swap');

:root {
  --red-color: #D32127;
  --dark-white-color: #F4F4F4;
  --font-family: 'Montserrat', sans-serif;
  --dark-white-colorV2: #dedede;
}



.boton-lateral {
  position: fixed;
  right: 0px;
  top: 50%;
  width: 10%;
  height: 10%;
  font-family: var(--font-family);
  font-weight: 600 !important;
  font-size: 1rem;
  transform: translateY(-50%);
  z-index: 1000;
  background-color: black;
  color: white;
  border: none;
  border-radius: 20px 0px 0px 20px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);

}

.boton-lateral a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: white;
}


.boton-lateral:hover {
  background-color: var(--red-color);
}

.derecha {
  background-color: transparent;
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
  /*height: 60vh;*/
  min-height: 430px;
  overflow: hidden;
}

.izquierda {
  width: 40%;
}

.derecha iframe {
  /* position: absolute; */
  /* width: 100%;
  height: 100%; */
  /* Probar con 120%*/
  /* top: 50%;
  left: 50%; */
  /* transform: translate(-50%, -50%); */
  pointer-events: auto;
  z-index: 1;
  height: 100%;
  width: 100%;
}

.banner .izquierda .banner-first {
  /*font-size: 5vh;*/
  font-size: 2.5rem;
  font-weight: 700 !important;
  margin-bottom: 0%;
}

.banner .izquierda .banner-second {
  /* font-size: 5vh; */
  font-size: 2.5rem;
  font-weight: 400 !important;
  margin-top: 0%;
}

.author .appl_button {
  align-self: center;
}

.beneficios-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 20px;
  text-align: center;
}

.beneficios-title {
  margin-bottom: 30px;
}

.beneficios-title h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--red-color);
  font-weight: 400 !important;
}

.beneficios-title h2 span {
  color: var(--red-color);
  font-weight: 800;
}

.beneficios-title p {
  font-size: 1.5rem;
  margin: 0 auto;
  line-height: 1.6;
}


.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.segunda-fila {
  grid-column: 1 / span 3;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.segunda-fila .beneficio-item {
  width: calc(33.333% - 20px);
  max-width: 300px;
}

.beneficio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.beneficio-icon {
  width: 100px;
  height: 100px;
  background-color: var(--red-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.beneficio-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.beneficio-text {
  width: 200px;
  height: 80px;
}

.beneficio-text-red {
  color: var(--red-color);
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}

.beneficio-text-black {
  font-size: 20px;
  color: #333;
}


.person-cards {
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.cards-title h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 40px;
  font-weight: normal;
}

.swiper.container {
  position: relative;
  padding: 0 50px;
  overflow: hidden;
}

.swiper-slide.card_s1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  background: transparent;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.card-content1 {
  width: 100%;
  /* margin-bottom: 15px; */
}

.card-content1 .img {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.card-content1 .img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  /* border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

.author {
  width: 100%;
  padding: 10px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.author p {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

.person-cards .appl_button {
  width: 220px;
  height: 50px;
  padding: 12px 20px;
  font-size: 16px;
  align-self: center;
}

.appl_button a {
  color: white;
  text-decoration: none;
  display: block;
  width: 100%;
}

.person-cards .details_button {
  width: 220px;
  height: 50px;
  padding: 12px 20px;
  font-size: 16px;
  align-self: center;
  border-radius: 20px;
  background-color: var(--dark-white-colorV2);
  border: none;
  cursor: pointer;
  margin-top: 10px;
  font-weight: bold;
}

.details_button a {
  color: black;
  text-decoration: none;
  display: block;
  width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
  background: var(--red-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.swiper-button-next {
  right: 0px;
}

.swiper-button-prev {
  left: 0px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
}


.swiper-button-next2,
.swiper-button-prev2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: white;
  background: var(--red-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.swiper-button-next2 {
  right: 10px;
}

.swiper-button-prev2 {
  left: 10px;
}

.swiper-button-next2:after,
.swiper-button-prev2:after {
  font-size: 18px;
}

.swiper-wrapper {
  align-items: flex-end;
}

.swiper-container {
  clip-path: inset(0);
}

.no-experiencia {
  margin-top: 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.no-experiencia h2 {
  color: var(--red-color);
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.no-experiencia div {
  color: var(--red-color);
  font-size: 2.8rem;
  max-width: 700px;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.left-column {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  padding-right: 70px;
}


.mision-y-valores h2 {
  color: #000;
  font-size: 28px;
  margin-bottom: 20px;
  text-align: left;
}

.nuesta-mission-item {
  margin-bottom: 15px;
}

.nuestra-mission-header {
  background-color: var(--red-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  color: white;
}

.nuestra-mission-header h2 {
  margin: 0;
  font-size: 24px;
  color: white;
}

.nuestra-mission-header .icon-container {
  background-color: black;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nuestra-mission-content {
  display: none;
  padding: 10px 0;
  line-height: 1.4;
  font-size: 20px;
  text-align: left;
}

.nuesta-mission-item.active .nuestra-mission-content {
  display: block;
}


.right-column {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.multi-frame-container {
  position: relative;
  max-width: 500px;
  margin: 50px auto;
}


.outer-frame {
  position: absolute;
  width: calc(100% + -2px);
  height: calc(100% + -5px);
  border: 2px solid var(--red-color);
  border-radius: 25px;
  top: -29px;
  left: -32px;
  z-index: 1;
}


.bottom-right-frame {
  position: absolute;
  width: calc(100% + -3px);
  height: calc(100% + 0px);
  border: 2px solid var(--red-color);
  border-radius: 20px;
  bottom: -25px;
  right: -29px;
  z-index: 1;
}


.main-image-container {
  position: relative;
  z-index: 2;
  border-radius: 15px;
  overflow: hidden;
}

.main-image {
  display: block;
  width: 100%;
  height: auto;
  background-color: transparent;
}

.cta {
  height: 30vh;
}

.cta-banner {
  background-color: var(--red-color);
  border-radius: 15px;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 30px auto;
  height: 100%;
}

.cta-text {
  color: white;
  font-size: 3.0rem;
  font-weight: 700;
  line-height: 1.2;
  /* transform: scaleX(1.15);*/
}


.cta-input {
  border: none;
  padding: 12px 15px;
  font-size: 16px;
  outline: none;
  min-width: 200px;
}

/* BORRAR: Se movió a style.css para que lo usen todas las paginas */
/*
.video-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.thumbnail-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;

}

.video-thumbnail {
  width: 98%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  display: block;
}

*/

.youtube-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.youtube-player iframe {
  width: 97%;
  height: 100%;
  border: none;
  border-radius: 20px;

}

/* El iframe es invisible hasta que se hace clic */
.thumbnail-wrapper.hidden {
  display: none;
  z-index: 1;
}

.youtube-player.active {
  z-index: 3;
}


@media (max-width: 767px) {
  .video-container {
    width: 100%;
    /* height: 297px; */
    /* o la altura que necesites */
    overflow: hidden;
    position: relative;
  }

  .youtube-player {
    display: block !important;
    width: 100% !important;
    height: 90% !important;
  }

  .video-thumbnail {
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    display: block;
  }

  .thumbnail-wrapper {
    position: absolute;
    top: 0;
    left: 150px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .cta-banner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    margin: 0 20px;
  }

  .cta {
    height: 160px;
  }

  .cta-text {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .card-content1 {
    width: 80%;
  }
}

@media (max-width: 860px) {

  .banner .izquierda .banner-first,
  .banner .izquierda .banner-second {
    font-size: 1.8rem;
  }

  .izquierda h1 {
    width: 85%;
  }

  .beneficios-grid {
    display: none;
  }

  .beneficios-swiper {
    display: block;
  }

  .beneficios-title h2 {
    font-size: 1.6rem;
  }

  .beneficios-title p {
    font-size: 1.2rem;
  }

  .no-experiencia {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }

  .no-experiencia h2 {
    font-size: 25px;
    color: gray;
    margin-bottom: 0;
  }

  .no-experiencia div {
    font-size: 25px;
    color: gray;
    width: 85%;
    margin-top: 0;
  }

  .cards .titles h1 {
    font-size: 1.6rem;
    margin: 0 20px;
  }

  /*
  .swiper-button-next2,
  .swiper-button-prev2 {
    width: 30px;
    height: 30px;
  }
  */

  .swiper-button-next2 {
    right: 5px;
  }

  .swiper-button-prev2 {
    left: 5px;
  }

  .outer-frame {
    position: absolute;
    width: calc(50% + 115px);
    height: calc(50% + 115px);
    border: 2px solid var(--red-color);
    border-radius: 25px;
    top: -20px;
    left: -20px;
    z-index: 1;
  }

  .bottom-right-frame {
    position: absolute;
    width: calc(50% + 115px);
    height: calc(50% + 115px);
    border: 2px solid var(--red-color);
    border-radius: 20px;
    bottom: -20px;
    right: -20px;
    z-index: 1;
  }

  .main-image {
    display: block;
    width: 250px;
    height: auto;
    background-color: transparent;
  }

  .main-image-container {
    position: relative;
    z-index: 2;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: none;
  }

  .multi-frame-container {
    position: relative;
    max-width: 500px;
    margin-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .boton-lateral {
    display: none;
    /*
    width: 15%;
    font-size: 0.6rem; */
  }

  .conocenos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    align-items: center;
  }

  .left-column {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding-right: 0px;
  }

  .derecha {
    width: 100%;
    clip-path: none;
    height: 475px;
    margin-top: 0;
  }

}

@media (max-width: 1200px) {
  .banner .izquierda .banner-first {
    font-size: 2rem;
  }
  .banner .izquierda .banner-second {
    font-size: 2rem;
  }
}

@media (max-width: 1024px) {
  .izquierda {
    width: 100%;
    padding: 0;
  }

  .derecha {
    width: 100%;
    clip-path: none;
    height: 60vw;
    margin-bottom: 0;
    min-height: unset;
  }

  .derecha iframe {
    height: 100%;
  }

  .person-cards {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .thumbnail-wrapper {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: auto;
    cursor: pointer;
    z-index: 2;
  }
  
  .cards-title {
    margin: 0 10px 0 10px;
  }

  .cards-title h2 {
    font-size: 25px;
  }

  .video-thumbnail {
    /* width: 100%; */
    /* height: 75%; */
    width: unset;
    height: unset;
    object-fit: unset;
    object-position: center;
    border-radius: 15px;
    display: block;
  }
}