* { 
	margin:0;
	padding: 0;
}

@font-face {
    font-family: 'montserratblack';
    src: url('../fonts/montserrat-black-webfont.woff2') format('woff2'),
         url('../fonts/montserrat-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'montserratbold';
    src: url('../fonts/montserrat-bold-webfont.woff2') format('woff2'),
         url('../fonts/montserrat-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'montserratlight';
    src: url('../fonts/montserrat-light-webfont.woff2') format('woff2'),
         url('../fonts/montserrat-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'stopregular';
    src: url('../fonts/stop-webfont.woff2') format('woff2'),
         url('../fonts/stop-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
	font-family: "montserratbold", Helvetica, Verdana;  
	font-size: 2em; /*Equivalencias 1em <-> 16px <-> 12pt <-> 100% */
	padding-top: 0px;
}

header {
	background:#000;
	color: #fff;
	margin: 0em auto;
	max-width: 100%;
	min-height: 64px;
	padding: 0em;
	text-align: center;
}

footer {
	background:#000;
	max-width: 100%;	
	min-height: 200px;
	padding: 2em;
	padding-top: 1em;
	text-align: center; 
}
hr {
	background-color: #78787f;
	height: 10px;
	padding: 0em;
	width: 100%;
	
}
section#contenedor { /*CAJA PRINCIPAL*/
	background:#000;
	margin: 0em auto;
	max-width: 100%; 
	padding: 0em;
	text-align: center;
}

section#mision{
	background: #ffffff;
	min-height: 200px;
	padding-top: 1em;
	width: 100%;
}

section#productos{

	background: #ffffff url("../images/paisaje2.jpg"); 
	background-attachment: fixed; 
  	background-position:center, center; /*centra la imagen como fondo;porcentuales (%), fijas(px) o predeterminadas (center, left,right)*/
	background-repeat: no-repeat;
  	background-size: auto;
	color: #fff;
	padding: 2em;
	padding-top: 60px;
	width: 100%;
	
}

section#qsomos{
	font-size: 1em;
	background: #e5e9ec;
	margin: 0em auto;
	min-height: 300px;
}

section#calidad{
	font-size: 1em;
	background: #e5e9ec;
	margin: 0em auto;
	min-height: 300px;
}

article#misionTexto,
article#visionTexto,
article#valoresTexto {
	/*background: #1e6381;
	border-radius: 0.5em; */
	color: #656666;
	display: inline-block;
	font-family: "montserratlight", Helvetica, Verdana; 
	font-size:  calc(0.6em + 0.6vw);
	min-width: 25em;	
	padding: 1em;	
	text-align: justify;
	vertical-align: top;
	width: 25%;

}

article#qsomosTexto,article#qsomosFoto,article#calidadTexto,article#calidadFoto, 
article#nproductosTexto,  article#nproductosFoto {
	color: #656666;
	display: inline-block;
	font-family: "montserratlight", Helvetica, Verdana; 
	font-size:  calc(0.6em + 0.6vw);
	margin: 0.5em auto;
	padding: 1em;
	text-align: justify;
	vertical-align: top;
	width: 45%;
}

article#videos{
	color: #000000;
	padding: 1px;
	margin: 1em;
	/*
	display: inline-flex;
		margin: 1em;
		
	max-width: 40%;
	height: auto;
	
	padding: 1px;
width: 45%;

	margin: auto;



	margin-right: 10px;
	margin: 0.5em auto;
	

	/*
	font-family: "montserratlight", Helvetica, Verdana; 
	font-size:  calc(0.6em + 0.6vw);
	margin: 0.5em auto;
	padding: 1em;
	text-align: justify;
	vertical-align: top;
	width: 45%;*/
}

section#maps, section#ubicacion, section#contacto {
	/*background: #1e6381;
	border-radius: 0.5em;*/
	color: #78787f;
	display: inline-block;
	font-family: "montserratlight", Helvetica, Verdana;	
	font-size:  calc(0.5em + 0.5vw);
	max-width: 33%;
	min-width: 25em;
	text-align: justify;
	padding: 1em;	
 	float:none;
	vertical-align: top;
}

article#qsomosFoto,article#nproductosFoto,article#calidadFoto {
	margin: 1em 0.5em;
	min-width: 25em;
	width: 30%;	
}

section#nproductos {
	background: #ffffff;
	min-height: 300px;
}

section#carrusel {
	background: #000000;
	min-height: 15em; /*200px*/
	padding: 2em;
	padding-top: 1em;
	padding-bottom: 0em; 	
	text-align: center;
	max-width: 200em;
}

section#pensamiento{
	background: #000000 url("../images/paisaje2.jpg");
	background-attachment: fixed; 
	min-height: 375px;
  	background-position:center, center; /*centra la imagen como fondo;porcentuales (%), fijas(px) o predeterminadas (center, left,right)*/
	background-repeat: no-repeat;
  	background-size: auto;
}

article#pensamientoTexto {
	color:#fffffa; /*#fffffa*/
	font-size:  calc(1.5em + 1.5vw);
	padding: 0em;
	padding-top: 3em;
	text-align: center;
}

section#maps {
	text-align: center;
}

#marca {
	font-family: "stopregular", Helvetica, Verdana;
}
#menu {
	box-shadow:0px 4px 3px rgba(0,0,0,.5);
	position:fixed;
	top:0;
	width:100%;
	z-index:1000;
}
.titulo1 {
	color: #000;
	font-family: "montserratlight", Helvetica, Verdana;
	font-size:  calc(1em + 1vw);
	font-weight: bold;
}
.titulo2 {
	color: #fffffa;
	font-family: "montserratlight", Helvetica, Verdana;
	font-size:  calc(1em + 1vw);
	font-weight: bold;
}
.titulo3 {
	color: #ffffff;
	font-family: "montserratlight", Helvetica, Verdana;
	font-size:  calc(0.6em + 0.6vw);
	font-weight: bold;
}
.mail{
	color: #0b948c;
	font-weight: bold;
}
.copyright {
	color: #ffffff;
	font-size:  0.7em;
	text-align: center;
}
.bg {
  /* The image used */
  background-image: url("../images/bgimage.jpg");

  /* Full height */
  height: 100%;
  width: 100%;
 
  /* Center and scale the image nicely */
  /*background-position: center;*/
  background-position:center, center; /*centra la imagen como fondo;porcentuales (%), fijas(px) o predeterminadas (center, left,right)*/
  background-attachment: fixed; /*establece la imagen de fondo como fija=fixed, scroll=desplaza con el contenido*/
  background-repeat: no-repeat;
  background-size: auto; /*cover,300px 100px;,auto, contain */
  max-width:1280px;
  min-width:900px;
  max-height:1024px;
  min-height:600px;
}

.bg0 {
  /* The image used */
  background-image: url("../images/paisaje2.jpg");

  /* Full height */
  height: 100%;
  width: 100%;
 
  /* Center and scale the image nicely */
  /*background-position: center;*/
  background-position:center, center; /*centra la imagen como fondo;porcentuales (%), fijas(px) o predeterminadas (center, left,right)*/
  background-attachment: fixed; /*establece la imagen de fondo como fija=fixed, scroll=desplaza con el contenido*/
  background-repeat: no-repeat;
  background-size: auto; /*cover,300px 100px;,auto, contain */
  max-width:1280px;
  min-width:900px;
  max-height:1024px;
  min-height:600px;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  padding-top: 60px;
  /*margin: auto; */
  margin: 0.5em auto;
}

.form-signin .checkbox {
  font-weight: 400;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.catItem {
	display: inline-block;
	vertical-align: top;
	margin: 0 -3px 30px 3%;
	width: 15%; /*width: 22.75%; */
	position: relative;
	cursor: pointer;
	border: 1px solid #ddd;	
}

.cattitle {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(1,1,1,.1); /*background-color: rgba(34,34,34,.7);*/
	text-align: center;
	z-index: 2;
}

.catItem:hover .cattitle {
	background-color: rgba(34,34,34,.4);
}

.catItem .cattitle p {
	position: absolute;
	top: 20%;
	left: 5%;
	right: 5%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	z-index: 3;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.5rem;
	text-transform: uppercase;
	color: #00f;
}

.catItem.min .cattitle p {
	left: 2%;
	right: 2%;
	font-size: .9rem;
}

.catItem .itemPic {
	position: relative;
	width: 100%;
	padding-bottom: 100%;
	overflow: hidden;
	z-index: 1;
}

.catItem .itemPic img {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	max-width: 100%;
	max-height: 100%;
	z-index: 1;
}
/* BANNER DE ENTRADA*/
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;/*flex;*/
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
  background: #ffffff !important; /* white; */
  padding: 30px;
  border-radius: 10px;
  width: 50%;
  max-width: 50%; /*ANCHO DEL MODAL*/
  text-align: center;
  position: center;
  animation: scaleIn 0.3s ease-in-out;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  color: #555;
  cursor: pointer;
}

.modal-button {
  /*display: inline-block; /*inline; inline-block; block; padding; */
  /*margin-top: 20px; */
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 15px;
  white-space: nowrap; /* evita que se corte el texto */
  background: #2f5496;/*#25D366;*/ 
  color: white;
  /*
  border-radius: 20px;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s;*/
}

.modal-logos {
  display: flex;
  justify-content: center;
  align-items: center; /*flex-start; center;*/
  gap: 40px; /* espacio entre logos */
  /*margin-top: 20px;*/
  flex-wrap: wrap; /* por si en móvil no entran, que bajen */
}

.logo-bloque {
  text-align: center;
  display:flex;
  flex-direction: column;
  align-items: center;
}

.modal-logo {
  max-height: 80%;
  max-width: 80%;
  /*width: auto;*/
  margin-bottom: 10px;
  /*display: inline; /*block;*/
  /*margin: auto 0 0 0; */
}

.logo-izquierda .modal-logo {
  max-height: 140px; /* más alto */
  max-width: 240px;
}

.logo-derecha {
  max-height: 140px; /* más alto */
  max-width: 240px;
  gap: 45px;
}

.modal-button:hover {
  background: #2f5496; /*#606060;  #1ebe5d;*/
  color: gray;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px; /* espacio entre logo y botón */
  margin-top: 15px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}