/* HOME */

.latin-p {
    font-style: italic !important;
    text-transform: uppercase;
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 10px;
    /* margin-top: 5px; */
}

.latin-carousel {
  position: relative;
  height: 100px; /* ajusta según tu diseño */
  overflow: hidden;
}

.latin-p {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1.5s ease, transform 1.5s ease;
  font-style: italic;
}

.latin-p.active {
  opacity: 1;
  transform: scale(1);
}

/* ABOUT */
.section-title h2 {
     font-size: 1.5em;
   /* font-weight: bold;
    margin-bottom: 20px;
    color: #333333;
    text-align: center; */
}

.text-about-rectangle {
    /* background-color: #ffffff; */
    /* display: inline-block; */
    padding: 10px 20px;
    border-radius: 15px;
    color: #ffffff;
}
.border-about-rectangle {
  /* border: 1px dotted rgb(255, 255, 255);
  box-shadow: 5px 5px 15px rgba(255, 255, 255, 0.3); */
  width: 100% !important;
  margin-left: 0 !important; 
  /* display: inline-block; 
   padding: 10px 20px;
    
   border-radius: 5px;
   color: #ffffff;*/
}

.p-about-rectangle {
  font-size: 1.7rem !important; /* usa unidades relativas */
  width: 100%; /* ocupa el ancho del contenedor */
  max-width: 600px; /* opcional: limita el ancho en pantallas grandes */
  margin: 0 auto; /* centra el bloque */
  padding: 10px 20px;
  border-radius: 15px;
  color: #ffffff;
  box-sizing: border-box; /* asegura que el padding no rompa el ancho */
}

/* Estilos generales */
.section-title h2 {
  font-size: 1.5em;
  text-align: center;
  color: #333333;
  margin-bottom: 20px;
}

.text-about-rectangle {
  padding: 10px 20px;
  border-radius: 15px;
  color: #333232;
}

.h3-proposito {

  color:#2E4A5A;
  font-weight: bolder;
  text-transform: uppercase;
  font-size: 3rem;
}

.border-about-rectangle {
  /* border: 1px dotted rgb(255, 255, 255);
  box-shadow: 5px 5px 15px rgba(255, 255, 255, 0.3); */
  width: 100%; /* ocupa todo el ancho disponible */
  margin: 0 auto; /* centra el bloque */
}

/* .p-about-rectangle {
  font-size: 1.2rem; 
  width: 100%;  
  padding: 10px 15px;
  border-radius: 15px;
  color: #ffffff;
  box-sizing: border-box;
  text-align: center; 
} */
/* .text-about-top {
  font-size: 1.8rem !important;
  padding-left: 50px !important;
  padding-right: 20px !important;
  display: block;
} */

.text-about-top {
  font-size: 1.8rem !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  display: block;
  width: 100% !important;
  box-sizing: border-box !important;
}

.tst-single {
  border: 1px dotted rgb(51, 51, 51);
  box-shadow: 5px 5px 5px rgba(51, 51, 51, 0.3);
  padding: 20px;
  transition: all 0.3s ease; 
}

.tst-single:hover {
  transform: translateY(-6px); 
  box-shadow: inset 0 0 10px rgba(46, 74, 90, 0.7); 
  border: 1px dotted #2E4A5A;
}

.tst-item {
  display: flex;
  flex-wrap: wrap; /* permite que se acomoden si el espacio es limitado */
  gap: 20px; /* espacio entre tarjetas */
  justify-content: space-between; /* distribuye horizontalmente */
}

.tst-single {
  flex: 1 1 30%; /* cada tarjeta ocupa ~30% del ancho, se adapta */
  box-sizing: border-box;
}

.tst-single {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px dotted rgb(51, 51, 51);
  box-shadow: 5px 5px 5px rgba(51, 51, 51, 0.3);
  padding: 20px;
  transition: all 0.3s ease;
}

.tst-single:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 10px rgba(46, 74, 90, 0.7); 
  border: 1px dotted #2E4A5A;
}

.tst-single img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;  
}

/* .tst-content {
  max-width: 300px;
} */

.tst-content p,
.tst-content ul,
.tst-content h4 {
  text-align: center;
}

.tst-content {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}


/* Media queries para pantallas pequeñas */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 1.3em; /* reduce el tamaño en tablets */
  }

  .p-about-rectangle {
    font-size: 1rem; /* más legible en móviles */
    padding: 8px 12px;
  }

  .border-about-rectangle {
    width: 100% !important; /* evita desbordes */
    margin-left: 0 !important;
  }
}

@media (max-width: 480px) {
  .section-title h2 {
    font-size: 1.1em; /* aún más pequeño en celulares */
  }

  .p-about-rectangle {
    font-size: 0.95rem;
    padding: 6px 10px;
  }
}

@media (max-width: 768px) {
  .tst-item {
    flex-direction: column;
  }

  .tst-single {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .tst-item {
    flex-direction: column;
    align-items: center;
  }

  .tst-single {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


/* MODAL */
/* ESTILOS PARA LOS MODALES DE TEXTO */
.thrivana-modal {
    padding: 30px;
    max-width: 600px;
    background: #2E4A5A;
    border-radius: 2px;
    position: relative;
}
.thrivana-modal h2 {
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 24px;
    font-weight: 700;
}
.thrivana-modal .modal-content {
    color: #ffffff;
    line-height: 1.6;
}
.thrivana-modal p {
    margin-bottom: 15px;
    font-size: 16px;
}
.thrivana-modal ul {
    margin: 15px 0;
    padding-left: 20px;
}
.thrivana-modal li {
    margin-bottom: 8px;
    font-size: 15px;
    position: relative;
    padding-left: 5px;
}
.thrivana-modal li:before {
    content: "✓";
    color: #2E4A5A;
    font-weight: bold;
    margin-right: 10px;
}
.thrivana-modal strong {
    margin-top: 10px !important;
    color: #ffffff;
    font-weight: 600;
    font-size: large;
}

.modal-content{
  background-color: #3e4532;
  padding: 10px 30px;
}

.latin-trad{
    font-size: 0.6em;
    color: #dcdcdc;
    /* margin-bottom: 30px !important; */
}

.subtitle-productos{
    font-size:large !important;
    font-weight: 500 !important;
    margin-top: 10px;
    color: #ffffff;
    
}


/* MODIFICACIONES ABOUT */

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 10px;
}

.about-us-img {
  flex: 1 1 200px;
  text-align: center;
}

.about-us-img img {
  max-width: 90%;
  height: auto;
  margin-bottom: 40px;
  border-radius: 15px;
}

.about-text {
  flex: 1 1 400px;
  max-width: 700px;
  text-align: left !important; /* ← fuerza alineación */
  background-color: #3d4d3a;
  color: #ffffff;
  border: none;
  padding: 30px;
  box-sizing: border-box;
  box-shadow: 0px 0px 10px rgba(61, 77, 58, 0.8);
  border-radius: 10px;
}

.about-btn {
  flex: none !important; 
  display: block !important; 
  width: 100% !important; 
  max-width: 700px !important;
  text-align: center !important; /* ← fuerza alineación */
  background-color: #3d4d3a;
  color: #ffffff;
  border: none;
  padding: 15px;
  box-sizing: border-box;
  box-shadow: 0px 0px 10px rgba(61, 77, 58, 0.8);
  border-radius: 5px;
}

.about-btn:hover {
  transform: translateY(-6px); 
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.4); 
  border: 1px dotted rgb(255, 255, 255);
}

.btn-about{
  display: block !important;
  width: 100% !important;
  max-width: 400px !important;
  margin-top: 20px !important;
  text-align: center !important;  
  text-transform: uppercase !important;font-weight: 600 !important;
}

.about-right-side {
    flex: 1 1 400px;
    max-width: 700px !important;
    display: flex;
    flex-direction: column; /* Alinea texto y botón uno arriba del otro */
    align-items: center; /* Alinea el botón al centro */
}

.h3-about {
  font-size: 30px;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: inherit; /* ← hereda del contenedor */
}

.p-about {
  font-size: 16px;
  line-height: 26px;
  margin: 0;
  text-align: inherit; /* ← hereda del contenedor */
}

.li-about {
  list-style-type: disc;
  list-style-position: outside;
  margin: 0;
  padding-left: 1.5em;     /* sangría para viñetas */
  text-align: left;
  display: block;
}

.li-about li {
  line-height: 1.6;
  margin-bottom: 8px;
  text-align: left;
}

.p-ejes, .last-line-about {
  line-height: 1.6 !important;
  margin-bottom: 8px !important;
  text-align: left !important;
}

/* WHATSAPP */

.whatsapp {
  display: visible;
	position:fixed;
	width:60px;
	height:60px;
	bottom:50px;
	right:20px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
	font-size:30px;
	z-index:100;
  }
 
  .whatsapp-icon {
	margin-top:13px;
  }

  .whatsapp-icon:hover {
    color: #9e9e9e;
  }

  .whatsapp:hover {
    color: #9e9e9e;
  }

  .fixed-action-btn {  
    position: fixed;
    bottom: 50px;
    left: -5px;
    z-index: 999;
  }
  
  .fixed-action-btn .whatsapp-btn {
    position: relative;
    transition: all 0.3s ease;
  }
  
  .fixed-action-btn .whatsapp-btn:hover {
    width: 100px;
  }  
  
  .btn-floating {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* .btn-floating i {
    color: #fff;
  } */
  
  .btn-lg {
    width: 64px;
    height: 64px;
    font-size: 24px;
  }
 

/* END WHATSAPP */ 


/* FLAGS */
.flags{
	width: 9em;
	height:auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position:fixed;
	top: 30px;
	right: 30px;
  /* margin-left: 150px; */
	padding-right: 10px;
		
}

.flags-por {
  width: 20px;
}
.flags-es,
.flags-es-ct,
.flags-por,
.flags-gb {	
	
  margin-left: 5px;
  filter: grayscale(100%);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}


.flags-es-ct.hovered,
.flags-es.hovered,
.flags-por.hovered,
.flags-gb.hovered,
.flags-es-ct:hover,
.flags-es:hover,
.flags-por:hover,
.flags-gb:hover {
  filter: grayscale(0%);
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.flags_items{
	width: 30px;
	height: 20px;
		
}

.flags_img{
	/* display: block; */
	cursor: pointer;
	
}

/* NUEVO: estado activo (cuando se clickea) */
.flags-es-ct.active,
.flags-es.active,
.flags-por.active,
.flags-gb.active {
  filter: grayscale(0%);
}



