.text-one-fn {
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10%;
  position: relative;
}
.logo-fn {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 10%;
}

.text-one-fn h1 {
  color: white !important;
  font-size: 3rem;
  font-weight: bold;
  border-bottom: 2px solid white;
  font-weight: 100;
  letter-spacing: 8px;
  text-transform: uppercase;
}

.text-one-fn h2 {
  color: white !important;
  font-size: 1.2rem;
  font-weight: 100;
  padding: 2%;
  letter-spacing: 3px;
}

.text-one-fn p {
  color: white !important;
  font-size: 1.2rem;
  font-weight: 100;
  text-align: center;
  width: 70%;
  line-height: 27px;
  letter-spacing: 1.5px;
}

.image-one-fn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0%;
  padding: 0%;
}

.image-one-fn img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  object-fit: cover;
  background-color: black;
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}

.paragraph-fn {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10%;
  background-color: black;
  margin: 0%;
}

.paragraph-fn p {
  color: white !important;
  font-size: 1.2rem;
  font-weight: 100;
  text-align: center;
  width: 80%;
  margin-bottom: 3%;
  line-height: 27px;
  letter-spacing: 1.5px;
}

.block-50-50-fn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  width: 100%;
  gap: 2%;
  margin-top: 2%;
  background-color: #fff;
}
.block-50-50-img-fn {
  width: 50%;
  height: auto;
}
.block-50-50-img-fn img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.block-50-50-text-fn {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: #ededed;
  flex-direction: column;
  height: auto;
  padding: 7% 0 6% 2%;
  width: 50%;
}

.block-50-50-text-fn h3 {
  color: black !important;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 2%;
  letter-spacing: 3px;
}

.block-50-50-text-fn p {
  color: black !important;
  font-size: 1.2rem;
  text-align: left;
  width: 50%;
  line-height: 27px;
  letter-spacing: 1.5px;
  margin-top: 2%;
}

.block-50-50-text-fn p:last-of-type {
  width: 90%;
}

.block-50-50-text-fn button {
  margin-top: 3%;
}

/* General styling ---------------------------------------------------------------- */

.container-hibridos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-top: 2%;
  background-color: #f0f0f0;
}

.image-section {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  position: relative;
}

.image-section img {
  max-width: 120%;
  max-height: 100%;
  transition: opacity 0.5s ease-in-out;
  /* Smooth opacity transition */
  opacity: 1;
}

.fade-out {
  opacity: 0;
  /* Fade-out effect */
}

.accordion-section {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #fff;
}

.contain-accordion-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  flex-direction: column;
  width: 100%;
  background: #f0f0f0;
  padding: 10px;
}

.accordion-item {
  margin-bottom: 10px;
  width: 90%;
}

.accordion-item:not(:last-child) {
  border-bottom: solid 1px #000;
}

.accordion-title {
  background-color: #f0f0f0;
  color: #000;
  padding: 15px;
  text-align: left;
  border: none;
  cursor: pointer;
  width: 100%;
  outline: none;
  font-size: 1.1rem;
  transition: background-color 0.3s;
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0 !important;
}

.accordion-title:hover {
  background-color: #c3c3c3e0;
  border-radius: 3px;
}

.accordion-title .symbol {
  float: right;
}

.accordion-content {
  padding: 0 15px;
  display: none;
  background-color: #f0f0f0;
  padding: 20px;
}

.accordion-content p {
  margin: 10px 0;
  line-height: 27px;
  letter-spacing: 1.5px;
  font-size: 1.2rem;
}

.boton_hibrido {
  background: #000;
  padding: 10px 20px;
  color: #fff;
  border: none;
  text-decoration: none;
  width: 230px;
  cursor: pointer;
}

.boton_hibrido:hover {
  background: #910a2d;
}

.block-50-50- {
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: auto;
  width: 100%;
  gap: 2%;
  margin-top: 2%;
  background: #fff;
}

.block-50-50- h3 {
  color: black !important;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 5%;
  margin-bottom: 2%;
  letter-spacing: 3px;
}

.block-50-50-contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 2%;
  margin: 2%;
}

.block-50-50-contenedor-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 40%;
  gap: 2%;
}

.block-50-50-contenedor-text h4 {
  color: black !important;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 2%;
  text-align: left;
  width: 100%;
  letter-spacing: 3px;
}

.block-50-50-contenedor-text p {
  color: black !important;
  font-size: 1.2rem;
  text-align: left;
  width: 100%;
  text-align: justify;
  padding-right: 20%;
  line-height: 27px;
  letter-spacing: 1.5px;
}

/* estos estilos hacen que los botones que estan maquetdos tengan los mimos estilos del episever  */

.btnConoceFnBlack {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  background: #000 !important;
  color: #fff !important;
  padding: 13px !important;
  border-radius: 5px !important;
  border: none !important;
  text-transform: uppercase !important;
  position: relative;
  overflow: hidden; /* Evita que el contenido salga del botón */
  transition: background-color 0.3s ease, color 0.3s ease; /* Transición suave para el fondo y el color */
}

.btnConoceFnBlack::before {
  content: "CONOCE MÁS"; /* Texto duplicado para el efecto */
  position: absolute;
  top: 100%; /* Inicialmente está fuera del botón, en la parte inferior */
  left: 0;
  right: 0;
  text-align: center;
  color: #fff; /* El texto será blanco */
  transition: top 0.2s ease; /* Transición suave para el movimiento del texto */
  margin-top: 11px;
}

.btnConoceFnBlack:hover::before {
  top: 0; /* El texto se mueve hacia arriba durante el hover */
}

.btnConoceFnBlack:hover {
  background-color: #910a2d !important;
  color: transparent !important; /* El texto original desaparece al hacer hover */
}

.btnConoceFnBlack span {
  transition: transform 0.1s ease, opacity 0.1s ease; /* Transición suave para el movimiento y la opacidad del texto */
}

.btnConoceFnBlack:hover span {
  transform: translateY(
    -100%
  ); /* El texto original se mueve hacia arriba y desaparece */
  opacity: 0; /* El texto original se desvanece */
}

.btnConoceFnBlack::after {
  content: "CONOCE MÁS"; /* Texto duplicado para aparecer durante hover */
  position: absolute;
  top: 0;
  left: 0px;
  right: 0;
  text-align: center;
  color: #fff; /* El texto es blanco para estar visible en el fondo rojo */
  opacity: 0; /* Inicialmente invisible */
  transition: opacity 0.1s ease, transform 0.1s ease; /* Suavizamos la opacidad y el movimiento */
  margin-block: 70px;
}

.btnConoceFnBlack:hover::after {
  opacity: 1; /* Aparece el texto en hover */
  transform: translateY(0); /* Texto centrado */
}

/* estos estilos hacen que los botones que estan maquetdos tengan los mimos estilos del episever en blanco */

.btnConoceFnWhite {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  background: #fff !important;
  color: #000 !important;
  padding: 13px !important;
  border-radius: 5px !important;
  border: none !important;
  text-transform: uppercase !important;
  position: relative;
  overflow: hidden; /* Evita que el contenido salga del botón */
  transition: background-color 0.3s ease, color 0.3s ease; /* Transición suave para el fondo y el color */
}

.btnConoceFnWhite::before {
  content: "CONOCE MÁS"; /* Texto duplicado para el efecto */
  position: absolute;
  top: 100%; /* Inicialmente está fuera del botón, en la parte inferior */
  left: 0;
  right: 0;
  text-align: center;
  color: #000; /* El texto será blanco */
  transition: top 0.2s ease; /* Transición suave para el movimiento del texto */
  margin-top: 11px;
}

.btnConoceFnWhite:hover::before {
  top: 0; /* El texto se mueve hacia arriba durante el hover */
}

.btnConoceFnWhite:hover {
  background-color: #910a2d !important;
  color: transparent !important; /* El texto original desaparece al hacer hover */
}

.btnConoceFnWhite span {
  transition: transform 0.1s ease, opacity 0.1s ease; /* Transición suave para el movimiento y la opacidad del texto */
}

.btnConoceFnWhite:hover span {
  transform: translateY(
    -100%
  ); /* El texto original se mueve hacia arriba y desaparece */
  opacity: 0; /* El texto original se desvanece */
}

.btnConoceFnWhite::after {
  content: "CONOCE MÁS"; /* Texto duplicado para aparecer durante hover */
  position: absolute;
  top: 0;
  left: 0px;
  right: 0;
  text-align: center;
  color: #fff; /* El texto es blanco para estar visible en el fondo rojo */
  opacity: 0; /* Inicialmente invisible */
  transition: opacity 0.1s ease, transform 0.1s ease; /* Suavizamos la opacidad y el movimiento */
  margin-block: 70px;
}

.btnConoceFnWhite:hover::after {
  opacity: 1; /* Aparece el texto en hover */
  transform: translateY(0); /* Texto centrado */
}

@media (max-width: 900px) {
  .block-50-50-fn {
    flex-direction: column;
  }
  .text-one-fn p {
    width: 90%;
    text-align: justify;
  }
  .text-one-fn {
    padding: 22% 0;
  }
  .text-one-fn h1 {
    font-size: 1rem;
    width: 90%;
    text-align: center;
  }
  .block-50-50-img-fn {
    width: 100%;
  }
  .paragraph-fn {
    padding: 10% 0;
  }
  .block-50-50-text-fn {
    width: 100%;
    align-items: center;
    padding: 0%;
  }
  .paragraph-fn p {
    width: 90%;
    text-align: justify;
  }
  .container-hibridos {
    flex-direction: column;
  }
  .block-50-50-text-fn p {
    width: 90%;
    text-align: center;
  }
  .block-50-50-text-fn p:last-of-type {
    width: 90%;
    text-align: center;
  }
  .image-section {
    width: 100%;
  }
  .accordion-section {
    width: 100%;
  }
  .block-50-50-contenedor {
    flex-direction: column;
  }
  .block-50-50-contenedor-text {
    width: 100%;
  }
  .block-50-50-contenedor-text p {
    width: 90%;
    padding-right: 0%;
    padding: 5% 0;
  }

  .block-50-50- h3,
  .block-50-50- h4,
  .block-50-50-text-fn h3,
  .text-one-fn h2 {
    font-size: 1rem;
    text-align: center;
    width: 90%;
  }

  .logo-fn {
    width: 22%;
  }

  .accordion-title {
    font-size: 1rem;
  }
}
