666 lines
32 KiB
HTML
666 lines
32 KiB
HTML
<style>
|
|
.back0 {
|
|
background-image: url("img/bg03.jpg");
|
|
background-position: center bottom;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
}
|
|
|
|
.wrap-sw {
|
|
background: rgba(0, 0, 0, 0);
|
|
/* background: linear-gradient(270deg, rgba(0, 211, 95, 0.7) 0%, rgba(0, 96, 255, 0.7) 100%); */
|
|
display: none;
|
|
}
|
|
|
|
.swiper-button-disabled {
|
|
opacity: 0.8;
|
|
filter: grayscale(1);
|
|
}
|
|
|
|
|
|
/* Marcadores personalizados para listas */
|
|
ul.custom-li {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
ul.custom-li li {
|
|
position: relative;
|
|
padding-left: 2em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
ul.custom-li li::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0em;
|
|
/* Ajusta este valor para alinear verticalmente */
|
|
width: 1.2em;
|
|
height: 1.2em;
|
|
background-image: url('img/li1.png');
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
display: inline-block;
|
|
}
|
|
|
|
|
|
/* Borde degradado para elementos con border-custom */
|
|
.border-custom {
|
|
border: 4px solid transparent;
|
|
border-radius: 16px;
|
|
background-image: linear-gradient(white, white), linear-gradient(90deg, #37adff, #0064cf);
|
|
background-origin: border-box;
|
|
background-clip: content-box, border-box;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.mySwiper {
|
|
width: 100%;
|
|
height: 100px !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
z-index: 500;
|
|
}
|
|
|
|
.mySwiper .swiper-slide {
|
|
text-align: center;
|
|
font-size: 16px;
|
|
color: #fff;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-justify-content: center;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.mySwiper .swiper-slide .img-icon {
|
|
width: 100px;
|
|
height: 100px;
|
|
object-fit: fill;
|
|
}
|
|
|
|
.mySwiper .swiper-slide img {
|
|
width: auto;
|
|
height: 100px;
|
|
object-fit: fill;
|
|
opacity: 0.5;
|
|
-webkit-transform: scale(0.6);
|
|
transform: scale(0.6);
|
|
transition: all 0.5s ease;
|
|
}
|
|
|
|
.mySwiper .swiper-slide-active img {
|
|
opacity: 1;
|
|
-webkit-transform: scale(1.4);
|
|
transform: scale(1.4);
|
|
object-fit: fill;
|
|
}
|
|
|
|
.swiper-nav {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-flex-direction: row;
|
|
-ms-flex-direction: row;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
max-width: 300px;
|
|
height: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
/* z-index: 55; */
|
|
top: 0;
|
|
-webkit-justify-content: space-between;
|
|
-ms-flex-pack: justify;
|
|
justify-content: space-between;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.swiper-custom-button-next img,
|
|
.swiper-custom-button-prev img {
|
|
height: 35px;
|
|
width: auto;
|
|
z-index: 100;
|
|
}
|
|
|
|
.swiper-custom-button-prev {
|
|
border-radius: 20%;
|
|
z-index: 500;
|
|
}
|
|
|
|
.swiper-custom-button-next {
|
|
border-radius: 20%;
|
|
z-index: 500;
|
|
}
|
|
|
|
.customSwiper .swiper-slide {
|
|
height: auto !important;
|
|
}
|
|
|
|
.customSwiper .swiper-slide {
|
|
width: 100% !important;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.swiper-custom-button-next img,
|
|
.swiper-custom-button-prev img {
|
|
height: 50px;
|
|
width: auto;
|
|
}
|
|
|
|
.mySwiper {
|
|
height: 200px !important;
|
|
}
|
|
|
|
.swiper-nav::before {
|
|
|
|
/* Forzar slides al 100% de ancho en pantallas pequeñas para evitar cortes */
|
|
.mySwiper .swiper-slide,
|
|
.customSwiper .swiper-slide {
|
|
flex: 0 0 100% !important;
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Asegurar que el contenedor no recorte los slides */
|
|
.swiper {
|
|
overflow: visible;
|
|
}
|
|
|
|
content: "";
|
|
display: block;
|
|
width: 60%;
|
|
height: 86%;
|
|
background: url(img/soport.png) no-repeat center center;
|
|
background-size: 100% 100%;
|
|
position: absolute;
|
|
left: 20%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.swiper-nav::before {
|
|
content: "";
|
|
display: block;
|
|
width: 60%;
|
|
height: 88%;
|
|
background: url(img/soport.png) no-repeat center center;
|
|
background-size: 100% 100%;
|
|
position: absolute;
|
|
left: 20%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
}
|
|
|
|
|
|
@media (max-width: 576px) {
|
|
|
|
.customSwiper .swiper-slide {
|
|
height: auto !important;
|
|
}
|
|
|
|
.avatar-circle img {
|
|
object-fit: scale-down;
|
|
}
|
|
|
|
.mySwiper .swiper-slide-active img {
|
|
padding: 0px;
|
|
}
|
|
|
|
.mySwiper .swiper-slide-active img {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
}
|
|
</style>
|
|
<div class="w-100 page-sco back0 h-100 pt-4 pt-md-0" id="sco15">
|
|
<div class="container-fluid g-0">
|
|
<div class="row justify-content-center align-items-center h-100">
|
|
<div class="col-12">
|
|
<div class="row">
|
|
<div class="col-12 text-center px-4 animate__animated animate__backInLeft">
|
|
<h2 class="fw-semibold text-blue-3">Componentes y beneficios</h2>
|
|
<p class="text-blue-4">En infertilidad masculina</p>
|
|
</div>
|
|
</div>
|
|
<div class="text-center wrap-sw text-white">
|
|
<div class="container-fluid">
|
|
<div class="row justify-content-center align-items-center">
|
|
<div class="col-10 col-md-12">
|
|
<div class="card custom-card flat">
|
|
<div class="card-body my-3 my-md-0">
|
|
<!-- Swiper -->
|
|
<div class="swiper mySwiper">
|
|
<div class="swiper-wrapper">
|
|
<div class="swiper-slide">
|
|
<div class="img-icon">
|
|
<img src="img/icon_01.png" />
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide">
|
|
<div class="img-icon">
|
|
<img src="img/icon_02.png" />
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide">
|
|
<div class="img-icon">
|
|
<img src="img/icon_03.png" />
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide">
|
|
<div class="img-icon">
|
|
<img src="img/icon_04.png" />
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide">
|
|
<div class="img-icon">
|
|
<img src="img/icon_05.png" />
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide">
|
|
<div class="img-icon">
|
|
<img src="img/icon_06.png" />
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide">
|
|
<div class="img-icon">
|
|
<img src="img/icon_07.png" />
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide">
|
|
<div class="img-icon">
|
|
<img src="img/icon_08.png" />
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide">
|
|
<div class="img-icon">
|
|
<img src="img/icon_09.png" />
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide">
|
|
<div class="img-icon">
|
|
<img src="img/icon_10.png" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- navegacion -->
|
|
<div class="position-absolute mx-auto swiper-nav">
|
|
<div class="swiper-custom-button-prev">
|
|
<img src="img/prev.png" alt="" />
|
|
</div>
|
|
<div class="swiper-custom-button-next">
|
|
<img src="img/next.png" alt="" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="wrap-cards mt-md-0 mt-2" style="display: none">
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-12 col-md-10 col-lg-8">
|
|
<div class="card custom-card bg-transparent border-0 rounded-0">
|
|
<div class="card-body py-0 bg-transparent border-0 rounded-0">
|
|
<!-- Swiper con validación de slides visitados -->
|
|
<div class="swiper customSwiper">
|
|
<div class="swiper-wrapper">
|
|
<div class="swiper-slide text-center">
|
|
<div class="d-flex align-items-center justify-content-center">
|
|
<div class="card w-100 bg-white border-custom">
|
|
<div class="card-body py-md-5 px-md-5">
|
|
<h3 class="text-blue-4 fw-semibold">Omega-3</h3>
|
|
<p>
|
|
<b class="text-orange-1">Aumenta</b> el recuento
|
|
total, la concentración y morfología de los
|
|
espermatozoides.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide text-center">
|
|
<div class="d-flex align-items-center justify-content-center">
|
|
<div class="card w-100 bg-white border-custom">
|
|
<div class="card-body py-md-5 px-md-5">
|
|
<h3 class="text-blue-4 fw-semibold">L-Carnitina</h3>
|
|
<ul class="custom-li text-start">
|
|
<li>Mejora la <b class="text-orange-1">motilidad</b>
|
|
de los espermatozoides.</li>
|
|
<li><b class="text-orange-1">Incrementa</b> el
|
|
número total de espermatozoides.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide text-center">
|
|
<div class="d-flex align-items-center justify-content-center">
|
|
<div class="card w-100 bg-white border-custom">
|
|
<div class="card-body py-md-5 px-md-5">
|
|
<h3 class="text-blue-4 fw-semibold">Vitamina C</h3>
|
|
<ul class="custom-li text-start">
|
|
<li>Reduce el <b class="text-orange-1">estrés</b>
|
|
oxidativo.</li>
|
|
<li><b class="text-orange-1">Incrementa</b> la
|
|
motilidad de los espermatozoides.
|
|
</li>
|
|
<li>Mejora la <b class="text-orange-1">calidad</b>
|
|
del semen.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide text-center">
|
|
<div class="d-flex align-items-center justify-content-center">
|
|
<div class="card w-100 bg-white border-custom">
|
|
<div class="card-body py-md-5 px-md-5">
|
|
<h3 class="text-blue-4 fw-semibold">Vitamina E</h3>
|
|
<ul class="custom-li text-start">
|
|
<li>Mejora la calidad de las mitocondrias.</li>
|
|
<li><b class="text-orange-1">Disminuye</b> el daño a
|
|
los espermatozoides.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide text-center">
|
|
<div class="d-flex align-items-center justify-content-center">
|
|
<div class="card w-100 bg-white border-custom">
|
|
<div class="card-body py-md-5 px-md-5">
|
|
<h3 class="text-blue-4 fw-semibold">Licopeno</h3>
|
|
<ul class="custom-li text-start">
|
|
<li>Mejora los <b class="text-orange-1">parámetros
|
|
del esperma</b>.</li>
|
|
<li>Reduce el daño del ADN.</li>
|
|
<li>Mejora la morfología de los espermatozoides.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide text-center">
|
|
<div class="d-flex align-items-center justify-content-center">
|
|
<div class="card w-100 bg-white border-custom">
|
|
<div class="card-body py-md-5 px-md-5">
|
|
<h3 class="text-blue-4 fw-semibold">Coenzima Q10 (Q10)
|
|
</h3>
|
|
<ul class="custom-li text-start">
|
|
<li>Aumenta la <b
|
|
class="text-orange-1">concentración de
|
|
esperma</b>.</li>
|
|
<li>Mejora la motilidad.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide text-center">
|
|
<div class="d-flex align-items-center justify-content-center">
|
|
<div class="card w-100 bg-white border-custom">
|
|
<div class="card-body py-md-5 px-md-5">
|
|
<h3 class="text-blue-4 fw-semibold">Zinc (Zn)</h3>
|
|
<ul class="custom-li text-start">
|
|
<li><b class="text-orange-1">Antibacteriano</b> en
|
|
el tracto reproductivo.</li>
|
|
<li>Mejora la motilidad y la <b
|
|
class="text-orange-1">fecundación</b> de los
|
|
espermatozoides.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide text-center">
|
|
<div class="d-flex align-items-center justify-content-center">
|
|
<div class="card w-100 bg-white border-custom">
|
|
<div class="card-body py-md-5 px-md-5">
|
|
<h3 class="text-blue-4 fw-semibold">Selenio (Se)</h3>
|
|
<p>Mejora la morfología y <b
|
|
class="text-orange-1">aumenta</b> la motilidad
|
|
de los espermatozoides.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide text-center">
|
|
<div class="d-flex align-items-center justify-content-center">
|
|
<div class="card w-100 bg-white border-custom">
|
|
<div class="card-body py-md-5 px-md-5">
|
|
<h3 class="text-blue-4 fw-semibold">Vitamina D</h3>
|
|
<p>Mejora la <b class="text-orange-1">calidad</b> del
|
|
semen y la <b class="text-orange-1">fertilidad
|
|
masculina</b>.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="swiper-slide text-center">
|
|
<div class="d-flex align-items-center justify-content-center">
|
|
<div class="card w-100 bg-white border-custom">
|
|
<div class="card-body py-md-5 px-md-5">
|
|
<h3 class="text-blue-4 fw-semibold">Vitaminas B9 y B12
|
|
</h3>
|
|
<ul class="custom-li text-start">
|
|
<li>Incrementan el <b class="text-orange-1">recuento
|
|
total</b> de
|
|
espermatozoides.</li>
|
|
<li>Aumentan la motilidad y mejoran la morfología.
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
$(function () {
|
|
"use strict";
|
|
|
|
// $("body").addClass("fake");
|
|
const audioh06 = CourseNav.createSound("audio/audioh06.mp3");
|
|
|
|
let swiperIcons;
|
|
let swiperCards;
|
|
|
|
audioh06.on("end", function () {
|
|
|
|
$(".wrap-sw").show();
|
|
$(".wrap-cards").show();
|
|
swiperCards = initializeSwiper(".customSwiper", onAllSlidesVisited, {
|
|
autoHeight: false, // Ajusta la altura del contenedor al slide activo
|
|
grabCursor: false, // Oculta el cursor de "mano" al pasar sobre el Swiper
|
|
allowTouchMove: false, // Deshabilita el arrastre (drag)
|
|
});
|
|
$('.swiper-custom-button-next').addClass('animate__animated animate__pulse animate__infinite');
|
|
swiperIcons = initializeSwiper(
|
|
".mySwiper",
|
|
onAllSlidesVisited,
|
|
{
|
|
slidesPerView: 5,
|
|
centeredSlides: true,
|
|
spaceBetween: 30,
|
|
grabCursor: false,
|
|
allowTouchMove: false, // Deshabilita el arrastre (drag)
|
|
navigation: {
|
|
nextEl: ".swiper-custom-button-next",
|
|
prevEl: ".swiper-custom-button-prev",
|
|
},
|
|
breakpoints: {
|
|
0: {
|
|
slidesPerView: 2,
|
|
spaceBetween: 20,
|
|
},
|
|
768: {
|
|
slidesPerView: 5,
|
|
spaceBetween: 30,
|
|
},
|
|
},
|
|
},
|
|
audioFiles,
|
|
);
|
|
// Sincronizar los Swipers
|
|
swiperIcons.on("slideChange", function () {
|
|
const currentIndex = swiperIcons.activeIndex;
|
|
swiperCards.slideTo(currentIndex);
|
|
});
|
|
});
|
|
CourseNav.audioController.stopAllSoundsAndPlay(audioh06);
|
|
const audioFiles = [
|
|
CourseNav.createSound("audio/audioh07.mp3"),
|
|
CourseNav.createSound("audio/audioh08.mp3"),
|
|
CourseNav.createSound("audio/audioh09.mp3"),
|
|
CourseNav.createSound("audio/audioh10.mp3"),
|
|
CourseNav.createSound("audio/audioh11.mp3"),
|
|
CourseNav.createSound("audio/audioh12.mp3"),
|
|
CourseNav.createSound("audio/audioh13.mp3"),
|
|
CourseNav.createSound("audio/audioh14.mp3"),
|
|
CourseNav.createSound("audio/audioh15.mp3"),
|
|
CourseNav.createSound("audio/audioh16.mp3"),
|
|
];
|
|
|
|
|
|
function onAllSlidesVisited() {
|
|
$('.swiper-custom-button-next').removeClass('animate__animated animate__pulse animate__infinite');
|
|
CourseNav.setSlideVisited();
|
|
}
|
|
|
|
$(".btn-open-info").click(function () {
|
|
const $element = $(this);
|
|
$(this).removeClass("animate__animated animate__pulse animate__infinite").addClass("visited");
|
|
const html = $($(this).data("popid")).html();
|
|
// Validación del audio
|
|
let audio = null;
|
|
const audioData = $element.data("sound");
|
|
if (audioData) {
|
|
try {
|
|
audio = eval(audioData);
|
|
if (audio) {
|
|
CourseNav.audioController.stopAllSoundsAndPlay(audio);
|
|
}
|
|
} catch (error) {
|
|
console.error(`Error al evaluar el audio: ${audioData}`, error);
|
|
}
|
|
}
|
|
|
|
Swal.fire({
|
|
html: html,
|
|
target: "body",
|
|
customClass: "poup_class",
|
|
confirmButtonText: "Cerrar",
|
|
showConfirmButton: false,
|
|
showCloseButton: true,
|
|
closeButtonHtml: '<span class="swal2-close-x">x</span>',
|
|
showDenyButton: false,
|
|
showCancelButton: false,
|
|
allowOutsideClick: false,
|
|
allowEscapeKey: false,
|
|
focusConfirm: false,
|
|
willOpen: () => {
|
|
// $(".swal2-popup").css("padding", "0");
|
|
// $(".swal2-popup").css("box-shadow", "none");
|
|
// $(".swal2-container").css("padding", "0");
|
|
// if (audio) {
|
|
// CourseNav.audioController.stopAllSoundsAndPlay(audio);
|
|
// }
|
|
},
|
|
didOpen: null,
|
|
didRender: null,
|
|
willClose: () => {
|
|
CourseNav.audioController.stopAudio();
|
|
},
|
|
didClose: null,
|
|
didDestroy: null,
|
|
});
|
|
});
|
|
|
|
function initializeSwiper(swiperContainer, callback, options = {}, audios = [], autoPlaySound = true) {
|
|
const visitedSlides = new Set();
|
|
const container = typeof swiperContainer === "string" ? document.querySelector(swiperContainer) : swiperContainer;
|
|
const parent = container.parentElement;
|
|
if (options.navigation && options.navigation.nextEl && options.navigation.prevEl) {
|
|
options.navigation.nextEl = container.querySelector(options.navigation.nextEl)
|
|
? container.querySelector(options.navigation.nextEl)
|
|
: parent.querySelector(options.navigation.nextEl);
|
|
options.navigation.prevEl = container.querySelector(options.navigation.prevEl)
|
|
? container.querySelector(options.navigation.prevEl)
|
|
: parent.querySelector(options.navigation.prevEl);
|
|
}
|
|
const defaultParams = {
|
|
effect: "slide",
|
|
loop: false,
|
|
autoHeight: true,
|
|
};
|
|
|
|
// Combina opciones personalizadas con las por defecto
|
|
const params = {
|
|
...defaultParams,
|
|
...options,
|
|
on: {
|
|
init: function () {
|
|
visitedSlides.add(this.activeIndex);
|
|
if (audios.length > 0 && audios[this.activeIndex] && autoPlaySound) {
|
|
CourseNav.audioController.stopAllSoundsAndPlay(audios[this.activeIndex]);
|
|
}
|
|
},
|
|
slideChange: function () {
|
|
const index = this.activeIndex;
|
|
visitedSlides.add(index);
|
|
if (audios.length > 0) {
|
|
CourseNav.audioController.stopAudio();
|
|
}
|
|
if (audios.length > 0 && audios[index]) {
|
|
CourseNav.audioController.stopAllSoundsAndPlay(audios[index]);
|
|
}
|
|
if (visitedSlides.size === this.slides.length && typeof callback === "function") {
|
|
callback();
|
|
}
|
|
},
|
|
},
|
|
};
|
|
return new Swiper(container, params);
|
|
}
|
|
|
|
});
|
|
</script> |