@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;700&family=Crimson+Text&display=swap');


body,
html {
	background-color: rgb(252, 252, 252);
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: 'Helvetica', sans-serif;
}

.banner {

    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, rgb(18, 66, 101), rgb(143, 97, 231), rgb(20, 136, 136));
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 1em;
}


.banner h1 {
	
    font-family: 'Cormorant Garamond', serif;
	font-size: 34px;
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    color: #eeeeee;
	white-space: nowrap;
    overflow: hidden;
}

.banner h1:nth-child(1) {
    width: 37em;
    -webkit-animation: type 5s steps(40, end), blink .5s step-end infinite alternate;
    animation: type 5s steps(40, end), blink .5s step-end infinite alternate;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}


@keyframes type {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes type {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
@-webkit-keyframes blink {
  50% {
    border-color: transparent;
  }
}


p {
	font-size: 12px;
	font-weight: light;
	color: #333333;
}

span a {
	font-size: 18px;
	color: #cccccc;
	text-decoration: none;
	margin: 0 10px;
	transition: all 0.4s ease-in-out;
	&:hover {
		color: #ffffff;
	}
}
@keyframes float {
	0% {
		box-shadow: 0 5px 15px 0px rgba(66,123,173,0.6);
		transform: translatey(0px);
	}
	50% {
		box-shadow: 0 25px 15px 0px rgba(66,123,173,0.2);
		transform: translatey(-20px);
	}
	100% {
		box-shadow: 0 5px 15px 0px rgba(66,123,173, 0.6);
		transform: translatey(0px);
	}
}

@keyframes fadeInUpH2 {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpH2 {
    0% {
        opacity: 0;
        transform: translateY(90px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpH4 {
    0% {
        opacity: 0;
        transform: translateY(80px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpSV {
    0% {
        opacity: 0;
        transform: translateY(80px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInDownCT {
    0% {
        opacity: 0;
        transform: translateY(-75px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


#c_servicios
{
	display: inline-block;
	width: 70%;
}

#h2_consultaExt
{
	font-family: 'Cormorant Garamond', serif;
	font-size: 38px;
	font-weight: bold;
	animation: fadeInUpH2 1s ease both;
    animation-delay: 0.8s; /* No hay retardo en el título */
	color: rgb(18,66,101);
}



#h4_consultaExt
{
	animation: fadeInUpSV 1.5s ease both;
    animation-delay: 1s; 
	font-family: 'Crimson Text', serif;
	font-size: 22px;
	padding: 1em;
	text-align: justify;
}

#contenido1
{
	background-color: rgb(244,244,244);
	width: 100%;
}

#contenido2
{
	background-color: #fff;
	width: 100%;
}

#contenido3
{
	background-color: rgb(244,244,244);
	width: 100%;
}

#contenido4
{
	background-color: #fff;
	width: 100%;
}

#contenido5
{
	background-color: #fff;
	width: 100%;
}

#c_ventajas
{
	display: inline-block;
	background-color: rgb(244,244,244);
	width: 75%;
}

#c_ventajas2
{
	display: inline-block;
	background-color: #fff;
	width: 75%;
}

#c_ventajas3
{
	display: inline-block;
	background-color: rgb(244,244,244);
	width: 75%;
}

#c_ventajas4
{
	display: inline-block;
	background-color: #fff;
	width: 75%;
}

#c_ventajas5
{
	display: inline-block;
	background-color: #fff;
	width: 75%;
}

.section-subtitle-ventajas ul li
{
	margin: 0 0 0.8em 0;
	text-align: left;
	font-family: 'Crimson Text', serif;
	font-size: 22px;
}

.section-subtitle-ventajas2 ul li
{
	margin: 0 0 0.8em 0;
	text-align: left;
	font-family: 'Crimson Text', serif;
	font-size: 22px;
}

.section-subtitle-ventajas3 ul li
{
	margin: 0 0 0.8em 0;
	text-align: left;
	font-family: 'Crimson Text', serif;
	font-size: 22px;
}


.img-c-ventajas, .img-c-ventajas2, .img-c-ventajas3
{
	height: 300px;
	width: 30%;
	position: relative; /* Asegura que la imagen respete el tamaño del contenedor */
    overflow: hidden; /* Recorta cualquier parte de la imagen que se desborde */
}

.img-c-ventajas img, .img-c-ventajas2 img, .img-c-ventajas3 img
{
	height: 100%; /* La imagen ocupará toda la altura del contenedor */
    width: 100%; /* La imagen ocupará todo el ancho del contenedor */
    object-fit: contain; /* Ajusta la imagen manteniendo la relación de aspecto */
}


.section-subtitle-ventajas, .section-subtitle-ventajas2
{
	width: 65%;
	text-align: justify;
}


.section-subtitle-ventajas3
{
	width: 65%;
	text-align: justify;
}

.img-c-ventajas, .section-subtitle-ventajas
{
	display: inline-block;
	vertical-align: top;
}

.img-c-ventajas2, .section-subtitle-ventajas2
{
	display: inline-block;
	vertical-align: top;
}

.img-c-ventajas3, .section-subtitle-ventajas3
{
	display: inline-block;
	vertical-align: top;
}

.section-ventajas h2 
{
	animation: fadeInDownCT 2s ease both;
    animation-delay: 1.4s; 
}

.ventaja-list1
{
	animation: fadeInUpSV 3s ease both;
    animation-delay: 1.3s; 
}

.ventaja-list2 
{
	animation: fadeInUpSV 3s ease both;
    animation-delay: 1.6s; 
}


.img-c-ventajas
{
	animation: fadeInUpSV 3s ease both;
    animation-delay: 1.8s; 
}

#section-btnservicios
{
	animation: fadeInUpSV 3.2s ease both;
    animation-delay: 1.9s; 
}

.section-ventajas h2, .section-ventajas2 h2, .section-ventajas3 h2, .section-ventajas4 h2
{
	font-family: 'Cormorant Garamond', serif;
	font-size: 30px;
	font-weight: bold;
	margin: 1em 0 1em 2em;
	text-align: left;
	color: rgb(18,66,101);
	position: relative; /* Agrega esto para posicionar correctamente el ::after */
}

.section-ventajas4 h4
{
	
	padding: 0.3em 2.5em;
	text-align: justify;
	font-family: 'Crimson Text', serif;
	font-size: 22px;
}

.section-ventajas h2::after {
    content: '';
    position: absolute;
    bottom: -9px; /* Ajusta esto para alinear correctamente el borde */
    left: 0%; /* Puedes ajustar este valor según lo que necesites */
    width: 17%; /* Ancho del borde */
    height: 3px; /* Grosor del borde */
    background-color: rgb(25,144,203); /* Color del borde */
}

.section-ventajas2 h2::after {
    content: '';
    position: absolute;
    bottom: -9px; /* Ajusta esto para alinear correctamente el borde */
    left: 0%; /* Puedes ajustar este valor según lo que necesites */
    width: 24%; /* Ancho del borde */
    height: 3px; /* Grosor del borde */
    background-color: rgb(25,144,203); /* Color del borde */
}

.section-ventajas3 h2::after {
    content: '';
    position: absolute;
    bottom: -9px; /* Ajusta esto para alinear correctamente el borde */
    left: 0%; /* Puedes ajustar este valor según lo que necesites */
    width: 8%; /* Ancho del borde */
    height: 3px; /* Grosor del borde */
    background-color: rgb(25,144,203); /* Color del borde */
}

.section-ventajas4 h2::after {
    content: '';
    position: absolute;
    bottom: -9px; /* Ajusta esto para alinear correctamente el borde */
    left: 0%; /* Puedes ajustar este valor según lo que necesites */
    width: 8%; /* Ancho del borde */
    height: 3px; /* Grosor del borde */
    background-color: rgb(25,144,203); /* Color del borde */
}

/* Estilos para las listas ul */
.ventaja-list1{
    list-style: none;
    width: 40%;
    display: inline-block;
    vertical-align: top;
    margin: 0 1%;
    padding: 10px;
    font-size: 20px;
}
.ventaja-list1 li, .ventaja-list2 li{
	margin-bottom: 0.9em;
}

.ventaja-list2 {
    list-style: none;
    width: 52%;
    display: inline-block;
    vertical-align: top;
    margin: 0 1%;
    padding: 10px;
    font-size: 20px;
}

#btn-cont_servicios
{
    background-color: #FFF;
    border: 2px solid rgb(27, 99, 150);
    margin: 1em 0 1em 1em;
    color: rgb(18,66,101);
    font-weight: bold;
    padding: 0.7em 1.5em;
    width: 13%;
}

#btn-cont_servicios:hover
{
    background-color: rgb(164,199,53);
    border: 2px solid rgb(164,199,53);
    margin: 1em 0 1em 1em;
    color: #fff;
    font-weight: bold;
    padding: 0.7em 1.5em;
    
}

#section-btnservicios
{
	display: inline-block;
	list-style: none;
	margin: 0 0 0 3em;
	width: 100%;
}


#section-btnservicios a:hover
{
	text-decoration: none;
}

#btn-cont_servicios a:hover
{
	color: #fff;
	font-weight: bold;
}


/*******estilos optica*********************/
/* Estilo para el contenedor principal */
.image-slider {
  width: 100%;
  overflow: hidden;
}

/* Contenedor de imágenes */
.image-container {
  width: 80%;
  display: inline-block;
  margin-top: 2em;
  padding: 0em;
  overflow: hidden; /* Ocultar desbordamiento */
}

/* Estilo para las imágenes */
.image-container img {
  max-width: 100%;
  height: auto;
  margin-right: 20px;
}

#imagen1, #imagen2, #imagen3, #imagen4, #imagen5
{
	display: inline-block;
	padding:0;
	background-color: #fff;
	margin-right: 1em;
	width: 15%;
}


#imagen1 img, #imagen2 img, #imagen3 img, #imagen4 img, #imagen5 img
{
	height: 100px;
	width: 100%;
}

/*--------------SECCION DE SLIDER ----------------------*/
#container-slider-optica {
    display: inline-block;
    width: 50%;
    /* Asegúrate de que el contenedor tenga una altura */
    height: 400px; /* Por ejemplo, ajusta la altura según sea necesario */
}

#voptica {
    background-color: #fff;
    width: 100%; /* Cambia el ancho al 100% para ocupar el contenedor */
    height: 100%; /* Cambia la altura al 100% para ocupar el contenedor */
    object-fit: cover; /* Para asegurar que el video se ajuste sin distorsión */
}


/*----------------------------------------------------------------PIE DE PAGINA*/
#navegad1 li 
{
   font-family: 'Crimson Text', serif;
   font-weight: lighter;
}


@media (min-width: 300px) and (max-width: 359px){

	/*---------------------------------------------HEADER*/
	.banner h1 {
		font-size: 22px;
	}

	#c_servicios
	{
		display: inline-block;
		width: 100%;
	}

	#c_servicios h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 34px;
		font-weight: bold;
	}

	#c_servicios h4
	{
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em;
		text-align: justify;
	}

	#c_ventajas, #c_ventajas3
	{
		display: inline-block;
		background-color: rgb(244,244,244);
		width: 100%;
	}

	#c_ventajas2, #c_ventajas4, #c_ventajas5
	{
		display: inline-block;
		background-color: #fff;
		width: 100%;
	}

	.section-subtitle-ventajas ul li
	{
		margin: 0 0 0.6em 0;
		text-align: left;
		font-size: 18px;
		font-family: 'Crimson Text', serif;
	}

	.section-subtitle-ventajas2 ul li
	{
		margin: 0 0 0.6em 0;
		text-align: left;
		font-size: 18px;
		font-family: 'Crimson Text', serif;
	}

	.section-subtitle-ventajas3 ul li
	{
		margin: 0 0 0.6em 0;
		text-align: left;
		font-size: 18px;
		font-family: 'Crimson Text', serif;
	}

	
	.img-c-ventajas, .img-c-ventajas2, .img-c-ventajas3
	{
		height: 250px;
		width: 100%;
		position: relative; /* Asegura que la imagen respete el tamaño del contenedor */
	    overflow: hidden; /* Recorta cualquier parte de la imagen que se desborde */
	}

	.img-c-ventajas3
	{
		margin-bottom: 2em;
	}

	.section-ventajas h2, .section-ventajas2 h2, .section-ventajas3 h2, .section-ventajas4 h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 30px;
		font-weight: bold;
		margin: 1em 0 0.5em 0;
		text-align: center;
		color: rgb(18,66,101);
		position: relative; /* Agrega esto para posicionar correctamente el ::after */
	}

	#h2_consultaExt
	{
		color: rgb(18,66,101);
	}

	.section-ventajas4 h4
	{
		padding: 0.3em 2.5em;
		text-align: justify;
		font-family: 'Crimson Text', serif;
		font-size: 22px;
	}

	.section-ventajas h2::after {
	    left: 40%; /* Puedes ajustar este valor según lo que necesites */
	    width: 20%; /* Ancho del borde */
	}

	.section-ventajas2 h2::after {
	    left: 30%; /* Puedes ajustar este valor según lo que necesites */
	    width: 35%; /* Ancho del borde */
	}

	.section-ventajas3 h2::after {
	    left: 45%; /* Puedes ajustar este valor según lo que necesites */
	    width: 10%; /* Ancho del borde */
	}

	.section-ventajas4 h2::after {
	    left: 45%; /* Puedes ajustar este valor según lo que necesites */
	    width: 10%; /* Ancho del borde */
	}

	.section-subtitle-ventajas, .section-subtitle-ventajas2, .section-subtitle-ventajas3, .section-subtitle-ventajas4
	{
		display: block;
		width: 100%;
	}
	#section-btnservicios
	{
		margin: 0;
	}

	/* Estilos para las listas ul */
	.ventaja-list1{
	    list-style: none;
	    width: 100%;
	    display: inline-block;
	    vertical-align: top;
	    margin: 0;
	    padding: 1em 0em;
	    font-size: 20px;
	}

	.ventaja-list1 li, .ventaja-list2 li{
		margin-bottom: 0.5em;
		padding: 0em 1em;
		max-width: 100%;
	}

	.ventaja-list2
	{
		width: 100%;
	    display: inline-block;
	    vertical-align: top;
	    padding: 1em 0em;
		margin: -1.7em 0 0 0;
		width: 100%;
	}

	#btn-cont_servicios
	{
		margin-top: 1em 0 1em 0;
	    display: inline-block;
	    width: 48%;
	}

	#btn-cont_servicios:hover
	{
		margin-top: 1em 0 1em 0;
	    
	}
	.section-ventajas4 h4
	{
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em;
		text-align: justify;
	}
	/*******estilos optica*********************/
	
	/* Estilo para el contenedor principal */
	/* Contenedor de imágenes */
	.image-container {
	  width: 100%;
	  margin: 2em 0 0 0;
	  padding: 1em 1.2em;
	}

	/* Estilo para las imágenes */
	.image-container img {
	  margin-right: 22px;
	}

	#imagen1, #imagen2, #imagen3, #imagen4, #imagen5
	{
		margin-right: 0.2em;
		width: 18%;
		height: 70px;
	}

	#imagen1, #imagen2, #imagen3, #imagen4, #imagen5
	{
		
		margin-right: 0.2em;
		width: 18%;
	}

	#imagen1 img, #imagen2 img, #imagen3 img, #imagen4 img, #imagen5 img
	{
		height: 80px;
	}

	/*--------------SECCION DE SLIDER ----------------------*/
	#container-slider-optica {
	    display: inline-block;
	    border: 4px solid rgb(164,199,53);
	    border-radius: 7px;
	    width: 80%;
	    /* Asegúrate de que el contenedor tenga una altura */
	    height: 280px; /* Por ejemplo, ajusta la altura según sea necesario */
	}

	#voptica {
	    background-color: #fff;
	    width: 100%; /* Cambia el ancho al 100% para ocupar el contenedor */
	    height: 100%; /* Cambia la altura al 100% para ocupar el contenedor */
	    object-fit: cover; /* Para asegurar que el video se ajuste sin distorsión */
	}

}


@media (min-width: 360px) and (max-width: 500px){

	/*---------------------------------------------HEADER*/
	.banner
	{
		 background: linear-gradient(to right, rgb(18, 66, 101), rgb(143, 97, 231), rgb(20, 136, 136));
    
	}
	.banner h1 {
		font-size: 26px;
	}

	#c_servicios
	{
		display: inline-block;
		width: 100%;
	}

	#c_servicios h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 34px;
		font-weight: bold;
	}


	#c_servicios h4
	{
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em;
		text-align: justify;
	}

	#c_ventajas, #c_ventajas3
	{
		display: inline-block;
		background-color: rgb(244,244,244);
		width: 100%;
	}

	#c_ventajas2, #c_ventajas4, #c_ventajas5
	{
		display: inline-block;
		background-color: #fff;
		width: 100%;
	}

	.section-subtitle-ventajas ul li
	{
		margin: 0 0 0.6em 0;
		text-align: left;
		font-size: 18px;
		font-family: 'Crimson Text', serif;
	}

	.section-subtitle-ventajas2 ul li
	{
		margin: 0 0 0.6em 0;
		text-align: left;
		font-size: 18px;
		font-family: 'Crimson Text', serif;
	}

	.section-subtitle-ventajas3 ul li
	{
		margin: 0 0 0.6em 0;
		text-align: left;
		font-size: 18px;
		font-family: 'Crimson Text', serif;
	}

	
	.img-c-ventajas, .img-c-ventajas2, .img-c-ventajas3
	{
		height: 250px;
		width: 100%;
		position: relative; /* Asegura que la imagen respete el tamaño del contenedor */
	    overflow: hidden; /* Recorta cualquier parte de la imagen que se desborde */
	}

	.img-c-ventajas3
	{
		margin-bottom: 2em;
	}

	.section-ventajas h2, .section-ventajas2 h2, .section-ventajas3 h2, .section-ventajas4 h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 30px;
		font-weight: bold;
		margin: 1em 0 0.5em 0;
		text-align: center;
		color: rgb(18,66,101);
		position: relative; /* Agrega esto para posicionar correctamente el ::after */
	}

	#h2_consultaExt
	{
		color: rgb(18,66,101);
	}

	.section-ventajas4 h4
	{
		padding: 0.3em 2.5em;
		text-align: justify;
		font-family: 'Crimson Text', serif;
		font-size: 22px;
	}

	.section-ventajas h2::after {
	    left: 40%; /* Puedes ajustar este valor según lo que necesites */
	    width: 20%; /* Ancho del borde */
	}

	.section-ventajas2 h2::after {
	    left: 30%; /* Puedes ajustar este valor según lo que necesites */
	    width: 35%; /* Ancho del borde */
	}

	.section-ventajas3 h2::after {
	    left: 45%; /* Puedes ajustar este valor según lo que necesites */
	    width: 10%; /* Ancho del borde */
	}

	.section-ventajas4 h2::after {
	    left: 45%; /* Puedes ajustar este valor según lo que necesites */
	    width: 10%; /* Ancho del borde */
	}

	.section-subtitle-ventajas, .section-subtitle-ventajas2, .section-subtitle-ventajas3, .section-subtitle-ventajas4
	{
		display: block;
		width: 100%;
	}
	#section-btnservicios
	{
		margin: 0;
	}

	/* Estilos para las listas ul */
	.ventaja-list1{
	    list-style: none;
	    width: 100%;
	    display: inline-block;
	    vertical-align: top;
	    margin: 0;
	    padding: 1em 0em;
	    font-size: 20px;
	}

	.ventaja-list1 li, .ventaja-list2 li{
		margin-bottom: 0.5em;
		padding: 0em 1em;
		max-width: 100%;
	}

	.ventaja-list2
	{
		width: 100%;
	    display: inline-block;
	    vertical-align: top;
	    padding: 1em 0em;
		margin: -1.7em 0 0 0;
		width: 100%;
	}

	#btn-cont_servicios
	{
		margin-top: 1em 0 1em 0;
	    display: inline-block;
	    width: 48%;
	}

	#btn-cont_servicios:hover
	{
		margin-top: 1em 0 1em 0;
	    
	}
	.section-ventajas4 h4
	{
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em;
		text-align: justify;
	}


	/*******estilos optica*********************/
	


	/* Estilo para el contenedor principal */
	/* Contenedor de imágenes */
	.image-container {
	  width: 100%;
	  margin: 2em 0 0 0;
	  padding: 1em 1.2em;
	}

	/* Estilo para las imágenes */
	.image-container img {
	  margin-right: 22px;
	}

	#imagen1, #imagen2, #imagen3, #imagen4, #imagen5
	{
		margin-right: 0.2em;
		width: 18%;
		height: 70px;
	}


	#imagen1, #imagen2, #imagen3, #imagen4, #imagen5
	{
		
		margin-right: 0.2em;
		width: 18%;
	}

	#imagen1 img, #imagen2 img, #imagen3 img, #imagen4 img, #imagen5 img
	{
		height: 80px;
	}

	/*--------------SECCION DE SLIDER ----------------------*/
	#container-slider-optica {
	    display: inline-block;
	    border: 4px solid rgb(164,199,53);
	    border-radius: 7px;
	    width: 80%;
	    /* Asegúrate de que el contenedor tenga una altura */
	    height: 400px; /* Por ejemplo, ajusta la altura según sea necesario */
	}

	#voptica {
	    background-color: #fff;
	    width: 100%; /* Cambia el ancho al 100% para ocupar el contenedor */
	    height: 100%; /* Cambia la altura al 100% para ocupar el contenedor */
	    object-fit: cover; /* Para asegurar que el video se ajuste sin distorsión */
	}

}

@media (min-width: 770px) and (max-width: 870px){

	.banner
	{
		 background: linear-gradient(to right, rgb(18, 66, 101), rgb(143, 97, 231), rgb(20, 136, 136));
    
	}
	.banner h1 {
		font-size: 30px;
	}

	#c_servicios
	{
		display: inline-block;
		width: 95%;
	}

	#c_servicios h2
	{
		font-family: 'Cormorant Garamond', serif;
		font-size: 34px;
		font-weight: bold;
	}


	#c_servicios h4
	{
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em;
		text-align: justify;
	}



	#c_ventajas, #c_ventajas2, #c_ventajas3, #c_ventajas4, #c_ventajas5
	{
		display: inline-block;
		width: 100%;
	}

	.section-subtitle-ventajas ul li
	{
		margin: 0 0 1em 0;
		text-align: left;
		font-size: 18px;
		font-family: 'Crimson Text', serif;
	}

	.section-subtitle-ventajas2 ul li
	{
		margin: 0 0 1em 0;
		text-align: left;
		font-size: 18px;
		font-family: 'Crimson Text', serif;
	}

	.section-subtitle-ventajas3 ul li
	{
		margin: 0 0 1em 0;
		text-align: left;
		font-size: 18px;
		font-family: 'Crimson Text', serif;
	}

	.img-c-ventajas, .img-c-ventajas2, .img-c-ventajas3
	{
		height: auto;
		position: relative; /* Asegura que la imagen respete el tamaño del contenedor */
		overflow: hidden; /* Recorta cualquier parte de la imagen que se desborde */
	}
	.section-subtitle-ventajas2 ul li, .img-c-ventajas
	{
		vertical-align: top;
	}

	.section-subtitle-ventajas2 ul li, .img-c-ventajas2
	{
		vertical-align: top;
	}

	.section-subtitle-ventajas2 ul li, .img-c-ventajas3
	{
		vertical-align: top;
	}

	#section-btnservicios
	{
		width: 100%;
		margin: 1em  0 0 0;
	}

	#btn-cont_servicios 
	{
	    margin: 1em 0 1em 2em;
	    width: 30%;
	}

	#btn-cont_servicios:hover
	{
	    margin: 1em 0 1em 2em; 
	}
	.section-ventajas4 h4
	{
		font-family: 'Crimson Text', serif;
		font-size: 20px;
		padding: 1em 2em;
		text-align: justify;
	}

	.section-ventajas h2::after {
	    width: 32%; /* Ancho del borde */
	}

	.section-ventajas2 h2::after {
	    width: 45%; /* Ancho del borde */
	}

	.section-ventajas3 h2::after {
	    width: 15%; /* Ancho del borde */
	}

	.section-ventajas4 h2::after {
	    width: 15%; /* Ancho del borde */
	}

	/******estilos optica*********************/
	/*--------------SECCION DE SLIDER ----------------------*/
	#container-slider-optica {
	    display: inline-block;
	    border: 4px solid rgb(164,199,53);
	    border-radius: 7px;
	    width: 65%;
	    /* Asegúrate de que el contenedor tenga una altura */
	    height: 260px; /* Por ejemplo, ajusta la altura según sea necesario */
	}

	#voptica {
	    background-color: #fff;
	    width: 100%; /* Cambia el ancho al 100% para ocupar el contenedor */
	    height: 100%; /* Cambia la altura al 100% para ocupar el contenedor */
	    object-fit: cover; /* Para asegurar que el video se ajuste sin distorsión */
	}

}



/*****responsive para laptop*********/
@media (min-width: 1024px) and (max-width: 1572px){

	/*---------------------------------------------HEADER*/
	.section-ventajas h2::after {
	    width: 25%; /* Ancho del borde */
	}

	.section-ventajas2 h2::after {
	    width: 33%; /* Ancho del borde */
	}

	.section-ventajas3 h2::after {
	    width: 11%; /* Ancho del borde */
	}

	.section-ventajas4 h2::after {
	    width: 11%; /* Ancho del borde */
	}

	#section-btnservicios
	{
		margin: 0;
	}

	#btn-cont_servicios
	{
	    margin: 0 0 2em 3.2em;
	    width: 20%;
	}

	#btn-cont_servicios:hover
	{
	    margin: 0 0 2em 3.2em; 
	}

	.section-ventajas4 h4
	{
		padding: 1em 3em;
	}

	/*******estilos optica*********************/
	/* Estilo para el contenedor principal */
	/* Contenedor de imágenes */
	.image-container {
	  width: 100%;
	  margin: 2em 0 0 0;
	  padding: 1em 1.2em;
	}

	/* Estilo para las imágenes */
	.image-container img {
	  margin-right: 22px;
	}

	#imagen1, #imagen2, #imagen3, #imagen4, #imagen5
	{
		margin-right: 0.2em;
		width: 18%;
		height: 100px;
	}


	#imagen1, #imagen2, #imagen3, #imagen4, #imagen5
	{
		margin-right: 1em;
		width: 18%;
	}

	#imagen1 img, #imagen2 img, #imagen3 img, #imagen4 img, #imagen5 img
	{
		height: 100px;
	}

	/*--------------SECCION DE SLIDER ----------------------*/
	#container-slider-optica {
	    display: inline-block;
	    border-radius: 7px;
	    width: 60%;
	    /* Asegúrate de que el contenedor tenga una altura */
	    height: 400px; /* Por ejemplo, ajusta la altura según sea necesario */
	}

	#voptica {
	    background-color: #fff;
	    border-radius: 7px;
	    width: 100%; /* Cambia el ancho al 100% para ocupar el contenedor */
	    height: 100%; /* Cambia la altura al 100% para ocupar el contenedor */
	    object-fit: cover; /* Para asegurar que el video se ajuste sin distorsión */
	}
}


