
:root {
  --color-primary: #07BAD8;
  --color-secondary: #072B79;
  --color-button-hover: #059bb0;
  --border-radius: 3rem;
  --gap: 25px;
}

/* Principal */
.header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 9.6rem;
  padding: 0 15rem;
  position: relative;
  z-index: 2;
}

/* Fondo biomed */
.fondo-biomed {
  background-image: url('../img/fondo-principal.webp'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
  height: 100vh; 
  position: relative; 
  z-index: 1;
}

.fondo-biomed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 43, 121, .76);
  z-index: 1; 
}

.btn {
  padding: 1rem 2rem;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  display: inline-block;
  text-align: center;
  width:100%;
  max-width: 200px;
  cursor: pointer;
}

.feature-img {
  margin-top: auto;
  width:fit-content;
}

.logo {
  height: 6.5rem;
}

/* Navegación */
.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #ffff;
  font-weight: 600;
  font-size: 1.4rem;
  transition: all 0.3s;
  line-height: 2.5rem;
}

/* SECCION PRINCIPAL FONDO BIOMED */
.section-hero {
  display: flex;
  justify-content: center; 
  align-items: center;    
  position: relative;
  padding: 15rem;  /* Ajusta el padding */
  overflow: hidden; 
  z-index: 1;
  min-height: 45svh; /* 'svh' = small viewport height (más fiable) */

}

.hero {
  text-align: center;
}

.hero-text-box {
  max-width: 100%; 
  padding: 20px;
}

.hero-description {
  text-align: center;
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
  color: #fff;
  font-weight: 500;
}

.delivered-meals {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 8rem;
}

.delivered-imgs {
  display: flex;
}

.delivered-imgs img {
  height: 4.8rem;
  width: 4.8rem;
  border-radius: 50%;
  margin-right: -1.6rem;
  border: 3px solid #fdf2e9;
}

.delivered-imgs img:last-child {
  margin: 0;
}

.delivered-text {
  font-size: 1.8rem;
  font-weight: 600;
}

/* SECCIÓN NUESTRA EXPERIENCIA */

/* SECCIÓN NUESTRA EXPERIENCIA */
.section-featured {
  padding: 4rem 2rem;
}

.heading-featured-in {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.4rem;
  color: #888;
}

.logos, .durango {
  display: flex;
  flex-wrap: wrap;           
  justify-content: space-around;  
  align-items: center;        
  gap: 1rem;                
  margin-bottom: 2rem;
}

.logos img, .durango img {
  width: 150px;  
  height: 100px;  
  object-fit:contain;  
  filter: grayscale(100%);
  
}


/* SECCIÓN CONOCE NUESTROS PRODUCTOS */

.section-how {
  padding: 4rem 0;

}

.container-producto{
  max-width: 110rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 50% 50%;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0px 4px 25px 0px #00000040;
}

.producto {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
}

.fondo-mantenimiento {
  background-image: url('../img/Vector1.png');
  background-position: left top;
  background-repeat: no-repeat;
}

.producto-1 {
  background-color: var(--color-primary);
}

.producto-2 {
  background-color: var(--color-secondary);
  background-image: url('../img/Vector.png');
  background-position: right top ;
  background-repeat: no-repeat;
}

.step-text-box {
  padding: 5rem; 
  box-sizing: border-box;
  width: 100%;
}

/* Estilos generales */
.step-img-box,
.step-img-box2,
.step-img-box3 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-img {
  width: 100%;
  height: auto;
}

.step-img-3 {
  width: 100%;
  height: auto;
}

.step-img-box3 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-img-box3 {
  width: 94%;
  align-items: left;
}

.step-img-box2 img {
  width: 65%;
  align-items: center;
}

.boton-producto {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
  border-radius: 30px;
}

.boton-producto-2 {
  margin-top: 200px;
  display: flex;
  justify-content: flex-end;
}

.boton-mantenimiento {
  margin-top: 120px;
  display: flex;
  justify-content: flex-end;
}

.boton-producto-2 button{
  background-color: #07BAD8;
  border: none;
  border-radius: 30px;
  padding-left: 20px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center; 
  justify-content: center;
  gap: 8px;
}

.boton-producto button, .boton-mantenimiento button {
  background-color: #072B79;
  border: none;
  border-radius: 30px;
  padding-left: 20px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center; 
  justify-content: center;
  gap: 8px; 
}

.boton-producto button:hover, .boton-mantenimiento button:hover {
  background-color: var(--color-button-hover);
}

.boton-producto-2 button:hover{
  background-color:#0a3aa1;
}

.boton-producto a,.boton-producto-2 a, .boton-mantenimiento a {
  text-decoration: none; 
  color: inherit;        
}
.icono-boton{
  width: 62%;
  justify-content: flex-end;
}

/* SECCIÓN DE MAPA BIOMED*/
.section-meals {
  background-image: url('../img/fondo-mapa.svg');
  background-position:left;
  background-size: contain;
  background-repeat:no-repeat;
  padding: 10rem 3rem;
  background-color: #072B79;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.map-grid{
  display: flex;
  justify-content: center;
  align-items: flex-start; 
  flex-wrap: wrap;
  width: 100%;
}

.map-container {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meal-content {
  padding: 1.5rem;
  position: relative; /* Posiciona el contenido de forma absoluta respecto al mapa */
  bottom: 20px; /* Coloca el contenido cerca de la parte inferior del mapa */
  left: 20px; /* Alinea el contenido al lado izquierdo del mapa */
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center; /* Alinea el contenido de forma centrada dentro del contenedor */
  justify-content: center;
  text-align: center; /* Centra el texto dentro del contenedor */
}

.meal-title {
  font-size: 2.7rem;
  font-weight: 600;
  margin: 0;
}

.map-icon {
  max-width: 80%;
  height: 150px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}


/* SECCIÓN DE TESTIMONIOS */
.section-testimonials {
  margin-top: 5rem;
  display: grid;
  justify-items: center;
  padding: 5rem 2rem;

}

.testimonials-container {
  text-align: center; 
  max-width: 1200px; 
  margin: 0 auto;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem; 
  margin-top: 2rem;
  padding: 0 2rem;

}

.testimonial {
  background-color: #F9F8F8; 
  border-radius: 8px; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  padding: 2.4rem; 
  text-align: center; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 450px; 
  height: auto; 
}

.testimonial:hover {
  transform: translateY(-10px); 
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); 
}

.testimonial-img {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  margin-bottom: 1.6rem;
  object-fit: cover; 
}

.testimonial-text {
  font-size: 1.6rem; 
  line-height: 1.8; 
  color: #666; 
  margin-bottom: 2rem; 
  font-style: italic; 
  background-color: #f9f9f9; 
  padding: 1rem 1.6rem;
  border-radius: 5px; 
}

.testimonial-name {
  font-size: 1.8rem;
  color: #333; 
  font-weight: 600; 
  margin-top: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  padding: 1.6rem;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  display: block;
  width: 100%;
  transition: all 0.4s;
}

.gallery-item img:hover {
  transform: scale(1.1);
}

/*SECCION PREGUNTAS FRECUENTES*/

.section-pricing {
  padding: 9.6rem 0;
}

.titulo {
	color: #3a3a3a;
	font-weight: 700;
	text-align: center;
	margin: 60px 0;
}

/*! ============= Categorias ============= */

.categorias {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 60px;
}

.categoria {
	cursor: pointer;
	text-align: center;
	padding: 20px;
	border-radius: 10px;
	background: #fff;
	font-weight: 700;
	color: var(--gris-claro);
	border: 2px solid transparent;
	transition: .3s ease all;
}

.categoria path {
	fill: var(--gris-claro);
	transition: .3s ease all;
}

.categoria.activa {
	border: 2px solid var(--primario);
	color: #000;
}

.categoria.activa path {
	fill: var(--primario);
}

/*! ============= Contenedor Preguntas ============= */
.contenedor-preguntas {
	display: none;
	grid-template-columns: 1fr;
	gap: 20px;
}

.contenedor-preguntas.activo {
	display: grid;
}

.contenedor-pregunta {
	background: #ffff;
	padding: 40px;
	border: 2px solid transparent;
	border-left: 18px solid #072B79; 
	border-radius: 10px;
	overflow: hidden;
	transition: .3s ease all;
	cursor: pointer;
	box-shadow: 0px 4px 25px 0px #00000040;
}


.contenedor-pregunta.activa {
	border: 3px solid #072B79;

}

/*! ============= Preguntas ============= */
.pregunta {
	font-weight: 600;
	font-size: 2rem;
	line-height: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
  color: #072B79;
}

.pregunta img {
	width: 3rem;
}

.respuesta {
	color: #000000;
	line-height: 30px;
	max-height: 0;
	opacity: 0;
  font-size: 1.5rem;
  transition: .3s ease all;

}

.contenedor-pregunta.activa .respuesta {
	opacity: 1;
	margin-top: 20px;

}

.contenedor-pregunta.activa img {
	transform: rotate(45deg);
}


/*! ============= Responsive Design ============= */

@media screen and (max-width: 820px){

	.categorias {
		grid-template-columns: 1fr 1fr;
	}



	.categoria {
		padding: 10px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 5px;
	}

	.categoria svg {
		width: 30px;
		margin-right: 10px;
		margin-bottom: 0;
	}

}

@media screen and (max-width: 500px){
	.categorias {
		grid-template-columns: 1fr;
    
	}
}





.feature-title {
  margin-top: 5rem;
  font-size: 2rem;
  color: #07BAD8;
  font-weight: 800;
  margin-bottom: 2rem;
}

.feature-text {
  font-size: 1.4rem;
  line-height: 1.8;
}


/* CTA SECTION */
/**************************/

.cta-text-box {
  padding: 4.8rem 6.4rem 6.4rem 6.4rem;
  color: #45260a;
}

.cta .heading-secondary {
  color: inherit;
  margin-bottom: 3.2rem;
}


.cta-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}

.cta-img-box {
  background-image: linear-gradient(
      to right bottom,
      rgba(235, 151, 78, 0.35),
      rgba(230, 125, 34, 0.35)
    ),
    url("../img/eating.jpg");
  background-size: cover;
  background-position: center;
}

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 2.4rem;
}

.cta-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.cta-form input,
.cta-form select {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  color: inherit;
  border: none;
  background-color: #fdf2e9;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-form input::placeholder {
  color: #aaa;
}

.cta *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(253, 242, 233, 0.5);
}

.grid-item {
  color: black;
  text-align: center;
}

/* Estilo original */

.container {
  max-width: 120rem;
  margin: 0 auto;
}

.grid {
  display: grid;
  position: relative;
  gap: 25px;
}

.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}


.grid--center-v {
  align-items: center;
}

.feature {
  display: flex;              
  flex-direction: column;     
  justify-content: center;     
  align-items: center;        
  text-align: center;       
  padding: 2rem;              
  margin-top: -10rem;
  z-index: 2;
  background-color: #FEFEFE;
  box-shadow: 0px 4px 25px 0px #00000040;
  border-radius: 1.5rem;
}

.box1 {
  grid-column: 1; 
  height: 448px;
  width: auto;
  margin-left: -5rem;
  padding: 4rem;
}

.box2 {
  grid-column: 2; 
  position: absolute; 
  transform: translateX(-7.5%); 
  height: 478px;
  width: 470px;
  padding: 4rem;
  z-index: 3;
}

.box3 {
  grid-column: 3; 
  height: 448px;
  margin-right: -5rem;
  padding: 4rem;
  box-shadow: rgba(0, 0, 0, 0.1),0,0,0.4;
}

.cuadros{
  margin-top: 2rem;
}

.logo-container {
  position: absolute;
  bottom: 5px;
  left: 20px;
  z-index: 2;
}

.logo-juama {
  width: 10rem; 
  height: auto;
}